@distilled.cloud/cloudflare 0.6.1 → 0.7.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.
- package/lib/services/accounts.d.ts +901 -36
- package/lib/services/accounts.d.ts.map +1 -1
- package/lib/services/accounts.js +1386 -32
- package/lib/services/accounts.js.map +1 -1
- package/lib/services/addressing.d.ts +8 -2
- package/lib/services/addressing.d.ts.map +1 -1
- package/lib/services/addressing.js +14 -2
- package/lib/services/addressing.js.map +1 -1
- package/lib/services/ai-gateway.d.ts.map +1 -1
- package/lib/services/ai-gateway.js +7 -7
- package/lib/services/ai-gateway.js.map +1 -1
- package/lib/services/aisearch.d.ts.map +1 -1
- package/lib/services/aisearch.js +24 -9
- package/lib/services/aisearch.js.map +1 -1
- package/lib/services/alerting.js +2 -2
- package/lib/services/alerting.js.map +1 -1
- package/lib/services/api-gateway.d.ts +114 -16
- package/lib/services/api-gateway.d.ts.map +1 -1
- package/lib/services/api-gateway.js +187 -15
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/audit-logs.d.ts +63 -3
- package/lib/services/audit-logs.d.ts.map +1 -1
- package/lib/services/audit-logs.js +62 -3
- package/lib/services/audit-logs.js.map +1 -1
- package/lib/services/bot-management.d.ts +54 -8
- package/lib/services/bot-management.d.ts.map +1 -1
- package/lib/services/bot-management.js +128 -16
- package/lib/services/bot-management.js.map +1 -1
- package/lib/services/brand-protection.d.ts.map +1 -1
- package/lib/services/brand-protection.js +26 -8
- package/lib/services/brand-protection.js.map +1 -1
- package/lib/services/browser-rendering.d.ts.map +1 -1
- package/lib/services/browser-rendering.js +13 -10
- package/lib/services/browser-rendering.js.map +1 -1
- package/lib/services/cloudforce-one.d.ts +61 -6
- package/lib/services/cloudforce-one.d.ts.map +1 -1
- package/lib/services/cloudforce-one.js +107 -6
- package/lib/services/cloudforce-one.js.map +1 -1
- package/lib/services/custom-certificates.d.ts +145 -8
- package/lib/services/custom-certificates.d.ts.map +1 -1
- package/lib/services/custom-certificates.js +226 -7
- package/lib/services/custom-certificates.js.map +1 -1
- package/lib/services/custom-hostnames.d.ts +8 -8
- package/lib/services/custom-hostnames.d.ts.map +1 -1
- package/lib/services/custom-hostnames.js +17 -14
- package/lib/services/custom-hostnames.js.map +1 -1
- package/lib/services/d1.d.ts +68 -8
- package/lib/services/d1.d.ts.map +1 -1
- package/lib/services/d1.js +96 -8
- package/lib/services/d1.js.map +1 -1
- package/lib/services/dns-firewall.d.ts +57 -4
- package/lib/services/dns-firewall.d.ts.map +1 -1
- package/lib/services/dns-firewall.js +86 -5
- package/lib/services/dns-firewall.js.map +1 -1
- package/lib/services/dns.d.ts +85 -745
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +118 -1424
- package/lib/services/dns.js.map +1 -1
- package/lib/services/email-routing.d.ts +59 -7
- package/lib/services/email-routing.d.ts.map +1 -1
- package/lib/services/email-routing.js +165 -7
- package/lib/services/email-routing.js.map +1 -1
- package/lib/services/firewall.d.ts +228 -39
- package/lib/services/firewall.d.ts.map +1 -1
- package/lib/services/firewall.js +220 -33
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/healthchecks.d.ts +112 -6
- package/lib/services/healthchecks.d.ts.map +1 -1
- package/lib/services/healthchecks.js +248 -14
- package/lib/services/healthchecks.js.map +1 -1
- package/lib/services/hostnames.d.ts +5 -5
- package/lib/services/hostnames.d.ts.map +1 -1
- package/lib/services/hostnames.js +16 -4
- package/lib/services/hostnames.js.map +1 -1
- package/lib/services/hyperdrive.d.ts +223 -11
- package/lib/services/hyperdrive.d.ts.map +1 -1
- package/lib/services/hyperdrive.js +351 -11
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/iam.d.ts +62 -2
- package/lib/services/iam.d.ts.map +1 -1
- package/lib/services/iam.js +82 -11
- package/lib/services/iam.js.map +1 -1
- package/lib/services/images.d.ts +9 -1
- package/lib/services/images.d.ts.map +1 -1
- package/lib/services/images.js +12 -1
- package/lib/services/images.js.map +1 -1
- package/lib/services/intel.d.ts +4 -4
- package/lib/services/intel.d.ts.map +1 -1
- package/lib/services/intel.js +2 -3
- package/lib/services/intel.js.map +1 -1
- package/lib/services/kv.d.ts.map +1 -1
- package/lib/services/kv.js +2 -2
- package/lib/services/kv.js.map +1 -1
- package/lib/services/load-balancers.d.ts +537 -108
- package/lib/services/load-balancers.d.ts.map +1 -1
- package/lib/services/load-balancers.js +1266 -161
- package/lib/services/load-balancers.js.map +1 -1
- package/lib/services/logpush.d.ts +153 -9
- package/lib/services/logpush.d.ts.map +1 -1
- package/lib/services/logpush.js +246 -9
- package/lib/services/logpush.js.map +1 -1
- package/lib/services/magic-cloud-networking.d.ts.map +1 -1
- package/lib/services/magic-cloud-networking.js +54 -30
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-network-monitoring.d.ts +46 -5
- package/lib/services/magic-network-monitoring.d.ts.map +1 -1
- package/lib/services/magic-network-monitoring.js +79 -5
- package/lib/services/magic-network-monitoring.js.map +1 -1
- package/lib/services/magic-transit.d.ts +127 -21
- package/lib/services/magic-transit.d.ts.map +1 -1
- package/lib/services/magic-transit.js +291 -29
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/memberships.d.ts +248 -52
- package/lib/services/memberships.d.ts.map +1 -1
- package/lib/services/memberships.js +360 -39
- package/lib/services/memberships.js.map +1 -1
- package/lib/services/page-rules.d.ts +432 -8
- package/lib/services/page-rules.d.ts.map +1 -1
- package/lib/services/page-rules.js +877 -33
- package/lib/services/page-rules.js.map +1 -1
- package/lib/services/pages.d.ts +457 -297
- package/lib/services/pages.d.ts.map +1 -1
- package/lib/services/pages.js +1366 -491
- package/lib/services/pages.js.map +1 -1
- package/lib/services/pipelines.d.ts +96 -76
- package/lib/services/pipelines.d.ts.map +1 -1
- package/lib/services/pipelines.js +145 -197
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/queues.d.ts +228 -12
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +487 -11
- package/lib/services/queues.js.map +1 -1
- package/lib/services/radar.d.ts +82 -18
- package/lib/services/radar.d.ts.map +1 -1
- package/lib/services/radar.js +111 -47
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.d.ts +650 -334
- package/lib/services/realtime-kit.d.ts.map +1 -1
- package/lib/services/realtime-kit.js +1472 -693
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/request-tracers.d.ts +12 -1
- package/lib/services/request-tracers.d.ts.map +1 -1
- package/lib/services/request-tracers.js +28 -3
- package/lib/services/request-tracers.js.map +1 -1
- package/lib/services/rules.d.ts +65 -10
- package/lib/services/rules.d.ts.map +1 -1
- package/lib/services/rules.js +102 -8
- package/lib/services/rules.js.map +1 -1
- package/lib/services/rulesets.d.ts +7892 -1806
- package/lib/services/rulesets.d.ts.map +1 -1
- package/lib/services/rulesets.js +18720 -4149
- package/lib/services/rulesets.js.map +1 -1
- package/lib/services/rum.d.ts +45 -5
- package/lib/services/rum.d.ts.map +1 -1
- package/lib/services/rum.js +80 -4
- package/lib/services/rum.js.map +1 -1
- package/lib/services/schema-validation.js +2 -2
- package/lib/services/schema-validation.js.map +1 -1
- package/lib/services/spectrum.d.ts +139 -33
- package/lib/services/spectrum.d.ts.map +1 -1
- package/lib/services/spectrum.js +190 -34
- package/lib/services/spectrum.js.map +1 -1
- package/lib/services/speed.d.ts +345 -24
- package/lib/services/speed.d.ts.map +1 -1
- package/lib/services/speed.js +785 -19
- package/lib/services/speed.js.map +1 -1
- package/lib/services/ssl.d.ts +6 -6
- package/lib/services/ssl.d.ts.map +1 -1
- package/lib/services/ssl.js +5 -5
- package/lib/services/ssl.js.map +1 -1
- package/lib/services/stream.d.ts +171 -17
- package/lib/services/stream.d.ts.map +1 -1
- package/lib/services/stream.js +164 -11
- package/lib/services/stream.js.map +1 -1
- package/lib/services/token-validation.d.ts +16 -2
- package/lib/services/token-validation.d.ts.map +1 -1
- package/lib/services/token-validation.js +32 -2
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/url-scanner.d.ts +43 -11
- package/lib/services/url-scanner.d.ts.map +1 -1
- package/lib/services/url-scanner.js +46 -11
- package/lib/services/url-scanner.js.map +1 -1
- package/lib/services/user.d.ts +312 -21
- package/lib/services/user.d.ts.map +1 -1
- package/lib/services/user.js +442 -19
- package/lib/services/user.js.map +1 -1
- package/lib/services/workers-for-platforms.d.ts +223 -13
- package/lib/services/workers-for-platforms.d.ts.map +1 -1
- package/lib/services/workers-for-platforms.js +481 -13
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.d.ts +345 -31
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +649 -34
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts +212 -11
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +311 -30
- package/lib/services/zaraz.js.map +1 -1
- package/lib/services/zero-trust.d.ts +19333 -1905
- package/lib/services/zero-trust.d.ts.map +1 -1
- package/lib/services/zero-trust.js +30269 -5710
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.d.ts +61 -7
- package/lib/services/zones.d.ts.map +1 -1
- package/lib/services/zones.js +188 -7
- package/lib/services/zones.js.map +1 -1
- package/package.json +2 -2
- package/src/services/accounts.ts +2897 -63
- package/src/services/addressing.ts +28 -4
- package/src/services/ai-gateway.ts +9 -7
- package/src/services/aisearch.ts +28 -9
- package/src/services/alerting.ts +2 -2
- package/src/services/api-gateway.ts +410 -27
- package/src/services/audit-logs.ts +135 -5
- package/src/services/bot-management.ts +282 -24
- package/src/services/brand-protection.ts +28 -8
- package/src/services/browser-rendering.ts +31 -11
- package/src/services/cloudforce-one.ts +201 -9
- package/src/services/custom-certificates.ts +405 -14
- package/src/services/custom-hostnames.ts +29 -22
- package/src/services/d1.ts +180 -12
- package/src/services/dns-firewall.ts +163 -7
- package/src/services/dns.ts +213 -2389
- package/src/services/email-routing.ts +346 -12
- package/src/services/firewall.ts +556 -72
- package/src/services/healthchecks.ts +463 -18
- package/src/services/hostnames.ts +21 -9
- package/src/services/hyperdrive.ts +730 -17
- package/src/services/iam.ts +228 -24
- package/src/services/images.ts +29 -2
- package/src/services/intel.ts +6 -5
- package/src/services/kv.ts +6 -2
- package/src/services/load-balancers.ts +2387 -294
- package/src/services/logpush.ts +659 -15
- package/src/services/magic-cloud-networking.ts +74 -30
- package/src/services/magic-network-monitoring.ts +170 -8
- package/src/services/magic-transit.ts +631 -62
- package/src/services/memberships.ts +710 -91
- package/src/services/page-rules.ts +1592 -88
- package/src/services/pages.ts +2011 -1098
- package/src/services/pipelines.ts +285 -331
- package/src/services/queues.ts +1110 -22
- package/src/services/radar.ts +128 -64
- package/src/services/realtime-kit.ts +2829 -1603
- package/src/services/request-tracers.ts +54 -4
- package/src/services/rules.ts +214 -18
- package/src/services/rulesets.ts +34524 -6913
- package/src/services/rum.ts +187 -9
- package/src/services/schema-validation.ts +2 -2
- package/src/services/spectrum.ts +357 -67
- package/src/services/speed.ts +1845 -42
- package/src/services/ssl.ts +11 -11
- package/src/services/stream.ts +397 -22
- package/src/services/token-validation.ts +64 -4
- package/src/services/url-scanner.ts +92 -20
- package/src/services/user.ts +973 -34
- package/src/services/workers-for-platforms.ts +1012 -39
- package/src/services/workers.ts +1472 -120
- package/src/services/zaraz.ts +640 -37
- package/src/services/zero-trust.ts +55498 -12667
- package/src/services/zones.ts +360 -14
|
@@ -481,7 +481,24 @@ export interface GetBetaWorkerVersionResponse {
|
|
|
481
481
|
/** The name of the main module in the `modules` array (e.g. the name of the module that exports a `fetch` handler). */
|
|
482
482
|
mainModule?: string | null;
|
|
483
483
|
/** Migrations for Durable Objects associated with the version. Migrations are applied when the version is deployed. */
|
|
484
|
-
migrations?: unknown |
|
|
484
|
+
migrations?: unknown | {
|
|
485
|
+
newTag?: string | null;
|
|
486
|
+
oldTag?: string | null;
|
|
487
|
+
steps?: {
|
|
488
|
+
deletedClasses?: string[] | null;
|
|
489
|
+
newClasses?: string[] | null;
|
|
490
|
+
newSqliteClasses?: string[] | null;
|
|
491
|
+
renamedClasses?: {
|
|
492
|
+
from?: string | null;
|
|
493
|
+
to?: string | null;
|
|
494
|
+
}[] | null;
|
|
495
|
+
transferredClasses?: {
|
|
496
|
+
from?: string | null;
|
|
497
|
+
fromScript?: string | null;
|
|
498
|
+
to?: string | null;
|
|
499
|
+
}[] | null;
|
|
500
|
+
}[] | null;
|
|
501
|
+
} | null;
|
|
485
502
|
/** Code, sourcemaps, and other content used at runtime. This includes [`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and [`_redirects`](https://developers. */
|
|
486
503
|
modules?: {
|
|
487
504
|
contentBase64: string;
|
|
@@ -659,7 +676,24 @@ export interface ListBetaWorkerVersionsResponse {
|
|
|
659
676
|
cpuMs: number;
|
|
660
677
|
} | null;
|
|
661
678
|
mainModule?: string | null;
|
|
662
|
-
migrations?: unknown |
|
|
679
|
+
migrations?: unknown | {
|
|
680
|
+
newTag?: string | null;
|
|
681
|
+
oldTag?: string | null;
|
|
682
|
+
steps?: {
|
|
683
|
+
deletedClasses?: string[] | null;
|
|
684
|
+
newClasses?: string[] | null;
|
|
685
|
+
newSqliteClasses?: string[] | null;
|
|
686
|
+
renamedClasses?: {
|
|
687
|
+
from?: string | null;
|
|
688
|
+
to?: string | null;
|
|
689
|
+
}[] | null;
|
|
690
|
+
transferredClasses?: {
|
|
691
|
+
from?: string | null;
|
|
692
|
+
fromScript?: string | null;
|
|
693
|
+
to?: string | null;
|
|
694
|
+
}[] | null;
|
|
695
|
+
}[] | null;
|
|
696
|
+
} | null;
|
|
663
697
|
modules?: {
|
|
664
698
|
contentBase64: string;
|
|
665
699
|
contentType: string;
|
|
@@ -833,7 +867,24 @@ export declare const listBetaWorkerVersions: API.PaginatedOperationMethod<ListBe
|
|
|
833
867
|
cpuMs: number;
|
|
834
868
|
} | null;
|
|
835
869
|
mainModule?: string | null;
|
|
836
|
-
migrations?: unknown |
|
|
870
|
+
migrations?: unknown | {
|
|
871
|
+
newTag?: string | null;
|
|
872
|
+
oldTag?: string | null;
|
|
873
|
+
steps?: {
|
|
874
|
+
deletedClasses?: string[] | null;
|
|
875
|
+
newClasses?: string[] | null;
|
|
876
|
+
newSqliteClasses?: string[] | null;
|
|
877
|
+
renamedClasses?: {
|
|
878
|
+
from?: string | null;
|
|
879
|
+
to?: string | null;
|
|
880
|
+
}[] | null;
|
|
881
|
+
transferredClasses?: {
|
|
882
|
+
from?: string | null;
|
|
883
|
+
fromScript?: string | null;
|
|
884
|
+
to?: string | null;
|
|
885
|
+
}[] | null;
|
|
886
|
+
}[] | null;
|
|
887
|
+
} | null;
|
|
837
888
|
modules?: {
|
|
838
889
|
contentBase64: string;
|
|
839
890
|
contentType: string;
|
|
@@ -1009,10 +1060,38 @@ export interface CreateBetaWorkerVersionRequest {
|
|
|
1009
1060
|
/** Body param: The name of the main module in the `modules` array (e.g. the name of the module that exports a `fetch` handler). */
|
|
1010
1061
|
mainModule?: string;
|
|
1011
1062
|
/** Body param: Migrations for Durable Objects associated with the version. Migrations are applied when the version is deployed. */
|
|
1012
|
-
migrations?:
|
|
1063
|
+
migrations?: {
|
|
1064
|
+
deletedClasses?: string[];
|
|
1065
|
+
newClasses?: string[];
|
|
1066
|
+
newSqliteClasses?: string[];
|
|
1067
|
+
newTag?: string;
|
|
1068
|
+
oldTag?: string;
|
|
1069
|
+
renamedClasses?: {
|
|
1070
|
+
from?: string;
|
|
1071
|
+
to?: string;
|
|
1072
|
+
}[];
|
|
1073
|
+
transferredClasses?: {
|
|
1074
|
+
from?: string;
|
|
1075
|
+
fromScript?: string;
|
|
1076
|
+
to?: string;
|
|
1077
|
+
}[];
|
|
1078
|
+
} | {
|
|
1013
1079
|
newTag?: string;
|
|
1014
1080
|
oldTag?: string;
|
|
1015
|
-
steps?:
|
|
1081
|
+
steps?: {
|
|
1082
|
+
deletedClasses?: string[];
|
|
1083
|
+
newClasses?: string[];
|
|
1084
|
+
newSqliteClasses?: string[];
|
|
1085
|
+
renamedClasses?: {
|
|
1086
|
+
from?: string;
|
|
1087
|
+
to?: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
transferredClasses?: {
|
|
1090
|
+
from?: string;
|
|
1091
|
+
fromScript?: string;
|
|
1092
|
+
to?: string;
|
|
1093
|
+
}[];
|
|
1094
|
+
}[];
|
|
1016
1095
|
};
|
|
1017
1096
|
/** Body param: Code, sourcemaps, and other content used at runtime. This includes [`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and [`_redirects`](https:/ */
|
|
1018
1097
|
modules?: {
|
|
@@ -1189,7 +1268,24 @@ export interface CreateBetaWorkerVersionResponse {
|
|
|
1189
1268
|
/** The name of the main module in the `modules` array (e.g. the name of the module that exports a `fetch` handler). */
|
|
1190
1269
|
mainModule?: string | null;
|
|
1191
1270
|
/** Migrations for Durable Objects associated with the version. Migrations are applied when the version is deployed. */
|
|
1192
|
-
migrations?: unknown |
|
|
1271
|
+
migrations?: unknown | {
|
|
1272
|
+
newTag?: string | null;
|
|
1273
|
+
oldTag?: string | null;
|
|
1274
|
+
steps?: {
|
|
1275
|
+
deletedClasses?: string[] | null;
|
|
1276
|
+
newClasses?: string[] | null;
|
|
1277
|
+
newSqliteClasses?: string[] | null;
|
|
1278
|
+
renamedClasses?: {
|
|
1279
|
+
from?: string | null;
|
|
1280
|
+
to?: string | null;
|
|
1281
|
+
}[] | null;
|
|
1282
|
+
transferredClasses?: {
|
|
1283
|
+
from?: string | null;
|
|
1284
|
+
fromScript?: string | null;
|
|
1285
|
+
to?: string | null;
|
|
1286
|
+
}[] | null;
|
|
1287
|
+
}[] | null;
|
|
1288
|
+
} | null;
|
|
1193
1289
|
/** Code, sourcemaps, and other content used at runtime. This includes [`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and [`_redirects`](https://developers. */
|
|
1194
1290
|
modules?: {
|
|
1195
1291
|
contentBase64: string;
|
|
@@ -1552,7 +1648,9 @@ export interface QueryObservabilityTelemetryResponse {
|
|
|
1552
1648
|
series: {
|
|
1553
1649
|
data: {
|
|
1554
1650
|
count: number;
|
|
1651
|
+
firstSeen: string;
|
|
1555
1652
|
interval: number;
|
|
1653
|
+
lastSeen: string;
|
|
1556
1654
|
sampleInterval: number;
|
|
1557
1655
|
value: number;
|
|
1558
1656
|
groups?: {
|
|
@@ -1579,7 +1677,9 @@ export interface QueryObservabilityTelemetryResponse {
|
|
|
1579
1677
|
series: {
|
|
1580
1678
|
data: {
|
|
1581
1679
|
count: number;
|
|
1680
|
+
firstSeen: string;
|
|
1582
1681
|
interval: number;
|
|
1682
|
+
lastSeen: string;
|
|
1583
1683
|
sampleInterval: number;
|
|
1584
1684
|
value: number;
|
|
1585
1685
|
groups?: {
|
|
@@ -1677,14 +1777,18 @@ export interface QueryObservabilityTelemetryResponse {
|
|
|
1677
1777
|
}[] | null;
|
|
1678
1778
|
series?: {
|
|
1679
1779
|
data: {
|
|
1780
|
+
aggregates: {
|
|
1781
|
+
count: number;
|
|
1782
|
+
firstSeen?: string | null;
|
|
1783
|
+
interval: number;
|
|
1784
|
+
lastSeen?: string | null;
|
|
1785
|
+
bin?: unknown | null;
|
|
1786
|
+
};
|
|
1680
1787
|
count: number;
|
|
1681
1788
|
interval: number;
|
|
1682
1789
|
sampleInterval: number;
|
|
1683
|
-
|
|
1684
|
-
groups?:
|
|
1685
|
-
key: string;
|
|
1686
|
-
value: string | number | boolean;
|
|
1687
|
-
}[] | null;
|
|
1790
|
+
errors?: number | null;
|
|
1791
|
+
groups?: Record<string, unknown> | null;
|
|
1688
1792
|
}[];
|
|
1689
1793
|
time: string;
|
|
1690
1794
|
}[] | null;
|
|
@@ -1872,8 +1976,8 @@ export interface GetScriptRequest {
|
|
|
1872
1976
|
accountId: string;
|
|
1873
1977
|
}
|
|
1874
1978
|
export declare const GetScriptRequest: Schema.Schema<GetScriptRequest>;
|
|
1875
|
-
export type GetScriptResponse =
|
|
1876
|
-
export declare const GetScriptResponse: Schema.Schema<
|
|
1979
|
+
export type GetScriptResponse = string;
|
|
1980
|
+
export declare const GetScriptResponse: Schema.Schema<string>;
|
|
1877
1981
|
export type GetScriptError = DefaultErrors | WorkerNotFound | InvalidRoute;
|
|
1878
1982
|
export declare const getScript: API.OperationMethod<GetScriptRequest, GetScriptResponse, GetScriptError, Credentials | HttpClient.HttpClient>;
|
|
1879
1983
|
export interface ListScriptsRequest {
|
|
@@ -1938,7 +2042,11 @@ export interface ListScriptsResponse {
|
|
|
1938
2042
|
}[] | null;
|
|
1939
2043
|
tag?: string | null;
|
|
1940
2044
|
tags?: string[] | null;
|
|
1941
|
-
tailConsumers?:
|
|
2045
|
+
tailConsumers?: {
|
|
2046
|
+
service: string;
|
|
2047
|
+
environment?: string | null;
|
|
2048
|
+
namespace?: string | null;
|
|
2049
|
+
}[] | null;
|
|
1942
2050
|
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
1943
2051
|
}[];
|
|
1944
2052
|
}
|
|
@@ -2000,7 +2108,11 @@ export declare const listScripts: API.PaginatedOperationMethod<ListScriptsReques
|
|
|
2000
2108
|
}[] | null;
|
|
2001
2109
|
tag?: string | null;
|
|
2002
2110
|
tags?: string[] | null;
|
|
2003
|
-
tailConsumers?:
|
|
2111
|
+
tailConsumers?: {
|
|
2112
|
+
service: string;
|
|
2113
|
+
environment?: string | null;
|
|
2114
|
+
namespace?: string | null;
|
|
2115
|
+
}[] | null;
|
|
2004
2116
|
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
2005
2117
|
}, ListScriptsError, Credentials | HttpClient.HttpClient>;
|
|
2006
2118
|
};
|
|
@@ -2161,10 +2273,38 @@ export interface PutScriptRequest {
|
|
|
2161
2273
|
};
|
|
2162
2274
|
logpush?: boolean;
|
|
2163
2275
|
mainModule?: string;
|
|
2164
|
-
migrations?:
|
|
2276
|
+
migrations?: {
|
|
2277
|
+
deletedClasses?: string[];
|
|
2278
|
+
newClasses?: string[];
|
|
2279
|
+
newSqliteClasses?: string[];
|
|
2280
|
+
newTag?: string;
|
|
2281
|
+
oldTag?: string;
|
|
2282
|
+
renamedClasses?: {
|
|
2283
|
+
from?: string;
|
|
2284
|
+
to?: string;
|
|
2285
|
+
}[];
|
|
2286
|
+
transferredClasses?: {
|
|
2287
|
+
from?: string;
|
|
2288
|
+
fromScript?: string;
|
|
2289
|
+
to?: string;
|
|
2290
|
+
}[];
|
|
2291
|
+
} | {
|
|
2165
2292
|
newTag?: string;
|
|
2166
2293
|
oldTag?: string;
|
|
2167
|
-
steps?:
|
|
2294
|
+
steps?: {
|
|
2295
|
+
deletedClasses?: string[];
|
|
2296
|
+
newClasses?: string[];
|
|
2297
|
+
newSqliteClasses?: string[];
|
|
2298
|
+
renamedClasses?: {
|
|
2299
|
+
from?: string;
|
|
2300
|
+
to?: string;
|
|
2301
|
+
}[];
|
|
2302
|
+
transferredClasses?: {
|
|
2303
|
+
from?: string;
|
|
2304
|
+
fromScript?: string;
|
|
2305
|
+
to?: string;
|
|
2306
|
+
}[];
|
|
2307
|
+
}[];
|
|
2168
2308
|
};
|
|
2169
2309
|
observability?: {
|
|
2170
2310
|
enabled: boolean;
|
|
@@ -2187,7 +2327,11 @@ export interface PutScriptRequest {
|
|
|
2187
2327
|
host: string;
|
|
2188
2328
|
};
|
|
2189
2329
|
tags?: string[];
|
|
2190
|
-
tailConsumers?:
|
|
2330
|
+
tailConsumers?: {
|
|
2331
|
+
service: string;
|
|
2332
|
+
environment?: string;
|
|
2333
|
+
namespace?: string;
|
|
2334
|
+
}[] | null;
|
|
2191
2335
|
usageModel?: "standard" | "bundled" | "unbound";
|
|
2192
2336
|
};
|
|
2193
2337
|
/** Body param: An array of modules (often JavaScript files) comprising a Worker script. At least one module must be present and referenced in the metadata as `main_module` or `body_part` by filename.<br/ */
|
|
@@ -2266,7 +2410,11 @@ export interface PutScriptResponse {
|
|
|
2266
2410
|
/** Tags associated with the Worker. */
|
|
2267
2411
|
tags?: string[] | null;
|
|
2268
2412
|
/** List of Workers that will consume logs from the attached Worker. */
|
|
2269
|
-
tailConsumers?:
|
|
2413
|
+
tailConsumers?: {
|
|
2414
|
+
service: string;
|
|
2415
|
+
environment?: string | null;
|
|
2416
|
+
namespace?: string | null;
|
|
2417
|
+
}[] | null;
|
|
2270
2418
|
/** Usage model for the Worker invocations. */
|
|
2271
2419
|
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
2272
2420
|
}
|
|
@@ -2356,8 +2504,84 @@ export interface PutScriptContentRequest {
|
|
|
2356
2504
|
files?: (File | Blob)[];
|
|
2357
2505
|
}
|
|
2358
2506
|
export declare const PutScriptContentRequest: Schema.Schema<PutScriptContentRequest>;
|
|
2359
|
-
export
|
|
2360
|
-
|
|
2507
|
+
export interface PutScriptContentResponse {
|
|
2508
|
+
/** The name used to identify the script. */
|
|
2509
|
+
id?: string | null;
|
|
2510
|
+
/** Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker. */
|
|
2511
|
+
compatibilityDate?: string | null;
|
|
2512
|
+
/** Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibility_date`. */
|
|
2513
|
+
compatibilityFlags?: string[] | null;
|
|
2514
|
+
/** When the script was created. */
|
|
2515
|
+
createdOn?: string | null;
|
|
2516
|
+
/** Hashed script content, can be used in a If-None-Match header when updating. */
|
|
2517
|
+
etag?: string | null;
|
|
2518
|
+
/** The names of handlers exported as part of the default export. */
|
|
2519
|
+
handlers?: string[] | null;
|
|
2520
|
+
/** Whether a Worker contains assets. */
|
|
2521
|
+
hasAssets?: boolean | null;
|
|
2522
|
+
/** Whether a Worker contains modules. */
|
|
2523
|
+
hasModules?: boolean | null;
|
|
2524
|
+
/** The client most recently used to deploy this Worker. */
|
|
2525
|
+
lastDeployedFrom?: string | null;
|
|
2526
|
+
/** Whether Logpush is turned on for the Worker. */
|
|
2527
|
+
logpush?: boolean | null;
|
|
2528
|
+
/** The tag of the Durable Object migration that was most recently applied for this Worker. */
|
|
2529
|
+
migrationTag?: string | null;
|
|
2530
|
+
/** When the script was last modified. */
|
|
2531
|
+
modifiedOn?: string | null;
|
|
2532
|
+
/** Named exports, such as Durable Object class implementations and named entrypoints. */
|
|
2533
|
+
namedHandlers?: {
|
|
2534
|
+
handlers?: string[] | null;
|
|
2535
|
+
name?: string | null;
|
|
2536
|
+
}[] | null;
|
|
2537
|
+
/** Observability settings for the Worker. */
|
|
2538
|
+
observability?: {
|
|
2539
|
+
enabled: boolean;
|
|
2540
|
+
headSamplingRate?: number | null;
|
|
2541
|
+
logs?: {
|
|
2542
|
+
enabled: boolean;
|
|
2543
|
+
invocationLogs: boolean;
|
|
2544
|
+
destinations?: string[] | null;
|
|
2545
|
+
headSamplingRate?: number | null;
|
|
2546
|
+
persist?: boolean | null;
|
|
2547
|
+
} | null;
|
|
2548
|
+
} | null;
|
|
2549
|
+
/** Configuration for [Smart Placement](https://developers.cloudflare.com/workers/configuration/smart-placement). Specify either mode for Smart Placement, or one of region/hostname/host for targeted place */
|
|
2550
|
+
placement?: {
|
|
2551
|
+
mode: "smart";
|
|
2552
|
+
lastAnalyzedAt?: string | null;
|
|
2553
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
2554
|
+
} | {
|
|
2555
|
+
region: string;
|
|
2556
|
+
lastAnalyzedAt?: string | null;
|
|
2557
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
2558
|
+
} | {
|
|
2559
|
+
hostname: string;
|
|
2560
|
+
lastAnalyzedAt?: string | null;
|
|
2561
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
2562
|
+
} | {
|
|
2563
|
+
host: string;
|
|
2564
|
+
lastAnalyzedAt?: string | null;
|
|
2565
|
+
status?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
2566
|
+
} | null;
|
|
2567
|
+
/** @deprecated Enables [Smart Placement](https://developers.cloudflare.com/workers/configuration/smart-placement). */
|
|
2568
|
+
placementMode?: "smart" | null;
|
|
2569
|
+
/** @deprecated Status of [Smart Placement](https://developers.cloudflare.com/workers/configuration/smart-placement). */
|
|
2570
|
+
placementStatus?: "SUCCESS" | "UNSUPPORTED_APPLICATION" | "INSUFFICIENT_INVOCATIONS" | null;
|
|
2571
|
+
/** The immutable ID of the script. */
|
|
2572
|
+
tag?: string | null;
|
|
2573
|
+
/** Tags associated with the Worker. */
|
|
2574
|
+
tags?: string[] | null;
|
|
2575
|
+
/** List of Workers that will consume logs from the attached Worker. */
|
|
2576
|
+
tailConsumers?: {
|
|
2577
|
+
service: string;
|
|
2578
|
+
environment?: string | null;
|
|
2579
|
+
namespace?: string | null;
|
|
2580
|
+
}[] | null;
|
|
2581
|
+
/** Usage model for the Worker invocations. */
|
|
2582
|
+
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
2583
|
+
}
|
|
2584
|
+
export declare const PutScriptContentResponse: Schema.Schema<PutScriptContentResponse>;
|
|
2361
2585
|
export type PutScriptContentError = DefaultErrors | WorkerNotFound | InvalidWorkerScript;
|
|
2362
2586
|
export declare const putScriptContent: API.OperationMethod<PutScriptContentRequest, PutScriptContentResponse, PutScriptContentError, Credentials | HttpClient.HttpClient>;
|
|
2363
2587
|
export interface GetScriptDeploymentRequest {
|
|
@@ -2676,7 +2900,11 @@ export interface GetScriptScriptAndVersionSettingResponse {
|
|
|
2676
2900
|
/** Tags associated with the Worker. */
|
|
2677
2901
|
tags?: string[] | null;
|
|
2678
2902
|
/** List of Workers that will consume logs from the attached Worker. */
|
|
2679
|
-
tailConsumers?:
|
|
2903
|
+
tailConsumers?: {
|
|
2904
|
+
service: string;
|
|
2905
|
+
environment?: string | null;
|
|
2906
|
+
namespace?: string | null;
|
|
2907
|
+
}[] | null;
|
|
2680
2908
|
/** Usage model for the Worker invocations. */
|
|
2681
2909
|
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
2682
2910
|
}
|
|
@@ -2825,10 +3053,38 @@ export interface PatchScriptScriptAndVersionSettingRequest {
|
|
|
2825
3053
|
cpuMs?: number;
|
|
2826
3054
|
};
|
|
2827
3055
|
logpush?: boolean;
|
|
2828
|
-
migrations?:
|
|
3056
|
+
migrations?: {
|
|
3057
|
+
deletedClasses?: string[];
|
|
3058
|
+
newClasses?: string[];
|
|
3059
|
+
newSqliteClasses?: string[];
|
|
3060
|
+
newTag?: string;
|
|
3061
|
+
oldTag?: string;
|
|
3062
|
+
renamedClasses?: {
|
|
3063
|
+
from?: string;
|
|
3064
|
+
to?: string;
|
|
3065
|
+
}[];
|
|
3066
|
+
transferredClasses?: {
|
|
3067
|
+
from?: string;
|
|
3068
|
+
fromScript?: string;
|
|
3069
|
+
to?: string;
|
|
3070
|
+
}[];
|
|
3071
|
+
} | {
|
|
2829
3072
|
newTag?: string;
|
|
2830
3073
|
oldTag?: string;
|
|
2831
|
-
steps?:
|
|
3074
|
+
steps?: {
|
|
3075
|
+
deletedClasses?: string[];
|
|
3076
|
+
newClasses?: string[];
|
|
3077
|
+
newSqliteClasses?: string[];
|
|
3078
|
+
renamedClasses?: {
|
|
3079
|
+
from?: string;
|
|
3080
|
+
to?: string;
|
|
3081
|
+
}[];
|
|
3082
|
+
transferredClasses?: {
|
|
3083
|
+
from?: string;
|
|
3084
|
+
fromScript?: string;
|
|
3085
|
+
to?: string;
|
|
3086
|
+
}[];
|
|
3087
|
+
}[];
|
|
2832
3088
|
};
|
|
2833
3089
|
observability?: {
|
|
2834
3090
|
enabled: boolean;
|
|
@@ -2851,7 +3107,11 @@ export interface PatchScriptScriptAndVersionSettingRequest {
|
|
|
2851
3107
|
host: string;
|
|
2852
3108
|
};
|
|
2853
3109
|
tags?: string[] | null;
|
|
2854
|
-
tailConsumers?:
|
|
3110
|
+
tailConsumers?: {
|
|
3111
|
+
service: string;
|
|
3112
|
+
environment?: string;
|
|
3113
|
+
namespace?: string;
|
|
3114
|
+
}[] | null;
|
|
2855
3115
|
usageModel?: "standard" | "bundled" | "unbound";
|
|
2856
3116
|
};
|
|
2857
3117
|
}
|
|
@@ -3012,7 +3272,11 @@ export interface PatchScriptScriptAndVersionSettingResponse {
|
|
|
3012
3272
|
/** Tags associated with the Worker. */
|
|
3013
3273
|
tags?: string[] | null;
|
|
3014
3274
|
/** List of Workers that will consume logs from the attached Worker. */
|
|
3015
|
-
tailConsumers?:
|
|
3275
|
+
tailConsumers?: {
|
|
3276
|
+
service: string;
|
|
3277
|
+
environment?: string | null;
|
|
3278
|
+
namespace?: string | null;
|
|
3279
|
+
}[] | null;
|
|
3016
3280
|
/** Usage model for the Worker invocations. */
|
|
3017
3281
|
usageModel?: "standard" | "bundled" | "unbound" | null;
|
|
3018
3282
|
}
|
|
@@ -3118,8 +3382,31 @@ export interface GetScriptSettingRequest {
|
|
|
3118
3382
|
accountId: string;
|
|
3119
3383
|
}
|
|
3120
3384
|
export declare const GetScriptSettingRequest: Schema.Schema<GetScriptSettingRequest>;
|
|
3121
|
-
export
|
|
3122
|
-
|
|
3385
|
+
export interface GetScriptSettingResponse {
|
|
3386
|
+
/** Whether Logpush is turned on for the Worker. */
|
|
3387
|
+
logpush?: boolean | null;
|
|
3388
|
+
/** Observability settings for the Worker. */
|
|
3389
|
+
observability?: {
|
|
3390
|
+
enabled: boolean;
|
|
3391
|
+
headSamplingRate?: number | null;
|
|
3392
|
+
logs?: {
|
|
3393
|
+
enabled: boolean;
|
|
3394
|
+
invocationLogs: boolean;
|
|
3395
|
+
destinations?: string[] | null;
|
|
3396
|
+
headSamplingRate?: number | null;
|
|
3397
|
+
persist?: boolean | null;
|
|
3398
|
+
} | null;
|
|
3399
|
+
} | null;
|
|
3400
|
+
/** Tags associated with the Worker. */
|
|
3401
|
+
tags?: string[] | null;
|
|
3402
|
+
/** List of Workers that will consume logs from the attached Worker. */
|
|
3403
|
+
tailConsumers?: {
|
|
3404
|
+
service: string;
|
|
3405
|
+
environment?: string | null;
|
|
3406
|
+
namespace?: string | null;
|
|
3407
|
+
}[] | null;
|
|
3408
|
+
}
|
|
3409
|
+
export declare const GetScriptSettingResponse: Schema.Schema<GetScriptSettingResponse>;
|
|
3123
3410
|
export type GetScriptSettingError = DefaultErrors | WorkerNotFound;
|
|
3124
3411
|
export declare const getScriptSetting: API.OperationMethod<GetScriptSettingRequest, GetScriptSettingResponse, GetScriptSettingError, Credentials | HttpClient.HttpClient>;
|
|
3125
3412
|
export interface PatchScriptSettingRequest {
|
|
@@ -3143,11 +3430,38 @@ export interface PatchScriptSettingRequest {
|
|
|
3143
3430
|
/** Body param: Tags associated with the Worker. */
|
|
3144
3431
|
tags?: string[] | null;
|
|
3145
3432
|
/** Body param: List of Workers that will consume logs from the attached Worker. */
|
|
3146
|
-
tailConsumers?:
|
|
3433
|
+
tailConsumers?: {
|
|
3434
|
+
service: string;
|
|
3435
|
+
environment?: string;
|
|
3436
|
+
namespace?: string;
|
|
3437
|
+
}[] | null;
|
|
3147
3438
|
}
|
|
3148
3439
|
export declare const PatchScriptSettingRequest: Schema.Schema<PatchScriptSettingRequest>;
|
|
3149
|
-
export
|
|
3150
|
-
|
|
3440
|
+
export interface PatchScriptSettingResponse {
|
|
3441
|
+
/** Whether Logpush is turned on for the Worker. */
|
|
3442
|
+
logpush?: boolean | null;
|
|
3443
|
+
/** Observability settings for the Worker. */
|
|
3444
|
+
observability?: {
|
|
3445
|
+
enabled: boolean;
|
|
3446
|
+
headSamplingRate?: number | null;
|
|
3447
|
+
logs?: {
|
|
3448
|
+
enabled: boolean;
|
|
3449
|
+
invocationLogs: boolean;
|
|
3450
|
+
destinations?: string[] | null;
|
|
3451
|
+
headSamplingRate?: number | null;
|
|
3452
|
+
persist?: boolean | null;
|
|
3453
|
+
} | null;
|
|
3454
|
+
} | null;
|
|
3455
|
+
/** Tags associated with the Worker. */
|
|
3456
|
+
tags?: string[] | null;
|
|
3457
|
+
/** List of Workers that will consume logs from the attached Worker. */
|
|
3458
|
+
tailConsumers?: {
|
|
3459
|
+
service: string;
|
|
3460
|
+
environment?: string | null;
|
|
3461
|
+
namespace?: string | null;
|
|
3462
|
+
}[] | null;
|
|
3463
|
+
}
|
|
3464
|
+
export declare const PatchScriptSettingResponse: Schema.Schema<PatchScriptSettingResponse>;
|
|
3151
3465
|
export type PatchScriptSettingError = DefaultErrors | WorkerNotFound;
|
|
3152
3466
|
export declare const patchScriptSetting: API.OperationMethod<PatchScriptSettingRequest, PatchScriptSettingResponse, PatchScriptSettingError, Credentials | HttpClient.HttpClient>;
|
|
3153
3467
|
export interface GetScriptSubdomainRequest {
|