@cdot65/prisma-airs-sdk 0.19.0 → 0.20.0
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 +15 -2
- package/dist/index.cjs +1167 -195
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3524 -381
- package/dist/index.d.ts +3524 -381
- package/dist/index.js +1085 -194
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -74766,13 +74766,13 @@ type RuleEvaluationList = z.infer<typeof RuleEvaluationListSchema>;
|
|
|
74766
74766
|
/** Remediation returned on a violation — steps and a reference URL. */
|
|
74767
74767
|
declare const ViolationRemediationSchema: z.ZodObject<{
|
|
74768
74768
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74769
|
-
url: z.ZodString
|
|
74769
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74770
74770
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74771
74771
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74772
|
-
url: z.ZodString
|
|
74772
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74773
74773
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74774
74774
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74775
|
-
url: z.ZodString
|
|
74775
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74776
74776
|
}, z.ZodTypeAny, "passthrough">>;
|
|
74777
74777
|
type ViolationRemediation = z.infer<typeof ViolationRemediationSchema>;
|
|
74778
74778
|
/** Zod schema for a single violation response. */
|
|
@@ -74786,16 +74786,16 @@ declare const ViolationResponseSchema: z.ZodObject<{
|
|
|
74786
74786
|
rule_name: z.ZodString;
|
|
74787
74787
|
rule_description: z.ZodString;
|
|
74788
74788
|
rule_instance_state: z.ZodString;
|
|
74789
|
-
remediation: z.ZodObject<{
|
|
74789
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74790
74790
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74791
|
-
url: z.ZodString
|
|
74791
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74792
74792
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74793
74793
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74794
|
-
url: z.ZodString
|
|
74794
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74795
74795
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74796
74796
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74797
|
-
url: z.ZodString
|
|
74798
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74797
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74798
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74799
74799
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74800
74800
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74801
74801
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74812,16 +74812,16 @@ declare const ViolationResponseSchema: z.ZodObject<{
|
|
|
74812
74812
|
rule_name: z.ZodString;
|
|
74813
74813
|
rule_description: z.ZodString;
|
|
74814
74814
|
rule_instance_state: z.ZodString;
|
|
74815
|
-
remediation: z.ZodObject<{
|
|
74815
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74816
74816
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74817
|
-
url: z.ZodString
|
|
74817
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74818
74818
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74819
74819
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74820
|
-
url: z.ZodString
|
|
74820
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74821
74821
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74822
74822
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74823
|
-
url: z.ZodString
|
|
74824
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74823
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74824
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74825
74825
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74826
74826
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74827
74827
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74838,16 +74838,16 @@ declare const ViolationResponseSchema: z.ZodObject<{
|
|
|
74838
74838
|
rule_name: z.ZodString;
|
|
74839
74839
|
rule_description: z.ZodString;
|
|
74840
74840
|
rule_instance_state: z.ZodString;
|
|
74841
|
-
remediation: z.ZodObject<{
|
|
74841
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74842
74842
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74843
|
-
url: z.ZodString
|
|
74843
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74844
74844
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74845
74845
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74846
|
-
url: z.ZodString
|
|
74846
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74847
74847
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74848
74848
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74849
|
-
url: z.ZodString
|
|
74850
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74849
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74850
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74851
74851
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74852
74852
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74853
74853
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74876,16 +74876,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
74876
74876
|
rule_name: z.ZodString;
|
|
74877
74877
|
rule_description: z.ZodString;
|
|
74878
74878
|
rule_instance_state: z.ZodString;
|
|
74879
|
-
remediation: z.ZodObject<{
|
|
74879
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74880
74880
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74881
|
-
url: z.ZodString
|
|
74881
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74882
74882
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74883
74883
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74884
|
-
url: z.ZodString
|
|
74884
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74885
74885
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74886
74886
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74887
|
-
url: z.ZodString
|
|
74888
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74887
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74888
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74889
74889
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74890
74890
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74891
74891
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74902,16 +74902,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
74902
74902
|
rule_name: z.ZodString;
|
|
74903
74903
|
rule_description: z.ZodString;
|
|
74904
74904
|
rule_instance_state: z.ZodString;
|
|
74905
|
-
remediation: z.ZodObject<{
|
|
74905
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74906
74906
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74907
|
-
url: z.ZodString
|
|
74907
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74908
74908
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74909
74909
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74910
|
-
url: z.ZodString
|
|
74910
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74911
74911
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74912
74912
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74913
|
-
url: z.ZodString
|
|
74914
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74913
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74914
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74915
74915
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74916
74916
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74917
74917
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74928,16 +74928,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
74928
74928
|
rule_name: z.ZodString;
|
|
74929
74929
|
rule_description: z.ZodString;
|
|
74930
74930
|
rule_instance_state: z.ZodString;
|
|
74931
|
-
remediation: z.ZodObject<{
|
|
74931
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74932
74932
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74933
|
-
url: z.ZodString
|
|
74933
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74934
74934
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74935
74935
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74936
|
-
url: z.ZodString
|
|
74936
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74937
74937
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74938
74938
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74939
|
-
url: z.ZodString
|
|
74940
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74939
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74940
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74941
74941
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74942
74942
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74943
74943
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74963,16 +74963,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
74963
74963
|
rule_name: z.ZodString;
|
|
74964
74964
|
rule_description: z.ZodString;
|
|
74965
74965
|
rule_instance_state: z.ZodString;
|
|
74966
|
-
remediation: z.ZodObject<{
|
|
74966
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74967
74967
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74968
|
-
url: z.ZodString
|
|
74968
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74969
74969
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74970
74970
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74971
|
-
url: z.ZodString
|
|
74971
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74972
74972
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74973
74973
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74974
|
-
url: z.ZodString
|
|
74975
|
-
}, z.ZodTypeAny, "passthrough"
|
|
74974
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74975
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
74976
74976
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74977
74977
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74978
74978
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -74989,16 +74989,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
74989
74989
|
rule_name: z.ZodString;
|
|
74990
74990
|
rule_description: z.ZodString;
|
|
74991
74991
|
rule_instance_state: z.ZodString;
|
|
74992
|
-
remediation: z.ZodObject<{
|
|
74992
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
74993
74993
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74994
|
-
url: z.ZodString
|
|
74994
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74995
74995
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
74996
74996
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
74997
|
-
url: z.ZodString
|
|
74997
|
+
url: z.ZodOptional<z.ZodString>;
|
|
74998
74998
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74999
74999
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75000
|
-
url: z.ZodString
|
|
75001
|
-
}, z.ZodTypeAny, "passthrough"
|
|
75000
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75001
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
75002
75002
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75003
75003
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75004
75004
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -75015,16 +75015,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
75015
75015
|
rule_name: z.ZodString;
|
|
75016
75016
|
rule_description: z.ZodString;
|
|
75017
75017
|
rule_instance_state: z.ZodString;
|
|
75018
|
-
remediation: z.ZodObject<{
|
|
75018
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
75019
75019
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75020
|
-
url: z.ZodString
|
|
75020
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75021
75021
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
75022
75022
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75023
|
-
url: z.ZodString
|
|
75023
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75024
75024
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
75025
75025
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75026
|
-
url: z.ZodString
|
|
75027
|
-
}, z.ZodTypeAny, "passthrough"
|
|
75026
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75027
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
75028
75028
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75029
75029
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75030
75030
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -75050,16 +75050,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
75050
75050
|
rule_name: z.ZodString;
|
|
75051
75051
|
rule_description: z.ZodString;
|
|
75052
75052
|
rule_instance_state: z.ZodString;
|
|
75053
|
-
remediation: z.ZodObject<{
|
|
75053
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
75054
75054
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75055
|
-
url: z.ZodString
|
|
75055
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75056
75056
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
75057
75057
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75058
|
-
url: z.ZodString
|
|
75058
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75059
75059
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
75060
75060
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75061
|
-
url: z.ZodString
|
|
75062
|
-
}, z.ZodTypeAny, "passthrough"
|
|
75061
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75062
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
75063
75063
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75064
75064
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75065
75065
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -75076,16 +75076,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
75076
75076
|
rule_name: z.ZodString;
|
|
75077
75077
|
rule_description: z.ZodString;
|
|
75078
75078
|
rule_instance_state: z.ZodString;
|
|
75079
|
-
remediation: z.ZodObject<{
|
|
75079
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
75080
75080
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75081
|
-
url: z.ZodString
|
|
75081
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75082
75082
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
75083
75083
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75084
|
-
url: z.ZodString
|
|
75084
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75085
75085
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
75086
75086
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75087
|
-
url: z.ZodString
|
|
75088
|
-
}, z.ZodTypeAny, "passthrough"
|
|
75087
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75088
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
75089
75089
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75090
75090
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75091
75091
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -75102,16 +75102,16 @@ declare const ViolationListSchema: z.ZodObject<{
|
|
|
75102
75102
|
rule_name: z.ZodString;
|
|
75103
75103
|
rule_description: z.ZodString;
|
|
75104
75104
|
rule_instance_state: z.ZodString;
|
|
75105
|
-
remediation: z.ZodObject<{
|
|
75105
|
+
remediation: z.ZodOptional<z.ZodObject<{
|
|
75106
75106
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75107
|
-
url: z.ZodString
|
|
75107
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75108
75108
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
75109
75109
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75110
|
-
url: z.ZodString
|
|
75110
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75111
75111
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
75112
75112
|
steps: z.ZodArray<z.ZodString, "many">;
|
|
75113
|
-
url: z.ZodString
|
|
75114
|
-
}, z.ZodTypeAny, "passthrough"
|
|
75113
|
+
url: z.ZodOptional<z.ZodString>;
|
|
75114
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
75115
75115
|
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75116
75116
|
hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75117
75117
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -76107,12 +76107,12 @@ type ListModelSecurityRulesResponse = z.infer<typeof ListModelSecurityRulesRespo
|
|
|
76107
76107
|
declare const ModelSecurityRuleInstanceResponseSchema: z.ZodObject<{
|
|
76108
76108
|
uuid: z.ZodString;
|
|
76109
76109
|
tsg_id: z.ZodString;
|
|
76110
|
-
created_at: z.ZodString
|
|
76111
|
-
updated_at: z.ZodString
|
|
76110
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
76111
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
76112
76112
|
security_group_uuid: z.ZodString;
|
|
76113
|
-
security_rule_uuid: z.ZodString
|
|
76113
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
76114
76114
|
state: z.ZodString;
|
|
76115
|
-
rule: z.ZodObject<{
|
|
76115
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
76116
76116
|
uuid: z.ZodString;
|
|
76117
76117
|
name: z.ZodString;
|
|
76118
76118
|
description: z.ZodString;
|
|
@@ -76325,17 +76325,17 @@ declare const ModelSecurityRuleInstanceResponseSchema: z.ZodObject<{
|
|
|
76325
76325
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
76326
76326
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76327
76327
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76328
|
-
}, z.ZodTypeAny, "passthrough"
|
|
76328
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
76329
76329
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76330
76330
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
76331
76331
|
uuid: z.ZodString;
|
|
76332
76332
|
tsg_id: z.ZodString;
|
|
76333
|
-
created_at: z.ZodString
|
|
76334
|
-
updated_at: z.ZodString
|
|
76333
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
76334
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
76335
76335
|
security_group_uuid: z.ZodString;
|
|
76336
|
-
security_rule_uuid: z.ZodString
|
|
76336
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
76337
76337
|
state: z.ZodString;
|
|
76338
|
-
rule: z.ZodObject<{
|
|
76338
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
76339
76339
|
uuid: z.ZodString;
|
|
76340
76340
|
name: z.ZodString;
|
|
76341
76341
|
description: z.ZodString;
|
|
@@ -76548,17 +76548,17 @@ declare const ModelSecurityRuleInstanceResponseSchema: z.ZodObject<{
|
|
|
76548
76548
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
76549
76549
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76550
76550
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76551
|
-
}, z.ZodTypeAny, "passthrough"
|
|
76551
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
76552
76552
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76553
76553
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
76554
76554
|
uuid: z.ZodString;
|
|
76555
76555
|
tsg_id: z.ZodString;
|
|
76556
|
-
created_at: z.ZodString
|
|
76557
|
-
updated_at: z.ZodString
|
|
76556
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
76557
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
76558
76558
|
security_group_uuid: z.ZodString;
|
|
76559
|
-
security_rule_uuid: z.ZodString
|
|
76559
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
76560
76560
|
state: z.ZodString;
|
|
76561
|
-
rule: z.ZodObject<{
|
|
76561
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
76562
76562
|
uuid: z.ZodString;
|
|
76563
76563
|
name: z.ZodString;
|
|
76564
76564
|
description: z.ZodString;
|
|
@@ -76771,7 +76771,7 @@ declare const ModelSecurityRuleInstanceResponseSchema: z.ZodObject<{
|
|
|
76771
76771
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
76772
76772
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76773
76773
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
76774
|
-
}, z.ZodTypeAny, "passthrough"
|
|
76774
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
76775
76775
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76776
76776
|
}, z.ZodTypeAny, "passthrough">>;
|
|
76777
76777
|
/** An instantiated rule that gets evaluated against scans. */
|
|
@@ -76804,12 +76804,12 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
76804
76804
|
rule_instances: z.ZodArray<z.ZodObject<{
|
|
76805
76805
|
uuid: z.ZodString;
|
|
76806
76806
|
tsg_id: z.ZodString;
|
|
76807
|
-
created_at: z.ZodString
|
|
76808
|
-
updated_at: z.ZodString
|
|
76807
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
76808
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
76809
76809
|
security_group_uuid: z.ZodString;
|
|
76810
|
-
security_rule_uuid: z.ZodString
|
|
76810
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
76811
76811
|
state: z.ZodString;
|
|
76812
|
-
rule: z.ZodObject<{
|
|
76812
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
76813
76813
|
uuid: z.ZodString;
|
|
76814
76814
|
name: z.ZodString;
|
|
76815
76815
|
description: z.ZodString;
|
|
@@ -77022,17 +77022,17 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
77022
77022
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
77023
77023
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77024
77024
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77025
|
-
}, z.ZodTypeAny, "passthrough"
|
|
77025
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
77026
77026
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77027
77027
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
77028
77028
|
uuid: z.ZodString;
|
|
77029
77029
|
tsg_id: z.ZodString;
|
|
77030
|
-
created_at: z.ZodString
|
|
77031
|
-
updated_at: z.ZodString
|
|
77030
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
77031
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
77032
77032
|
security_group_uuid: z.ZodString;
|
|
77033
|
-
security_rule_uuid: z.ZodString
|
|
77033
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
77034
77034
|
state: z.ZodString;
|
|
77035
|
-
rule: z.ZodObject<{
|
|
77035
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
77036
77036
|
uuid: z.ZodString;
|
|
77037
77037
|
name: z.ZodString;
|
|
77038
77038
|
description: z.ZodString;
|
|
@@ -77245,17 +77245,17 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
77245
77245
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
77246
77246
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77247
77247
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77248
|
-
}, z.ZodTypeAny, "passthrough"
|
|
77248
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
77249
77249
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77250
77250
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
77251
77251
|
uuid: z.ZodString;
|
|
77252
77252
|
tsg_id: z.ZodString;
|
|
77253
|
-
created_at: z.ZodString
|
|
77254
|
-
updated_at: z.ZodString
|
|
77253
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
77254
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
77255
77255
|
security_group_uuid: z.ZodString;
|
|
77256
|
-
security_rule_uuid: z.ZodString
|
|
77256
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
77257
77257
|
state: z.ZodString;
|
|
77258
|
-
rule: z.ZodObject<{
|
|
77258
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
77259
77259
|
uuid: z.ZodString;
|
|
77260
77260
|
name: z.ZodString;
|
|
77261
77261
|
description: z.ZodString;
|
|
@@ -77468,7 +77468,7 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
77468
77468
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
77469
77469
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77470
77470
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77471
|
-
}, z.ZodTypeAny, "passthrough"
|
|
77471
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
77472
77472
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77473
77473
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
77474
77474
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -77482,12 +77482,12 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
77482
77482
|
rule_instances: z.ZodArray<z.ZodObject<{
|
|
77483
77483
|
uuid: z.ZodString;
|
|
77484
77484
|
tsg_id: z.ZodString;
|
|
77485
|
-
created_at: z.ZodString
|
|
77486
|
-
updated_at: z.ZodString
|
|
77485
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
77486
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
77487
77487
|
security_group_uuid: z.ZodString;
|
|
77488
|
-
security_rule_uuid: z.ZodString
|
|
77488
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
77489
77489
|
state: z.ZodString;
|
|
77490
|
-
rule: z.ZodObject<{
|
|
77490
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
77491
77491
|
uuid: z.ZodString;
|
|
77492
77492
|
name: z.ZodString;
|
|
77493
77493
|
description: z.ZodString;
|
|
@@ -77700,17 +77700,17 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
77700
77700
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
77701
77701
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77702
77702
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77703
|
-
}, z.ZodTypeAny, "passthrough"
|
|
77703
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
77704
77704
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77705
77705
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
77706
77706
|
uuid: z.ZodString;
|
|
77707
77707
|
tsg_id: z.ZodString;
|
|
77708
|
-
created_at: z.ZodString
|
|
77709
|
-
updated_at: z.ZodString
|
|
77708
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
77709
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
77710
77710
|
security_group_uuid: z.ZodString;
|
|
77711
|
-
security_rule_uuid: z.ZodString
|
|
77711
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
77712
77712
|
state: z.ZodString;
|
|
77713
|
-
rule: z.ZodObject<{
|
|
77713
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
77714
77714
|
uuid: z.ZodString;
|
|
77715
77715
|
name: z.ZodString;
|
|
77716
77716
|
description: z.ZodString;
|
|
@@ -77923,17 +77923,17 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
77923
77923
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
77924
77924
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77925
77925
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
77926
|
-
}, z.ZodTypeAny, "passthrough"
|
|
77926
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
77927
77927
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77928
77928
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
77929
77929
|
uuid: z.ZodString;
|
|
77930
77930
|
tsg_id: z.ZodString;
|
|
77931
|
-
created_at: z.ZodString
|
|
77932
|
-
updated_at: z.ZodString
|
|
77931
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
77932
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
77933
77933
|
security_group_uuid: z.ZodString;
|
|
77934
|
-
security_rule_uuid: z.ZodString
|
|
77934
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
77935
77935
|
state: z.ZodString;
|
|
77936
|
-
rule: z.ZodObject<{
|
|
77936
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
77937
77937
|
uuid: z.ZodString;
|
|
77938
77938
|
name: z.ZodString;
|
|
77939
77939
|
description: z.ZodString;
|
|
@@ -78146,7 +78146,7 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
78146
78146
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
78147
78147
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78148
78148
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78149
|
-
}, z.ZodTypeAny, "passthrough"
|
|
78149
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
78150
78150
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78151
78151
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
78152
78152
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -78160,12 +78160,12 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
78160
78160
|
rule_instances: z.ZodArray<z.ZodObject<{
|
|
78161
78161
|
uuid: z.ZodString;
|
|
78162
78162
|
tsg_id: z.ZodString;
|
|
78163
|
-
created_at: z.ZodString
|
|
78164
|
-
updated_at: z.ZodString
|
|
78163
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
78164
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
78165
78165
|
security_group_uuid: z.ZodString;
|
|
78166
|
-
security_rule_uuid: z.ZodString
|
|
78166
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
78167
78167
|
state: z.ZodString;
|
|
78168
|
-
rule: z.ZodObject<{
|
|
78168
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
78169
78169
|
uuid: z.ZodString;
|
|
78170
78170
|
name: z.ZodString;
|
|
78171
78171
|
description: z.ZodString;
|
|
@@ -78378,17 +78378,17 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
78378
78378
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
78379
78379
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78380
78380
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78381
|
-
}, z.ZodTypeAny, "passthrough"
|
|
78381
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
78382
78382
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78383
78383
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
78384
78384
|
uuid: z.ZodString;
|
|
78385
78385
|
tsg_id: z.ZodString;
|
|
78386
|
-
created_at: z.ZodString
|
|
78387
|
-
updated_at: z.ZodString
|
|
78386
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
78387
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
78388
78388
|
security_group_uuid: z.ZodString;
|
|
78389
|
-
security_rule_uuid: z.ZodString
|
|
78389
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
78390
78390
|
state: z.ZodString;
|
|
78391
|
-
rule: z.ZodObject<{
|
|
78391
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
78392
78392
|
uuid: z.ZodString;
|
|
78393
78393
|
name: z.ZodString;
|
|
78394
78394
|
description: z.ZodString;
|
|
@@ -78601,17 +78601,17 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
78601
78601
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
78602
78602
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78603
78603
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78604
|
-
}, z.ZodTypeAny, "passthrough"
|
|
78604
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
78605
78605
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78606
78606
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
78607
78607
|
uuid: z.ZodString;
|
|
78608
78608
|
tsg_id: z.ZodString;
|
|
78609
|
-
created_at: z.ZodString
|
|
78610
|
-
updated_at: z.ZodString
|
|
78609
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
78610
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
78611
78611
|
security_group_uuid: z.ZodString;
|
|
78612
|
-
security_rule_uuid: z.ZodString
|
|
78612
|
+
security_rule_uuid: z.ZodOptional<z.ZodString>;
|
|
78613
78613
|
state: z.ZodString;
|
|
78614
|
-
rule: z.ZodObject<{
|
|
78614
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
78615
78615
|
uuid: z.ZodString;
|
|
78616
78616
|
name: z.ZodString;
|
|
78617
78617
|
description: z.ZodString;
|
|
@@ -78824,7 +78824,7 @@ declare const ListModelSecurityRuleInstancesResponseSchema: z.ZodObject<{
|
|
|
78824
78824
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
78825
78825
|
constant_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78826
78826
|
default_values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78827
|
-
}, z.ZodTypeAny, "passthrough"
|
|
78827
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
78828
78828
|
field_values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78829
78829
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
78830
78830
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -108178,6 +108178,3240 @@ declare const GatewayAuditLogsResponseSchema: z.ZodObject<{
|
|
|
108178
108178
|
}, z.ZodTypeAny, "passthrough">>;
|
|
108179
108179
|
type GatewayAuditLogsResponse = z.infer<typeof GatewayAuditLogsResponseSchema>;
|
|
108180
108180
|
|
|
108181
|
+
/** Closed deployment types verified against SCM. Alphabetical for deterministic help output. */
|
|
108182
|
+
declare const AI_GATEWAY_DEPLOYMENT_TYPES: readonly ["non_production", "production"];
|
|
108183
|
+
declare const GatewayDeploymentTypeSchema: z.ZodEnum<["non_production", "production"]>;
|
|
108184
|
+
type GatewayDeploymentType = z.infer<typeof GatewayDeploymentTypeSchema>;
|
|
108185
|
+
/** Closed deployment lifecycle values accepted by deployment updates. */
|
|
108186
|
+
declare const AI_GATEWAY_DEPLOYMENT_STATUSES: readonly ["active", "archived"];
|
|
108187
|
+
declare const GatewayDeploymentStatusSchema: z.ZodEnum<["active", "archived"]>;
|
|
108188
|
+
type GatewayDeploymentStatus = z.infer<typeof GatewayDeploymentStatusSchema>;
|
|
108189
|
+
/** Capability kinds accepted by the MCP bulk-update endpoint. */
|
|
108190
|
+
declare const AI_GATEWAY_MUTABLE_MCP_CAPABILITY_TYPES: readonly ["prompt", "resource", "tool"];
|
|
108191
|
+
declare const GatewayMutableMcpCapabilityTypeSchema: z.ZodEnum<["prompt", "resource", "tool"]>;
|
|
108192
|
+
type GatewayMutableMcpCapabilityType = z.infer<typeof GatewayMutableMcpCapabilityTypeSchema>;
|
|
108193
|
+
/** Positive-evidence catalogs. These are intentionally not treated as exhaustive SCM enums. */
|
|
108194
|
+
declare const AI_GATEWAY_KNOWN_API_KEY_SCOPES: readonly ["agents.invoke", "completions.write", "logs.write", "mcp.invoke", "prompts.render"];
|
|
108195
|
+
declare const AI_GATEWAY_KNOWN_CACHE_MODES: readonly ["semantic", "simple"];
|
|
108196
|
+
declare const AI_GATEWAY_KNOWN_CONFIG_STRATEGIES: readonly ["fallback", "loadbalance", "single"];
|
|
108197
|
+
declare const AI_GATEWAY_KNOWN_MCP_AUTH_TYPES: readonly ["headers", "none", "oauth_auto", "oauth_client_credentials"];
|
|
108198
|
+
declare const AI_GATEWAY_KNOWN_MCP_TRANSPORTS: readonly ["http", "interactive", "sse"];
|
|
108199
|
+
declare const AI_GATEWAY_KNOWN_RATE_LIMIT_TYPES: readonly ["requests", "tokens"];
|
|
108200
|
+
declare const AI_GATEWAY_KNOWN_RATE_LIMIT_UNITS: readonly ["rpd", "rph", "rpm", "rps", "rpw"];
|
|
108201
|
+
/** Literal suggestions without falsely closing a research-derived value set. */
|
|
108202
|
+
type GatewayOpenValue<TKnown extends string> = TKnown | (string & Record<never, never>);
|
|
108203
|
+
type GatewayKnownApiKeyScope = (typeof AI_GATEWAY_KNOWN_API_KEY_SCOPES)[number];
|
|
108204
|
+
type GatewayApiKeyScope = GatewayOpenValue<GatewayKnownApiKeyScope>;
|
|
108205
|
+
type GatewayKnownCacheMode = (typeof AI_GATEWAY_KNOWN_CACHE_MODES)[number];
|
|
108206
|
+
type GatewayConfigCacheMode = GatewayOpenValue<GatewayKnownCacheMode>;
|
|
108207
|
+
type GatewayKnownConfigStrategy = (typeof AI_GATEWAY_KNOWN_CONFIG_STRATEGIES)[number];
|
|
108208
|
+
type GatewayConfigStrategy = GatewayOpenValue<GatewayKnownConfigStrategy>;
|
|
108209
|
+
type GatewayKnownMcpAuthType = (typeof AI_GATEWAY_KNOWN_MCP_AUTH_TYPES)[number];
|
|
108210
|
+
type GatewayMcpAuthType = GatewayOpenValue<GatewayKnownMcpAuthType>;
|
|
108211
|
+
type GatewayKnownMcpTransport = (typeof AI_GATEWAY_KNOWN_MCP_TRANSPORTS)[number];
|
|
108212
|
+
type GatewayMcpTransport = GatewayOpenValue<GatewayKnownMcpTransport>;
|
|
108213
|
+
type GatewayKnownRateLimitType = (typeof AI_GATEWAY_KNOWN_RATE_LIMIT_TYPES)[number];
|
|
108214
|
+
type GatewayRateLimitType = GatewayOpenValue<GatewayKnownRateLimitType>;
|
|
108215
|
+
type GatewayKnownRateLimitUnit = (typeof AI_GATEWAY_KNOWN_RATE_LIMIT_UNITS)[number];
|
|
108216
|
+
type GatewayRateLimitUnit = GatewayOpenValue<GatewayKnownRateLimitUnit>;
|
|
108217
|
+
declare const GatewayApiKeyScopeSchema: z.ZodType<GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">, z.ZodTypeDef, GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">>;
|
|
108218
|
+
declare const GatewayConfigCacheModeSchema: z.ZodType<GatewayOpenValue<"semantic" | "simple">, z.ZodTypeDef, GatewayOpenValue<"semantic" | "simple">>;
|
|
108219
|
+
declare const GatewayConfigStrategySchema: z.ZodType<GatewayOpenValue<"fallback" | "loadbalance" | "single">, z.ZodTypeDef, GatewayOpenValue<"fallback" | "loadbalance" | "single">>;
|
|
108220
|
+
declare const GatewayMcpAuthTypeSchema: z.ZodType<GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">, z.ZodTypeDef, GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">>;
|
|
108221
|
+
declare const GatewayMcpTransportSchema: z.ZodType<GatewayOpenValue<"http" | "interactive" | "sse">, z.ZodTypeDef, GatewayOpenValue<"http" | "interactive" | "sse">>;
|
|
108222
|
+
declare const GatewayRateLimitTypeSchema: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
108223
|
+
declare const GatewayRateLimitUnitSchema: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
108224
|
+
/** A recursively JSON-serializable object. */
|
|
108225
|
+
interface GatewayJsonObject {
|
|
108226
|
+
[key: string]: GatewayJsonValue;
|
|
108227
|
+
}
|
|
108228
|
+
/** Finite JSON values accepted at documented AI Gateway extension points. */
|
|
108229
|
+
type GatewayJsonValue = string | number | boolean | null | GatewayJsonValue[] | GatewayJsonObject;
|
|
108230
|
+
declare const GatewayJsonValueSchema: z.ZodType<GatewayJsonValue>;
|
|
108231
|
+
declare const GatewayJsonObjectSchema: z.ZodType<GatewayJsonObject>;
|
|
108232
|
+
declare const GatewayRoutingRetrySchema: z.ZodObject<{
|
|
108233
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
108234
|
+
on_status_codes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
108235
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108236
|
+
attempts?: number | undefined;
|
|
108237
|
+
on_status_codes?: number[] | undefined;
|
|
108238
|
+
}, {
|
|
108239
|
+
attempts?: number | undefined;
|
|
108240
|
+
on_status_codes?: number[] | undefined;
|
|
108241
|
+
}>;
|
|
108242
|
+
type GatewayRoutingRetry = z.infer<typeof GatewayRoutingRetrySchema>;
|
|
108243
|
+
declare const GatewayRoutingCacheSchema: z.ZodObject<{
|
|
108244
|
+
mode: z.ZodOptional<z.ZodType<GatewayOpenValue<"semantic" | "simple">, z.ZodTypeDef, GatewayOpenValue<"semantic" | "simple">>>;
|
|
108245
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
|
108246
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108247
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
108248
|
+
max_age?: number | undefined;
|
|
108249
|
+
}, {
|
|
108250
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
108251
|
+
max_age?: number | undefined;
|
|
108252
|
+
}>;
|
|
108253
|
+
type GatewayRoutingCache = z.infer<typeof GatewayRoutingCacheSchema>;
|
|
108254
|
+
declare const GatewayRoutingStrategySchema: z.ZodObject<{
|
|
108255
|
+
mode: z.ZodType<GatewayOpenValue<"fallback" | "loadbalance" | "single">, z.ZodTypeDef, GatewayOpenValue<"fallback" | "loadbalance" | "single">>;
|
|
108256
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108257
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
108258
|
+
}, {
|
|
108259
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
108260
|
+
}>;
|
|
108261
|
+
type GatewayRoutingStrategy = z.infer<typeof GatewayRoutingStrategySchema>;
|
|
108262
|
+
declare const GatewayRoutingTargetSchema: z.ZodObject<{
|
|
108263
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
108264
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
108265
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108266
|
+
provider?: string | undefined;
|
|
108267
|
+
virtual_key?: string | undefined;
|
|
108268
|
+
}, {
|
|
108269
|
+
provider?: string | undefined;
|
|
108270
|
+
virtual_key?: string | undefined;
|
|
108271
|
+
}>;
|
|
108272
|
+
type GatewayRoutingTarget = z.infer<typeof GatewayRoutingTargetSchema>;
|
|
108273
|
+
/**
|
|
108274
|
+
* Portkey-backed routing fields observed in concrete examples, with a JSON extension point for
|
|
108275
|
+
* Prisma- or provider-specific configuration.
|
|
108276
|
+
*/
|
|
108277
|
+
declare const GatewayRoutingConfigSchema: z.ZodObject<{
|
|
108278
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
108279
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
108280
|
+
on_status_codes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
108281
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108282
|
+
attempts?: number | undefined;
|
|
108283
|
+
on_status_codes?: number[] | undefined;
|
|
108284
|
+
}, {
|
|
108285
|
+
attempts?: number | undefined;
|
|
108286
|
+
on_status_codes?: number[] | undefined;
|
|
108287
|
+
}>>;
|
|
108288
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
108289
|
+
mode: z.ZodOptional<z.ZodType<GatewayOpenValue<"semantic" | "simple">, z.ZodTypeDef, GatewayOpenValue<"semantic" | "simple">>>;
|
|
108290
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
|
108291
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108292
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
108293
|
+
max_age?: number | undefined;
|
|
108294
|
+
}, {
|
|
108295
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
108296
|
+
max_age?: number | undefined;
|
|
108297
|
+
}>>;
|
|
108298
|
+
strategy: z.ZodOptional<z.ZodObject<{
|
|
108299
|
+
mode: z.ZodType<GatewayOpenValue<"fallback" | "loadbalance" | "single">, z.ZodTypeDef, GatewayOpenValue<"fallback" | "loadbalance" | "single">>;
|
|
108300
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108301
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
108302
|
+
}, {
|
|
108303
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
108304
|
+
}>>;
|
|
108305
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108306
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
108307
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
108308
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108309
|
+
provider?: string | undefined;
|
|
108310
|
+
virtual_key?: string | undefined;
|
|
108311
|
+
}, {
|
|
108312
|
+
provider?: string | undefined;
|
|
108313
|
+
virtual_key?: string | undefined;
|
|
108314
|
+
}>, "many">>;
|
|
108315
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
108316
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
108317
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108318
|
+
provider?: string | undefined;
|
|
108319
|
+
retry?: {
|
|
108320
|
+
attempts?: number | undefined;
|
|
108321
|
+
on_status_codes?: number[] | undefined;
|
|
108322
|
+
} | undefined;
|
|
108323
|
+
virtual_key?: string | undefined;
|
|
108324
|
+
cache?: {
|
|
108325
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
108326
|
+
max_age?: number | undefined;
|
|
108327
|
+
} | undefined;
|
|
108328
|
+
strategy?: {
|
|
108329
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
108330
|
+
} | undefined;
|
|
108331
|
+
targets?: {
|
|
108332
|
+
provider?: string | undefined;
|
|
108333
|
+
virtual_key?: string | undefined;
|
|
108334
|
+
}[] | undefined;
|
|
108335
|
+
}, {
|
|
108336
|
+
provider?: string | undefined;
|
|
108337
|
+
retry?: {
|
|
108338
|
+
attempts?: number | undefined;
|
|
108339
|
+
on_status_codes?: number[] | undefined;
|
|
108340
|
+
} | undefined;
|
|
108341
|
+
virtual_key?: string | undefined;
|
|
108342
|
+
cache?: {
|
|
108343
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
108344
|
+
max_age?: number | undefined;
|
|
108345
|
+
} | undefined;
|
|
108346
|
+
strategy?: {
|
|
108347
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
108348
|
+
} | undefined;
|
|
108349
|
+
targets?: {
|
|
108350
|
+
provider?: string | undefined;
|
|
108351
|
+
virtual_key?: string | undefined;
|
|
108352
|
+
}[] | undefined;
|
|
108353
|
+
}>;
|
|
108354
|
+
type GatewayRoutingConfig = z.infer<typeof GatewayRoutingConfigSchema>;
|
|
108355
|
+
declare const GatewayOpenAIConfigurationSchema: z.ZodObject<{
|
|
108356
|
+
openai_organization: z.ZodOptional<z.ZodString>;
|
|
108357
|
+
openai_project: z.ZodOptional<z.ZodString>;
|
|
108358
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108359
|
+
openai_organization?: string | undefined;
|
|
108360
|
+
openai_project?: string | undefined;
|
|
108361
|
+
}, {
|
|
108362
|
+
openai_organization?: string | undefined;
|
|
108363
|
+
openai_project?: string | undefined;
|
|
108364
|
+
}>;
|
|
108365
|
+
type GatewayOpenAIConfiguration = z.infer<typeof GatewayOpenAIConfigurationSchema>;
|
|
108366
|
+
declare const GatewayAzureDeploymentConfigurationSchema: z.ZodObject<{
|
|
108367
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
108368
|
+
azure_api_version: z.ZodString;
|
|
108369
|
+
azure_deployment_name: z.ZodString;
|
|
108370
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
108371
|
+
azure_model_slug: z.ZodString;
|
|
108372
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108373
|
+
azure_api_version: string;
|
|
108374
|
+
azure_deployment_name: string;
|
|
108375
|
+
azure_model_slug: string;
|
|
108376
|
+
is_default?: boolean | undefined;
|
|
108377
|
+
alias?: string | undefined;
|
|
108378
|
+
}, {
|
|
108379
|
+
azure_api_version: string;
|
|
108380
|
+
azure_deployment_name: string;
|
|
108381
|
+
azure_model_slug: string;
|
|
108382
|
+
is_default?: boolean | undefined;
|
|
108383
|
+
alias?: string | undefined;
|
|
108384
|
+
}>;
|
|
108385
|
+
type GatewayAzureDeploymentConfiguration = z.infer<typeof GatewayAzureDeploymentConfigurationSchema>;
|
|
108386
|
+
declare const GatewayAzureOpenAIConfigurationSchema: z.ZodObject<{
|
|
108387
|
+
azure_auth_mode: z.ZodEnum<["default", "entra", "managed"]>;
|
|
108388
|
+
azure_resource_name: z.ZodString;
|
|
108389
|
+
azure_deployment_config: z.ZodArray<z.ZodObject<{
|
|
108390
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
108391
|
+
azure_api_version: z.ZodString;
|
|
108392
|
+
azure_deployment_name: z.ZodString;
|
|
108393
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
108394
|
+
azure_model_slug: z.ZodString;
|
|
108395
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108396
|
+
azure_api_version: string;
|
|
108397
|
+
azure_deployment_name: string;
|
|
108398
|
+
azure_model_slug: string;
|
|
108399
|
+
is_default?: boolean | undefined;
|
|
108400
|
+
alias?: string | undefined;
|
|
108401
|
+
}, {
|
|
108402
|
+
azure_api_version: string;
|
|
108403
|
+
azure_deployment_name: string;
|
|
108404
|
+
azure_model_slug: string;
|
|
108405
|
+
is_default?: boolean | undefined;
|
|
108406
|
+
alias?: string | undefined;
|
|
108407
|
+
}>, "many">;
|
|
108408
|
+
azure_entra_tenant_id: z.ZodOptional<z.ZodString>;
|
|
108409
|
+
azure_entra_client_id: z.ZodOptional<z.ZodString>;
|
|
108410
|
+
azure_entra_client_secret: z.ZodOptional<z.ZodString>;
|
|
108411
|
+
azure_managed_client_id: z.ZodOptional<z.ZodString>;
|
|
108412
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108413
|
+
azure_auth_mode: "default" | "entra" | "managed";
|
|
108414
|
+
azure_resource_name: string;
|
|
108415
|
+
azure_deployment_config: {
|
|
108416
|
+
azure_api_version: string;
|
|
108417
|
+
azure_deployment_name: string;
|
|
108418
|
+
azure_model_slug: string;
|
|
108419
|
+
is_default?: boolean | undefined;
|
|
108420
|
+
alias?: string | undefined;
|
|
108421
|
+
}[];
|
|
108422
|
+
azure_entra_client_secret?: string | undefined;
|
|
108423
|
+
azure_entra_tenant_id?: string | undefined;
|
|
108424
|
+
azure_entra_client_id?: string | undefined;
|
|
108425
|
+
azure_managed_client_id?: string | undefined;
|
|
108426
|
+
}, {
|
|
108427
|
+
azure_auth_mode: "default" | "entra" | "managed";
|
|
108428
|
+
azure_resource_name: string;
|
|
108429
|
+
azure_deployment_config: {
|
|
108430
|
+
azure_api_version: string;
|
|
108431
|
+
azure_deployment_name: string;
|
|
108432
|
+
azure_model_slug: string;
|
|
108433
|
+
is_default?: boolean | undefined;
|
|
108434
|
+
alias?: string | undefined;
|
|
108435
|
+
}[];
|
|
108436
|
+
azure_entra_client_secret?: string | undefined;
|
|
108437
|
+
azure_entra_tenant_id?: string | undefined;
|
|
108438
|
+
azure_entra_client_id?: string | undefined;
|
|
108439
|
+
azure_managed_client_id?: string | undefined;
|
|
108440
|
+
}>;
|
|
108441
|
+
type GatewayAzureOpenAIConfiguration = z.infer<typeof GatewayAzureOpenAIConfigurationSchema>;
|
|
108442
|
+
declare const GatewayBedrockConfigurationSchema: z.ZodObject<{
|
|
108443
|
+
aws_auth_type: z.ZodEnum<["accessKey", "assumedRole"]>;
|
|
108444
|
+
aws_region: z.ZodString;
|
|
108445
|
+
aws_access_key_id: z.ZodOptional<z.ZodString>;
|
|
108446
|
+
aws_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
108447
|
+
aws_role_arn: z.ZodOptional<z.ZodString>;
|
|
108448
|
+
aws_external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108449
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108450
|
+
aws_auth_type: "accessKey" | "assumedRole";
|
|
108451
|
+
aws_region: string;
|
|
108452
|
+
aws_secret_access_key?: string | undefined;
|
|
108453
|
+
aws_access_key_id?: string | undefined;
|
|
108454
|
+
aws_role_arn?: string | undefined;
|
|
108455
|
+
aws_external_id?: string | null | undefined;
|
|
108456
|
+
}, {
|
|
108457
|
+
aws_auth_type: "accessKey" | "assumedRole";
|
|
108458
|
+
aws_region: string;
|
|
108459
|
+
aws_secret_access_key?: string | undefined;
|
|
108460
|
+
aws_access_key_id?: string | undefined;
|
|
108461
|
+
aws_role_arn?: string | undefined;
|
|
108462
|
+
aws_external_id?: string | null | undefined;
|
|
108463
|
+
}>;
|
|
108464
|
+
type GatewayBedrockConfiguration = z.infer<typeof GatewayBedrockConfigurationSchema>;
|
|
108465
|
+
declare const GatewaySageMakerConfigurationSchema: z.ZodObject<{
|
|
108466
|
+
aws_auth_type: z.ZodEnum<["accessKey", "assumedRole"]>;
|
|
108467
|
+
aws_region: z.ZodString;
|
|
108468
|
+
aws_access_key_id: z.ZodOptional<z.ZodString>;
|
|
108469
|
+
aws_secret_access_key: z.ZodOptional<z.ZodString>;
|
|
108470
|
+
aws_role_arn: z.ZodOptional<z.ZodString>;
|
|
108471
|
+
aws_external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108472
|
+
} & {
|
|
108473
|
+
amzn_sagemaker_custom_attributes: z.ZodOptional<z.ZodString>;
|
|
108474
|
+
amzn_sagemaker_target_model: z.ZodOptional<z.ZodString>;
|
|
108475
|
+
amzn_sagemaker_target_variant: z.ZodOptional<z.ZodString>;
|
|
108476
|
+
amzn_sagemaker_target_container_hostname: z.ZodOptional<z.ZodString>;
|
|
108477
|
+
amzn_sagemaker_inference_id: z.ZodOptional<z.ZodString>;
|
|
108478
|
+
amzn_sagemaker_enable_explanations: z.ZodOptional<z.ZodString>;
|
|
108479
|
+
amzn_sagemaker_inference_component: z.ZodOptional<z.ZodString>;
|
|
108480
|
+
amzn_sagemaker_session_id: z.ZodOptional<z.ZodString>;
|
|
108481
|
+
amzn_sagemaker_model_name: z.ZodOptional<z.ZodString>;
|
|
108482
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108483
|
+
aws_auth_type: "accessKey" | "assumedRole";
|
|
108484
|
+
aws_region: string;
|
|
108485
|
+
aws_secret_access_key?: string | undefined;
|
|
108486
|
+
aws_access_key_id?: string | undefined;
|
|
108487
|
+
aws_role_arn?: string | undefined;
|
|
108488
|
+
aws_external_id?: string | null | undefined;
|
|
108489
|
+
amzn_sagemaker_custom_attributes?: string | undefined;
|
|
108490
|
+
amzn_sagemaker_target_model?: string | undefined;
|
|
108491
|
+
amzn_sagemaker_target_variant?: string | undefined;
|
|
108492
|
+
amzn_sagemaker_target_container_hostname?: string | undefined;
|
|
108493
|
+
amzn_sagemaker_inference_id?: string | undefined;
|
|
108494
|
+
amzn_sagemaker_enable_explanations?: string | undefined;
|
|
108495
|
+
amzn_sagemaker_inference_component?: string | undefined;
|
|
108496
|
+
amzn_sagemaker_session_id?: string | undefined;
|
|
108497
|
+
amzn_sagemaker_model_name?: string | undefined;
|
|
108498
|
+
}, {
|
|
108499
|
+
aws_auth_type: "accessKey" | "assumedRole";
|
|
108500
|
+
aws_region: string;
|
|
108501
|
+
aws_secret_access_key?: string | undefined;
|
|
108502
|
+
aws_access_key_id?: string | undefined;
|
|
108503
|
+
aws_role_arn?: string | undefined;
|
|
108504
|
+
aws_external_id?: string | null | undefined;
|
|
108505
|
+
amzn_sagemaker_custom_attributes?: string | undefined;
|
|
108506
|
+
amzn_sagemaker_target_model?: string | undefined;
|
|
108507
|
+
amzn_sagemaker_target_variant?: string | undefined;
|
|
108508
|
+
amzn_sagemaker_target_container_hostname?: string | undefined;
|
|
108509
|
+
amzn_sagemaker_inference_id?: string | undefined;
|
|
108510
|
+
amzn_sagemaker_enable_explanations?: string | undefined;
|
|
108511
|
+
amzn_sagemaker_inference_component?: string | undefined;
|
|
108512
|
+
amzn_sagemaker_session_id?: string | undefined;
|
|
108513
|
+
amzn_sagemaker_model_name?: string | undefined;
|
|
108514
|
+
}>;
|
|
108515
|
+
type GatewaySageMakerConfiguration = z.infer<typeof GatewaySageMakerConfigurationSchema>;
|
|
108516
|
+
declare const GatewayVertexAIConfigurationSchema: z.ZodObject<{
|
|
108517
|
+
vertex_auth_type: z.ZodEnum<["basic", "serviceAccount"]>;
|
|
108518
|
+
vertex_region: z.ZodString;
|
|
108519
|
+
vertex_project_id: z.ZodOptional<z.ZodString>;
|
|
108520
|
+
vertex_service_account_json: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
108521
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108522
|
+
vertex_auth_type: "basic" | "serviceAccount";
|
|
108523
|
+
vertex_region: string;
|
|
108524
|
+
vertex_service_account_json?: GatewayJsonObject | undefined;
|
|
108525
|
+
vertex_project_id?: string | undefined;
|
|
108526
|
+
}, {
|
|
108527
|
+
vertex_auth_type: "basic" | "serviceAccount";
|
|
108528
|
+
vertex_region: string;
|
|
108529
|
+
vertex_service_account_json?: GatewayJsonObject | undefined;
|
|
108530
|
+
vertex_project_id?: string | undefined;
|
|
108531
|
+
}>;
|
|
108532
|
+
type GatewayVertexAIConfiguration = z.infer<typeof GatewayVertexAIConfigurationSchema>;
|
|
108533
|
+
declare const GatewayAzureAIConfigurationSchema: z.ZodObject<{
|
|
108534
|
+
azure_auth_mode: z.ZodEnum<["default", "entra", "managed"]>;
|
|
108535
|
+
azure_foundry_url: z.ZodString;
|
|
108536
|
+
azure_api_version: z.ZodOptional<z.ZodString>;
|
|
108537
|
+
azure_deployment_name: z.ZodOptional<z.ZodString>;
|
|
108538
|
+
azure_entra_tenant_id: z.ZodOptional<z.ZodString>;
|
|
108539
|
+
azure_entra_client_id: z.ZodOptional<z.ZodString>;
|
|
108540
|
+
azure_entra_client_secret: z.ZodOptional<z.ZodString>;
|
|
108541
|
+
azure_managed_client_id: z.ZodOptional<z.ZodString>;
|
|
108542
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108543
|
+
azure_auth_mode: "default" | "entra" | "managed";
|
|
108544
|
+
azure_foundry_url: string;
|
|
108545
|
+
azure_entra_client_secret?: string | undefined;
|
|
108546
|
+
azure_api_version?: string | undefined;
|
|
108547
|
+
azure_deployment_name?: string | undefined;
|
|
108548
|
+
azure_entra_tenant_id?: string | undefined;
|
|
108549
|
+
azure_entra_client_id?: string | undefined;
|
|
108550
|
+
azure_managed_client_id?: string | undefined;
|
|
108551
|
+
}, {
|
|
108552
|
+
azure_auth_mode: "default" | "entra" | "managed";
|
|
108553
|
+
azure_foundry_url: string;
|
|
108554
|
+
azure_entra_client_secret?: string | undefined;
|
|
108555
|
+
azure_api_version?: string | undefined;
|
|
108556
|
+
azure_deployment_name?: string | undefined;
|
|
108557
|
+
azure_entra_tenant_id?: string | undefined;
|
|
108558
|
+
azure_entra_client_id?: string | undefined;
|
|
108559
|
+
azure_managed_client_id?: string | undefined;
|
|
108560
|
+
}>;
|
|
108561
|
+
type GatewayAzureAIConfiguration = z.infer<typeof GatewayAzureAIConfigurationSchema>;
|
|
108562
|
+
declare const GatewayWorkersAIConfigurationSchema: z.ZodObject<{
|
|
108563
|
+
workers_ai_account_id: z.ZodString;
|
|
108564
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108565
|
+
workers_ai_account_id: string;
|
|
108566
|
+
}, {
|
|
108567
|
+
workers_ai_account_id: string;
|
|
108568
|
+
}>;
|
|
108569
|
+
type GatewayWorkersAIConfiguration = z.infer<typeof GatewayWorkersAIConfigurationSchema>;
|
|
108570
|
+
declare const GatewayHuggingFaceConfigurationSchema: z.ZodObject<{
|
|
108571
|
+
huggingface_base_url: z.ZodOptional<z.ZodString>;
|
|
108572
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108573
|
+
huggingface_base_url?: string | undefined;
|
|
108574
|
+
}, {
|
|
108575
|
+
huggingface_base_url?: string | undefined;
|
|
108576
|
+
}>;
|
|
108577
|
+
type GatewayHuggingFaceConfiguration = z.infer<typeof GatewayHuggingFaceConfigurationSchema>;
|
|
108578
|
+
declare const GatewayCortexConfigurationSchema: z.ZodObject<{
|
|
108579
|
+
snowflake_account: z.ZodString;
|
|
108580
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108581
|
+
snowflake_account: string;
|
|
108582
|
+
}, {
|
|
108583
|
+
snowflake_account: string;
|
|
108584
|
+
}>;
|
|
108585
|
+
type GatewayCortexConfiguration = z.infer<typeof GatewayCortexConfigurationSchema>;
|
|
108586
|
+
declare const GatewayCustomHostConfigurationSchema: z.ZodObject<{
|
|
108587
|
+
custom_host: z.ZodOptional<z.ZodString>;
|
|
108588
|
+
custom_headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
108589
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108590
|
+
custom_headers?: Record<string, string> | undefined;
|
|
108591
|
+
custom_host?: string | undefined;
|
|
108592
|
+
}, {
|
|
108593
|
+
custom_headers?: Record<string, string> | undefined;
|
|
108594
|
+
custom_host?: string | undefined;
|
|
108595
|
+
}>;
|
|
108596
|
+
type GatewayCustomHostConfiguration = z.infer<typeof GatewayCustomHostConfigurationSchema>;
|
|
108597
|
+
type GatewayIntegrationConfiguration = GatewayOpenAIConfiguration | GatewayAzureOpenAIConfiguration | GatewayBedrockConfiguration | GatewaySageMakerConfiguration | GatewayVertexAIConfiguration | GatewayAzureAIConfiguration | GatewayWorkersAIConfiguration | GatewayHuggingFaceConfiguration | GatewayCortexConfiguration | GatewayCustomHostConfiguration | GatewayJsonObject;
|
|
108598
|
+
|
|
108599
|
+
declare const GatewayRateLimitInputSchema: z.ZodObject<{
|
|
108600
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
108601
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
108602
|
+
value: z.ZodNumber;
|
|
108603
|
+
}, "strict", z.ZodTypeAny, {
|
|
108604
|
+
value: number;
|
|
108605
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108606
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108607
|
+
}, {
|
|
108608
|
+
value: number;
|
|
108609
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108610
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108611
|
+
}>;
|
|
108612
|
+
type GatewayRateLimitInput = z.infer<typeof GatewayRateLimitInputSchema>;
|
|
108613
|
+
declare const GatewayUsageLimitInputSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
108614
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
108615
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
108616
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
108617
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
108618
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108619
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108620
|
+
}, "strict", z.ZodTypeAny, {
|
|
108621
|
+
type?: "cost" | "tokens" | undefined;
|
|
108622
|
+
credit_limit?: number | undefined;
|
|
108623
|
+
alert_threshold?: number | undefined;
|
|
108624
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108625
|
+
periodic_reset_days?: number | null | undefined;
|
|
108626
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108627
|
+
}, {
|
|
108628
|
+
type?: "cost" | "tokens" | undefined;
|
|
108629
|
+
credit_limit?: number | undefined;
|
|
108630
|
+
alert_threshold?: number | undefined;
|
|
108631
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108632
|
+
periodic_reset_days?: number | null | undefined;
|
|
108633
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108634
|
+
}>, {
|
|
108635
|
+
[x: string]: any;
|
|
108636
|
+
}, {
|
|
108637
|
+
[x: string]: any;
|
|
108638
|
+
}>, {
|
|
108639
|
+
[x: string]: any;
|
|
108640
|
+
}, {
|
|
108641
|
+
[x: string]: any;
|
|
108642
|
+
}>;
|
|
108643
|
+
type GatewayUsageLimitInput = z.infer<typeof GatewayUsageLimitInputSchema>;
|
|
108644
|
+
declare const GatewayDefaultsInputSchema: z.ZodObject<{
|
|
108645
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
108646
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
108647
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
108648
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108649
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108650
|
+
config_id?: string | undefined;
|
|
108651
|
+
allow_config_override?: boolean | undefined;
|
|
108652
|
+
}, {
|
|
108653
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108654
|
+
config_id?: string | undefined;
|
|
108655
|
+
allow_config_override?: boolean | undefined;
|
|
108656
|
+
}>;
|
|
108657
|
+
type GatewayDefaultsInput = z.infer<typeof GatewayDefaultsInputSchema>;
|
|
108658
|
+
declare const GatewaySecretMappingSchema: z.ZodObject<{
|
|
108659
|
+
target_field: z.ZodString;
|
|
108660
|
+
secret_reference_id: z.ZodString;
|
|
108661
|
+
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108662
|
+
value_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["json", "string"]>>>;
|
|
108663
|
+
}, "strict", z.ZodTypeAny, {
|
|
108664
|
+
target_field: string;
|
|
108665
|
+
secret_reference_id: string;
|
|
108666
|
+
secret_key?: string | null | undefined;
|
|
108667
|
+
value_format?: "string" | "json" | null | undefined;
|
|
108668
|
+
}, {
|
|
108669
|
+
target_field: string;
|
|
108670
|
+
secret_reference_id: string;
|
|
108671
|
+
secret_key?: string | null | undefined;
|
|
108672
|
+
value_format?: "string" | "json" | null | undefined;
|
|
108673
|
+
}>;
|
|
108674
|
+
type GatewaySecretMapping = z.infer<typeof GatewaySecretMappingSchema>;
|
|
108675
|
+
declare const GatewayGlobalWorkspaceAccessInputSchema: z.ZodObject<{
|
|
108676
|
+
enabled: z.ZodBoolean;
|
|
108677
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
108678
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
108679
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
108680
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
108681
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
108682
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108683
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108684
|
+
}, "strict", z.ZodTypeAny, {
|
|
108685
|
+
type?: "cost" | "tokens" | undefined;
|
|
108686
|
+
credit_limit?: number | undefined;
|
|
108687
|
+
alert_threshold?: number | undefined;
|
|
108688
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108689
|
+
periodic_reset_days?: number | null | undefined;
|
|
108690
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108691
|
+
}, {
|
|
108692
|
+
type?: "cost" | "tokens" | undefined;
|
|
108693
|
+
credit_limit?: number | undefined;
|
|
108694
|
+
alert_threshold?: number | undefined;
|
|
108695
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108696
|
+
periodic_reset_days?: number | null | undefined;
|
|
108697
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108698
|
+
}>, {
|
|
108699
|
+
[x: string]: any;
|
|
108700
|
+
}, {
|
|
108701
|
+
[x: string]: any;
|
|
108702
|
+
}>, {
|
|
108703
|
+
[x: string]: any;
|
|
108704
|
+
}, {
|
|
108705
|
+
[x: string]: any;
|
|
108706
|
+
}>, "many">>>;
|
|
108707
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
108708
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
108709
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
108710
|
+
value: z.ZodNumber;
|
|
108711
|
+
}, "strict", z.ZodTypeAny, {
|
|
108712
|
+
value: number;
|
|
108713
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108714
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108715
|
+
}, {
|
|
108716
|
+
value: number;
|
|
108717
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108718
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108719
|
+
}>, "many">>>;
|
|
108720
|
+
}, "strict", z.ZodTypeAny, {
|
|
108721
|
+
enabled: boolean;
|
|
108722
|
+
usage_limits?: {
|
|
108723
|
+
[x: string]: any;
|
|
108724
|
+
}[] | null | undefined;
|
|
108725
|
+
rate_limits?: {
|
|
108726
|
+
value: number;
|
|
108727
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108728
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108729
|
+
}[] | null | undefined;
|
|
108730
|
+
}, {
|
|
108731
|
+
enabled: boolean;
|
|
108732
|
+
usage_limits?: {
|
|
108733
|
+
[x: string]: any;
|
|
108734
|
+
}[] | null | undefined;
|
|
108735
|
+
rate_limits?: {
|
|
108736
|
+
value: number;
|
|
108737
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108738
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108739
|
+
}[] | null | undefined;
|
|
108740
|
+
}>;
|
|
108741
|
+
type GatewayGlobalWorkspaceAccessInput = z.infer<typeof GatewayGlobalWorkspaceAccessInputSchema>;
|
|
108742
|
+
declare const GatewayWorkspaceBindingSchema: z.ZodObject<{
|
|
108743
|
+
id: z.ZodString;
|
|
108744
|
+
enabled: z.ZodBoolean;
|
|
108745
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
108746
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
108747
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
108748
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
108749
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
108750
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108751
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108752
|
+
}, "strict", z.ZodTypeAny, {
|
|
108753
|
+
type?: "cost" | "tokens" | undefined;
|
|
108754
|
+
credit_limit?: number | undefined;
|
|
108755
|
+
alert_threshold?: number | undefined;
|
|
108756
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108757
|
+
periodic_reset_days?: number | null | undefined;
|
|
108758
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108759
|
+
}, {
|
|
108760
|
+
type?: "cost" | "tokens" | undefined;
|
|
108761
|
+
credit_limit?: number | undefined;
|
|
108762
|
+
alert_threshold?: number | undefined;
|
|
108763
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108764
|
+
periodic_reset_days?: number | null | undefined;
|
|
108765
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108766
|
+
}>, {
|
|
108767
|
+
[x: string]: any;
|
|
108768
|
+
}, {
|
|
108769
|
+
[x: string]: any;
|
|
108770
|
+
}>, {
|
|
108771
|
+
[x: string]: any;
|
|
108772
|
+
}, {
|
|
108773
|
+
[x: string]: any;
|
|
108774
|
+
}>, "many">>>;
|
|
108775
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
108776
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
108777
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
108778
|
+
value: z.ZodNumber;
|
|
108779
|
+
}, "strict", z.ZodTypeAny, {
|
|
108780
|
+
value: number;
|
|
108781
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108782
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108783
|
+
}, {
|
|
108784
|
+
value: number;
|
|
108785
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108786
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108787
|
+
}>, "many">>>;
|
|
108788
|
+
reset_usage: z.ZodOptional<z.ZodBoolean>;
|
|
108789
|
+
create_default_provider: z.ZodOptional<z.ZodBoolean>;
|
|
108790
|
+
default_provider_slug: z.ZodOptional<z.ZodString>;
|
|
108791
|
+
}, "strict", z.ZodTypeAny, {
|
|
108792
|
+
id: string;
|
|
108793
|
+
enabled: boolean;
|
|
108794
|
+
usage_limits?: {
|
|
108795
|
+
[x: string]: any;
|
|
108796
|
+
}[] | null | undefined;
|
|
108797
|
+
rate_limits?: {
|
|
108798
|
+
value: number;
|
|
108799
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108800
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108801
|
+
}[] | null | undefined;
|
|
108802
|
+
reset_usage?: boolean | undefined;
|
|
108803
|
+
create_default_provider?: boolean | undefined;
|
|
108804
|
+
default_provider_slug?: string | undefined;
|
|
108805
|
+
}, {
|
|
108806
|
+
id: string;
|
|
108807
|
+
enabled: boolean;
|
|
108808
|
+
usage_limits?: {
|
|
108809
|
+
[x: string]: any;
|
|
108810
|
+
}[] | null | undefined;
|
|
108811
|
+
rate_limits?: {
|
|
108812
|
+
value: number;
|
|
108813
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108814
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108815
|
+
}[] | null | undefined;
|
|
108816
|
+
reset_usage?: boolean | undefined;
|
|
108817
|
+
create_default_provider?: boolean | undefined;
|
|
108818
|
+
default_provider_slug?: string | undefined;
|
|
108819
|
+
}>;
|
|
108820
|
+
type GatewayWorkspaceBinding = z.infer<typeof GatewayWorkspaceBindingSchema>;
|
|
108821
|
+
declare const GatewayWorkspaceCreateRequestSchema: z.ZodObject<{
|
|
108822
|
+
name: z.ZodString;
|
|
108823
|
+
scope_name: z.ZodString;
|
|
108824
|
+
description: z.ZodOptional<z.ZodString>;
|
|
108825
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
108826
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
108827
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
108828
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
108829
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
108830
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108831
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108832
|
+
config_id?: string | undefined;
|
|
108833
|
+
allow_config_override?: boolean | undefined;
|
|
108834
|
+
}, {
|
|
108835
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108836
|
+
config_id?: string | undefined;
|
|
108837
|
+
allow_config_override?: boolean | undefined;
|
|
108838
|
+
}>>;
|
|
108839
|
+
users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
108840
|
+
usage_limits: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
108841
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
108842
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
108843
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
108844
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
108845
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108846
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108847
|
+
}, "strict", z.ZodTypeAny, {
|
|
108848
|
+
type?: "cost" | "tokens" | undefined;
|
|
108849
|
+
credit_limit?: number | undefined;
|
|
108850
|
+
alert_threshold?: number | undefined;
|
|
108851
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108852
|
+
periodic_reset_days?: number | null | undefined;
|
|
108853
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108854
|
+
}, {
|
|
108855
|
+
type?: "cost" | "tokens" | undefined;
|
|
108856
|
+
credit_limit?: number | undefined;
|
|
108857
|
+
alert_threshold?: number | undefined;
|
|
108858
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108859
|
+
periodic_reset_days?: number | null | undefined;
|
|
108860
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108861
|
+
}>, {
|
|
108862
|
+
[x: string]: any;
|
|
108863
|
+
}, {
|
|
108864
|
+
[x: string]: any;
|
|
108865
|
+
}>, {
|
|
108866
|
+
[x: string]: any;
|
|
108867
|
+
}, {
|
|
108868
|
+
[x: string]: any;
|
|
108869
|
+
}>, "many">>;
|
|
108870
|
+
rate_limits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108871
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
108872
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
108873
|
+
value: z.ZodNumber;
|
|
108874
|
+
}, "strict", z.ZodTypeAny, {
|
|
108875
|
+
value: number;
|
|
108876
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108877
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108878
|
+
}, {
|
|
108879
|
+
value: number;
|
|
108880
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108881
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108882
|
+
}>, "many">>;
|
|
108883
|
+
}, "strict", z.ZodTypeAny, {
|
|
108884
|
+
name: string;
|
|
108885
|
+
scope_name: string;
|
|
108886
|
+
users?: string[] | undefined;
|
|
108887
|
+
description?: string | undefined;
|
|
108888
|
+
icon?: string | undefined;
|
|
108889
|
+
defaults?: {
|
|
108890
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108891
|
+
config_id?: string | undefined;
|
|
108892
|
+
allow_config_override?: boolean | undefined;
|
|
108893
|
+
} | undefined;
|
|
108894
|
+
usage_limits?: {
|
|
108895
|
+
[x: string]: any;
|
|
108896
|
+
}[] | undefined;
|
|
108897
|
+
rate_limits?: {
|
|
108898
|
+
value: number;
|
|
108899
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108900
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108901
|
+
}[] | undefined;
|
|
108902
|
+
}, {
|
|
108903
|
+
name: string;
|
|
108904
|
+
scope_name: string;
|
|
108905
|
+
users?: string[] | undefined;
|
|
108906
|
+
description?: string | undefined;
|
|
108907
|
+
icon?: string | undefined;
|
|
108908
|
+
defaults?: {
|
|
108909
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108910
|
+
config_id?: string | undefined;
|
|
108911
|
+
allow_config_override?: boolean | undefined;
|
|
108912
|
+
} | undefined;
|
|
108913
|
+
usage_limits?: {
|
|
108914
|
+
[x: string]: any;
|
|
108915
|
+
}[] | undefined;
|
|
108916
|
+
rate_limits?: {
|
|
108917
|
+
value: number;
|
|
108918
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108919
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108920
|
+
}[] | undefined;
|
|
108921
|
+
}>;
|
|
108922
|
+
type GatewayWorkspaceCreateRequest = z.infer<typeof GatewayWorkspaceCreateRequestSchema>;
|
|
108923
|
+
declare const GatewayWorkspaceUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
108924
|
+
name: z.ZodOptional<z.ZodString>;
|
|
108925
|
+
description: z.ZodOptional<z.ZodString>;
|
|
108926
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
108927
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
108928
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
108929
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
108930
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
108931
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
108932
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108933
|
+
config_id?: string | undefined;
|
|
108934
|
+
allow_config_override?: boolean | undefined;
|
|
108935
|
+
}, {
|
|
108936
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108937
|
+
config_id?: string | undefined;
|
|
108938
|
+
allow_config_override?: boolean | undefined;
|
|
108939
|
+
}>>;
|
|
108940
|
+
usage_limits: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
108941
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
108942
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
108943
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
108944
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
108945
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108946
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108947
|
+
}, "strict", z.ZodTypeAny, {
|
|
108948
|
+
type?: "cost" | "tokens" | undefined;
|
|
108949
|
+
credit_limit?: number | undefined;
|
|
108950
|
+
alert_threshold?: number | undefined;
|
|
108951
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108952
|
+
periodic_reset_days?: number | null | undefined;
|
|
108953
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108954
|
+
}, {
|
|
108955
|
+
type?: "cost" | "tokens" | undefined;
|
|
108956
|
+
credit_limit?: number | undefined;
|
|
108957
|
+
alert_threshold?: number | undefined;
|
|
108958
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
108959
|
+
periodic_reset_days?: number | null | undefined;
|
|
108960
|
+
next_usage_reset_at?: string | null | undefined;
|
|
108961
|
+
}>, {
|
|
108962
|
+
[x: string]: any;
|
|
108963
|
+
}, {
|
|
108964
|
+
[x: string]: any;
|
|
108965
|
+
}>, {
|
|
108966
|
+
[x: string]: any;
|
|
108967
|
+
}, {
|
|
108968
|
+
[x: string]: any;
|
|
108969
|
+
}>, "many">>;
|
|
108970
|
+
rate_limits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108971
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
108972
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
108973
|
+
value: z.ZodNumber;
|
|
108974
|
+
}, "strict", z.ZodTypeAny, {
|
|
108975
|
+
value: number;
|
|
108976
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108977
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108978
|
+
}, {
|
|
108979
|
+
value: number;
|
|
108980
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108981
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108982
|
+
}>, "many">>;
|
|
108983
|
+
}, "strict", z.ZodTypeAny, {
|
|
108984
|
+
name?: string | undefined;
|
|
108985
|
+
description?: string | undefined;
|
|
108986
|
+
icon?: string | undefined;
|
|
108987
|
+
defaults?: {
|
|
108988
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
108989
|
+
config_id?: string | undefined;
|
|
108990
|
+
allow_config_override?: boolean | undefined;
|
|
108991
|
+
} | undefined;
|
|
108992
|
+
usage_limits?: {
|
|
108993
|
+
[x: string]: any;
|
|
108994
|
+
}[] | undefined;
|
|
108995
|
+
rate_limits?: {
|
|
108996
|
+
value: number;
|
|
108997
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
108998
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
108999
|
+
}[] | undefined;
|
|
109000
|
+
}, {
|
|
109001
|
+
name?: string | undefined;
|
|
109002
|
+
description?: string | undefined;
|
|
109003
|
+
icon?: string | undefined;
|
|
109004
|
+
defaults?: {
|
|
109005
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
109006
|
+
config_id?: string | undefined;
|
|
109007
|
+
allow_config_override?: boolean | undefined;
|
|
109008
|
+
} | undefined;
|
|
109009
|
+
usage_limits?: {
|
|
109010
|
+
[x: string]: any;
|
|
109011
|
+
}[] | undefined;
|
|
109012
|
+
rate_limits?: {
|
|
109013
|
+
value: number;
|
|
109014
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109015
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109016
|
+
}[] | undefined;
|
|
109017
|
+
}>, {
|
|
109018
|
+
[x: string]: any;
|
|
109019
|
+
}, {
|
|
109020
|
+
[x: string]: any;
|
|
109021
|
+
}>;
|
|
109022
|
+
type GatewayWorkspaceUpdateRequest = z.infer<typeof GatewayWorkspaceUpdateRequestSchema>;
|
|
109023
|
+
declare const GatewayConfigCreateRequestSchema: z.ZodObject<{
|
|
109024
|
+
name: z.ZodString;
|
|
109025
|
+
workspace_id: z.ZodString;
|
|
109026
|
+
config: z.ZodObject<{
|
|
109027
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
109028
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
109029
|
+
on_status_codes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
109030
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109031
|
+
attempts?: number | undefined;
|
|
109032
|
+
on_status_codes?: number[] | undefined;
|
|
109033
|
+
}, {
|
|
109034
|
+
attempts?: number | undefined;
|
|
109035
|
+
on_status_codes?: number[] | undefined;
|
|
109036
|
+
}>>;
|
|
109037
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
109038
|
+
mode: z.ZodOptional<z.ZodType<GatewayOpenValue<"semantic" | "simple">, z.ZodTypeDef, GatewayOpenValue<"semantic" | "simple">>>;
|
|
109039
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
|
109040
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109041
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109042
|
+
max_age?: number | undefined;
|
|
109043
|
+
}, {
|
|
109044
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109045
|
+
max_age?: number | undefined;
|
|
109046
|
+
}>>;
|
|
109047
|
+
strategy: z.ZodOptional<z.ZodObject<{
|
|
109048
|
+
mode: z.ZodType<GatewayOpenValue<"fallback" | "loadbalance" | "single">, z.ZodTypeDef, GatewayOpenValue<"fallback" | "loadbalance" | "single">>;
|
|
109049
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109050
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109051
|
+
}, {
|
|
109052
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109053
|
+
}>>;
|
|
109054
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109055
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
109056
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
109057
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109058
|
+
provider?: string | undefined;
|
|
109059
|
+
virtual_key?: string | undefined;
|
|
109060
|
+
}, {
|
|
109061
|
+
provider?: string | undefined;
|
|
109062
|
+
virtual_key?: string | undefined;
|
|
109063
|
+
}>, "many">>;
|
|
109064
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
109065
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
109066
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109067
|
+
provider?: string | undefined;
|
|
109068
|
+
retry?: {
|
|
109069
|
+
attempts?: number | undefined;
|
|
109070
|
+
on_status_codes?: number[] | undefined;
|
|
109071
|
+
} | undefined;
|
|
109072
|
+
virtual_key?: string | undefined;
|
|
109073
|
+
cache?: {
|
|
109074
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109075
|
+
max_age?: number | undefined;
|
|
109076
|
+
} | undefined;
|
|
109077
|
+
strategy?: {
|
|
109078
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109079
|
+
} | undefined;
|
|
109080
|
+
targets?: {
|
|
109081
|
+
provider?: string | undefined;
|
|
109082
|
+
virtual_key?: string | undefined;
|
|
109083
|
+
}[] | undefined;
|
|
109084
|
+
}, {
|
|
109085
|
+
provider?: string | undefined;
|
|
109086
|
+
retry?: {
|
|
109087
|
+
attempts?: number | undefined;
|
|
109088
|
+
on_status_codes?: number[] | undefined;
|
|
109089
|
+
} | undefined;
|
|
109090
|
+
virtual_key?: string | undefined;
|
|
109091
|
+
cache?: {
|
|
109092
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109093
|
+
max_age?: number | undefined;
|
|
109094
|
+
} | undefined;
|
|
109095
|
+
strategy?: {
|
|
109096
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109097
|
+
} | undefined;
|
|
109098
|
+
targets?: {
|
|
109099
|
+
provider?: string | undefined;
|
|
109100
|
+
virtual_key?: string | undefined;
|
|
109101
|
+
}[] | undefined;
|
|
109102
|
+
}>;
|
|
109103
|
+
}, "strict", z.ZodTypeAny, {
|
|
109104
|
+
name: string;
|
|
109105
|
+
config: {
|
|
109106
|
+
provider?: string | undefined;
|
|
109107
|
+
retry?: {
|
|
109108
|
+
attempts?: number | undefined;
|
|
109109
|
+
on_status_codes?: number[] | undefined;
|
|
109110
|
+
} | undefined;
|
|
109111
|
+
virtual_key?: string | undefined;
|
|
109112
|
+
cache?: {
|
|
109113
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109114
|
+
max_age?: number | undefined;
|
|
109115
|
+
} | undefined;
|
|
109116
|
+
strategy?: {
|
|
109117
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109118
|
+
} | undefined;
|
|
109119
|
+
targets?: {
|
|
109120
|
+
provider?: string | undefined;
|
|
109121
|
+
virtual_key?: string | undefined;
|
|
109122
|
+
}[] | undefined;
|
|
109123
|
+
};
|
|
109124
|
+
workspace_id: string;
|
|
109125
|
+
}, {
|
|
109126
|
+
name: string;
|
|
109127
|
+
config: {
|
|
109128
|
+
provider?: string | undefined;
|
|
109129
|
+
retry?: {
|
|
109130
|
+
attempts?: number | undefined;
|
|
109131
|
+
on_status_codes?: number[] | undefined;
|
|
109132
|
+
} | undefined;
|
|
109133
|
+
virtual_key?: string | undefined;
|
|
109134
|
+
cache?: {
|
|
109135
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109136
|
+
max_age?: number | undefined;
|
|
109137
|
+
} | undefined;
|
|
109138
|
+
strategy?: {
|
|
109139
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109140
|
+
} | undefined;
|
|
109141
|
+
targets?: {
|
|
109142
|
+
provider?: string | undefined;
|
|
109143
|
+
virtual_key?: string | undefined;
|
|
109144
|
+
}[] | undefined;
|
|
109145
|
+
};
|
|
109146
|
+
workspace_id: string;
|
|
109147
|
+
}>;
|
|
109148
|
+
type GatewayConfigCreateRequest = z.infer<typeof GatewayConfigCreateRequestSchema>;
|
|
109149
|
+
declare const GatewayConfigUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
109150
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109151
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
109152
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
109153
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
109154
|
+
attempts: z.ZodOptional<z.ZodNumber>;
|
|
109155
|
+
on_status_codes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
109156
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109157
|
+
attempts?: number | undefined;
|
|
109158
|
+
on_status_codes?: number[] | undefined;
|
|
109159
|
+
}, {
|
|
109160
|
+
attempts?: number | undefined;
|
|
109161
|
+
on_status_codes?: number[] | undefined;
|
|
109162
|
+
}>>;
|
|
109163
|
+
cache: z.ZodOptional<z.ZodObject<{
|
|
109164
|
+
mode: z.ZodOptional<z.ZodType<GatewayOpenValue<"semantic" | "simple">, z.ZodTypeDef, GatewayOpenValue<"semantic" | "simple">>>;
|
|
109165
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
|
109166
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109167
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109168
|
+
max_age?: number | undefined;
|
|
109169
|
+
}, {
|
|
109170
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109171
|
+
max_age?: number | undefined;
|
|
109172
|
+
}>>;
|
|
109173
|
+
strategy: z.ZodOptional<z.ZodObject<{
|
|
109174
|
+
mode: z.ZodType<GatewayOpenValue<"fallback" | "loadbalance" | "single">, z.ZodTypeDef, GatewayOpenValue<"fallback" | "loadbalance" | "single">>;
|
|
109175
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109176
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109177
|
+
}, {
|
|
109178
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109179
|
+
}>>;
|
|
109180
|
+
targets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109181
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
109182
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
109183
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109184
|
+
provider?: string | undefined;
|
|
109185
|
+
virtual_key?: string | undefined;
|
|
109186
|
+
}, {
|
|
109187
|
+
provider?: string | undefined;
|
|
109188
|
+
virtual_key?: string | undefined;
|
|
109189
|
+
}>, "many">>;
|
|
109190
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
109191
|
+
virtual_key: z.ZodOptional<z.ZodString>;
|
|
109192
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109193
|
+
provider?: string | undefined;
|
|
109194
|
+
retry?: {
|
|
109195
|
+
attempts?: number | undefined;
|
|
109196
|
+
on_status_codes?: number[] | undefined;
|
|
109197
|
+
} | undefined;
|
|
109198
|
+
virtual_key?: string | undefined;
|
|
109199
|
+
cache?: {
|
|
109200
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109201
|
+
max_age?: number | undefined;
|
|
109202
|
+
} | undefined;
|
|
109203
|
+
strategy?: {
|
|
109204
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109205
|
+
} | undefined;
|
|
109206
|
+
targets?: {
|
|
109207
|
+
provider?: string | undefined;
|
|
109208
|
+
virtual_key?: string | undefined;
|
|
109209
|
+
}[] | undefined;
|
|
109210
|
+
}, {
|
|
109211
|
+
provider?: string | undefined;
|
|
109212
|
+
retry?: {
|
|
109213
|
+
attempts?: number | undefined;
|
|
109214
|
+
on_status_codes?: number[] | undefined;
|
|
109215
|
+
} | undefined;
|
|
109216
|
+
virtual_key?: string | undefined;
|
|
109217
|
+
cache?: {
|
|
109218
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109219
|
+
max_age?: number | undefined;
|
|
109220
|
+
} | undefined;
|
|
109221
|
+
strategy?: {
|
|
109222
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109223
|
+
} | undefined;
|
|
109224
|
+
targets?: {
|
|
109225
|
+
provider?: string | undefined;
|
|
109226
|
+
virtual_key?: string | undefined;
|
|
109227
|
+
}[] | undefined;
|
|
109228
|
+
}>>;
|
|
109229
|
+
status: z.ZodOptional<z.ZodString>;
|
|
109230
|
+
}, "strict", z.ZodTypeAny, {
|
|
109231
|
+
status?: string | undefined;
|
|
109232
|
+
name?: string | undefined;
|
|
109233
|
+
config?: {
|
|
109234
|
+
provider?: string | undefined;
|
|
109235
|
+
retry?: {
|
|
109236
|
+
attempts?: number | undefined;
|
|
109237
|
+
on_status_codes?: number[] | undefined;
|
|
109238
|
+
} | undefined;
|
|
109239
|
+
virtual_key?: string | undefined;
|
|
109240
|
+
cache?: {
|
|
109241
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109242
|
+
max_age?: number | undefined;
|
|
109243
|
+
} | undefined;
|
|
109244
|
+
strategy?: {
|
|
109245
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109246
|
+
} | undefined;
|
|
109247
|
+
targets?: {
|
|
109248
|
+
provider?: string | undefined;
|
|
109249
|
+
virtual_key?: string | undefined;
|
|
109250
|
+
}[] | undefined;
|
|
109251
|
+
} | undefined;
|
|
109252
|
+
workspace_id?: string | undefined;
|
|
109253
|
+
}, {
|
|
109254
|
+
status?: string | undefined;
|
|
109255
|
+
name?: string | undefined;
|
|
109256
|
+
config?: {
|
|
109257
|
+
provider?: string | undefined;
|
|
109258
|
+
retry?: {
|
|
109259
|
+
attempts?: number | undefined;
|
|
109260
|
+
on_status_codes?: number[] | undefined;
|
|
109261
|
+
} | undefined;
|
|
109262
|
+
virtual_key?: string | undefined;
|
|
109263
|
+
cache?: {
|
|
109264
|
+
mode?: GatewayOpenValue<"semantic" | "simple"> | undefined;
|
|
109265
|
+
max_age?: number | undefined;
|
|
109266
|
+
} | undefined;
|
|
109267
|
+
strategy?: {
|
|
109268
|
+
mode: GatewayOpenValue<"fallback" | "loadbalance" | "single">;
|
|
109269
|
+
} | undefined;
|
|
109270
|
+
targets?: {
|
|
109271
|
+
provider?: string | undefined;
|
|
109272
|
+
virtual_key?: string | undefined;
|
|
109273
|
+
}[] | undefined;
|
|
109274
|
+
} | undefined;
|
|
109275
|
+
workspace_id?: string | undefined;
|
|
109276
|
+
}>, {
|
|
109277
|
+
[x: string]: any;
|
|
109278
|
+
}, {
|
|
109279
|
+
[x: string]: any;
|
|
109280
|
+
}>;
|
|
109281
|
+
type GatewayConfigUpdateRequest = z.infer<typeof GatewayConfigUpdateRequestSchema>;
|
|
109282
|
+
declare const GatewayGuardrailCheckSchema: z.ZodObject<{
|
|
109283
|
+
id: z.ZodString;
|
|
109284
|
+
parameters: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
109285
|
+
is_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
109286
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109287
|
+
}, "strict", z.ZodTypeAny, {
|
|
109288
|
+
id: string;
|
|
109289
|
+
name?: string | undefined;
|
|
109290
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109291
|
+
is_enabled?: boolean | undefined;
|
|
109292
|
+
}, {
|
|
109293
|
+
id: string;
|
|
109294
|
+
name?: string | undefined;
|
|
109295
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109296
|
+
is_enabled?: boolean | undefined;
|
|
109297
|
+
}>;
|
|
109298
|
+
type GatewayGuardrailCheck = z.infer<typeof GatewayGuardrailCheckSchema>;
|
|
109299
|
+
declare const GatewayGuardrailActionsSchema: z.ZodEffects<z.ZodObject<{
|
|
109300
|
+
deny: z.ZodOptional<z.ZodBoolean>;
|
|
109301
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
109302
|
+
on_success: z.ZodOptional<z.ZodObject<{
|
|
109303
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
109304
|
+
value: z.ZodNumber;
|
|
109305
|
+
weight: z.ZodNumber;
|
|
109306
|
+
metadata: z.ZodString;
|
|
109307
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109308
|
+
value: number;
|
|
109309
|
+
metadata: string;
|
|
109310
|
+
weight: number;
|
|
109311
|
+
}, {
|
|
109312
|
+
value: number;
|
|
109313
|
+
metadata: string;
|
|
109314
|
+
weight: number;
|
|
109315
|
+
}>>;
|
|
109316
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109317
|
+
feedback?: {
|
|
109318
|
+
value: number;
|
|
109319
|
+
metadata: string;
|
|
109320
|
+
weight: number;
|
|
109321
|
+
} | undefined;
|
|
109322
|
+
}, {
|
|
109323
|
+
feedback?: {
|
|
109324
|
+
value: number;
|
|
109325
|
+
metadata: string;
|
|
109326
|
+
weight: number;
|
|
109327
|
+
} | undefined;
|
|
109328
|
+
}>>;
|
|
109329
|
+
on_fail: z.ZodOptional<z.ZodObject<{
|
|
109330
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
109331
|
+
value: z.ZodNumber;
|
|
109332
|
+
weight: z.ZodNumber;
|
|
109333
|
+
metadata: z.ZodString;
|
|
109334
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109335
|
+
value: number;
|
|
109336
|
+
metadata: string;
|
|
109337
|
+
weight: number;
|
|
109338
|
+
}, {
|
|
109339
|
+
value: number;
|
|
109340
|
+
metadata: string;
|
|
109341
|
+
weight: number;
|
|
109342
|
+
}>>;
|
|
109343
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109344
|
+
feedback?: {
|
|
109345
|
+
value: number;
|
|
109346
|
+
metadata: string;
|
|
109347
|
+
weight: number;
|
|
109348
|
+
} | undefined;
|
|
109349
|
+
}, {
|
|
109350
|
+
feedback?: {
|
|
109351
|
+
value: number;
|
|
109352
|
+
metadata: string;
|
|
109353
|
+
weight: number;
|
|
109354
|
+
} | undefined;
|
|
109355
|
+
}>>;
|
|
109356
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109357
|
+
deny?: boolean | undefined;
|
|
109358
|
+
async?: boolean | undefined;
|
|
109359
|
+
on_success?: {
|
|
109360
|
+
feedback?: {
|
|
109361
|
+
value: number;
|
|
109362
|
+
metadata: string;
|
|
109363
|
+
weight: number;
|
|
109364
|
+
} | undefined;
|
|
109365
|
+
} | undefined;
|
|
109366
|
+
on_fail?: {
|
|
109367
|
+
feedback?: {
|
|
109368
|
+
value: number;
|
|
109369
|
+
metadata: string;
|
|
109370
|
+
weight: number;
|
|
109371
|
+
} | undefined;
|
|
109372
|
+
} | undefined;
|
|
109373
|
+
}, {
|
|
109374
|
+
deny?: boolean | undefined;
|
|
109375
|
+
async?: boolean | undefined;
|
|
109376
|
+
on_success?: {
|
|
109377
|
+
feedback?: {
|
|
109378
|
+
value: number;
|
|
109379
|
+
metadata: string;
|
|
109380
|
+
weight: number;
|
|
109381
|
+
} | undefined;
|
|
109382
|
+
} | undefined;
|
|
109383
|
+
on_fail?: {
|
|
109384
|
+
feedback?: {
|
|
109385
|
+
value: number;
|
|
109386
|
+
metadata: string;
|
|
109387
|
+
weight: number;
|
|
109388
|
+
} | undefined;
|
|
109389
|
+
} | undefined;
|
|
109390
|
+
}>, {
|
|
109391
|
+
[x: string]: any;
|
|
109392
|
+
}, {
|
|
109393
|
+
[x: string]: any;
|
|
109394
|
+
}>;
|
|
109395
|
+
type GatewayGuardrailActions = z.infer<typeof GatewayGuardrailActionsSchema>;
|
|
109396
|
+
declare const GatewayGuardrailCreateRequestSchema: z.ZodObject<{
|
|
109397
|
+
workspace_id: z.ZodString;
|
|
109398
|
+
name: z.ZodString;
|
|
109399
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
109400
|
+
id: z.ZodString;
|
|
109401
|
+
parameters: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
109402
|
+
is_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
109403
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109404
|
+
}, "strict", z.ZodTypeAny, {
|
|
109405
|
+
id: string;
|
|
109406
|
+
name?: string | undefined;
|
|
109407
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109408
|
+
is_enabled?: boolean | undefined;
|
|
109409
|
+
}, {
|
|
109410
|
+
id: string;
|
|
109411
|
+
name?: string | undefined;
|
|
109412
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109413
|
+
is_enabled?: boolean | undefined;
|
|
109414
|
+
}>, "many">;
|
|
109415
|
+
actions: z.ZodEffects<z.ZodObject<{
|
|
109416
|
+
deny: z.ZodOptional<z.ZodBoolean>;
|
|
109417
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
109418
|
+
on_success: z.ZodOptional<z.ZodObject<{
|
|
109419
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
109420
|
+
value: z.ZodNumber;
|
|
109421
|
+
weight: z.ZodNumber;
|
|
109422
|
+
metadata: z.ZodString;
|
|
109423
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109424
|
+
value: number;
|
|
109425
|
+
metadata: string;
|
|
109426
|
+
weight: number;
|
|
109427
|
+
}, {
|
|
109428
|
+
value: number;
|
|
109429
|
+
metadata: string;
|
|
109430
|
+
weight: number;
|
|
109431
|
+
}>>;
|
|
109432
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109433
|
+
feedback?: {
|
|
109434
|
+
value: number;
|
|
109435
|
+
metadata: string;
|
|
109436
|
+
weight: number;
|
|
109437
|
+
} | undefined;
|
|
109438
|
+
}, {
|
|
109439
|
+
feedback?: {
|
|
109440
|
+
value: number;
|
|
109441
|
+
metadata: string;
|
|
109442
|
+
weight: number;
|
|
109443
|
+
} | undefined;
|
|
109444
|
+
}>>;
|
|
109445
|
+
on_fail: z.ZodOptional<z.ZodObject<{
|
|
109446
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
109447
|
+
value: z.ZodNumber;
|
|
109448
|
+
weight: z.ZodNumber;
|
|
109449
|
+
metadata: z.ZodString;
|
|
109450
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109451
|
+
value: number;
|
|
109452
|
+
metadata: string;
|
|
109453
|
+
weight: number;
|
|
109454
|
+
}, {
|
|
109455
|
+
value: number;
|
|
109456
|
+
metadata: string;
|
|
109457
|
+
weight: number;
|
|
109458
|
+
}>>;
|
|
109459
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109460
|
+
feedback?: {
|
|
109461
|
+
value: number;
|
|
109462
|
+
metadata: string;
|
|
109463
|
+
weight: number;
|
|
109464
|
+
} | undefined;
|
|
109465
|
+
}, {
|
|
109466
|
+
feedback?: {
|
|
109467
|
+
value: number;
|
|
109468
|
+
metadata: string;
|
|
109469
|
+
weight: number;
|
|
109470
|
+
} | undefined;
|
|
109471
|
+
}>>;
|
|
109472
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109473
|
+
deny?: boolean | undefined;
|
|
109474
|
+
async?: boolean | undefined;
|
|
109475
|
+
on_success?: {
|
|
109476
|
+
feedback?: {
|
|
109477
|
+
value: number;
|
|
109478
|
+
metadata: string;
|
|
109479
|
+
weight: number;
|
|
109480
|
+
} | undefined;
|
|
109481
|
+
} | undefined;
|
|
109482
|
+
on_fail?: {
|
|
109483
|
+
feedback?: {
|
|
109484
|
+
value: number;
|
|
109485
|
+
metadata: string;
|
|
109486
|
+
weight: number;
|
|
109487
|
+
} | undefined;
|
|
109488
|
+
} | undefined;
|
|
109489
|
+
}, {
|
|
109490
|
+
deny?: boolean | undefined;
|
|
109491
|
+
async?: boolean | undefined;
|
|
109492
|
+
on_success?: {
|
|
109493
|
+
feedback?: {
|
|
109494
|
+
value: number;
|
|
109495
|
+
metadata: string;
|
|
109496
|
+
weight: number;
|
|
109497
|
+
} | undefined;
|
|
109498
|
+
} | undefined;
|
|
109499
|
+
on_fail?: {
|
|
109500
|
+
feedback?: {
|
|
109501
|
+
value: number;
|
|
109502
|
+
metadata: string;
|
|
109503
|
+
weight: number;
|
|
109504
|
+
} | undefined;
|
|
109505
|
+
} | undefined;
|
|
109506
|
+
}>, {
|
|
109507
|
+
[x: string]: any;
|
|
109508
|
+
}, {
|
|
109509
|
+
[x: string]: any;
|
|
109510
|
+
}>;
|
|
109511
|
+
}, "strict", z.ZodTypeAny, {
|
|
109512
|
+
name: string;
|
|
109513
|
+
workspace_id: string;
|
|
109514
|
+
checks: {
|
|
109515
|
+
id: string;
|
|
109516
|
+
name?: string | undefined;
|
|
109517
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109518
|
+
is_enabled?: boolean | undefined;
|
|
109519
|
+
}[];
|
|
109520
|
+
actions: {
|
|
109521
|
+
[x: string]: any;
|
|
109522
|
+
};
|
|
109523
|
+
}, {
|
|
109524
|
+
name: string;
|
|
109525
|
+
workspace_id: string;
|
|
109526
|
+
checks: {
|
|
109527
|
+
id: string;
|
|
109528
|
+
name?: string | undefined;
|
|
109529
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109530
|
+
is_enabled?: boolean | undefined;
|
|
109531
|
+
}[];
|
|
109532
|
+
actions: {
|
|
109533
|
+
[x: string]: any;
|
|
109534
|
+
};
|
|
109535
|
+
}>;
|
|
109536
|
+
type GatewayGuardrailCreateRequest = z.infer<typeof GatewayGuardrailCreateRequestSchema>;
|
|
109537
|
+
declare const GatewayGuardrailUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
109538
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109539
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109540
|
+
id: z.ZodString;
|
|
109541
|
+
parameters: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
109542
|
+
is_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
109543
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109544
|
+
}, "strict", z.ZodTypeAny, {
|
|
109545
|
+
id: string;
|
|
109546
|
+
name?: string | undefined;
|
|
109547
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109548
|
+
is_enabled?: boolean | undefined;
|
|
109549
|
+
}, {
|
|
109550
|
+
id: string;
|
|
109551
|
+
name?: string | undefined;
|
|
109552
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109553
|
+
is_enabled?: boolean | undefined;
|
|
109554
|
+
}>, "many">>;
|
|
109555
|
+
actions: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
109556
|
+
deny: z.ZodOptional<z.ZodBoolean>;
|
|
109557
|
+
async: z.ZodOptional<z.ZodBoolean>;
|
|
109558
|
+
on_success: z.ZodOptional<z.ZodObject<{
|
|
109559
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
109560
|
+
value: z.ZodNumber;
|
|
109561
|
+
weight: z.ZodNumber;
|
|
109562
|
+
metadata: z.ZodString;
|
|
109563
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109564
|
+
value: number;
|
|
109565
|
+
metadata: string;
|
|
109566
|
+
weight: number;
|
|
109567
|
+
}, {
|
|
109568
|
+
value: number;
|
|
109569
|
+
metadata: string;
|
|
109570
|
+
weight: number;
|
|
109571
|
+
}>>;
|
|
109572
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109573
|
+
feedback?: {
|
|
109574
|
+
value: number;
|
|
109575
|
+
metadata: string;
|
|
109576
|
+
weight: number;
|
|
109577
|
+
} | undefined;
|
|
109578
|
+
}, {
|
|
109579
|
+
feedback?: {
|
|
109580
|
+
value: number;
|
|
109581
|
+
metadata: string;
|
|
109582
|
+
weight: number;
|
|
109583
|
+
} | undefined;
|
|
109584
|
+
}>>;
|
|
109585
|
+
on_fail: z.ZodOptional<z.ZodObject<{
|
|
109586
|
+
feedback: z.ZodOptional<z.ZodObject<{
|
|
109587
|
+
value: z.ZodNumber;
|
|
109588
|
+
weight: z.ZodNumber;
|
|
109589
|
+
metadata: z.ZodString;
|
|
109590
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109591
|
+
value: number;
|
|
109592
|
+
metadata: string;
|
|
109593
|
+
weight: number;
|
|
109594
|
+
}, {
|
|
109595
|
+
value: number;
|
|
109596
|
+
metadata: string;
|
|
109597
|
+
weight: number;
|
|
109598
|
+
}>>;
|
|
109599
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109600
|
+
feedback?: {
|
|
109601
|
+
value: number;
|
|
109602
|
+
metadata: string;
|
|
109603
|
+
weight: number;
|
|
109604
|
+
} | undefined;
|
|
109605
|
+
}, {
|
|
109606
|
+
feedback?: {
|
|
109607
|
+
value: number;
|
|
109608
|
+
metadata: string;
|
|
109609
|
+
weight: number;
|
|
109610
|
+
} | undefined;
|
|
109611
|
+
}>>;
|
|
109612
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109613
|
+
deny?: boolean | undefined;
|
|
109614
|
+
async?: boolean | undefined;
|
|
109615
|
+
on_success?: {
|
|
109616
|
+
feedback?: {
|
|
109617
|
+
value: number;
|
|
109618
|
+
metadata: string;
|
|
109619
|
+
weight: number;
|
|
109620
|
+
} | undefined;
|
|
109621
|
+
} | undefined;
|
|
109622
|
+
on_fail?: {
|
|
109623
|
+
feedback?: {
|
|
109624
|
+
value: number;
|
|
109625
|
+
metadata: string;
|
|
109626
|
+
weight: number;
|
|
109627
|
+
} | undefined;
|
|
109628
|
+
} | undefined;
|
|
109629
|
+
}, {
|
|
109630
|
+
deny?: boolean | undefined;
|
|
109631
|
+
async?: boolean | undefined;
|
|
109632
|
+
on_success?: {
|
|
109633
|
+
feedback?: {
|
|
109634
|
+
value: number;
|
|
109635
|
+
metadata: string;
|
|
109636
|
+
weight: number;
|
|
109637
|
+
} | undefined;
|
|
109638
|
+
} | undefined;
|
|
109639
|
+
on_fail?: {
|
|
109640
|
+
feedback?: {
|
|
109641
|
+
value: number;
|
|
109642
|
+
metadata: string;
|
|
109643
|
+
weight: number;
|
|
109644
|
+
} | undefined;
|
|
109645
|
+
} | undefined;
|
|
109646
|
+
}>, {
|
|
109647
|
+
[x: string]: any;
|
|
109648
|
+
}, {
|
|
109649
|
+
[x: string]: any;
|
|
109650
|
+
}>>;
|
|
109651
|
+
}, "strict", z.ZodTypeAny, {
|
|
109652
|
+
name?: string | undefined;
|
|
109653
|
+
checks?: {
|
|
109654
|
+
id: string;
|
|
109655
|
+
name?: string | undefined;
|
|
109656
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109657
|
+
is_enabled?: boolean | undefined;
|
|
109658
|
+
}[] | undefined;
|
|
109659
|
+
actions?: {
|
|
109660
|
+
[x: string]: any;
|
|
109661
|
+
} | undefined;
|
|
109662
|
+
}, {
|
|
109663
|
+
name?: string | undefined;
|
|
109664
|
+
checks?: {
|
|
109665
|
+
id: string;
|
|
109666
|
+
name?: string | undefined;
|
|
109667
|
+
parameters?: GatewayJsonObject | undefined;
|
|
109668
|
+
is_enabled?: boolean | undefined;
|
|
109669
|
+
}[] | undefined;
|
|
109670
|
+
actions?: {
|
|
109671
|
+
[x: string]: any;
|
|
109672
|
+
} | undefined;
|
|
109673
|
+
}>, {
|
|
109674
|
+
[x: string]: any;
|
|
109675
|
+
}, {
|
|
109676
|
+
[x: string]: any;
|
|
109677
|
+
}>;
|
|
109678
|
+
type GatewayGuardrailUpdateRequest = z.infer<typeof GatewayGuardrailUpdateRequestSchema>;
|
|
109679
|
+
declare const GatewayProviderCreateRequestSchema: z.ZodObject<{
|
|
109680
|
+
workspace_id: z.ZodString;
|
|
109681
|
+
ai_provider_id: z.ZodString;
|
|
109682
|
+
name: z.ZodString;
|
|
109683
|
+
integration_id: z.ZodString;
|
|
109684
|
+
slug: z.ZodString;
|
|
109685
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109686
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
109687
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
109688
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
109689
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
109690
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
109691
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109692
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109693
|
+
}, "strict", z.ZodTypeAny, {
|
|
109694
|
+
type?: "cost" | "tokens" | undefined;
|
|
109695
|
+
credit_limit?: number | undefined;
|
|
109696
|
+
alert_threshold?: number | undefined;
|
|
109697
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
109698
|
+
periodic_reset_days?: number | null | undefined;
|
|
109699
|
+
next_usage_reset_at?: string | null | undefined;
|
|
109700
|
+
}, {
|
|
109701
|
+
type?: "cost" | "tokens" | undefined;
|
|
109702
|
+
credit_limit?: number | undefined;
|
|
109703
|
+
alert_threshold?: number | undefined;
|
|
109704
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
109705
|
+
periodic_reset_days?: number | null | undefined;
|
|
109706
|
+
next_usage_reset_at?: string | null | undefined;
|
|
109707
|
+
}>, {
|
|
109708
|
+
[x: string]: any;
|
|
109709
|
+
}, {
|
|
109710
|
+
[x: string]: any;
|
|
109711
|
+
}>, {
|
|
109712
|
+
[x: string]: any;
|
|
109713
|
+
}, {
|
|
109714
|
+
[x: string]: any;
|
|
109715
|
+
}>>>;
|
|
109716
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109717
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
109718
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
109719
|
+
value: z.ZodNumber;
|
|
109720
|
+
}, "strict", z.ZodTypeAny, {
|
|
109721
|
+
value: number;
|
|
109722
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109723
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109724
|
+
}, {
|
|
109725
|
+
value: number;
|
|
109726
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109727
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109728
|
+
}>>>;
|
|
109729
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109730
|
+
}, "strict", z.ZodTypeAny, {
|
|
109731
|
+
name: string;
|
|
109732
|
+
slug: string;
|
|
109733
|
+
workspace_id: string;
|
|
109734
|
+
integration_id: string;
|
|
109735
|
+
ai_provider_id: string;
|
|
109736
|
+
expires_at?: string | null | undefined;
|
|
109737
|
+
usage_limits?: {
|
|
109738
|
+
[x: string]: any;
|
|
109739
|
+
} | null | undefined;
|
|
109740
|
+
rate_limits?: {
|
|
109741
|
+
value: number;
|
|
109742
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109743
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109744
|
+
} | null | undefined;
|
|
109745
|
+
note?: string | null | undefined;
|
|
109746
|
+
}, {
|
|
109747
|
+
name: string;
|
|
109748
|
+
slug: string;
|
|
109749
|
+
workspace_id: string;
|
|
109750
|
+
integration_id: string;
|
|
109751
|
+
ai_provider_id: string;
|
|
109752
|
+
expires_at?: string | null | undefined;
|
|
109753
|
+
usage_limits?: {
|
|
109754
|
+
[x: string]: any;
|
|
109755
|
+
} | null | undefined;
|
|
109756
|
+
rate_limits?: {
|
|
109757
|
+
value: number;
|
|
109758
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109759
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109760
|
+
} | null | undefined;
|
|
109761
|
+
note?: string | null | undefined;
|
|
109762
|
+
}>;
|
|
109763
|
+
type GatewayProviderCreateRequest = z.infer<typeof GatewayProviderCreateRequestSchema>;
|
|
109764
|
+
declare const GatewayProviderUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
109765
|
+
name: z.ZodOptional<z.ZodString>;
|
|
109766
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109767
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
109768
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
109769
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
109770
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
109771
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
109772
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109773
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109774
|
+
}, "strict", z.ZodTypeAny, {
|
|
109775
|
+
type?: "cost" | "tokens" | undefined;
|
|
109776
|
+
credit_limit?: number | undefined;
|
|
109777
|
+
alert_threshold?: number | undefined;
|
|
109778
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
109779
|
+
periodic_reset_days?: number | null | undefined;
|
|
109780
|
+
next_usage_reset_at?: string | null | undefined;
|
|
109781
|
+
}, {
|
|
109782
|
+
type?: "cost" | "tokens" | undefined;
|
|
109783
|
+
credit_limit?: number | undefined;
|
|
109784
|
+
alert_threshold?: number | undefined;
|
|
109785
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
109786
|
+
periodic_reset_days?: number | null | undefined;
|
|
109787
|
+
next_usage_reset_at?: string | null | undefined;
|
|
109788
|
+
}>, {
|
|
109789
|
+
[x: string]: any;
|
|
109790
|
+
}, {
|
|
109791
|
+
[x: string]: any;
|
|
109792
|
+
}>, {
|
|
109793
|
+
[x: string]: any;
|
|
109794
|
+
}, {
|
|
109795
|
+
[x: string]: any;
|
|
109796
|
+
}>>>;
|
|
109797
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109798
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
109799
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
109800
|
+
value: z.ZodNumber;
|
|
109801
|
+
}, "strict", z.ZodTypeAny, {
|
|
109802
|
+
value: number;
|
|
109803
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109804
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109805
|
+
}, {
|
|
109806
|
+
value: number;
|
|
109807
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109808
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109809
|
+
}>>>;
|
|
109810
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109811
|
+
reset_usage: z.ZodOptional<z.ZodBoolean>;
|
|
109812
|
+
}, "strict", z.ZodTypeAny, {
|
|
109813
|
+
name?: string | undefined;
|
|
109814
|
+
expires_at?: string | null | undefined;
|
|
109815
|
+
usage_limits?: {
|
|
109816
|
+
[x: string]: any;
|
|
109817
|
+
} | null | undefined;
|
|
109818
|
+
rate_limits?: {
|
|
109819
|
+
value: number;
|
|
109820
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109821
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109822
|
+
} | null | undefined;
|
|
109823
|
+
note?: string | null | undefined;
|
|
109824
|
+
reset_usage?: boolean | undefined;
|
|
109825
|
+
}, {
|
|
109826
|
+
name?: string | undefined;
|
|
109827
|
+
expires_at?: string | null | undefined;
|
|
109828
|
+
usage_limits?: {
|
|
109829
|
+
[x: string]: any;
|
|
109830
|
+
} | null | undefined;
|
|
109831
|
+
rate_limits?: {
|
|
109832
|
+
value: number;
|
|
109833
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109834
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109835
|
+
} | null | undefined;
|
|
109836
|
+
note?: string | null | undefined;
|
|
109837
|
+
reset_usage?: boolean | undefined;
|
|
109838
|
+
}>, {
|
|
109839
|
+
[x: string]: any;
|
|
109840
|
+
}, {
|
|
109841
|
+
[x: string]: any;
|
|
109842
|
+
}>;
|
|
109843
|
+
type GatewayProviderUpdateRequest = z.infer<typeof GatewayProviderUpdateRequestSchema>;
|
|
109844
|
+
declare const GatewayApiKeyRotationPolicySchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
109845
|
+
rotation_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
109846
|
+
next_rotation_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109847
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
109848
|
+
}, "strict", z.ZodTypeAny, {
|
|
109849
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
109850
|
+
next_rotation_at?: string | null | undefined;
|
|
109851
|
+
key_transition_period_ms?: number | undefined;
|
|
109852
|
+
}, {
|
|
109853
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
109854
|
+
next_rotation_at?: string | null | undefined;
|
|
109855
|
+
key_transition_period_ms?: number | undefined;
|
|
109856
|
+
}>, {
|
|
109857
|
+
[x: string]: any;
|
|
109858
|
+
}, {
|
|
109859
|
+
[x: string]: any;
|
|
109860
|
+
}>, {
|
|
109861
|
+
[x: string]: any;
|
|
109862
|
+
}, {
|
|
109863
|
+
[x: string]: any;
|
|
109864
|
+
}>;
|
|
109865
|
+
type GatewayApiKeyRotationPolicy = z.infer<typeof GatewayApiKeyRotationPolicySchema>;
|
|
109866
|
+
declare const GatewayServiceApiKeyCreateRequestSchema: z.ZodObject<{
|
|
109867
|
+
readonly organisation_id: z.ZodString;
|
|
109868
|
+
readonly workspace_id: z.ZodString;
|
|
109869
|
+
readonly type: z.ZodString;
|
|
109870
|
+
readonly name: z.ZodString;
|
|
109871
|
+
readonly description: z.ZodOptional<z.ZodString>;
|
|
109872
|
+
readonly scopes: z.ZodArray<z.ZodType<GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">, z.ZodTypeDef, GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">>, "many">;
|
|
109873
|
+
readonly rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
109874
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
109875
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
109876
|
+
value: z.ZodNumber;
|
|
109877
|
+
}, "strict", z.ZodTypeAny, {
|
|
109878
|
+
value: number;
|
|
109879
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109880
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109881
|
+
}, {
|
|
109882
|
+
value: number;
|
|
109883
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109884
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109885
|
+
}>, "many">>>;
|
|
109886
|
+
readonly usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
109887
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
109888
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
109889
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
109890
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
109891
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109892
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109893
|
+
}, "strict", z.ZodTypeAny, {
|
|
109894
|
+
type?: "cost" | "tokens" | undefined;
|
|
109895
|
+
credit_limit?: number | undefined;
|
|
109896
|
+
alert_threshold?: number | undefined;
|
|
109897
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
109898
|
+
periodic_reset_days?: number | null | undefined;
|
|
109899
|
+
next_usage_reset_at?: string | null | undefined;
|
|
109900
|
+
}, {
|
|
109901
|
+
type?: "cost" | "tokens" | undefined;
|
|
109902
|
+
credit_limit?: number | undefined;
|
|
109903
|
+
alert_threshold?: number | undefined;
|
|
109904
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
109905
|
+
periodic_reset_days?: number | null | undefined;
|
|
109906
|
+
next_usage_reset_at?: string | null | undefined;
|
|
109907
|
+
}>, {
|
|
109908
|
+
[x: string]: any;
|
|
109909
|
+
}, {
|
|
109910
|
+
[x: string]: any;
|
|
109911
|
+
}>, {
|
|
109912
|
+
[x: string]: any;
|
|
109913
|
+
}, {
|
|
109914
|
+
[x: string]: any;
|
|
109915
|
+
}>>>;
|
|
109916
|
+
readonly defaults: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109917
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
109918
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
109919
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
109920
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
109921
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
109922
|
+
config_id?: string | undefined;
|
|
109923
|
+
allow_config_override?: boolean | undefined;
|
|
109924
|
+
}, {
|
|
109925
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
109926
|
+
config_id?: string | undefined;
|
|
109927
|
+
allow_config_override?: boolean | undefined;
|
|
109928
|
+
}>>>;
|
|
109929
|
+
readonly alert_emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
109930
|
+
readonly expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109931
|
+
readonly rotation_policy: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
109932
|
+
rotation_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
109933
|
+
next_rotation_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109934
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
109935
|
+
}, "strict", z.ZodTypeAny, {
|
|
109936
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
109937
|
+
next_rotation_at?: string | null | undefined;
|
|
109938
|
+
key_transition_period_ms?: number | undefined;
|
|
109939
|
+
}, {
|
|
109940
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
109941
|
+
next_rotation_at?: string | null | undefined;
|
|
109942
|
+
key_transition_period_ms?: number | undefined;
|
|
109943
|
+
}>, {
|
|
109944
|
+
[x: string]: any;
|
|
109945
|
+
}, {
|
|
109946
|
+
[x: string]: any;
|
|
109947
|
+
}>, {
|
|
109948
|
+
[x: string]: any;
|
|
109949
|
+
}, {
|
|
109950
|
+
[x: string]: any;
|
|
109951
|
+
}>>>;
|
|
109952
|
+
}, "strict", z.ZodTypeAny, {
|
|
109953
|
+
type: string;
|
|
109954
|
+
name: string;
|
|
109955
|
+
organisation_id: string;
|
|
109956
|
+
workspace_id: string;
|
|
109957
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
109958
|
+
description?: string | undefined;
|
|
109959
|
+
expires_at?: string | null | undefined;
|
|
109960
|
+
defaults?: {
|
|
109961
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
109962
|
+
config_id?: string | undefined;
|
|
109963
|
+
allow_config_override?: boolean | undefined;
|
|
109964
|
+
} | null | undefined;
|
|
109965
|
+
usage_limits?: {
|
|
109966
|
+
[x: string]: any;
|
|
109967
|
+
} | null | undefined;
|
|
109968
|
+
rate_limits?: {
|
|
109969
|
+
value: number;
|
|
109970
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109971
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109972
|
+
}[] | null | undefined;
|
|
109973
|
+
alert_emails?: string[] | undefined;
|
|
109974
|
+
rotation_policy?: {
|
|
109975
|
+
[x: string]: any;
|
|
109976
|
+
} | null | undefined;
|
|
109977
|
+
}, {
|
|
109978
|
+
type: string;
|
|
109979
|
+
name: string;
|
|
109980
|
+
organisation_id: string;
|
|
109981
|
+
workspace_id: string;
|
|
109982
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
109983
|
+
description?: string | undefined;
|
|
109984
|
+
expires_at?: string | null | undefined;
|
|
109985
|
+
defaults?: {
|
|
109986
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
109987
|
+
config_id?: string | undefined;
|
|
109988
|
+
allow_config_override?: boolean | undefined;
|
|
109989
|
+
} | null | undefined;
|
|
109990
|
+
usage_limits?: {
|
|
109991
|
+
[x: string]: any;
|
|
109992
|
+
} | null | undefined;
|
|
109993
|
+
rate_limits?: {
|
|
109994
|
+
value: number;
|
|
109995
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
109996
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
109997
|
+
}[] | null | undefined;
|
|
109998
|
+
alert_emails?: string[] | undefined;
|
|
109999
|
+
rotation_policy?: {
|
|
110000
|
+
[x: string]: any;
|
|
110001
|
+
} | null | undefined;
|
|
110002
|
+
}>;
|
|
110003
|
+
type GatewayServiceApiKeyCreateRequest = z.infer<typeof GatewayServiceApiKeyCreateRequestSchema>;
|
|
110004
|
+
declare const GatewayUserApiKeyCreateRequestSchema: z.ZodObject<{
|
|
110005
|
+
user_id: z.ZodString;
|
|
110006
|
+
organisation_id: z.ZodString;
|
|
110007
|
+
workspace_id: z.ZodString;
|
|
110008
|
+
type: z.ZodString;
|
|
110009
|
+
name: z.ZodString;
|
|
110010
|
+
description: z.ZodOptional<z.ZodString>;
|
|
110011
|
+
scopes: z.ZodArray<z.ZodType<GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">, z.ZodTypeDef, GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">>, "many">;
|
|
110012
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110013
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
110014
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
110015
|
+
value: z.ZodNumber;
|
|
110016
|
+
}, "strict", z.ZodTypeAny, {
|
|
110017
|
+
value: number;
|
|
110018
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110019
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110020
|
+
}, {
|
|
110021
|
+
value: number;
|
|
110022
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110023
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110024
|
+
}>, "many">>>;
|
|
110025
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110026
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
110027
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
110028
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
110029
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110030
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110031
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110032
|
+
}, "strict", z.ZodTypeAny, {
|
|
110033
|
+
type?: "cost" | "tokens" | undefined;
|
|
110034
|
+
credit_limit?: number | undefined;
|
|
110035
|
+
alert_threshold?: number | undefined;
|
|
110036
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110037
|
+
periodic_reset_days?: number | null | undefined;
|
|
110038
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110039
|
+
}, {
|
|
110040
|
+
type?: "cost" | "tokens" | undefined;
|
|
110041
|
+
credit_limit?: number | undefined;
|
|
110042
|
+
alert_threshold?: number | undefined;
|
|
110043
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110044
|
+
periodic_reset_days?: number | null | undefined;
|
|
110045
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110046
|
+
}>, {
|
|
110047
|
+
[x: string]: any;
|
|
110048
|
+
}, {
|
|
110049
|
+
[x: string]: any;
|
|
110050
|
+
}>, {
|
|
110051
|
+
[x: string]: any;
|
|
110052
|
+
}, {
|
|
110053
|
+
[x: string]: any;
|
|
110054
|
+
}>>>;
|
|
110055
|
+
defaults: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
110056
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
110057
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
110058
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
110059
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
110060
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110061
|
+
config_id?: string | undefined;
|
|
110062
|
+
allow_config_override?: boolean | undefined;
|
|
110063
|
+
}, {
|
|
110064
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110065
|
+
config_id?: string | undefined;
|
|
110066
|
+
allow_config_override?: boolean | undefined;
|
|
110067
|
+
}>>>;
|
|
110068
|
+
alert_emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110069
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110070
|
+
rotation_policy: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110071
|
+
rotation_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110072
|
+
next_rotation_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110073
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
110074
|
+
}, "strict", z.ZodTypeAny, {
|
|
110075
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110076
|
+
next_rotation_at?: string | null | undefined;
|
|
110077
|
+
key_transition_period_ms?: number | undefined;
|
|
110078
|
+
}, {
|
|
110079
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110080
|
+
next_rotation_at?: string | null | undefined;
|
|
110081
|
+
key_transition_period_ms?: number | undefined;
|
|
110082
|
+
}>, {
|
|
110083
|
+
[x: string]: any;
|
|
110084
|
+
}, {
|
|
110085
|
+
[x: string]: any;
|
|
110086
|
+
}>, {
|
|
110087
|
+
[x: string]: any;
|
|
110088
|
+
}, {
|
|
110089
|
+
[x: string]: any;
|
|
110090
|
+
}>>>;
|
|
110091
|
+
}, "strict", z.ZodTypeAny, {
|
|
110092
|
+
type: string;
|
|
110093
|
+
name: string;
|
|
110094
|
+
organisation_id: string;
|
|
110095
|
+
workspace_id: string;
|
|
110096
|
+
user_id: string;
|
|
110097
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
110098
|
+
description?: string | undefined;
|
|
110099
|
+
expires_at?: string | null | undefined;
|
|
110100
|
+
defaults?: {
|
|
110101
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110102
|
+
config_id?: string | undefined;
|
|
110103
|
+
allow_config_override?: boolean | undefined;
|
|
110104
|
+
} | null | undefined;
|
|
110105
|
+
usage_limits?: {
|
|
110106
|
+
[x: string]: any;
|
|
110107
|
+
} | null | undefined;
|
|
110108
|
+
rate_limits?: {
|
|
110109
|
+
value: number;
|
|
110110
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110111
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110112
|
+
}[] | null | undefined;
|
|
110113
|
+
alert_emails?: string[] | undefined;
|
|
110114
|
+
rotation_policy?: {
|
|
110115
|
+
[x: string]: any;
|
|
110116
|
+
} | null | undefined;
|
|
110117
|
+
}, {
|
|
110118
|
+
type: string;
|
|
110119
|
+
name: string;
|
|
110120
|
+
organisation_id: string;
|
|
110121
|
+
workspace_id: string;
|
|
110122
|
+
user_id: string;
|
|
110123
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
110124
|
+
description?: string | undefined;
|
|
110125
|
+
expires_at?: string | null | undefined;
|
|
110126
|
+
defaults?: {
|
|
110127
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110128
|
+
config_id?: string | undefined;
|
|
110129
|
+
allow_config_override?: boolean | undefined;
|
|
110130
|
+
} | null | undefined;
|
|
110131
|
+
usage_limits?: {
|
|
110132
|
+
[x: string]: any;
|
|
110133
|
+
} | null | undefined;
|
|
110134
|
+
rate_limits?: {
|
|
110135
|
+
value: number;
|
|
110136
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110137
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110138
|
+
}[] | null | undefined;
|
|
110139
|
+
alert_emails?: string[] | undefined;
|
|
110140
|
+
rotation_policy?: {
|
|
110141
|
+
[x: string]: any;
|
|
110142
|
+
} | null | undefined;
|
|
110143
|
+
}>;
|
|
110144
|
+
type GatewayUserApiKeyCreateRequest = z.infer<typeof GatewayUserApiKeyCreateRequestSchema>;
|
|
110145
|
+
/** Compatibility union for callers that construct create bodies outside a specific method. */
|
|
110146
|
+
declare const GatewayApiKeyCreateRequestSchema: z.ZodUnion<[z.ZodObject<{
|
|
110147
|
+
user_id: z.ZodString;
|
|
110148
|
+
organisation_id: z.ZodString;
|
|
110149
|
+
workspace_id: z.ZodString;
|
|
110150
|
+
type: z.ZodString;
|
|
110151
|
+
name: z.ZodString;
|
|
110152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
110153
|
+
scopes: z.ZodArray<z.ZodType<GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">, z.ZodTypeDef, GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">>, "many">;
|
|
110154
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110155
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
110156
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
110157
|
+
value: z.ZodNumber;
|
|
110158
|
+
}, "strict", z.ZodTypeAny, {
|
|
110159
|
+
value: number;
|
|
110160
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110161
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110162
|
+
}, {
|
|
110163
|
+
value: number;
|
|
110164
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110165
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110166
|
+
}>, "many">>>;
|
|
110167
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110168
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
110169
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
110170
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
110171
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110172
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110173
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110174
|
+
}, "strict", z.ZodTypeAny, {
|
|
110175
|
+
type?: "cost" | "tokens" | undefined;
|
|
110176
|
+
credit_limit?: number | undefined;
|
|
110177
|
+
alert_threshold?: number | undefined;
|
|
110178
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110179
|
+
periodic_reset_days?: number | null | undefined;
|
|
110180
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110181
|
+
}, {
|
|
110182
|
+
type?: "cost" | "tokens" | undefined;
|
|
110183
|
+
credit_limit?: number | undefined;
|
|
110184
|
+
alert_threshold?: number | undefined;
|
|
110185
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110186
|
+
periodic_reset_days?: number | null | undefined;
|
|
110187
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110188
|
+
}>, {
|
|
110189
|
+
[x: string]: any;
|
|
110190
|
+
}, {
|
|
110191
|
+
[x: string]: any;
|
|
110192
|
+
}>, {
|
|
110193
|
+
[x: string]: any;
|
|
110194
|
+
}, {
|
|
110195
|
+
[x: string]: any;
|
|
110196
|
+
}>>>;
|
|
110197
|
+
defaults: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
110198
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
110199
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
110200
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
110201
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
110202
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110203
|
+
config_id?: string | undefined;
|
|
110204
|
+
allow_config_override?: boolean | undefined;
|
|
110205
|
+
}, {
|
|
110206
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110207
|
+
config_id?: string | undefined;
|
|
110208
|
+
allow_config_override?: boolean | undefined;
|
|
110209
|
+
}>>>;
|
|
110210
|
+
alert_emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110211
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110212
|
+
rotation_policy: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110213
|
+
rotation_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110214
|
+
next_rotation_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110215
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
110216
|
+
}, "strict", z.ZodTypeAny, {
|
|
110217
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110218
|
+
next_rotation_at?: string | null | undefined;
|
|
110219
|
+
key_transition_period_ms?: number | undefined;
|
|
110220
|
+
}, {
|
|
110221
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110222
|
+
next_rotation_at?: string | null | undefined;
|
|
110223
|
+
key_transition_period_ms?: number | undefined;
|
|
110224
|
+
}>, {
|
|
110225
|
+
[x: string]: any;
|
|
110226
|
+
}, {
|
|
110227
|
+
[x: string]: any;
|
|
110228
|
+
}>, {
|
|
110229
|
+
[x: string]: any;
|
|
110230
|
+
}, {
|
|
110231
|
+
[x: string]: any;
|
|
110232
|
+
}>>>;
|
|
110233
|
+
}, "strict", z.ZodTypeAny, {
|
|
110234
|
+
type: string;
|
|
110235
|
+
name: string;
|
|
110236
|
+
organisation_id: string;
|
|
110237
|
+
workspace_id: string;
|
|
110238
|
+
user_id: string;
|
|
110239
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
110240
|
+
description?: string | undefined;
|
|
110241
|
+
expires_at?: string | null | undefined;
|
|
110242
|
+
defaults?: {
|
|
110243
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110244
|
+
config_id?: string | undefined;
|
|
110245
|
+
allow_config_override?: boolean | undefined;
|
|
110246
|
+
} | null | undefined;
|
|
110247
|
+
usage_limits?: {
|
|
110248
|
+
[x: string]: any;
|
|
110249
|
+
} | null | undefined;
|
|
110250
|
+
rate_limits?: {
|
|
110251
|
+
value: number;
|
|
110252
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110253
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110254
|
+
}[] | null | undefined;
|
|
110255
|
+
alert_emails?: string[] | undefined;
|
|
110256
|
+
rotation_policy?: {
|
|
110257
|
+
[x: string]: any;
|
|
110258
|
+
} | null | undefined;
|
|
110259
|
+
}, {
|
|
110260
|
+
type: string;
|
|
110261
|
+
name: string;
|
|
110262
|
+
organisation_id: string;
|
|
110263
|
+
workspace_id: string;
|
|
110264
|
+
user_id: string;
|
|
110265
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
110266
|
+
description?: string | undefined;
|
|
110267
|
+
expires_at?: string | null | undefined;
|
|
110268
|
+
defaults?: {
|
|
110269
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110270
|
+
config_id?: string | undefined;
|
|
110271
|
+
allow_config_override?: boolean | undefined;
|
|
110272
|
+
} | null | undefined;
|
|
110273
|
+
usage_limits?: {
|
|
110274
|
+
[x: string]: any;
|
|
110275
|
+
} | null | undefined;
|
|
110276
|
+
rate_limits?: {
|
|
110277
|
+
value: number;
|
|
110278
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110279
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110280
|
+
}[] | null | undefined;
|
|
110281
|
+
alert_emails?: string[] | undefined;
|
|
110282
|
+
rotation_policy?: {
|
|
110283
|
+
[x: string]: any;
|
|
110284
|
+
} | null | undefined;
|
|
110285
|
+
}>, z.ZodObject<{
|
|
110286
|
+
readonly organisation_id: z.ZodString;
|
|
110287
|
+
readonly workspace_id: z.ZodString;
|
|
110288
|
+
readonly type: z.ZodString;
|
|
110289
|
+
readonly name: z.ZodString;
|
|
110290
|
+
readonly description: z.ZodOptional<z.ZodString>;
|
|
110291
|
+
readonly scopes: z.ZodArray<z.ZodType<GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">, z.ZodTypeDef, GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">>, "many">;
|
|
110292
|
+
readonly rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110293
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
110294
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
110295
|
+
value: z.ZodNumber;
|
|
110296
|
+
}, "strict", z.ZodTypeAny, {
|
|
110297
|
+
value: number;
|
|
110298
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110299
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110300
|
+
}, {
|
|
110301
|
+
value: number;
|
|
110302
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110303
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110304
|
+
}>, "many">>>;
|
|
110305
|
+
readonly usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110306
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
110307
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
110308
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
110309
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110310
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110311
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110312
|
+
}, "strict", z.ZodTypeAny, {
|
|
110313
|
+
type?: "cost" | "tokens" | undefined;
|
|
110314
|
+
credit_limit?: number | undefined;
|
|
110315
|
+
alert_threshold?: number | undefined;
|
|
110316
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110317
|
+
periodic_reset_days?: number | null | undefined;
|
|
110318
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110319
|
+
}, {
|
|
110320
|
+
type?: "cost" | "tokens" | undefined;
|
|
110321
|
+
credit_limit?: number | undefined;
|
|
110322
|
+
alert_threshold?: number | undefined;
|
|
110323
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110324
|
+
periodic_reset_days?: number | null | undefined;
|
|
110325
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110326
|
+
}>, {
|
|
110327
|
+
[x: string]: any;
|
|
110328
|
+
}, {
|
|
110329
|
+
[x: string]: any;
|
|
110330
|
+
}>, {
|
|
110331
|
+
[x: string]: any;
|
|
110332
|
+
}, {
|
|
110333
|
+
[x: string]: any;
|
|
110334
|
+
}>>>;
|
|
110335
|
+
readonly defaults: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
110336
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
110337
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
110338
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
110339
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
110340
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110341
|
+
config_id?: string | undefined;
|
|
110342
|
+
allow_config_override?: boolean | undefined;
|
|
110343
|
+
}, {
|
|
110344
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110345
|
+
config_id?: string | undefined;
|
|
110346
|
+
allow_config_override?: boolean | undefined;
|
|
110347
|
+
}>>>;
|
|
110348
|
+
readonly alert_emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110349
|
+
readonly expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110350
|
+
readonly rotation_policy: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110351
|
+
rotation_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110352
|
+
next_rotation_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110353
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
110354
|
+
}, "strict", z.ZodTypeAny, {
|
|
110355
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110356
|
+
next_rotation_at?: string | null | undefined;
|
|
110357
|
+
key_transition_period_ms?: number | undefined;
|
|
110358
|
+
}, {
|
|
110359
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110360
|
+
next_rotation_at?: string | null | undefined;
|
|
110361
|
+
key_transition_period_ms?: number | undefined;
|
|
110362
|
+
}>, {
|
|
110363
|
+
[x: string]: any;
|
|
110364
|
+
}, {
|
|
110365
|
+
[x: string]: any;
|
|
110366
|
+
}>, {
|
|
110367
|
+
[x: string]: any;
|
|
110368
|
+
}, {
|
|
110369
|
+
[x: string]: any;
|
|
110370
|
+
}>>>;
|
|
110371
|
+
}, "strict", z.ZodTypeAny, {
|
|
110372
|
+
type: string;
|
|
110373
|
+
name: string;
|
|
110374
|
+
organisation_id: string;
|
|
110375
|
+
workspace_id: string;
|
|
110376
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
110377
|
+
description?: string | undefined;
|
|
110378
|
+
expires_at?: string | null | undefined;
|
|
110379
|
+
defaults?: {
|
|
110380
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110381
|
+
config_id?: string | undefined;
|
|
110382
|
+
allow_config_override?: boolean | undefined;
|
|
110383
|
+
} | null | undefined;
|
|
110384
|
+
usage_limits?: {
|
|
110385
|
+
[x: string]: any;
|
|
110386
|
+
} | null | undefined;
|
|
110387
|
+
rate_limits?: {
|
|
110388
|
+
value: number;
|
|
110389
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110390
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110391
|
+
}[] | null | undefined;
|
|
110392
|
+
alert_emails?: string[] | undefined;
|
|
110393
|
+
rotation_policy?: {
|
|
110394
|
+
[x: string]: any;
|
|
110395
|
+
} | null | undefined;
|
|
110396
|
+
}, {
|
|
110397
|
+
type: string;
|
|
110398
|
+
name: string;
|
|
110399
|
+
organisation_id: string;
|
|
110400
|
+
workspace_id: string;
|
|
110401
|
+
scopes: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[];
|
|
110402
|
+
description?: string | undefined;
|
|
110403
|
+
expires_at?: string | null | undefined;
|
|
110404
|
+
defaults?: {
|
|
110405
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110406
|
+
config_id?: string | undefined;
|
|
110407
|
+
allow_config_override?: boolean | undefined;
|
|
110408
|
+
} | null | undefined;
|
|
110409
|
+
usage_limits?: {
|
|
110410
|
+
[x: string]: any;
|
|
110411
|
+
} | null | undefined;
|
|
110412
|
+
rate_limits?: {
|
|
110413
|
+
value: number;
|
|
110414
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110415
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110416
|
+
}[] | null | undefined;
|
|
110417
|
+
alert_emails?: string[] | undefined;
|
|
110418
|
+
rotation_policy?: {
|
|
110419
|
+
[x: string]: any;
|
|
110420
|
+
} | null | undefined;
|
|
110421
|
+
}>]>;
|
|
110422
|
+
type GatewayApiKeyCreateRequest = z.infer<typeof GatewayApiKeyCreateRequestSchema>;
|
|
110423
|
+
declare const GatewayApiKeyUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
110424
|
+
name: z.ZodOptional<z.ZodString>;
|
|
110425
|
+
description: z.ZodOptional<z.ZodString>;
|
|
110426
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodType<GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">, z.ZodTypeDef, GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">>, "many">>;
|
|
110427
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110428
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
110429
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
110430
|
+
value: z.ZodNumber;
|
|
110431
|
+
}, "strict", z.ZodTypeAny, {
|
|
110432
|
+
value: number;
|
|
110433
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110434
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110435
|
+
}, {
|
|
110436
|
+
value: number;
|
|
110437
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110438
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110439
|
+
}>, "many">>>;
|
|
110440
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110441
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
110442
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
110443
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
110444
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110445
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110446
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110447
|
+
}, "strict", z.ZodTypeAny, {
|
|
110448
|
+
type?: "cost" | "tokens" | undefined;
|
|
110449
|
+
credit_limit?: number | undefined;
|
|
110450
|
+
alert_threshold?: number | undefined;
|
|
110451
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110452
|
+
periodic_reset_days?: number | null | undefined;
|
|
110453
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110454
|
+
}, {
|
|
110455
|
+
type?: "cost" | "tokens" | undefined;
|
|
110456
|
+
credit_limit?: number | undefined;
|
|
110457
|
+
alert_threshold?: number | undefined;
|
|
110458
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110459
|
+
periodic_reset_days?: number | null | undefined;
|
|
110460
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110461
|
+
}>, {
|
|
110462
|
+
[x: string]: any;
|
|
110463
|
+
}, {
|
|
110464
|
+
[x: string]: any;
|
|
110465
|
+
}>, {
|
|
110466
|
+
[x: string]: any;
|
|
110467
|
+
}, {
|
|
110468
|
+
[x: string]: any;
|
|
110469
|
+
}>>>;
|
|
110470
|
+
reset_usage: z.ZodOptional<z.ZodBoolean>;
|
|
110471
|
+
defaults: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
110472
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>>>;
|
|
110473
|
+
config_id: z.ZodOptional<z.ZodString>;
|
|
110474
|
+
allow_config_override: z.ZodOptional<z.ZodBoolean>;
|
|
110475
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
110476
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110477
|
+
config_id?: string | undefined;
|
|
110478
|
+
allow_config_override?: boolean | undefined;
|
|
110479
|
+
}, {
|
|
110480
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110481
|
+
config_id?: string | undefined;
|
|
110482
|
+
allow_config_override?: boolean | undefined;
|
|
110483
|
+
}>>>;
|
|
110484
|
+
alert_emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110485
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110486
|
+
rotation_policy: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110487
|
+
rotation_period: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110488
|
+
next_rotation_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110489
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
110490
|
+
}, "strict", z.ZodTypeAny, {
|
|
110491
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110492
|
+
next_rotation_at?: string | null | undefined;
|
|
110493
|
+
key_transition_period_ms?: number | undefined;
|
|
110494
|
+
}, {
|
|
110495
|
+
rotation_period?: "monthly" | "weekly" | null | undefined;
|
|
110496
|
+
next_rotation_at?: string | null | undefined;
|
|
110497
|
+
key_transition_period_ms?: number | undefined;
|
|
110498
|
+
}>, {
|
|
110499
|
+
[x: string]: any;
|
|
110500
|
+
}, {
|
|
110501
|
+
[x: string]: any;
|
|
110502
|
+
}>, {
|
|
110503
|
+
[x: string]: any;
|
|
110504
|
+
}, {
|
|
110505
|
+
[x: string]: any;
|
|
110506
|
+
}>>>;
|
|
110507
|
+
}, "strict", z.ZodTypeAny, {
|
|
110508
|
+
name?: string | undefined;
|
|
110509
|
+
description?: string | undefined;
|
|
110510
|
+
expires_at?: string | null | undefined;
|
|
110511
|
+
defaults?: {
|
|
110512
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110513
|
+
config_id?: string | undefined;
|
|
110514
|
+
allow_config_override?: boolean | undefined;
|
|
110515
|
+
} | null | undefined;
|
|
110516
|
+
usage_limits?: {
|
|
110517
|
+
[x: string]: any;
|
|
110518
|
+
} | null | undefined;
|
|
110519
|
+
rate_limits?: {
|
|
110520
|
+
value: number;
|
|
110521
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110522
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110523
|
+
}[] | null | undefined;
|
|
110524
|
+
reset_usage?: boolean | undefined;
|
|
110525
|
+
scopes?: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[] | undefined;
|
|
110526
|
+
alert_emails?: string[] | undefined;
|
|
110527
|
+
rotation_policy?: {
|
|
110528
|
+
[x: string]: any;
|
|
110529
|
+
} | null | undefined;
|
|
110530
|
+
}, {
|
|
110531
|
+
name?: string | undefined;
|
|
110532
|
+
description?: string | undefined;
|
|
110533
|
+
expires_at?: string | null | undefined;
|
|
110534
|
+
defaults?: {
|
|
110535
|
+
metadata?: Record<string, GatewayJsonValue> | undefined;
|
|
110536
|
+
config_id?: string | undefined;
|
|
110537
|
+
allow_config_override?: boolean | undefined;
|
|
110538
|
+
} | null | undefined;
|
|
110539
|
+
usage_limits?: {
|
|
110540
|
+
[x: string]: any;
|
|
110541
|
+
} | null | undefined;
|
|
110542
|
+
rate_limits?: {
|
|
110543
|
+
value: number;
|
|
110544
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110545
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110546
|
+
}[] | null | undefined;
|
|
110547
|
+
reset_usage?: boolean | undefined;
|
|
110548
|
+
scopes?: GatewayOpenValue<"agents.invoke" | "completions.write" | "logs.write" | "mcp.invoke" | "prompts.render">[] | undefined;
|
|
110549
|
+
alert_emails?: string[] | undefined;
|
|
110550
|
+
rotation_policy?: {
|
|
110551
|
+
[x: string]: any;
|
|
110552
|
+
} | null | undefined;
|
|
110553
|
+
}>, {
|
|
110554
|
+
[x: string]: any;
|
|
110555
|
+
}, {
|
|
110556
|
+
[x: string]: any;
|
|
110557
|
+
}>;
|
|
110558
|
+
type GatewayApiKeyUpdateRequest = z.infer<typeof GatewayApiKeyUpdateRequestSchema>;
|
|
110559
|
+
declare const GatewayApiKeyRotateRequestSchema: z.ZodObject<{
|
|
110560
|
+
key_transition_period_ms: z.ZodOptional<z.ZodNumber>;
|
|
110561
|
+
}, "strict", z.ZodTypeAny, {
|
|
110562
|
+
key_transition_period_ms?: number | undefined;
|
|
110563
|
+
}, {
|
|
110564
|
+
key_transition_period_ms?: number | undefined;
|
|
110565
|
+
}>;
|
|
110566
|
+
type GatewayApiKeyRotateRequest = z.infer<typeof GatewayApiKeyRotateRequestSchema>;
|
|
110567
|
+
declare const GatewayIntegrationCreateRequestSchema: z.ZodObject<{
|
|
110568
|
+
organisation_id: z.ZodString;
|
|
110569
|
+
ai_provider_id: z.ZodString;
|
|
110570
|
+
name: z.ZodString;
|
|
110571
|
+
slug: z.ZodString;
|
|
110572
|
+
description: z.ZodOptional<z.ZodString>;
|
|
110573
|
+
configurations: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110574
|
+
key: z.ZodOptional<z.ZodString>;
|
|
110575
|
+
secret_mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110576
|
+
target_field: z.ZodString;
|
|
110577
|
+
secret_reference_id: z.ZodString;
|
|
110578
|
+
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110579
|
+
value_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["json", "string"]>>>;
|
|
110580
|
+
}, "strict", z.ZodTypeAny, {
|
|
110581
|
+
target_field: string;
|
|
110582
|
+
secret_reference_id: string;
|
|
110583
|
+
secret_key?: string | null | undefined;
|
|
110584
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110585
|
+
}, {
|
|
110586
|
+
target_field: string;
|
|
110587
|
+
secret_reference_id: string;
|
|
110588
|
+
secret_key?: string | null | undefined;
|
|
110589
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110590
|
+
}>, "many">>;
|
|
110591
|
+
}, "strict", z.ZodTypeAny, {
|
|
110592
|
+
name: string;
|
|
110593
|
+
slug: string;
|
|
110594
|
+
organisation_id: string;
|
|
110595
|
+
ai_provider_id: string;
|
|
110596
|
+
key?: string | undefined;
|
|
110597
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110598
|
+
description?: string | undefined;
|
|
110599
|
+
secret_mappings?: {
|
|
110600
|
+
target_field: string;
|
|
110601
|
+
secret_reference_id: string;
|
|
110602
|
+
secret_key?: string | null | undefined;
|
|
110603
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110604
|
+
}[] | undefined;
|
|
110605
|
+
}, {
|
|
110606
|
+
name: string;
|
|
110607
|
+
slug: string;
|
|
110608
|
+
organisation_id: string;
|
|
110609
|
+
ai_provider_id: string;
|
|
110610
|
+
key?: string | undefined;
|
|
110611
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110612
|
+
description?: string | undefined;
|
|
110613
|
+
secret_mappings?: {
|
|
110614
|
+
target_field: string;
|
|
110615
|
+
secret_reference_id: string;
|
|
110616
|
+
secret_key?: string | null | undefined;
|
|
110617
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110618
|
+
}[] | undefined;
|
|
110619
|
+
}>;
|
|
110620
|
+
type GatewayIntegrationCreateRequest = z.infer<typeof GatewayIntegrationCreateRequestSchema>;
|
|
110621
|
+
declare const GatewayIntegrationUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
110622
|
+
name: z.ZodOptional<z.ZodString>;
|
|
110623
|
+
description: z.ZodOptional<z.ZodString>;
|
|
110624
|
+
configurations: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110625
|
+
key: z.ZodOptional<z.ZodString>;
|
|
110626
|
+
secret_mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110627
|
+
target_field: z.ZodString;
|
|
110628
|
+
secret_reference_id: z.ZodString;
|
|
110629
|
+
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110630
|
+
value_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["json", "string"]>>>;
|
|
110631
|
+
}, "strict", z.ZodTypeAny, {
|
|
110632
|
+
target_field: string;
|
|
110633
|
+
secret_reference_id: string;
|
|
110634
|
+
secret_key?: string | null | undefined;
|
|
110635
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110636
|
+
}, {
|
|
110637
|
+
target_field: string;
|
|
110638
|
+
secret_reference_id: string;
|
|
110639
|
+
secret_key?: string | null | undefined;
|
|
110640
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110641
|
+
}>, "many">>;
|
|
110642
|
+
}, "strict", z.ZodTypeAny, {
|
|
110643
|
+
key?: string | undefined;
|
|
110644
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110645
|
+
name?: string | undefined;
|
|
110646
|
+
description?: string | undefined;
|
|
110647
|
+
secret_mappings?: {
|
|
110648
|
+
target_field: string;
|
|
110649
|
+
secret_reference_id: string;
|
|
110650
|
+
secret_key?: string | null | undefined;
|
|
110651
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110652
|
+
}[] | undefined;
|
|
110653
|
+
}, {
|
|
110654
|
+
key?: string | undefined;
|
|
110655
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110656
|
+
name?: string | undefined;
|
|
110657
|
+
description?: string | undefined;
|
|
110658
|
+
secret_mappings?: {
|
|
110659
|
+
target_field: string;
|
|
110660
|
+
secret_reference_id: string;
|
|
110661
|
+
secret_key?: string | null | undefined;
|
|
110662
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110663
|
+
}[] | undefined;
|
|
110664
|
+
}>, {
|
|
110665
|
+
[x: string]: any;
|
|
110666
|
+
}, {
|
|
110667
|
+
[x: string]: any;
|
|
110668
|
+
}>;
|
|
110669
|
+
type GatewayIntegrationUpdateRequest = z.infer<typeof GatewayIntegrationUpdateRequestSchema>;
|
|
110670
|
+
declare const GatewayIntegrationModelUpdateSchema: z.ZodObject<{
|
|
110671
|
+
slug: z.ZodString;
|
|
110672
|
+
enabled: z.ZodBoolean;
|
|
110673
|
+
is_custom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
110674
|
+
is_finetune: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
110675
|
+
base_model_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110676
|
+
configurations: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110677
|
+
pricing_config: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110678
|
+
}, "strict", z.ZodTypeAny, {
|
|
110679
|
+
slug: string;
|
|
110680
|
+
enabled: boolean;
|
|
110681
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110682
|
+
is_custom?: boolean | null | undefined;
|
|
110683
|
+
is_finetune?: boolean | null | undefined;
|
|
110684
|
+
base_model_slug?: string | null | undefined;
|
|
110685
|
+
pricing_config?: GatewayJsonObject | undefined;
|
|
110686
|
+
}, {
|
|
110687
|
+
slug: string;
|
|
110688
|
+
enabled: boolean;
|
|
110689
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110690
|
+
is_custom?: boolean | null | undefined;
|
|
110691
|
+
is_finetune?: boolean | null | undefined;
|
|
110692
|
+
base_model_slug?: string | null | undefined;
|
|
110693
|
+
pricing_config?: GatewayJsonObject | undefined;
|
|
110694
|
+
}>;
|
|
110695
|
+
type GatewayIntegrationModelUpdate = z.infer<typeof GatewayIntegrationModelUpdateSchema>;
|
|
110696
|
+
declare const GatewayIntegrationModelsBulkUpdateRequestSchema: z.ZodObject<{
|
|
110697
|
+
models: z.ZodArray<z.ZodObject<{
|
|
110698
|
+
slug: z.ZodString;
|
|
110699
|
+
enabled: z.ZodBoolean;
|
|
110700
|
+
is_custom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
110701
|
+
is_finetune: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
110702
|
+
base_model_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110703
|
+
configurations: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110704
|
+
pricing_config: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110705
|
+
}, "strict", z.ZodTypeAny, {
|
|
110706
|
+
slug: string;
|
|
110707
|
+
enabled: boolean;
|
|
110708
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110709
|
+
is_custom?: boolean | null | undefined;
|
|
110710
|
+
is_finetune?: boolean | null | undefined;
|
|
110711
|
+
base_model_slug?: string | null | undefined;
|
|
110712
|
+
pricing_config?: GatewayJsonObject | undefined;
|
|
110713
|
+
}, {
|
|
110714
|
+
slug: string;
|
|
110715
|
+
enabled: boolean;
|
|
110716
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110717
|
+
is_custom?: boolean | null | undefined;
|
|
110718
|
+
is_finetune?: boolean | null | undefined;
|
|
110719
|
+
base_model_slug?: string | null | undefined;
|
|
110720
|
+
pricing_config?: GatewayJsonObject | undefined;
|
|
110721
|
+
}>, "many">;
|
|
110722
|
+
allow_all_models: z.ZodOptional<z.ZodBoolean>;
|
|
110723
|
+
}, "strict", z.ZodTypeAny, {
|
|
110724
|
+
models: {
|
|
110725
|
+
slug: string;
|
|
110726
|
+
enabled: boolean;
|
|
110727
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110728
|
+
is_custom?: boolean | null | undefined;
|
|
110729
|
+
is_finetune?: boolean | null | undefined;
|
|
110730
|
+
base_model_slug?: string | null | undefined;
|
|
110731
|
+
pricing_config?: GatewayJsonObject | undefined;
|
|
110732
|
+
}[];
|
|
110733
|
+
allow_all_models?: boolean | undefined;
|
|
110734
|
+
}, {
|
|
110735
|
+
models: {
|
|
110736
|
+
slug: string;
|
|
110737
|
+
enabled: boolean;
|
|
110738
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110739
|
+
is_custom?: boolean | null | undefined;
|
|
110740
|
+
is_finetune?: boolean | null | undefined;
|
|
110741
|
+
base_model_slug?: string | null | undefined;
|
|
110742
|
+
pricing_config?: GatewayJsonObject | undefined;
|
|
110743
|
+
}[];
|
|
110744
|
+
allow_all_models?: boolean | undefined;
|
|
110745
|
+
}>;
|
|
110746
|
+
type GatewayIntegrationModelsBulkUpdateRequest = z.infer<typeof GatewayIntegrationModelsBulkUpdateRequestSchema>;
|
|
110747
|
+
/** @deprecated Use GatewayIntegrationModelsBulkUpdateRequest. */
|
|
110748
|
+
type GatewayIntegrationModelsRequest = GatewayIntegrationModelsBulkUpdateRequest;
|
|
110749
|
+
declare const GatewayIntegrationWorkspacesBulkUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
110750
|
+
workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110751
|
+
id: z.ZodString;
|
|
110752
|
+
enabled: z.ZodBoolean;
|
|
110753
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110754
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
110755
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
110756
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
110757
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110758
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110759
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110760
|
+
}, "strict", z.ZodTypeAny, {
|
|
110761
|
+
type?: "cost" | "tokens" | undefined;
|
|
110762
|
+
credit_limit?: number | undefined;
|
|
110763
|
+
alert_threshold?: number | undefined;
|
|
110764
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110765
|
+
periodic_reset_days?: number | null | undefined;
|
|
110766
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110767
|
+
}, {
|
|
110768
|
+
type?: "cost" | "tokens" | undefined;
|
|
110769
|
+
credit_limit?: number | undefined;
|
|
110770
|
+
alert_threshold?: number | undefined;
|
|
110771
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110772
|
+
periodic_reset_days?: number | null | undefined;
|
|
110773
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110774
|
+
}>, {
|
|
110775
|
+
[x: string]: any;
|
|
110776
|
+
}, {
|
|
110777
|
+
[x: string]: any;
|
|
110778
|
+
}>, {
|
|
110779
|
+
[x: string]: any;
|
|
110780
|
+
}, {
|
|
110781
|
+
[x: string]: any;
|
|
110782
|
+
}>, "many">>>;
|
|
110783
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110784
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
110785
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
110786
|
+
value: z.ZodNumber;
|
|
110787
|
+
}, "strict", z.ZodTypeAny, {
|
|
110788
|
+
value: number;
|
|
110789
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110790
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110791
|
+
}, {
|
|
110792
|
+
value: number;
|
|
110793
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110794
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110795
|
+
}>, "many">>>;
|
|
110796
|
+
reset_usage: z.ZodOptional<z.ZodBoolean>;
|
|
110797
|
+
create_default_provider: z.ZodOptional<z.ZodBoolean>;
|
|
110798
|
+
default_provider_slug: z.ZodOptional<z.ZodString>;
|
|
110799
|
+
}, "strict", z.ZodTypeAny, {
|
|
110800
|
+
id: string;
|
|
110801
|
+
enabled: boolean;
|
|
110802
|
+
usage_limits?: {
|
|
110803
|
+
[x: string]: any;
|
|
110804
|
+
}[] | null | undefined;
|
|
110805
|
+
rate_limits?: {
|
|
110806
|
+
value: number;
|
|
110807
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110808
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110809
|
+
}[] | null | undefined;
|
|
110810
|
+
reset_usage?: boolean | undefined;
|
|
110811
|
+
create_default_provider?: boolean | undefined;
|
|
110812
|
+
default_provider_slug?: string | undefined;
|
|
110813
|
+
}, {
|
|
110814
|
+
id: string;
|
|
110815
|
+
enabled: boolean;
|
|
110816
|
+
usage_limits?: {
|
|
110817
|
+
[x: string]: any;
|
|
110818
|
+
}[] | null | undefined;
|
|
110819
|
+
rate_limits?: {
|
|
110820
|
+
value: number;
|
|
110821
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110822
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110823
|
+
}[] | null | undefined;
|
|
110824
|
+
reset_usage?: boolean | undefined;
|
|
110825
|
+
create_default_provider?: boolean | undefined;
|
|
110826
|
+
default_provider_slug?: string | undefined;
|
|
110827
|
+
}>, "many">>;
|
|
110828
|
+
global_workspace_access: z.ZodOptional<z.ZodObject<{
|
|
110829
|
+
enabled: z.ZodBoolean;
|
|
110830
|
+
usage_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
110831
|
+
credit_limit: z.ZodOptional<z.ZodNumber>;
|
|
110832
|
+
type: z.ZodOptional<z.ZodEnum<["cost", "tokens"]>>;
|
|
110833
|
+
alert_threshold: z.ZodOptional<z.ZodNumber>;
|
|
110834
|
+
periodic_reset: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "weekly"]>>>;
|
|
110835
|
+
periodic_reset_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
110836
|
+
next_usage_reset_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110837
|
+
}, "strict", z.ZodTypeAny, {
|
|
110838
|
+
type?: "cost" | "tokens" | undefined;
|
|
110839
|
+
credit_limit?: number | undefined;
|
|
110840
|
+
alert_threshold?: number | undefined;
|
|
110841
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110842
|
+
periodic_reset_days?: number | null | undefined;
|
|
110843
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110844
|
+
}, {
|
|
110845
|
+
type?: "cost" | "tokens" | undefined;
|
|
110846
|
+
credit_limit?: number | undefined;
|
|
110847
|
+
alert_threshold?: number | undefined;
|
|
110848
|
+
periodic_reset?: "monthly" | "weekly" | null | undefined;
|
|
110849
|
+
periodic_reset_days?: number | null | undefined;
|
|
110850
|
+
next_usage_reset_at?: string | null | undefined;
|
|
110851
|
+
}>, {
|
|
110852
|
+
[x: string]: any;
|
|
110853
|
+
}, {
|
|
110854
|
+
[x: string]: any;
|
|
110855
|
+
}>, {
|
|
110856
|
+
[x: string]: any;
|
|
110857
|
+
}, {
|
|
110858
|
+
[x: string]: any;
|
|
110859
|
+
}>, "many">>>;
|
|
110860
|
+
rate_limits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
110861
|
+
type: z.ZodType<GatewayOpenValue<"requests" | "tokens">, z.ZodTypeDef, GatewayOpenValue<"requests" | "tokens">>;
|
|
110862
|
+
unit: z.ZodType<GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">, z.ZodTypeDef, GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">>;
|
|
110863
|
+
value: z.ZodNumber;
|
|
110864
|
+
}, "strict", z.ZodTypeAny, {
|
|
110865
|
+
value: number;
|
|
110866
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110867
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110868
|
+
}, {
|
|
110869
|
+
value: number;
|
|
110870
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110871
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110872
|
+
}>, "many">>>;
|
|
110873
|
+
}, "strict", z.ZodTypeAny, {
|
|
110874
|
+
enabled: boolean;
|
|
110875
|
+
usage_limits?: {
|
|
110876
|
+
[x: string]: any;
|
|
110877
|
+
}[] | null | undefined;
|
|
110878
|
+
rate_limits?: {
|
|
110879
|
+
value: number;
|
|
110880
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110881
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110882
|
+
}[] | null | undefined;
|
|
110883
|
+
}, {
|
|
110884
|
+
enabled: boolean;
|
|
110885
|
+
usage_limits?: {
|
|
110886
|
+
[x: string]: any;
|
|
110887
|
+
}[] | null | undefined;
|
|
110888
|
+
rate_limits?: {
|
|
110889
|
+
value: number;
|
|
110890
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110891
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110892
|
+
}[] | null | undefined;
|
|
110893
|
+
}>>;
|
|
110894
|
+
override_existing_workspace_access: z.ZodOptional<z.ZodBoolean>;
|
|
110895
|
+
create_default_provider: z.ZodOptional<z.ZodBoolean>;
|
|
110896
|
+
default_provider_slug: z.ZodOptional<z.ZodString>;
|
|
110897
|
+
}, "strict", z.ZodTypeAny, {
|
|
110898
|
+
workspaces?: {
|
|
110899
|
+
id: string;
|
|
110900
|
+
enabled: boolean;
|
|
110901
|
+
usage_limits?: {
|
|
110902
|
+
[x: string]: any;
|
|
110903
|
+
}[] | null | undefined;
|
|
110904
|
+
rate_limits?: {
|
|
110905
|
+
value: number;
|
|
110906
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110907
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110908
|
+
}[] | null | undefined;
|
|
110909
|
+
reset_usage?: boolean | undefined;
|
|
110910
|
+
create_default_provider?: boolean | undefined;
|
|
110911
|
+
default_provider_slug?: string | undefined;
|
|
110912
|
+
}[] | undefined;
|
|
110913
|
+
global_workspace_access?: {
|
|
110914
|
+
enabled: boolean;
|
|
110915
|
+
usage_limits?: {
|
|
110916
|
+
[x: string]: any;
|
|
110917
|
+
}[] | null | undefined;
|
|
110918
|
+
rate_limits?: {
|
|
110919
|
+
value: number;
|
|
110920
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110921
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110922
|
+
}[] | null | undefined;
|
|
110923
|
+
} | undefined;
|
|
110924
|
+
create_default_provider?: boolean | undefined;
|
|
110925
|
+
default_provider_slug?: string | undefined;
|
|
110926
|
+
override_existing_workspace_access?: boolean | undefined;
|
|
110927
|
+
}, {
|
|
110928
|
+
workspaces?: {
|
|
110929
|
+
id: string;
|
|
110930
|
+
enabled: boolean;
|
|
110931
|
+
usage_limits?: {
|
|
110932
|
+
[x: string]: any;
|
|
110933
|
+
}[] | null | undefined;
|
|
110934
|
+
rate_limits?: {
|
|
110935
|
+
value: number;
|
|
110936
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110937
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110938
|
+
}[] | null | undefined;
|
|
110939
|
+
reset_usage?: boolean | undefined;
|
|
110940
|
+
create_default_provider?: boolean | undefined;
|
|
110941
|
+
default_provider_slug?: string | undefined;
|
|
110942
|
+
}[] | undefined;
|
|
110943
|
+
global_workspace_access?: {
|
|
110944
|
+
enabled: boolean;
|
|
110945
|
+
usage_limits?: {
|
|
110946
|
+
[x: string]: any;
|
|
110947
|
+
}[] | null | undefined;
|
|
110948
|
+
rate_limits?: {
|
|
110949
|
+
value: number;
|
|
110950
|
+
type: GatewayOpenValue<"requests" | "tokens">;
|
|
110951
|
+
unit: GatewayOpenValue<"rpd" | "rph" | "rpm" | "rps" | "rpw">;
|
|
110952
|
+
}[] | null | undefined;
|
|
110953
|
+
} | undefined;
|
|
110954
|
+
create_default_provider?: boolean | undefined;
|
|
110955
|
+
default_provider_slug?: string | undefined;
|
|
110956
|
+
override_existing_workspace_access?: boolean | undefined;
|
|
110957
|
+
}>, {
|
|
110958
|
+
[x: string]: any;
|
|
110959
|
+
}, {
|
|
110960
|
+
[x: string]: any;
|
|
110961
|
+
}>;
|
|
110962
|
+
type GatewayIntegrationWorkspacesBulkUpdateRequest = z.infer<typeof GatewayIntegrationWorkspacesBulkUpdateRequestSchema>;
|
|
110963
|
+
/** @deprecated Use GatewayIntegrationWorkspacesBulkUpdateRequest. */
|
|
110964
|
+
type GatewayIntegrationWorkspacesRequest = GatewayIntegrationWorkspacesBulkUpdateRequest;
|
|
110965
|
+
declare const McpIntegrationCreateRequestSchema: z.ZodObject<{
|
|
110966
|
+
name: z.ZodString;
|
|
110967
|
+
organisation_id: z.ZodString;
|
|
110968
|
+
slug: z.ZodString;
|
|
110969
|
+
url: z.ZodString;
|
|
110970
|
+
auth_type: z.ZodType<GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">, z.ZodTypeDef, GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">>;
|
|
110971
|
+
transport: z.ZodType<GatewayOpenValue<"http" | "interactive" | "sse">, z.ZodTypeDef, GatewayOpenValue<"http" | "interactive" | "sse">>;
|
|
110972
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110973
|
+
configurations: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
110974
|
+
secret_mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110975
|
+
target_field: z.ZodString;
|
|
110976
|
+
secret_reference_id: z.ZodString;
|
|
110977
|
+
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110978
|
+
value_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["json", "string"]>>>;
|
|
110979
|
+
}, "strict", z.ZodTypeAny, {
|
|
110980
|
+
target_field: string;
|
|
110981
|
+
secret_reference_id: string;
|
|
110982
|
+
secret_key?: string | null | undefined;
|
|
110983
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110984
|
+
}, {
|
|
110985
|
+
target_field: string;
|
|
110986
|
+
secret_reference_id: string;
|
|
110987
|
+
secret_key?: string | null | undefined;
|
|
110988
|
+
value_format?: "string" | "json" | null | undefined;
|
|
110989
|
+
}>, "many">>;
|
|
110990
|
+
}, "strict", z.ZodTypeAny, {
|
|
110991
|
+
url: string;
|
|
110992
|
+
name: string;
|
|
110993
|
+
auth_type: GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">;
|
|
110994
|
+
slug: string;
|
|
110995
|
+
organisation_id: string;
|
|
110996
|
+
transport: GatewayOpenValue<"http" | "interactive" | "sse">;
|
|
110997
|
+
configurations?: GatewayJsonObject | undefined;
|
|
110998
|
+
description?: string | null | undefined;
|
|
110999
|
+
secret_mappings?: {
|
|
111000
|
+
target_field: string;
|
|
111001
|
+
secret_reference_id: string;
|
|
111002
|
+
secret_key?: string | null | undefined;
|
|
111003
|
+
value_format?: "string" | "json" | null | undefined;
|
|
111004
|
+
}[] | undefined;
|
|
111005
|
+
}, {
|
|
111006
|
+
url: string;
|
|
111007
|
+
name: string;
|
|
111008
|
+
auth_type: GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">;
|
|
111009
|
+
slug: string;
|
|
111010
|
+
organisation_id: string;
|
|
111011
|
+
transport: GatewayOpenValue<"http" | "interactive" | "sse">;
|
|
111012
|
+
configurations?: GatewayJsonObject | undefined;
|
|
111013
|
+
description?: string | null | undefined;
|
|
111014
|
+
secret_mappings?: {
|
|
111015
|
+
target_field: string;
|
|
111016
|
+
secret_reference_id: string;
|
|
111017
|
+
secret_key?: string | null | undefined;
|
|
111018
|
+
value_format?: "string" | "json" | null | undefined;
|
|
111019
|
+
}[] | undefined;
|
|
111020
|
+
}>;
|
|
111021
|
+
type McpIntegrationCreateRequest = z.infer<typeof McpIntegrationCreateRequestSchema>;
|
|
111022
|
+
declare const McpIntegrationUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
111023
|
+
name: z.ZodOptional<z.ZodString>;
|
|
111024
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111025
|
+
configurations: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
111026
|
+
url: z.ZodOptional<z.ZodString>;
|
|
111027
|
+
auth_type: z.ZodOptional<z.ZodType<GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">, z.ZodTypeDef, GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials">>>;
|
|
111028
|
+
transport: z.ZodOptional<z.ZodType<GatewayOpenValue<"http" | "interactive" | "sse">, z.ZodTypeDef, GatewayOpenValue<"http" | "interactive" | "sse">>>;
|
|
111029
|
+
secret_mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
111030
|
+
target_field: z.ZodString;
|
|
111031
|
+
secret_reference_id: z.ZodString;
|
|
111032
|
+
secret_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111033
|
+
value_format: z.ZodOptional<z.ZodNullable<z.ZodEnum<["json", "string"]>>>;
|
|
111034
|
+
}, "strict", z.ZodTypeAny, {
|
|
111035
|
+
target_field: string;
|
|
111036
|
+
secret_reference_id: string;
|
|
111037
|
+
secret_key?: string | null | undefined;
|
|
111038
|
+
value_format?: "string" | "json" | null | undefined;
|
|
111039
|
+
}, {
|
|
111040
|
+
target_field: string;
|
|
111041
|
+
secret_reference_id: string;
|
|
111042
|
+
secret_key?: string | null | undefined;
|
|
111043
|
+
value_format?: "string" | "json" | null | undefined;
|
|
111044
|
+
}>, "many">>;
|
|
111045
|
+
}, "strict", z.ZodTypeAny, {
|
|
111046
|
+
configurations?: GatewayJsonObject | undefined;
|
|
111047
|
+
url?: string | undefined;
|
|
111048
|
+
name?: string | undefined;
|
|
111049
|
+
description?: string | null | undefined;
|
|
111050
|
+
auth_type?: GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials"> | undefined;
|
|
111051
|
+
secret_mappings?: {
|
|
111052
|
+
target_field: string;
|
|
111053
|
+
secret_reference_id: string;
|
|
111054
|
+
secret_key?: string | null | undefined;
|
|
111055
|
+
value_format?: "string" | "json" | null | undefined;
|
|
111056
|
+
}[] | undefined;
|
|
111057
|
+
transport?: GatewayOpenValue<"http" | "interactive" | "sse"> | undefined;
|
|
111058
|
+
}, {
|
|
111059
|
+
configurations?: GatewayJsonObject | undefined;
|
|
111060
|
+
url?: string | undefined;
|
|
111061
|
+
name?: string | undefined;
|
|
111062
|
+
description?: string | null | undefined;
|
|
111063
|
+
auth_type?: GatewayOpenValue<"headers" | "none" | "oauth_auto" | "oauth_client_credentials"> | undefined;
|
|
111064
|
+
secret_mappings?: {
|
|
111065
|
+
target_field: string;
|
|
111066
|
+
secret_reference_id: string;
|
|
111067
|
+
secret_key?: string | null | undefined;
|
|
111068
|
+
value_format?: "string" | "json" | null | undefined;
|
|
111069
|
+
}[] | undefined;
|
|
111070
|
+
transport?: GatewayOpenValue<"http" | "interactive" | "sse"> | undefined;
|
|
111071
|
+
}>, {
|
|
111072
|
+
[x: string]: any;
|
|
111073
|
+
}, {
|
|
111074
|
+
[x: string]: any;
|
|
111075
|
+
}>;
|
|
111076
|
+
type McpIntegrationUpdateRequest = z.infer<typeof McpIntegrationUpdateRequestSchema>;
|
|
111077
|
+
declare const McpIntegrationCapabilityUpdateSchema: z.ZodObject<{
|
|
111078
|
+
name: z.ZodString;
|
|
111079
|
+
type: z.ZodEnum<["prompt", "resource", "tool"]>;
|
|
111080
|
+
enabled: z.ZodBoolean;
|
|
111081
|
+
}, "strict", z.ZodTypeAny, {
|
|
111082
|
+
type: "prompt" | "resource" | "tool";
|
|
111083
|
+
name: string;
|
|
111084
|
+
enabled: boolean;
|
|
111085
|
+
}, {
|
|
111086
|
+
type: "prompt" | "resource" | "tool";
|
|
111087
|
+
name: string;
|
|
111088
|
+
enabled: boolean;
|
|
111089
|
+
}>;
|
|
111090
|
+
type McpIntegrationCapabilityUpdate = z.infer<typeof McpIntegrationCapabilityUpdateSchema>;
|
|
111091
|
+
declare const McpIntegrationCapabilitiesBulkUpdateRequestSchema: z.ZodObject<{
|
|
111092
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
111093
|
+
name: z.ZodString;
|
|
111094
|
+
type: z.ZodEnum<["prompt", "resource", "tool"]>;
|
|
111095
|
+
enabled: z.ZodBoolean;
|
|
111096
|
+
}, "strict", z.ZodTypeAny, {
|
|
111097
|
+
type: "prompt" | "resource" | "tool";
|
|
111098
|
+
name: string;
|
|
111099
|
+
enabled: boolean;
|
|
111100
|
+
}, {
|
|
111101
|
+
type: "prompt" | "resource" | "tool";
|
|
111102
|
+
name: string;
|
|
111103
|
+
enabled: boolean;
|
|
111104
|
+
}>, "many">;
|
|
111105
|
+
}, "strict", z.ZodTypeAny, {
|
|
111106
|
+
capabilities: {
|
|
111107
|
+
type: "prompt" | "resource" | "tool";
|
|
111108
|
+
name: string;
|
|
111109
|
+
enabled: boolean;
|
|
111110
|
+
}[];
|
|
111111
|
+
}, {
|
|
111112
|
+
capabilities: {
|
|
111113
|
+
type: "prompt" | "resource" | "tool";
|
|
111114
|
+
name: string;
|
|
111115
|
+
enabled: boolean;
|
|
111116
|
+
}[];
|
|
111117
|
+
}>;
|
|
111118
|
+
type McpIntegrationCapabilitiesBulkUpdateRequest = z.infer<typeof McpIntegrationCapabilitiesBulkUpdateRequestSchema>;
|
|
111119
|
+
/** @deprecated Use McpIntegrationCapabilitiesBulkUpdateRequest. */
|
|
111120
|
+
type McpIntegrationCapabilitiesUpdateRequest = McpIntegrationCapabilitiesBulkUpdateRequest;
|
|
111121
|
+
declare const McpIntegrationWorkspacesBulkUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
111122
|
+
workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
111123
|
+
id: z.ZodString;
|
|
111124
|
+
enabled: z.ZodBoolean;
|
|
111125
|
+
}, "strict", z.ZodTypeAny, {
|
|
111126
|
+
id: string;
|
|
111127
|
+
enabled: boolean;
|
|
111128
|
+
}, {
|
|
111129
|
+
id: string;
|
|
111130
|
+
enabled: boolean;
|
|
111131
|
+
}>, "many">>;
|
|
111132
|
+
global_workspace_access: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
111133
|
+
enabled: z.ZodBoolean;
|
|
111134
|
+
}, "strict", z.ZodTypeAny, {
|
|
111135
|
+
enabled: boolean;
|
|
111136
|
+
}, {
|
|
111137
|
+
enabled: boolean;
|
|
111138
|
+
}>>>;
|
|
111139
|
+
override_existing_workspace_access: z.ZodOptional<z.ZodBoolean>;
|
|
111140
|
+
}, "strict", z.ZodTypeAny, {
|
|
111141
|
+
workspaces?: {
|
|
111142
|
+
id: string;
|
|
111143
|
+
enabled: boolean;
|
|
111144
|
+
}[] | undefined;
|
|
111145
|
+
global_workspace_access?: {
|
|
111146
|
+
enabled: boolean;
|
|
111147
|
+
} | null | undefined;
|
|
111148
|
+
override_existing_workspace_access?: boolean | undefined;
|
|
111149
|
+
}, {
|
|
111150
|
+
workspaces?: {
|
|
111151
|
+
id: string;
|
|
111152
|
+
enabled: boolean;
|
|
111153
|
+
}[] | undefined;
|
|
111154
|
+
global_workspace_access?: {
|
|
111155
|
+
enabled: boolean;
|
|
111156
|
+
} | null | undefined;
|
|
111157
|
+
override_existing_workspace_access?: boolean | undefined;
|
|
111158
|
+
}>, {
|
|
111159
|
+
[x: string]: any;
|
|
111160
|
+
}, {
|
|
111161
|
+
[x: string]: any;
|
|
111162
|
+
}>;
|
|
111163
|
+
type McpIntegrationWorkspacesBulkUpdateRequest = z.infer<typeof McpIntegrationWorkspacesBulkUpdateRequestSchema>;
|
|
111164
|
+
/** @deprecated Use McpIntegrationWorkspacesBulkUpdateRequest. */
|
|
111165
|
+
type McpIntegrationWorkspacesRequest = McpIntegrationWorkspacesBulkUpdateRequest;
|
|
111166
|
+
declare const GatewayDeploymentAuthSettingsInputSchema: z.ZodObject<{
|
|
111167
|
+
gateway_base_url: z.ZodOptional<z.ZodString>;
|
|
111168
|
+
mcp_gateway_base_url: z.ZodOptional<z.ZodString>;
|
|
111169
|
+
is_dataservice_hosted: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
111170
|
+
is_playground_proxy_allowed: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
111171
|
+
workspaces_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111172
|
+
jwt_subs_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111173
|
+
jwt_sub_workspace_mapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
111174
|
+
allow_all_workspaces: z.ZodOptional<z.ZodBoolean>;
|
|
111175
|
+
remove_workspaces_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111176
|
+
remove_subs_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111177
|
+
}, "strict", z.ZodTypeAny, {
|
|
111178
|
+
workspaces_allowed?: string[] | undefined;
|
|
111179
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111180
|
+
gateway_base_url?: string | undefined;
|
|
111181
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111182
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111183
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111184
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111185
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111186
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111187
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111188
|
+
}, {
|
|
111189
|
+
workspaces_allowed?: string[] | undefined;
|
|
111190
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111191
|
+
gateway_base_url?: string | undefined;
|
|
111192
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111193
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111194
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111195
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111196
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111197
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111198
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111199
|
+
}>;
|
|
111200
|
+
type GatewayDeploymentAuthSettingsInput = z.infer<typeof GatewayDeploymentAuthSettingsInputSchema>;
|
|
111201
|
+
declare const GatewayDeploymentCreateRequestSchema: z.ZodObject<{
|
|
111202
|
+
name: z.ZodString;
|
|
111203
|
+
type: z.ZodEnum<["non_production", "production"]>;
|
|
111204
|
+
organisation_id: z.ZodString;
|
|
111205
|
+
auth_settings: z.ZodOptional<z.ZodObject<{
|
|
111206
|
+
gateway_base_url: z.ZodOptional<z.ZodString>;
|
|
111207
|
+
mcp_gateway_base_url: z.ZodOptional<z.ZodString>;
|
|
111208
|
+
is_dataservice_hosted: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
111209
|
+
is_playground_proxy_allowed: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
111210
|
+
workspaces_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111211
|
+
jwt_subs_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111212
|
+
jwt_sub_workspace_mapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
111213
|
+
allow_all_workspaces: z.ZodOptional<z.ZodBoolean>;
|
|
111214
|
+
remove_workspaces_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111215
|
+
remove_subs_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111216
|
+
}, "strict", z.ZodTypeAny, {
|
|
111217
|
+
workspaces_allowed?: string[] | undefined;
|
|
111218
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111219
|
+
gateway_base_url?: string | undefined;
|
|
111220
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111221
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111222
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111223
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111224
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111225
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111226
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111227
|
+
}, {
|
|
111228
|
+
workspaces_allowed?: string[] | undefined;
|
|
111229
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111230
|
+
gateway_base_url?: string | undefined;
|
|
111231
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111232
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111233
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111234
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111235
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111236
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111237
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111238
|
+
}>>;
|
|
111239
|
+
deployment_config: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
111240
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
111241
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
111242
|
+
}, "strict", z.ZodTypeAny, {
|
|
111243
|
+
type: "non_production" | "production";
|
|
111244
|
+
name: string;
|
|
111245
|
+
organisation_id: string;
|
|
111246
|
+
auth_settings?: {
|
|
111247
|
+
workspaces_allowed?: string[] | undefined;
|
|
111248
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111249
|
+
gateway_base_url?: string | undefined;
|
|
111250
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111251
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111252
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111253
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111254
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111255
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111256
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111257
|
+
} | undefined;
|
|
111258
|
+
slug?: string | undefined;
|
|
111259
|
+
is_default?: boolean | undefined;
|
|
111260
|
+
deployment_config?: GatewayJsonObject | undefined;
|
|
111261
|
+
}, {
|
|
111262
|
+
type: "non_production" | "production";
|
|
111263
|
+
name: string;
|
|
111264
|
+
organisation_id: string;
|
|
111265
|
+
auth_settings?: {
|
|
111266
|
+
workspaces_allowed?: string[] | undefined;
|
|
111267
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111268
|
+
gateway_base_url?: string | undefined;
|
|
111269
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111270
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111271
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111272
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111273
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111274
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111275
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111276
|
+
} | undefined;
|
|
111277
|
+
slug?: string | undefined;
|
|
111278
|
+
is_default?: boolean | undefined;
|
|
111279
|
+
deployment_config?: GatewayJsonObject | undefined;
|
|
111280
|
+
}>;
|
|
111281
|
+
type GatewayDeploymentCreateRequest = z.infer<typeof GatewayDeploymentCreateRequestSchema>;
|
|
111282
|
+
declare const GatewayDeploymentUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
111283
|
+
name: z.ZodOptional<z.ZodString>;
|
|
111284
|
+
type: z.ZodOptional<z.ZodEnum<["non_production", "production"]>>;
|
|
111285
|
+
status: z.ZodOptional<z.ZodEnum<["active", "archived"]>>;
|
|
111286
|
+
deployment_config: z.ZodOptional<z.ZodNullable<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>>;
|
|
111287
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
111288
|
+
rotate_auth: z.ZodOptional<z.ZodBoolean>;
|
|
111289
|
+
override_existing: z.ZodOptional<z.ZodBoolean>;
|
|
111290
|
+
auth_settings: z.ZodOptional<z.ZodObject<{
|
|
111291
|
+
gateway_base_url: z.ZodOptional<z.ZodString>;
|
|
111292
|
+
mcp_gateway_base_url: z.ZodOptional<z.ZodString>;
|
|
111293
|
+
is_dataservice_hosted: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
111294
|
+
is_playground_proxy_allowed: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
|
|
111295
|
+
workspaces_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111296
|
+
jwt_subs_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111297
|
+
jwt_sub_workspace_mapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
111298
|
+
allow_all_workspaces: z.ZodOptional<z.ZodBoolean>;
|
|
111299
|
+
remove_workspaces_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111300
|
+
remove_subs_allowed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111301
|
+
}, "strict", z.ZodTypeAny, {
|
|
111302
|
+
workspaces_allowed?: string[] | undefined;
|
|
111303
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111304
|
+
gateway_base_url?: string | undefined;
|
|
111305
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111306
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111307
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111308
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111309
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111310
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111311
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111312
|
+
}, {
|
|
111313
|
+
workspaces_allowed?: string[] | undefined;
|
|
111314
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111315
|
+
gateway_base_url?: string | undefined;
|
|
111316
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111317
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111318
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111319
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111320
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111321
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111322
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111323
|
+
}>>;
|
|
111324
|
+
}, "strict", z.ZodTypeAny, {
|
|
111325
|
+
auth_settings?: {
|
|
111326
|
+
workspaces_allowed?: string[] | undefined;
|
|
111327
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111328
|
+
gateway_base_url?: string | undefined;
|
|
111329
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111330
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111331
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111332
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111333
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111334
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111335
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111336
|
+
} | undefined;
|
|
111337
|
+
type?: "non_production" | "production" | undefined;
|
|
111338
|
+
status?: "active" | "archived" | undefined;
|
|
111339
|
+
name?: string | undefined;
|
|
111340
|
+
is_default?: boolean | undefined;
|
|
111341
|
+
deployment_config?: GatewayJsonObject | null | undefined;
|
|
111342
|
+
rotate_auth?: boolean | undefined;
|
|
111343
|
+
override_existing?: boolean | undefined;
|
|
111344
|
+
}, {
|
|
111345
|
+
auth_settings?: {
|
|
111346
|
+
workspaces_allowed?: string[] | undefined;
|
|
111347
|
+
allow_all_workspaces?: boolean | undefined;
|
|
111348
|
+
gateway_base_url?: string | undefined;
|
|
111349
|
+
mcp_gateway_base_url?: string | undefined;
|
|
111350
|
+
is_dataservice_hosted?: 0 | 1 | undefined;
|
|
111351
|
+
is_playground_proxy_allowed?: 0 | 1 | undefined;
|
|
111352
|
+
jwt_subs_allowed?: string[] | undefined;
|
|
111353
|
+
jwt_sub_workspace_mapping?: Record<string, string> | undefined;
|
|
111354
|
+
remove_workspaces_allowed?: string[] | undefined;
|
|
111355
|
+
remove_subs_allowed?: string[] | undefined;
|
|
111356
|
+
} | undefined;
|
|
111357
|
+
type?: "non_production" | "production" | undefined;
|
|
111358
|
+
status?: "active" | "archived" | undefined;
|
|
111359
|
+
name?: string | undefined;
|
|
111360
|
+
is_default?: boolean | undefined;
|
|
111361
|
+
deployment_config?: GatewayJsonObject | null | undefined;
|
|
111362
|
+
rotate_auth?: boolean | undefined;
|
|
111363
|
+
override_existing?: boolean | undefined;
|
|
111364
|
+
}>, {
|
|
111365
|
+
[x: string]: any;
|
|
111366
|
+
}, {
|
|
111367
|
+
[x: string]: any;
|
|
111368
|
+
}>;
|
|
111369
|
+
type GatewayDeploymentUpdateRequest = z.infer<typeof GatewayDeploymentUpdateRequestSchema>;
|
|
111370
|
+
declare const GatewayPluginCreateRequestSchema: z.ZodObject<{
|
|
111371
|
+
organisation_id: z.ZodString;
|
|
111372
|
+
integration_id: z.ZodString;
|
|
111373
|
+
credentials: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
111374
|
+
}, "strict", z.ZodTypeAny, {
|
|
111375
|
+
credentials: Record<string, string>;
|
|
111376
|
+
organisation_id: string;
|
|
111377
|
+
integration_id: string;
|
|
111378
|
+
}, {
|
|
111379
|
+
credentials: Record<string, string>;
|
|
111380
|
+
organisation_id: string;
|
|
111381
|
+
integration_id: string;
|
|
111382
|
+
}>;
|
|
111383
|
+
type GatewayPluginCreateRequest = z.infer<typeof GatewayPluginCreateRequestSchema>;
|
|
111384
|
+
declare const GatewayOrganisationUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
111385
|
+
name: z.ZodOptional<z.ZodString>;
|
|
111386
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
111387
|
+
name?: string | undefined;
|
|
111388
|
+
}, {
|
|
111389
|
+
name?: string | undefined;
|
|
111390
|
+
}>, {
|
|
111391
|
+
[x: string]: any;
|
|
111392
|
+
}, {
|
|
111393
|
+
[x: string]: any;
|
|
111394
|
+
}>;
|
|
111395
|
+
type GatewayOrganisationUpdateRequest = z.infer<typeof GatewayOrganisationUpdateRequestSchema>;
|
|
111396
|
+
declare const GatewayOrganisationAuthSettingsUpdateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
111397
|
+
auth_settings: z.ZodOptional<z.ZodType<GatewayJsonObject, z.ZodTypeDef, GatewayJsonObject>>;
|
|
111398
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111399
|
+
scim_token: z.ZodOptional<z.ZodString>;
|
|
111400
|
+
}, "strip", z.ZodType<GatewayJsonValue, z.ZodTypeDef, GatewayJsonValue>, {
|
|
111401
|
+
scim_token?: string | undefined;
|
|
111402
|
+
auth_settings?: GatewayJsonObject | undefined;
|
|
111403
|
+
domains?: string[] | undefined;
|
|
111404
|
+
}, {
|
|
111405
|
+
scim_token?: string | undefined;
|
|
111406
|
+
auth_settings?: GatewayJsonObject | undefined;
|
|
111407
|
+
domains?: string[] | undefined;
|
|
111408
|
+
}>, {
|
|
111409
|
+
[x: string]: any;
|
|
111410
|
+
}, {
|
|
111411
|
+
[x: string]: any;
|
|
111412
|
+
}>;
|
|
111413
|
+
type GatewayOrganisationAuthSettingsUpdateRequest = z.infer<typeof GatewayOrganisationAuthSettingsUpdateRequestSchema>;
|
|
111414
|
+
|
|
108181
111415
|
declare const HEADER_API_KEY = "x-pan-token";
|
|
108182
111416
|
declare const HEADER_AUTH_TOKEN = "Authorization";
|
|
108183
111417
|
declare const PAYLOAD_HASH = "x-payload-hash";
|
|
@@ -108209,8 +111443,8 @@ declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 20;
|
|
|
108209
111443
|
declare const MAX_CONNECTION_POOL_SIZE = 100;
|
|
108210
111444
|
declare const MAX_NUMBER_OF_RETRIES = 5;
|
|
108211
111445
|
declare const HTTP_FORCE_RETRY_STATUS_CODES: number[];
|
|
108212
|
-
declare const SDK_VERSION = "0.
|
|
108213
|
-
declare const USER_AGENT = "PAN-AIRS/0.
|
|
111446
|
+
declare const SDK_VERSION = "0.20.0";
|
|
111447
|
+
declare const USER_AGENT = "PAN-AIRS/0.20.0-typescript-sdk";
|
|
108214
111448
|
declare const DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
|
|
108215
111449
|
declare const DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
|
|
108216
111450
|
declare const MGMT_CLIENT_ID = "PANW_MGMT_CLIENT_ID";
|
|
@@ -108339,6 +111573,98 @@ declare const AI_GW_GROUP_DIMENSIONS: readonly ["ai_service", "model", "api_key"
|
|
|
108339
111573
|
/** Valid `&columns=` values for `logs/groups/*`. Invalid names are silently dropped. */
|
|
108340
111574
|
declare const AI_GW_GROUP_COLUMNS: readonly ["cost", "avg_latency", "avg_tokens", "total_tokens", "success_rate", "last_seen"];
|
|
108341
111575
|
|
|
111576
|
+
/** Stable marker used by SDK and CLI redaction. */
|
|
111577
|
+
declare const AI_GATEWAY_REDACTED: "[REDACTED]";
|
|
111578
|
+
type GatewaySecretPathSegment = string | '*';
|
|
111579
|
+
type GatewaySecretDirection = 'request' | 'response';
|
|
111580
|
+
interface GatewaySecretFieldRule {
|
|
111581
|
+
readonly path: readonly GatewaySecretPathSegment[];
|
|
111582
|
+
readonly redact: 'value' | 'subtree';
|
|
111583
|
+
readonly oneTime?: boolean;
|
|
111584
|
+
}
|
|
111585
|
+
interface GatewaySecretOperationMetadata {
|
|
111586
|
+
readonly request: readonly GatewaySecretFieldRule[];
|
|
111587
|
+
readonly response: readonly GatewaySecretFieldRule[];
|
|
111588
|
+
}
|
|
111589
|
+
/**
|
|
111590
|
+
* Operation-scoped secret paths shared by SDK debug logging and structured CLI output.
|
|
111591
|
+
* A generic field named `key` is not considered secret without an operation context.
|
|
111592
|
+
*/
|
|
111593
|
+
declare const AI_GATEWAY_SECRET_FIELDS: {
|
|
111594
|
+
readonly 'apiKeys.createService': {
|
|
111595
|
+
readonly request: readonly [];
|
|
111596
|
+
readonly response: readonly [GatewaySecretFieldRule];
|
|
111597
|
+
};
|
|
111598
|
+
readonly 'apiKeys.createUser': {
|
|
111599
|
+
readonly request: readonly [];
|
|
111600
|
+
readonly response: readonly [GatewaySecretFieldRule];
|
|
111601
|
+
};
|
|
111602
|
+
readonly 'apiKeys.rotateService': {
|
|
111603
|
+
readonly request: readonly [];
|
|
111604
|
+
readonly response: readonly [GatewaySecretFieldRule];
|
|
111605
|
+
};
|
|
111606
|
+
readonly 'apiKeys.rotateUser': {
|
|
111607
|
+
readonly request: readonly [];
|
|
111608
|
+
readonly response: readonly [GatewaySecretFieldRule];
|
|
111609
|
+
};
|
|
111610
|
+
readonly 'deployments.create': {
|
|
111611
|
+
readonly request: readonly [];
|
|
111612
|
+
readonly response: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111613
|
+
};
|
|
111614
|
+
readonly 'deployments.update': {
|
|
111615
|
+
readonly request: readonly [];
|
|
111616
|
+
readonly response: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111617
|
+
};
|
|
111618
|
+
readonly 'integrations.create': {
|
|
111619
|
+
readonly request: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111620
|
+
readonly response: readonly [];
|
|
111621
|
+
};
|
|
111622
|
+
readonly 'integrations.update': {
|
|
111623
|
+
readonly request: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111624
|
+
readonly response: readonly [];
|
|
111625
|
+
};
|
|
111626
|
+
readonly 'mcpIntegrations.create': {
|
|
111627
|
+
readonly request: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111628
|
+
readonly response: readonly [];
|
|
111629
|
+
};
|
|
111630
|
+
readonly 'mcpIntegrations.update': {
|
|
111631
|
+
readonly request: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111632
|
+
readonly response: readonly [];
|
|
111633
|
+
};
|
|
111634
|
+
readonly 'organisations.getAuthSettings': {
|
|
111635
|
+
readonly request: readonly [];
|
|
111636
|
+
readonly response: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111637
|
+
};
|
|
111638
|
+
readonly 'organisations.updateAuthSettings': {
|
|
111639
|
+
readonly request: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111640
|
+
readonly response: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111641
|
+
};
|
|
111642
|
+
readonly 'plugins.create': {
|
|
111643
|
+
readonly request: readonly [GatewaySecretFieldRule];
|
|
111644
|
+
readonly response: readonly [];
|
|
111645
|
+
};
|
|
111646
|
+
readonly 'providers.get': {
|
|
111647
|
+
readonly request: readonly [];
|
|
111648
|
+
readonly response: readonly [GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule, GatewaySecretFieldRule];
|
|
111649
|
+
};
|
|
111650
|
+
};
|
|
111651
|
+
type AIGatewaySecretOperation = keyof typeof AI_GATEWAY_SECRET_FIELDS;
|
|
111652
|
+
/**
|
|
111653
|
+
* Return a redacted clone for one AI Gateway operation and payload direction.
|
|
111654
|
+
*
|
|
111655
|
+
* @example
|
|
111656
|
+
* ```ts
|
|
111657
|
+
* import { redactAIGatewaySecrets } from '@cdot65/prisma-airs-sdk';
|
|
111658
|
+
*
|
|
111659
|
+
* const safe = redactAIGatewaySecrets('integrations.create', {
|
|
111660
|
+
* key: 'provider-secret',
|
|
111661
|
+
* configurations: { vertex_region: 'us-central1' },
|
|
111662
|
+
* });
|
|
111663
|
+
* // safe.key === '[REDACTED]'
|
|
111664
|
+
* ```
|
|
111665
|
+
*/
|
|
111666
|
+
declare function redactAIGatewaySecrets<T>(operation: AIGatewaySecretOperation, input: T, direction?: GatewaySecretDirection): T;
|
|
111667
|
+
|
|
108342
111668
|
/** @internal HTTP methods supported by the request pipeline. */
|
|
108343
111669
|
type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
108344
111670
|
/**
|
|
@@ -112849,44 +116175,6 @@ interface AIGatewayWorkspaceScopedListOptions {
|
|
|
112849
116175
|
workspaceId: string;
|
|
112850
116176
|
}
|
|
112851
116177
|
|
|
112852
|
-
/** Request body for {@link AIGatewayWorkspacesClient.create}. */
|
|
112853
|
-
interface GatewayWorkspaceCreateRequest {
|
|
112854
|
-
/** Display name. Required. */
|
|
112855
|
-
name: string;
|
|
112856
|
-
/**
|
|
112857
|
-
* SCM role scope granting data-plane access to the new workspace, e.g. `ws_production_bx7qw0`.
|
|
112858
|
-
* Required, and **specific to Prisma AIRS** — upstream Portkey has no such field.
|
|
112859
|
-
*
|
|
112860
|
-
* It is not derived from `name`. A workspace created with a scope nobody holds is invisible to
|
|
112861
|
-
* `list()` on the data plane, though it still appears via `list({ plane: 'admin' })`.
|
|
112862
|
-
*/
|
|
112863
|
-
scope_name: string;
|
|
112864
|
-
description?: string;
|
|
112865
|
-
icon?: string;
|
|
112866
|
-
/** Workspace defaults; `metadata` is a flat string map applied to every request. */
|
|
112867
|
-
defaults?: Record<string, unknown>;
|
|
112868
|
-
/** User ids to seed the workspace with. */
|
|
112869
|
-
users?: string[];
|
|
112870
|
-
/** Usage-limit policies. An **array**, not a single object. */
|
|
112871
|
-
usage_limits?: Array<Record<string, unknown>>;
|
|
112872
|
-
/** Rate-limit policies. An **array**, not a single object. */
|
|
112873
|
-
rate_limits?: Array<Record<string, unknown>>;
|
|
112874
|
-
}
|
|
112875
|
-
/**
|
|
112876
|
-
* Request body for {@link AIGatewayWorkspacesClient.update}. Partial — send only what changes.
|
|
112877
|
-
*
|
|
112878
|
-
* The API enumerates the fields it accepts in its own rejection message: `name`, `description`,
|
|
112879
|
-
* `icon`, `defaults`, `rate_limits`. `usage_limits` is accepted by upstream Portkey but missing
|
|
112880
|
-
* from that message, so it is offered here and may be ignored server-side.
|
|
112881
|
-
*/
|
|
112882
|
-
interface GatewayWorkspaceUpdateRequest {
|
|
112883
|
-
name?: string;
|
|
112884
|
-
description?: string;
|
|
112885
|
-
icon?: string;
|
|
112886
|
-
defaults?: Record<string, unknown>;
|
|
112887
|
-
usage_limits?: Array<Record<string, unknown>>;
|
|
112888
|
-
rate_limits?: Array<Record<string, unknown>>;
|
|
112889
|
-
}
|
|
112890
116178
|
/**
|
|
112891
116179
|
* Client for AI Gateway workspaces.
|
|
112892
116180
|
*
|
|
@@ -113024,17 +116312,6 @@ declare class AIGatewayWorkspacesClient {
|
|
|
113024
116312
|
delete(workspaceRef: string): Promise<void>;
|
|
113025
116313
|
}
|
|
113026
116314
|
|
|
113027
|
-
/** Request body for creating or updating a config. */
|
|
113028
|
-
interface GatewayConfigCreateRequest {
|
|
113029
|
-
name: string;
|
|
113030
|
-
/** Workspace UUID the config belongs to. */
|
|
113031
|
-
workspace_id: string;
|
|
113032
|
-
/**
|
|
113033
|
-
* The gateway routing config. Sent as an **object**; note the API returns it back as a
|
|
113034
|
-
* JSON-encoded **string** on reads.
|
|
113035
|
-
*/
|
|
113036
|
-
config: Record<string, unknown>;
|
|
113037
|
-
}
|
|
113038
116315
|
/** Client for AI Gateway config operations (data plane). */
|
|
113039
116316
|
declare class AIGatewayConfigsClient {
|
|
113040
116317
|
private readonly baseUrl;
|
|
@@ -113116,7 +116393,7 @@ declare class AIGatewayConfigsClient {
|
|
|
113116
116393
|
/**
|
|
113117
116394
|
* Update a config.
|
|
113118
116395
|
* @param configId - Config UUID.
|
|
113119
|
-
* @param body -
|
|
116396
|
+
* @param body - One or more fields to update. A supplied `config` replaces the routing document.
|
|
113120
116397
|
* @returns The raw update response. Shape unverified against a live tenant — see the PRD.
|
|
113121
116398
|
* @example
|
|
113122
116399
|
* ```ts
|
|
@@ -113130,7 +116407,7 @@ declare class AIGatewayConfigsClient {
|
|
|
113130
116407
|
* });
|
|
113131
116408
|
* ```
|
|
113132
116409
|
*/
|
|
113133
|
-
update(configId: string, body:
|
|
116410
|
+
update(configId: string, body: GatewayConfigUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113134
116411
|
/**
|
|
113135
116412
|
* Delete a config.
|
|
113136
116413
|
*
|
|
@@ -113153,22 +116430,6 @@ declare class AIGatewayConfigsClient {
|
|
|
113153
116430
|
delete(configId: string): Promise<void>;
|
|
113154
116431
|
}
|
|
113155
116432
|
|
|
113156
|
-
/** One guardrail check binding. */
|
|
113157
|
-
interface GatewayGuardrailCheck {
|
|
113158
|
-
/** Check id, e.g. the Prisma AIRS intercept check. */
|
|
113159
|
-
id: string;
|
|
113160
|
-
parameters: Record<string, unknown>;
|
|
113161
|
-
is_enabled: boolean;
|
|
113162
|
-
}
|
|
113163
|
-
/** Request body for creating a guardrail. */
|
|
113164
|
-
interface GatewayGuardrailCreateRequest {
|
|
113165
|
-
workspace_id: string;
|
|
113166
|
-
name: string;
|
|
113167
|
-
checks: GatewayGuardrailCheck[];
|
|
113168
|
-
actions: Record<string, unknown>;
|
|
113169
|
-
}
|
|
113170
|
-
/** Request body for updating a guardrail. Omitted fields remain unchanged. */
|
|
113171
|
-
type GatewayGuardrailUpdateRequest = Partial<Pick<GatewayGuardrailCreateRequest, 'name' | 'checks' | 'actions'>>;
|
|
113172
116433
|
/** Client for AI Gateway guardrail operations (data plane). */
|
|
113173
116434
|
declare class AIGatewayGuardrailsClient {
|
|
113174
116435
|
private readonly baseUrl;
|
|
@@ -113266,27 +116527,6 @@ declare class AIGatewayGuardrailsClient {
|
|
|
113266
116527
|
delete(guardrailId: string): Promise<void>;
|
|
113267
116528
|
}
|
|
113268
116529
|
|
|
113269
|
-
/** Request body for binding an org integration into a workspace as a provider. */
|
|
113270
|
-
interface GatewayProviderCreateRequest {
|
|
113271
|
-
workspace_id: string;
|
|
113272
|
-
/** Upstream AI provider id (e.g. the OpenAI or Vertex provider). */
|
|
113273
|
-
ai_provider_id: string;
|
|
113274
|
-
name: string;
|
|
113275
|
-
/** Org-level integration this provider draws credentials from. */
|
|
113276
|
-
integration_id: string;
|
|
113277
|
-
slug: string;
|
|
113278
|
-
note?: string;
|
|
113279
|
-
expires_at?: string | null;
|
|
113280
|
-
}
|
|
113281
|
-
/** Request body for updating a provider binding. Omitted fields remain unchanged. */
|
|
113282
|
-
interface GatewayProviderUpdateRequest {
|
|
113283
|
-
name?: string;
|
|
113284
|
-
note?: string;
|
|
113285
|
-
usage_limits?: Record<string, unknown> | null;
|
|
113286
|
-
rate_limits?: Record<string, unknown> | null;
|
|
113287
|
-
expires_at?: string | null;
|
|
113288
|
-
reset_usage?: boolean;
|
|
113289
|
-
}
|
|
113290
116530
|
/** Client for AI Gateway provider operations (data plane). */
|
|
113291
116531
|
declare class AIGatewayProvidersClient {
|
|
113292
116532
|
private readonly baseUrl;
|
|
@@ -113311,7 +116551,8 @@ declare class AIGatewayProvidersClient {
|
|
|
113311
116551
|
* Fetch one provider binding. Verified live 2026-08-29.
|
|
113312
116552
|
*
|
|
113313
116553
|
* @remarks The response can contain provider credential material. Do not log or persist it,
|
|
113314
|
-
* and
|
|
116554
|
+
* and avoid logging the complete returned object. SDK debug logs redact the known credential
|
|
116555
|
+
* fields for this operation.
|
|
113315
116556
|
* @param providerId - Provider UUID.
|
|
113316
116557
|
* @returns Provider configuration and lifecycle detail.
|
|
113317
116558
|
* @example
|
|
@@ -113388,27 +116629,6 @@ declare class AIGatewayProvidersClient {
|
|
|
113388
116629
|
delete(providerId: string): Promise<void>;
|
|
113389
116630
|
}
|
|
113390
116631
|
|
|
113391
|
-
/** Request body for creating a service or user API key. */
|
|
113392
|
-
interface GatewayApiKeyCreateRequest {
|
|
113393
|
-
name: string;
|
|
113394
|
-
description?: string;
|
|
113395
|
-
/** e.g. `completions.write`, `mcp.invoke`, `prompts.render`, `agents.invoke`, `logs.write`. */
|
|
113396
|
-
scopes: string[];
|
|
113397
|
-
/** The TSG as a numeric string — NOT the organisation UUID returned on reads. */
|
|
113398
|
-
organisation_id: string;
|
|
113399
|
-
workspace_id: string;
|
|
113400
|
-
/** Usually `workspace`. */
|
|
113401
|
-
type: string;
|
|
113402
|
-
expires_at?: string | null;
|
|
113403
|
-
defaults?: Record<string, unknown> | null;
|
|
113404
|
-
rotation_policy?: Record<string, unknown> | null;
|
|
113405
|
-
/** Required for user keys only. */
|
|
113406
|
-
user_id?: string;
|
|
113407
|
-
}
|
|
113408
|
-
interface GatewayApiKeyRotateRequest {
|
|
113409
|
-
/** Minimum 30 minutes when supplied. */
|
|
113410
|
-
key_transition_period_ms?: number;
|
|
113411
|
-
}
|
|
113412
116632
|
/**
|
|
113413
116633
|
* Client for AI Gateway API-key operations (data plane).
|
|
113414
116634
|
*
|
|
@@ -113485,7 +116705,7 @@ declare class AIGatewayApiKeysClient {
|
|
|
113485
116705
|
* });
|
|
113486
116706
|
* ```
|
|
113487
116707
|
*/
|
|
113488
|
-
createService(body:
|
|
116708
|
+
createService(body: GatewayServiceApiKeyCreateRequest): Promise<GatewayWriteResponse>;
|
|
113489
116709
|
/**
|
|
113490
116710
|
* Create a user API key.
|
|
113491
116711
|
* @param body - As {@link createService}, plus `user_id`.
|
|
@@ -113505,11 +116725,11 @@ declare class AIGatewayApiKeysClient {
|
|
|
113505
116725
|
* });
|
|
113506
116726
|
* ```
|
|
113507
116727
|
*/
|
|
113508
|
-
createUser(body:
|
|
116728
|
+
createUser(body: GatewayUserApiKeyCreateRequest): Promise<GatewayWriteResponse>;
|
|
113509
116729
|
/**
|
|
113510
116730
|
* Update a service API key.
|
|
113511
116731
|
* @param keyId - Key UUID.
|
|
113512
|
-
* @param body -
|
|
116732
|
+
* @param body - One or more fields to update.
|
|
113513
116733
|
* @returns The raw update response. Shape unverified against a live tenant — see the PRD.
|
|
113514
116734
|
* @example
|
|
113515
116735
|
* ```ts
|
|
@@ -113525,11 +116745,11 @@ declare class AIGatewayApiKeysClient {
|
|
|
113525
116745
|
* });
|
|
113526
116746
|
* ```
|
|
113527
116747
|
*/
|
|
113528
|
-
updateService(keyId: string, body:
|
|
116748
|
+
updateService(keyId: string, body: GatewayApiKeyUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113529
116749
|
/**
|
|
113530
116750
|
* Update a user API key.
|
|
113531
116751
|
* @param keyId - Key UUID.
|
|
113532
|
-
* @param body -
|
|
116752
|
+
* @param body - One or more fields to update.
|
|
113533
116753
|
* @returns The raw update response. Shape unverified against a live tenant — see the PRD.
|
|
113534
116754
|
* @example
|
|
113535
116755
|
* ```ts
|
|
@@ -113546,36 +116766,9 @@ declare class AIGatewayApiKeysClient {
|
|
|
113546
116766
|
* });
|
|
113547
116767
|
* ```
|
|
113548
116768
|
*/
|
|
113549
|
-
updateUser(keyId: string, body:
|
|
116769
|
+
updateUser(keyId: string, body: GatewayApiKeyUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113550
116770
|
}
|
|
113551
116771
|
|
|
113552
|
-
/** Request body for creating an org-level provider integration. */
|
|
113553
|
-
interface GatewayIntegrationCreateRequest {
|
|
113554
|
-
/** The TSG as a numeric string. */
|
|
113555
|
-
organisation_id: string;
|
|
113556
|
-
/** Upstream AI provider id. */
|
|
113557
|
-
ai_provider_id: string;
|
|
113558
|
-
name: string;
|
|
113559
|
-
slug: string;
|
|
113560
|
-
description?: string;
|
|
113561
|
-
/** Provider-specific settings (e.g. `vertex_auth_type`, `vertex_region`). */
|
|
113562
|
-
configurations?: Record<string, unknown>;
|
|
113563
|
-
/** Provider API key, when the provider authenticates by key. */
|
|
113564
|
-
key?: string;
|
|
113565
|
-
secret_mappings?: unknown[];
|
|
113566
|
-
}
|
|
113567
|
-
/** Per-model enablement payload for `integrations/{id}/models`. */
|
|
113568
|
-
interface GatewayIntegrationModelsRequest {
|
|
113569
|
-
models: {
|
|
113570
|
-
slug: string;
|
|
113571
|
-
enabled: boolean;
|
|
113572
|
-
}[];
|
|
113573
|
-
}
|
|
113574
|
-
/** Workspace-binding payload for `integrations/{id}/workspaces`. */
|
|
113575
|
-
interface GatewayIntegrationWorkspacesRequest {
|
|
113576
|
-
workspaces?: unknown[];
|
|
113577
|
-
global_workspace_access?: boolean;
|
|
113578
|
-
}
|
|
113579
116772
|
/** Client for AI Gateway organisation-level integrations (admin plane). */
|
|
113580
116773
|
declare class AIGatewayIntegrationsClient {
|
|
113581
116774
|
private readonly baseUrl;
|
|
@@ -113613,8 +116806,8 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113613
116806
|
* Create an integration.
|
|
113614
116807
|
*
|
|
113615
116808
|
* @remarks
|
|
113616
|
-
* `body.key` (the provider API key) is a live secret.
|
|
113617
|
-
*
|
|
116809
|
+
* `body.key` (the provider API key) is a live secret. SDK debug logs replace known
|
|
116810
|
+
* credential fields with `[REDACTED]`, but callers must still avoid logging the input object.
|
|
113618
116811
|
*
|
|
113619
116812
|
* @param body - Provider id, name, slug, and provider-specific configuration.
|
|
113620
116813
|
* @returns The raw create response. Shape unverified against a live tenant — see the PRD.
|
|
@@ -113636,7 +116829,7 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113636
116829
|
/**
|
|
113637
116830
|
* Update an integration.
|
|
113638
116831
|
* @param integrationId - Integration UUID.
|
|
113639
|
-
* @param body -
|
|
116832
|
+
* @param body - One or more fields to update.
|
|
113640
116833
|
* @returns The raw update response. Shape unverified against a live tenant — see the PRD.
|
|
113641
116834
|
* @example
|
|
113642
116835
|
* ```ts
|
|
@@ -113649,7 +116842,7 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113649
116842
|
* });
|
|
113650
116843
|
* ```
|
|
113651
116844
|
*/
|
|
113652
|
-
update(integrationId: string, body:
|
|
116845
|
+
update(integrationId: string, body: GatewayIntegrationUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113653
116846
|
/**
|
|
113654
116847
|
* Delete an integration.
|
|
113655
116848
|
* @param integrationId - Integration UUID.
|
|
@@ -113679,9 +116872,9 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113679
116872
|
*/
|
|
113680
116873
|
getModels(integrationId: string): Promise<GatewayIntegrationModelsResponse>;
|
|
113681
116874
|
/**
|
|
113682
|
-
*
|
|
116875
|
+
* Bulk-update model enablement for this integration.
|
|
113683
116876
|
* @param integrationId - Integration UUID.
|
|
113684
|
-
* @param body -
|
|
116877
|
+
* @param body - One or more model entries to update; omission is not documented as deletion.
|
|
113685
116878
|
* @returns The raw response. Shape unverified against a live tenant — see the PRD.
|
|
113686
116879
|
* @example
|
|
113687
116880
|
* ```ts
|
|
@@ -113693,14 +116886,14 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113693
116886
|
* });
|
|
113694
116887
|
* ```
|
|
113695
116888
|
*/
|
|
113696
|
-
setModels(integrationId: string, body:
|
|
116889
|
+
setModels(integrationId: string, body: GatewayIntegrationModelsBulkUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113697
116890
|
/**
|
|
113698
116891
|
* Read which workspaces may use this integration.
|
|
113699
116892
|
*
|
|
113700
116893
|
* @remarks
|
|
113701
116894
|
* `global_workspace_access` is an **object** on this read, not a boolean, despite the
|
|
113702
116895
|
* field name — `{ enabled, rate_limits, usage_limits }`. The corresponding write
|
|
113703
|
-
* ({@link setWorkspaces})
|
|
116896
|
+
* ({@link setWorkspaces}) uses the same object shape.
|
|
113704
116897
|
*
|
|
113705
116898
|
* @param integrationId - Integration UUID.
|
|
113706
116899
|
* @returns Bound workspaces plus the `global_workspace_access` object.
|
|
@@ -113715,9 +116908,9 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113715
116908
|
*/
|
|
113716
116909
|
getWorkspaces(integrationId: string): Promise<GatewayIntegrationWorkspacesResponse>;
|
|
113717
116910
|
/**
|
|
113718
|
-
*
|
|
116911
|
+
* Bulk-update which workspaces may use this integration.
|
|
113719
116912
|
* @param integrationId - Integration UUID.
|
|
113720
|
-
* @param body - Workspace bindings
|
|
116913
|
+
* @param body - Workspace bindings, global-access settings, or explicit override behavior.
|
|
113721
116914
|
* @returns The raw response. Shape unverified against a live tenant — see the PRD.
|
|
113722
116915
|
* @example
|
|
113723
116916
|
* ```ts
|
|
@@ -113725,51 +116918,13 @@ declare class AIGatewayIntegrationsClient {
|
|
|
113725
116918
|
* const gw = new AIGatewayClient();
|
|
113726
116919
|
*
|
|
113727
116920
|
* await gw.integrations.setWorkspaces('f6692544-3265-49be-9711-bbdcebc079e4', {
|
|
113728
|
-
* global_workspace_access: true,
|
|
116921
|
+
* global_workspace_access: { enabled: true },
|
|
113729
116922
|
* });
|
|
113730
116923
|
* ```
|
|
113731
116924
|
*/
|
|
113732
|
-
setWorkspaces(integrationId: string, body:
|
|
116925
|
+
setWorkspaces(integrationId: string, body: GatewayIntegrationWorkspacesBulkUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113733
116926
|
}
|
|
113734
116927
|
|
|
113735
|
-
/** Request body for registering an MCP server. */
|
|
113736
|
-
interface McpIntegrationCreateRequest {
|
|
113737
|
-
name: string;
|
|
113738
|
-
/** The TSG as a numeric string. */
|
|
113739
|
-
organisation_id: string;
|
|
113740
|
-
slug: string;
|
|
113741
|
-
/** MCP server URL. */
|
|
113742
|
-
url: string;
|
|
113743
|
-
/** e.g. `none`, `bearer`. */
|
|
113744
|
-
auth_type: string;
|
|
113745
|
-
/** e.g. `http`, `sse`. */
|
|
113746
|
-
transport: string;
|
|
113747
|
-
description?: string;
|
|
113748
|
-
configurations?: Record<string, unknown>;
|
|
113749
|
-
secret_mappings?: unknown[];
|
|
113750
|
-
}
|
|
113751
|
-
type McpIntegrationUpdateRequest = Partial<Pick<McpIntegrationCreateRequest, 'name' | 'description' | 'configurations' | 'url' | 'auth_type' | 'transport' | 'secret_mappings'>>;
|
|
113752
|
-
interface McpIntegrationCapabilitiesUpdateRequest {
|
|
113753
|
-
capabilities: Array<{
|
|
113754
|
-
name: string;
|
|
113755
|
-
type: 'tool' | 'prompt' | 'resource';
|
|
113756
|
-
enabled: boolean;
|
|
113757
|
-
}>;
|
|
113758
|
-
}
|
|
113759
|
-
/**
|
|
113760
|
-
* Workspace-binding payload for `mcp-integrations/{id}/workspaces`.
|
|
113761
|
-
* Verified live against SCM on 2026-08-30.
|
|
113762
|
-
*/
|
|
113763
|
-
interface McpIntegrationWorkspacesRequest {
|
|
113764
|
-
workspaces?: Array<{
|
|
113765
|
-
id: string;
|
|
113766
|
-
enabled: boolean;
|
|
113767
|
-
}>;
|
|
113768
|
-
global_workspace_access?: {
|
|
113769
|
-
enabled: boolean;
|
|
113770
|
-
} | null;
|
|
113771
|
-
override_existing_workspace_access?: boolean;
|
|
113772
|
-
}
|
|
113773
116928
|
/** Client for AI Gateway MCP server integrations (admin plane). */
|
|
113774
116929
|
declare class AIGatewayMcpIntegrationsClient {
|
|
113775
116930
|
private readonly baseUrl;
|
|
@@ -113852,12 +117007,13 @@ declare class AIGatewayMcpIntegrationsClient {
|
|
|
113852
117007
|
update(mcpIntegrationId: string, body: McpIntegrationUpdateRequest): Promise<GatewayWriteResponse>;
|
|
113853
117008
|
/** Permanently delete an MCP integration. @example `await gw.mcpIntegrations.delete(id);` */
|
|
113854
117009
|
delete(mcpIntegrationId: string): Promise<void>;
|
|
113855
|
-
/**
|
|
113856
|
-
setCapabilities(mcpIntegrationId: string, body:
|
|
117010
|
+
/** Bulk-update capability enablement values. @example `await gw.mcpIntegrations.setCapabilities(id, { capabilities: [{ name: 'lookup', type: 'tool', enabled: true }] });` */
|
|
117011
|
+
setCapabilities(mcpIntegrationId: string, body: McpIntegrationCapabilitiesBulkUpdateRequest): Promise<McpIntegrationCapabilitiesUpdateResponse>;
|
|
113857
117012
|
/**
|
|
113858
|
-
*
|
|
117013
|
+
* Bulk-update which workspaces may use this MCP integration.
|
|
113859
117014
|
* @param mcpIntegrationId - MCP integration UUID.
|
|
113860
|
-
* @param body - Workspace bindings or
|
|
117015
|
+
* @param body - Workspace bindings or global-access settings. Use the explicit override flag
|
|
117016
|
+
* to request replacement behavior.
|
|
113861
117017
|
* @returns An empty object. Verified live 2026-08-30.
|
|
113862
117018
|
* @example
|
|
113863
117019
|
* ```ts
|
|
@@ -113871,47 +117027,9 @@ declare class AIGatewayMcpIntegrationsClient {
|
|
|
113871
117027
|
* });
|
|
113872
117028
|
* ```
|
|
113873
117029
|
*/
|
|
113874
|
-
setWorkspaces(mcpIntegrationId: string, body:
|
|
117030
|
+
setWorkspaces(mcpIntegrationId: string, body: McpIntegrationWorkspacesBulkUpdateRequest): Promise<McpIntegrationWorkspacesUpdateResponse>;
|
|
113875
117031
|
}
|
|
113876
117032
|
|
|
113877
|
-
/** SCM settings controlling a self-hosted gateway deployment. */
|
|
113878
|
-
interface GatewayDeploymentAuthSettingsInput {
|
|
113879
|
-
gateway_base_url?: string;
|
|
113880
|
-
mcp_gateway_base_url?: string;
|
|
113881
|
-
is_dataservice_hosted?: 0 | 1;
|
|
113882
|
-
is_playground_proxy_allowed?: 0 | 1;
|
|
113883
|
-
/** Workspace slugs this deployment may serve. */
|
|
113884
|
-
workspaces_allowed?: string[];
|
|
113885
|
-
jwt_subs_allowed?: string[];
|
|
113886
|
-
jwt_sub_workspace_mapping?: Record<string, string>;
|
|
113887
|
-
allow_all_workspaces?: boolean;
|
|
113888
|
-
remove_workspaces_allowed?: string[];
|
|
113889
|
-
remove_subs_allowed?: string[];
|
|
113890
|
-
}
|
|
113891
|
-
/** Request body for creating a deployment. */
|
|
113892
|
-
interface GatewayDeploymentCreateRequest {
|
|
113893
|
-
name: string;
|
|
113894
|
-
/** `production` or `non_production`. */
|
|
113895
|
-
type: string;
|
|
113896
|
-
/** The TSG as a numeric string — NOT the organisation UUID returned on reads. */
|
|
113897
|
-
organisation_id: string;
|
|
113898
|
-
/** Note `allow_all_workspaces` is a real boolean here; reads return it as 0/1. */
|
|
113899
|
-
auth_settings?: GatewayDeploymentAuthSettingsInput;
|
|
113900
|
-
deployment_config?: Record<string, unknown>;
|
|
113901
|
-
is_default?: boolean;
|
|
113902
|
-
slug?: string;
|
|
113903
|
-
}
|
|
113904
|
-
/** Request body for updating a deployment. Omitted fields remain unchanged. */
|
|
113905
|
-
interface GatewayDeploymentUpdateRequest {
|
|
113906
|
-
name?: string;
|
|
113907
|
-
type?: string;
|
|
113908
|
-
status?: string;
|
|
113909
|
-
deployment_config?: Record<string, unknown> | null;
|
|
113910
|
-
is_default?: boolean;
|
|
113911
|
-
rotate_auth?: boolean;
|
|
113912
|
-
override_existing?: boolean;
|
|
113913
|
-
auth_settings?: GatewayDeploymentAuthSettingsInput;
|
|
113914
|
-
}
|
|
113915
117033
|
/** Client for AI Gateway deployment operations (admin plane). */
|
|
113916
117034
|
declare class AIGatewayDeploymentsClient {
|
|
113917
117035
|
private readonly baseUrl;
|
|
@@ -113960,8 +117078,8 @@ declare class AIGatewayDeploymentsClient {
|
|
|
113960
117078
|
*
|
|
113961
117079
|
* This is the **only** time `credentials.password` and `client_auth` are readable; the
|
|
113962
117080
|
* detail read masks them. Capture them here or they are unrecoverable. Never log them.
|
|
113963
|
-
*
|
|
113964
|
-
*
|
|
117081
|
+
* SDK debug logs redact returned one-time `client_auth` and registry passwords. Callers
|
|
117082
|
+
* must still capture the create response once and store it securely.
|
|
113965
117083
|
*
|
|
113966
117084
|
* @param body - Name, type, TSG, and auth settings.
|
|
113967
117085
|
* @returns The creation receipt including the deployment's gateway credentials.
|
|
@@ -114039,15 +117157,6 @@ declare class AIGatewayDeploymentsClient {
|
|
|
114039
117157
|
delete(deploymentId: string, organisationId: string): Promise<void>;
|
|
114040
117158
|
}
|
|
114041
117159
|
|
|
114042
|
-
/** Request body for binding a plugin (e.g. the Prisma AIRS scanner) to the organisation. */
|
|
114043
|
-
interface GatewayPluginCreateRequest {
|
|
114044
|
-
/** The TSG as a numeric string. */
|
|
114045
|
-
organisation_id: string;
|
|
114046
|
-
/** Plugin provider integration id, e.g. the `panw-prisma-airs` provider. */
|
|
114047
|
-
integration_id: string;
|
|
114048
|
-
/** Provider-specific secrets, e.g. `{ AIRS_API_KEY: '...' }`. Never log this. */
|
|
114049
|
-
credentials: Record<string, string>;
|
|
114050
|
-
}
|
|
114051
117160
|
/** Client for AI Gateway plugin bindings (admin plane). */
|
|
114052
117161
|
declare class AIGatewayPluginsClient {
|
|
114053
117162
|
private readonly baseUrl;
|
|
@@ -114071,8 +117180,8 @@ declare class AIGatewayPluginsClient {
|
|
|
114071
117180
|
* Bind a plugin to the organisation.
|
|
114072
117181
|
*
|
|
114073
117182
|
* @remarks
|
|
114074
|
-
* `body.credentials` (e.g. `AIRS_API_KEY`) is a live secret.
|
|
114075
|
-
*
|
|
117183
|
+
* `body.credentials` (e.g. `AIRS_API_KEY`) is a live secret. SDK debug logs replace each
|
|
117184
|
+
* credential value with `[REDACTED]`, but callers must still avoid logging the input object.
|
|
114076
117185
|
*
|
|
114077
117186
|
* @param body - Integration id and provider-specific credentials.
|
|
114078
117187
|
* @returns The raw create response. Shape unverified against a live tenant — see the PRD.
|
|
@@ -114112,7 +117221,7 @@ declare class AIGatewayOrganisationsClient {
|
|
|
114112
117221
|
getSelf(): Promise<OrganisationSelfResponse>;
|
|
114113
117222
|
/**
|
|
114114
117223
|
* Update the calling organisation's settings.
|
|
114115
|
-
* @param body -
|
|
117224
|
+
* @param body - One or more fields to update.
|
|
114116
117225
|
* @returns The raw update response. Shape unverified against a live tenant — see the PRD.
|
|
114117
117226
|
* @example
|
|
114118
117227
|
* ```ts
|
|
@@ -114122,14 +117231,14 @@ declare class AIGatewayOrganisationsClient {
|
|
|
114122
117231
|
* await gw.organisations.updateSelf({ name: 'Acme Corp' });
|
|
114123
117232
|
* ```
|
|
114124
117233
|
*/
|
|
114125
|
-
updateSelf(body:
|
|
117234
|
+
updateSelf(body: GatewayOrganisationUpdateRequest): Promise<GatewayWriteResponse>;
|
|
114126
117235
|
/**
|
|
114127
117236
|
* Fetch an organisation's auth settings.
|
|
114128
117237
|
*
|
|
114129
117238
|
* @remarks
|
|
114130
117239
|
* The response includes a `scim_token` — a live secret. Never log the returned object.
|
|
114131
|
-
*
|
|
114132
|
-
*
|
|
117240
|
+
* SDK debug logs redact `scim_token` and known nested client-secret fields. Callers must
|
|
117241
|
+
* still avoid logging the input object or returned auth settings directly.
|
|
114133
117242
|
*
|
|
114134
117243
|
* @param tsgId - The TSG as a numeric string, not a UUID.
|
|
114135
117244
|
* @returns Auth settings, including domains and the SCIM token.
|
|
@@ -114146,7 +117255,7 @@ declare class AIGatewayOrganisationsClient {
|
|
|
114146
117255
|
/**
|
|
114147
117256
|
* Update an organisation's auth settings.
|
|
114148
117257
|
* @param tsgId - The TSG as a numeric string, not a UUID.
|
|
114149
|
-
* @param body -
|
|
117258
|
+
* @param body - One or more auth-setting fields to update.
|
|
114150
117259
|
* @returns The raw update response. Shape unverified against a live tenant — see the PRD.
|
|
114151
117260
|
* @example
|
|
114152
117261
|
* ```ts
|
|
@@ -114158,7 +117267,7 @@ declare class AIGatewayOrganisationsClient {
|
|
|
114158
117267
|
* });
|
|
114159
117268
|
* ```
|
|
114160
117269
|
*/
|
|
114161
|
-
updateAuthSettings(tsgId: string, body:
|
|
117270
|
+
updateAuthSettings(tsgId: string, body: GatewayOrganisationAuthSettingsUpdateRequest): Promise<GatewayWriteResponse>;
|
|
114162
117271
|
}
|
|
114163
117272
|
|
|
114164
117273
|
/** Time range for an audit-log query. Both bounds are required by the API. */
|
|
@@ -114278,4 +117387,38 @@ declare class AIGatewayClient {
|
|
|
114278
117387
|
constructor(opts?: AIGatewayClientOptions);
|
|
114279
117388
|
}
|
|
114280
117389
|
|
|
114281
|
-
export { AIGatewayApiKeysClient, type AIGatewayAuditLogListOptions, AIGatewayAuditLogsClient, AIGatewayClient, type AIGatewayClientOptions, AIGatewayConfigsClient, AIGatewayDeploymentsClient, type AIGatewayGroupOptions, AIGatewayGuardrailsClient, AIGatewayIntegrationsClient, type AIGatewayLogsOptions, AIGatewayMcpIntegrationsClient, AIGatewayOrganisationsClient, type AIGatewayPlane, AIGatewayPluginsClient, AIGatewayProvidersClient, type AIGatewaySubClientOptions, AIGatewayTelemetryClient, type AIGatewayTelemetryClientOptions, type AIGatewayWindowOptions, type AIGatewayWorkspaceGetOptions, type AIGatewayWorkspaceListOptions, type AIGatewayWorkspaceScopedListOptions, AIGatewayWorkspacesClient, type AIGatewayWorkspacesClientOptions, AIRS_ENDPOINTS, AISecSDKException, type AISecSDKExceptionMetadata, AI_GW_ADMIN_ENDPOINT, AI_GW_API_KEYS_SERVICE_PATH, AI_GW_API_KEYS_USER_PATH, AI_GW_AUDIT_LOGS_PATH, AI_GW_CHARTS_PATH, AI_GW_CHART_METRICS, AI_GW_CONFIGS_PATH, AI_GW_DATA_ENDPOINT, AI_GW_DEPLOYMENTS_PATH, AI_GW_GROUPS_PATH, AI_GW_GROUP_COLUMNS, AI_GW_GROUP_DIMENSIONS, AI_GW_GUARDRAILS_PATH, AI_GW_INTEGRATIONS_PATH, AI_GW_LOGS_PATH, AI_GW_MCP_INTEGRATIONS_PATH, AI_GW_ORGANISATIONS_SELF_PATH, AI_GW_PLUGINS_PATH, AI_GW_PROVIDERS_PATH, AI_GW_WORKSPACES_PATH, AI_SEC_API_ENDPOINT, AI_SEC_API_KEY, AI_SEC_API_TOKEN, ASYNC_SCAN_PATH, Action, Action as ActionType, type AdapterCreateRequest, AdapterCreateRequestSchema, type AdapterList, type AdapterListAllOptions, type AdapterListItem, AdapterListItemSchema, AdapterListSchema, type AdapterOperationOptions, type AdapterResponse, AdapterResponseSchema, type AdapterUpdateRequest, AdapterUpdateRequestSchema, type AdapterValidateRequest, AdapterValidateRequestSchema, type AdapterValidateResponse, AdapterValidateResponseSchema, type AdapterVar, type AdapterVarResponse, AdapterVarResponseSchema, AdapterVarSchema, type AdapterVarType, AdapterVarTypeSchema, type AdvancedDataProfileRequest, AdvancedDataProfileRequestSchema, type AgentEntry, AgentEntrySchema, type AgentMeta, AgentMetaSchema, type AgentProtectionItem, AgentProtectionItemSchema, type AgentReport, AgentReportSchema, type AiProfile, AiProfileSchema, type AiSecurityProfile, AiSecurityProfileSchema, ApiEndpointType, type ApiKey, type ApiKeyCreateRequest, ApiKeyCreateRequestSchema, type ApiKeyDPInfo, ApiKeyDPInfoSchema, type ApiKeyDeleteResponse, ApiKeyDeleteResponseSchema, type ApiKeyListAllOptions, type ApiKeyListResponse, ApiKeyListResponseSchema, type ApiKeyRegenerateRequest, ApiKeyRegenerateRequestSchema, ApiKeySchema, ApiKeysClient, type ApiKeysClientOptions, type AppExclusion, AppExclusionSchema, type AsyncScanObject, AsyncScanObjectSchema, type AsyncScanResponse, AsyncScanResponseSchema, type AttackDetailResponse, AttackDetailResponseSchema, type AttackListItem, AttackListItemSchema, type AttackListOptions, type AttackListResponse, AttackListResponseSchema, type AttackMultiTurnDetailResponse, AttackMultiTurnDetailResponseSchema, type AttackMultiTurnOutput, AttackMultiTurnOutputSchema, type AttackOutput, AttackOutputSchema, AttackStatus, AttackType, type AuditResponse, AuditResponseSchema, type AuthConfig, AuthConfigSchema, type AuthSettingsResponse, AuthSettingsResponseSchema, AuthType, BEARER, type BaseResponse, BaseResponseSchema, type BasicAuthAuthConfig, BasicAuthAuthConfigSchema, BasicAuthLocation, type BedrockAccessConnectionParams, BedrockAccessConnectionParamsSchema, BrandSubCategory, type CacheHitTrendResponse, CacheHitTrendResponseSchema, type CacheSummaryResponse, CacheSummaryResponseSchema, Category, type CategoryModel, CategoryModelSchema, type CategoryReport, CategoryReportSchema, Category as CategoryType, type CgReport, CgReportSchema, type Channel, type ChannelListOptions, type ChannelListPagination, ChannelListPaginationSchema, type ChannelListResponse, ChannelListResponseSchema, ChannelSchema, type ChannelStats, ChannelStatsSchema, ChannelStatus, ChannelStatusSchema, type ChannelStatusType, type ClientIdAndCustomerApp, ClientIdAndCustomerAppSchema, type CmdEntry, CmdEntrySchema, type CmdInjectReport, CmdInjectReportSchema, type CollectAllOptions, type ComparisonOperatorType, ComparisonOperatorTypeSchema, type ComplianceReport, ComplianceReportSchema, ComplianceSubCategory, type ComplianceTechnique, ComplianceTechniqueSchema, type ConnectionParams, ConnectionParamsSchema, Content, type ContentError, ContentErrorSchema, ContentErrorType, ContentErrorType as ContentErrorTypeType, type ContentOptions, type CostChartResponse, CostChartResponseSchema, type CountByName, CountByNameSchema, type CountChartResponse, CountChartResponseSchema, CountedQuotaEnum, type CreateChannelRequest, CreateChannelRequestSchema, type CreateCustomTopicRequest, CreateCustomTopicRequestSchema, type CreateSecurityProfileRequest, CreateSecurityProfileRequestSchema, type CustomAttackOutput, CustomAttackOutputSchema, type CustomAttackReportResponse, CustomAttackReportResponseSchema, type CustomAttacksListResponse, CustomAttacksListResponseSchema, type CustomAttacksReportListOptions, type CustomJobMetadata, CustomJobMetadataSchema, type CustomPromptCreateRequest, CustomPromptCreateRequestSchema, type CustomPromptList, type CustomPromptListItem, CustomPromptListItemSchema, CustomPromptListSchema, type CustomPromptResponse, CustomPromptResponseSchema, type CustomPromptSetArchiveRequest, CustomPromptSetArchiveRequestSchema, type CustomPromptSetCreateRequest, CustomPromptSetCreateRequestSchema, type CustomPromptSetList, type CustomPromptSetListActive, CustomPromptSetListActiveSchema, type CustomPromptSetListItem, CustomPromptSetListItemSchema, CustomPromptSetListSchema, type CustomPromptSetReference, CustomPromptSetReferenceSchema, type CustomPromptSetResponse, CustomPromptSetResponseSchema, type CustomPromptSetUpdateRequest, CustomPromptSetUpdateRequestSchema, type CustomPromptSetVersionInfo, CustomPromptSetVersionInfoSchema, type CustomPromptUpdateRequest, CustomPromptUpdateRequestSchema, type CustomTopic, type CustomTopicListResponse, CustomTopicListResponseSchema, CustomTopicSchema, type CustomerApp, type CustomerAppDeleteResponse, CustomerAppDeleteResponseSchema, type CustomerAppListAllOptions, type CustomerAppListResponse, CustomerAppListResponseSchema, CustomerAppSchema, type CustomerAppWithKeys, CustomerAppWithKeysSchema, CustomerAppsClient, type CustomerAppsClientOptions, DEFAULT_AI_GW_ADMIN_ENDPOINT, DEFAULT_AI_GW_DATA_ENDPOINT, DEFAULT_DLP_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_MGMT_ENDPOINT, DEFAULT_MODEL_SEC_DATA_ENDPOINT, DEFAULT_MODEL_SEC_MGMT_ENDPOINT, DEFAULT_RED_TEAM_DATA_ENDPOINT, DEFAULT_RED_TEAM_MGMT_ENDPOINT, DEFAULT_RED_TEAM_NETWORK_BROKER_ENDPOINT, DEFAULT_TOKEN_ENDPOINT, DLP_DATA_FILTERING_PROFILES_PATH, DLP_DATA_PATTERNS_PATH, DLP_DATA_PROFILES_PATH, DLP_DICTIONARIES_PATH, type DSDetailResult, DSDetailResultSchema, type DSResultMetadata, DSResultMetadataSchema, type DashboardAppQuery, type DashboardApplication, DashboardApplicationSchema, type DashboardApplicationSessionsBucket, DashboardApplicationSessionsBucketSchema, type DashboardApplicationViolationBreakdown, DashboardApplicationViolationBreakdownSchema, type DashboardApplicationsOverview, type DashboardApplicationsOverviewItem, DashboardApplicationsOverviewItemSchema, type DashboardApplicationsOverviewQuery, DashboardApplicationsOverviewSchema, DashboardClient, type DashboardClientOptions, type DashboardOverviewResponse, DashboardOverviewResponseSchema, type DashboardPagination, DashboardPaginationSchema, type DashboardSessionStats, DashboardSessionStatsSchema, type DataFilteringDetails, DataFilteringDetailsSchema, type DataFilteringProfileListAllParams, type DataFilteringProfileListParams, type DataFilteringProfileRequest, DataFilteringProfileRequestSchema, type DataFilteringProfileResponse, DataFilteringProfileResponseSchema, DataFilteringProfilesClient, type DataFilteringProfilesClientOptions, type DataFilteringRuleDTO, DataFilteringRuleDTOSchema, type DataLeakDetectionMember, DataLeakDetectionMemberSchema, type DataPatternConfidenceLevel, DataPatternConfidenceLevelSchema, type DataPatternDetectionConfig, DataPatternDetectionConfigSchema, type DataPatternLicenseType, DataPatternLicenseTypeSchema, type DataPatternListAllParams, type DataPatternListParams, type DataPatternMatchingRules, DataPatternMatchingRulesSchema, type DataPatternPatchRequest, DataPatternPatchRequestSchema, type DataPatternRequest, DataPatternRequestSchema, type DataPatternResponse, DataPatternResponseSchema, type DataPatternStatus, DataPatternStatusSchema, type DataPatternTags, DataPatternTagsSchema, type DataPatternTechnique, DataPatternTechniqueSchema, type DataPatternType, DataPatternTypeSchema, DataPatternsClient, type DataPatternsClientOptions, type DataProfileListAllParams, type DataProfileListParams, type DataProfilePatchRequest, DataProfilePatchRequestSchema, type DataProfileResponse, DataProfileResponseSchema, type DataProfileStatus, DataProfileStatusSchema, type DataProfileSubtype, DataProfileSubtypeSchema, type DataProfileType, DataProfileTypeSchema, DataProfilesClient, type DataProfilesClientOptions, type DataProtection, DataProtectionSchema, type DatabaseSecurityItem, DatabaseSecurityItemSchema, type DatabricksConnectionParams, DatabricksConnectionParamsSchema, DateRangeFilter, type DbsEntry, DbsEntrySchema, type DbsReport, DbsReportSchema, type DefaultTreeDetectionRule, DefaultTreeDetectionRuleSchema, type DeleteProfileConflict, DeleteProfileConflictSchema, type DeleteProfileResponse, DeleteProfileResponseSchema, type DeleteTopicConflict, DeleteTopicConflictSchema, type DeleteTopicResponse, DeleteTopicResponseSchema, type DeploymentProfileAttribute, DeploymentProfileAttributeSchema, type DeploymentProfileEntry, DeploymentProfileEntrySchema, type DeploymentProfileListOptions, type DeploymentProfileRequest, DeploymentProfileRequestSchema, DeploymentProfilesClient, type DeploymentProfilesClientOptions, type DeploymentProfilesResponse, DeploymentProfilesResponseSchema, type DestinationAttributes, DestinationAttributesSchema, type DetectionRule, type DetectionRuleItem, DetectionRuleItemSchema, DetectionRuleSchema, DetectionServiceName, DetectionServiceName as DetectionServiceNameType, type DetectionServiceResult, DetectionServiceResultSchema, type DetectorViolationBreakdownEntry, DetectorViolationBreakdownEntrySchema, type Device, type DeviceInstance, DeviceInstanceSchema, type DeviceLicense, DeviceLicenseSchema, type DeviceRequest, DeviceRequestSchema, type DeviceResponse, DeviceResponseSchema, DeviceSchema, type DeviceStatus, DeviceStatusSchema, DictionariesClient, type DictionariesClientOptions, type DictionaryCategory, DictionaryCategorySchema, type DictionaryClassification, DictionaryClassificationSchema, type DictionaryDetectionSubTechnique, DictionaryDetectionSubTechniqueSchema, type DictionaryDetectionTechnique, DictionaryDetectionTechniqueSchema, type DictionaryFileInput, type DictionaryGetParams, type DictionaryListAllParams, type DictionaryListParams, type DictionaryMetaDataDTO, DictionaryMetaDataDTOSchema, type DictionaryPatchRequest, DictionaryPatchRequestSchema, type DictionaryRequest, DictionaryRequestSchema, type DictionaryResponse, DictionaryResponseSchema, type DictionaryTags, DictionaryTagsSchema, type DictionaryType, DictionaryTypeSchema, type DictionaryUploadParams, type DlpDataProfile, type DlpDataProfilePolicy, DlpDataProfilePolicySchema, DlpDataProfileSchema, DlpNamespace, type DlpNamespaceOptions, type DlpPatternDetection, DlpPatternDetectionSchema, type DlpProfileListResponse, DlpProfileListResponseSchema, DlpProfilesClient, type DlpProfilesClientOptions, type DlpReport, DlpReportSchema, type DlpRule, DlpRuleSchema, type DynamicJobMetadata, DynamicJobMetadataSchema, type DynamicJobReport, DynamicJobReportSchema, type DynamicJobReportStats, DynamicJobReportStatsSchema, ErrorCodes, type ErrorLog, type ErrorLogListResponse, ErrorLogListResponseSchema, ErrorLogSchema, type ErrorResponse, ErrorResponseSchema, ErrorSource, ErrorStatus, ErrorStatus as ErrorStatusType, type ErrorTrendsResponse, ErrorTrendsResponseSchema, ErrorType, type EulaAcceptRequest, EulaAcceptRequestSchema, type EulaContentResponse, EulaContentResponseSchema, type EulaResponse, EulaResponseSchema, EvalOutcome, type EvalSummary, EvalSummarySchema, type ExceptionRuleDTO, ExceptionRuleDTOSchema, type Exclusions, ExclusionsSchema, type ExpressionOperatorType, ExpressionOperatorTypeSchema, type ExpressionTreeNode, ExpressionTreeNodeSchema, type FeedbackModelsResponse, FeedbackModelsResponseSchema, type FeedbackScoreDistributionResponse, FeedbackScoreDistributionResponseSchema, FileFormat, type FileList, FileListSchema, type FileResponse, FileResponseSchema, type FileScanData, FileScanDataSchema, FileScanResult, FileType, type GatewayApiKey, type GatewayApiKeyCreateRequest, type GatewayApiKeyRotateRequest, type GatewayApiKeyRotateResponse, GatewayApiKeyRotateResponseSchema, GatewayApiKeySchema, type GatewayAuditLogRecord, GatewayAuditLogRecordSchema, type GatewayAuditLogsResponse, GatewayAuditLogsResponseSchema, type GatewayChartRecord, GatewayChartRecordSchema, type GatewayConfig, type GatewayConfigCreateRequest, type GatewayConfigCreateResponse, GatewayConfigCreateResponseSchema, type GatewayConfigDetail, GatewayConfigDetailSchema, GatewayConfigSchema, type GatewayConfigVersion, GatewayConfigVersionSchema, type GatewayDeployment, type GatewayDeploymentAuthSettingsInput, type GatewayDeploymentCreateRequest, type GatewayDeploymentCreateResponse, GatewayDeploymentCreateResponseSchema, type GatewayDeploymentDetail, GatewayDeploymentDetailSchema, type GatewayDeploymentPingResponse, GatewayDeploymentPingResponseSchema, GatewayDeploymentSchema, type GatewayDeploymentUpdateRequest, type GatewayGlobalWorkspaceAccess, GatewayGlobalWorkspaceAccessSchema, type GatewayGroupRow, GatewayGroupRowSchema, type GatewayGuardrail, type GatewayGuardrailCheck, type GatewayGuardrailCreateRequest, type GatewayGuardrailCreateResponse, GatewayGuardrailCreateResponseSchema, type GatewayGuardrailDetail, GatewayGuardrailDetailSchema, GatewayGuardrailSchema, type GatewayGuardrailUpdateRequest, type GatewayIntegration, type GatewayIntegrationCreateRequest, type GatewayIntegrationModelsRequest, type GatewayIntegrationModelsResponse, GatewayIntegrationModelsResponseSchema, GatewayIntegrationSchema, type GatewayIntegrationWorkspace, GatewayIntegrationWorkspaceSchema, type GatewayIntegrationWorkspacesRequest, type GatewayIntegrationWorkspacesResponse, GatewayIntegrationWorkspacesResponseSchema, type GatewayLogRecord, GatewayLogRecordSchema, type GatewayLogsResponse, GatewayLogsResponseSchema, type GatewayPlugin, type GatewayPluginCreateRequest, GatewayPluginSchema, type GatewayProvider, type GatewayProviderCreateRequest, type GatewayProviderCreateResponse, GatewayProviderCreateResponseSchema, type GatewayProviderDetail, GatewayProviderDetailSchema, GatewayProviderSchema, type GatewayProviderUpdateRequest, type GatewayRateLimit, GatewayRateLimitSchema, type GatewayUsageLimit, GatewayUsageLimitSchema, type GatewayWorkspace, type GatewayWorkspaceCreateRequest, type GatewayWorkspaceCreateResponse, GatewayWorkspaceCreateResponseSchema, type GatewayWorkspaceDetail, GatewayWorkspaceDetailSchema, GatewayWorkspaceSchema, type GatewayWorkspaceUpdateRequest, type GatewayWriteResponse, GatewayWriteResponseSchema, type GetTokenOptions, type Goal, type GoalListOptions, type GoalListResponse, GoalListResponseSchema, GoalSchema, GoalType, GoalTypeQueryParam, type GroupListResponse, GroupListResponseSchema, GuardrailAction, HEADER_API_KEY, HEADER_AUTH_TOKEN, type HTTPValidationError, HTTPValidationErrorSchema, HTTP_FORCE_RETRY_STATUS_CODES, type HeadersAuthConfig, HeadersAuthConfigSchema, type HuggingfaceConnectionParams, HuggingfaceConnectionParamsSchema, type IODetected, IODetectedSchema, type InitOptions, type InstanceExtraDetails, InstanceExtraDetailsSchema, type InstanceGetResponse, InstanceGetResponseSchema, type InstanceRequest, InstanceRequestSchema, type InstanceResponse, InstanceResponseSchema, type JobAbortResponse, JobAbortResponseSchema, type JobCreateRequest, JobCreateRequestSchema, type JobListResponse, JobListResponseSchema, type JobResponse, JobResponseSchema, JobStatus, JobStatusFilter, type JobTimeRecord, JobTimeRecordSchema, JobType, type JsonNullable, type Label, type LabelKeyList, LabelKeyListSchema, LabelSchema, type LabelValueList, LabelValueListSchema, type LabelsCreateRequest, LabelsCreateRequestSchema, type LabelsResponse, LabelsResponseSchema, type LanguageOption, LanguageOptionSchema, type LatencyChartResponse, LatencyChartResponseSchema, type ListApiKeysResponse, ListApiKeysResponseSchema, type ListConfigVersionsResponse, ListConfigVersionsResponseSchema, type ListConfigsResponse, ListConfigsResponseSchema, type ListDeploymentsResponse, ListDeploymentsResponseSchema, type ListGuardrailsResponse, ListGuardrailsResponseSchema, type ListIntegrationsResponse, ListIntegrationsResponseSchema, type ListMcpIntegrationsResponse, ListMcpIntegrationsResponseSchema, type ListModelSecurityGroupsResponse, ListModelSecurityGroupsResponseSchema, type ListModelSecurityRuleInstancesResponse, ListModelSecurityRuleInstancesResponseSchema, type ListModelSecurityRulesResponse, ListModelSecurityRulesResponseSchema, type ListPluginsResponse, ListPluginsResponseSchema, type ListProvidersResponse, ListProvidersResponseSchema, type ListWorkspacesResponse, ListWorkspacesResponseSchema, type ListingOptions, MAX_AI_PROFILE_NAME_LENGTH, MAX_API_KEY_LENGTH, MAX_CONNECTION_POOL_SIZE, MAX_CONTENT_CONTEXT_LENGTH, MAX_CONTENT_PROMPT_LENGTH, MAX_CONTENT_RESPONSE_LENGTH, MAX_NUMBER_OF_BATCH_SCAN_OBJECTS, MAX_NUMBER_OF_REPORT_IDS, MAX_NUMBER_OF_RETRIES, MAX_NUMBER_OF_SCAN_IDS, MAX_REPORT_ID_STR_LENGTH, MAX_SCAN_ID_STR_LENGTH, MAX_SESSION_ID_STR_LENGTH, MAX_TOKEN_LENGTH, MAX_TRANSACTION_ID_STR_LENGTH, MGMT_API_KEYS_TSG_PATH, MGMT_API_KEY_PATH, MGMT_CLIENT_ID, MGMT_CLIENT_SECRET, MGMT_CUSTOMER_APPS_TSG_PATH, MGMT_CUSTOMER_APP_PATH, MGMT_DASHBOARD_APPLICATIONS_OVERVIEW_PATH, MGMT_DASHBOARD_APPLICATION_PATH, MGMT_DASHBOARD_APPLICATION_VIOLATION_BREAKDOWN_PATH, MGMT_DEPLOYMENT_PROFILES_PATH, MGMT_DLP_PROFILES_PATH, MGMT_ENDPOINT, MGMT_OAUTH_INVALIDATE_PATH, MGMT_OAUTH_TOKEN_PATH, MGMT_PROFILES_TSG_PATH, MGMT_PROFILE_PATH, MGMT_SCAN_LOGS_PATH, MGMT_TOKEN_ENDPOINT, MGMT_TOPICS_TSG_PATH, MGMT_TOPIC_FORCE_PATH, MGMT_TOPIC_PATH, MGMT_TSG_ID, MODEL_SEC_CLIENT_ID, MODEL_SEC_CLIENT_SECRET, MODEL_SEC_DATA_ENDPOINT, MODEL_SEC_EVALUATIONS_PATH, MODEL_SEC_MGMT_ENDPOINT, MODEL_SEC_MODELS_PATH, MODEL_SEC_MODEL_VERSIONS_PATH, MODEL_SEC_PYPI_AUTH_PATH, MODEL_SEC_SCANS_PATH, MODEL_SEC_SECURITY_GROUPS_PATH, MODEL_SEC_SECURITY_RULES_PATH, MODEL_SEC_TOKEN_ENDPOINT, MODEL_SEC_TSG_ID, MODEL_SEC_VIOLATIONS_PATH, type MaliciousCodeProtection, MaliciousCodeProtectionSchema, type MalwareReport, MalwareReportSchema, ManagementClient, type ManagementClientOptions, type MaskedData, MaskedDataSchema, type McEntry, McEntrySchema, type McReport, McReportSchema, type McpIntegration, type McpIntegrationCapabilitiesResponse, McpIntegrationCapabilitiesResponseSchema, type McpIntegrationCapabilitiesUpdateRequest, type McpIntegrationCapabilitiesUpdateResponse, McpIntegrationCapabilitiesUpdateResponseSchema, type McpIntegrationCapability, McpIntegrationCapabilitySchema, type McpIntegrationCreateRequest, type McpIntegrationDetail, McpIntegrationDetailSchema, type McpIntegrationMetadata, McpIntegrationMetadataSchema, McpIntegrationSchema, type McpIntegrationUpdateRequest, type McpIntegrationWorkspacesRequest, type McpIntegrationWorkspacesUpdateResponse, McpIntegrationWorkspacesUpdateResponseSchema, type Metadata, type MetadataCriterion, MetadataCriterionSchema, MetadataSchema, type Model, type ModelConfiguration, ModelConfigurationSchema, type ModelList, ModelListSchema, type ModelProtectionItem, ModelProtectionItemSchema, ModelResponseSchema, type ModelScanIssue, ModelScanIssueSchema, ModelScanStatus, ModelSecurityClient, type ModelSecurityClientOptions, type ModelSecurityEvaluationListOptions, type ModelSecurityFileListOptions, type ModelSecurityGroupCreateRequest, ModelSecurityGroupCreateRequestSchema, type ModelSecurityGroupListAllOptions, type ModelSecurityGroupListOptions, type ModelSecurityGroupResponse, ModelSecurityGroupResponseSchema, ModelSecurityGroupState, type ModelSecurityGroupUpdateRequest, ModelSecurityGroupUpdateRequestSchema, ModelSecurityGroupsClient, type ModelSecurityGroupsClientOptions, type ModelSecurityLabelListOptions, type ModelSecurityModelListAllOptions, type ModelSecurityModelListOptions, type ModelSecurityModelVersionFileListAllOptions, type ModelSecurityModelVersionFileListOptions, type ModelSecurityModelVersionListAllOptions, type ModelSecurityModelVersionListOptions, ModelSecurityModelsClient, type ModelSecurityModelsClientOptions, type ModelSecurityPagination, ModelSecurityPaginationSchema, type ModelSecurityRuleInstanceListOptions, type ModelSecurityRuleInstanceResponse, ModelSecurityRuleInstanceResponseSchema, type ModelSecurityRuleInstanceUpdateRequest, ModelSecurityRuleInstanceUpdateRequestSchema, type ModelSecurityRuleListAllOptions, type ModelSecurityRuleListOptions, type ModelSecurityRuleResponse, ModelSecurityRuleResponseSchema, ModelSecurityRulesClient, type ModelSecurityRulesClientOptions, type ModelSecurityScanListAllOptions, type ModelSecurityScanListOptions, ModelSecurityScansClient, type ModelSecurityScansClientOptions, type ModelSecurityViolationListOptions, type ModelVersion, type ModelVersionList, ModelVersionListSchema, ModelVersionResponseSchema, type MultiProfileDataNode, MultiProfileDataNodeSchema, type MultiProfileDetectionRule, MultiProfileDetectionRuleSchema, type MultiTurnStatefulConfig, MultiTurnStatefulConfigSchema, type MultiTurnStatelessConfig, MultiTurnStatelessConfigSchema, type OAuth2AuthConfig, OAuth2AuthConfigSchema, OAuthClient, type OAuthClientOptions, OAuthManagementClient, type OAuthManagementClientOptions, type Oauth2Token, Oauth2TokenSchema, type Offset, OffsetSchema, type OpenAIConnectionParams, OpenAIConnectionParamsSchema, type OrganisationSelfResponse, OrganisationSelfResponseSchema, PAYLOAD_HASH, type Page, type PageDataFilteringProfileResponse, PageDataFilteringProfileResponseSchema, type PageDataPatternResponse, PageDataPatternResponseSchema, type PageDataProfileResponse, PageDataProfileResponseSchema, type PageDictionaryResponse, PageDictionaryResponseSchema, type PageableObject, PageableObjectSchema, type PaginatedScanResults, PaginatedScanResultsSchema, type PaginationOptions, type PaginationPage, type PatternDetection, PatternDetectionSchema, type Policy, type PolicyAppProtection, PolicyAppProtectionSchema, type PolicyLatency, PolicyLatencySchema, PolicySchema, PolicyType, type PrerequisiteModel, PrerequisiteModelSchema, type ProfileListAllOptions, ProfilesClient, type ProfilesClientOptions, ProfilingStatus, type PromptDetailResponse, PromptDetailResponseSchema, type PromptDetected, PromptDetectedSchema, type PromptDetectionDetails, PromptDetectionDetailsSchema, type PromptListAllOptions, type PromptListOptions, type PromptSetListAllOptions, type PromptSetListOptions, type PromptSetStats, PromptSetStatsSchema, type PromptSetSummary, PromptSetSummarySchema, type PromptSetsReportResponse, PromptSetsReportResponseSchema, type PromptsBySetListOptions, type PropertyAssignment, PropertyAssignmentSchema, type PropertyDefinition, PropertyDefinitionSchema, type PropertyNameCreateRequest, PropertyNameCreateRequestSchema, type PropertyNamesListResponse, PropertyNamesListResponseSchema, type PropertyStatistic, PropertyStatisticSchema, type PropertyValueCreateRequest, PropertyValueCreateRequestSchema, type PropertyValueStatistic, PropertyValueStatisticSchema, type PropertyValuesMultipleResponse, PropertyValuesMultipleResponseSchema, type PropertyValuesResponse, PropertyValuesResponseSchema, type PyPIAuthResponse, PyPIAuthResponseSchema, type QuotaDetails, QuotaDetailsSchema, type QuotaSummary, QuotaSummarySchema, RED_TEAM_ADAPTER_PATH, RED_TEAM_ADAPTER_VALIDATE_PATH, RED_TEAM_CATEGORIES_PATH, RED_TEAM_CHANNELS_PATH, RED_TEAM_CHANNELS_STATS_PATH, RED_TEAM_CLIENT_ID, RED_TEAM_CLIENT_SECRET, RED_TEAM_CUSTOM_ATTACKS_REPORT_PATH, RED_TEAM_CUSTOM_ATTACK_PATH, RED_TEAM_DASHBOARD_PATH, RED_TEAM_DATA_ENDPOINT, RED_TEAM_ERROR_LOG_PATH, RED_TEAM_ERROR_LOG_TARGET_PROFILE_PATH, RED_TEAM_EULA_PATH, RED_TEAM_INSTANCES_PATH, RED_TEAM_LANGUAGES_PATH, RED_TEAM_MGMT_DASHBOARD_PATH, RED_TEAM_MGMT_ENDPOINT, RED_TEAM_NETWORK_BROKER_ENDPOINT, RED_TEAM_QUOTA_PATH, RED_TEAM_REGISTRY_CREDENTIALS_PATH, RED_TEAM_REPORT_DYNAMIC_PATH, RED_TEAM_REPORT_PATH, RED_TEAM_REPORT_STATIC_PATH, RED_TEAM_SCAN_PATH, RED_TEAM_SENTIMENT_PATH, RED_TEAM_TARGET_PATH, RED_TEAM_TARGET_VALIDATE_AUTH_PATH, RED_TEAM_TEMPLATE_PATH, RED_TEAM_TOKEN_ENDPOINT, RED_TEAM_TSG_ID, RedTeamAdaptersClient, type RedTeamAdaptersClientOptions, RedTeamCategory, RedTeamClient, type RedTeamClientOptions, RedTeamCustomAttackReportsClient, type RedTeamCustomAttackReportsClientOptions, RedTeamCustomAttacksClient, type RedTeamCustomAttacksClientOptions, RedTeamErrorType, RedTeamEulaClient, type RedTeamEulaClientOptions, RedTeamInstancesClient, type RedTeamInstancesClientOptions, type RedTeamListOptions, RedTeamNetworkBrokerClient, type RedTeamNetworkBrokerClientOptions, type RedTeamPagination, RedTeamPaginationSchema, RedTeamReportsClient, type RedTeamReportsClientOptions, type RedTeamScanListAllOptions, type RedTeamScanListOptions, RedTeamScansClient, type RedTeamScansClientOptions, RedTeamTargetsClient, type RedTeamTargetsClientOptions, type RegistryCredentials, RegistryCredentialsSchema, type RemediationDetail, RemediationDetailSchema, type RemediationResponse, RemediationResponseSchema, type RescuedRetriesResponse, RescuedRetriesResponseSchema, type ResourceModelExtension, ResourceModelExtensionSchema, type ResponseDetected, ResponseDetectedSchema, type ResponseDetectionDetails, ResponseDetectionDetailsSchema, ResponseMode, type RestConnectionParams, RestConnectionParamsSchema, type RiskLevel, RiskLevelSchema, RiskRating, type RuleConfiguration, RuleConfigurationSchema, type RuleEditableField, type RuleEditableFieldDropdown, RuleEditableFieldDropdownSchema, RuleEditableFieldSchema, RuleEditableFieldType, type RuleEvaluationList, RuleEvaluationListSchema, type RuleEvaluationResponse, RuleEvaluationResponseSchema, RuleEvaluationResult, RuleFieldValueKey, type RuleItemConfidenceLevel, RuleItemConfidenceLevelSchema, type RuleItemDetectionTechnique, RuleItemDetectionTechniqueSchema, type RuleItemEdmMatchCriteria, RuleItemEdmMatchCriteriaSchema, type RuleItemMatchType, RuleItemMatchTypeSchema, type RuleItemOccurrenceOperatorType, RuleItemOccurrenceOperatorTypeSchema, type RuleRemediation, RuleRemediationSchema, RuleState, RuleType, type RuntimeSecurityPolicy, RuntimeSecurityPolicySchema, type RuntimeSecurityProfileResponse, RuntimeSecurityProfileResponseSchema, SCAN_REPORTS_PATH, SCAN_RESULTS_PATH, SDK_VERSION, SYNC_SCAN_PATH, SafetySubCategory, type ScanBaseResponse, ScanBaseResponseSchema, type ScanCallOptions, type ScanCreateRequest, ScanCreateRequestSchema, type ScanDetails, ScanDetailsSchema, type ScanIdResult, ScanIdResultSchema, type ScanList, ScanListSchema, type ScanLogQueryOptions, ScanLogsClient, type ScanLogsClientOptions, ScanOrigin, type ScanRequest, type ScanRequestContentsInner, ScanRequestContentsInnerSchema, ScanRequestSchema, type ScanResponse, ScanResponseSchema, type ScanResultEntry, ScanResultEntrySchema, type ScanResultForDashboard, ScanResultForDashboardSchema, type ScanStatisticsResponse, ScanStatisticsResponseSchema, type ScanSummary, ScanSummarySchema, Scanner, type ScoreTrendResponse, ScoreTrendResponseSchema, type ScoreTrendSeries, ScoreTrendSeriesSchema, type SecurityProfile, type SecurityProfileListResponse, SecurityProfileListResponseSchema, SecurityProfileSchema, SecuritySubCategory, type SentimentRequest, SentimentRequestSchema, type SentimentResponse, SentimentResponseSchema, SeverityFilter, type SeverityReport, SeverityReportSchema, type SeverityStats, SeverityStatsSchema, SortByDateField, SortByFileField, SortDirection, type SortObject, SortObjectSchema, type SourceAttributes, SourceAttributesSchema, SourceType, type StaticJobMetadata, StaticJobMetadataSchema, type StaticJobRemediation, type StaticJobRemediationRecommendation, StaticJobRemediationRecommendationSchema, StaticJobRemediationSchema, type StaticJobReport, StaticJobReportSchema, type StaticJobReportStats, StaticJobReportStatsSchema, StatusQueryParam, type StreamDetailResponse, StreamDetailResponseSchema, type StreamIterationData, StreamIterationDataSchema, type StreamListResponse, StreamListResponseSchema, StreamType, type StreamingConnectionParams, StreamingConnectionParamsSchema, type SubCategoryModel, SubCategoryModelSchema, type SubCategoryStats, SubCategoryStatsSchema, type SyncScanOptions, TSG_ID_HEADER, type TargetAdditionalContext, TargetAdditionalContextSchema, TargetAuthType, type TargetAuthValidationRequest, TargetAuthValidationRequestSchema, type TargetAuthValidationResponse, TargetAuthValidationResponseSchema, type TargetBackground, TargetBackgroundSchema, TargetConnectionType, type TargetContextUpdate, TargetContextUpdateSchema, type TargetCreateRequest, TargetCreateRequestSchema, type TargetJobRequest, TargetJobRequestSchema, type TargetList, type TargetListAllOptions, type TargetListItem, TargetListItemSchema, type TargetListOptions, TargetListSchema, type TargetMetadata, TargetMetadataSchema, type TargetOperationOptions, type TargetProbeRequest, TargetProbeRequestSchema, type TargetProfileResponse, TargetProfileResponseSchema, type TargetReference, TargetReferenceSchema, type TargetResponse, TargetResponseSchema, TargetStatus, type TargetTemplateCollection, TargetTemplateCollectionSchema, TargetType, type TargetUpdateRequest, TargetUpdateRequestSchema, type TcReport, TcReportSchema, type TenantLanguagesResponse, TenantLanguagesResponseSchema, type TgReport, TgReportSchema, ThreatCategory, type ThreatScanReport, ThreatScanReportSchema, type TokenInfo, type TokenStats, TokenStatsSchema, type TokensChartResponse, TokensChartResponseSchema, type ToolDetected, ToolDetectedSchema, type ToolDetectionDetails, ToolDetectionDetailsSchema, type ToolDetectionEntry, ToolDetectionEntrySchema, type ToolDetectionFlags, ToolDetectionFlagsSchema, type ToolEvent, type ToolEventMetadata, ToolEventMetadataSchema, ToolEventSchema, type TopicArray, TopicArraySchema, type TopicListAllOptions, type TopicListOptions, type TopicObject, TopicObjectSchema, TopicsClient, type TopicsClientOptions, type URLExclusion, URLExclusionSchema, USER_AGENT, type UpdateChannelRequest, UpdateChannelRequestSchema, type UrlCategory, UrlCategorySchema, type UrlfEntry, UrlfEntrySchema, type UserGroupResponse, UserGroupResponseSchema, type UserTrendsResponse, UserTrendsResponseSchema, type ValidationError, ValidationErrorSchema, Verdict, Verdict as VerdictType, type ViolationList, ViolationListSchema, type ViolationRemediation, ViolationRemediationSchema, type ViolationResponse, ViolationResponseSchema, type ViolationSeverityCounts, ViolationSeverityCountsSchema, type WalkAllOptions, type WebSocketConnectionParams, WebSocketConnectionParamsSchema, type WeightedRegex, WeightedRegexSchema, aiGwOrganisationsAuthSettingsPath, collectAll, collectSkipPages, collectSpringPages, globalConfiguration, init, jsonNullable, pageSchema, paginate, serializeListing };
|
|
117390
|
+
/** One already-typed value assigned through a dotted/bracketed path. */
|
|
117391
|
+
interface GatewayDottedValueEntry {
|
|
117392
|
+
path: string;
|
|
117393
|
+
value: GatewayJsonValue;
|
|
117394
|
+
}
|
|
117395
|
+
/**
|
|
117396
|
+
* Build a new JSON object from typed dotted-path entries.
|
|
117397
|
+
*
|
|
117398
|
+
* @example
|
|
117399
|
+
* ```ts
|
|
117400
|
+
* import { buildDottedObject } from '@cdot65/prisma-airs-sdk';
|
|
117401
|
+
*
|
|
117402
|
+
* const config = buildDottedObject([
|
|
117403
|
+
* { path: 'retry.attempts', value: 3 },
|
|
117404
|
+
* { path: 'targets[0].provider', value: '@vertex-primary' },
|
|
117405
|
+
* ]);
|
|
117406
|
+
* // { retry: { attempts: 3 }, targets: [{ provider: '@vertex-primary' }] }
|
|
117407
|
+
* ```
|
|
117408
|
+
*/
|
|
117409
|
+
declare function buildDottedObject(entries: readonly GatewayDottedValueEntry[]): GatewayJsonObject;
|
|
117410
|
+
/**
|
|
117411
|
+
* Return an immutable JSON clone with one dotted-path value set or replaced.
|
|
117412
|
+
*
|
|
117413
|
+
* @example
|
|
117414
|
+
* ```ts
|
|
117415
|
+
* import { setDottedValue } from '@cdot65/prisma-airs-sdk';
|
|
117416
|
+
*
|
|
117417
|
+
* const original = { retry: { attempts: 2 } };
|
|
117418
|
+
* const updated = setDottedValue(original, 'retry.attempts', 5);
|
|
117419
|
+
* // original.retry.attempts === 2; updated.retry.attempts === 5
|
|
117420
|
+
* ```
|
|
117421
|
+
*/
|
|
117422
|
+
declare function setDottedValue(input: GatewayJsonObject, path: string, value: GatewayJsonValue): GatewayJsonObject;
|
|
117423
|
+
|
|
117424
|
+
export { AIGatewayApiKeysClient, type AIGatewayAuditLogListOptions, AIGatewayAuditLogsClient, AIGatewayClient, type AIGatewayClientOptions, AIGatewayConfigsClient, AIGatewayDeploymentsClient, type AIGatewayGroupOptions, AIGatewayGuardrailsClient, AIGatewayIntegrationsClient, type AIGatewayLogsOptions, AIGatewayMcpIntegrationsClient, AIGatewayOrganisationsClient, type AIGatewayPlane, AIGatewayPluginsClient, AIGatewayProvidersClient, type AIGatewaySecretOperation, type AIGatewaySubClientOptions, AIGatewayTelemetryClient, type AIGatewayTelemetryClientOptions, type AIGatewayWindowOptions, type AIGatewayWorkspaceGetOptions, type AIGatewayWorkspaceListOptions, type AIGatewayWorkspaceScopedListOptions, AIGatewayWorkspacesClient, type AIGatewayWorkspacesClientOptions, AIRS_ENDPOINTS, AISecSDKException, type AISecSDKExceptionMetadata, AI_GATEWAY_DEPLOYMENT_STATUSES, AI_GATEWAY_DEPLOYMENT_TYPES, AI_GATEWAY_KNOWN_API_KEY_SCOPES, AI_GATEWAY_KNOWN_CACHE_MODES, AI_GATEWAY_KNOWN_CONFIG_STRATEGIES, AI_GATEWAY_KNOWN_MCP_AUTH_TYPES, AI_GATEWAY_KNOWN_MCP_TRANSPORTS, AI_GATEWAY_KNOWN_RATE_LIMIT_TYPES, AI_GATEWAY_KNOWN_RATE_LIMIT_UNITS, AI_GATEWAY_MUTABLE_MCP_CAPABILITY_TYPES, AI_GATEWAY_REDACTED, AI_GATEWAY_SECRET_FIELDS, AI_GW_ADMIN_ENDPOINT, AI_GW_API_KEYS_SERVICE_PATH, AI_GW_API_KEYS_USER_PATH, AI_GW_AUDIT_LOGS_PATH, AI_GW_CHARTS_PATH, AI_GW_CHART_METRICS, AI_GW_CONFIGS_PATH, AI_GW_DATA_ENDPOINT, AI_GW_DEPLOYMENTS_PATH, AI_GW_GROUPS_PATH, AI_GW_GROUP_COLUMNS, AI_GW_GROUP_DIMENSIONS, AI_GW_GUARDRAILS_PATH, AI_GW_INTEGRATIONS_PATH, AI_GW_LOGS_PATH, AI_GW_MCP_INTEGRATIONS_PATH, AI_GW_ORGANISATIONS_SELF_PATH, AI_GW_PLUGINS_PATH, AI_GW_PROVIDERS_PATH, AI_GW_WORKSPACES_PATH, AI_SEC_API_ENDPOINT, AI_SEC_API_KEY, AI_SEC_API_TOKEN, ASYNC_SCAN_PATH, Action, Action as ActionType, type AdapterCreateRequest, AdapterCreateRequestSchema, type AdapterList, type AdapterListAllOptions, type AdapterListItem, AdapterListItemSchema, AdapterListSchema, type AdapterOperationOptions, type AdapterResponse, AdapterResponseSchema, type AdapterUpdateRequest, AdapterUpdateRequestSchema, type AdapterValidateRequest, AdapterValidateRequestSchema, type AdapterValidateResponse, AdapterValidateResponseSchema, type AdapterVar, type AdapterVarResponse, AdapterVarResponseSchema, AdapterVarSchema, type AdapterVarType, AdapterVarTypeSchema, type AdvancedDataProfileRequest, AdvancedDataProfileRequestSchema, type AgentEntry, AgentEntrySchema, type AgentMeta, AgentMetaSchema, type AgentProtectionItem, AgentProtectionItemSchema, type AgentReport, AgentReportSchema, type AiProfile, AiProfileSchema, type AiSecurityProfile, AiSecurityProfileSchema, ApiEndpointType, type ApiKey, type ApiKeyCreateRequest, ApiKeyCreateRequestSchema, type ApiKeyDPInfo, ApiKeyDPInfoSchema, type ApiKeyDeleteResponse, ApiKeyDeleteResponseSchema, type ApiKeyListAllOptions, type ApiKeyListResponse, ApiKeyListResponseSchema, type ApiKeyRegenerateRequest, ApiKeyRegenerateRequestSchema, ApiKeySchema, ApiKeysClient, type ApiKeysClientOptions, type AppExclusion, AppExclusionSchema, type AsyncScanObject, AsyncScanObjectSchema, type AsyncScanResponse, AsyncScanResponseSchema, type AttackDetailResponse, AttackDetailResponseSchema, type AttackListItem, AttackListItemSchema, type AttackListOptions, type AttackListResponse, AttackListResponseSchema, type AttackMultiTurnDetailResponse, AttackMultiTurnDetailResponseSchema, type AttackMultiTurnOutput, AttackMultiTurnOutputSchema, type AttackOutput, AttackOutputSchema, AttackStatus, AttackType, type AuditResponse, AuditResponseSchema, type AuthConfig, AuthConfigSchema, type AuthSettingsResponse, AuthSettingsResponseSchema, AuthType, BEARER, type BaseResponse, BaseResponseSchema, type BasicAuthAuthConfig, BasicAuthAuthConfigSchema, BasicAuthLocation, type BedrockAccessConnectionParams, BedrockAccessConnectionParamsSchema, BrandSubCategory, type CacheHitTrendResponse, CacheHitTrendResponseSchema, type CacheSummaryResponse, CacheSummaryResponseSchema, Category, type CategoryModel, CategoryModelSchema, type CategoryReport, CategoryReportSchema, Category as CategoryType, type CgReport, CgReportSchema, type Channel, type ChannelListOptions, type ChannelListPagination, ChannelListPaginationSchema, type ChannelListResponse, ChannelListResponseSchema, ChannelSchema, type ChannelStats, ChannelStatsSchema, ChannelStatus, ChannelStatusSchema, type ChannelStatusType, type ClientIdAndCustomerApp, ClientIdAndCustomerAppSchema, type CmdEntry, CmdEntrySchema, type CmdInjectReport, CmdInjectReportSchema, type CollectAllOptions, type ComparisonOperatorType, ComparisonOperatorTypeSchema, type ComplianceReport, ComplianceReportSchema, ComplianceSubCategory, type ComplianceTechnique, ComplianceTechniqueSchema, type ConnectionParams, ConnectionParamsSchema, Content, type ContentError, ContentErrorSchema, ContentErrorType, ContentErrorType as ContentErrorTypeType, type ContentOptions, type CostChartResponse, CostChartResponseSchema, type CountByName, CountByNameSchema, type CountChartResponse, CountChartResponseSchema, CountedQuotaEnum, type CreateChannelRequest, CreateChannelRequestSchema, type CreateCustomTopicRequest, CreateCustomTopicRequestSchema, type CreateSecurityProfileRequest, CreateSecurityProfileRequestSchema, type CustomAttackOutput, CustomAttackOutputSchema, type CustomAttackReportResponse, CustomAttackReportResponseSchema, type CustomAttacksListResponse, CustomAttacksListResponseSchema, type CustomAttacksReportListOptions, type CustomJobMetadata, CustomJobMetadataSchema, type CustomPromptCreateRequest, CustomPromptCreateRequestSchema, type CustomPromptList, type CustomPromptListItem, CustomPromptListItemSchema, CustomPromptListSchema, type CustomPromptResponse, CustomPromptResponseSchema, type CustomPromptSetArchiveRequest, CustomPromptSetArchiveRequestSchema, type CustomPromptSetCreateRequest, CustomPromptSetCreateRequestSchema, type CustomPromptSetList, type CustomPromptSetListActive, CustomPromptSetListActiveSchema, type CustomPromptSetListItem, CustomPromptSetListItemSchema, CustomPromptSetListSchema, type CustomPromptSetReference, CustomPromptSetReferenceSchema, type CustomPromptSetResponse, CustomPromptSetResponseSchema, type CustomPromptSetUpdateRequest, CustomPromptSetUpdateRequestSchema, type CustomPromptSetVersionInfo, CustomPromptSetVersionInfoSchema, type CustomPromptUpdateRequest, CustomPromptUpdateRequestSchema, type CustomTopic, type CustomTopicListResponse, CustomTopicListResponseSchema, CustomTopicSchema, type CustomerApp, type CustomerAppDeleteResponse, CustomerAppDeleteResponseSchema, type CustomerAppListAllOptions, type CustomerAppListResponse, CustomerAppListResponseSchema, CustomerAppSchema, type CustomerAppWithKeys, CustomerAppWithKeysSchema, CustomerAppsClient, type CustomerAppsClientOptions, DEFAULT_AI_GW_ADMIN_ENDPOINT, DEFAULT_AI_GW_DATA_ENDPOINT, DEFAULT_DLP_ENDPOINT, DEFAULT_ENDPOINT, DEFAULT_MGMT_ENDPOINT, DEFAULT_MODEL_SEC_DATA_ENDPOINT, DEFAULT_MODEL_SEC_MGMT_ENDPOINT, DEFAULT_RED_TEAM_DATA_ENDPOINT, DEFAULT_RED_TEAM_MGMT_ENDPOINT, DEFAULT_RED_TEAM_NETWORK_BROKER_ENDPOINT, DEFAULT_TOKEN_ENDPOINT, DLP_DATA_FILTERING_PROFILES_PATH, DLP_DATA_PATTERNS_PATH, DLP_DATA_PROFILES_PATH, DLP_DICTIONARIES_PATH, type DSDetailResult, DSDetailResultSchema, type DSResultMetadata, DSResultMetadataSchema, type DashboardAppQuery, type DashboardApplication, DashboardApplicationSchema, type DashboardApplicationSessionsBucket, DashboardApplicationSessionsBucketSchema, type DashboardApplicationViolationBreakdown, DashboardApplicationViolationBreakdownSchema, type DashboardApplicationsOverview, type DashboardApplicationsOverviewItem, DashboardApplicationsOverviewItemSchema, type DashboardApplicationsOverviewQuery, DashboardApplicationsOverviewSchema, DashboardClient, type DashboardClientOptions, type DashboardOverviewResponse, DashboardOverviewResponseSchema, type DashboardPagination, DashboardPaginationSchema, type DashboardSessionStats, DashboardSessionStatsSchema, type DataFilteringDetails, DataFilteringDetailsSchema, type DataFilteringProfileListAllParams, type DataFilteringProfileListParams, type DataFilteringProfileRequest, DataFilteringProfileRequestSchema, type DataFilteringProfileResponse, DataFilteringProfileResponseSchema, DataFilteringProfilesClient, type DataFilteringProfilesClientOptions, type DataFilteringRuleDTO, DataFilteringRuleDTOSchema, type DataLeakDetectionMember, DataLeakDetectionMemberSchema, type DataPatternConfidenceLevel, DataPatternConfidenceLevelSchema, type DataPatternDetectionConfig, DataPatternDetectionConfigSchema, type DataPatternLicenseType, DataPatternLicenseTypeSchema, type DataPatternListAllParams, type DataPatternListParams, type DataPatternMatchingRules, DataPatternMatchingRulesSchema, type DataPatternPatchRequest, DataPatternPatchRequestSchema, type DataPatternRequest, DataPatternRequestSchema, type DataPatternResponse, DataPatternResponseSchema, type DataPatternStatus, DataPatternStatusSchema, type DataPatternTags, DataPatternTagsSchema, type DataPatternTechnique, DataPatternTechniqueSchema, type DataPatternType, DataPatternTypeSchema, DataPatternsClient, type DataPatternsClientOptions, type DataProfileListAllParams, type DataProfileListParams, type DataProfilePatchRequest, DataProfilePatchRequestSchema, type DataProfileResponse, DataProfileResponseSchema, type DataProfileStatus, DataProfileStatusSchema, type DataProfileSubtype, DataProfileSubtypeSchema, type DataProfileType, DataProfileTypeSchema, DataProfilesClient, type DataProfilesClientOptions, type DataProtection, DataProtectionSchema, type DatabaseSecurityItem, DatabaseSecurityItemSchema, type DatabricksConnectionParams, DatabricksConnectionParamsSchema, DateRangeFilter, type DbsEntry, DbsEntrySchema, type DbsReport, DbsReportSchema, type DefaultTreeDetectionRule, DefaultTreeDetectionRuleSchema, type DeleteProfileConflict, DeleteProfileConflictSchema, type DeleteProfileResponse, DeleteProfileResponseSchema, type DeleteTopicConflict, DeleteTopicConflictSchema, type DeleteTopicResponse, DeleteTopicResponseSchema, type DeploymentProfileAttribute, DeploymentProfileAttributeSchema, type DeploymentProfileEntry, DeploymentProfileEntrySchema, type DeploymentProfileListOptions, type DeploymentProfileRequest, DeploymentProfileRequestSchema, DeploymentProfilesClient, type DeploymentProfilesClientOptions, type DeploymentProfilesResponse, DeploymentProfilesResponseSchema, type DestinationAttributes, DestinationAttributesSchema, type DetectionRule, type DetectionRuleItem, DetectionRuleItemSchema, DetectionRuleSchema, DetectionServiceName, DetectionServiceName as DetectionServiceNameType, type DetectionServiceResult, DetectionServiceResultSchema, type DetectorViolationBreakdownEntry, DetectorViolationBreakdownEntrySchema, type Device, type DeviceInstance, DeviceInstanceSchema, type DeviceLicense, DeviceLicenseSchema, type DeviceRequest, DeviceRequestSchema, type DeviceResponse, DeviceResponseSchema, DeviceSchema, type DeviceStatus, DeviceStatusSchema, DictionariesClient, type DictionariesClientOptions, type DictionaryCategory, DictionaryCategorySchema, type DictionaryClassification, DictionaryClassificationSchema, type DictionaryDetectionSubTechnique, DictionaryDetectionSubTechniqueSchema, type DictionaryDetectionTechnique, DictionaryDetectionTechniqueSchema, type DictionaryFileInput, type DictionaryGetParams, type DictionaryListAllParams, type DictionaryListParams, type DictionaryMetaDataDTO, DictionaryMetaDataDTOSchema, type DictionaryPatchRequest, DictionaryPatchRequestSchema, type DictionaryRequest, DictionaryRequestSchema, type DictionaryResponse, DictionaryResponseSchema, type DictionaryTags, DictionaryTagsSchema, type DictionaryType, DictionaryTypeSchema, type DictionaryUploadParams, type DlpDataProfile, type DlpDataProfilePolicy, DlpDataProfilePolicySchema, DlpDataProfileSchema, DlpNamespace, type DlpNamespaceOptions, type DlpPatternDetection, DlpPatternDetectionSchema, type DlpProfileListResponse, DlpProfileListResponseSchema, DlpProfilesClient, type DlpProfilesClientOptions, type DlpReport, DlpReportSchema, type DlpRule, DlpRuleSchema, type DynamicJobMetadata, DynamicJobMetadataSchema, type DynamicJobReport, DynamicJobReportSchema, type DynamicJobReportStats, DynamicJobReportStatsSchema, ErrorCodes, type ErrorLog, type ErrorLogListResponse, ErrorLogListResponseSchema, ErrorLogSchema, type ErrorResponse, ErrorResponseSchema, ErrorSource, ErrorStatus, ErrorStatus as ErrorStatusType, type ErrorTrendsResponse, ErrorTrendsResponseSchema, ErrorType, type EulaAcceptRequest, EulaAcceptRequestSchema, type EulaContentResponse, EulaContentResponseSchema, type EulaResponse, EulaResponseSchema, EvalOutcome, type EvalSummary, EvalSummarySchema, type ExceptionRuleDTO, ExceptionRuleDTOSchema, type Exclusions, ExclusionsSchema, type ExpressionOperatorType, ExpressionOperatorTypeSchema, type ExpressionTreeNode, ExpressionTreeNodeSchema, type FeedbackModelsResponse, FeedbackModelsResponseSchema, type FeedbackScoreDistributionResponse, FeedbackScoreDistributionResponseSchema, FileFormat, type FileList, FileListSchema, type FileResponse, FileResponseSchema, type FileScanData, FileScanDataSchema, FileScanResult, FileType, type GatewayApiKey, type GatewayApiKeyCreateRequest, GatewayApiKeyCreateRequestSchema, type GatewayApiKeyRotateRequest, GatewayApiKeyRotateRequestSchema, type GatewayApiKeyRotateResponse, GatewayApiKeyRotateResponseSchema, type GatewayApiKeyRotationPolicy, GatewayApiKeyRotationPolicySchema, GatewayApiKeySchema, type GatewayApiKeyScope, GatewayApiKeyScopeSchema, type GatewayApiKeyUpdateRequest, GatewayApiKeyUpdateRequestSchema, type GatewayAuditLogRecord, GatewayAuditLogRecordSchema, type GatewayAuditLogsResponse, GatewayAuditLogsResponseSchema, type GatewayAzureAIConfiguration, GatewayAzureAIConfigurationSchema, type GatewayAzureDeploymentConfiguration, GatewayAzureDeploymentConfigurationSchema, type GatewayAzureOpenAIConfiguration, GatewayAzureOpenAIConfigurationSchema, type GatewayBedrockConfiguration, GatewayBedrockConfigurationSchema, type GatewayChartRecord, GatewayChartRecordSchema, type GatewayConfig, type GatewayConfigCacheMode, GatewayConfigCacheModeSchema, type GatewayConfigCreateRequest, GatewayConfigCreateRequestSchema, type GatewayConfigCreateResponse, GatewayConfigCreateResponseSchema, type GatewayConfigDetail, GatewayConfigDetailSchema, GatewayConfigSchema, type GatewayConfigStrategy, GatewayConfigStrategySchema, type GatewayConfigUpdateRequest, GatewayConfigUpdateRequestSchema, type GatewayConfigVersion, GatewayConfigVersionSchema, type GatewayCortexConfiguration, GatewayCortexConfigurationSchema, type GatewayCustomHostConfiguration, GatewayCustomHostConfigurationSchema, type GatewayDefaultsInput, GatewayDefaultsInputSchema, type GatewayDeployment, type GatewayDeploymentAuthSettingsInput, GatewayDeploymentAuthSettingsInputSchema, type GatewayDeploymentCreateRequest, GatewayDeploymentCreateRequestSchema, type GatewayDeploymentCreateResponse, GatewayDeploymentCreateResponseSchema, type GatewayDeploymentDetail, GatewayDeploymentDetailSchema, type GatewayDeploymentPingResponse, GatewayDeploymentPingResponseSchema, GatewayDeploymentSchema, type GatewayDeploymentStatus, GatewayDeploymentStatusSchema, type GatewayDeploymentType, GatewayDeploymentTypeSchema, type GatewayDeploymentUpdateRequest, GatewayDeploymentUpdateRequestSchema, type GatewayDottedValueEntry, type GatewayGlobalWorkspaceAccess, type GatewayGlobalWorkspaceAccessInput, GatewayGlobalWorkspaceAccessInputSchema, GatewayGlobalWorkspaceAccessSchema, type GatewayGroupRow, GatewayGroupRowSchema, type GatewayGuardrail, type GatewayGuardrailActions, GatewayGuardrailActionsSchema, type GatewayGuardrailCheck, GatewayGuardrailCheckSchema, type GatewayGuardrailCreateRequest, GatewayGuardrailCreateRequestSchema, type GatewayGuardrailCreateResponse, GatewayGuardrailCreateResponseSchema, type GatewayGuardrailDetail, GatewayGuardrailDetailSchema, GatewayGuardrailSchema, type GatewayGuardrailUpdateRequest, GatewayGuardrailUpdateRequestSchema, type GatewayHuggingFaceConfiguration, GatewayHuggingFaceConfigurationSchema, type GatewayIntegration, type GatewayIntegrationConfiguration, type GatewayIntegrationCreateRequest, GatewayIntegrationCreateRequestSchema, type GatewayIntegrationModelUpdate, GatewayIntegrationModelUpdateSchema, type GatewayIntegrationModelsBulkUpdateRequest, GatewayIntegrationModelsBulkUpdateRequestSchema, type GatewayIntegrationModelsRequest, type GatewayIntegrationModelsResponse, GatewayIntegrationModelsResponseSchema, GatewayIntegrationSchema, type GatewayIntegrationUpdateRequest, GatewayIntegrationUpdateRequestSchema, type GatewayIntegrationWorkspace, GatewayIntegrationWorkspaceSchema, type GatewayIntegrationWorkspacesBulkUpdateRequest, GatewayIntegrationWorkspacesBulkUpdateRequestSchema, type GatewayIntegrationWorkspacesRequest, type GatewayIntegrationWorkspacesResponse, GatewayIntegrationWorkspacesResponseSchema, type GatewayJsonObject, GatewayJsonObjectSchema, type GatewayJsonValue, GatewayJsonValueSchema, type GatewayKnownApiKeyScope, type GatewayKnownCacheMode, type GatewayKnownConfigStrategy, type GatewayKnownMcpAuthType, type GatewayKnownMcpTransport, type GatewayKnownRateLimitType, type GatewayKnownRateLimitUnit, type GatewayLogRecord, GatewayLogRecordSchema, type GatewayLogsResponse, GatewayLogsResponseSchema, type GatewayMcpAuthType, GatewayMcpAuthTypeSchema, type GatewayMcpTransport, GatewayMcpTransportSchema, type GatewayMutableMcpCapabilityType, GatewayMutableMcpCapabilityTypeSchema, type GatewayOpenAIConfiguration, GatewayOpenAIConfigurationSchema, type GatewayOpenValue, type GatewayOrganisationAuthSettingsUpdateRequest, GatewayOrganisationAuthSettingsUpdateRequestSchema, type GatewayOrganisationUpdateRequest, GatewayOrganisationUpdateRequestSchema, type GatewayPlugin, type GatewayPluginCreateRequest, GatewayPluginCreateRequestSchema, GatewayPluginSchema, type GatewayProvider, type GatewayProviderCreateRequest, GatewayProviderCreateRequestSchema, type GatewayProviderCreateResponse, GatewayProviderCreateResponseSchema, type GatewayProviderDetail, GatewayProviderDetailSchema, GatewayProviderSchema, type GatewayProviderUpdateRequest, GatewayProviderUpdateRequestSchema, type GatewayRateLimit, type GatewayRateLimitInput, GatewayRateLimitInputSchema, GatewayRateLimitSchema, type GatewayRateLimitType, GatewayRateLimitTypeSchema, type GatewayRateLimitUnit, GatewayRateLimitUnitSchema, type GatewayRoutingCache, GatewayRoutingCacheSchema, type GatewayRoutingConfig, GatewayRoutingConfigSchema, type GatewayRoutingRetry, GatewayRoutingRetrySchema, type GatewayRoutingStrategy, GatewayRoutingStrategySchema, type GatewayRoutingTarget, GatewayRoutingTargetSchema, type GatewaySageMakerConfiguration, GatewaySageMakerConfigurationSchema, type GatewaySecretDirection, type GatewaySecretFieldRule, type GatewaySecretMapping, GatewaySecretMappingSchema, type GatewaySecretOperationMetadata, type GatewaySecretPathSegment, type GatewayServiceApiKeyCreateRequest, GatewayServiceApiKeyCreateRequestSchema, type GatewayUsageLimit, type GatewayUsageLimitInput, GatewayUsageLimitInputSchema, GatewayUsageLimitSchema, type GatewayUserApiKeyCreateRequest, GatewayUserApiKeyCreateRequestSchema, type GatewayVertexAIConfiguration, GatewayVertexAIConfigurationSchema, type GatewayWorkersAIConfiguration, GatewayWorkersAIConfigurationSchema, type GatewayWorkspace, type GatewayWorkspaceBinding, GatewayWorkspaceBindingSchema, type GatewayWorkspaceCreateRequest, GatewayWorkspaceCreateRequestSchema, type GatewayWorkspaceCreateResponse, GatewayWorkspaceCreateResponseSchema, type GatewayWorkspaceDetail, GatewayWorkspaceDetailSchema, GatewayWorkspaceSchema, type GatewayWorkspaceUpdateRequest, GatewayWorkspaceUpdateRequestSchema, type GatewayWriteResponse, GatewayWriteResponseSchema, type GetTokenOptions, type Goal, type GoalListOptions, type GoalListResponse, GoalListResponseSchema, GoalSchema, GoalType, GoalTypeQueryParam, type GroupListResponse, GroupListResponseSchema, GuardrailAction, HEADER_API_KEY, HEADER_AUTH_TOKEN, type HTTPValidationError, HTTPValidationErrorSchema, HTTP_FORCE_RETRY_STATUS_CODES, type HeadersAuthConfig, HeadersAuthConfigSchema, type HuggingfaceConnectionParams, HuggingfaceConnectionParamsSchema, type IODetected, IODetectedSchema, type InitOptions, type InstanceExtraDetails, InstanceExtraDetailsSchema, type InstanceGetResponse, InstanceGetResponseSchema, type InstanceRequest, InstanceRequestSchema, type InstanceResponse, InstanceResponseSchema, type JobAbortResponse, JobAbortResponseSchema, type JobCreateRequest, JobCreateRequestSchema, type JobListResponse, JobListResponseSchema, type JobResponse, JobResponseSchema, JobStatus, JobStatusFilter, type JobTimeRecord, JobTimeRecordSchema, JobType, type JsonNullable, type Label, type LabelKeyList, LabelKeyListSchema, LabelSchema, type LabelValueList, LabelValueListSchema, type LabelsCreateRequest, LabelsCreateRequestSchema, type LabelsResponse, LabelsResponseSchema, type LanguageOption, LanguageOptionSchema, type LatencyChartResponse, LatencyChartResponseSchema, type ListApiKeysResponse, ListApiKeysResponseSchema, type ListConfigVersionsResponse, ListConfigVersionsResponseSchema, type ListConfigsResponse, ListConfigsResponseSchema, type ListDeploymentsResponse, ListDeploymentsResponseSchema, type ListGuardrailsResponse, ListGuardrailsResponseSchema, type ListIntegrationsResponse, ListIntegrationsResponseSchema, type ListMcpIntegrationsResponse, ListMcpIntegrationsResponseSchema, type ListModelSecurityGroupsResponse, ListModelSecurityGroupsResponseSchema, type ListModelSecurityRuleInstancesResponse, ListModelSecurityRuleInstancesResponseSchema, type ListModelSecurityRulesResponse, ListModelSecurityRulesResponseSchema, type ListPluginsResponse, ListPluginsResponseSchema, type ListProvidersResponse, ListProvidersResponseSchema, type ListWorkspacesResponse, ListWorkspacesResponseSchema, type ListingOptions, MAX_AI_PROFILE_NAME_LENGTH, MAX_API_KEY_LENGTH, MAX_CONNECTION_POOL_SIZE, MAX_CONTENT_CONTEXT_LENGTH, MAX_CONTENT_PROMPT_LENGTH, MAX_CONTENT_RESPONSE_LENGTH, MAX_NUMBER_OF_BATCH_SCAN_OBJECTS, MAX_NUMBER_OF_REPORT_IDS, MAX_NUMBER_OF_RETRIES, MAX_NUMBER_OF_SCAN_IDS, MAX_REPORT_ID_STR_LENGTH, MAX_SCAN_ID_STR_LENGTH, MAX_SESSION_ID_STR_LENGTH, MAX_TOKEN_LENGTH, MAX_TRANSACTION_ID_STR_LENGTH, MGMT_API_KEYS_TSG_PATH, MGMT_API_KEY_PATH, MGMT_CLIENT_ID, MGMT_CLIENT_SECRET, MGMT_CUSTOMER_APPS_TSG_PATH, MGMT_CUSTOMER_APP_PATH, MGMT_DASHBOARD_APPLICATIONS_OVERVIEW_PATH, MGMT_DASHBOARD_APPLICATION_PATH, MGMT_DASHBOARD_APPLICATION_VIOLATION_BREAKDOWN_PATH, MGMT_DEPLOYMENT_PROFILES_PATH, MGMT_DLP_PROFILES_PATH, MGMT_ENDPOINT, MGMT_OAUTH_INVALIDATE_PATH, MGMT_OAUTH_TOKEN_PATH, MGMT_PROFILES_TSG_PATH, MGMT_PROFILE_PATH, MGMT_SCAN_LOGS_PATH, MGMT_TOKEN_ENDPOINT, MGMT_TOPICS_TSG_PATH, MGMT_TOPIC_FORCE_PATH, MGMT_TOPIC_PATH, MGMT_TSG_ID, MODEL_SEC_CLIENT_ID, MODEL_SEC_CLIENT_SECRET, MODEL_SEC_DATA_ENDPOINT, MODEL_SEC_EVALUATIONS_PATH, MODEL_SEC_MGMT_ENDPOINT, MODEL_SEC_MODELS_PATH, MODEL_SEC_MODEL_VERSIONS_PATH, MODEL_SEC_PYPI_AUTH_PATH, MODEL_SEC_SCANS_PATH, MODEL_SEC_SECURITY_GROUPS_PATH, MODEL_SEC_SECURITY_RULES_PATH, MODEL_SEC_TOKEN_ENDPOINT, MODEL_SEC_TSG_ID, MODEL_SEC_VIOLATIONS_PATH, type MaliciousCodeProtection, MaliciousCodeProtectionSchema, type MalwareReport, MalwareReportSchema, ManagementClient, type ManagementClientOptions, type MaskedData, MaskedDataSchema, type McEntry, McEntrySchema, type McReport, McReportSchema, type McpIntegration, type McpIntegrationCapabilitiesBulkUpdateRequest, McpIntegrationCapabilitiesBulkUpdateRequestSchema, type McpIntegrationCapabilitiesResponse, McpIntegrationCapabilitiesResponseSchema, type McpIntegrationCapabilitiesUpdateRequest, type McpIntegrationCapabilitiesUpdateResponse, McpIntegrationCapabilitiesUpdateResponseSchema, type McpIntegrationCapability, McpIntegrationCapabilitySchema, type McpIntegrationCapabilityUpdate, McpIntegrationCapabilityUpdateSchema, type McpIntegrationCreateRequest, McpIntegrationCreateRequestSchema, type McpIntegrationDetail, McpIntegrationDetailSchema, type McpIntegrationMetadata, McpIntegrationMetadataSchema, McpIntegrationSchema, type McpIntegrationUpdateRequest, McpIntegrationUpdateRequestSchema, type McpIntegrationWorkspacesBulkUpdateRequest, McpIntegrationWorkspacesBulkUpdateRequestSchema, type McpIntegrationWorkspacesRequest, type McpIntegrationWorkspacesUpdateResponse, McpIntegrationWorkspacesUpdateResponseSchema, type Metadata, type MetadataCriterion, MetadataCriterionSchema, MetadataSchema, type Model, type ModelConfiguration, ModelConfigurationSchema, type ModelList, ModelListSchema, type ModelProtectionItem, ModelProtectionItemSchema, ModelResponseSchema, type ModelScanIssue, ModelScanIssueSchema, ModelScanStatus, ModelSecurityClient, type ModelSecurityClientOptions, type ModelSecurityEvaluationListOptions, type ModelSecurityFileListOptions, type ModelSecurityGroupCreateRequest, ModelSecurityGroupCreateRequestSchema, type ModelSecurityGroupListAllOptions, type ModelSecurityGroupListOptions, type ModelSecurityGroupResponse, ModelSecurityGroupResponseSchema, ModelSecurityGroupState, type ModelSecurityGroupUpdateRequest, ModelSecurityGroupUpdateRequestSchema, ModelSecurityGroupsClient, type ModelSecurityGroupsClientOptions, type ModelSecurityLabelListOptions, type ModelSecurityModelListAllOptions, type ModelSecurityModelListOptions, type ModelSecurityModelVersionFileListAllOptions, type ModelSecurityModelVersionFileListOptions, type ModelSecurityModelVersionListAllOptions, type ModelSecurityModelVersionListOptions, ModelSecurityModelsClient, type ModelSecurityModelsClientOptions, type ModelSecurityPagination, ModelSecurityPaginationSchema, type ModelSecurityRuleInstanceListOptions, type ModelSecurityRuleInstanceResponse, ModelSecurityRuleInstanceResponseSchema, type ModelSecurityRuleInstanceUpdateRequest, ModelSecurityRuleInstanceUpdateRequestSchema, type ModelSecurityRuleListAllOptions, type ModelSecurityRuleListOptions, type ModelSecurityRuleResponse, ModelSecurityRuleResponseSchema, ModelSecurityRulesClient, type ModelSecurityRulesClientOptions, type ModelSecurityScanListAllOptions, type ModelSecurityScanListOptions, ModelSecurityScansClient, type ModelSecurityScansClientOptions, type ModelSecurityViolationListOptions, type ModelVersion, type ModelVersionList, ModelVersionListSchema, ModelVersionResponseSchema, type MultiProfileDataNode, MultiProfileDataNodeSchema, type MultiProfileDetectionRule, MultiProfileDetectionRuleSchema, type MultiTurnStatefulConfig, MultiTurnStatefulConfigSchema, type MultiTurnStatelessConfig, MultiTurnStatelessConfigSchema, type OAuth2AuthConfig, OAuth2AuthConfigSchema, OAuthClient, type OAuthClientOptions, OAuthManagementClient, type OAuthManagementClientOptions, type Oauth2Token, Oauth2TokenSchema, type Offset, OffsetSchema, type OpenAIConnectionParams, OpenAIConnectionParamsSchema, type OrganisationSelfResponse, OrganisationSelfResponseSchema, PAYLOAD_HASH, type Page, type PageDataFilteringProfileResponse, PageDataFilteringProfileResponseSchema, type PageDataPatternResponse, PageDataPatternResponseSchema, type PageDataProfileResponse, PageDataProfileResponseSchema, type PageDictionaryResponse, PageDictionaryResponseSchema, type PageableObject, PageableObjectSchema, type PaginatedScanResults, PaginatedScanResultsSchema, type PaginationOptions, type PaginationPage, type PatternDetection, PatternDetectionSchema, type Policy, type PolicyAppProtection, PolicyAppProtectionSchema, type PolicyLatency, PolicyLatencySchema, PolicySchema, PolicyType, type PrerequisiteModel, PrerequisiteModelSchema, type ProfileListAllOptions, ProfilesClient, type ProfilesClientOptions, ProfilingStatus, type PromptDetailResponse, PromptDetailResponseSchema, type PromptDetected, PromptDetectedSchema, type PromptDetectionDetails, PromptDetectionDetailsSchema, type PromptListAllOptions, type PromptListOptions, type PromptSetListAllOptions, type PromptSetListOptions, type PromptSetStats, PromptSetStatsSchema, type PromptSetSummary, PromptSetSummarySchema, type PromptSetsReportResponse, PromptSetsReportResponseSchema, type PromptsBySetListOptions, type PropertyAssignment, PropertyAssignmentSchema, type PropertyDefinition, PropertyDefinitionSchema, type PropertyNameCreateRequest, PropertyNameCreateRequestSchema, type PropertyNamesListResponse, PropertyNamesListResponseSchema, type PropertyStatistic, PropertyStatisticSchema, type PropertyValueCreateRequest, PropertyValueCreateRequestSchema, type PropertyValueStatistic, PropertyValueStatisticSchema, type PropertyValuesMultipleResponse, PropertyValuesMultipleResponseSchema, type PropertyValuesResponse, PropertyValuesResponseSchema, type PyPIAuthResponse, PyPIAuthResponseSchema, type QuotaDetails, QuotaDetailsSchema, type QuotaSummary, QuotaSummarySchema, RED_TEAM_ADAPTER_PATH, RED_TEAM_ADAPTER_VALIDATE_PATH, RED_TEAM_CATEGORIES_PATH, RED_TEAM_CHANNELS_PATH, RED_TEAM_CHANNELS_STATS_PATH, RED_TEAM_CLIENT_ID, RED_TEAM_CLIENT_SECRET, RED_TEAM_CUSTOM_ATTACKS_REPORT_PATH, RED_TEAM_CUSTOM_ATTACK_PATH, RED_TEAM_DASHBOARD_PATH, RED_TEAM_DATA_ENDPOINT, RED_TEAM_ERROR_LOG_PATH, RED_TEAM_ERROR_LOG_TARGET_PROFILE_PATH, RED_TEAM_EULA_PATH, RED_TEAM_INSTANCES_PATH, RED_TEAM_LANGUAGES_PATH, RED_TEAM_MGMT_DASHBOARD_PATH, RED_TEAM_MGMT_ENDPOINT, RED_TEAM_NETWORK_BROKER_ENDPOINT, RED_TEAM_QUOTA_PATH, RED_TEAM_REGISTRY_CREDENTIALS_PATH, RED_TEAM_REPORT_DYNAMIC_PATH, RED_TEAM_REPORT_PATH, RED_TEAM_REPORT_STATIC_PATH, RED_TEAM_SCAN_PATH, RED_TEAM_SENTIMENT_PATH, RED_TEAM_TARGET_PATH, RED_TEAM_TARGET_VALIDATE_AUTH_PATH, RED_TEAM_TEMPLATE_PATH, RED_TEAM_TOKEN_ENDPOINT, RED_TEAM_TSG_ID, RedTeamAdaptersClient, type RedTeamAdaptersClientOptions, RedTeamCategory, RedTeamClient, type RedTeamClientOptions, RedTeamCustomAttackReportsClient, type RedTeamCustomAttackReportsClientOptions, RedTeamCustomAttacksClient, type RedTeamCustomAttacksClientOptions, RedTeamErrorType, RedTeamEulaClient, type RedTeamEulaClientOptions, RedTeamInstancesClient, type RedTeamInstancesClientOptions, type RedTeamListOptions, RedTeamNetworkBrokerClient, type RedTeamNetworkBrokerClientOptions, type RedTeamPagination, RedTeamPaginationSchema, RedTeamReportsClient, type RedTeamReportsClientOptions, type RedTeamScanListAllOptions, type RedTeamScanListOptions, RedTeamScansClient, type RedTeamScansClientOptions, RedTeamTargetsClient, type RedTeamTargetsClientOptions, type RegistryCredentials, RegistryCredentialsSchema, type RemediationDetail, RemediationDetailSchema, type RemediationResponse, RemediationResponseSchema, type RescuedRetriesResponse, RescuedRetriesResponseSchema, type ResourceModelExtension, ResourceModelExtensionSchema, type ResponseDetected, ResponseDetectedSchema, type ResponseDetectionDetails, ResponseDetectionDetailsSchema, ResponseMode, type RestConnectionParams, RestConnectionParamsSchema, type RiskLevel, RiskLevelSchema, RiskRating, type RuleConfiguration, RuleConfigurationSchema, type RuleEditableField, type RuleEditableFieldDropdown, RuleEditableFieldDropdownSchema, RuleEditableFieldSchema, RuleEditableFieldType, type RuleEvaluationList, RuleEvaluationListSchema, type RuleEvaluationResponse, RuleEvaluationResponseSchema, RuleEvaluationResult, RuleFieldValueKey, type RuleItemConfidenceLevel, RuleItemConfidenceLevelSchema, type RuleItemDetectionTechnique, RuleItemDetectionTechniqueSchema, type RuleItemEdmMatchCriteria, RuleItemEdmMatchCriteriaSchema, type RuleItemMatchType, RuleItemMatchTypeSchema, type RuleItemOccurrenceOperatorType, RuleItemOccurrenceOperatorTypeSchema, type RuleRemediation, RuleRemediationSchema, RuleState, RuleType, type RuntimeSecurityPolicy, RuntimeSecurityPolicySchema, type RuntimeSecurityProfileResponse, RuntimeSecurityProfileResponseSchema, SCAN_REPORTS_PATH, SCAN_RESULTS_PATH, SDK_VERSION, SYNC_SCAN_PATH, SafetySubCategory, type ScanBaseResponse, ScanBaseResponseSchema, type ScanCallOptions, type ScanCreateRequest, ScanCreateRequestSchema, type ScanDetails, ScanDetailsSchema, type ScanIdResult, ScanIdResultSchema, type ScanList, ScanListSchema, type ScanLogQueryOptions, ScanLogsClient, type ScanLogsClientOptions, ScanOrigin, type ScanRequest, type ScanRequestContentsInner, ScanRequestContentsInnerSchema, ScanRequestSchema, type ScanResponse, ScanResponseSchema, type ScanResultEntry, ScanResultEntrySchema, type ScanResultForDashboard, ScanResultForDashboardSchema, type ScanStatisticsResponse, ScanStatisticsResponseSchema, type ScanSummary, ScanSummarySchema, Scanner, type ScoreTrendResponse, ScoreTrendResponseSchema, type ScoreTrendSeries, ScoreTrendSeriesSchema, type SecurityProfile, type SecurityProfileListResponse, SecurityProfileListResponseSchema, SecurityProfileSchema, SecuritySubCategory, type SentimentRequest, SentimentRequestSchema, type SentimentResponse, SentimentResponseSchema, SeverityFilter, type SeverityReport, SeverityReportSchema, type SeverityStats, SeverityStatsSchema, SortByDateField, SortByFileField, SortDirection, type SortObject, SortObjectSchema, type SourceAttributes, SourceAttributesSchema, SourceType, type StaticJobMetadata, StaticJobMetadataSchema, type StaticJobRemediation, type StaticJobRemediationRecommendation, StaticJobRemediationRecommendationSchema, StaticJobRemediationSchema, type StaticJobReport, StaticJobReportSchema, type StaticJobReportStats, StaticJobReportStatsSchema, StatusQueryParam, type StreamDetailResponse, StreamDetailResponseSchema, type StreamIterationData, StreamIterationDataSchema, type StreamListResponse, StreamListResponseSchema, StreamType, type StreamingConnectionParams, StreamingConnectionParamsSchema, type SubCategoryModel, SubCategoryModelSchema, type SubCategoryStats, SubCategoryStatsSchema, type SyncScanOptions, TSG_ID_HEADER, type TargetAdditionalContext, TargetAdditionalContextSchema, TargetAuthType, type TargetAuthValidationRequest, TargetAuthValidationRequestSchema, type TargetAuthValidationResponse, TargetAuthValidationResponseSchema, type TargetBackground, TargetBackgroundSchema, TargetConnectionType, type TargetContextUpdate, TargetContextUpdateSchema, type TargetCreateRequest, TargetCreateRequestSchema, type TargetJobRequest, TargetJobRequestSchema, type TargetList, type TargetListAllOptions, type TargetListItem, TargetListItemSchema, type TargetListOptions, TargetListSchema, type TargetMetadata, TargetMetadataSchema, type TargetOperationOptions, type TargetProbeRequest, TargetProbeRequestSchema, type TargetProfileResponse, TargetProfileResponseSchema, type TargetReference, TargetReferenceSchema, type TargetResponse, TargetResponseSchema, TargetStatus, type TargetTemplateCollection, TargetTemplateCollectionSchema, TargetType, type TargetUpdateRequest, TargetUpdateRequestSchema, type TcReport, TcReportSchema, type TenantLanguagesResponse, TenantLanguagesResponseSchema, type TgReport, TgReportSchema, ThreatCategory, type ThreatScanReport, ThreatScanReportSchema, type TokenInfo, type TokenStats, TokenStatsSchema, type TokensChartResponse, TokensChartResponseSchema, type ToolDetected, ToolDetectedSchema, type ToolDetectionDetails, ToolDetectionDetailsSchema, type ToolDetectionEntry, ToolDetectionEntrySchema, type ToolDetectionFlags, ToolDetectionFlagsSchema, type ToolEvent, type ToolEventMetadata, ToolEventMetadataSchema, ToolEventSchema, type TopicArray, TopicArraySchema, type TopicListAllOptions, type TopicListOptions, type TopicObject, TopicObjectSchema, TopicsClient, type TopicsClientOptions, type URLExclusion, URLExclusionSchema, USER_AGENT, type UpdateChannelRequest, UpdateChannelRequestSchema, type UrlCategory, UrlCategorySchema, type UrlfEntry, UrlfEntrySchema, type UserGroupResponse, UserGroupResponseSchema, type UserTrendsResponse, UserTrendsResponseSchema, type ValidationError, ValidationErrorSchema, Verdict, Verdict as VerdictType, type ViolationList, ViolationListSchema, type ViolationRemediation, ViolationRemediationSchema, type ViolationResponse, ViolationResponseSchema, type ViolationSeverityCounts, ViolationSeverityCountsSchema, type WalkAllOptions, type WebSocketConnectionParams, WebSocketConnectionParamsSchema, type WeightedRegex, WeightedRegexSchema, aiGwOrganisationsAuthSettingsPath, buildDottedObject, collectAll, collectSkipPages, collectSpringPages, globalConfiguration, init, jsonNullable, pageSchema, paginate, redactAIGatewaySecrets, serializeListing, setDottedValue };
|