@distilled.cloud/cloudflare 0.16.3 → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/api.d.ts.map +1 -1
- package/lib/client/api.js +29 -3
- package/lib/client/api.js.map +1 -1
- package/lib/services/ai.js +25 -25
- package/lib/services/ai.js.map +1 -1
- package/lib/services/api-gateway.js +84 -84
- package/lib/services/api-gateway.js.map +1 -1
- package/lib/services/connectivity.js +12 -12
- package/lib/services/connectivity.js.map +1 -1
- package/lib/services/dns.js +439 -439
- package/lib/services/dns.js.map +1 -1
- package/lib/services/firewall.js +76 -76
- package/lib/services/firewall.js.map +1 -1
- package/lib/services/hyperdrive.js +26 -26
- package/lib/services/hyperdrive.js.map +1 -1
- package/lib/services/magic-cloud-networking.js +7 -7
- package/lib/services/magic-cloud-networking.js.map +1 -1
- package/lib/services/magic-transit.js +8 -8
- package/lib/services/magic-transit.js.map +1 -1
- package/lib/services/pipelines.js +101 -101
- package/lib/services/pipelines.js.map +1 -1
- package/lib/services/radar.js +32 -32
- package/lib/services/radar.js.map +1 -1
- package/lib/services/realtime-kit.js +5 -5
- package/lib/services/realtime-kit.js.map +1 -1
- package/lib/services/rules.js +4 -4
- package/lib/services/rules.js.map +1 -1
- package/lib/services/token-validation.js +84 -84
- package/lib/services/token-validation.js.map +1 -1
- package/lib/services/workers-for-platforms.js +438 -438
- package/lib/services/workers-for-platforms.js.map +1 -1
- package/lib/services/workers.js +1207 -1207
- package/lib/services/workers.js.map +1 -1
- package/lib/services/workflows.js +9 -9
- package/lib/services/workflows.js.map +1 -1
- package/lib/services/zero-trust.js +3979 -3979
- package/lib/services/zero-trust.js.map +1 -1
- package/lib/services/zones.js +50 -50
- package/lib/services/zones.js.map +1 -1
- package/package.json +6 -6
- package/src/client/api.ts +30 -3
- package/src/services/ai.ts +35 -35
- package/src/services/api-gateway.ts +130 -130
- package/src/services/connectivity.ts +12 -12
- package/src/services/dns.ts +523 -523
- package/src/services/firewall.ts +80 -80
- package/src/services/hyperdrive.ts +28 -28
- package/src/services/magic-cloud-networking.ts +8 -8
- package/src/services/magic-transit.ts +8 -8
- package/src/services/pipelines.ts +149 -149
- package/src/services/radar.ts +32 -32
- package/src/services/realtime-kit.ts +5 -5
- package/src/services/rules.ts +4 -4
- package/src/services/token-validation.ts +84 -84
- package/src/services/workers-for-platforms.ts +555 -555
- package/src/services/workers.ts +1524 -1524
- package/src/services/workflows.ts +9 -9
- package/src/services/zero-trust.ts +5599 -5599
- package/src/services/zones.ts +74 -74
|
@@ -912,21 +912,52 @@ export const PutDispatchNamespaceScriptRequest =
|
|
|
912
912
|
Schema.Array(
|
|
913
913
|
Schema.Union([
|
|
914
914
|
Schema.Struct({
|
|
915
|
+
algorithm: Schema.Unknown,
|
|
916
|
+
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
915
917
|
name: Schema.String,
|
|
916
|
-
type: Schema.Literal("
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
918
|
+
type: Schema.Literal("secret_key"),
|
|
919
|
+
usages: Schema.Array(
|
|
920
|
+
Schema.Literals([
|
|
921
|
+
"encrypt",
|
|
922
|
+
"decrypt",
|
|
923
|
+
"sign",
|
|
924
|
+
"verify",
|
|
925
|
+
"deriveKey",
|
|
926
|
+
"deriveBits",
|
|
927
|
+
"wrapKey",
|
|
928
|
+
"unwrapKey",
|
|
929
|
+
]),
|
|
930
|
+
),
|
|
931
|
+
keyBase64: Schema.optional(Schema.String),
|
|
932
|
+
keyJwk: Schema.optional(Schema.Unknown),
|
|
933
|
+
}).pipe(
|
|
934
|
+
Schema.encodeKeys({
|
|
935
|
+
algorithm: "algorithm",
|
|
936
|
+
format: "format",
|
|
937
|
+
name: "name",
|
|
938
|
+
type: "type",
|
|
939
|
+
usages: "usages",
|
|
940
|
+
keyBase64: "key_base64",
|
|
941
|
+
keyJwk: "key_jwk",
|
|
942
|
+
}),
|
|
943
|
+
),
|
|
923
944
|
Schema.Struct({
|
|
924
945
|
name: Schema.String,
|
|
925
|
-
|
|
926
|
-
|
|
946
|
+
secretName: Schema.String,
|
|
947
|
+
storeId: Schema.String,
|
|
948
|
+
type: Schema.Literal("secrets_store_secret"),
|
|
949
|
+
}).pipe(
|
|
950
|
+
Schema.encodeKeys({
|
|
951
|
+
name: "name",
|
|
952
|
+
secretName: "secret_name",
|
|
953
|
+
storeId: "store_id",
|
|
954
|
+
type: "type",
|
|
955
|
+
}),
|
|
956
|
+
),
|
|
927
957
|
Schema.Struct({
|
|
958
|
+
dataset: Schema.String,
|
|
928
959
|
name: Schema.String,
|
|
929
|
-
type: Schema.Literal("
|
|
960
|
+
type: Schema.Literal("analytics_engine"),
|
|
930
961
|
}),
|
|
931
962
|
Schema.Struct({
|
|
932
963
|
id: Schema.String,
|
|
@@ -954,45 +985,11 @@ export const PutDispatchNamespaceScriptRequest =
|
|
|
954
985
|
}),
|
|
955
986
|
),
|
|
956
987
|
}),
|
|
957
|
-
Schema.Struct({
|
|
958
|
-
name: Schema.String,
|
|
959
|
-
type: Schema.Literal("durable_object_namespace"),
|
|
960
|
-
className: Schema.optional(Schema.String),
|
|
961
|
-
environment: Schema.optional(Schema.String),
|
|
962
|
-
namespaceId: Schema.optional(Schema.String),
|
|
963
|
-
scriptName: Schema.optional(Schema.String),
|
|
964
|
-
}).pipe(
|
|
965
|
-
Schema.encodeKeys({
|
|
966
|
-
name: "name",
|
|
967
|
-
type: "type",
|
|
968
|
-
className: "class_name",
|
|
969
|
-
environment: "environment",
|
|
970
|
-
namespaceId: "namespace_id",
|
|
971
|
-
scriptName: "script_name",
|
|
972
|
-
}),
|
|
973
|
-
),
|
|
974
988
|
Schema.Struct({
|
|
975
989
|
id: Schema.String,
|
|
976
990
|
name: Schema.String,
|
|
977
991
|
type: Schema.Literal("hyperdrive"),
|
|
978
992
|
}),
|
|
979
|
-
Schema.Struct({
|
|
980
|
-
name: Schema.String,
|
|
981
|
-
type: Schema.Literal("inherit"),
|
|
982
|
-
oldName: Schema.optional(Schema.String),
|
|
983
|
-
versionId: Schema.optional(Schema.String),
|
|
984
|
-
}).pipe(
|
|
985
|
-
Schema.encodeKeys({
|
|
986
|
-
name: "name",
|
|
987
|
-
type: "type",
|
|
988
|
-
oldName: "old_name",
|
|
989
|
-
versionId: "version_id",
|
|
990
|
-
}),
|
|
991
|
-
),
|
|
992
|
-
Schema.Struct({
|
|
993
|
-
name: Schema.String,
|
|
994
|
-
type: Schema.Literal("images"),
|
|
995
|
-
}),
|
|
996
993
|
Schema.Struct({
|
|
997
994
|
json: Schema.String,
|
|
998
995
|
name: Schema.String,
|
|
@@ -1059,25 +1056,6 @@ export const PutDispatchNamespaceScriptRequest =
|
|
|
1059
1056
|
text: Schema.String,
|
|
1060
1057
|
type: Schema.Literal("secret_text"),
|
|
1061
1058
|
}),
|
|
1062
|
-
Schema.Struct({
|
|
1063
|
-
name: Schema.String,
|
|
1064
|
-
type: Schema.Literal("send_email"),
|
|
1065
|
-
allowedDestinationAddresses: Schema.optional(
|
|
1066
|
-
Schema.Array(Schema.String),
|
|
1067
|
-
),
|
|
1068
|
-
allowedSenderAddresses: Schema.optional(
|
|
1069
|
-
Schema.Array(Schema.String),
|
|
1070
|
-
),
|
|
1071
|
-
destinationAddress: Schema.optional(Schema.String),
|
|
1072
|
-
}).pipe(
|
|
1073
|
-
Schema.encodeKeys({
|
|
1074
|
-
name: "name",
|
|
1075
|
-
type: "type",
|
|
1076
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
1077
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
1078
|
-
destinationAddress: "destination_address",
|
|
1079
|
-
}),
|
|
1080
|
-
),
|
|
1081
1059
|
Schema.Struct({
|
|
1082
1060
|
name: Schema.String,
|
|
1083
1061
|
service: Schema.String,
|
|
@@ -1102,70 +1080,92 @@ export const PutDispatchNamespaceScriptRequest =
|
|
|
1102
1080
|
),
|
|
1103
1081
|
Schema.Struct({
|
|
1104
1082
|
name: Schema.String,
|
|
1105
|
-
type: Schema.Literal("
|
|
1083
|
+
type: Schema.Literal("workflow"),
|
|
1084
|
+
workflowName: Schema.String,
|
|
1085
|
+
className: Schema.optional(Schema.String),
|
|
1086
|
+
scriptName: Schema.optional(Schema.String),
|
|
1087
|
+
}).pipe(
|
|
1088
|
+
Schema.encodeKeys({
|
|
1089
|
+
name: "name",
|
|
1090
|
+
type: "type",
|
|
1091
|
+
workflowName: "workflow_name",
|
|
1092
|
+
className: "class_name",
|
|
1093
|
+
scriptName: "script_name",
|
|
1094
|
+
}),
|
|
1095
|
+
),
|
|
1096
|
+
Schema.Struct({
|
|
1097
|
+
name: Schema.String,
|
|
1098
|
+
part: Schema.String,
|
|
1099
|
+
type: Schema.Literal("wasm_module"),
|
|
1106
1100
|
}),
|
|
1107
1101
|
Schema.Struct({
|
|
1108
1102
|
name: Schema.String,
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1103
|
+
type: Schema.Literal("ai"),
|
|
1104
|
+
}),
|
|
1105
|
+
Schema.Struct({
|
|
1106
|
+
name: Schema.String,
|
|
1107
|
+
type: Schema.Literal("assets"),
|
|
1108
|
+
}),
|
|
1109
|
+
Schema.Struct({
|
|
1110
|
+
name: Schema.String,
|
|
1111
|
+
type: Schema.Literal("browser"),
|
|
1112
|
+
}),
|
|
1113
|
+
Schema.Struct({
|
|
1114
|
+
name: Schema.String,
|
|
1115
|
+
type: Schema.Literal("durable_object_namespace"),
|
|
1116
|
+
className: Schema.optional(Schema.String),
|
|
1117
|
+
environment: Schema.optional(Schema.String),
|
|
1118
|
+
namespaceId: Schema.optional(Schema.String),
|
|
1119
|
+
scriptName: Schema.optional(Schema.String),
|
|
1112
1120
|
}).pipe(
|
|
1113
1121
|
Schema.encodeKeys({
|
|
1114
1122
|
name: "name",
|
|
1115
|
-
secretName: "secret_name",
|
|
1116
|
-
storeId: "store_id",
|
|
1117
1123
|
type: "type",
|
|
1124
|
+
className: "class_name",
|
|
1125
|
+
environment: "environment",
|
|
1126
|
+
namespaceId: "namespace_id",
|
|
1127
|
+
scriptName: "script_name",
|
|
1118
1128
|
}),
|
|
1119
1129
|
),
|
|
1120
1130
|
Schema.Struct({
|
|
1121
|
-
algorithm: Schema.Unknown,
|
|
1122
|
-
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
1123
1131
|
name: Schema.String,
|
|
1124
|
-
type: Schema.Literal("
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
"encrypt",
|
|
1128
|
-
"decrypt",
|
|
1129
|
-
"sign",
|
|
1130
|
-
"verify",
|
|
1131
|
-
"deriveKey",
|
|
1132
|
-
"deriveBits",
|
|
1133
|
-
"wrapKey",
|
|
1134
|
-
"unwrapKey",
|
|
1135
|
-
]),
|
|
1136
|
-
),
|
|
1137
|
-
keyBase64: Schema.optional(Schema.String),
|
|
1138
|
-
keyJwk: Schema.optional(Schema.Unknown),
|
|
1132
|
+
type: Schema.Literal("inherit"),
|
|
1133
|
+
oldName: Schema.optional(Schema.String),
|
|
1134
|
+
versionId: Schema.optional(Schema.String),
|
|
1139
1135
|
}).pipe(
|
|
1140
1136
|
Schema.encodeKeys({
|
|
1141
|
-
algorithm: "algorithm",
|
|
1142
|
-
format: "format",
|
|
1143
1137
|
name: "name",
|
|
1144
1138
|
type: "type",
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
keyJwk: "key_jwk",
|
|
1139
|
+
oldName: "old_name",
|
|
1140
|
+
versionId: "version_id",
|
|
1148
1141
|
}),
|
|
1149
1142
|
),
|
|
1150
1143
|
Schema.Struct({
|
|
1151
1144
|
name: Schema.String,
|
|
1152
|
-
type: Schema.Literal("
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1145
|
+
type: Schema.Literal("images"),
|
|
1146
|
+
}),
|
|
1147
|
+
Schema.Struct({
|
|
1148
|
+
name: Schema.String,
|
|
1149
|
+
type: Schema.Literal("send_email"),
|
|
1150
|
+
allowedDestinationAddresses: Schema.optional(
|
|
1151
|
+
Schema.Array(Schema.String),
|
|
1152
|
+
),
|
|
1153
|
+
allowedSenderAddresses: Schema.optional(
|
|
1154
|
+
Schema.Array(Schema.String),
|
|
1155
|
+
),
|
|
1156
|
+
destinationAddress: Schema.optional(Schema.String),
|
|
1156
1157
|
}).pipe(
|
|
1157
1158
|
Schema.encodeKeys({
|
|
1158
1159
|
name: "name",
|
|
1159
1160
|
type: "type",
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1161
|
+
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
1162
|
+
allowedSenderAddresses: "allowed_sender_addresses",
|
|
1163
|
+
destinationAddress: "destination_address",
|
|
1163
1164
|
}),
|
|
1164
1165
|
),
|
|
1165
1166
|
Schema.Struct({
|
|
1166
1167
|
name: Schema.String,
|
|
1167
|
-
|
|
1168
|
-
type: Schema.Literal("wasm_module"),
|
|
1168
|
+
type: Schema.Literal("version_metadata"),
|
|
1169
1169
|
}),
|
|
1170
1170
|
]),
|
|
1171
1171
|
),
|
|
@@ -1965,21 +1965,40 @@ export const GetDispatchNamespaceScriptBindingResponse =
|
|
|
1965
1965
|
result: Schema.Array(
|
|
1966
1966
|
Schema.Union([
|
|
1967
1967
|
Schema.Struct({
|
|
1968
|
+
algorithm: Schema.Unknown,
|
|
1969
|
+
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
1968
1970
|
name: Schema.String,
|
|
1969
|
-
type: Schema.Literal("
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1971
|
+
type: Schema.Literal("secret_key"),
|
|
1972
|
+
usages: Schema.Array(
|
|
1973
|
+
Schema.Literals([
|
|
1974
|
+
"encrypt",
|
|
1975
|
+
"decrypt",
|
|
1976
|
+
"sign",
|
|
1977
|
+
"verify",
|
|
1978
|
+
"deriveKey",
|
|
1979
|
+
"deriveBits",
|
|
1980
|
+
"wrapKey",
|
|
1981
|
+
"unwrapKey",
|
|
1982
|
+
]),
|
|
1983
|
+
),
|
|
1975
1984
|
}),
|
|
1976
1985
|
Schema.Struct({
|
|
1977
1986
|
name: Schema.String,
|
|
1978
|
-
|
|
1979
|
-
|
|
1987
|
+
secretName: Schema.String,
|
|
1988
|
+
storeId: Schema.String,
|
|
1989
|
+
type: Schema.Literal("secrets_store_secret"),
|
|
1990
|
+
}).pipe(
|
|
1991
|
+
Schema.encodeKeys({
|
|
1992
|
+
name: "name",
|
|
1993
|
+
secretName: "secret_name",
|
|
1994
|
+
storeId: "store_id",
|
|
1995
|
+
type: "type",
|
|
1996
|
+
}),
|
|
1997
|
+
),
|
|
1980
1998
|
Schema.Struct({
|
|
1999
|
+
dataset: Schema.String,
|
|
1981
2000
|
name: Schema.String,
|
|
1982
|
-
type: Schema.Literal("
|
|
2001
|
+
type: Schema.Literal("analytics_engine"),
|
|
1983
2002
|
}),
|
|
1984
2003
|
Schema.Struct({
|
|
1985
2004
|
id: Schema.String,
|
|
@@ -2020,54 +2039,10 @@ export const GetDispatchNamespaceScriptBindingResponse =
|
|
|
2020
2039
|
),
|
|
2021
2040
|
}),
|
|
2022
2041
|
Schema.Struct({
|
|
2023
|
-
|
|
2024
|
-
type: Schema.Literal("durable_object_namespace"),
|
|
2025
|
-
className: Schema.optional(
|
|
2026
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2027
|
-
),
|
|
2028
|
-
environment: Schema.optional(
|
|
2029
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2030
|
-
),
|
|
2031
|
-
namespaceId: Schema.optional(
|
|
2032
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2033
|
-
),
|
|
2034
|
-
scriptName: Schema.optional(
|
|
2035
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2036
|
-
),
|
|
2037
|
-
}).pipe(
|
|
2038
|
-
Schema.encodeKeys({
|
|
2039
|
-
name: "name",
|
|
2040
|
-
type: "type",
|
|
2041
|
-
className: "class_name",
|
|
2042
|
-
environment: "environment",
|
|
2043
|
-
namespaceId: "namespace_id",
|
|
2044
|
-
scriptName: "script_name",
|
|
2045
|
-
}),
|
|
2046
|
-
),
|
|
2047
|
-
Schema.Struct({
|
|
2048
|
-
id: Schema.String,
|
|
2042
|
+
id: Schema.String,
|
|
2049
2043
|
name: Schema.String,
|
|
2050
2044
|
type: Schema.Literal("hyperdrive"),
|
|
2051
2045
|
}),
|
|
2052
|
-
Schema.Struct({
|
|
2053
|
-
name: Schema.String,
|
|
2054
|
-
type: Schema.Literal("inherit"),
|
|
2055
|
-
oldName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2056
|
-
versionId: Schema.optional(
|
|
2057
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2058
|
-
),
|
|
2059
|
-
}).pipe(
|
|
2060
|
-
Schema.encodeKeys({
|
|
2061
|
-
name: "name",
|
|
2062
|
-
type: "type",
|
|
2063
|
-
oldName: "old_name",
|
|
2064
|
-
versionId: "version_id",
|
|
2065
|
-
}),
|
|
2066
|
-
),
|
|
2067
|
-
Schema.Struct({
|
|
2068
|
-
name: Schema.String,
|
|
2069
|
-
type: Schema.Literal("images"),
|
|
2070
|
-
}),
|
|
2071
2046
|
Schema.Struct({
|
|
2072
2047
|
json: Schema.String,
|
|
2073
2048
|
name: Schema.String,
|
|
@@ -2131,31 +2106,6 @@ export const GetDispatchNamespaceScriptBindingResponse =
|
|
|
2131
2106
|
jurisdiction: "jurisdiction",
|
|
2132
2107
|
}),
|
|
2133
2108
|
),
|
|
2134
|
-
Schema.Struct({
|
|
2135
|
-
name: Schema.String,
|
|
2136
|
-
type: Schema.Literal("secret_text"),
|
|
2137
|
-
}),
|
|
2138
|
-
Schema.Struct({
|
|
2139
|
-
name: Schema.String,
|
|
2140
|
-
type: Schema.Literal("send_email"),
|
|
2141
|
-
allowedDestinationAddresses: Schema.optional(
|
|
2142
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2143
|
-
),
|
|
2144
|
-
allowedSenderAddresses: Schema.optional(
|
|
2145
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2146
|
-
),
|
|
2147
|
-
destinationAddress: Schema.optional(
|
|
2148
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
2149
|
-
),
|
|
2150
|
-
}).pipe(
|
|
2151
|
-
Schema.encodeKeys({
|
|
2152
|
-
name: "name",
|
|
2153
|
-
type: "type",
|
|
2154
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
2155
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
2156
|
-
destinationAddress: "destination_address",
|
|
2157
|
-
}),
|
|
2158
|
-
),
|
|
2159
2109
|
Schema.Struct({
|
|
2160
2110
|
name: Schema.String,
|
|
2161
2111
|
service: Schema.String,
|
|
@@ -2182,46 +2132,52 @@ export const GetDispatchNamespaceScriptBindingResponse =
|
|
|
2182
2132
|
),
|
|
2183
2133
|
Schema.Struct({
|
|
2184
2134
|
name: Schema.String,
|
|
2185
|
-
type: Schema.Literal("
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2135
|
+
type: Schema.Literal("workflow"),
|
|
2136
|
+
workflowName: Schema.String,
|
|
2137
|
+
className: Schema.optional(
|
|
2138
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2139
|
+
),
|
|
2140
|
+
scriptName: Schema.optional(
|
|
2141
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2142
|
+
),
|
|
2192
2143
|
}).pipe(
|
|
2193
2144
|
Schema.encodeKeys({
|
|
2194
2145
|
name: "name",
|
|
2195
|
-
secretName: "secret_name",
|
|
2196
|
-
storeId: "store_id",
|
|
2197
2146
|
type: "type",
|
|
2147
|
+
workflowName: "workflow_name",
|
|
2148
|
+
className: "class_name",
|
|
2149
|
+
scriptName: "script_name",
|
|
2198
2150
|
}),
|
|
2199
2151
|
),
|
|
2200
2152
|
Schema.Struct({
|
|
2201
|
-
algorithm: Schema.Unknown,
|
|
2202
|
-
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
2203
2153
|
name: Schema.String,
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
Schema.Literals([
|
|
2207
|
-
"encrypt",
|
|
2208
|
-
"decrypt",
|
|
2209
|
-
"sign",
|
|
2210
|
-
"verify",
|
|
2211
|
-
"deriveKey",
|
|
2212
|
-
"deriveBits",
|
|
2213
|
-
"wrapKey",
|
|
2214
|
-
"unwrapKey",
|
|
2215
|
-
]),
|
|
2216
|
-
),
|
|
2154
|
+
part: Schema.String,
|
|
2155
|
+
type: Schema.Literal("wasm_module"),
|
|
2217
2156
|
}),
|
|
2218
2157
|
Schema.Struct({
|
|
2219
2158
|
name: Schema.String,
|
|
2220
|
-
type: Schema.Literal("
|
|
2221
|
-
|
|
2159
|
+
type: Schema.Literal("ai"),
|
|
2160
|
+
}),
|
|
2161
|
+
Schema.Struct({
|
|
2162
|
+
name: Schema.String,
|
|
2163
|
+
type: Schema.Literal("assets"),
|
|
2164
|
+
}),
|
|
2165
|
+
Schema.Struct({
|
|
2166
|
+
name: Schema.String,
|
|
2167
|
+
type: Schema.Literal("browser"),
|
|
2168
|
+
}),
|
|
2169
|
+
Schema.Struct({
|
|
2170
|
+
name: Schema.String,
|
|
2171
|
+
type: Schema.Literal("durable_object_namespace"),
|
|
2222
2172
|
className: Schema.optional(
|
|
2223
2173
|
Schema.Union([Schema.String, Schema.Null]),
|
|
2224
2174
|
),
|
|
2175
|
+
environment: Schema.optional(
|
|
2176
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2177
|
+
),
|
|
2178
|
+
namespaceId: Schema.optional(
|
|
2179
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2180
|
+
),
|
|
2225
2181
|
scriptName: Schema.optional(
|
|
2226
2182
|
Schema.Union([Schema.String, Schema.Null]),
|
|
2227
2183
|
),
|
|
@@ -2229,15 +2185,59 @@ export const GetDispatchNamespaceScriptBindingResponse =
|
|
|
2229
2185
|
Schema.encodeKeys({
|
|
2230
2186
|
name: "name",
|
|
2231
2187
|
type: "type",
|
|
2232
|
-
workflowName: "workflow_name",
|
|
2233
2188
|
className: "class_name",
|
|
2189
|
+
environment: "environment",
|
|
2190
|
+
namespaceId: "namespace_id",
|
|
2234
2191
|
scriptName: "script_name",
|
|
2235
2192
|
}),
|
|
2236
2193
|
),
|
|
2237
2194
|
Schema.Struct({
|
|
2238
2195
|
name: Schema.String,
|
|
2239
|
-
|
|
2240
|
-
|
|
2196
|
+
type: Schema.Literal("inherit"),
|
|
2197
|
+
oldName: Schema.optional(Schema.Union([Schema.String, Schema.Null])),
|
|
2198
|
+
versionId: Schema.optional(
|
|
2199
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2200
|
+
),
|
|
2201
|
+
}).pipe(
|
|
2202
|
+
Schema.encodeKeys({
|
|
2203
|
+
name: "name",
|
|
2204
|
+
type: "type",
|
|
2205
|
+
oldName: "old_name",
|
|
2206
|
+
versionId: "version_id",
|
|
2207
|
+
}),
|
|
2208
|
+
),
|
|
2209
|
+
Schema.Struct({
|
|
2210
|
+
name: Schema.String,
|
|
2211
|
+
type: Schema.Literal("images"),
|
|
2212
|
+
}),
|
|
2213
|
+
Schema.Struct({
|
|
2214
|
+
name: Schema.String,
|
|
2215
|
+
type: Schema.Literal("secret_text"),
|
|
2216
|
+
}),
|
|
2217
|
+
Schema.Struct({
|
|
2218
|
+
name: Schema.String,
|
|
2219
|
+
type: Schema.Literal("send_email"),
|
|
2220
|
+
allowedDestinationAddresses: Schema.optional(
|
|
2221
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2222
|
+
),
|
|
2223
|
+
allowedSenderAddresses: Schema.optional(
|
|
2224
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
2225
|
+
),
|
|
2226
|
+
destinationAddress: Schema.optional(
|
|
2227
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
2228
|
+
),
|
|
2229
|
+
}).pipe(
|
|
2230
|
+
Schema.encodeKeys({
|
|
2231
|
+
name: "name",
|
|
2232
|
+
type: "type",
|
|
2233
|
+
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
2234
|
+
allowedSenderAddresses: "allowed_sender_addresses",
|
|
2235
|
+
destinationAddress: "destination_address",
|
|
2236
|
+
}),
|
|
2237
|
+
),
|
|
2238
|
+
Schema.Struct({
|
|
2239
|
+
name: Schema.String,
|
|
2240
|
+
type: Schema.Literal("version_metadata"),
|
|
2241
2241
|
}),
|
|
2242
2242
|
]),
|
|
2243
2243
|
),
|
|
@@ -2752,10 +2752,6 @@ export type GetDispatchNamespaceScriptSecretResponse =
|
|
|
2752
2752
|
|
|
2753
2753
|
export const GetDispatchNamespaceScriptSecretResponse =
|
|
2754
2754
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
2755
|
-
Schema.Struct({
|
|
2756
|
-
name: Schema.String,
|
|
2757
|
-
type: Schema.Literal("secret_text"),
|
|
2758
|
-
}),
|
|
2759
2755
|
Schema.Struct({
|
|
2760
2756
|
algorithm: Schema.Unknown,
|
|
2761
2757
|
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -2774,6 +2770,10 @@ export const GetDispatchNamespaceScriptSecretResponse =
|
|
|
2774
2770
|
]),
|
|
2775
2771
|
),
|
|
2776
2772
|
}),
|
|
2773
|
+
Schema.Struct({
|
|
2774
|
+
name: Schema.String,
|
|
2775
|
+
type: Schema.Literal("secret_text"),
|
|
2776
|
+
}),
|
|
2777
2777
|
]).pipe(
|
|
2778
2778
|
T.ResponsePath("result"),
|
|
2779
2779
|
) as unknown as Schema.Schema<GetDispatchNamespaceScriptSecretResponse>;
|
|
@@ -2836,10 +2836,6 @@ export const ListDispatchNamespaceScriptSecretsResponse =
|
|
|
2836
2836
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2837
2837
|
result: Schema.Array(
|
|
2838
2838
|
Schema.Union([
|
|
2839
|
-
Schema.Struct({
|
|
2840
|
-
name: Schema.String,
|
|
2841
|
-
type: Schema.Literal("secret_text"),
|
|
2842
|
-
}),
|
|
2843
2839
|
Schema.Struct({
|
|
2844
2840
|
algorithm: Schema.Unknown,
|
|
2845
2841
|
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -2858,6 +2854,10 @@ export const ListDispatchNamespaceScriptSecretsResponse =
|
|
|
2858
2854
|
]),
|
|
2859
2855
|
),
|
|
2860
2856
|
}),
|
|
2857
|
+
Schema.Struct({
|
|
2858
|
+
name: Schema.String,
|
|
2859
|
+
type: Schema.Literal("secret_text"),
|
|
2860
|
+
}),
|
|
2861
2861
|
]),
|
|
2862
2862
|
),
|
|
2863
2863
|
}) as unknown as Schema.Schema<ListDispatchNamespaceScriptSecretsResponse>;
|
|
@@ -2928,10 +2928,6 @@ export type PutDispatchNamespaceScriptSecretResponse =
|
|
|
2928
2928
|
|
|
2929
2929
|
export const PutDispatchNamespaceScriptSecretResponse =
|
|
2930
2930
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Union([
|
|
2931
|
-
Schema.Struct({
|
|
2932
|
-
name: Schema.String,
|
|
2933
|
-
type: Schema.Literal("secret_text"),
|
|
2934
|
-
}),
|
|
2935
2931
|
Schema.Struct({
|
|
2936
2932
|
algorithm: Schema.Unknown,
|
|
2937
2933
|
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
@@ -2950,6 +2946,10 @@ export const PutDispatchNamespaceScriptSecretResponse =
|
|
|
2950
2946
|
]),
|
|
2951
2947
|
),
|
|
2952
2948
|
}),
|
|
2949
|
+
Schema.Struct({
|
|
2950
|
+
name: Schema.String,
|
|
2951
|
+
type: Schema.Literal("secret_text"),
|
|
2952
|
+
}),
|
|
2953
2953
|
]).pipe(
|
|
2954
2954
|
T.ResponsePath("result"),
|
|
2955
2955
|
) as unknown as Schema.Schema<PutDispatchNamespaceScriptSecretResponse>;
|
|
@@ -3183,21 +3183,40 @@ export const GetDispatchNamespaceScriptSettingResponse =
|
|
|
3183
3183
|
Schema.Array(
|
|
3184
3184
|
Schema.Union([
|
|
3185
3185
|
Schema.Struct({
|
|
3186
|
+
algorithm: Schema.Unknown,
|
|
3187
|
+
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
3186
3188
|
name: Schema.String,
|
|
3187
|
-
type: Schema.Literal("
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3189
|
+
type: Schema.Literal("secret_key"),
|
|
3190
|
+
usages: Schema.Array(
|
|
3191
|
+
Schema.Literals([
|
|
3192
|
+
"encrypt",
|
|
3193
|
+
"decrypt",
|
|
3194
|
+
"sign",
|
|
3195
|
+
"verify",
|
|
3196
|
+
"deriveKey",
|
|
3197
|
+
"deriveBits",
|
|
3198
|
+
"wrapKey",
|
|
3199
|
+
"unwrapKey",
|
|
3200
|
+
]),
|
|
3201
|
+
),
|
|
3193
3202
|
}),
|
|
3194
3203
|
Schema.Struct({
|
|
3195
3204
|
name: Schema.String,
|
|
3196
|
-
|
|
3197
|
-
|
|
3205
|
+
secretName: Schema.String,
|
|
3206
|
+
storeId: Schema.String,
|
|
3207
|
+
type: Schema.Literal("secrets_store_secret"),
|
|
3208
|
+
}).pipe(
|
|
3209
|
+
Schema.encodeKeys({
|
|
3210
|
+
name: "name",
|
|
3211
|
+
secretName: "secret_name",
|
|
3212
|
+
storeId: "store_id",
|
|
3213
|
+
type: "type",
|
|
3214
|
+
}),
|
|
3215
|
+
),
|
|
3198
3216
|
Schema.Struct({
|
|
3217
|
+
dataset: Schema.String,
|
|
3199
3218
|
name: Schema.String,
|
|
3200
|
-
type: Schema.Literal("
|
|
3219
|
+
type: Schema.Literal("analytics_engine"),
|
|
3201
3220
|
}),
|
|
3202
3221
|
Schema.Struct({
|
|
3203
3222
|
id: Schema.String,
|
|
@@ -3238,74 +3257,28 @@ export const GetDispatchNamespaceScriptSettingResponse =
|
|
|
3238
3257
|
),
|
|
3239
3258
|
}),
|
|
3240
3259
|
Schema.Struct({
|
|
3260
|
+
id: Schema.String,
|
|
3241
3261
|
name: Schema.String,
|
|
3242
|
-
type: Schema.Literal("
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3254
|
-
),
|
|
3262
|
+
type: Schema.Literal("hyperdrive"),
|
|
3263
|
+
}),
|
|
3264
|
+
Schema.Struct({
|
|
3265
|
+
json: Schema.String,
|
|
3266
|
+
name: Schema.String,
|
|
3267
|
+
type: Schema.Literal("json"),
|
|
3268
|
+
}),
|
|
3269
|
+
Schema.Struct({
|
|
3270
|
+
name: Schema.String,
|
|
3271
|
+
namespaceId: Schema.String,
|
|
3272
|
+
type: Schema.Literal("kv_namespace"),
|
|
3255
3273
|
}).pipe(
|
|
3256
3274
|
Schema.encodeKeys({
|
|
3257
3275
|
name: "name",
|
|
3258
|
-
type: "type",
|
|
3259
|
-
className: "class_name",
|
|
3260
|
-
environment: "environment",
|
|
3261
3276
|
namespaceId: "namespace_id",
|
|
3262
|
-
|
|
3277
|
+
type: "type",
|
|
3263
3278
|
}),
|
|
3264
3279
|
),
|
|
3265
3280
|
Schema.Struct({
|
|
3266
|
-
|
|
3267
|
-
name: Schema.String,
|
|
3268
|
-
type: Schema.Literal("hyperdrive"),
|
|
3269
|
-
}),
|
|
3270
|
-
Schema.Struct({
|
|
3271
|
-
name: Schema.String,
|
|
3272
|
-
type: Schema.Literal("inherit"),
|
|
3273
|
-
oldName: Schema.optional(
|
|
3274
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3275
|
-
),
|
|
3276
|
-
versionId: Schema.optional(
|
|
3277
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3278
|
-
),
|
|
3279
|
-
}).pipe(
|
|
3280
|
-
Schema.encodeKeys({
|
|
3281
|
-
name: "name",
|
|
3282
|
-
type: "type",
|
|
3283
|
-
oldName: "old_name",
|
|
3284
|
-
versionId: "version_id",
|
|
3285
|
-
}),
|
|
3286
|
-
),
|
|
3287
|
-
Schema.Struct({
|
|
3288
|
-
name: Schema.String,
|
|
3289
|
-
type: Schema.Literal("images"),
|
|
3290
|
-
}),
|
|
3291
|
-
Schema.Struct({
|
|
3292
|
-
json: Schema.String,
|
|
3293
|
-
name: Schema.String,
|
|
3294
|
-
type: Schema.Literal("json"),
|
|
3295
|
-
}),
|
|
3296
|
-
Schema.Struct({
|
|
3297
|
-
name: Schema.String,
|
|
3298
|
-
namespaceId: Schema.String,
|
|
3299
|
-
type: Schema.Literal("kv_namespace"),
|
|
3300
|
-
}).pipe(
|
|
3301
|
-
Schema.encodeKeys({
|
|
3302
|
-
name: "name",
|
|
3303
|
-
namespaceId: "namespace_id",
|
|
3304
|
-
type: "type",
|
|
3305
|
-
}),
|
|
3306
|
-
),
|
|
3307
|
-
Schema.Struct({
|
|
3308
|
-
certificateId: Schema.String,
|
|
3281
|
+
certificateId: Schema.String,
|
|
3309
3282
|
name: Schema.String,
|
|
3310
3283
|
type: Schema.Literal("mtls_certificate"),
|
|
3311
3284
|
}).pipe(
|
|
@@ -3351,31 +3324,6 @@ export const GetDispatchNamespaceScriptSettingResponse =
|
|
|
3351
3324
|
jurisdiction: "jurisdiction",
|
|
3352
3325
|
}),
|
|
3353
3326
|
),
|
|
3354
|
-
Schema.Struct({
|
|
3355
|
-
name: Schema.String,
|
|
3356
|
-
type: Schema.Literal("secret_text"),
|
|
3357
|
-
}),
|
|
3358
|
-
Schema.Struct({
|
|
3359
|
-
name: Schema.String,
|
|
3360
|
-
type: Schema.Literal("send_email"),
|
|
3361
|
-
allowedDestinationAddresses: Schema.optional(
|
|
3362
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3363
|
-
),
|
|
3364
|
-
allowedSenderAddresses: Schema.optional(
|
|
3365
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3366
|
-
),
|
|
3367
|
-
destinationAddress: Schema.optional(
|
|
3368
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
3369
|
-
),
|
|
3370
|
-
}).pipe(
|
|
3371
|
-
Schema.encodeKeys({
|
|
3372
|
-
name: "name",
|
|
3373
|
-
type: "type",
|
|
3374
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
3375
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
3376
|
-
destinationAddress: "destination_address",
|
|
3377
|
-
}),
|
|
3378
|
-
),
|
|
3379
3327
|
Schema.Struct({
|
|
3380
3328
|
name: Schema.String,
|
|
3381
3329
|
service: Schema.String,
|
|
@@ -3402,46 +3350,52 @@ export const GetDispatchNamespaceScriptSettingResponse =
|
|
|
3402
3350
|
),
|
|
3403
3351
|
Schema.Struct({
|
|
3404
3352
|
name: Schema.String,
|
|
3405
|
-
type: Schema.Literal("
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3353
|
+
type: Schema.Literal("workflow"),
|
|
3354
|
+
workflowName: Schema.String,
|
|
3355
|
+
className: Schema.optional(
|
|
3356
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3357
|
+
),
|
|
3358
|
+
scriptName: Schema.optional(
|
|
3359
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3360
|
+
),
|
|
3412
3361
|
}).pipe(
|
|
3413
3362
|
Schema.encodeKeys({
|
|
3414
3363
|
name: "name",
|
|
3415
|
-
secretName: "secret_name",
|
|
3416
|
-
storeId: "store_id",
|
|
3417
3364
|
type: "type",
|
|
3365
|
+
workflowName: "workflow_name",
|
|
3366
|
+
className: "class_name",
|
|
3367
|
+
scriptName: "script_name",
|
|
3418
3368
|
}),
|
|
3419
3369
|
),
|
|
3420
3370
|
Schema.Struct({
|
|
3421
|
-
algorithm: Schema.Unknown,
|
|
3422
|
-
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
3423
3371
|
name: Schema.String,
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
Schema.Literals([
|
|
3427
|
-
"encrypt",
|
|
3428
|
-
"decrypt",
|
|
3429
|
-
"sign",
|
|
3430
|
-
"verify",
|
|
3431
|
-
"deriveKey",
|
|
3432
|
-
"deriveBits",
|
|
3433
|
-
"wrapKey",
|
|
3434
|
-
"unwrapKey",
|
|
3435
|
-
]),
|
|
3436
|
-
),
|
|
3372
|
+
part: Schema.String,
|
|
3373
|
+
type: Schema.Literal("wasm_module"),
|
|
3437
3374
|
}),
|
|
3438
3375
|
Schema.Struct({
|
|
3439
3376
|
name: Schema.String,
|
|
3440
|
-
type: Schema.Literal("
|
|
3441
|
-
|
|
3377
|
+
type: Schema.Literal("ai"),
|
|
3378
|
+
}),
|
|
3379
|
+
Schema.Struct({
|
|
3380
|
+
name: Schema.String,
|
|
3381
|
+
type: Schema.Literal("assets"),
|
|
3382
|
+
}),
|
|
3383
|
+
Schema.Struct({
|
|
3384
|
+
name: Schema.String,
|
|
3385
|
+
type: Schema.Literal("browser"),
|
|
3386
|
+
}),
|
|
3387
|
+
Schema.Struct({
|
|
3388
|
+
name: Schema.String,
|
|
3389
|
+
type: Schema.Literal("durable_object_namespace"),
|
|
3442
3390
|
className: Schema.optional(
|
|
3443
3391
|
Schema.Union([Schema.String, Schema.Null]),
|
|
3444
3392
|
),
|
|
3393
|
+
environment: Schema.optional(
|
|
3394
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3395
|
+
),
|
|
3396
|
+
namespaceId: Schema.optional(
|
|
3397
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3398
|
+
),
|
|
3445
3399
|
scriptName: Schema.optional(
|
|
3446
3400
|
Schema.Union([Schema.String, Schema.Null]),
|
|
3447
3401
|
),
|
|
@@ -3449,15 +3403,61 @@ export const GetDispatchNamespaceScriptSettingResponse =
|
|
|
3449
3403
|
Schema.encodeKeys({
|
|
3450
3404
|
name: "name",
|
|
3451
3405
|
type: "type",
|
|
3452
|
-
workflowName: "workflow_name",
|
|
3453
3406
|
className: "class_name",
|
|
3407
|
+
environment: "environment",
|
|
3408
|
+
namespaceId: "namespace_id",
|
|
3454
3409
|
scriptName: "script_name",
|
|
3455
3410
|
}),
|
|
3456
3411
|
),
|
|
3457
3412
|
Schema.Struct({
|
|
3458
3413
|
name: Schema.String,
|
|
3459
|
-
|
|
3460
|
-
|
|
3414
|
+
type: Schema.Literal("inherit"),
|
|
3415
|
+
oldName: Schema.optional(
|
|
3416
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3417
|
+
),
|
|
3418
|
+
versionId: Schema.optional(
|
|
3419
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3420
|
+
),
|
|
3421
|
+
}).pipe(
|
|
3422
|
+
Schema.encodeKeys({
|
|
3423
|
+
name: "name",
|
|
3424
|
+
type: "type",
|
|
3425
|
+
oldName: "old_name",
|
|
3426
|
+
versionId: "version_id",
|
|
3427
|
+
}),
|
|
3428
|
+
),
|
|
3429
|
+
Schema.Struct({
|
|
3430
|
+
name: Schema.String,
|
|
3431
|
+
type: Schema.Literal("images"),
|
|
3432
|
+
}),
|
|
3433
|
+
Schema.Struct({
|
|
3434
|
+
name: Schema.String,
|
|
3435
|
+
type: Schema.Literal("secret_text"),
|
|
3436
|
+
}),
|
|
3437
|
+
Schema.Struct({
|
|
3438
|
+
name: Schema.String,
|
|
3439
|
+
type: Schema.Literal("send_email"),
|
|
3440
|
+
allowedDestinationAddresses: Schema.optional(
|
|
3441
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3442
|
+
),
|
|
3443
|
+
allowedSenderAddresses: Schema.optional(
|
|
3444
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
3445
|
+
),
|
|
3446
|
+
destinationAddress: Schema.optional(
|
|
3447
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
3448
|
+
),
|
|
3449
|
+
}).pipe(
|
|
3450
|
+
Schema.encodeKeys({
|
|
3451
|
+
name: "name",
|
|
3452
|
+
type: "type",
|
|
3453
|
+
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
3454
|
+
allowedSenderAddresses: "allowed_sender_addresses",
|
|
3455
|
+
destinationAddress: "destination_address",
|
|
3456
|
+
}),
|
|
3457
|
+
),
|
|
3458
|
+
Schema.Struct({
|
|
3459
|
+
name: Schema.String,
|
|
3460
|
+
type: Schema.Literal("version_metadata"),
|
|
3461
3461
|
}),
|
|
3462
3462
|
]),
|
|
3463
3463
|
),
|
|
@@ -3757,21 +3757,52 @@ export const PatchDispatchNamespaceScriptSettingRequest =
|
|
|
3757
3757
|
Schema.Array(
|
|
3758
3758
|
Schema.Union([
|
|
3759
3759
|
Schema.Struct({
|
|
3760
|
+
algorithm: Schema.Unknown,
|
|
3761
|
+
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
3760
3762
|
name: Schema.String,
|
|
3761
|
-
type: Schema.Literal("
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3763
|
+
type: Schema.Literal("secret_key"),
|
|
3764
|
+
usages: Schema.Array(
|
|
3765
|
+
Schema.Literals([
|
|
3766
|
+
"encrypt",
|
|
3767
|
+
"decrypt",
|
|
3768
|
+
"sign",
|
|
3769
|
+
"verify",
|
|
3770
|
+
"deriveKey",
|
|
3771
|
+
"deriveBits",
|
|
3772
|
+
"wrapKey",
|
|
3773
|
+
"unwrapKey",
|
|
3774
|
+
]),
|
|
3775
|
+
),
|
|
3776
|
+
keyBase64: Schema.optional(Schema.String),
|
|
3777
|
+
keyJwk: Schema.optional(Schema.Unknown),
|
|
3778
|
+
}).pipe(
|
|
3779
|
+
Schema.encodeKeys({
|
|
3780
|
+
algorithm: "algorithm",
|
|
3781
|
+
format: "format",
|
|
3782
|
+
name: "name",
|
|
3783
|
+
type: "type",
|
|
3784
|
+
usages: "usages",
|
|
3785
|
+
keyBase64: "key_base64",
|
|
3786
|
+
keyJwk: "key_jwk",
|
|
3787
|
+
}),
|
|
3788
|
+
),
|
|
3768
3789
|
Schema.Struct({
|
|
3769
3790
|
name: Schema.String,
|
|
3770
|
-
|
|
3771
|
-
|
|
3791
|
+
secretName: Schema.String,
|
|
3792
|
+
storeId: Schema.String,
|
|
3793
|
+
type: Schema.Literal("secrets_store_secret"),
|
|
3794
|
+
}).pipe(
|
|
3795
|
+
Schema.encodeKeys({
|
|
3796
|
+
name: "name",
|
|
3797
|
+
secretName: "secret_name",
|
|
3798
|
+
storeId: "store_id",
|
|
3799
|
+
type: "type",
|
|
3800
|
+
}),
|
|
3801
|
+
),
|
|
3772
3802
|
Schema.Struct({
|
|
3803
|
+
dataset: Schema.String,
|
|
3773
3804
|
name: Schema.String,
|
|
3774
|
-
type: Schema.Literal("
|
|
3805
|
+
type: Schema.Literal("analytics_engine"),
|
|
3775
3806
|
}),
|
|
3776
3807
|
Schema.Struct({
|
|
3777
3808
|
id: Schema.String,
|
|
@@ -3799,45 +3830,11 @@ export const PatchDispatchNamespaceScriptSettingRequest =
|
|
|
3799
3830
|
}),
|
|
3800
3831
|
),
|
|
3801
3832
|
}),
|
|
3802
|
-
Schema.Struct({
|
|
3803
|
-
name: Schema.String,
|
|
3804
|
-
type: Schema.Literal("durable_object_namespace"),
|
|
3805
|
-
className: Schema.optional(Schema.String),
|
|
3806
|
-
environment: Schema.optional(Schema.String),
|
|
3807
|
-
namespaceId: Schema.optional(Schema.String),
|
|
3808
|
-
scriptName: Schema.optional(Schema.String),
|
|
3809
|
-
}).pipe(
|
|
3810
|
-
Schema.encodeKeys({
|
|
3811
|
-
name: "name",
|
|
3812
|
-
type: "type",
|
|
3813
|
-
className: "class_name",
|
|
3814
|
-
environment: "environment",
|
|
3815
|
-
namespaceId: "namespace_id",
|
|
3816
|
-
scriptName: "script_name",
|
|
3817
|
-
}),
|
|
3818
|
-
),
|
|
3819
3833
|
Schema.Struct({
|
|
3820
3834
|
id: Schema.String,
|
|
3821
3835
|
name: Schema.String,
|
|
3822
3836
|
type: Schema.Literal("hyperdrive"),
|
|
3823
3837
|
}),
|
|
3824
|
-
Schema.Struct({
|
|
3825
|
-
name: Schema.String,
|
|
3826
|
-
type: Schema.Literal("inherit"),
|
|
3827
|
-
oldName: Schema.optional(Schema.String),
|
|
3828
|
-
versionId: Schema.optional(Schema.String),
|
|
3829
|
-
}).pipe(
|
|
3830
|
-
Schema.encodeKeys({
|
|
3831
|
-
name: "name",
|
|
3832
|
-
type: "type",
|
|
3833
|
-
oldName: "old_name",
|
|
3834
|
-
versionId: "version_id",
|
|
3835
|
-
}),
|
|
3836
|
-
),
|
|
3837
|
-
Schema.Struct({
|
|
3838
|
-
name: Schema.String,
|
|
3839
|
-
type: Schema.Literal("images"),
|
|
3840
|
-
}),
|
|
3841
3838
|
Schema.Struct({
|
|
3842
3839
|
json: Schema.String,
|
|
3843
3840
|
name: Schema.String,
|
|
@@ -3906,25 +3903,6 @@ export const PatchDispatchNamespaceScriptSettingRequest =
|
|
|
3906
3903
|
text: Schema.String,
|
|
3907
3904
|
type: Schema.Literal("secret_text"),
|
|
3908
3905
|
}),
|
|
3909
|
-
Schema.Struct({
|
|
3910
|
-
name: Schema.String,
|
|
3911
|
-
type: Schema.Literal("send_email"),
|
|
3912
|
-
allowedDestinationAddresses: Schema.optional(
|
|
3913
|
-
Schema.Array(Schema.String),
|
|
3914
|
-
),
|
|
3915
|
-
allowedSenderAddresses: Schema.optional(
|
|
3916
|
-
Schema.Array(Schema.String),
|
|
3917
|
-
),
|
|
3918
|
-
destinationAddress: Schema.optional(Schema.String),
|
|
3919
|
-
}).pipe(
|
|
3920
|
-
Schema.encodeKeys({
|
|
3921
|
-
name: "name",
|
|
3922
|
-
type: "type",
|
|
3923
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
3924
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
3925
|
-
destinationAddress: "destination_address",
|
|
3926
|
-
}),
|
|
3927
|
-
),
|
|
3928
3906
|
Schema.Struct({
|
|
3929
3907
|
name: Schema.String,
|
|
3930
3908
|
service: Schema.String,
|
|
@@ -3949,70 +3927,92 @@ export const PatchDispatchNamespaceScriptSettingRequest =
|
|
|
3949
3927
|
),
|
|
3950
3928
|
Schema.Struct({
|
|
3951
3929
|
name: Schema.String,
|
|
3952
|
-
type: Schema.Literal("
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
secretName: Schema.String,
|
|
3957
|
-
storeId: Schema.String,
|
|
3958
|
-
type: Schema.Literal("secrets_store_secret"),
|
|
3930
|
+
type: Schema.Literal("workflow"),
|
|
3931
|
+
workflowName: Schema.String,
|
|
3932
|
+
className: Schema.optional(Schema.String),
|
|
3933
|
+
scriptName: Schema.optional(Schema.String),
|
|
3959
3934
|
}).pipe(
|
|
3960
3935
|
Schema.encodeKeys({
|
|
3961
3936
|
name: "name",
|
|
3962
|
-
secretName: "secret_name",
|
|
3963
|
-
storeId: "store_id",
|
|
3964
3937
|
type: "type",
|
|
3938
|
+
workflowName: "workflow_name",
|
|
3939
|
+
className: "class_name",
|
|
3940
|
+
scriptName: "script_name",
|
|
3965
3941
|
}),
|
|
3966
3942
|
),
|
|
3967
3943
|
Schema.Struct({
|
|
3968
|
-
algorithm: Schema.Unknown,
|
|
3969
|
-
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
3970
3944
|
name: Schema.String,
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3945
|
+
part: Schema.String,
|
|
3946
|
+
type: Schema.Literal("wasm_module"),
|
|
3947
|
+
}),
|
|
3948
|
+
Schema.Struct({
|
|
3949
|
+
name: Schema.String,
|
|
3950
|
+
type: Schema.Literal("ai"),
|
|
3951
|
+
}),
|
|
3952
|
+
Schema.Struct({
|
|
3953
|
+
name: Schema.String,
|
|
3954
|
+
type: Schema.Literal("assets"),
|
|
3955
|
+
}),
|
|
3956
|
+
Schema.Struct({
|
|
3957
|
+
name: Schema.String,
|
|
3958
|
+
type: Schema.Literal("browser"),
|
|
3959
|
+
}),
|
|
3960
|
+
Schema.Struct({
|
|
3961
|
+
name: Schema.String,
|
|
3962
|
+
type: Schema.Literal("durable_object_namespace"),
|
|
3963
|
+
className: Schema.optional(Schema.String),
|
|
3964
|
+
environment: Schema.optional(Schema.String),
|
|
3965
|
+
namespaceId: Schema.optional(Schema.String),
|
|
3966
|
+
scriptName: Schema.optional(Schema.String),
|
|
3967
|
+
}).pipe(
|
|
3968
|
+
Schema.encodeKeys({
|
|
3969
|
+
name: "name",
|
|
3970
|
+
type: "type",
|
|
3971
|
+
className: "class_name",
|
|
3972
|
+
environment: "environment",
|
|
3973
|
+
namespaceId: "namespace_id",
|
|
3974
|
+
scriptName: "script_name",
|
|
3975
|
+
}),
|
|
3976
|
+
),
|
|
3977
|
+
Schema.Struct({
|
|
3978
|
+
name: Schema.String,
|
|
3979
|
+
type: Schema.Literal("inherit"),
|
|
3980
|
+
oldName: Schema.optional(Schema.String),
|
|
3981
|
+
versionId: Schema.optional(Schema.String),
|
|
3986
3982
|
}).pipe(
|
|
3987
3983
|
Schema.encodeKeys({
|
|
3988
|
-
algorithm: "algorithm",
|
|
3989
|
-
format: "format",
|
|
3990
3984
|
name: "name",
|
|
3991
3985
|
type: "type",
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
keyJwk: "key_jwk",
|
|
3986
|
+
oldName: "old_name",
|
|
3987
|
+
versionId: "version_id",
|
|
3995
3988
|
}),
|
|
3996
3989
|
),
|
|
3997
3990
|
Schema.Struct({
|
|
3998
3991
|
name: Schema.String,
|
|
3999
|
-
type: Schema.Literal("
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
3992
|
+
type: Schema.Literal("images"),
|
|
3993
|
+
}),
|
|
3994
|
+
Schema.Struct({
|
|
3995
|
+
name: Schema.String,
|
|
3996
|
+
type: Schema.Literal("send_email"),
|
|
3997
|
+
allowedDestinationAddresses: Schema.optional(
|
|
3998
|
+
Schema.Array(Schema.String),
|
|
3999
|
+
),
|
|
4000
|
+
allowedSenderAddresses: Schema.optional(
|
|
4001
|
+
Schema.Array(Schema.String),
|
|
4002
|
+
),
|
|
4003
|
+
destinationAddress: Schema.optional(Schema.String),
|
|
4003
4004
|
}).pipe(
|
|
4004
4005
|
Schema.encodeKeys({
|
|
4005
4006
|
name: "name",
|
|
4006
4007
|
type: "type",
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4008
|
+
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
4009
|
+
allowedSenderAddresses: "allowed_sender_addresses",
|
|
4010
|
+
destinationAddress: "destination_address",
|
|
4010
4011
|
}),
|
|
4011
4012
|
),
|
|
4012
4013
|
Schema.Struct({
|
|
4013
4014
|
name: Schema.String,
|
|
4014
|
-
|
|
4015
|
-
type: Schema.Literal("wasm_module"),
|
|
4015
|
+
type: Schema.Literal("version_metadata"),
|
|
4016
4016
|
}),
|
|
4017
4017
|
]),
|
|
4018
4018
|
),
|
|
@@ -4364,21 +4364,40 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
4364
4364
|
Schema.Array(
|
|
4365
4365
|
Schema.Union([
|
|
4366
4366
|
Schema.Struct({
|
|
4367
|
+
algorithm: Schema.Unknown,
|
|
4368
|
+
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
4367
4369
|
name: Schema.String,
|
|
4368
|
-
type: Schema.Literal("
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4370
|
+
type: Schema.Literal("secret_key"),
|
|
4371
|
+
usages: Schema.Array(
|
|
4372
|
+
Schema.Literals([
|
|
4373
|
+
"encrypt",
|
|
4374
|
+
"decrypt",
|
|
4375
|
+
"sign",
|
|
4376
|
+
"verify",
|
|
4377
|
+
"deriveKey",
|
|
4378
|
+
"deriveBits",
|
|
4379
|
+
"wrapKey",
|
|
4380
|
+
"unwrapKey",
|
|
4381
|
+
]),
|
|
4382
|
+
),
|
|
4374
4383
|
}),
|
|
4375
4384
|
Schema.Struct({
|
|
4376
4385
|
name: Schema.String,
|
|
4377
|
-
|
|
4378
|
-
|
|
4386
|
+
secretName: Schema.String,
|
|
4387
|
+
storeId: Schema.String,
|
|
4388
|
+
type: Schema.Literal("secrets_store_secret"),
|
|
4389
|
+
}).pipe(
|
|
4390
|
+
Schema.encodeKeys({
|
|
4391
|
+
name: "name",
|
|
4392
|
+
secretName: "secret_name",
|
|
4393
|
+
storeId: "store_id",
|
|
4394
|
+
type: "type",
|
|
4395
|
+
}),
|
|
4396
|
+
),
|
|
4379
4397
|
Schema.Struct({
|
|
4398
|
+
dataset: Schema.String,
|
|
4380
4399
|
name: Schema.String,
|
|
4381
|
-
type: Schema.Literal("
|
|
4400
|
+
type: Schema.Literal("analytics_engine"),
|
|
4382
4401
|
}),
|
|
4383
4402
|
Schema.Struct({
|
|
4384
4403
|
id: Schema.String,
|
|
@@ -4418,57 +4437,11 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
4418
4437
|
]),
|
|
4419
4438
|
),
|
|
4420
4439
|
}),
|
|
4421
|
-
Schema.Struct({
|
|
4422
|
-
name: Schema.String,
|
|
4423
|
-
type: Schema.Literal("durable_object_namespace"),
|
|
4424
|
-
className: Schema.optional(
|
|
4425
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4426
|
-
),
|
|
4427
|
-
environment: Schema.optional(
|
|
4428
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4429
|
-
),
|
|
4430
|
-
namespaceId: Schema.optional(
|
|
4431
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4432
|
-
),
|
|
4433
|
-
scriptName: Schema.optional(
|
|
4434
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4435
|
-
),
|
|
4436
|
-
}).pipe(
|
|
4437
|
-
Schema.encodeKeys({
|
|
4438
|
-
name: "name",
|
|
4439
|
-
type: "type",
|
|
4440
|
-
className: "class_name",
|
|
4441
|
-
environment: "environment",
|
|
4442
|
-
namespaceId: "namespace_id",
|
|
4443
|
-
scriptName: "script_name",
|
|
4444
|
-
}),
|
|
4445
|
-
),
|
|
4446
4440
|
Schema.Struct({
|
|
4447
4441
|
id: Schema.String,
|
|
4448
4442
|
name: Schema.String,
|
|
4449
4443
|
type: Schema.Literal("hyperdrive"),
|
|
4450
4444
|
}),
|
|
4451
|
-
Schema.Struct({
|
|
4452
|
-
name: Schema.String,
|
|
4453
|
-
type: Schema.Literal("inherit"),
|
|
4454
|
-
oldName: Schema.optional(
|
|
4455
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4456
|
-
),
|
|
4457
|
-
versionId: Schema.optional(
|
|
4458
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4459
|
-
),
|
|
4460
|
-
}).pipe(
|
|
4461
|
-
Schema.encodeKeys({
|
|
4462
|
-
name: "name",
|
|
4463
|
-
type: "type",
|
|
4464
|
-
oldName: "old_name",
|
|
4465
|
-
versionId: "version_id",
|
|
4466
|
-
}),
|
|
4467
|
-
),
|
|
4468
|
-
Schema.Struct({
|
|
4469
|
-
name: Schema.String,
|
|
4470
|
-
type: Schema.Literal("images"),
|
|
4471
|
-
}),
|
|
4472
4445
|
Schema.Struct({
|
|
4473
4446
|
json: Schema.String,
|
|
4474
4447
|
name: Schema.String,
|
|
@@ -4532,31 +4505,6 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
4532
4505
|
jurisdiction: "jurisdiction",
|
|
4533
4506
|
}),
|
|
4534
4507
|
),
|
|
4535
|
-
Schema.Struct({
|
|
4536
|
-
name: Schema.String,
|
|
4537
|
-
type: Schema.Literal("secret_text"),
|
|
4538
|
-
}),
|
|
4539
|
-
Schema.Struct({
|
|
4540
|
-
name: Schema.String,
|
|
4541
|
-
type: Schema.Literal("send_email"),
|
|
4542
|
-
allowedDestinationAddresses: Schema.optional(
|
|
4543
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4544
|
-
),
|
|
4545
|
-
allowedSenderAddresses: Schema.optional(
|
|
4546
|
-
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4547
|
-
),
|
|
4548
|
-
destinationAddress: Schema.optional(
|
|
4549
|
-
Schema.Union([Schema.String, Schema.Null]),
|
|
4550
|
-
),
|
|
4551
|
-
}).pipe(
|
|
4552
|
-
Schema.encodeKeys({
|
|
4553
|
-
name: "name",
|
|
4554
|
-
type: "type",
|
|
4555
|
-
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
4556
|
-
allowedSenderAddresses: "allowed_sender_addresses",
|
|
4557
|
-
destinationAddress: "destination_address",
|
|
4558
|
-
}),
|
|
4559
|
-
),
|
|
4560
4508
|
Schema.Struct({
|
|
4561
4509
|
name: Schema.String,
|
|
4562
4510
|
service: Schema.String,
|
|
@@ -4583,46 +4531,52 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
4583
4531
|
),
|
|
4584
4532
|
Schema.Struct({
|
|
4585
4533
|
name: Schema.String,
|
|
4586
|
-
type: Schema.Literal("
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4534
|
+
type: Schema.Literal("workflow"),
|
|
4535
|
+
workflowName: Schema.String,
|
|
4536
|
+
className: Schema.optional(
|
|
4537
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4538
|
+
),
|
|
4539
|
+
scriptName: Schema.optional(
|
|
4540
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4541
|
+
),
|
|
4593
4542
|
}).pipe(
|
|
4594
4543
|
Schema.encodeKeys({
|
|
4595
4544
|
name: "name",
|
|
4596
|
-
secretName: "secret_name",
|
|
4597
|
-
storeId: "store_id",
|
|
4598
4545
|
type: "type",
|
|
4546
|
+
workflowName: "workflow_name",
|
|
4547
|
+
className: "class_name",
|
|
4548
|
+
scriptName: "script_name",
|
|
4599
4549
|
}),
|
|
4600
4550
|
),
|
|
4601
4551
|
Schema.Struct({
|
|
4602
|
-
algorithm: Schema.Unknown,
|
|
4603
|
-
format: Schema.Literals(["raw", "pkcs8", "spki", "jwk"]),
|
|
4604
4552
|
name: Schema.String,
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
Schema.Literals([
|
|
4608
|
-
"encrypt",
|
|
4609
|
-
"decrypt",
|
|
4610
|
-
"sign",
|
|
4611
|
-
"verify",
|
|
4612
|
-
"deriveKey",
|
|
4613
|
-
"deriveBits",
|
|
4614
|
-
"wrapKey",
|
|
4615
|
-
"unwrapKey",
|
|
4616
|
-
]),
|
|
4617
|
-
),
|
|
4553
|
+
part: Schema.String,
|
|
4554
|
+
type: Schema.Literal("wasm_module"),
|
|
4618
4555
|
}),
|
|
4619
4556
|
Schema.Struct({
|
|
4620
4557
|
name: Schema.String,
|
|
4621
|
-
type: Schema.Literal("
|
|
4622
|
-
|
|
4558
|
+
type: Schema.Literal("ai"),
|
|
4559
|
+
}),
|
|
4560
|
+
Schema.Struct({
|
|
4561
|
+
name: Schema.String,
|
|
4562
|
+
type: Schema.Literal("assets"),
|
|
4563
|
+
}),
|
|
4564
|
+
Schema.Struct({
|
|
4565
|
+
name: Schema.String,
|
|
4566
|
+
type: Schema.Literal("browser"),
|
|
4567
|
+
}),
|
|
4568
|
+
Schema.Struct({
|
|
4569
|
+
name: Schema.String,
|
|
4570
|
+
type: Schema.Literal("durable_object_namespace"),
|
|
4623
4571
|
className: Schema.optional(
|
|
4624
4572
|
Schema.Union([Schema.String, Schema.Null]),
|
|
4625
4573
|
),
|
|
4574
|
+
environment: Schema.optional(
|
|
4575
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4576
|
+
),
|
|
4577
|
+
namespaceId: Schema.optional(
|
|
4578
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4579
|
+
),
|
|
4626
4580
|
scriptName: Schema.optional(
|
|
4627
4581
|
Schema.Union([Schema.String, Schema.Null]),
|
|
4628
4582
|
),
|
|
@@ -4630,15 +4584,61 @@ export const PatchDispatchNamespaceScriptSettingResponse =
|
|
|
4630
4584
|
Schema.encodeKeys({
|
|
4631
4585
|
name: "name",
|
|
4632
4586
|
type: "type",
|
|
4633
|
-
workflowName: "workflow_name",
|
|
4634
4587
|
className: "class_name",
|
|
4588
|
+
environment: "environment",
|
|
4589
|
+
namespaceId: "namespace_id",
|
|
4635
4590
|
scriptName: "script_name",
|
|
4636
4591
|
}),
|
|
4637
4592
|
),
|
|
4638
4593
|
Schema.Struct({
|
|
4639
4594
|
name: Schema.String,
|
|
4640
|
-
|
|
4641
|
-
|
|
4595
|
+
type: Schema.Literal("inherit"),
|
|
4596
|
+
oldName: Schema.optional(
|
|
4597
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4598
|
+
),
|
|
4599
|
+
versionId: Schema.optional(
|
|
4600
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4601
|
+
),
|
|
4602
|
+
}).pipe(
|
|
4603
|
+
Schema.encodeKeys({
|
|
4604
|
+
name: "name",
|
|
4605
|
+
type: "type",
|
|
4606
|
+
oldName: "old_name",
|
|
4607
|
+
versionId: "version_id",
|
|
4608
|
+
}),
|
|
4609
|
+
),
|
|
4610
|
+
Schema.Struct({
|
|
4611
|
+
name: Schema.String,
|
|
4612
|
+
type: Schema.Literal("images"),
|
|
4613
|
+
}),
|
|
4614
|
+
Schema.Struct({
|
|
4615
|
+
name: Schema.String,
|
|
4616
|
+
type: Schema.Literal("secret_text"),
|
|
4617
|
+
}),
|
|
4618
|
+
Schema.Struct({
|
|
4619
|
+
name: Schema.String,
|
|
4620
|
+
type: Schema.Literal("send_email"),
|
|
4621
|
+
allowedDestinationAddresses: Schema.optional(
|
|
4622
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4623
|
+
),
|
|
4624
|
+
allowedSenderAddresses: Schema.optional(
|
|
4625
|
+
Schema.Union([Schema.Array(Schema.String), Schema.Null]),
|
|
4626
|
+
),
|
|
4627
|
+
destinationAddress: Schema.optional(
|
|
4628
|
+
Schema.Union([Schema.String, Schema.Null]),
|
|
4629
|
+
),
|
|
4630
|
+
}).pipe(
|
|
4631
|
+
Schema.encodeKeys({
|
|
4632
|
+
name: "name",
|
|
4633
|
+
type: "type",
|
|
4634
|
+
allowedDestinationAddresses: "allowed_destination_addresses",
|
|
4635
|
+
allowedSenderAddresses: "allowed_sender_addresses",
|
|
4636
|
+
destinationAddress: "destination_address",
|
|
4637
|
+
}),
|
|
4638
|
+
),
|
|
4639
|
+
Schema.Struct({
|
|
4640
|
+
name: Schema.String,
|
|
4641
|
+
type: Schema.Literal("version_metadata"),
|
|
4642
4642
|
}),
|
|
4643
4643
|
]),
|
|
4644
4644
|
),
|