@distilled.cloud/cloudflare 1.0.0-rc.12 → 1.0.0-rc.13
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/README.md +37 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +2 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +13 -6
- package/lib/protocol.js.map +1 -1
- package/lib/response-validation.test.d.ts +6 -0
- package/lib/response-validation.test.d.ts.map +1 -0
- package/lib/response-validation.test.js +45 -0
- package/lib/response-validation.test.js.map +1 -0
- package/lib/services/dns.d.ts +8 -2
- package/lib/services/dns.d.ts.map +1 -1
- package/lib/services/dns.js +8 -2
- package/lib/services/dns.js.map +1 -1
- package/lib/services/queues.d.ts +7 -1
- package/lib/services/queues.d.ts.map +1 -1
- package/lib/services/queues.js +12 -0
- package/lib/services/queues.js.map +1 -1
- package/lib/services/r2.d.ts +17 -5
- package/lib/services/r2.d.ts.map +1 -1
- package/lib/services/r2.js +42 -5
- package/lib/services/r2.js.map +1 -1
- package/lib/services/workers.d.ts +7 -1
- package/lib/services/workers.d.ts.map +1 -1
- package/lib/services/workers.js +12 -1
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workers_for_platforms.d.ts +533 -12
- package/lib/services/workers_for_platforms.d.ts.map +1 -1
- package/lib/services/workers_for_platforms.js +708 -1029
- package/lib/services/workers_for_platforms.js.map +1 -1
- package/lib/services/zero_trust.d.ts +26 -6
- package/lib/services/zero_trust.d.ts.map +1 -1
- package/lib/services/zero_trust.js +53 -6
- package/lib/services/zero_trust.js.map +1 -1
- package/lib/traits.d.ts +1 -1
- package/lib/traits.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- package/src/protocol.ts +28 -9
- package/src/response-validation.test.ts +67 -0
- package/src/services/dns.ts +13 -4
- package/src/services/queues.ts +19 -0
- package/src/services/r2.ts +69 -10
- package/src/services/workers.ts +22 -2
- package/src/services/workers_for_platforms.ts +1625 -1072
- package/src/services/zero_trust.ts +85 -12
- package/src/traits.ts +1 -1
|
@@ -11129,1114 +11129,1667 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
11129
11129
|
export type DispatchNamespacesScriptsUpdateRequestBindingsInherit = "strict";
|
|
11130
11130
|
export const DispatchNamespacesScriptsUpdateRequestBindingsInherit = S.String;
|
|
11131
11131
|
|
|
11132
|
+
export interface PutDispatchNamespaceScriptMetadataAnnotations {
|
|
11133
|
+
workersMessage?: string;
|
|
11134
|
+
workersTag?: string;
|
|
11135
|
+
/** Alias to point at this version (e.g. for gradual deployments). */
|
|
11136
|
+
workersAlias?: string;
|
|
11137
|
+
}
|
|
11138
|
+
export const PutDispatchNamespaceScriptMetadataAnnotations =
|
|
11139
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11140
|
+
S.Struct({
|
|
11141
|
+
workersMessage: S.optional(S.String.pipe(T.Body("workers/message"))),
|
|
11142
|
+
workersTag: S.optional(S.String.pipe(T.Body("workers/tag"))),
|
|
11143
|
+
workersAlias: S.optional(S.String.pipe(T.Body("workers/alias"))),
|
|
11144
|
+
}),
|
|
11145
|
+
).annotate({
|
|
11146
|
+
identifier: "PutDispatchNamespaceScriptMetadataAnnotations",
|
|
11147
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMetadataAnnotations>;
|
|
11148
|
+
|
|
11149
|
+
export type PutDispatchNamespaceScriptAssetsConfigHtmlHandling =
|
|
11150
|
+
| "auto-trailing-slash"
|
|
11151
|
+
| "force-trailing-slash"
|
|
11152
|
+
| "drop-trailing-slash"
|
|
11153
|
+
| "none";
|
|
11154
|
+
export const PutDispatchNamespaceScriptAssetsConfigHtmlHandling = S.String;
|
|
11155
|
+
|
|
11156
|
+
export type PutDispatchNamespaceScriptAssetsConfigNotFoundHandling =
|
|
11157
|
+
| "none"
|
|
11158
|
+
| "404-page"
|
|
11159
|
+
| "single-page-application";
|
|
11160
|
+
export const PutDispatchNamespaceScriptAssetsConfigNotFoundHandling = S.String;
|
|
11161
|
+
|
|
11132
11162
|
export type PutDispatchNamespaceScriptMetadataStringList = Array<string>;
|
|
11133
11163
|
export const PutDispatchNamespaceScriptMetadataStringList =
|
|
11134
11164
|
/*@__PURE__*/ S.Array(
|
|
11135
|
-
S.String,
|
|
11136
|
-
) as any as S.Schema<PutDispatchNamespaceScriptMetadataStringList>;
|
|
11165
|
+
S.String,
|
|
11166
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMetadataStringList>;
|
|
11167
|
+
|
|
11168
|
+
export type PutDispatchNamespaceScriptAssetsConfigRunWorkerFirst =
|
|
11169
|
+
| PutDispatchNamespaceScriptMetadataStringList
|
|
11170
|
+
| boolean;
|
|
11171
|
+
export const PutDispatchNamespaceScriptAssetsConfigRunWorkerFirst =
|
|
11172
|
+
/*@__PURE__*/ S.Unknown.pipe(T.UnionCases([[], []]));
|
|
11173
|
+
|
|
11174
|
+
export interface PutDispatchNamespaceScriptAssetsConfig {
|
|
11175
|
+
htmlHandling?:
|
|
11176
|
+
| PutDispatchNamespaceScriptAssetsConfigHtmlHandling
|
|
11177
|
+
| (string & {});
|
|
11178
|
+
notFoundHandling?:
|
|
11179
|
+
| PutDispatchNamespaceScriptAssetsConfigNotFoundHandling
|
|
11180
|
+
| (string & {});
|
|
11181
|
+
runWorkerFirst?: PutDispatchNamespaceScriptAssetsConfigRunWorkerFirst;
|
|
11182
|
+
serveDirectly?: boolean;
|
|
11183
|
+
headers?: string;
|
|
11184
|
+
redirects?: string;
|
|
11185
|
+
}
|
|
11186
|
+
export const PutDispatchNamespaceScriptAssetsConfig = /*@__PURE__*/ S.suspend(
|
|
11187
|
+
() =>
|
|
11188
|
+
S.Struct({
|
|
11189
|
+
htmlHandling: S.optional(
|
|
11190
|
+
PutDispatchNamespaceScriptAssetsConfigHtmlHandling.pipe(
|
|
11191
|
+
T.Body("html_handling"),
|
|
11192
|
+
),
|
|
11193
|
+
),
|
|
11194
|
+
notFoundHandling: S.optional(
|
|
11195
|
+
PutDispatchNamespaceScriptAssetsConfigNotFoundHandling.pipe(
|
|
11196
|
+
T.Body("not_found_handling"),
|
|
11197
|
+
),
|
|
11198
|
+
),
|
|
11199
|
+
runWorkerFirst: S.optional(
|
|
11200
|
+
PutDispatchNamespaceScriptAssetsConfigRunWorkerFirst.pipe(
|
|
11201
|
+
T.Body("run_worker_first"),
|
|
11202
|
+
),
|
|
11203
|
+
),
|
|
11204
|
+
serveDirectly: S.optional(S.Boolean.pipe(T.Body("serve_directly"))),
|
|
11205
|
+
headers: S.optional(S.String.pipe(T.Body("_headers"))),
|
|
11206
|
+
redirects: S.optional(S.String.pipe(T.Body("_redirects"))),
|
|
11207
|
+
}),
|
|
11208
|
+
).annotate({
|
|
11209
|
+
identifier: "PutDispatchNamespaceScriptAssetsConfig",
|
|
11210
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptAssetsConfig>;
|
|
11211
|
+
|
|
11212
|
+
export interface PutDispatchNamespaceScriptMetadataAssets {
|
|
11213
|
+
config?: PutDispatchNamespaceScriptAssetsConfig;
|
|
11214
|
+
jwt?: string;
|
|
11215
|
+
}
|
|
11216
|
+
export const PutDispatchNamespaceScriptMetadataAssets = /*@__PURE__*/ S.suspend(
|
|
11217
|
+
() =>
|
|
11218
|
+
S.Struct({
|
|
11219
|
+
config: S.optional(PutDispatchNamespaceScriptAssetsConfig),
|
|
11220
|
+
jwt: S.optional(S.String),
|
|
11221
|
+
}),
|
|
11222
|
+
).annotate({
|
|
11223
|
+
identifier: "PutDispatchNamespaceScriptMetadataAssets",
|
|
11224
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMetadataAssets>;
|
|
11225
|
+
|
|
11226
|
+
export type PutDispatchNamespaceScriptBindingAiType = "ai";
|
|
11227
|
+
export const PutDispatchNamespaceScriptBindingAiType = S.String;
|
|
11228
|
+
|
|
11229
|
+
export interface PutDispatchNamespaceScriptBindingAi {
|
|
11230
|
+
name: string;
|
|
11231
|
+
type: PutDispatchNamespaceScriptBindingAiType;
|
|
11232
|
+
}
|
|
11233
|
+
export const PutDispatchNamespaceScriptBindingAi = /*@__PURE__*/ S.suspend(() =>
|
|
11234
|
+
S.Struct({
|
|
11235
|
+
name: S.String,
|
|
11236
|
+
type: PutDispatchNamespaceScriptBindingAiType,
|
|
11237
|
+
}),
|
|
11238
|
+
).annotate({
|
|
11239
|
+
identifier: "PutDispatchNamespaceScriptBindingAi",
|
|
11240
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingAi>;
|
|
11241
|
+
|
|
11242
|
+
export type PutDispatchNamespaceScriptBindingAiSearchType = "ai_search";
|
|
11243
|
+
export const PutDispatchNamespaceScriptBindingAiSearchType = S.String;
|
|
11244
|
+
|
|
11245
|
+
export interface PutDispatchNamespaceScriptBindingAiSearch {
|
|
11246
|
+
instanceName: string;
|
|
11247
|
+
name: string;
|
|
11248
|
+
namespace?: string;
|
|
11249
|
+
type: PutDispatchNamespaceScriptBindingAiSearchType;
|
|
11250
|
+
}
|
|
11251
|
+
export const PutDispatchNamespaceScriptBindingAiSearch =
|
|
11252
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11253
|
+
S.Struct({
|
|
11254
|
+
instanceName: S.String.pipe(T.Body("instance_name")),
|
|
11255
|
+
name: S.String,
|
|
11256
|
+
namespace: S.optional(S.String),
|
|
11257
|
+
type: PutDispatchNamespaceScriptBindingAiSearchType,
|
|
11258
|
+
}),
|
|
11259
|
+
).annotate({
|
|
11260
|
+
identifier: "PutDispatchNamespaceScriptBindingAiSearch",
|
|
11261
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingAiSearch>;
|
|
11262
|
+
|
|
11263
|
+
export type PutDispatchNamespaceScriptBindingAiSearchNamespaceType =
|
|
11264
|
+
"ai_search_namespace";
|
|
11265
|
+
export const PutDispatchNamespaceScriptBindingAiSearchNamespaceType = S.String;
|
|
11266
|
+
|
|
11267
|
+
export interface PutDispatchNamespaceScriptBindingAiSearchNamespace {
|
|
11268
|
+
name: string;
|
|
11269
|
+
namespace: string;
|
|
11270
|
+
type: PutDispatchNamespaceScriptBindingAiSearchNamespaceType;
|
|
11271
|
+
}
|
|
11272
|
+
export const PutDispatchNamespaceScriptBindingAiSearchNamespace =
|
|
11273
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11274
|
+
S.Struct({
|
|
11275
|
+
name: S.String,
|
|
11276
|
+
namespace: S.String,
|
|
11277
|
+
type: PutDispatchNamespaceScriptBindingAiSearchNamespaceType,
|
|
11278
|
+
}),
|
|
11279
|
+
).annotate({
|
|
11280
|
+
identifier: "PutDispatchNamespaceScriptBindingAiSearchNamespace",
|
|
11281
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingAiSearchNamespace>;
|
|
11282
|
+
|
|
11283
|
+
export type PutDispatchNamespaceScriptBindingAnalyticsEngineType =
|
|
11284
|
+
"analytics_engine";
|
|
11285
|
+
export const PutDispatchNamespaceScriptBindingAnalyticsEngineType = S.String;
|
|
11286
|
+
|
|
11287
|
+
export interface PutDispatchNamespaceScriptBindingAnalyticsEngine {
|
|
11288
|
+
dataset: string;
|
|
11289
|
+
name: string;
|
|
11290
|
+
type: PutDispatchNamespaceScriptBindingAnalyticsEngineType;
|
|
11291
|
+
}
|
|
11292
|
+
export const PutDispatchNamespaceScriptBindingAnalyticsEngine =
|
|
11293
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11294
|
+
S.Struct({
|
|
11295
|
+
dataset: S.String,
|
|
11296
|
+
name: S.String,
|
|
11297
|
+
type: PutDispatchNamespaceScriptBindingAnalyticsEngineType,
|
|
11298
|
+
}),
|
|
11299
|
+
).annotate({
|
|
11300
|
+
identifier: "PutDispatchNamespaceScriptBindingAnalyticsEngine",
|
|
11301
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingAnalyticsEngine>;
|
|
11302
|
+
|
|
11303
|
+
export type PutDispatchNamespaceScriptBindingAssetsType = "assets";
|
|
11304
|
+
export const PutDispatchNamespaceScriptBindingAssetsType = S.String;
|
|
11305
|
+
|
|
11306
|
+
export interface PutDispatchNamespaceScriptBindingAssets {
|
|
11307
|
+
name: string;
|
|
11308
|
+
type: PutDispatchNamespaceScriptBindingAssetsType;
|
|
11309
|
+
}
|
|
11310
|
+
export const PutDispatchNamespaceScriptBindingAssets = /*@__PURE__*/ S.suspend(
|
|
11311
|
+
() =>
|
|
11312
|
+
S.Struct({
|
|
11313
|
+
name: S.String,
|
|
11314
|
+
type: PutDispatchNamespaceScriptBindingAssetsType,
|
|
11315
|
+
}),
|
|
11316
|
+
).annotate({
|
|
11317
|
+
identifier: "PutDispatchNamespaceScriptBindingAssets",
|
|
11318
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingAssets>;
|
|
11319
|
+
|
|
11320
|
+
export type PutDispatchNamespaceScriptBindingBrowserType = "browser";
|
|
11321
|
+
export const PutDispatchNamespaceScriptBindingBrowserType = S.String;
|
|
11322
|
+
|
|
11323
|
+
export interface PutDispatchNamespaceScriptBindingBrowser {
|
|
11324
|
+
name: string;
|
|
11325
|
+
type: PutDispatchNamespaceScriptBindingBrowserType;
|
|
11326
|
+
}
|
|
11327
|
+
export const PutDispatchNamespaceScriptBindingBrowser = /*@__PURE__*/ S.suspend(
|
|
11328
|
+
() =>
|
|
11329
|
+
S.Struct({
|
|
11330
|
+
name: S.String,
|
|
11331
|
+
type: PutDispatchNamespaceScriptBindingBrowserType,
|
|
11332
|
+
}),
|
|
11333
|
+
).annotate({
|
|
11334
|
+
identifier: "PutDispatchNamespaceScriptBindingBrowser",
|
|
11335
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingBrowser>;
|
|
11336
|
+
|
|
11337
|
+
export type PutDispatchNamespaceScriptBindingD1Type = "d1";
|
|
11338
|
+
export const PutDispatchNamespaceScriptBindingD1Type = S.String;
|
|
11339
|
+
|
|
11340
|
+
export interface PutDispatchNamespaceScriptBindingD1 {
|
|
11341
|
+
databaseId: string;
|
|
11342
|
+
name: string;
|
|
11343
|
+
id?: string;
|
|
11344
|
+
type: PutDispatchNamespaceScriptBindingD1Type;
|
|
11345
|
+
}
|
|
11346
|
+
export const PutDispatchNamespaceScriptBindingD1 = /*@__PURE__*/ S.suspend(() =>
|
|
11347
|
+
S.Struct({
|
|
11348
|
+
databaseId: S.String.pipe(T.Body("database_id")),
|
|
11349
|
+
name: S.String,
|
|
11350
|
+
id: S.optional(S.String),
|
|
11351
|
+
type: PutDispatchNamespaceScriptBindingD1Type,
|
|
11352
|
+
}),
|
|
11353
|
+
).annotate({
|
|
11354
|
+
identifier: "PutDispatchNamespaceScriptBindingD1",
|
|
11355
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingD1>;
|
|
11356
|
+
|
|
11357
|
+
export type PutDispatchNamespaceScriptBindingDataBlobType = "data_blob";
|
|
11358
|
+
export const PutDispatchNamespaceScriptBindingDataBlobType = S.String;
|
|
11359
|
+
|
|
11360
|
+
export interface PutDispatchNamespaceScriptBindingDataBlob {
|
|
11361
|
+
name: string;
|
|
11362
|
+
part: string;
|
|
11363
|
+
type: PutDispatchNamespaceScriptBindingDataBlobType;
|
|
11364
|
+
}
|
|
11365
|
+
export const PutDispatchNamespaceScriptBindingDataBlob =
|
|
11366
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11367
|
+
S.Struct({
|
|
11368
|
+
name: S.String,
|
|
11369
|
+
part: S.String,
|
|
11370
|
+
type: PutDispatchNamespaceScriptBindingDataBlobType,
|
|
11371
|
+
}),
|
|
11372
|
+
).annotate({
|
|
11373
|
+
identifier: "PutDispatchNamespaceScriptBindingDataBlob",
|
|
11374
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingDataBlob>;
|
|
11375
|
+
|
|
11376
|
+
export interface PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParam {
|
|
11377
|
+
name: string;
|
|
11378
|
+
}
|
|
11379
|
+
export const PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParam =
|
|
11380
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11381
|
+
S.Struct({
|
|
11382
|
+
name: S.String,
|
|
11383
|
+
}),
|
|
11384
|
+
).annotate({
|
|
11385
|
+
identifier:
|
|
11386
|
+
"PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParam",
|
|
11387
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParam>;
|
|
11388
|
+
|
|
11389
|
+
export type PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParamsList =
|
|
11390
|
+
Array<PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParam>;
|
|
11391
|
+
export const PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParamsList =
|
|
11392
|
+
/*@__PURE__*/ S.Array(
|
|
11393
|
+
PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParam,
|
|
11394
|
+
) as any as S.Schema<PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParamsList>;
|
|
11395
|
+
|
|
11396
|
+
export interface PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundWorker {
|
|
11397
|
+
entrypoint?: string;
|
|
11398
|
+
environment?: string;
|
|
11399
|
+
service?: string;
|
|
11400
|
+
}
|
|
11401
|
+
export const PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundWorker =
|
|
11402
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11403
|
+
S.Struct({
|
|
11404
|
+
entrypoint: S.optional(S.String),
|
|
11405
|
+
environment: S.optional(S.String),
|
|
11406
|
+
service: S.optional(S.String),
|
|
11407
|
+
}),
|
|
11408
|
+
).annotate({
|
|
11409
|
+
identifier:
|
|
11410
|
+
"PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundWorker",
|
|
11411
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundWorker>;
|
|
11412
|
+
|
|
11413
|
+
export interface PutDispatchNamespaceScriptBindingDispatchNamespaceOutbound {
|
|
11414
|
+
params?: PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParamsList;
|
|
11415
|
+
worker?: PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundWorker;
|
|
11416
|
+
}
|
|
11417
|
+
export const PutDispatchNamespaceScriptBindingDispatchNamespaceOutbound =
|
|
11418
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11419
|
+
S.Struct({
|
|
11420
|
+
params: S.optional(
|
|
11421
|
+
PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundParamsList,
|
|
11422
|
+
),
|
|
11423
|
+
worker: S.optional(
|
|
11424
|
+
PutDispatchNamespaceScriptBindingDispatchNamespaceOutboundWorker,
|
|
11425
|
+
),
|
|
11426
|
+
}),
|
|
11427
|
+
).annotate({
|
|
11428
|
+
identifier: "PutDispatchNamespaceScriptBindingDispatchNamespaceOutbound",
|
|
11429
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingDispatchNamespaceOutbound>;
|
|
11430
|
+
|
|
11431
|
+
export type PutDispatchNamespaceScriptBindingDispatchNamespaceType =
|
|
11432
|
+
"dispatch_namespace";
|
|
11433
|
+
export const PutDispatchNamespaceScriptBindingDispatchNamespaceType = S.String;
|
|
11434
|
+
|
|
11435
|
+
export interface PutDispatchNamespaceScriptBindingDispatchNamespace {
|
|
11436
|
+
name: string;
|
|
11437
|
+
namespace: string;
|
|
11438
|
+
outbound?: PutDispatchNamespaceScriptBindingDispatchNamespaceOutbound;
|
|
11439
|
+
type: PutDispatchNamespaceScriptBindingDispatchNamespaceType;
|
|
11440
|
+
}
|
|
11441
|
+
export const PutDispatchNamespaceScriptBindingDispatchNamespace =
|
|
11442
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11443
|
+
S.Struct({
|
|
11444
|
+
name: S.String,
|
|
11445
|
+
namespace: S.String,
|
|
11446
|
+
outbound: S.optional(
|
|
11447
|
+
PutDispatchNamespaceScriptBindingDispatchNamespaceOutbound,
|
|
11448
|
+
),
|
|
11449
|
+
type: PutDispatchNamespaceScriptBindingDispatchNamespaceType,
|
|
11450
|
+
}),
|
|
11451
|
+
).annotate({
|
|
11452
|
+
identifier: "PutDispatchNamespaceScriptBindingDispatchNamespace",
|
|
11453
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingDispatchNamespace>;
|
|
11454
|
+
|
|
11455
|
+
export type PutDispatchNamespaceScriptBindingDurableObjectNamespaceType =
|
|
11456
|
+
"durable_object_namespace";
|
|
11457
|
+
export const PutDispatchNamespaceScriptBindingDurableObjectNamespaceType =
|
|
11458
|
+
S.String;
|
|
11459
|
+
|
|
11460
|
+
export interface PutDispatchNamespaceScriptBindingDurableObjectNamespace {
|
|
11461
|
+
name: string;
|
|
11462
|
+
className: string;
|
|
11463
|
+
dispatchNamespace?: string;
|
|
11464
|
+
environment?: string;
|
|
11465
|
+
namespaceId?: string;
|
|
11466
|
+
scriptName?: string;
|
|
11467
|
+
type: PutDispatchNamespaceScriptBindingDurableObjectNamespaceType;
|
|
11468
|
+
}
|
|
11469
|
+
export const PutDispatchNamespaceScriptBindingDurableObjectNamespace =
|
|
11470
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11471
|
+
S.Struct({
|
|
11472
|
+
name: S.String,
|
|
11473
|
+
className: S.String.pipe(T.Body("class_name")),
|
|
11474
|
+
dispatchNamespace: S.optional(
|
|
11475
|
+
S.String.pipe(T.Body("dispatch_namespace")),
|
|
11476
|
+
),
|
|
11477
|
+
environment: S.optional(S.String),
|
|
11478
|
+
namespaceId: S.optional(S.String.pipe(T.Body("namespace_id"))),
|
|
11479
|
+
scriptName: S.optional(S.String.pipe(T.Body("script_name"))),
|
|
11480
|
+
type: PutDispatchNamespaceScriptBindingDurableObjectNamespaceType,
|
|
11481
|
+
}),
|
|
11482
|
+
).annotate({
|
|
11483
|
+
identifier: "PutDispatchNamespaceScriptBindingDurableObjectNamespace",
|
|
11484
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingDurableObjectNamespace>;
|
|
11485
|
+
|
|
11486
|
+
export type PutDispatchNamespaceScriptBindingHyperdriveType = "hyperdrive";
|
|
11487
|
+
export const PutDispatchNamespaceScriptBindingHyperdriveType = S.String;
|
|
11488
|
+
|
|
11489
|
+
export interface PutDispatchNamespaceScriptBindingHyperdrive {
|
|
11490
|
+
id: string;
|
|
11491
|
+
name: string;
|
|
11492
|
+
type: PutDispatchNamespaceScriptBindingHyperdriveType;
|
|
11493
|
+
}
|
|
11494
|
+
export const PutDispatchNamespaceScriptBindingHyperdrive =
|
|
11495
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11496
|
+
S.Struct({
|
|
11497
|
+
id: S.String,
|
|
11498
|
+
name: S.String,
|
|
11499
|
+
type: PutDispatchNamespaceScriptBindingHyperdriveType,
|
|
11500
|
+
}),
|
|
11501
|
+
).annotate({
|
|
11502
|
+
identifier: "PutDispatchNamespaceScriptBindingHyperdrive",
|
|
11503
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingHyperdrive>;
|
|
11504
|
+
|
|
11505
|
+
export type PutDispatchNamespaceScriptBindingInheritType = "inherit";
|
|
11506
|
+
export const PutDispatchNamespaceScriptBindingInheritType = S.String;
|
|
11507
|
+
|
|
11508
|
+
export interface PutDispatchNamespaceScriptBindingInherit {
|
|
11509
|
+
name: string;
|
|
11510
|
+
oldName?: string;
|
|
11511
|
+
versionId?: string;
|
|
11512
|
+
type: PutDispatchNamespaceScriptBindingInheritType;
|
|
11513
|
+
}
|
|
11514
|
+
export const PutDispatchNamespaceScriptBindingInherit = /*@__PURE__*/ S.suspend(
|
|
11515
|
+
() =>
|
|
11516
|
+
S.Struct({
|
|
11517
|
+
name: S.String,
|
|
11518
|
+
oldName: S.optional(S.String.pipe(T.Body("old_name"))),
|
|
11519
|
+
versionId: S.optional(S.String.pipe(T.Body("version_id"))),
|
|
11520
|
+
type: PutDispatchNamespaceScriptBindingInheritType,
|
|
11521
|
+
}),
|
|
11522
|
+
).annotate({
|
|
11523
|
+
identifier: "PutDispatchNamespaceScriptBindingInherit",
|
|
11524
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingInherit>;
|
|
11525
|
+
|
|
11526
|
+
export type PutDispatchNamespaceScriptBindingImagesType = "images";
|
|
11527
|
+
export const PutDispatchNamespaceScriptBindingImagesType = S.String;
|
|
11528
|
+
|
|
11529
|
+
export interface PutDispatchNamespaceScriptBindingImages {
|
|
11530
|
+
name: string;
|
|
11531
|
+
type: PutDispatchNamespaceScriptBindingImagesType;
|
|
11532
|
+
}
|
|
11533
|
+
export const PutDispatchNamespaceScriptBindingImages = /*@__PURE__*/ S.suspend(
|
|
11534
|
+
() =>
|
|
11535
|
+
S.Struct({
|
|
11536
|
+
name: S.String,
|
|
11537
|
+
type: PutDispatchNamespaceScriptBindingImagesType,
|
|
11538
|
+
}),
|
|
11539
|
+
).annotate({
|
|
11540
|
+
identifier: "PutDispatchNamespaceScriptBindingImages",
|
|
11541
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingImages>;
|
|
11542
|
+
|
|
11543
|
+
export type PutDispatchNamespaceScriptBindingJsonType = "json";
|
|
11544
|
+
export const PutDispatchNamespaceScriptBindingJsonType = S.String;
|
|
11545
|
+
|
|
11546
|
+
export interface PutDispatchNamespaceScriptBindingJson {
|
|
11547
|
+
json: unknown;
|
|
11548
|
+
name: string;
|
|
11549
|
+
type: PutDispatchNamespaceScriptBindingJsonType;
|
|
11550
|
+
}
|
|
11551
|
+
export const PutDispatchNamespaceScriptBindingJson = /*@__PURE__*/ S.suspend(
|
|
11552
|
+
() =>
|
|
11553
|
+
S.Struct({
|
|
11554
|
+
json: S.Unknown,
|
|
11555
|
+
name: S.String,
|
|
11556
|
+
type: PutDispatchNamespaceScriptBindingJsonType,
|
|
11557
|
+
}),
|
|
11558
|
+
).annotate({
|
|
11559
|
+
identifier: "PutDispatchNamespaceScriptBindingJson",
|
|
11560
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingJson>;
|
|
11561
|
+
|
|
11562
|
+
export type PutDispatchNamespaceScriptBindingKvNamespaceType = "kv_namespace";
|
|
11563
|
+
export const PutDispatchNamespaceScriptBindingKvNamespaceType = S.String;
|
|
11564
|
+
|
|
11565
|
+
export interface PutDispatchNamespaceScriptBindingKvNamespace {
|
|
11566
|
+
name: string;
|
|
11567
|
+
namespaceId: string;
|
|
11568
|
+
type: PutDispatchNamespaceScriptBindingKvNamespaceType;
|
|
11569
|
+
}
|
|
11570
|
+
export const PutDispatchNamespaceScriptBindingKvNamespace =
|
|
11571
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11572
|
+
S.Struct({
|
|
11573
|
+
name: S.String,
|
|
11574
|
+
namespaceId: S.String.pipe(T.Body("namespace_id")),
|
|
11575
|
+
type: PutDispatchNamespaceScriptBindingKvNamespaceType,
|
|
11576
|
+
}),
|
|
11577
|
+
).annotate({
|
|
11578
|
+
identifier: "PutDispatchNamespaceScriptBindingKvNamespace",
|
|
11579
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingKvNamespace>;
|
|
11580
|
+
|
|
11581
|
+
export type PutDispatchNamespaceScriptBindingMediaType = "media";
|
|
11582
|
+
export const PutDispatchNamespaceScriptBindingMediaType = S.String;
|
|
11583
|
+
|
|
11584
|
+
export interface PutDispatchNamespaceScriptBindingMedia {
|
|
11585
|
+
name: string;
|
|
11586
|
+
type: PutDispatchNamespaceScriptBindingMediaType;
|
|
11587
|
+
}
|
|
11588
|
+
export const PutDispatchNamespaceScriptBindingMedia = /*@__PURE__*/ S.suspend(
|
|
11589
|
+
() =>
|
|
11590
|
+
S.Struct({
|
|
11591
|
+
name: S.String,
|
|
11592
|
+
type: PutDispatchNamespaceScriptBindingMediaType,
|
|
11593
|
+
}),
|
|
11594
|
+
).annotate({
|
|
11595
|
+
identifier: "PutDispatchNamespaceScriptBindingMedia",
|
|
11596
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingMedia>;
|
|
11597
|
+
|
|
11598
|
+
export type PutDispatchNamespaceScriptBindingMtlsCertificateType =
|
|
11599
|
+
"mtls_certificate";
|
|
11600
|
+
export const PutDispatchNamespaceScriptBindingMtlsCertificateType = S.String;
|
|
11601
|
+
|
|
11602
|
+
export interface PutDispatchNamespaceScriptBindingMtlsCertificate {
|
|
11603
|
+
certificateId: string;
|
|
11604
|
+
name: string;
|
|
11605
|
+
type: PutDispatchNamespaceScriptBindingMtlsCertificateType;
|
|
11606
|
+
}
|
|
11607
|
+
export const PutDispatchNamespaceScriptBindingMtlsCertificate =
|
|
11608
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11609
|
+
S.Struct({
|
|
11610
|
+
certificateId: S.String.pipe(T.Body("certificate_id")),
|
|
11611
|
+
name: S.String,
|
|
11612
|
+
type: PutDispatchNamespaceScriptBindingMtlsCertificateType,
|
|
11613
|
+
}),
|
|
11614
|
+
).annotate({
|
|
11615
|
+
identifier: "PutDispatchNamespaceScriptBindingMtlsCertificate",
|
|
11616
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingMtlsCertificate>;
|
|
11617
|
+
|
|
11618
|
+
export type PutDispatchNamespaceScriptBindingPlainTextType = "plain_text";
|
|
11619
|
+
export const PutDispatchNamespaceScriptBindingPlainTextType = S.String;
|
|
11620
|
+
|
|
11621
|
+
export interface PutDispatchNamespaceScriptBindingPlainText {
|
|
11622
|
+
name: string;
|
|
11623
|
+
text: string;
|
|
11624
|
+
type: PutDispatchNamespaceScriptBindingPlainTextType;
|
|
11625
|
+
}
|
|
11626
|
+
export const PutDispatchNamespaceScriptBindingPlainText =
|
|
11627
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11628
|
+
S.Struct({
|
|
11629
|
+
name: S.String,
|
|
11630
|
+
text: S.String,
|
|
11631
|
+
type: PutDispatchNamespaceScriptBindingPlainTextType,
|
|
11632
|
+
}),
|
|
11633
|
+
).annotate({
|
|
11634
|
+
identifier: "PutDispatchNamespaceScriptBindingPlainText",
|
|
11635
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingPlainText>;
|
|
11636
|
+
|
|
11637
|
+
export type PutDispatchNamespaceScriptBindingPipelinesType = "pipelines";
|
|
11638
|
+
export const PutDispatchNamespaceScriptBindingPipelinesType = S.String;
|
|
11639
|
+
|
|
11640
|
+
export interface PutDispatchNamespaceScriptBindingPipelines {
|
|
11641
|
+
name: string;
|
|
11642
|
+
pipeline: string;
|
|
11643
|
+
type: PutDispatchNamespaceScriptBindingPipelinesType;
|
|
11644
|
+
}
|
|
11645
|
+
export const PutDispatchNamespaceScriptBindingPipelines =
|
|
11646
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11647
|
+
S.Struct({
|
|
11648
|
+
name: S.String,
|
|
11649
|
+
pipeline: S.String,
|
|
11650
|
+
type: PutDispatchNamespaceScriptBindingPipelinesType,
|
|
11651
|
+
}),
|
|
11652
|
+
).annotate({
|
|
11653
|
+
identifier: "PutDispatchNamespaceScriptBindingPipelines",
|
|
11654
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingPipelines>;
|
|
11655
|
+
|
|
11656
|
+
export type PutDispatchNamespaceScriptBindingQueueType = "queue";
|
|
11657
|
+
export const PutDispatchNamespaceScriptBindingQueueType = S.String;
|
|
11658
|
+
|
|
11659
|
+
export interface PutDispatchNamespaceScriptBindingQueue {
|
|
11660
|
+
name: string;
|
|
11661
|
+
queueName: string;
|
|
11662
|
+
type: PutDispatchNamespaceScriptBindingQueueType;
|
|
11663
|
+
}
|
|
11664
|
+
export const PutDispatchNamespaceScriptBindingQueue = /*@__PURE__*/ S.suspend(
|
|
11665
|
+
() =>
|
|
11666
|
+
S.Struct({
|
|
11667
|
+
name: S.String,
|
|
11668
|
+
queueName: S.String.pipe(T.Body("queue_name")),
|
|
11669
|
+
type: PutDispatchNamespaceScriptBindingQueueType,
|
|
11670
|
+
}),
|
|
11671
|
+
).annotate({
|
|
11672
|
+
identifier: "PutDispatchNamespaceScriptBindingQueue",
|
|
11673
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingQueue>;
|
|
11674
|
+
|
|
11675
|
+
export interface PutDispatchNamespaceScriptBindingRatelimitSimple {
|
|
11676
|
+
limit: number;
|
|
11677
|
+
period: number;
|
|
11678
|
+
mitigationTimeout?: number;
|
|
11679
|
+
}
|
|
11680
|
+
export const PutDispatchNamespaceScriptBindingRatelimitSimple =
|
|
11681
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11682
|
+
S.Struct({
|
|
11683
|
+
limit: S.Number,
|
|
11684
|
+
period: S.Number,
|
|
11685
|
+
mitigationTimeout: S.optional(
|
|
11686
|
+
S.Number.pipe(T.Body("mitigation_timeout")),
|
|
11687
|
+
),
|
|
11688
|
+
}),
|
|
11689
|
+
).annotate({
|
|
11690
|
+
identifier: "PutDispatchNamespaceScriptBindingRatelimitSimple",
|
|
11691
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingRatelimitSimple>;
|
|
11692
|
+
|
|
11693
|
+
export type PutDispatchNamespaceScriptBindingRatelimitType = "ratelimit";
|
|
11694
|
+
export const PutDispatchNamespaceScriptBindingRatelimitType = S.String;
|
|
11695
|
+
|
|
11696
|
+
export interface PutDispatchNamespaceScriptBindingRatelimit {
|
|
11697
|
+
name: string;
|
|
11698
|
+
namespaceId: string;
|
|
11699
|
+
simple: PutDispatchNamespaceScriptBindingRatelimitSimple;
|
|
11700
|
+
type: PutDispatchNamespaceScriptBindingRatelimitType;
|
|
11701
|
+
}
|
|
11702
|
+
export const PutDispatchNamespaceScriptBindingRatelimit =
|
|
11703
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11704
|
+
S.Struct({
|
|
11705
|
+
name: S.String,
|
|
11706
|
+
namespaceId: S.String.pipe(T.Body("namespace_id")),
|
|
11707
|
+
simple: PutDispatchNamespaceScriptBindingRatelimitSimple,
|
|
11708
|
+
type: PutDispatchNamespaceScriptBindingRatelimitType,
|
|
11709
|
+
}),
|
|
11710
|
+
).annotate({
|
|
11711
|
+
identifier: "PutDispatchNamespaceScriptBindingRatelimit",
|
|
11712
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingRatelimit>;
|
|
11713
|
+
|
|
11714
|
+
export type PutDispatchNamespaceScriptBindingR2BucketJurisdiction =
|
|
11715
|
+
| "eu"
|
|
11716
|
+
| "fedramp"
|
|
11717
|
+
| "fedramp-high";
|
|
11718
|
+
export const PutDispatchNamespaceScriptBindingR2BucketJurisdiction = S.String;
|
|
11719
|
+
|
|
11720
|
+
export type PutDispatchNamespaceScriptBindingR2BucketType = "r2_bucket";
|
|
11721
|
+
export const PutDispatchNamespaceScriptBindingR2BucketType = S.String;
|
|
11722
|
+
|
|
11723
|
+
export interface PutDispatchNamespaceScriptBindingR2Bucket {
|
|
11724
|
+
bucketName: string;
|
|
11725
|
+
name: string;
|
|
11726
|
+
jurisdiction?:
|
|
11727
|
+
| PutDispatchNamespaceScriptBindingR2BucketJurisdiction
|
|
11728
|
+
| (string & {});
|
|
11729
|
+
type: PutDispatchNamespaceScriptBindingR2BucketType;
|
|
11730
|
+
}
|
|
11731
|
+
export const PutDispatchNamespaceScriptBindingR2Bucket =
|
|
11732
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11733
|
+
S.Struct({
|
|
11734
|
+
bucketName: S.String.pipe(T.Body("bucket_name")),
|
|
11735
|
+
name: S.String,
|
|
11736
|
+
jurisdiction: S.optional(
|
|
11737
|
+
PutDispatchNamespaceScriptBindingR2BucketJurisdiction,
|
|
11738
|
+
),
|
|
11739
|
+
type: PutDispatchNamespaceScriptBindingR2BucketType,
|
|
11740
|
+
}),
|
|
11741
|
+
).annotate({
|
|
11742
|
+
identifier: "PutDispatchNamespaceScriptBindingR2Bucket",
|
|
11743
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingR2Bucket>;
|
|
11744
|
+
|
|
11745
|
+
export type PutDispatchNamespaceScriptBindingSecretTextType = "secret_text";
|
|
11746
|
+
export const PutDispatchNamespaceScriptBindingSecretTextType = S.String;
|
|
11747
|
+
|
|
11748
|
+
export interface PutDispatchNamespaceScriptBindingSecretText {
|
|
11749
|
+
name: string;
|
|
11750
|
+
text: string;
|
|
11751
|
+
type: PutDispatchNamespaceScriptBindingSecretTextType;
|
|
11752
|
+
}
|
|
11753
|
+
export const PutDispatchNamespaceScriptBindingSecretText =
|
|
11754
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11755
|
+
S.Struct({
|
|
11756
|
+
name: S.String,
|
|
11757
|
+
text: S.String,
|
|
11758
|
+
type: PutDispatchNamespaceScriptBindingSecretTextType,
|
|
11759
|
+
}),
|
|
11760
|
+
).annotate({
|
|
11761
|
+
identifier: "PutDispatchNamespaceScriptBindingSecretText",
|
|
11762
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingSecretText>;
|
|
11763
|
+
|
|
11764
|
+
export type PutDispatchNamespaceScriptBindingSendEmailType = "send_email";
|
|
11765
|
+
export const PutDispatchNamespaceScriptBindingSendEmailType = S.String;
|
|
11766
|
+
|
|
11767
|
+
export interface PutDispatchNamespaceScriptBindingSendEmail {
|
|
11768
|
+
name: string;
|
|
11769
|
+
allowedDestinationAddresses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
11770
|
+
allowedSenderAddresses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
11771
|
+
destinationAddress?: string;
|
|
11772
|
+
type: PutDispatchNamespaceScriptBindingSendEmailType;
|
|
11773
|
+
}
|
|
11774
|
+
export const PutDispatchNamespaceScriptBindingSendEmail =
|
|
11775
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11776
|
+
S.Struct({
|
|
11777
|
+
name: S.String,
|
|
11778
|
+
allowedDestinationAddresses: S.optional(
|
|
11779
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
11780
|
+
T.Body("allowed_destination_addresses"),
|
|
11781
|
+
),
|
|
11782
|
+
),
|
|
11783
|
+
allowedSenderAddresses: S.optional(
|
|
11784
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
11785
|
+
T.Body("allowed_sender_addresses"),
|
|
11786
|
+
),
|
|
11787
|
+
),
|
|
11788
|
+
destinationAddress: S.optional(
|
|
11789
|
+
S.String.pipe(T.Body("destination_address")),
|
|
11790
|
+
),
|
|
11791
|
+
type: PutDispatchNamespaceScriptBindingSendEmailType,
|
|
11792
|
+
}),
|
|
11793
|
+
).annotate({
|
|
11794
|
+
identifier: "PutDispatchNamespaceScriptBindingSendEmail",
|
|
11795
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingSendEmail>;
|
|
11796
|
+
|
|
11797
|
+
export type PutDispatchNamespaceScriptBindingServiceType = "service";
|
|
11798
|
+
export const PutDispatchNamespaceScriptBindingServiceType = S.String;
|
|
11799
|
+
|
|
11800
|
+
export interface PutDispatchNamespaceScriptBindingService {
|
|
11801
|
+
name: string;
|
|
11802
|
+
service: string;
|
|
11803
|
+
entrypoint?: string;
|
|
11804
|
+
environment?: string;
|
|
11805
|
+
type: PutDispatchNamespaceScriptBindingServiceType;
|
|
11806
|
+
}
|
|
11807
|
+
export const PutDispatchNamespaceScriptBindingService = /*@__PURE__*/ S.suspend(
|
|
11808
|
+
() =>
|
|
11809
|
+
S.Struct({
|
|
11810
|
+
name: S.String,
|
|
11811
|
+
service: S.String,
|
|
11812
|
+
entrypoint: S.optional(S.String),
|
|
11813
|
+
environment: S.optional(S.String),
|
|
11814
|
+
type: PutDispatchNamespaceScriptBindingServiceType,
|
|
11815
|
+
}),
|
|
11816
|
+
).annotate({
|
|
11817
|
+
identifier: "PutDispatchNamespaceScriptBindingService",
|
|
11818
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingService>;
|
|
11819
|
+
|
|
11820
|
+
export type PutDispatchNamespaceScriptBindingTextBlobType = "text_blob";
|
|
11821
|
+
export const PutDispatchNamespaceScriptBindingTextBlobType = S.String;
|
|
11822
|
+
|
|
11823
|
+
export interface PutDispatchNamespaceScriptBindingTextBlob {
|
|
11824
|
+
name: string;
|
|
11825
|
+
part: string;
|
|
11826
|
+
type: PutDispatchNamespaceScriptBindingTextBlobType;
|
|
11827
|
+
}
|
|
11828
|
+
export const PutDispatchNamespaceScriptBindingTextBlob =
|
|
11829
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11830
|
+
S.Struct({
|
|
11831
|
+
name: S.String,
|
|
11832
|
+
part: S.String,
|
|
11833
|
+
type: PutDispatchNamespaceScriptBindingTextBlobType,
|
|
11834
|
+
}),
|
|
11835
|
+
).annotate({
|
|
11836
|
+
identifier: "PutDispatchNamespaceScriptBindingTextBlob",
|
|
11837
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingTextBlob>;
|
|
11838
|
+
|
|
11839
|
+
export type PutDispatchNamespaceScriptBindingVectorizeType = "vectorize";
|
|
11840
|
+
export const PutDispatchNamespaceScriptBindingVectorizeType = S.String;
|
|
11841
|
+
|
|
11842
|
+
export interface PutDispatchNamespaceScriptBindingVectorize {
|
|
11843
|
+
indexName: string;
|
|
11844
|
+
name: string;
|
|
11845
|
+
type: PutDispatchNamespaceScriptBindingVectorizeType;
|
|
11846
|
+
}
|
|
11847
|
+
export const PutDispatchNamespaceScriptBindingVectorize =
|
|
11848
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11849
|
+
S.Struct({
|
|
11850
|
+
indexName: S.String.pipe(T.Body("index_name")),
|
|
11851
|
+
name: S.String,
|
|
11852
|
+
type: PutDispatchNamespaceScriptBindingVectorizeType,
|
|
11853
|
+
}),
|
|
11854
|
+
).annotate({
|
|
11855
|
+
identifier: "PutDispatchNamespaceScriptBindingVectorize",
|
|
11856
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingVectorize>;
|
|
11857
|
+
|
|
11858
|
+
export type PutDispatchNamespaceScriptBindingVersionMetadataType =
|
|
11859
|
+
"version_metadata";
|
|
11860
|
+
export const PutDispatchNamespaceScriptBindingVersionMetadataType = S.String;
|
|
11861
|
+
|
|
11862
|
+
export interface PutDispatchNamespaceScriptBindingVersionMetadata {
|
|
11863
|
+
name: string;
|
|
11864
|
+
type: PutDispatchNamespaceScriptBindingVersionMetadataType;
|
|
11865
|
+
}
|
|
11866
|
+
export const PutDispatchNamespaceScriptBindingVersionMetadata =
|
|
11867
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11868
|
+
S.Struct({
|
|
11869
|
+
name: S.String,
|
|
11870
|
+
type: PutDispatchNamespaceScriptBindingVersionMetadataType,
|
|
11871
|
+
}),
|
|
11872
|
+
).annotate({
|
|
11873
|
+
identifier: "PutDispatchNamespaceScriptBindingVersionMetadata",
|
|
11874
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingVersionMetadata>;
|
|
11875
|
+
|
|
11876
|
+
export type PutDispatchNamespaceScriptBindingSecretsStoreSecretType =
|
|
11877
|
+
"secrets_store_secret";
|
|
11878
|
+
export const PutDispatchNamespaceScriptBindingSecretsStoreSecretType = S.String;
|
|
11879
|
+
|
|
11880
|
+
export interface PutDispatchNamespaceScriptBindingSecretsStoreSecret {
|
|
11881
|
+
name: string;
|
|
11882
|
+
secretName: string;
|
|
11883
|
+
storeId: string;
|
|
11884
|
+
type: PutDispatchNamespaceScriptBindingSecretsStoreSecretType;
|
|
11885
|
+
}
|
|
11886
|
+
export const PutDispatchNamespaceScriptBindingSecretsStoreSecret =
|
|
11887
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11888
|
+
S.Struct({
|
|
11889
|
+
name: S.String,
|
|
11890
|
+
secretName: S.String.pipe(T.Body("secret_name")),
|
|
11891
|
+
storeId: S.String.pipe(T.Body("store_id")),
|
|
11892
|
+
type: PutDispatchNamespaceScriptBindingSecretsStoreSecretType,
|
|
11893
|
+
}),
|
|
11894
|
+
).annotate({
|
|
11895
|
+
identifier: "PutDispatchNamespaceScriptBindingSecretsStoreSecret",
|
|
11896
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingSecretsStoreSecret>;
|
|
11897
|
+
|
|
11898
|
+
export type PutDispatchNamespaceScriptBindingFlagshipType = "flagship";
|
|
11899
|
+
export const PutDispatchNamespaceScriptBindingFlagshipType = S.String;
|
|
11900
|
+
|
|
11901
|
+
export interface PutDispatchNamespaceScriptBindingFlagship {
|
|
11902
|
+
appId: string;
|
|
11903
|
+
name: string;
|
|
11904
|
+
type: PutDispatchNamespaceScriptBindingFlagshipType;
|
|
11905
|
+
}
|
|
11906
|
+
export const PutDispatchNamespaceScriptBindingFlagship =
|
|
11907
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11908
|
+
S.Struct({
|
|
11909
|
+
appId: S.String.pipe(T.Body("app_id")),
|
|
11910
|
+
name: S.String,
|
|
11911
|
+
type: PutDispatchNamespaceScriptBindingFlagshipType,
|
|
11912
|
+
}),
|
|
11913
|
+
).annotate({
|
|
11914
|
+
identifier: "PutDispatchNamespaceScriptBindingFlagship",
|
|
11915
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingFlagship>;
|
|
11916
|
+
|
|
11917
|
+
export type PutDispatchNamespaceScriptBindingSecretKeyFormat =
|
|
11918
|
+
| "raw"
|
|
11919
|
+
| "pkcs8"
|
|
11920
|
+
| "spki"
|
|
11921
|
+
| "jwk";
|
|
11922
|
+
export const PutDispatchNamespaceScriptBindingSecretKeyFormat = S.String;
|
|
11923
|
+
|
|
11924
|
+
export type PutDispatchNamespaceScriptBindingSecretKeyUsage =
|
|
11925
|
+
| "encrypt"
|
|
11926
|
+
| "decrypt"
|
|
11927
|
+
| "sign"
|
|
11928
|
+
| "verify"
|
|
11929
|
+
| "deriveKey"
|
|
11930
|
+
| "deriveBits"
|
|
11931
|
+
| "wrapKey"
|
|
11932
|
+
| "unwrapKey";
|
|
11933
|
+
export const PutDispatchNamespaceScriptBindingSecretKeyUsage = S.String;
|
|
11934
|
+
|
|
11935
|
+
export type PutDispatchNamespaceScriptBindingSecretKeyUsagesList = Array<
|
|
11936
|
+
PutDispatchNamespaceScriptBindingSecretKeyUsage | (string & {})
|
|
11937
|
+
>;
|
|
11938
|
+
export const PutDispatchNamespaceScriptBindingSecretKeyUsagesList =
|
|
11939
|
+
/*@__PURE__*/ S.Array(
|
|
11940
|
+
PutDispatchNamespaceScriptBindingSecretKeyUsage,
|
|
11941
|
+
) as any as S.Schema<PutDispatchNamespaceScriptBindingSecretKeyUsagesList>;
|
|
11942
|
+
|
|
11943
|
+
export type PutDispatchNamespaceScriptBindingSecretKeyType = "secret_key";
|
|
11944
|
+
export const PutDispatchNamespaceScriptBindingSecretKeyType = S.String;
|
|
11945
|
+
|
|
11946
|
+
export interface PutDispatchNamespaceScriptBindingSecretKey {
|
|
11947
|
+
algorithm: unknown;
|
|
11948
|
+
format: PutDispatchNamespaceScriptBindingSecretKeyFormat | (string & {});
|
|
11949
|
+
name: string;
|
|
11950
|
+
usages: PutDispatchNamespaceScriptBindingSecretKeyUsagesList;
|
|
11951
|
+
keyBase64?: string;
|
|
11952
|
+
keyJwk?: unknown;
|
|
11953
|
+
type: PutDispatchNamespaceScriptBindingSecretKeyType;
|
|
11954
|
+
}
|
|
11955
|
+
export const PutDispatchNamespaceScriptBindingSecretKey =
|
|
11956
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11957
|
+
S.Struct({
|
|
11958
|
+
algorithm: S.Unknown,
|
|
11959
|
+
format: PutDispatchNamespaceScriptBindingSecretKeyFormat,
|
|
11960
|
+
name: S.String,
|
|
11961
|
+
usages: PutDispatchNamespaceScriptBindingSecretKeyUsagesList,
|
|
11962
|
+
keyBase64: S.optional(S.String.pipe(T.Body("key_base64"))),
|
|
11963
|
+
keyJwk: S.optional(S.Unknown.pipe(T.Body("key_jwk"))),
|
|
11964
|
+
type: PutDispatchNamespaceScriptBindingSecretKeyType,
|
|
11965
|
+
}),
|
|
11966
|
+
).annotate({
|
|
11967
|
+
identifier: "PutDispatchNamespaceScriptBindingSecretKey",
|
|
11968
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingSecretKey>;
|
|
11969
|
+
|
|
11970
|
+
export type PutDispatchNamespaceScriptBindingWorkflowType = "workflow";
|
|
11971
|
+
export const PutDispatchNamespaceScriptBindingWorkflowType = S.String;
|
|
11972
|
+
|
|
11973
|
+
export interface PutDispatchNamespaceScriptBindingWorkflow {
|
|
11974
|
+
name: string;
|
|
11975
|
+
workflowName: string;
|
|
11976
|
+
className: string;
|
|
11977
|
+
scriptName?: string;
|
|
11978
|
+
type: PutDispatchNamespaceScriptBindingWorkflowType;
|
|
11979
|
+
}
|
|
11980
|
+
export const PutDispatchNamespaceScriptBindingWorkflow =
|
|
11981
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
11982
|
+
S.Struct({
|
|
11983
|
+
name: S.String,
|
|
11984
|
+
workflowName: S.String.pipe(T.Body("workflow_name")),
|
|
11985
|
+
className: S.String.pipe(T.Body("class_name")),
|
|
11986
|
+
scriptName: S.optional(S.String.pipe(T.Body("script_name"))),
|
|
11987
|
+
type: PutDispatchNamespaceScriptBindingWorkflowType,
|
|
11988
|
+
}),
|
|
11989
|
+
).annotate({
|
|
11990
|
+
identifier: "PutDispatchNamespaceScriptBindingWorkflow",
|
|
11991
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingWorkflow>;
|
|
11992
|
+
|
|
11993
|
+
export type PutDispatchNamespaceScriptBindingWasmModuleType = "wasm_module";
|
|
11994
|
+
export const PutDispatchNamespaceScriptBindingWasmModuleType = S.String;
|
|
11995
|
+
|
|
11996
|
+
export interface PutDispatchNamespaceScriptBindingWasmModule {
|
|
11997
|
+
name: string;
|
|
11998
|
+
part: string;
|
|
11999
|
+
type: PutDispatchNamespaceScriptBindingWasmModuleType;
|
|
12000
|
+
}
|
|
12001
|
+
export const PutDispatchNamespaceScriptBindingWasmModule =
|
|
12002
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12003
|
+
S.Struct({
|
|
12004
|
+
name: S.String,
|
|
12005
|
+
part: S.String,
|
|
12006
|
+
type: PutDispatchNamespaceScriptBindingWasmModuleType,
|
|
12007
|
+
}),
|
|
12008
|
+
).annotate({
|
|
12009
|
+
identifier: "PutDispatchNamespaceScriptBindingWasmModule",
|
|
12010
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingWasmModule>;
|
|
12011
|
+
|
|
12012
|
+
export type PutDispatchNamespaceScriptBindingVpcServiceType = "vpc_service";
|
|
12013
|
+
export const PutDispatchNamespaceScriptBindingVpcServiceType = S.String;
|
|
12014
|
+
|
|
12015
|
+
export interface PutDispatchNamespaceScriptBindingVpcService {
|
|
12016
|
+
name: string;
|
|
12017
|
+
serviceId: string;
|
|
12018
|
+
type: PutDispatchNamespaceScriptBindingVpcServiceType;
|
|
12019
|
+
}
|
|
12020
|
+
export const PutDispatchNamespaceScriptBindingVpcService =
|
|
12021
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12022
|
+
S.Struct({
|
|
12023
|
+
name: S.String,
|
|
12024
|
+
serviceId: S.String.pipe(T.Body("service_id")),
|
|
12025
|
+
type: PutDispatchNamespaceScriptBindingVpcServiceType,
|
|
12026
|
+
}),
|
|
12027
|
+
).annotate({
|
|
12028
|
+
identifier: "PutDispatchNamespaceScriptBindingVpcService",
|
|
12029
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingVpcService>;
|
|
12030
|
+
|
|
12031
|
+
export type PutDispatchNamespaceScriptBindingVpcNetworkType = "vpc_network";
|
|
12032
|
+
export const PutDispatchNamespaceScriptBindingVpcNetworkType = S.String;
|
|
12033
|
+
|
|
12034
|
+
export interface PutDispatchNamespaceScriptBindingVpcNetwork {
|
|
12035
|
+
name: string;
|
|
12036
|
+
networkId?: string;
|
|
12037
|
+
tunnelId?: string;
|
|
12038
|
+
type: PutDispatchNamespaceScriptBindingVpcNetworkType;
|
|
12039
|
+
}
|
|
12040
|
+
export const PutDispatchNamespaceScriptBindingVpcNetwork =
|
|
12041
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12042
|
+
S.Struct({
|
|
12043
|
+
name: S.String,
|
|
12044
|
+
networkId: S.optional(S.String.pipe(T.Body("network_id"))),
|
|
12045
|
+
tunnelId: S.optional(S.String.pipe(T.Body("tunnel_id"))),
|
|
12046
|
+
type: PutDispatchNamespaceScriptBindingVpcNetworkType,
|
|
12047
|
+
}),
|
|
12048
|
+
).annotate({
|
|
12049
|
+
identifier: "PutDispatchNamespaceScriptBindingVpcNetwork",
|
|
12050
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingVpcNetwork>;
|
|
12051
|
+
|
|
12052
|
+
export type PutDispatchNamespaceScriptBindingWorkerLoaderType = "worker_loader";
|
|
12053
|
+
export const PutDispatchNamespaceScriptBindingWorkerLoaderType = S.String;
|
|
12054
|
+
|
|
12055
|
+
export interface PutDispatchNamespaceScriptBindingWorkerLoader {
|
|
12056
|
+
name: string;
|
|
12057
|
+
type: PutDispatchNamespaceScriptBindingWorkerLoaderType;
|
|
12058
|
+
}
|
|
12059
|
+
export const PutDispatchNamespaceScriptBindingWorkerLoader =
|
|
12060
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12061
|
+
S.Struct({
|
|
12062
|
+
name: S.String,
|
|
12063
|
+
type: PutDispatchNamespaceScriptBindingWorkerLoaderType,
|
|
12064
|
+
}),
|
|
12065
|
+
).annotate({
|
|
12066
|
+
identifier: "PutDispatchNamespaceScriptBindingWorkerLoader",
|
|
12067
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingWorkerLoader>;
|
|
12068
|
+
|
|
12069
|
+
export type PutDispatchNamespaceScriptBindingArtifactsType = "artifacts";
|
|
12070
|
+
export const PutDispatchNamespaceScriptBindingArtifactsType = S.String;
|
|
12071
|
+
|
|
12072
|
+
export interface PutDispatchNamespaceScriptBindingArtifacts {
|
|
12073
|
+
name: string;
|
|
12074
|
+
namespace: string;
|
|
12075
|
+
type: PutDispatchNamespaceScriptBindingArtifactsType;
|
|
12076
|
+
}
|
|
12077
|
+
export const PutDispatchNamespaceScriptBindingArtifacts =
|
|
12078
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12079
|
+
S.Struct({
|
|
12080
|
+
name: S.String,
|
|
12081
|
+
namespace: S.String,
|
|
12082
|
+
type: PutDispatchNamespaceScriptBindingArtifactsType,
|
|
12083
|
+
}),
|
|
12084
|
+
).annotate({
|
|
12085
|
+
identifier: "PutDispatchNamespaceScriptBindingArtifacts",
|
|
12086
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingArtifacts>;
|
|
12087
|
+
|
|
12088
|
+
export type PutDispatchNamespaceScriptBindingStreamType = "stream";
|
|
12089
|
+
export const PutDispatchNamespaceScriptBindingStreamType = S.String;
|
|
12090
|
+
|
|
12091
|
+
export interface PutDispatchNamespaceScriptBindingStream {
|
|
12092
|
+
name: string;
|
|
12093
|
+
type: PutDispatchNamespaceScriptBindingStreamType;
|
|
12094
|
+
}
|
|
12095
|
+
export const PutDispatchNamespaceScriptBindingStream = /*@__PURE__*/ S.suspend(
|
|
12096
|
+
() =>
|
|
12097
|
+
S.Struct({
|
|
12098
|
+
name: S.String,
|
|
12099
|
+
type: PutDispatchNamespaceScriptBindingStreamType,
|
|
12100
|
+
}),
|
|
12101
|
+
).annotate({
|
|
12102
|
+
identifier: "PutDispatchNamespaceScriptBindingStream",
|
|
12103
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptBindingStream>;
|
|
12104
|
+
|
|
12105
|
+
export type PutDispatchNamespaceScriptBinding =
|
|
12106
|
+
| PutDispatchNamespaceScriptBindingAi
|
|
12107
|
+
| PutDispatchNamespaceScriptBindingAiSearch
|
|
12108
|
+
| PutDispatchNamespaceScriptBindingAiSearchNamespace
|
|
12109
|
+
| PutDispatchNamespaceScriptBindingAnalyticsEngine
|
|
12110
|
+
| PutDispatchNamespaceScriptBindingAssets
|
|
12111
|
+
| PutDispatchNamespaceScriptBindingBrowser
|
|
12112
|
+
| PutDispatchNamespaceScriptBindingD1
|
|
12113
|
+
| PutDispatchNamespaceScriptBindingDataBlob
|
|
12114
|
+
| PutDispatchNamespaceScriptBindingDispatchNamespace
|
|
12115
|
+
| PutDispatchNamespaceScriptBindingDurableObjectNamespace
|
|
12116
|
+
| PutDispatchNamespaceScriptBindingHyperdrive
|
|
12117
|
+
| PutDispatchNamespaceScriptBindingInherit
|
|
12118
|
+
| PutDispatchNamespaceScriptBindingImages
|
|
12119
|
+
| PutDispatchNamespaceScriptBindingJson
|
|
12120
|
+
| PutDispatchNamespaceScriptBindingKvNamespace
|
|
12121
|
+
| PutDispatchNamespaceScriptBindingMedia
|
|
12122
|
+
| PutDispatchNamespaceScriptBindingMtlsCertificate
|
|
12123
|
+
| PutDispatchNamespaceScriptBindingPlainText
|
|
12124
|
+
| PutDispatchNamespaceScriptBindingPipelines
|
|
12125
|
+
| PutDispatchNamespaceScriptBindingQueue
|
|
12126
|
+
| PutDispatchNamespaceScriptBindingRatelimit
|
|
12127
|
+
| PutDispatchNamespaceScriptBindingR2Bucket
|
|
12128
|
+
| PutDispatchNamespaceScriptBindingSecretText
|
|
12129
|
+
| PutDispatchNamespaceScriptBindingSendEmail
|
|
12130
|
+
| PutDispatchNamespaceScriptBindingService
|
|
12131
|
+
| PutDispatchNamespaceScriptBindingTextBlob
|
|
12132
|
+
| PutDispatchNamespaceScriptBindingVectorize
|
|
12133
|
+
| PutDispatchNamespaceScriptBindingVersionMetadata
|
|
12134
|
+
| PutDispatchNamespaceScriptBindingSecretsStoreSecret
|
|
12135
|
+
| PutDispatchNamespaceScriptBindingFlagship
|
|
12136
|
+
| PutDispatchNamespaceScriptBindingSecretKey
|
|
12137
|
+
| PutDispatchNamespaceScriptBindingWorkflow
|
|
12138
|
+
| PutDispatchNamespaceScriptBindingWasmModule
|
|
12139
|
+
| PutDispatchNamespaceScriptBindingVpcService
|
|
12140
|
+
| PutDispatchNamespaceScriptBindingVpcNetwork
|
|
12141
|
+
| PutDispatchNamespaceScriptBindingWorkerLoader
|
|
12142
|
+
| PutDispatchNamespaceScriptBindingArtifacts
|
|
12143
|
+
| PutDispatchNamespaceScriptBindingStream;
|
|
12144
|
+
export const PutDispatchNamespaceScriptBinding = /*@__PURE__*/ S.Unknown.pipe(
|
|
12145
|
+
T.UnionCases(
|
|
12146
|
+
[
|
|
12147
|
+
["name", "type"],
|
|
12148
|
+
["instanceName", "name", "namespace", "type"],
|
|
12149
|
+
["name", "namespace", "type"],
|
|
12150
|
+
["dataset", "name", "type"],
|
|
12151
|
+
["name", "type"],
|
|
12152
|
+
["name", "type"],
|
|
12153
|
+
["databaseId", "name", "id", "type"],
|
|
12154
|
+
["name", "part", "type"],
|
|
12155
|
+
["name", "namespace", "outbound", "type"],
|
|
12156
|
+
[
|
|
12157
|
+
"name",
|
|
12158
|
+
"className",
|
|
12159
|
+
"dispatchNamespace",
|
|
12160
|
+
"environment",
|
|
12161
|
+
"namespaceId",
|
|
12162
|
+
"scriptName",
|
|
12163
|
+
"type",
|
|
12164
|
+
],
|
|
12165
|
+
["id", "name", "type"],
|
|
12166
|
+
["name", "oldName", "versionId", "type"],
|
|
12167
|
+
["name", "type"],
|
|
12168
|
+
["json", "name", "type"],
|
|
12169
|
+
["name", "namespaceId", "type"],
|
|
12170
|
+
["name", "type"],
|
|
12171
|
+
["certificateId", "name", "type"],
|
|
12172
|
+
["name", "text", "type"],
|
|
12173
|
+
["name", "pipeline", "type"],
|
|
12174
|
+
["name", "queueName", "type"],
|
|
12175
|
+
["name", "namespaceId", "simple", "type"],
|
|
12176
|
+
["bucketName", "name", "jurisdiction", "type"],
|
|
12177
|
+
["name", "text", "type"],
|
|
12178
|
+
[
|
|
12179
|
+
"name",
|
|
12180
|
+
"allowedDestinationAddresses",
|
|
12181
|
+
"allowedSenderAddresses",
|
|
12182
|
+
"destinationAddress",
|
|
12183
|
+
"type",
|
|
12184
|
+
],
|
|
12185
|
+
["name", "service", "entrypoint", "environment", "type"],
|
|
12186
|
+
["name", "part", "type"],
|
|
12187
|
+
["indexName", "name", "type"],
|
|
12188
|
+
["name", "type"],
|
|
12189
|
+
["name", "secretName", "storeId", "type"],
|
|
12190
|
+
["appId", "name", "type"],
|
|
12191
|
+
["algorithm", "format", "name", "usages", "keyBase64", "keyJwk", "type"],
|
|
12192
|
+
["name", "workflowName", "className", "scriptName", "type"],
|
|
12193
|
+
["name", "part", "type"],
|
|
12194
|
+
["name", "serviceId", "type"],
|
|
12195
|
+
["name", "networkId", "tunnelId", "type"],
|
|
12196
|
+
["name", "type"],
|
|
12197
|
+
["name", "namespace", "type"],
|
|
12198
|
+
["name", "type"],
|
|
12199
|
+
],
|
|
12200
|
+
{
|
|
12201
|
+
key: "type",
|
|
12202
|
+
values: [
|
|
12203
|
+
"ai",
|
|
12204
|
+
"ai_search",
|
|
12205
|
+
"ai_search_namespace",
|
|
12206
|
+
"analytics_engine",
|
|
12207
|
+
"assets",
|
|
12208
|
+
"browser",
|
|
12209
|
+
"d1",
|
|
12210
|
+
"data_blob",
|
|
12211
|
+
"dispatch_namespace",
|
|
12212
|
+
"durable_object_namespace",
|
|
12213
|
+
"hyperdrive",
|
|
12214
|
+
"inherit",
|
|
12215
|
+
"images",
|
|
12216
|
+
"json",
|
|
12217
|
+
"kv_namespace",
|
|
12218
|
+
"media",
|
|
12219
|
+
"mtls_certificate",
|
|
12220
|
+
"plain_text",
|
|
12221
|
+
"pipelines",
|
|
12222
|
+
"queue",
|
|
12223
|
+
"ratelimit",
|
|
12224
|
+
"r2_bucket",
|
|
12225
|
+
"secret_text",
|
|
12226
|
+
"send_email",
|
|
12227
|
+
"service",
|
|
12228
|
+
"text_blob",
|
|
12229
|
+
"vectorize",
|
|
12230
|
+
"version_metadata",
|
|
12231
|
+
"secrets_store_secret",
|
|
12232
|
+
"flagship",
|
|
12233
|
+
"secret_key",
|
|
12234
|
+
"workflow",
|
|
12235
|
+
"wasm_module",
|
|
12236
|
+
"vpc_service",
|
|
12237
|
+
"vpc_network",
|
|
12238
|
+
"worker_loader",
|
|
12239
|
+
"artifacts",
|
|
12240
|
+
"stream",
|
|
12241
|
+
],
|
|
12242
|
+
},
|
|
12243
|
+
),
|
|
12244
|
+
);
|
|
12245
|
+
|
|
12246
|
+
export type PutDispatchNamespaceScriptMetadataBindingsList =
|
|
12247
|
+
Array<PutDispatchNamespaceScriptBinding>;
|
|
12248
|
+
export const PutDispatchNamespaceScriptMetadataBindingsList =
|
|
12249
|
+
/*@__PURE__*/ S.Array(
|
|
12250
|
+
PutDispatchNamespaceScriptBinding,
|
|
12251
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMetadataBindingsList>;
|
|
12252
|
+
|
|
12253
|
+
export interface PutDispatchNamespaceScriptContainer {
|
|
12254
|
+
className: string;
|
|
12255
|
+
}
|
|
12256
|
+
export const PutDispatchNamespaceScriptContainer = /*@__PURE__*/ S.suspend(() =>
|
|
12257
|
+
S.Struct({
|
|
12258
|
+
className: S.String.pipe(T.Body("class_name")),
|
|
12259
|
+
}),
|
|
12260
|
+
).annotate({
|
|
12261
|
+
identifier: "PutDispatchNamespaceScriptContainer",
|
|
12262
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptContainer>;
|
|
12263
|
+
|
|
12264
|
+
export type PutDispatchNamespaceScriptMetadataContainersList =
|
|
12265
|
+
Array<PutDispatchNamespaceScriptContainer>;
|
|
12266
|
+
export const PutDispatchNamespaceScriptMetadataContainersList =
|
|
12267
|
+
/*@__PURE__*/ S.Array(
|
|
12268
|
+
PutDispatchNamespaceScriptContainer,
|
|
12269
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMetadataContainersList>;
|
|
12270
|
+
|
|
12271
|
+
export interface PutDispatchNamespaceScriptMetadataLimits {
|
|
12272
|
+
cpuMs?: number;
|
|
12273
|
+
subrequests?: number;
|
|
12274
|
+
}
|
|
12275
|
+
export const PutDispatchNamespaceScriptMetadataLimits = /*@__PURE__*/ S.suspend(
|
|
12276
|
+
() =>
|
|
12277
|
+
S.Struct({
|
|
12278
|
+
cpuMs: S.optional(S.Number.pipe(T.Body("cpu_ms"))),
|
|
12279
|
+
subrequests: S.optional(S.Number),
|
|
12280
|
+
}),
|
|
12281
|
+
).annotate({
|
|
12282
|
+
identifier: "PutDispatchNamespaceScriptMetadataLimits",
|
|
12283
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMetadataLimits>;
|
|
12284
|
+
|
|
12285
|
+
export type PutDispatchNamespaceScriptMigrationRenamedClass =
|
|
12286
|
+
DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationRenamedClassesItem;
|
|
12287
|
+
export const PutDispatchNamespaceScriptMigrationRenamedClass =
|
|
12288
|
+
DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationRenamedClassesItem;
|
|
12289
|
+
|
|
12290
|
+
export type PutDispatchNamespaceScriptMigrationRenamedClassesList =
|
|
12291
|
+
Array<DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationRenamedClassesItem>;
|
|
12292
|
+
export const PutDispatchNamespaceScriptMigrationRenamedClassesList =
|
|
12293
|
+
/*@__PURE__*/ S.Array(
|
|
12294
|
+
DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationRenamedClassesItem,
|
|
12295
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMigrationRenamedClassesList>;
|
|
12296
|
+
|
|
12297
|
+
export type PutDispatchNamespaceScriptMigrationTransferredClass =
|
|
12298
|
+
DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationTransferredClassesItem;
|
|
12299
|
+
export const PutDispatchNamespaceScriptMigrationTransferredClass =
|
|
12300
|
+
DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationTransferredClassesItem;
|
|
12301
|
+
|
|
12302
|
+
export type PutDispatchNamespaceScriptMigrationTransferredClassesList =
|
|
12303
|
+
Array<DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationTransferredClassesItem>;
|
|
12304
|
+
export const PutDispatchNamespaceScriptMigrationTransferredClassesList =
|
|
12305
|
+
/*@__PURE__*/ S.Array(
|
|
12306
|
+
DispatchNamespacesScriptsSettingsEditRequestSettingsMigrationsSingleStepMigrationTransferredClassesItem,
|
|
12307
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMigrationTransferredClassesList>;
|
|
12308
|
+
|
|
12309
|
+
export interface PutDispatchNamespaceScriptSingleStepMigration {
|
|
12310
|
+
deletedClasses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12311
|
+
newClasses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12312
|
+
newSqliteClasses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12313
|
+
newTag?: string;
|
|
12314
|
+
oldTag?: string;
|
|
12315
|
+
renamedClasses?: PutDispatchNamespaceScriptMigrationRenamedClassesList;
|
|
12316
|
+
transferredClasses?: PutDispatchNamespaceScriptMigrationTransferredClassesList;
|
|
12317
|
+
}
|
|
12318
|
+
export const PutDispatchNamespaceScriptSingleStepMigration =
|
|
12319
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12320
|
+
S.Struct({
|
|
12321
|
+
deletedClasses: S.optional(
|
|
12322
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
12323
|
+
T.Body("deleted_classes"),
|
|
12324
|
+
),
|
|
12325
|
+
),
|
|
12326
|
+
newClasses: S.optional(
|
|
12327
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
12328
|
+
T.Body("new_classes"),
|
|
12329
|
+
),
|
|
12330
|
+
),
|
|
12331
|
+
newSqliteClasses: S.optional(
|
|
12332
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
12333
|
+
T.Body("new_sqlite_classes"),
|
|
12334
|
+
),
|
|
12335
|
+
),
|
|
12336
|
+
newTag: S.optional(S.String.pipe(T.Body("new_tag"))),
|
|
12337
|
+
oldTag: S.optional(S.String.pipe(T.Body("old_tag"))),
|
|
12338
|
+
renamedClasses: S.optional(
|
|
12339
|
+
PutDispatchNamespaceScriptMigrationRenamedClassesList.pipe(
|
|
12340
|
+
T.Body("renamed_classes"),
|
|
12341
|
+
),
|
|
12342
|
+
),
|
|
12343
|
+
transferredClasses: S.optional(
|
|
12344
|
+
PutDispatchNamespaceScriptMigrationTransferredClassesList.pipe(
|
|
12345
|
+
T.Body("transferred_classes"),
|
|
12346
|
+
),
|
|
12347
|
+
),
|
|
12348
|
+
}),
|
|
12349
|
+
).annotate({
|
|
12350
|
+
identifier: "PutDispatchNamespaceScriptSingleStepMigration",
|
|
12351
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptSingleStepMigration>;
|
|
12352
|
+
|
|
12353
|
+
export interface PutDispatchNamespaceScriptMigrationStep {
|
|
12354
|
+
deletedClasses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12355
|
+
newClasses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12356
|
+
newSqliteClasses?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12357
|
+
renamedClasses?: PutDispatchNamespaceScriptMigrationRenamedClassesList;
|
|
12358
|
+
transferredClasses?: PutDispatchNamespaceScriptMigrationTransferredClassesList;
|
|
12359
|
+
}
|
|
12360
|
+
export const PutDispatchNamespaceScriptMigrationStep = /*@__PURE__*/ S.suspend(
|
|
12361
|
+
() =>
|
|
12362
|
+
S.Struct({
|
|
12363
|
+
deletedClasses: S.optional(
|
|
12364
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
12365
|
+
T.Body("deleted_classes"),
|
|
12366
|
+
),
|
|
12367
|
+
),
|
|
12368
|
+
newClasses: S.optional(
|
|
12369
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
12370
|
+
T.Body("new_classes"),
|
|
12371
|
+
),
|
|
12372
|
+
),
|
|
12373
|
+
newSqliteClasses: S.optional(
|
|
12374
|
+
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
12375
|
+
T.Body("new_sqlite_classes"),
|
|
12376
|
+
),
|
|
12377
|
+
),
|
|
12378
|
+
renamedClasses: S.optional(
|
|
12379
|
+
PutDispatchNamespaceScriptMigrationRenamedClassesList.pipe(
|
|
12380
|
+
T.Body("renamed_classes"),
|
|
12381
|
+
),
|
|
12382
|
+
),
|
|
12383
|
+
transferredClasses: S.optional(
|
|
12384
|
+
PutDispatchNamespaceScriptMigrationTransferredClassesList.pipe(
|
|
12385
|
+
T.Body("transferred_classes"),
|
|
12386
|
+
),
|
|
12387
|
+
),
|
|
12388
|
+
}),
|
|
12389
|
+
).annotate({
|
|
12390
|
+
identifier: "PutDispatchNamespaceScriptMigrationStep",
|
|
12391
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMigrationStep>;
|
|
12392
|
+
|
|
12393
|
+
export type PutDispatchNamespaceScriptMigrationStepsList =
|
|
12394
|
+
Array<PutDispatchNamespaceScriptMigrationStep>;
|
|
12395
|
+
export const PutDispatchNamespaceScriptMigrationStepsList =
|
|
12396
|
+
/*@__PURE__*/ S.Array(
|
|
12397
|
+
PutDispatchNamespaceScriptMigrationStep,
|
|
12398
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMigrationStepsList>;
|
|
12399
|
+
|
|
12400
|
+
export interface PutDispatchNamespaceScriptMultipleStepMigrations {
|
|
12401
|
+
newTag?: string;
|
|
12402
|
+
oldTag?: string;
|
|
12403
|
+
steps?: PutDispatchNamespaceScriptMigrationStepsList;
|
|
12404
|
+
}
|
|
12405
|
+
export const PutDispatchNamespaceScriptMultipleStepMigrations =
|
|
12406
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12407
|
+
S.Struct({
|
|
12408
|
+
newTag: S.optional(S.String.pipe(T.Body("new_tag"))),
|
|
12409
|
+
oldTag: S.optional(S.String.pipe(T.Body("old_tag"))),
|
|
12410
|
+
steps: S.optional(PutDispatchNamespaceScriptMigrationStepsList),
|
|
12411
|
+
}),
|
|
12412
|
+
).annotate({
|
|
12413
|
+
identifier: "PutDispatchNamespaceScriptMultipleStepMigrations",
|
|
12414
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMultipleStepMigrations>;
|
|
12415
|
+
|
|
12416
|
+
export type PutDispatchNamespaceScriptMetadataMigrations =
|
|
12417
|
+
| PutDispatchNamespaceScriptSingleStepMigration
|
|
12418
|
+
| PutDispatchNamespaceScriptMultipleStepMigrations;
|
|
12419
|
+
export const PutDispatchNamespaceScriptMetadataMigrations =
|
|
12420
|
+
/*@__PURE__*/ S.Unknown.pipe(
|
|
12421
|
+
T.UnionCases([
|
|
12422
|
+
[
|
|
12423
|
+
"deletedClasses",
|
|
12424
|
+
"newClasses",
|
|
12425
|
+
"newSqliteClasses",
|
|
12426
|
+
"newTag",
|
|
12427
|
+
"oldTag",
|
|
12428
|
+
"renamedClasses",
|
|
12429
|
+
"transferredClasses",
|
|
12430
|
+
],
|
|
12431
|
+
["newTag", "oldTag", "steps"],
|
|
12432
|
+
]),
|
|
12433
|
+
);
|
|
12434
|
+
|
|
12435
|
+
export interface PutDispatchNamespaceScriptObservabilityLogs {
|
|
12436
|
+
enabled: boolean;
|
|
12437
|
+
invocationLogs: boolean;
|
|
12438
|
+
destinations?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12439
|
+
headSamplingRate?: number | null;
|
|
12440
|
+
persist?: boolean;
|
|
12441
|
+
}
|
|
12442
|
+
export const PutDispatchNamespaceScriptObservabilityLogs =
|
|
12443
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12444
|
+
S.Struct({
|
|
12445
|
+
enabled: S.Boolean,
|
|
12446
|
+
invocationLogs: S.Boolean.pipe(T.Body("invocation_logs")),
|
|
12447
|
+
destinations: S.optional(PutDispatchNamespaceScriptMetadataStringList),
|
|
12448
|
+
headSamplingRate: S.optional(
|
|
12449
|
+
S.NullOr(S.Number).pipe(T.Body("head_sampling_rate")),
|
|
12450
|
+
),
|
|
12451
|
+
persist: S.optional(S.Boolean),
|
|
12452
|
+
}),
|
|
12453
|
+
).annotate({
|
|
12454
|
+
identifier: "PutDispatchNamespaceScriptObservabilityLogs",
|
|
12455
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptObservabilityLogs>;
|
|
12456
|
+
|
|
12457
|
+
export type PutDispatchNamespaceScriptObservabilityTracesPropagationPolicy =
|
|
12458
|
+
| "authenticated"
|
|
12459
|
+
| "accept";
|
|
12460
|
+
export const PutDispatchNamespaceScriptObservabilityTracesPropagationPolicy =
|
|
12461
|
+
S.String;
|
|
12462
|
+
|
|
12463
|
+
export interface PutDispatchNamespaceScriptObservabilityTraces {
|
|
12464
|
+
destinations?: PutDispatchNamespaceScriptMetadataStringList;
|
|
12465
|
+
enabled?: boolean;
|
|
12466
|
+
headSamplingRate?: number | null;
|
|
12467
|
+
persist?: boolean;
|
|
12468
|
+
propagationPolicy?:
|
|
12469
|
+
| PutDispatchNamespaceScriptObservabilityTracesPropagationPolicy
|
|
12470
|
+
| (string & {});
|
|
12471
|
+
}
|
|
12472
|
+
export const PutDispatchNamespaceScriptObservabilityTraces =
|
|
12473
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12474
|
+
S.Struct({
|
|
12475
|
+
destinations: S.optional(PutDispatchNamespaceScriptMetadataStringList),
|
|
12476
|
+
enabled: S.optional(S.Boolean),
|
|
12477
|
+
headSamplingRate: S.optional(
|
|
12478
|
+
S.NullOr(S.Number).pipe(T.Body("head_sampling_rate")),
|
|
12479
|
+
),
|
|
12480
|
+
persist: S.optional(S.Boolean),
|
|
12481
|
+
propagationPolicy: S.optional(
|
|
12482
|
+
PutDispatchNamespaceScriptObservabilityTracesPropagationPolicy.pipe(
|
|
12483
|
+
T.Body("propagation_policy"),
|
|
12484
|
+
),
|
|
12485
|
+
),
|
|
12486
|
+
}),
|
|
12487
|
+
).annotate({
|
|
12488
|
+
identifier: "PutDispatchNamespaceScriptObservabilityTraces",
|
|
12489
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptObservabilityTraces>;
|
|
12490
|
+
|
|
12491
|
+
export interface PutDispatchNamespaceScriptMetadataObservability {
|
|
12492
|
+
enabled: boolean;
|
|
12493
|
+
headSamplingRate?: number | null;
|
|
12494
|
+
logs?: PutDispatchNamespaceScriptObservabilityLogs | null;
|
|
12495
|
+
traces?: PutDispatchNamespaceScriptObservabilityTraces | null;
|
|
12496
|
+
}
|
|
12497
|
+
export const PutDispatchNamespaceScriptMetadataObservability =
|
|
12498
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12499
|
+
S.Struct({
|
|
12500
|
+
enabled: S.Boolean,
|
|
12501
|
+
headSamplingRate: S.optional(
|
|
12502
|
+
S.NullOr(S.Number).pipe(T.Body("head_sampling_rate")),
|
|
12503
|
+
),
|
|
12504
|
+
logs: S.optional(S.NullOr(PutDispatchNamespaceScriptObservabilityLogs)),
|
|
12505
|
+
traces: S.optional(
|
|
12506
|
+
S.NullOr(PutDispatchNamespaceScriptObservabilityTraces),
|
|
12507
|
+
),
|
|
12508
|
+
}),
|
|
12509
|
+
).annotate({
|
|
12510
|
+
identifier: "PutDispatchNamespaceScriptMetadataObservability",
|
|
12511
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMetadataObservability>;
|
|
12512
|
+
|
|
12513
|
+
export type PutDispatchNamespaceScriptPlacementSmartMode = "smart";
|
|
12514
|
+
export const PutDispatchNamespaceScriptPlacementSmartMode = S.String;
|
|
12515
|
+
|
|
12516
|
+
export interface PutDispatchNamespaceScriptPlacementSmart {
|
|
12517
|
+
mode: PutDispatchNamespaceScriptPlacementSmartMode;
|
|
12518
|
+
}
|
|
12519
|
+
export const PutDispatchNamespaceScriptPlacementSmart = /*@__PURE__*/ S.suspend(
|
|
12520
|
+
() =>
|
|
12521
|
+
S.Struct({
|
|
12522
|
+
mode: PutDispatchNamespaceScriptPlacementSmartMode,
|
|
12523
|
+
}),
|
|
12524
|
+
).annotate({
|
|
12525
|
+
identifier: "PutDispatchNamespaceScriptPlacementSmart",
|
|
12526
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementSmart>;
|
|
12527
|
+
|
|
12528
|
+
export interface PutDispatchNamespaceScriptPlacementRegion {
|
|
12529
|
+
region: string;
|
|
12530
|
+
}
|
|
12531
|
+
export const PutDispatchNamespaceScriptPlacementRegion =
|
|
12532
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12533
|
+
S.Struct({
|
|
12534
|
+
region: S.String,
|
|
12535
|
+
}),
|
|
12536
|
+
).annotate({
|
|
12537
|
+
identifier: "PutDispatchNamespaceScriptPlacementRegion",
|
|
12538
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementRegion>;
|
|
12539
|
+
|
|
12540
|
+
export interface PutDispatchNamespaceScriptPlacementHostname {
|
|
12541
|
+
hostname: string;
|
|
12542
|
+
}
|
|
12543
|
+
export const PutDispatchNamespaceScriptPlacementHostname =
|
|
12544
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12545
|
+
S.Struct({
|
|
12546
|
+
hostname: S.String,
|
|
12547
|
+
}),
|
|
12548
|
+
).annotate({
|
|
12549
|
+
identifier: "PutDispatchNamespaceScriptPlacementHostname",
|
|
12550
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementHostname>;
|
|
12551
|
+
|
|
12552
|
+
export interface PutDispatchNamespaceScriptPlacementHost {
|
|
12553
|
+
host: string;
|
|
12554
|
+
}
|
|
12555
|
+
export const PutDispatchNamespaceScriptPlacementHost = /*@__PURE__*/ S.suspend(
|
|
12556
|
+
() =>
|
|
12557
|
+
S.Struct({
|
|
12558
|
+
host: S.String,
|
|
12559
|
+
}),
|
|
12560
|
+
).annotate({
|
|
12561
|
+
identifier: "PutDispatchNamespaceScriptPlacementHost",
|
|
12562
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementHost>;
|
|
12563
|
+
|
|
12564
|
+
export type PutDispatchNamespaceScriptPlacementTargetedMode = "targeted";
|
|
12565
|
+
export const PutDispatchNamespaceScriptPlacementTargetedMode = S.String;
|
|
12566
|
+
|
|
12567
|
+
export interface PutDispatchNamespaceScriptPlacementTargetedRegion {
|
|
12568
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode;
|
|
12569
|
+
region: string;
|
|
12570
|
+
}
|
|
12571
|
+
export const PutDispatchNamespaceScriptPlacementTargetedRegion =
|
|
12572
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12573
|
+
S.Struct({
|
|
12574
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode,
|
|
12575
|
+
region: S.String,
|
|
12576
|
+
}),
|
|
12577
|
+
).annotate({
|
|
12578
|
+
identifier: "PutDispatchNamespaceScriptPlacementTargetedRegion",
|
|
12579
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementTargetedRegion>;
|
|
12580
|
+
|
|
12581
|
+
export interface PutDispatchNamespaceScriptPlacementTargetedHostname {
|
|
12582
|
+
hostname: string;
|
|
12583
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode;
|
|
12584
|
+
}
|
|
12585
|
+
export const PutDispatchNamespaceScriptPlacementTargetedHostname =
|
|
12586
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12587
|
+
S.Struct({
|
|
12588
|
+
hostname: S.String,
|
|
12589
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode,
|
|
12590
|
+
}),
|
|
12591
|
+
).annotate({
|
|
12592
|
+
identifier: "PutDispatchNamespaceScriptPlacementTargetedHostname",
|
|
12593
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementTargetedHostname>;
|
|
12594
|
+
|
|
12595
|
+
export interface PutDispatchNamespaceScriptPlacementTargetedHost {
|
|
12596
|
+
host: string;
|
|
12597
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode;
|
|
12598
|
+
}
|
|
12599
|
+
export const PutDispatchNamespaceScriptPlacementTargetedHost =
|
|
12600
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12601
|
+
S.Struct({
|
|
12602
|
+
host: S.String,
|
|
12603
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode,
|
|
12604
|
+
}),
|
|
12605
|
+
).annotate({
|
|
12606
|
+
identifier: "PutDispatchNamespaceScriptPlacementTargetedHost",
|
|
12607
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementTargetedHost>;
|
|
12608
|
+
|
|
12609
|
+
export type PutDispatchNamespaceScriptPlacementTargetRegion =
|
|
12610
|
+
PutDispatchNamespaceScriptPlacementRegion;
|
|
12611
|
+
export const PutDispatchNamespaceScriptPlacementTargetRegion =
|
|
12612
|
+
PutDispatchNamespaceScriptPlacementRegion;
|
|
12613
|
+
|
|
12614
|
+
export type PutDispatchNamespaceScriptPlacementTargetHostname =
|
|
12615
|
+
PutDispatchNamespaceScriptPlacementHostname;
|
|
12616
|
+
export const PutDispatchNamespaceScriptPlacementTargetHostname =
|
|
12617
|
+
PutDispatchNamespaceScriptPlacementHostname;
|
|
12618
|
+
|
|
12619
|
+
export type PutDispatchNamespaceScriptPlacementTargetHost =
|
|
12620
|
+
PutDispatchNamespaceScriptPlacementHost;
|
|
12621
|
+
export const PutDispatchNamespaceScriptPlacementTargetHost =
|
|
12622
|
+
PutDispatchNamespaceScriptPlacementHost;
|
|
12623
|
+
|
|
12624
|
+
export type PutDispatchNamespaceScriptPlacementTarget =
|
|
12625
|
+
| PutDispatchNamespaceScriptPlacementRegion
|
|
12626
|
+
| PutDispatchNamespaceScriptPlacementHostname
|
|
12627
|
+
| PutDispatchNamespaceScriptPlacementHost;
|
|
12628
|
+
export const PutDispatchNamespaceScriptPlacementTarget =
|
|
12629
|
+
/*@__PURE__*/ S.Unknown.pipe(
|
|
12630
|
+
T.UnionCases([["region"], ["hostname"], ["host"]]),
|
|
12631
|
+
);
|
|
12632
|
+
|
|
12633
|
+
export type PutDispatchNamespaceScriptPlacementTargetsList =
|
|
12634
|
+
Array<PutDispatchNamespaceScriptPlacementTarget>;
|
|
12635
|
+
export const PutDispatchNamespaceScriptPlacementTargetsList =
|
|
12636
|
+
/*@__PURE__*/ S.Array(
|
|
12637
|
+
PutDispatchNamespaceScriptPlacementTarget,
|
|
12638
|
+
) as any as S.Schema<PutDispatchNamespaceScriptPlacementTargetsList>;
|
|
12639
|
+
|
|
12640
|
+
export interface PutDispatchNamespaceScriptPlacementTargetedList {
|
|
12641
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode;
|
|
12642
|
+
target: PutDispatchNamespaceScriptPlacementTargetsList;
|
|
12643
|
+
}
|
|
12644
|
+
export const PutDispatchNamespaceScriptPlacementTargetedList =
|
|
12645
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
12646
|
+
S.Struct({
|
|
12647
|
+
mode: PutDispatchNamespaceScriptPlacementTargetedMode,
|
|
12648
|
+
target: PutDispatchNamespaceScriptPlacementTargetsList,
|
|
12649
|
+
}),
|
|
12650
|
+
).annotate({
|
|
12651
|
+
identifier: "PutDispatchNamespaceScriptPlacementTargetedList",
|
|
12652
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptPlacementTargetedList>;
|
|
12653
|
+
|
|
12654
|
+
export type PutDispatchNamespaceScriptMetadataPlacement =
|
|
12655
|
+
| PutDispatchNamespaceScriptPlacementSmart
|
|
12656
|
+
| PutDispatchNamespaceScriptPlacementRegion
|
|
12657
|
+
| PutDispatchNamespaceScriptPlacementHostname
|
|
12658
|
+
| PutDispatchNamespaceScriptPlacementHost
|
|
12659
|
+
| PutDispatchNamespaceScriptPlacementTargetedRegion
|
|
12660
|
+
| PutDispatchNamespaceScriptPlacementTargetedHostname
|
|
12661
|
+
| PutDispatchNamespaceScriptPlacementTargetedHost
|
|
12662
|
+
| PutDispatchNamespaceScriptPlacementTargetedList;
|
|
12663
|
+
export const PutDispatchNamespaceScriptMetadataPlacement =
|
|
12664
|
+
/*@__PURE__*/ S.Unknown.pipe(
|
|
12665
|
+
T.UnionCases([
|
|
12666
|
+
["mode"],
|
|
12667
|
+
["region"],
|
|
12668
|
+
["hostname"],
|
|
12669
|
+
["host"],
|
|
12670
|
+
["mode", "region"],
|
|
12671
|
+
["hostname", "mode"],
|
|
12672
|
+
["host", "mode"],
|
|
12673
|
+
["mode", "target"],
|
|
12674
|
+
]),
|
|
12675
|
+
);
|
|
12676
|
+
|
|
12677
|
+
export interface PutDispatchNamespaceScriptTailConsumer {
|
|
12678
|
+
service: string;
|
|
12679
|
+
environment?: string;
|
|
12680
|
+
namespace?: string;
|
|
12681
|
+
}
|
|
12682
|
+
export const PutDispatchNamespaceScriptTailConsumer = /*@__PURE__*/ S.suspend(
|
|
12683
|
+
() =>
|
|
12684
|
+
S.Struct({
|
|
12685
|
+
service: S.String,
|
|
12686
|
+
environment: S.optional(S.String),
|
|
12687
|
+
namespace: S.optional(S.String),
|
|
12688
|
+
}),
|
|
12689
|
+
).annotate({
|
|
12690
|
+
identifier: "PutDispatchNamespaceScriptTailConsumer",
|
|
12691
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptTailConsumer>;
|
|
12692
|
+
|
|
12693
|
+
export type PutDispatchNamespaceScriptMetadataTailConsumersList =
|
|
12694
|
+
Array<PutDispatchNamespaceScriptTailConsumer>;
|
|
12695
|
+
export const PutDispatchNamespaceScriptMetadataTailConsumersList =
|
|
12696
|
+
/*@__PURE__*/ S.Array(
|
|
12697
|
+
PutDispatchNamespaceScriptTailConsumer,
|
|
12698
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMetadataTailConsumersList>;
|
|
12699
|
+
|
|
12700
|
+
export type PutDispatchNamespaceScriptMetadataUsageModel =
|
|
12701
|
+
| "standard"
|
|
12702
|
+
| "bundled"
|
|
12703
|
+
| "unbound";
|
|
12704
|
+
export const PutDispatchNamespaceScriptMetadataUsageModel = S.String;
|
|
12705
|
+
|
|
12706
|
+
export interface PutDispatchNamespaceScriptMetadataCache {
|
|
12707
|
+
enabled?: boolean;
|
|
12708
|
+
crossVersionCache?: boolean;
|
|
12709
|
+
}
|
|
12710
|
+
export const PutDispatchNamespaceScriptMetadataCache = /*@__PURE__*/ S.suspend(
|
|
12711
|
+
() =>
|
|
12712
|
+
S.Struct({
|
|
12713
|
+
enabled: S.optional(S.Boolean),
|
|
12714
|
+
crossVersionCache: S.optional(
|
|
12715
|
+
S.Boolean.pipe(T.Body("cross_version_cache")),
|
|
12716
|
+
),
|
|
12717
|
+
}),
|
|
12718
|
+
).annotate({
|
|
12719
|
+
identifier: "PutDispatchNamespaceScriptMetadataCache",
|
|
12720
|
+
}) as any as S.Schema<PutDispatchNamespaceScriptMetadataCache>;
|
|
12721
|
+
|
|
12722
|
+
export type PutDispatchNamespaceScriptMetadataStreamingTailConsumersList =
|
|
12723
|
+
Array<PutDispatchNamespaceScriptTailConsumer>;
|
|
12724
|
+
export const PutDispatchNamespaceScriptMetadataStreamingTailConsumersList =
|
|
12725
|
+
/*@__PURE__*/ S.Array(
|
|
12726
|
+
PutDispatchNamespaceScriptTailConsumer,
|
|
12727
|
+
) as any as S.Schema<PutDispatchNamespaceScriptMetadataStreamingTailConsumersList>;
|
|
11137
12728
|
|
|
11138
|
-
/** JSON-encoded metadata about the uploaded parts and Worker configuration. See https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/. */
|
|
11139
12729
|
export interface PutDispatchNamespaceScriptMetadata {
|
|
11140
|
-
annotations?:
|
|
11141
|
-
assets?:
|
|
11142
|
-
bindings?:
|
|
12730
|
+
annotations?: PutDispatchNamespaceScriptMetadataAnnotations;
|
|
12731
|
+
assets?: PutDispatchNamespaceScriptMetadataAssets;
|
|
12732
|
+
bindings?: PutDispatchNamespaceScriptMetadataBindingsList;
|
|
11143
12733
|
bodyPart?: string;
|
|
11144
|
-
cache?: unknown;
|
|
11145
12734
|
compatibilityDate?: string;
|
|
11146
12735
|
compatibilityFlags?: PutDispatchNamespaceScriptMetadataStringList;
|
|
11147
|
-
containers?:
|
|
12736
|
+
containers?: PutDispatchNamespaceScriptMetadataContainersList;
|
|
11148
12737
|
keepAssets?: boolean;
|
|
11149
12738
|
keepBindings?: PutDispatchNamespaceScriptMetadataStringList;
|
|
11150
|
-
limits?:
|
|
12739
|
+
limits?: PutDispatchNamespaceScriptMetadataLimits;
|
|
11151
12740
|
logpush?: boolean;
|
|
11152
12741
|
mainModule?: string;
|
|
11153
|
-
migrations?:
|
|
11154
|
-
observability?:
|
|
11155
|
-
placement?:
|
|
12742
|
+
migrations?: PutDispatchNamespaceScriptMetadataMigrations;
|
|
12743
|
+
observability?: PutDispatchNamespaceScriptMetadataObservability;
|
|
12744
|
+
placement?: PutDispatchNamespaceScriptMetadataPlacement;
|
|
11156
12745
|
tags?: PutDispatchNamespaceScriptMetadataStringList;
|
|
11157
|
-
tailConsumers?:
|
|
11158
|
-
usageModel?: string;
|
|
12746
|
+
tailConsumers?: PutDispatchNamespaceScriptMetadataTailConsumersList | null;
|
|
12747
|
+
usageModel?: PutDispatchNamespaceScriptMetadataUsageModel | (string & {});
|
|
12748
|
+
cacheOptions?: PutDispatchNamespaceScriptMetadataCache;
|
|
12749
|
+
streamingTailConsumers?: PutDispatchNamespaceScriptMetadataStreamingTailConsumersList | null;
|
|
11159
12750
|
}
|
|
11160
12751
|
export const PutDispatchNamespaceScriptMetadata = /*@__PURE__*/ S.suspend(() =>
|
|
11161
12752
|
S.Struct({
|
|
11162
|
-
annotations: S.optional(
|
|
11163
|
-
|
|
11164
|
-
|
|
11165
|
-
abrLevel: "abr_level",
|
|
11166
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11167
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11168
|
-
appId: "app_id",
|
|
11169
|
-
authorEmail: "author_email",
|
|
11170
|
-
authorId: "author_id",
|
|
11171
|
-
bodyPart: "body_part",
|
|
11172
|
-
bucketName: "bucket_name",
|
|
11173
|
-
bytesRead: "bytes_read",
|
|
11174
|
-
cache: "cache_options",
|
|
11175
|
-
capnpSchema: "capnp_schema",
|
|
11176
|
-
certId: "cert_id",
|
|
11177
|
-
certificateId: "certificate_id",
|
|
11178
|
-
className: "class_name",
|
|
11179
|
-
compatibilityDate: "compatibility_date",
|
|
11180
|
-
compatibilityFlags: "compatibility_flags",
|
|
11181
|
-
contentBase64: "content_base64",
|
|
11182
|
-
contentType: "content_type",
|
|
11183
|
-
cpuMs: "cpu_ms",
|
|
11184
|
-
createdOn: "created_on",
|
|
11185
|
-
crossAccountGrant: "cross_account_grant",
|
|
11186
|
-
crossVersionCache: "cross_version_cache",
|
|
11187
|
-
databaseId: "database_id",
|
|
11188
|
-
defaultUsageModel: "default_usage_model",
|
|
11189
|
-
deletedClasses: "deleted_classes",
|
|
11190
|
-
deliveryDelay: "delivery_delay",
|
|
11191
|
-
destinationAddress: "destination_address",
|
|
11192
|
-
destinationConf: "destination_conf",
|
|
11193
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11194
|
-
documentationUrl: "documentation_url",
|
|
11195
|
-
enableTimer: "enable_timer",
|
|
11196
|
-
entryPoint: "entry_point",
|
|
11197
|
-
environmentIsDefault: "environment_is_default",
|
|
11198
|
-
environmentName: "environment_name",
|
|
11199
|
-
errorMessage: "error_message",
|
|
11200
|
-
exchangeUrl: "exchange_url",
|
|
11201
|
-
expiresAt: "expires_at",
|
|
11202
|
-
fromScript: "from_script",
|
|
11203
|
-
greenCompute: "green_compute",
|
|
11204
|
-
hasAssets: "has_assets",
|
|
11205
|
-
hasModules: "has_modules",
|
|
11206
|
-
headSamplingRate: "head_sampling_rate",
|
|
11207
|
-
htmlHandling: "html_handling",
|
|
11208
|
-
indexName: "index_name",
|
|
11209
|
-
instanceName: "instance_name",
|
|
11210
|
-
invocationLogs: "invocation_logs",
|
|
11211
|
-
keepAssets: "keep_assets",
|
|
11212
|
-
keepBindings: "keep_bindings",
|
|
11213
|
-
keyBase64: "key_base64",
|
|
11214
|
-
keyJwk: "key_jwk",
|
|
11215
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11216
|
-
lastComplete: "last_complete",
|
|
11217
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11218
|
-
lastError: "last_error",
|
|
11219
|
-
mainModule: "main_module",
|
|
11220
|
-
migrationTag: "migration_tag",
|
|
11221
|
-
minimalMode: "minimal_mode",
|
|
11222
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11223
|
-
modifiedOn: "modified_on",
|
|
11224
|
-
namedHandlers: "named_handlers",
|
|
11225
|
-
namespaceId: "namespace_id",
|
|
11226
|
-
networkId: "network_id",
|
|
11227
|
-
newClasses: "new_classes",
|
|
11228
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11229
|
-
newTag: "new_tag",
|
|
11230
|
-
notFoundHandling: "not_found_handling",
|
|
11231
|
-
oldName: "old_name",
|
|
11232
|
-
oldTag: "old_tag",
|
|
11233
|
-
perPage: "per_page",
|
|
11234
|
-
placementMode: "placement_mode",
|
|
11235
|
-
placementStatus: "placement_status",
|
|
11236
|
-
previewToken: "preview_token",
|
|
11237
|
-
previewsEnabled: "previews_enabled",
|
|
11238
|
-
propagationPolicy: "propagation_policy",
|
|
11239
|
-
queueName: "queue_name",
|
|
11240
|
-
renamedClasses: "renamed_classes",
|
|
11241
|
-
resultInfo: "result_info",
|
|
11242
|
-
rowsRead: "rows_read",
|
|
11243
|
-
runWorkerFirst: "run_worker_first",
|
|
11244
|
-
scriptName: "script_name",
|
|
11245
|
-
scriptRuntime: "script_runtime",
|
|
11246
|
-
secretName: "secret_name",
|
|
11247
|
-
serveDirectly: "serve_directly",
|
|
11248
|
-
serviceId: "service_id",
|
|
11249
|
-
serviceName: "service_name",
|
|
11250
|
-
startupTimeMs: "startup_time_ms",
|
|
11251
|
-
storeId: "store_id",
|
|
11252
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11253
|
-
tailConsumers: "tail_consumers",
|
|
11254
|
-
tailUrl: "tail_url",
|
|
11255
|
-
totalCount: "total_count",
|
|
11256
|
-
transferredClasses: "transferred_classes",
|
|
11257
|
-
tunnelId: "tunnel_id",
|
|
11258
|
-
usageModel: "usage_model",
|
|
11259
|
-
versionId: "version_id",
|
|
11260
|
-
versionTags: "version_tags",
|
|
11261
|
-
workersDev: "workers_dev",
|
|
11262
|
-
workflowName: "workflow_name",
|
|
11263
|
-
zoneId: "zone_id",
|
|
11264
|
-
zoneName: "zone_name",
|
|
11265
|
-
}),
|
|
11266
|
-
),
|
|
11267
|
-
),
|
|
11268
|
-
assets: S.optional(
|
|
11269
|
-
S.Unknown.pipe(
|
|
11270
|
-
T.KeyDictionary({
|
|
11271
|
-
abrLevel: "abr_level",
|
|
11272
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11273
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11274
|
-
appId: "app_id",
|
|
11275
|
-
authorEmail: "author_email",
|
|
11276
|
-
authorId: "author_id",
|
|
11277
|
-
bodyPart: "body_part",
|
|
11278
|
-
bucketName: "bucket_name",
|
|
11279
|
-
bytesRead: "bytes_read",
|
|
11280
|
-
cache: "cache_options",
|
|
11281
|
-
capnpSchema: "capnp_schema",
|
|
11282
|
-
certId: "cert_id",
|
|
11283
|
-
certificateId: "certificate_id",
|
|
11284
|
-
className: "class_name",
|
|
11285
|
-
compatibilityDate: "compatibility_date",
|
|
11286
|
-
compatibilityFlags: "compatibility_flags",
|
|
11287
|
-
contentBase64: "content_base64",
|
|
11288
|
-
contentType: "content_type",
|
|
11289
|
-
cpuMs: "cpu_ms",
|
|
11290
|
-
createdOn: "created_on",
|
|
11291
|
-
crossAccountGrant: "cross_account_grant",
|
|
11292
|
-
crossVersionCache: "cross_version_cache",
|
|
11293
|
-
databaseId: "database_id",
|
|
11294
|
-
defaultUsageModel: "default_usage_model",
|
|
11295
|
-
deletedClasses: "deleted_classes",
|
|
11296
|
-
deliveryDelay: "delivery_delay",
|
|
11297
|
-
destinationAddress: "destination_address",
|
|
11298
|
-
destinationConf: "destination_conf",
|
|
11299
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11300
|
-
documentationUrl: "documentation_url",
|
|
11301
|
-
enableTimer: "enable_timer",
|
|
11302
|
-
entryPoint: "entry_point",
|
|
11303
|
-
environmentIsDefault: "environment_is_default",
|
|
11304
|
-
environmentName: "environment_name",
|
|
11305
|
-
errorMessage: "error_message",
|
|
11306
|
-
exchangeUrl: "exchange_url",
|
|
11307
|
-
expiresAt: "expires_at",
|
|
11308
|
-
fromScript: "from_script",
|
|
11309
|
-
greenCompute: "green_compute",
|
|
11310
|
-
hasAssets: "has_assets",
|
|
11311
|
-
hasModules: "has_modules",
|
|
11312
|
-
headSamplingRate: "head_sampling_rate",
|
|
11313
|
-
htmlHandling: "html_handling",
|
|
11314
|
-
indexName: "index_name",
|
|
11315
|
-
instanceName: "instance_name",
|
|
11316
|
-
invocationLogs: "invocation_logs",
|
|
11317
|
-
keepAssets: "keep_assets",
|
|
11318
|
-
keepBindings: "keep_bindings",
|
|
11319
|
-
keyBase64: "key_base64",
|
|
11320
|
-
keyJwk: "key_jwk",
|
|
11321
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11322
|
-
lastComplete: "last_complete",
|
|
11323
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11324
|
-
lastError: "last_error",
|
|
11325
|
-
mainModule: "main_module",
|
|
11326
|
-
migrationTag: "migration_tag",
|
|
11327
|
-
minimalMode: "minimal_mode",
|
|
11328
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11329
|
-
modifiedOn: "modified_on",
|
|
11330
|
-
namedHandlers: "named_handlers",
|
|
11331
|
-
namespaceId: "namespace_id",
|
|
11332
|
-
networkId: "network_id",
|
|
11333
|
-
newClasses: "new_classes",
|
|
11334
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11335
|
-
newTag: "new_tag",
|
|
11336
|
-
notFoundHandling: "not_found_handling",
|
|
11337
|
-
oldName: "old_name",
|
|
11338
|
-
oldTag: "old_tag",
|
|
11339
|
-
perPage: "per_page",
|
|
11340
|
-
placementMode: "placement_mode",
|
|
11341
|
-
placementStatus: "placement_status",
|
|
11342
|
-
previewToken: "preview_token",
|
|
11343
|
-
previewsEnabled: "previews_enabled",
|
|
11344
|
-
propagationPolicy: "propagation_policy",
|
|
11345
|
-
queueName: "queue_name",
|
|
11346
|
-
renamedClasses: "renamed_classes",
|
|
11347
|
-
resultInfo: "result_info",
|
|
11348
|
-
rowsRead: "rows_read",
|
|
11349
|
-
runWorkerFirst: "run_worker_first",
|
|
11350
|
-
scriptName: "script_name",
|
|
11351
|
-
scriptRuntime: "script_runtime",
|
|
11352
|
-
secretName: "secret_name",
|
|
11353
|
-
serveDirectly: "serve_directly",
|
|
11354
|
-
serviceId: "service_id",
|
|
11355
|
-
serviceName: "service_name",
|
|
11356
|
-
startupTimeMs: "startup_time_ms",
|
|
11357
|
-
storeId: "store_id",
|
|
11358
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11359
|
-
tailConsumers: "tail_consumers",
|
|
11360
|
-
tailUrl: "tail_url",
|
|
11361
|
-
totalCount: "total_count",
|
|
11362
|
-
transferredClasses: "transferred_classes",
|
|
11363
|
-
tunnelId: "tunnel_id",
|
|
11364
|
-
usageModel: "usage_model",
|
|
11365
|
-
versionId: "version_id",
|
|
11366
|
-
versionTags: "version_tags",
|
|
11367
|
-
workersDev: "workers_dev",
|
|
11368
|
-
workflowName: "workflow_name",
|
|
11369
|
-
zoneId: "zone_id",
|
|
11370
|
-
zoneName: "zone_name",
|
|
11371
|
-
}),
|
|
11372
|
-
),
|
|
11373
|
-
),
|
|
11374
|
-
bindings: S.optional(
|
|
11375
|
-
S.Unknown.pipe(
|
|
11376
|
-
T.KeyDictionary({
|
|
11377
|
-
abrLevel: "abr_level",
|
|
11378
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11379
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11380
|
-
appId: "app_id",
|
|
11381
|
-
authorEmail: "author_email",
|
|
11382
|
-
authorId: "author_id",
|
|
11383
|
-
bodyPart: "body_part",
|
|
11384
|
-
bucketName: "bucket_name",
|
|
11385
|
-
bytesRead: "bytes_read",
|
|
11386
|
-
cache: "cache_options",
|
|
11387
|
-
capnpSchema: "capnp_schema",
|
|
11388
|
-
certId: "cert_id",
|
|
11389
|
-
certificateId: "certificate_id",
|
|
11390
|
-
className: "class_name",
|
|
11391
|
-
compatibilityDate: "compatibility_date",
|
|
11392
|
-
compatibilityFlags: "compatibility_flags",
|
|
11393
|
-
contentBase64: "content_base64",
|
|
11394
|
-
contentType: "content_type",
|
|
11395
|
-
cpuMs: "cpu_ms",
|
|
11396
|
-
createdOn: "created_on",
|
|
11397
|
-
crossAccountGrant: "cross_account_grant",
|
|
11398
|
-
crossVersionCache: "cross_version_cache",
|
|
11399
|
-
databaseId: "database_id",
|
|
11400
|
-
defaultUsageModel: "default_usage_model",
|
|
11401
|
-
deletedClasses: "deleted_classes",
|
|
11402
|
-
deliveryDelay: "delivery_delay",
|
|
11403
|
-
destinationAddress: "destination_address",
|
|
11404
|
-
destinationConf: "destination_conf",
|
|
11405
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11406
|
-
documentationUrl: "documentation_url",
|
|
11407
|
-
enableTimer: "enable_timer",
|
|
11408
|
-
entryPoint: "entry_point",
|
|
11409
|
-
environmentIsDefault: "environment_is_default",
|
|
11410
|
-
environmentName: "environment_name",
|
|
11411
|
-
errorMessage: "error_message",
|
|
11412
|
-
exchangeUrl: "exchange_url",
|
|
11413
|
-
expiresAt: "expires_at",
|
|
11414
|
-
fromScript: "from_script",
|
|
11415
|
-
greenCompute: "green_compute",
|
|
11416
|
-
hasAssets: "has_assets",
|
|
11417
|
-
hasModules: "has_modules",
|
|
11418
|
-
headSamplingRate: "head_sampling_rate",
|
|
11419
|
-
htmlHandling: "html_handling",
|
|
11420
|
-
indexName: "index_name",
|
|
11421
|
-
instanceName: "instance_name",
|
|
11422
|
-
invocationLogs: "invocation_logs",
|
|
11423
|
-
keepAssets: "keep_assets",
|
|
11424
|
-
keepBindings: "keep_bindings",
|
|
11425
|
-
keyBase64: "key_base64",
|
|
11426
|
-
keyJwk: "key_jwk",
|
|
11427
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11428
|
-
lastComplete: "last_complete",
|
|
11429
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11430
|
-
lastError: "last_error",
|
|
11431
|
-
mainModule: "main_module",
|
|
11432
|
-
migrationTag: "migration_tag",
|
|
11433
|
-
minimalMode: "minimal_mode",
|
|
11434
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11435
|
-
modifiedOn: "modified_on",
|
|
11436
|
-
namedHandlers: "named_handlers",
|
|
11437
|
-
namespaceId: "namespace_id",
|
|
11438
|
-
networkId: "network_id",
|
|
11439
|
-
newClasses: "new_classes",
|
|
11440
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11441
|
-
newTag: "new_tag",
|
|
11442
|
-
notFoundHandling: "not_found_handling",
|
|
11443
|
-
oldName: "old_name",
|
|
11444
|
-
oldTag: "old_tag",
|
|
11445
|
-
perPage: "per_page",
|
|
11446
|
-
placementMode: "placement_mode",
|
|
11447
|
-
placementStatus: "placement_status",
|
|
11448
|
-
previewToken: "preview_token",
|
|
11449
|
-
previewsEnabled: "previews_enabled",
|
|
11450
|
-
propagationPolicy: "propagation_policy",
|
|
11451
|
-
queueName: "queue_name",
|
|
11452
|
-
renamedClasses: "renamed_classes",
|
|
11453
|
-
resultInfo: "result_info",
|
|
11454
|
-
rowsRead: "rows_read",
|
|
11455
|
-
runWorkerFirst: "run_worker_first",
|
|
11456
|
-
scriptName: "script_name",
|
|
11457
|
-
scriptRuntime: "script_runtime",
|
|
11458
|
-
secretName: "secret_name",
|
|
11459
|
-
serveDirectly: "serve_directly",
|
|
11460
|
-
serviceId: "service_id",
|
|
11461
|
-
serviceName: "service_name",
|
|
11462
|
-
startupTimeMs: "startup_time_ms",
|
|
11463
|
-
storeId: "store_id",
|
|
11464
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11465
|
-
tailConsumers: "tail_consumers",
|
|
11466
|
-
tailUrl: "tail_url",
|
|
11467
|
-
totalCount: "total_count",
|
|
11468
|
-
transferredClasses: "transferred_classes",
|
|
11469
|
-
tunnelId: "tunnel_id",
|
|
11470
|
-
usageModel: "usage_model",
|
|
11471
|
-
versionId: "version_id",
|
|
11472
|
-
versionTags: "version_tags",
|
|
11473
|
-
workersDev: "workers_dev",
|
|
11474
|
-
workflowName: "workflow_name",
|
|
11475
|
-
zoneId: "zone_id",
|
|
11476
|
-
zoneName: "zone_name",
|
|
11477
|
-
}),
|
|
11478
|
-
),
|
|
11479
|
-
),
|
|
12753
|
+
annotations: S.optional(PutDispatchNamespaceScriptMetadataAnnotations),
|
|
12754
|
+
assets: S.optional(PutDispatchNamespaceScriptMetadataAssets),
|
|
12755
|
+
bindings: S.optional(PutDispatchNamespaceScriptMetadataBindingsList),
|
|
11480
12756
|
bodyPart: S.optional(S.String.pipe(T.Body("body_part"))),
|
|
11481
|
-
cache: S.optional(
|
|
11482
|
-
S.Unknown.pipe(
|
|
11483
|
-
T.KeyDictionary({
|
|
11484
|
-
abrLevel: "abr_level",
|
|
11485
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11486
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11487
|
-
appId: "app_id",
|
|
11488
|
-
authorEmail: "author_email",
|
|
11489
|
-
authorId: "author_id",
|
|
11490
|
-
bodyPart: "body_part",
|
|
11491
|
-
bucketName: "bucket_name",
|
|
11492
|
-
bytesRead: "bytes_read",
|
|
11493
|
-
cache: "cache_options",
|
|
11494
|
-
capnpSchema: "capnp_schema",
|
|
11495
|
-
certId: "cert_id",
|
|
11496
|
-
certificateId: "certificate_id",
|
|
11497
|
-
className: "class_name",
|
|
11498
|
-
compatibilityDate: "compatibility_date",
|
|
11499
|
-
compatibilityFlags: "compatibility_flags",
|
|
11500
|
-
contentBase64: "content_base64",
|
|
11501
|
-
contentType: "content_type",
|
|
11502
|
-
cpuMs: "cpu_ms",
|
|
11503
|
-
createdOn: "created_on",
|
|
11504
|
-
crossAccountGrant: "cross_account_grant",
|
|
11505
|
-
crossVersionCache: "cross_version_cache",
|
|
11506
|
-
databaseId: "database_id",
|
|
11507
|
-
defaultUsageModel: "default_usage_model",
|
|
11508
|
-
deletedClasses: "deleted_classes",
|
|
11509
|
-
deliveryDelay: "delivery_delay",
|
|
11510
|
-
destinationAddress: "destination_address",
|
|
11511
|
-
destinationConf: "destination_conf",
|
|
11512
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11513
|
-
documentationUrl: "documentation_url",
|
|
11514
|
-
enableTimer: "enable_timer",
|
|
11515
|
-
entryPoint: "entry_point",
|
|
11516
|
-
environmentIsDefault: "environment_is_default",
|
|
11517
|
-
environmentName: "environment_name",
|
|
11518
|
-
errorMessage: "error_message",
|
|
11519
|
-
exchangeUrl: "exchange_url",
|
|
11520
|
-
expiresAt: "expires_at",
|
|
11521
|
-
fromScript: "from_script",
|
|
11522
|
-
greenCompute: "green_compute",
|
|
11523
|
-
hasAssets: "has_assets",
|
|
11524
|
-
hasModules: "has_modules",
|
|
11525
|
-
headSamplingRate: "head_sampling_rate",
|
|
11526
|
-
htmlHandling: "html_handling",
|
|
11527
|
-
indexName: "index_name",
|
|
11528
|
-
instanceName: "instance_name",
|
|
11529
|
-
invocationLogs: "invocation_logs",
|
|
11530
|
-
keepAssets: "keep_assets",
|
|
11531
|
-
keepBindings: "keep_bindings",
|
|
11532
|
-
keyBase64: "key_base64",
|
|
11533
|
-
keyJwk: "key_jwk",
|
|
11534
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11535
|
-
lastComplete: "last_complete",
|
|
11536
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11537
|
-
lastError: "last_error",
|
|
11538
|
-
mainModule: "main_module",
|
|
11539
|
-
migrationTag: "migration_tag",
|
|
11540
|
-
minimalMode: "minimal_mode",
|
|
11541
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11542
|
-
modifiedOn: "modified_on",
|
|
11543
|
-
namedHandlers: "named_handlers",
|
|
11544
|
-
namespaceId: "namespace_id",
|
|
11545
|
-
networkId: "network_id",
|
|
11546
|
-
newClasses: "new_classes",
|
|
11547
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11548
|
-
newTag: "new_tag",
|
|
11549
|
-
notFoundHandling: "not_found_handling",
|
|
11550
|
-
oldName: "old_name",
|
|
11551
|
-
oldTag: "old_tag",
|
|
11552
|
-
perPage: "per_page",
|
|
11553
|
-
placementMode: "placement_mode",
|
|
11554
|
-
placementStatus: "placement_status",
|
|
11555
|
-
previewToken: "preview_token",
|
|
11556
|
-
previewsEnabled: "previews_enabled",
|
|
11557
|
-
propagationPolicy: "propagation_policy",
|
|
11558
|
-
queueName: "queue_name",
|
|
11559
|
-
renamedClasses: "renamed_classes",
|
|
11560
|
-
resultInfo: "result_info",
|
|
11561
|
-
rowsRead: "rows_read",
|
|
11562
|
-
runWorkerFirst: "run_worker_first",
|
|
11563
|
-
scriptName: "script_name",
|
|
11564
|
-
scriptRuntime: "script_runtime",
|
|
11565
|
-
secretName: "secret_name",
|
|
11566
|
-
serveDirectly: "serve_directly",
|
|
11567
|
-
serviceId: "service_id",
|
|
11568
|
-
serviceName: "service_name",
|
|
11569
|
-
startupTimeMs: "startup_time_ms",
|
|
11570
|
-
storeId: "store_id",
|
|
11571
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11572
|
-
tailConsumers: "tail_consumers",
|
|
11573
|
-
tailUrl: "tail_url",
|
|
11574
|
-
totalCount: "total_count",
|
|
11575
|
-
transferredClasses: "transferred_classes",
|
|
11576
|
-
tunnelId: "tunnel_id",
|
|
11577
|
-
usageModel: "usage_model",
|
|
11578
|
-
versionId: "version_id",
|
|
11579
|
-
versionTags: "version_tags",
|
|
11580
|
-
workersDev: "workers_dev",
|
|
11581
|
-
workflowName: "workflow_name",
|
|
11582
|
-
zoneId: "zone_id",
|
|
11583
|
-
zoneName: "zone_name",
|
|
11584
|
-
}),
|
|
11585
|
-
),
|
|
11586
|
-
),
|
|
11587
12757
|
compatibilityDate: S.optional(S.String.pipe(T.Body("compatibility_date"))),
|
|
11588
12758
|
compatibilityFlags: S.optional(
|
|
11589
12759
|
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
11590
12760
|
T.Body("compatibility_flags"),
|
|
11591
12761
|
),
|
|
11592
12762
|
),
|
|
11593
|
-
containers: S.optional(
|
|
11594
|
-
S.Unknown.pipe(
|
|
11595
|
-
T.KeyDictionary({
|
|
11596
|
-
abrLevel: "abr_level",
|
|
11597
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11598
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11599
|
-
appId: "app_id",
|
|
11600
|
-
authorEmail: "author_email",
|
|
11601
|
-
authorId: "author_id",
|
|
11602
|
-
bodyPart: "body_part",
|
|
11603
|
-
bucketName: "bucket_name",
|
|
11604
|
-
bytesRead: "bytes_read",
|
|
11605
|
-
cache: "cache_options",
|
|
11606
|
-
capnpSchema: "capnp_schema",
|
|
11607
|
-
certId: "cert_id",
|
|
11608
|
-
certificateId: "certificate_id",
|
|
11609
|
-
className: "class_name",
|
|
11610
|
-
compatibilityDate: "compatibility_date",
|
|
11611
|
-
compatibilityFlags: "compatibility_flags",
|
|
11612
|
-
contentBase64: "content_base64",
|
|
11613
|
-
contentType: "content_type",
|
|
11614
|
-
cpuMs: "cpu_ms",
|
|
11615
|
-
createdOn: "created_on",
|
|
11616
|
-
crossAccountGrant: "cross_account_grant",
|
|
11617
|
-
crossVersionCache: "cross_version_cache",
|
|
11618
|
-
databaseId: "database_id",
|
|
11619
|
-
defaultUsageModel: "default_usage_model",
|
|
11620
|
-
deletedClasses: "deleted_classes",
|
|
11621
|
-
deliveryDelay: "delivery_delay",
|
|
11622
|
-
destinationAddress: "destination_address",
|
|
11623
|
-
destinationConf: "destination_conf",
|
|
11624
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11625
|
-
documentationUrl: "documentation_url",
|
|
11626
|
-
enableTimer: "enable_timer",
|
|
11627
|
-
entryPoint: "entry_point",
|
|
11628
|
-
environmentIsDefault: "environment_is_default",
|
|
11629
|
-
environmentName: "environment_name",
|
|
11630
|
-
errorMessage: "error_message",
|
|
11631
|
-
exchangeUrl: "exchange_url",
|
|
11632
|
-
expiresAt: "expires_at",
|
|
11633
|
-
fromScript: "from_script",
|
|
11634
|
-
greenCompute: "green_compute",
|
|
11635
|
-
hasAssets: "has_assets",
|
|
11636
|
-
hasModules: "has_modules",
|
|
11637
|
-
headSamplingRate: "head_sampling_rate",
|
|
11638
|
-
htmlHandling: "html_handling",
|
|
11639
|
-
indexName: "index_name",
|
|
11640
|
-
instanceName: "instance_name",
|
|
11641
|
-
invocationLogs: "invocation_logs",
|
|
11642
|
-
keepAssets: "keep_assets",
|
|
11643
|
-
keepBindings: "keep_bindings",
|
|
11644
|
-
keyBase64: "key_base64",
|
|
11645
|
-
keyJwk: "key_jwk",
|
|
11646
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11647
|
-
lastComplete: "last_complete",
|
|
11648
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11649
|
-
lastError: "last_error",
|
|
11650
|
-
mainModule: "main_module",
|
|
11651
|
-
migrationTag: "migration_tag",
|
|
11652
|
-
minimalMode: "minimal_mode",
|
|
11653
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11654
|
-
modifiedOn: "modified_on",
|
|
11655
|
-
namedHandlers: "named_handlers",
|
|
11656
|
-
namespaceId: "namespace_id",
|
|
11657
|
-
networkId: "network_id",
|
|
11658
|
-
newClasses: "new_classes",
|
|
11659
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11660
|
-
newTag: "new_tag",
|
|
11661
|
-
notFoundHandling: "not_found_handling",
|
|
11662
|
-
oldName: "old_name",
|
|
11663
|
-
oldTag: "old_tag",
|
|
11664
|
-
perPage: "per_page",
|
|
11665
|
-
placementMode: "placement_mode",
|
|
11666
|
-
placementStatus: "placement_status",
|
|
11667
|
-
previewToken: "preview_token",
|
|
11668
|
-
previewsEnabled: "previews_enabled",
|
|
11669
|
-
propagationPolicy: "propagation_policy",
|
|
11670
|
-
queueName: "queue_name",
|
|
11671
|
-
renamedClasses: "renamed_classes",
|
|
11672
|
-
resultInfo: "result_info",
|
|
11673
|
-
rowsRead: "rows_read",
|
|
11674
|
-
runWorkerFirst: "run_worker_first",
|
|
11675
|
-
scriptName: "script_name",
|
|
11676
|
-
scriptRuntime: "script_runtime",
|
|
11677
|
-
secretName: "secret_name",
|
|
11678
|
-
serveDirectly: "serve_directly",
|
|
11679
|
-
serviceId: "service_id",
|
|
11680
|
-
serviceName: "service_name",
|
|
11681
|
-
startupTimeMs: "startup_time_ms",
|
|
11682
|
-
storeId: "store_id",
|
|
11683
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11684
|
-
tailConsumers: "tail_consumers",
|
|
11685
|
-
tailUrl: "tail_url",
|
|
11686
|
-
totalCount: "total_count",
|
|
11687
|
-
transferredClasses: "transferred_classes",
|
|
11688
|
-
tunnelId: "tunnel_id",
|
|
11689
|
-
usageModel: "usage_model",
|
|
11690
|
-
versionId: "version_id",
|
|
11691
|
-
versionTags: "version_tags",
|
|
11692
|
-
workersDev: "workers_dev",
|
|
11693
|
-
workflowName: "workflow_name",
|
|
11694
|
-
zoneId: "zone_id",
|
|
11695
|
-
zoneName: "zone_name",
|
|
11696
|
-
}),
|
|
11697
|
-
),
|
|
11698
|
-
),
|
|
12763
|
+
containers: S.optional(PutDispatchNamespaceScriptMetadataContainersList),
|
|
11699
12764
|
keepAssets: S.optional(S.Boolean.pipe(T.Body("keep_assets"))),
|
|
11700
12765
|
keepBindings: S.optional(
|
|
11701
12766
|
PutDispatchNamespaceScriptMetadataStringList.pipe(
|
|
11702
12767
|
T.Body("keep_bindings"),
|
|
11703
12768
|
),
|
|
11704
12769
|
),
|
|
11705
|
-
limits: S.optional(
|
|
11706
|
-
S.Unknown.pipe(
|
|
11707
|
-
T.KeyDictionary({
|
|
11708
|
-
abrLevel: "abr_level",
|
|
11709
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11710
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11711
|
-
appId: "app_id",
|
|
11712
|
-
authorEmail: "author_email",
|
|
11713
|
-
authorId: "author_id",
|
|
11714
|
-
bodyPart: "body_part",
|
|
11715
|
-
bucketName: "bucket_name",
|
|
11716
|
-
bytesRead: "bytes_read",
|
|
11717
|
-
cache: "cache_options",
|
|
11718
|
-
capnpSchema: "capnp_schema",
|
|
11719
|
-
certId: "cert_id",
|
|
11720
|
-
certificateId: "certificate_id",
|
|
11721
|
-
className: "class_name",
|
|
11722
|
-
compatibilityDate: "compatibility_date",
|
|
11723
|
-
compatibilityFlags: "compatibility_flags",
|
|
11724
|
-
contentBase64: "content_base64",
|
|
11725
|
-
contentType: "content_type",
|
|
11726
|
-
cpuMs: "cpu_ms",
|
|
11727
|
-
createdOn: "created_on",
|
|
11728
|
-
crossAccountGrant: "cross_account_grant",
|
|
11729
|
-
crossVersionCache: "cross_version_cache",
|
|
11730
|
-
databaseId: "database_id",
|
|
11731
|
-
defaultUsageModel: "default_usage_model",
|
|
11732
|
-
deletedClasses: "deleted_classes",
|
|
11733
|
-
deliveryDelay: "delivery_delay",
|
|
11734
|
-
destinationAddress: "destination_address",
|
|
11735
|
-
destinationConf: "destination_conf",
|
|
11736
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11737
|
-
documentationUrl: "documentation_url",
|
|
11738
|
-
enableTimer: "enable_timer",
|
|
11739
|
-
entryPoint: "entry_point",
|
|
11740
|
-
environmentIsDefault: "environment_is_default",
|
|
11741
|
-
environmentName: "environment_name",
|
|
11742
|
-
errorMessage: "error_message",
|
|
11743
|
-
exchangeUrl: "exchange_url",
|
|
11744
|
-
expiresAt: "expires_at",
|
|
11745
|
-
fromScript: "from_script",
|
|
11746
|
-
greenCompute: "green_compute",
|
|
11747
|
-
hasAssets: "has_assets",
|
|
11748
|
-
hasModules: "has_modules",
|
|
11749
|
-
headSamplingRate: "head_sampling_rate",
|
|
11750
|
-
htmlHandling: "html_handling",
|
|
11751
|
-
indexName: "index_name",
|
|
11752
|
-
instanceName: "instance_name",
|
|
11753
|
-
invocationLogs: "invocation_logs",
|
|
11754
|
-
keepAssets: "keep_assets",
|
|
11755
|
-
keepBindings: "keep_bindings",
|
|
11756
|
-
keyBase64: "key_base64",
|
|
11757
|
-
keyJwk: "key_jwk",
|
|
11758
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11759
|
-
lastComplete: "last_complete",
|
|
11760
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11761
|
-
lastError: "last_error",
|
|
11762
|
-
mainModule: "main_module",
|
|
11763
|
-
migrationTag: "migration_tag",
|
|
11764
|
-
minimalMode: "minimal_mode",
|
|
11765
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11766
|
-
modifiedOn: "modified_on",
|
|
11767
|
-
namedHandlers: "named_handlers",
|
|
11768
|
-
namespaceId: "namespace_id",
|
|
11769
|
-
networkId: "network_id",
|
|
11770
|
-
newClasses: "new_classes",
|
|
11771
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11772
|
-
newTag: "new_tag",
|
|
11773
|
-
notFoundHandling: "not_found_handling",
|
|
11774
|
-
oldName: "old_name",
|
|
11775
|
-
oldTag: "old_tag",
|
|
11776
|
-
perPage: "per_page",
|
|
11777
|
-
placementMode: "placement_mode",
|
|
11778
|
-
placementStatus: "placement_status",
|
|
11779
|
-
previewToken: "preview_token",
|
|
11780
|
-
previewsEnabled: "previews_enabled",
|
|
11781
|
-
propagationPolicy: "propagation_policy",
|
|
11782
|
-
queueName: "queue_name",
|
|
11783
|
-
renamedClasses: "renamed_classes",
|
|
11784
|
-
resultInfo: "result_info",
|
|
11785
|
-
rowsRead: "rows_read",
|
|
11786
|
-
runWorkerFirst: "run_worker_first",
|
|
11787
|
-
scriptName: "script_name",
|
|
11788
|
-
scriptRuntime: "script_runtime",
|
|
11789
|
-
secretName: "secret_name",
|
|
11790
|
-
serveDirectly: "serve_directly",
|
|
11791
|
-
serviceId: "service_id",
|
|
11792
|
-
serviceName: "service_name",
|
|
11793
|
-
startupTimeMs: "startup_time_ms",
|
|
11794
|
-
storeId: "store_id",
|
|
11795
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11796
|
-
tailConsumers: "tail_consumers",
|
|
11797
|
-
tailUrl: "tail_url",
|
|
11798
|
-
totalCount: "total_count",
|
|
11799
|
-
transferredClasses: "transferred_classes",
|
|
11800
|
-
tunnelId: "tunnel_id",
|
|
11801
|
-
usageModel: "usage_model",
|
|
11802
|
-
versionId: "version_id",
|
|
11803
|
-
versionTags: "version_tags",
|
|
11804
|
-
workersDev: "workers_dev",
|
|
11805
|
-
workflowName: "workflow_name",
|
|
11806
|
-
zoneId: "zone_id",
|
|
11807
|
-
zoneName: "zone_name",
|
|
11808
|
-
}),
|
|
11809
|
-
),
|
|
11810
|
-
),
|
|
12770
|
+
limits: S.optional(PutDispatchNamespaceScriptMetadataLimits),
|
|
11811
12771
|
logpush: S.optional(S.Boolean),
|
|
11812
12772
|
mainModule: S.optional(S.String.pipe(T.Body("main_module"))),
|
|
11813
|
-
migrations: S.optional(
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
abrLevel: "abr_level",
|
|
11817
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11818
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11819
|
-
appId: "app_id",
|
|
11820
|
-
authorEmail: "author_email",
|
|
11821
|
-
authorId: "author_id",
|
|
11822
|
-
bodyPart: "body_part",
|
|
11823
|
-
bucketName: "bucket_name",
|
|
11824
|
-
bytesRead: "bytes_read",
|
|
11825
|
-
cache: "cache_options",
|
|
11826
|
-
capnpSchema: "capnp_schema",
|
|
11827
|
-
certId: "cert_id",
|
|
11828
|
-
certificateId: "certificate_id",
|
|
11829
|
-
className: "class_name",
|
|
11830
|
-
compatibilityDate: "compatibility_date",
|
|
11831
|
-
compatibilityFlags: "compatibility_flags",
|
|
11832
|
-
contentBase64: "content_base64",
|
|
11833
|
-
contentType: "content_type",
|
|
11834
|
-
cpuMs: "cpu_ms",
|
|
11835
|
-
createdOn: "created_on",
|
|
11836
|
-
crossAccountGrant: "cross_account_grant",
|
|
11837
|
-
crossVersionCache: "cross_version_cache",
|
|
11838
|
-
databaseId: "database_id",
|
|
11839
|
-
defaultUsageModel: "default_usage_model",
|
|
11840
|
-
deletedClasses: "deleted_classes",
|
|
11841
|
-
deliveryDelay: "delivery_delay",
|
|
11842
|
-
destinationAddress: "destination_address",
|
|
11843
|
-
destinationConf: "destination_conf",
|
|
11844
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11845
|
-
documentationUrl: "documentation_url",
|
|
11846
|
-
enableTimer: "enable_timer",
|
|
11847
|
-
entryPoint: "entry_point",
|
|
11848
|
-
environmentIsDefault: "environment_is_default",
|
|
11849
|
-
environmentName: "environment_name",
|
|
11850
|
-
errorMessage: "error_message",
|
|
11851
|
-
exchangeUrl: "exchange_url",
|
|
11852
|
-
expiresAt: "expires_at",
|
|
11853
|
-
fromScript: "from_script",
|
|
11854
|
-
greenCompute: "green_compute",
|
|
11855
|
-
hasAssets: "has_assets",
|
|
11856
|
-
hasModules: "has_modules",
|
|
11857
|
-
headSamplingRate: "head_sampling_rate",
|
|
11858
|
-
htmlHandling: "html_handling",
|
|
11859
|
-
indexName: "index_name",
|
|
11860
|
-
instanceName: "instance_name",
|
|
11861
|
-
invocationLogs: "invocation_logs",
|
|
11862
|
-
keepAssets: "keep_assets",
|
|
11863
|
-
keepBindings: "keep_bindings",
|
|
11864
|
-
keyBase64: "key_base64",
|
|
11865
|
-
keyJwk: "key_jwk",
|
|
11866
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11867
|
-
lastComplete: "last_complete",
|
|
11868
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11869
|
-
lastError: "last_error",
|
|
11870
|
-
mainModule: "main_module",
|
|
11871
|
-
migrationTag: "migration_tag",
|
|
11872
|
-
minimalMode: "minimal_mode",
|
|
11873
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11874
|
-
modifiedOn: "modified_on",
|
|
11875
|
-
namedHandlers: "named_handlers",
|
|
11876
|
-
namespaceId: "namespace_id",
|
|
11877
|
-
networkId: "network_id",
|
|
11878
|
-
newClasses: "new_classes",
|
|
11879
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11880
|
-
newTag: "new_tag",
|
|
11881
|
-
notFoundHandling: "not_found_handling",
|
|
11882
|
-
oldName: "old_name",
|
|
11883
|
-
oldTag: "old_tag",
|
|
11884
|
-
perPage: "per_page",
|
|
11885
|
-
placementMode: "placement_mode",
|
|
11886
|
-
placementStatus: "placement_status",
|
|
11887
|
-
previewToken: "preview_token",
|
|
11888
|
-
previewsEnabled: "previews_enabled",
|
|
11889
|
-
propagationPolicy: "propagation_policy",
|
|
11890
|
-
queueName: "queue_name",
|
|
11891
|
-
renamedClasses: "renamed_classes",
|
|
11892
|
-
resultInfo: "result_info",
|
|
11893
|
-
rowsRead: "rows_read",
|
|
11894
|
-
runWorkerFirst: "run_worker_first",
|
|
11895
|
-
scriptName: "script_name",
|
|
11896
|
-
scriptRuntime: "script_runtime",
|
|
11897
|
-
secretName: "secret_name",
|
|
11898
|
-
serveDirectly: "serve_directly",
|
|
11899
|
-
serviceId: "service_id",
|
|
11900
|
-
serviceName: "service_name",
|
|
11901
|
-
startupTimeMs: "startup_time_ms",
|
|
11902
|
-
storeId: "store_id",
|
|
11903
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
11904
|
-
tailConsumers: "tail_consumers",
|
|
11905
|
-
tailUrl: "tail_url",
|
|
11906
|
-
totalCount: "total_count",
|
|
11907
|
-
transferredClasses: "transferred_classes",
|
|
11908
|
-
tunnelId: "tunnel_id",
|
|
11909
|
-
usageModel: "usage_model",
|
|
11910
|
-
versionId: "version_id",
|
|
11911
|
-
versionTags: "version_tags",
|
|
11912
|
-
workersDev: "workers_dev",
|
|
11913
|
-
workflowName: "workflow_name",
|
|
11914
|
-
zoneId: "zone_id",
|
|
11915
|
-
zoneName: "zone_name",
|
|
11916
|
-
}),
|
|
11917
|
-
),
|
|
11918
|
-
),
|
|
11919
|
-
observability: S.optional(
|
|
11920
|
-
S.Unknown.pipe(
|
|
11921
|
-
T.KeyDictionary({
|
|
11922
|
-
abrLevel: "abr_level",
|
|
11923
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
11924
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
11925
|
-
appId: "app_id",
|
|
11926
|
-
authorEmail: "author_email",
|
|
11927
|
-
authorId: "author_id",
|
|
11928
|
-
bodyPart: "body_part",
|
|
11929
|
-
bucketName: "bucket_name",
|
|
11930
|
-
bytesRead: "bytes_read",
|
|
11931
|
-
cache: "cache_options",
|
|
11932
|
-
capnpSchema: "capnp_schema",
|
|
11933
|
-
certId: "cert_id",
|
|
11934
|
-
certificateId: "certificate_id",
|
|
11935
|
-
className: "class_name",
|
|
11936
|
-
compatibilityDate: "compatibility_date",
|
|
11937
|
-
compatibilityFlags: "compatibility_flags",
|
|
11938
|
-
contentBase64: "content_base64",
|
|
11939
|
-
contentType: "content_type",
|
|
11940
|
-
cpuMs: "cpu_ms",
|
|
11941
|
-
createdOn: "created_on",
|
|
11942
|
-
crossAccountGrant: "cross_account_grant",
|
|
11943
|
-
crossVersionCache: "cross_version_cache",
|
|
11944
|
-
databaseId: "database_id",
|
|
11945
|
-
defaultUsageModel: "default_usage_model",
|
|
11946
|
-
deletedClasses: "deleted_classes",
|
|
11947
|
-
deliveryDelay: "delivery_delay",
|
|
11948
|
-
destinationAddress: "destination_address",
|
|
11949
|
-
destinationConf: "destination_conf",
|
|
11950
|
-
dispatchNamespace: "dispatch_namespace",
|
|
11951
|
-
documentationUrl: "documentation_url",
|
|
11952
|
-
enableTimer: "enable_timer",
|
|
11953
|
-
entryPoint: "entry_point",
|
|
11954
|
-
environmentIsDefault: "environment_is_default",
|
|
11955
|
-
environmentName: "environment_name",
|
|
11956
|
-
errorMessage: "error_message",
|
|
11957
|
-
exchangeUrl: "exchange_url",
|
|
11958
|
-
expiresAt: "expires_at",
|
|
11959
|
-
fromScript: "from_script",
|
|
11960
|
-
greenCompute: "green_compute",
|
|
11961
|
-
hasAssets: "has_assets",
|
|
11962
|
-
hasModules: "has_modules",
|
|
11963
|
-
headSamplingRate: "head_sampling_rate",
|
|
11964
|
-
htmlHandling: "html_handling",
|
|
11965
|
-
indexName: "index_name",
|
|
11966
|
-
instanceName: "instance_name",
|
|
11967
|
-
invocationLogs: "invocation_logs",
|
|
11968
|
-
keepAssets: "keep_assets",
|
|
11969
|
-
keepBindings: "keep_bindings",
|
|
11970
|
-
keyBase64: "key_base64",
|
|
11971
|
-
keyJwk: "key_jwk",
|
|
11972
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
11973
|
-
lastComplete: "last_complete",
|
|
11974
|
-
lastDeployedFrom: "last_deployed_from",
|
|
11975
|
-
lastError: "last_error",
|
|
11976
|
-
mainModule: "main_module",
|
|
11977
|
-
migrationTag: "migration_tag",
|
|
11978
|
-
minimalMode: "minimal_mode",
|
|
11979
|
-
mitigationTimeout: "mitigation_timeout",
|
|
11980
|
-
modifiedOn: "modified_on",
|
|
11981
|
-
namedHandlers: "named_handlers",
|
|
11982
|
-
namespaceId: "namespace_id",
|
|
11983
|
-
networkId: "network_id",
|
|
11984
|
-
newClasses: "new_classes",
|
|
11985
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
11986
|
-
newTag: "new_tag",
|
|
11987
|
-
notFoundHandling: "not_found_handling",
|
|
11988
|
-
oldName: "old_name",
|
|
11989
|
-
oldTag: "old_tag",
|
|
11990
|
-
perPage: "per_page",
|
|
11991
|
-
placementMode: "placement_mode",
|
|
11992
|
-
placementStatus: "placement_status",
|
|
11993
|
-
previewToken: "preview_token",
|
|
11994
|
-
previewsEnabled: "previews_enabled",
|
|
11995
|
-
propagationPolicy: "propagation_policy",
|
|
11996
|
-
queueName: "queue_name",
|
|
11997
|
-
renamedClasses: "renamed_classes",
|
|
11998
|
-
resultInfo: "result_info",
|
|
11999
|
-
rowsRead: "rows_read",
|
|
12000
|
-
runWorkerFirst: "run_worker_first",
|
|
12001
|
-
scriptName: "script_name",
|
|
12002
|
-
scriptRuntime: "script_runtime",
|
|
12003
|
-
secretName: "secret_name",
|
|
12004
|
-
serveDirectly: "serve_directly",
|
|
12005
|
-
serviceId: "service_id",
|
|
12006
|
-
serviceName: "service_name",
|
|
12007
|
-
startupTimeMs: "startup_time_ms",
|
|
12008
|
-
storeId: "store_id",
|
|
12009
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
12010
|
-
tailConsumers: "tail_consumers",
|
|
12011
|
-
tailUrl: "tail_url",
|
|
12012
|
-
totalCount: "total_count",
|
|
12013
|
-
transferredClasses: "transferred_classes",
|
|
12014
|
-
tunnelId: "tunnel_id",
|
|
12015
|
-
usageModel: "usage_model",
|
|
12016
|
-
versionId: "version_id",
|
|
12017
|
-
versionTags: "version_tags",
|
|
12018
|
-
workersDev: "workers_dev",
|
|
12019
|
-
workflowName: "workflow_name",
|
|
12020
|
-
zoneId: "zone_id",
|
|
12021
|
-
zoneName: "zone_name",
|
|
12022
|
-
}),
|
|
12023
|
-
),
|
|
12024
|
-
),
|
|
12025
|
-
placement: S.optional(
|
|
12026
|
-
S.Unknown.pipe(
|
|
12027
|
-
T.KeyDictionary({
|
|
12028
|
-
abrLevel: "abr_level",
|
|
12029
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
12030
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
12031
|
-
appId: "app_id",
|
|
12032
|
-
authorEmail: "author_email",
|
|
12033
|
-
authorId: "author_id",
|
|
12034
|
-
bodyPart: "body_part",
|
|
12035
|
-
bucketName: "bucket_name",
|
|
12036
|
-
bytesRead: "bytes_read",
|
|
12037
|
-
cache: "cache_options",
|
|
12038
|
-
capnpSchema: "capnp_schema",
|
|
12039
|
-
certId: "cert_id",
|
|
12040
|
-
certificateId: "certificate_id",
|
|
12041
|
-
className: "class_name",
|
|
12042
|
-
compatibilityDate: "compatibility_date",
|
|
12043
|
-
compatibilityFlags: "compatibility_flags",
|
|
12044
|
-
contentBase64: "content_base64",
|
|
12045
|
-
contentType: "content_type",
|
|
12046
|
-
cpuMs: "cpu_ms",
|
|
12047
|
-
createdOn: "created_on",
|
|
12048
|
-
crossAccountGrant: "cross_account_grant",
|
|
12049
|
-
crossVersionCache: "cross_version_cache",
|
|
12050
|
-
databaseId: "database_id",
|
|
12051
|
-
defaultUsageModel: "default_usage_model",
|
|
12052
|
-
deletedClasses: "deleted_classes",
|
|
12053
|
-
deliveryDelay: "delivery_delay",
|
|
12054
|
-
destinationAddress: "destination_address",
|
|
12055
|
-
destinationConf: "destination_conf",
|
|
12056
|
-
dispatchNamespace: "dispatch_namespace",
|
|
12057
|
-
documentationUrl: "documentation_url",
|
|
12058
|
-
enableTimer: "enable_timer",
|
|
12059
|
-
entryPoint: "entry_point",
|
|
12060
|
-
environmentIsDefault: "environment_is_default",
|
|
12061
|
-
environmentName: "environment_name",
|
|
12062
|
-
errorMessage: "error_message",
|
|
12063
|
-
exchangeUrl: "exchange_url",
|
|
12064
|
-
expiresAt: "expires_at",
|
|
12065
|
-
fromScript: "from_script",
|
|
12066
|
-
greenCompute: "green_compute",
|
|
12067
|
-
hasAssets: "has_assets",
|
|
12068
|
-
hasModules: "has_modules",
|
|
12069
|
-
headSamplingRate: "head_sampling_rate",
|
|
12070
|
-
htmlHandling: "html_handling",
|
|
12071
|
-
indexName: "index_name",
|
|
12072
|
-
instanceName: "instance_name",
|
|
12073
|
-
invocationLogs: "invocation_logs",
|
|
12074
|
-
keepAssets: "keep_assets",
|
|
12075
|
-
keepBindings: "keep_bindings",
|
|
12076
|
-
keyBase64: "key_base64",
|
|
12077
|
-
keyJwk: "key_jwk",
|
|
12078
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
12079
|
-
lastComplete: "last_complete",
|
|
12080
|
-
lastDeployedFrom: "last_deployed_from",
|
|
12081
|
-
lastError: "last_error",
|
|
12082
|
-
mainModule: "main_module",
|
|
12083
|
-
migrationTag: "migration_tag",
|
|
12084
|
-
minimalMode: "minimal_mode",
|
|
12085
|
-
mitigationTimeout: "mitigation_timeout",
|
|
12086
|
-
modifiedOn: "modified_on",
|
|
12087
|
-
namedHandlers: "named_handlers",
|
|
12088
|
-
namespaceId: "namespace_id",
|
|
12089
|
-
networkId: "network_id",
|
|
12090
|
-
newClasses: "new_classes",
|
|
12091
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
12092
|
-
newTag: "new_tag",
|
|
12093
|
-
notFoundHandling: "not_found_handling",
|
|
12094
|
-
oldName: "old_name",
|
|
12095
|
-
oldTag: "old_tag",
|
|
12096
|
-
perPage: "per_page",
|
|
12097
|
-
placementMode: "placement_mode",
|
|
12098
|
-
placementStatus: "placement_status",
|
|
12099
|
-
previewToken: "preview_token",
|
|
12100
|
-
previewsEnabled: "previews_enabled",
|
|
12101
|
-
propagationPolicy: "propagation_policy",
|
|
12102
|
-
queueName: "queue_name",
|
|
12103
|
-
renamedClasses: "renamed_classes",
|
|
12104
|
-
resultInfo: "result_info",
|
|
12105
|
-
rowsRead: "rows_read",
|
|
12106
|
-
runWorkerFirst: "run_worker_first",
|
|
12107
|
-
scriptName: "script_name",
|
|
12108
|
-
scriptRuntime: "script_runtime",
|
|
12109
|
-
secretName: "secret_name",
|
|
12110
|
-
serveDirectly: "serve_directly",
|
|
12111
|
-
serviceId: "service_id",
|
|
12112
|
-
serviceName: "service_name",
|
|
12113
|
-
startupTimeMs: "startup_time_ms",
|
|
12114
|
-
storeId: "store_id",
|
|
12115
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
12116
|
-
tailConsumers: "tail_consumers",
|
|
12117
|
-
tailUrl: "tail_url",
|
|
12118
|
-
totalCount: "total_count",
|
|
12119
|
-
transferredClasses: "transferred_classes",
|
|
12120
|
-
tunnelId: "tunnel_id",
|
|
12121
|
-
usageModel: "usage_model",
|
|
12122
|
-
versionId: "version_id",
|
|
12123
|
-
versionTags: "version_tags",
|
|
12124
|
-
workersDev: "workers_dev",
|
|
12125
|
-
workflowName: "workflow_name",
|
|
12126
|
-
zoneId: "zone_id",
|
|
12127
|
-
zoneName: "zone_name",
|
|
12128
|
-
}),
|
|
12129
|
-
),
|
|
12130
|
-
),
|
|
12773
|
+
migrations: S.optional(PutDispatchNamespaceScriptMetadataMigrations),
|
|
12774
|
+
observability: S.optional(PutDispatchNamespaceScriptMetadataObservability),
|
|
12775
|
+
placement: S.optional(PutDispatchNamespaceScriptMetadataPlacement),
|
|
12131
12776
|
tags: S.optional(PutDispatchNamespaceScriptMetadataStringList),
|
|
12132
12777
|
tailConsumers: S.optional(
|
|
12133
|
-
S.
|
|
12778
|
+
S.NullOr(PutDispatchNamespaceScriptMetadataTailConsumersList).pipe(
|
|
12134
12779
|
T.Body("tail_consumers"),
|
|
12135
|
-
T.KeyDictionary({
|
|
12136
|
-
abrLevel: "abr_level",
|
|
12137
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
12138
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
12139
|
-
appId: "app_id",
|
|
12140
|
-
authorEmail: "author_email",
|
|
12141
|
-
authorId: "author_id",
|
|
12142
|
-
bodyPart: "body_part",
|
|
12143
|
-
bucketName: "bucket_name",
|
|
12144
|
-
bytesRead: "bytes_read",
|
|
12145
|
-
cache: "cache_options",
|
|
12146
|
-
capnpSchema: "capnp_schema",
|
|
12147
|
-
certId: "cert_id",
|
|
12148
|
-
certificateId: "certificate_id",
|
|
12149
|
-
className: "class_name",
|
|
12150
|
-
compatibilityDate: "compatibility_date",
|
|
12151
|
-
compatibilityFlags: "compatibility_flags",
|
|
12152
|
-
contentBase64: "content_base64",
|
|
12153
|
-
contentType: "content_type",
|
|
12154
|
-
cpuMs: "cpu_ms",
|
|
12155
|
-
createdOn: "created_on",
|
|
12156
|
-
crossAccountGrant: "cross_account_grant",
|
|
12157
|
-
crossVersionCache: "cross_version_cache",
|
|
12158
|
-
databaseId: "database_id",
|
|
12159
|
-
defaultUsageModel: "default_usage_model",
|
|
12160
|
-
deletedClasses: "deleted_classes",
|
|
12161
|
-
deliveryDelay: "delivery_delay",
|
|
12162
|
-
destinationAddress: "destination_address",
|
|
12163
|
-
destinationConf: "destination_conf",
|
|
12164
|
-
dispatchNamespace: "dispatch_namespace",
|
|
12165
|
-
documentationUrl: "documentation_url",
|
|
12166
|
-
enableTimer: "enable_timer",
|
|
12167
|
-
entryPoint: "entry_point",
|
|
12168
|
-
environmentIsDefault: "environment_is_default",
|
|
12169
|
-
environmentName: "environment_name",
|
|
12170
|
-
errorMessage: "error_message",
|
|
12171
|
-
exchangeUrl: "exchange_url",
|
|
12172
|
-
expiresAt: "expires_at",
|
|
12173
|
-
fromScript: "from_script",
|
|
12174
|
-
greenCompute: "green_compute",
|
|
12175
|
-
hasAssets: "has_assets",
|
|
12176
|
-
hasModules: "has_modules",
|
|
12177
|
-
headSamplingRate: "head_sampling_rate",
|
|
12178
|
-
htmlHandling: "html_handling",
|
|
12179
|
-
indexName: "index_name",
|
|
12180
|
-
instanceName: "instance_name",
|
|
12181
|
-
invocationLogs: "invocation_logs",
|
|
12182
|
-
keepAssets: "keep_assets",
|
|
12183
|
-
keepBindings: "keep_bindings",
|
|
12184
|
-
keyBase64: "key_base64",
|
|
12185
|
-
keyJwk: "key_jwk",
|
|
12186
|
-
lastAnalyzedAt: "last_analyzed_at",
|
|
12187
|
-
lastComplete: "last_complete",
|
|
12188
|
-
lastDeployedFrom: "last_deployed_from",
|
|
12189
|
-
lastError: "last_error",
|
|
12190
|
-
mainModule: "main_module",
|
|
12191
|
-
migrationTag: "migration_tag",
|
|
12192
|
-
minimalMode: "minimal_mode",
|
|
12193
|
-
mitigationTimeout: "mitigation_timeout",
|
|
12194
|
-
modifiedOn: "modified_on",
|
|
12195
|
-
namedHandlers: "named_handlers",
|
|
12196
|
-
namespaceId: "namespace_id",
|
|
12197
|
-
networkId: "network_id",
|
|
12198
|
-
newClasses: "new_classes",
|
|
12199
|
-
newSqliteClasses: "new_sqlite_classes",
|
|
12200
|
-
newTag: "new_tag",
|
|
12201
|
-
notFoundHandling: "not_found_handling",
|
|
12202
|
-
oldName: "old_name",
|
|
12203
|
-
oldTag: "old_tag",
|
|
12204
|
-
perPage: "per_page",
|
|
12205
|
-
placementMode: "placement_mode",
|
|
12206
|
-
placementStatus: "placement_status",
|
|
12207
|
-
previewToken: "preview_token",
|
|
12208
|
-
previewsEnabled: "previews_enabled",
|
|
12209
|
-
propagationPolicy: "propagation_policy",
|
|
12210
|
-
queueName: "queue_name",
|
|
12211
|
-
renamedClasses: "renamed_classes",
|
|
12212
|
-
resultInfo: "result_info",
|
|
12213
|
-
rowsRead: "rows_read",
|
|
12214
|
-
runWorkerFirst: "run_worker_first",
|
|
12215
|
-
scriptName: "script_name",
|
|
12216
|
-
scriptRuntime: "script_runtime",
|
|
12217
|
-
secretName: "secret_name",
|
|
12218
|
-
serveDirectly: "serve_directly",
|
|
12219
|
-
serviceId: "service_id",
|
|
12220
|
-
serviceName: "service_name",
|
|
12221
|
-
startupTimeMs: "startup_time_ms",
|
|
12222
|
-
storeId: "store_id",
|
|
12223
|
-
streamingTailConsumers: "streaming_tail_consumers",
|
|
12224
|
-
tailConsumers: "tail_consumers",
|
|
12225
|
-
tailUrl: "tail_url",
|
|
12226
|
-
totalCount: "total_count",
|
|
12227
|
-
transferredClasses: "transferred_classes",
|
|
12228
|
-
tunnelId: "tunnel_id",
|
|
12229
|
-
usageModel: "usage_model",
|
|
12230
|
-
versionId: "version_id",
|
|
12231
|
-
versionTags: "version_tags",
|
|
12232
|
-
workersDev: "workers_dev",
|
|
12233
|
-
workflowName: "workflow_name",
|
|
12234
|
-
zoneId: "zone_id",
|
|
12235
|
-
zoneName: "zone_name",
|
|
12236
|
-
}),
|
|
12237
12780
|
),
|
|
12238
12781
|
),
|
|
12239
|
-
usageModel: S.optional(
|
|
12782
|
+
usageModel: S.optional(
|
|
12783
|
+
PutDispatchNamespaceScriptMetadataUsageModel.pipe(T.Body("usage_model")),
|
|
12784
|
+
),
|
|
12785
|
+
cacheOptions: S.optional(
|
|
12786
|
+
PutDispatchNamespaceScriptMetadataCache.pipe(T.Body("cache_options")),
|
|
12787
|
+
),
|
|
12788
|
+
streamingTailConsumers: S.optional(
|
|
12789
|
+
S.NullOr(
|
|
12790
|
+
PutDispatchNamespaceScriptMetadataStreamingTailConsumersList,
|
|
12791
|
+
).pipe(T.Body("streaming_tail_consumers")),
|
|
12792
|
+
),
|
|
12240
12793
|
}),
|
|
12241
12794
|
).annotate({
|
|
12242
12795
|
identifier: "PutDispatchNamespaceScriptMetadata",
|