@distilled.cloud/cloudflare 0.21.3 → 0.21.5
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 +56 -8
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +222 -114
- package/lib/services/workers.js.map +1 -1
- package/lib/services/zaraz.d.ts.map +1 -1
- package/lib/services/zaraz.js +6 -2
- package/lib/services/zaraz.js.map +1 -1
- package/package.json +2 -2
- package/src/services/workers.ts +316 -142
- package/src/services/zaraz.ts +6 -2
package/src/services/zaraz.ts
CHANGED
|
@@ -1390,9 +1390,13 @@ export interface PutZarazRequest {
|
|
|
1390
1390
|
|
|
1391
1391
|
export const PutZarazRequest = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1392
1392
|
zoneId: Schema.String.pipe(T.HttpPath("zone_id")),
|
|
1393
|
-
workflow: Schema.Literals(["realtime", "preview"]),
|
|
1393
|
+
workflow: Schema.Literals(["realtime", "preview"]).pipe(T.HttpBody()),
|
|
1394
1394
|
}).pipe(
|
|
1395
|
-
T.Http({
|
|
1395
|
+
T.Http({
|
|
1396
|
+
method: "PUT",
|
|
1397
|
+
path: "/zones/{zone_id}/settings/zaraz/workflow",
|
|
1398
|
+
contentType: "binary",
|
|
1399
|
+
}),
|
|
1396
1400
|
) as unknown as Schema.Schema<PutZarazRequest>;
|
|
1397
1401
|
|
|
1398
1402
|
export type PutZarazResponse = "realtime" | "preview";
|