@orq-ai/node 3.5.12 → 3.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +39 -39
- package/bin/mcp-server.js.map +21 -21
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/bulkcreatedatapoints.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/package.json +1 -1
- package/packages/orq-rc/README.md +2 -0
- package/packages/orq-rc/docs/sdks/knowledge/README.md +77 -0
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +161 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +3 -1
- package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +37 -0
- package/packages/orq-rc/src/models/components/deployments.ts +3229 -134
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/createchunk.ts +65 -35
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +3208 -91
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +3518 -95
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getonechunk.ts +55 -5
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/listchunks.ts +55 -5
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +3783 -0
- package/packages/orq-rc/src/models/operations/updatechunk.ts +65 -35
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/sdk/knowledge.ts +18 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/bulkcreatedatapoints.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
|
@@ -274,7 +274,7 @@ export type InputAudio = {
|
|
|
274
274
|
format: Format;
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
-
export type
|
|
277
|
+
export type Deployments23 = {
|
|
278
278
|
type: Deployments2Type;
|
|
279
279
|
inputAudio: InputAudio;
|
|
280
280
|
};
|
|
@@ -320,17 +320,19 @@ export type Deployments2PrefixMessages3Type = ClosedEnum<
|
|
|
320
320
|
typeof Deployments2PrefixMessages3Type
|
|
321
321
|
>;
|
|
322
322
|
|
|
323
|
-
export type
|
|
323
|
+
export type Deployments21 = {
|
|
324
324
|
type: Deployments2PrefixMessages3Type;
|
|
325
325
|
text: string;
|
|
326
326
|
};
|
|
327
327
|
|
|
328
|
-
export type Two =
|
|
328
|
+
export type Two = Deployments21 | Two2 | Deployments23 | Four;
|
|
329
329
|
|
|
330
330
|
/**
|
|
331
331
|
* The contents of the user message.
|
|
332
332
|
*/
|
|
333
|
-
export type Content =
|
|
333
|
+
export type Content =
|
|
334
|
+
| string
|
|
335
|
+
| Array<Deployments21 | Two2 | Deployments23 | Four>;
|
|
334
336
|
|
|
335
337
|
export type UserMessage = {
|
|
336
338
|
/**
|
|
@@ -344,7 +346,7 @@ export type UserMessage = {
|
|
|
344
346
|
/**
|
|
345
347
|
* The contents of the user message.
|
|
346
348
|
*/
|
|
347
|
-
content: string | Array<
|
|
349
|
+
content: string | Array<Deployments21 | Two2 | Deployments23 | Four>;
|
|
348
350
|
};
|
|
349
351
|
|
|
350
352
|
/**
|
|
@@ -862,6 +864,302 @@ export type Thread = {
|
|
|
862
864
|
tags?: Array<string> | undefined;
|
|
863
865
|
};
|
|
864
866
|
|
|
867
|
+
/**
|
|
868
|
+
* Exists
|
|
869
|
+
*/
|
|
870
|
+
export type DollarOrDollarExists = {
|
|
871
|
+
dollarExists: boolean;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
export type DollarOrDollarNin = string | number | boolean;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Not in
|
|
878
|
+
*/
|
|
879
|
+
export type DeploymentsDollarOrDollarNin = {
|
|
880
|
+
dollarNin: Array<string | number | boolean>;
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
export type DollarOrDollarIn = string | number | boolean;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* In
|
|
887
|
+
*/
|
|
888
|
+
export type DeploymentsDollarOrDollarIn = {
|
|
889
|
+
dollarIn: Array<string | number | boolean>;
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Less than or equal to
|
|
894
|
+
*/
|
|
895
|
+
export type DollarOrDollarLte = {
|
|
896
|
+
dollarLte: number;
|
|
897
|
+
};
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Less than
|
|
901
|
+
*/
|
|
902
|
+
export type DollarOrDollarLt = {
|
|
903
|
+
dollarLt: number;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Greater than or equal to
|
|
908
|
+
*/
|
|
909
|
+
export type DollarOrDollarGte = {
|
|
910
|
+
dollarGte: number;
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
export type DollarOr3 = {
|
|
914
|
+
dollarGt: number;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
export type DollarOrDollarNe = string | number | boolean;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Not equal to
|
|
921
|
+
*/
|
|
922
|
+
export type DeploymentsDollarOrDollarNe = {
|
|
923
|
+
dollarNe: string | number | boolean;
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
export type DollarOrDollarEq = string | number | boolean;
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Equal to
|
|
930
|
+
*/
|
|
931
|
+
export type DeploymentsDollarOrDollarEq = {
|
|
932
|
+
dollarEq: string | number | boolean;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
export type DollarOr =
|
|
936
|
+
| DeploymentsDollarOrDollarEq
|
|
937
|
+
| DeploymentsDollarOrDollarNe
|
|
938
|
+
| DollarOr3
|
|
939
|
+
| DollarOrDollarGte
|
|
940
|
+
| DollarOrDollarLt
|
|
941
|
+
| DollarOrDollarLte
|
|
942
|
+
| DeploymentsDollarOrDollarIn
|
|
943
|
+
| DeploymentsDollarOrDollarNin
|
|
944
|
+
| DollarOrDollarExists;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Or
|
|
948
|
+
*/
|
|
949
|
+
export type KnowledgeFilterDollarOr = {
|
|
950
|
+
dollarOr: Array<
|
|
951
|
+
{
|
|
952
|
+
[k: string]:
|
|
953
|
+
| DeploymentsDollarOrDollarEq
|
|
954
|
+
| DeploymentsDollarOrDollarNe
|
|
955
|
+
| DollarOr3
|
|
956
|
+
| DollarOrDollarGte
|
|
957
|
+
| DollarOrDollarLt
|
|
958
|
+
| DollarOrDollarLte
|
|
959
|
+
| DeploymentsDollarOrDollarIn
|
|
960
|
+
| DeploymentsDollarOrDollarNin
|
|
961
|
+
| DollarOrDollarExists;
|
|
962
|
+
}
|
|
963
|
+
>;
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Exists
|
|
968
|
+
*/
|
|
969
|
+
export type DollarAndDollarExists = {
|
|
970
|
+
dollarExists: boolean;
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
export type DollarAndDollarNin = string | number | boolean;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Not in
|
|
977
|
+
*/
|
|
978
|
+
export type DeploymentsDollarAndDollarNin = {
|
|
979
|
+
dollarNin: Array<string | number | boolean>;
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
export type DollarAndDollarIn = string | number | boolean;
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* In
|
|
986
|
+
*/
|
|
987
|
+
export type DeploymentsDollarAndDollarIn = {
|
|
988
|
+
dollarIn: Array<string | number | boolean>;
|
|
989
|
+
};
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Less than or equal to
|
|
993
|
+
*/
|
|
994
|
+
export type DollarAndDollarLte = {
|
|
995
|
+
dollarLte: number;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Less than
|
|
1000
|
+
*/
|
|
1001
|
+
export type DollarAndDollarLt = {
|
|
1002
|
+
dollarLt: number;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Greater than or equal to
|
|
1007
|
+
*/
|
|
1008
|
+
export type DollarAndDollarGte = {
|
|
1009
|
+
dollarGte: number;
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
export type DollarAnd3 = {
|
|
1013
|
+
dollarGt: number;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
export type DollarAndDollarNe = string | number | boolean;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Not equal to
|
|
1020
|
+
*/
|
|
1021
|
+
export type DeploymentsDollarAndDollarNe = {
|
|
1022
|
+
dollarNe: string | number | boolean;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
export type DollarAndDollarEq = string | number | boolean;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Equal to
|
|
1029
|
+
*/
|
|
1030
|
+
export type DeploymentsDollarAndDollarEq = {
|
|
1031
|
+
dollarEq: string | number | boolean;
|
|
1032
|
+
};
|
|
1033
|
+
|
|
1034
|
+
export type DollarAnd =
|
|
1035
|
+
| DeploymentsDollarAndDollarEq
|
|
1036
|
+
| DeploymentsDollarAndDollarNe
|
|
1037
|
+
| DollarAnd3
|
|
1038
|
+
| DollarAndDollarGte
|
|
1039
|
+
| DollarAndDollarLt
|
|
1040
|
+
| DollarAndDollarLte
|
|
1041
|
+
| DeploymentsDollarAndDollarIn
|
|
1042
|
+
| DeploymentsDollarAndDollarNin
|
|
1043
|
+
| DollarAndDollarExists;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* And
|
|
1047
|
+
*/
|
|
1048
|
+
export type KnowledgeFilterDollarAnd = {
|
|
1049
|
+
dollarAnd: Array<
|
|
1050
|
+
{
|
|
1051
|
+
[k: string]:
|
|
1052
|
+
| DeploymentsDollarAndDollarEq
|
|
1053
|
+
| DeploymentsDollarAndDollarNe
|
|
1054
|
+
| DollarAnd3
|
|
1055
|
+
| DollarAndDollarGte
|
|
1056
|
+
| DollarAndDollarLt
|
|
1057
|
+
| DollarAndDollarLte
|
|
1058
|
+
| DeploymentsDollarAndDollarIn
|
|
1059
|
+
| DeploymentsDollarAndDollarNin
|
|
1060
|
+
| DollarAndDollarExists;
|
|
1061
|
+
}
|
|
1062
|
+
>;
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Exists
|
|
1067
|
+
*/
|
|
1068
|
+
export type DollarExists = {
|
|
1069
|
+
dollarExists: boolean;
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
export type DollarNin = string | number | boolean;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Not in
|
|
1076
|
+
*/
|
|
1077
|
+
export type OneDollarNin = {
|
|
1078
|
+
dollarNin: Array<string | number | boolean>;
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
export type DollarIn = string | number | boolean;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* In
|
|
1085
|
+
*/
|
|
1086
|
+
export type OneDollarIn = {
|
|
1087
|
+
dollarIn: Array<string | number | boolean>;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Less than or equal to
|
|
1092
|
+
*/
|
|
1093
|
+
export type DollarLte = {
|
|
1094
|
+
dollarLte: number;
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Less than
|
|
1099
|
+
*/
|
|
1100
|
+
export type DollarLt = {
|
|
1101
|
+
dollarLt: number;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Greater than or equal to
|
|
1106
|
+
*/
|
|
1107
|
+
export type DollarGte = {
|
|
1108
|
+
dollarGte: number;
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
export type Three = {
|
|
1112
|
+
dollarGt: number;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
export type DollarNe = string | number | boolean;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Not equal to
|
|
1119
|
+
*/
|
|
1120
|
+
export type OneDollarNe = {
|
|
1121
|
+
dollarNe: string | number | boolean;
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
export type DollarEq = string | number | boolean;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Equal to
|
|
1128
|
+
*/
|
|
1129
|
+
export type OneDollarEq = {
|
|
1130
|
+
dollarEq: string | number | boolean;
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
export type One =
|
|
1134
|
+
| OneDollarEq
|
|
1135
|
+
| OneDollarNe
|
|
1136
|
+
| Three
|
|
1137
|
+
| DollarGte
|
|
1138
|
+
| DollarLt
|
|
1139
|
+
| DollarLte
|
|
1140
|
+
| OneDollarIn
|
|
1141
|
+
| OneDollarNin
|
|
1142
|
+
| DollarExists;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1146
|
+
*/
|
|
1147
|
+
export type KnowledgeFilter =
|
|
1148
|
+
| KnowledgeFilterDollarAnd
|
|
1149
|
+
| KnowledgeFilterDollarOr
|
|
1150
|
+
| {
|
|
1151
|
+
[k: string]:
|
|
1152
|
+
| OneDollarEq
|
|
1153
|
+
| OneDollarNe
|
|
1154
|
+
| Three
|
|
1155
|
+
| DollarGte
|
|
1156
|
+
| DollarLt
|
|
1157
|
+
| DollarLte
|
|
1158
|
+
| OneDollarIn
|
|
1159
|
+
| OneDollarNin
|
|
1160
|
+
| DollarExists;
|
|
1161
|
+
};
|
|
1162
|
+
|
|
865
1163
|
/**
|
|
866
1164
|
* The deployment request payload
|
|
867
1165
|
*/
|
|
@@ -920,6 +1218,21 @@ export type Deployments = {
|
|
|
920
1218
|
documents?: Array<Documents> | undefined;
|
|
921
1219
|
invokeOptions?: InvokeOptions | undefined;
|
|
922
1220
|
thread?: Thread | undefined;
|
|
1221
|
+
/**
|
|
1222
|
+
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1223
|
+
*/
|
|
1224
|
+
knowledgeFilter?: KnowledgeFilterDollarAnd | KnowledgeFilterDollarOr | {
|
|
1225
|
+
[k: string]:
|
|
1226
|
+
| OneDollarEq
|
|
1227
|
+
| OneDollarNe
|
|
1228
|
+
| Three
|
|
1229
|
+
| DollarGte
|
|
1230
|
+
| DollarLt
|
|
1231
|
+
| DollarLte
|
|
1232
|
+
| OneDollarIn
|
|
1233
|
+
| OneDollarNin
|
|
1234
|
+
| DollarExists;
|
|
1235
|
+
} | undefined;
|
|
923
1236
|
};
|
|
924
1237
|
|
|
925
1238
|
/** @internal */
|
|
@@ -1919,27 +2232,30 @@ export function inputAudioFromJSON(
|
|
|
1919
2232
|
}
|
|
1920
2233
|
|
|
1921
2234
|
/** @internal */
|
|
1922
|
-
export const
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
2235
|
+
export const Deployments23$inboundSchema: z.ZodType<
|
|
2236
|
+
Deployments23,
|
|
2237
|
+
z.ZodTypeDef,
|
|
2238
|
+
unknown
|
|
2239
|
+
> = z.object({
|
|
2240
|
+
type: Deployments2Type$inboundSchema,
|
|
2241
|
+
input_audio: z.lazy(() => InputAudio$inboundSchema),
|
|
2242
|
+
}).transform((v) => {
|
|
2243
|
+
return remap$(v, {
|
|
2244
|
+
"input_audio": "inputAudio",
|
|
1930
2245
|
});
|
|
2246
|
+
});
|
|
1931
2247
|
|
|
1932
2248
|
/** @internal */
|
|
1933
|
-
export type
|
|
2249
|
+
export type Deployments23$Outbound = {
|
|
1934
2250
|
type: string;
|
|
1935
2251
|
input_audio: InputAudio$Outbound;
|
|
1936
2252
|
};
|
|
1937
2253
|
|
|
1938
2254
|
/** @internal */
|
|
1939
|
-
export const
|
|
1940
|
-
|
|
2255
|
+
export const Deployments23$outboundSchema: z.ZodType<
|
|
2256
|
+
Deployments23$Outbound,
|
|
1941
2257
|
z.ZodTypeDef,
|
|
1942
|
-
|
|
2258
|
+
Deployments23
|
|
1943
2259
|
> = z.object({
|
|
1944
2260
|
type: Deployments2Type$outboundSchema,
|
|
1945
2261
|
inputAudio: z.lazy(() => InputAudio$outboundSchema),
|
|
@@ -1953,26 +2269,26 @@ export const Three$outboundSchema: z.ZodType<
|
|
|
1953
2269
|
* @internal
|
|
1954
2270
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1955
2271
|
*/
|
|
1956
|
-
export namespace
|
|
1957
|
-
/** @deprecated use `
|
|
1958
|
-
export const inboundSchema =
|
|
1959
|
-
/** @deprecated use `
|
|
1960
|
-
export const outboundSchema =
|
|
1961
|
-
/** @deprecated use `
|
|
1962
|
-
export type Outbound =
|
|
2272
|
+
export namespace Deployments23$ {
|
|
2273
|
+
/** @deprecated use `Deployments23$inboundSchema` instead. */
|
|
2274
|
+
export const inboundSchema = Deployments23$inboundSchema;
|
|
2275
|
+
/** @deprecated use `Deployments23$outboundSchema` instead. */
|
|
2276
|
+
export const outboundSchema = Deployments23$outboundSchema;
|
|
2277
|
+
/** @deprecated use `Deployments23$Outbound` instead. */
|
|
2278
|
+
export type Outbound = Deployments23$Outbound;
|
|
1963
2279
|
}
|
|
1964
2280
|
|
|
1965
|
-
export function
|
|
1966
|
-
return JSON.stringify(
|
|
2281
|
+
export function deployments23ToJSON(deployments23: Deployments23): string {
|
|
2282
|
+
return JSON.stringify(Deployments23$outboundSchema.parse(deployments23));
|
|
1967
2283
|
}
|
|
1968
2284
|
|
|
1969
|
-
export function
|
|
2285
|
+
export function deployments23FromJSON(
|
|
1970
2286
|
jsonString: string,
|
|
1971
|
-
): SafeParseResult<
|
|
2287
|
+
): SafeParseResult<Deployments23, SDKValidationError> {
|
|
1972
2288
|
return safeParse(
|
|
1973
2289
|
jsonString,
|
|
1974
|
-
(x) =>
|
|
1975
|
-
`Failed to parse '
|
|
2290
|
+
(x) => Deployments23$inboundSchema.parse(JSON.parse(x)),
|
|
2291
|
+
`Failed to parse 'Deployments23' from JSON`,
|
|
1976
2292
|
);
|
|
1977
2293
|
}
|
|
1978
2294
|
|
|
@@ -2144,75 +2460,81 @@ export namespace Deployments2PrefixMessages3Type$ {
|
|
|
2144
2460
|
}
|
|
2145
2461
|
|
|
2146
2462
|
/** @internal */
|
|
2147
|
-
export const
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2463
|
+
export const Deployments21$inboundSchema: z.ZodType<
|
|
2464
|
+
Deployments21,
|
|
2465
|
+
z.ZodTypeDef,
|
|
2466
|
+
unknown
|
|
2467
|
+
> = z.object({
|
|
2468
|
+
type: Deployments2PrefixMessages3Type$inboundSchema,
|
|
2469
|
+
text: z.string(),
|
|
2470
|
+
});
|
|
2152
2471
|
|
|
2153
2472
|
/** @internal */
|
|
2154
|
-
export type
|
|
2473
|
+
export type Deployments21$Outbound = {
|
|
2155
2474
|
type: string;
|
|
2156
2475
|
text: string;
|
|
2157
2476
|
};
|
|
2158
2477
|
|
|
2159
2478
|
/** @internal */
|
|
2160
|
-
export const
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2479
|
+
export const Deployments21$outboundSchema: z.ZodType<
|
|
2480
|
+
Deployments21$Outbound,
|
|
2481
|
+
z.ZodTypeDef,
|
|
2482
|
+
Deployments21
|
|
2483
|
+
> = z.object({
|
|
2484
|
+
type: Deployments2PrefixMessages3Type$outboundSchema,
|
|
2485
|
+
text: z.string(),
|
|
2486
|
+
});
|
|
2165
2487
|
|
|
2166
2488
|
/**
|
|
2167
2489
|
* @internal
|
|
2168
2490
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2169
2491
|
*/
|
|
2170
|
-
export namespace
|
|
2171
|
-
/** @deprecated use `
|
|
2172
|
-
export const inboundSchema =
|
|
2173
|
-
/** @deprecated use `
|
|
2174
|
-
export const outboundSchema =
|
|
2175
|
-
/** @deprecated use `
|
|
2176
|
-
export type Outbound =
|
|
2492
|
+
export namespace Deployments21$ {
|
|
2493
|
+
/** @deprecated use `Deployments21$inboundSchema` instead. */
|
|
2494
|
+
export const inboundSchema = Deployments21$inboundSchema;
|
|
2495
|
+
/** @deprecated use `Deployments21$outboundSchema` instead. */
|
|
2496
|
+
export const outboundSchema = Deployments21$outboundSchema;
|
|
2497
|
+
/** @deprecated use `Deployments21$Outbound` instead. */
|
|
2498
|
+
export type Outbound = Deployments21$Outbound;
|
|
2177
2499
|
}
|
|
2178
2500
|
|
|
2179
|
-
export function
|
|
2180
|
-
return JSON.stringify(
|
|
2501
|
+
export function deployments21ToJSON(deployments21: Deployments21): string {
|
|
2502
|
+
return JSON.stringify(Deployments21$outboundSchema.parse(deployments21));
|
|
2181
2503
|
}
|
|
2182
2504
|
|
|
2183
|
-
export function
|
|
2505
|
+
export function deployments21FromJSON(
|
|
2184
2506
|
jsonString: string,
|
|
2185
|
-
): SafeParseResult<
|
|
2507
|
+
): SafeParseResult<Deployments21, SDKValidationError> {
|
|
2186
2508
|
return safeParse(
|
|
2187
2509
|
jsonString,
|
|
2188
|
-
(x) =>
|
|
2189
|
-
`Failed to parse '
|
|
2510
|
+
(x) => Deployments21$inboundSchema.parse(JSON.parse(x)),
|
|
2511
|
+
`Failed to parse 'Deployments21' from JSON`,
|
|
2190
2512
|
);
|
|
2191
2513
|
}
|
|
2192
2514
|
|
|
2193
2515
|
/** @internal */
|
|
2194
2516
|
export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z.union(
|
|
2195
2517
|
[
|
|
2196
|
-
z.lazy(() =>
|
|
2518
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
2197
2519
|
z.lazy(() => Two2$inboundSchema),
|
|
2198
|
-
z.lazy(() =>
|
|
2520
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2199
2521
|
z.lazy(() => Four$inboundSchema),
|
|
2200
2522
|
],
|
|
2201
2523
|
);
|
|
2202
2524
|
|
|
2203
2525
|
/** @internal */
|
|
2204
2526
|
export type Two$Outbound =
|
|
2205
|
-
|
|
|
2527
|
+
| Deployments21$Outbound
|
|
2206
2528
|
| Two2$Outbound
|
|
2207
|
-
|
|
|
2529
|
+
| Deployments23$Outbound
|
|
2208
2530
|
| Four$Outbound;
|
|
2209
2531
|
|
|
2210
2532
|
/** @internal */
|
|
2211
2533
|
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
2212
2534
|
.union([
|
|
2213
|
-
z.lazy(() =>
|
|
2535
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
2214
2536
|
z.lazy(() => Two2$outboundSchema),
|
|
2215
|
-
z.lazy(() =>
|
|
2537
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2216
2538
|
z.lazy(() => Four$outboundSchema),
|
|
2217
2539
|
]);
|
|
2218
2540
|
|
|
@@ -2248,9 +2570,9 @@ export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
|
|
|
2248
2570
|
z.union([
|
|
2249
2571
|
z.string(),
|
|
2250
2572
|
z.array(z.union([
|
|
2251
|
-
z.lazy(() =>
|
|
2573
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
2252
2574
|
z.lazy(() => Two2$inboundSchema),
|
|
2253
|
-
z.lazy(() =>
|
|
2575
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2254
2576
|
z.lazy(() => Four$inboundSchema),
|
|
2255
2577
|
])),
|
|
2256
2578
|
]);
|
|
@@ -2258,7 +2580,12 @@ export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
|
|
|
2258
2580
|
/** @internal */
|
|
2259
2581
|
export type Content$Outbound =
|
|
2260
2582
|
| string
|
|
2261
|
-
| Array<
|
|
2583
|
+
| Array<
|
|
2584
|
+
| Deployments21$Outbound
|
|
2585
|
+
| Two2$Outbound
|
|
2586
|
+
| Deployments23$Outbound
|
|
2587
|
+
| Four$Outbound
|
|
2588
|
+
>;
|
|
2262
2589
|
|
|
2263
2590
|
/** @internal */
|
|
2264
2591
|
export const Content$outboundSchema: z.ZodType<
|
|
@@ -2268,9 +2595,9 @@ export const Content$outboundSchema: z.ZodType<
|
|
|
2268
2595
|
> = z.union([
|
|
2269
2596
|
z.string(),
|
|
2270
2597
|
z.array(z.union([
|
|
2271
|
-
z.lazy(() =>
|
|
2598
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
2272
2599
|
z.lazy(() => Two2$outboundSchema),
|
|
2273
|
-
z.lazy(() =>
|
|
2600
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2274
2601
|
z.lazy(() => Four$outboundSchema),
|
|
2275
2602
|
])),
|
|
2276
2603
|
]);
|
|
@@ -2313,9 +2640,9 @@ export const UserMessage$inboundSchema: z.ZodType<
|
|
|
2313
2640
|
content: z.union([
|
|
2314
2641
|
z.string(),
|
|
2315
2642
|
z.array(z.union([
|
|
2316
|
-
z.lazy(() =>
|
|
2643
|
+
z.lazy(() => Deployments21$inboundSchema),
|
|
2317
2644
|
z.lazy(() => Two2$inboundSchema),
|
|
2318
|
-
z.lazy(() =>
|
|
2645
|
+
z.lazy(() => Deployments23$inboundSchema),
|
|
2319
2646
|
z.lazy(() => Four$inboundSchema),
|
|
2320
2647
|
])),
|
|
2321
2648
|
]),
|
|
@@ -2327,7 +2654,12 @@ export type UserMessage$Outbound = {
|
|
|
2327
2654
|
name?: string | undefined;
|
|
2328
2655
|
content:
|
|
2329
2656
|
| string
|
|
2330
|
-
| Array<
|
|
2657
|
+
| Array<
|
|
2658
|
+
| Deployments21$Outbound
|
|
2659
|
+
| Two2$Outbound
|
|
2660
|
+
| Deployments23$Outbound
|
|
2661
|
+
| Four$Outbound
|
|
2662
|
+
>;
|
|
2331
2663
|
};
|
|
2332
2664
|
|
|
2333
2665
|
/** @internal */
|
|
@@ -2341,9 +2673,9 @@ export const UserMessage$outboundSchema: z.ZodType<
|
|
|
2341
2673
|
content: z.union([
|
|
2342
2674
|
z.string(),
|
|
2343
2675
|
z.array(z.union([
|
|
2344
|
-
z.lazy(() =>
|
|
2676
|
+
z.lazy(() => Deployments21$outboundSchema),
|
|
2345
2677
|
z.lazy(() => Two2$outboundSchema),
|
|
2346
|
-
z.lazy(() =>
|
|
2678
|
+
z.lazy(() => Deployments23$outboundSchema),
|
|
2347
2679
|
z.lazy(() => Four$outboundSchema),
|
|
2348
2680
|
])),
|
|
2349
2681
|
]),
|
|
@@ -4512,83 +4844,2828 @@ export function threadFromJSON(
|
|
|
4512
4844
|
}
|
|
4513
4845
|
|
|
4514
4846
|
/** @internal */
|
|
4515
|
-
export const
|
|
4516
|
-
|
|
4847
|
+
export const DollarOrDollarExists$inboundSchema: z.ZodType<
|
|
4848
|
+
DollarOrDollarExists,
|
|
4517
4849
|
z.ZodTypeDef,
|
|
4518
4850
|
unknown
|
|
4519
4851
|
> = z.object({
|
|
4520
|
-
|
|
4521
|
-
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
4522
|
-
context: z.record(z.any()).optional(),
|
|
4523
|
-
prefix_messages: z.array(
|
|
4524
|
-
z.union([
|
|
4525
|
-
z.lazy(() => DeveloperMessage$inboundSchema),
|
|
4526
|
-
z.lazy(() => SystemMessage$inboundSchema),
|
|
4527
|
-
z.lazy(() => UserMessage$inboundSchema),
|
|
4528
|
-
z.lazy(() => ToolMessage$inboundSchema),
|
|
4529
|
-
z.lazy(() => AssistantMessage$inboundSchema),
|
|
4530
|
-
]),
|
|
4531
|
-
).optional(),
|
|
4532
|
-
messages: z.array(
|
|
4533
|
-
z.union([
|
|
4534
|
-
z.lazy(() => MessagesDeveloperMessage$inboundSchema),
|
|
4535
|
-
z.lazy(() => MessagesSystemMessage$inboundSchema),
|
|
4536
|
-
z.lazy(() => MessagesUserMessage$inboundSchema),
|
|
4537
|
-
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
4538
|
-
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
4539
|
-
]),
|
|
4540
|
-
).optional(),
|
|
4541
|
-
file_ids: z.array(z.string()).optional(),
|
|
4542
|
-
metadata: z.record(z.any()).optional(),
|
|
4543
|
-
extra_params: z.record(z.any()).optional(),
|
|
4544
|
-
documents: z.array(z.lazy(() => Documents$inboundSchema)).optional(),
|
|
4545
|
-
invoke_options: z.lazy(() => InvokeOptions$inboundSchema).optional(),
|
|
4546
|
-
thread: z.lazy(() => Thread$inboundSchema).optional(),
|
|
4852
|
+
$exists: z.boolean(),
|
|
4547
4853
|
}).transform((v) => {
|
|
4548
4854
|
return remap$(v, {
|
|
4549
|
-
"
|
|
4550
|
-
"file_ids": "fileIds",
|
|
4551
|
-
"extra_params": "extraParams",
|
|
4552
|
-
"invoke_options": "invokeOptions",
|
|
4855
|
+
"$exists": "dollarExists",
|
|
4553
4856
|
});
|
|
4554
4857
|
});
|
|
4555
4858
|
|
|
4556
4859
|
/** @internal */
|
|
4557
|
-
export type
|
|
4558
|
-
|
|
4559
|
-
inputs?: { [k: string]: string | number | boolean } | undefined;
|
|
4560
|
-
context?: { [k: string]: any } | undefined;
|
|
4561
|
-
prefix_messages?:
|
|
4562
|
-
| Array<
|
|
4563
|
-
| DeveloperMessage$Outbound
|
|
4564
|
-
| SystemMessage$Outbound
|
|
4565
|
-
| UserMessage$Outbound
|
|
4566
|
-
| ToolMessage$Outbound
|
|
4567
|
-
| AssistantMessage$Outbound
|
|
4568
|
-
>
|
|
4569
|
-
| undefined;
|
|
4570
|
-
messages?:
|
|
4571
|
-
| Array<
|
|
4572
|
-
| MessagesDeveloperMessage$Outbound
|
|
4573
|
-
| MessagesSystemMessage$Outbound
|
|
4574
|
-
| MessagesUserMessage$Outbound
|
|
4575
|
-
| MessagesToolMessage$Outbound
|
|
4576
|
-
| MessagesAssistantMessage$Outbound
|
|
4577
|
-
>
|
|
4578
|
-
| undefined;
|
|
4579
|
-
file_ids?: Array<string> | undefined;
|
|
4580
|
-
metadata?: { [k: string]: any } | undefined;
|
|
4581
|
-
extra_params?: { [k: string]: any } | undefined;
|
|
4582
|
-
documents?: Array<Documents$Outbound> | undefined;
|
|
4583
|
-
invoke_options?: InvokeOptions$Outbound | undefined;
|
|
4584
|
-
thread?: Thread$Outbound | undefined;
|
|
4860
|
+
export type DollarOrDollarExists$Outbound = {
|
|
4861
|
+
$exists: boolean;
|
|
4585
4862
|
};
|
|
4586
4863
|
|
|
4587
4864
|
/** @internal */
|
|
4588
|
-
export const
|
|
4589
|
-
|
|
4865
|
+
export const DollarOrDollarExists$outboundSchema: z.ZodType<
|
|
4866
|
+
DollarOrDollarExists$Outbound,
|
|
4590
4867
|
z.ZodTypeDef,
|
|
4591
|
-
|
|
4868
|
+
DollarOrDollarExists
|
|
4869
|
+
> = z.object({
|
|
4870
|
+
dollarExists: z.boolean(),
|
|
4871
|
+
}).transform((v) => {
|
|
4872
|
+
return remap$(v, {
|
|
4873
|
+
dollarExists: "$exists",
|
|
4874
|
+
});
|
|
4875
|
+
});
|
|
4876
|
+
|
|
4877
|
+
/**
|
|
4878
|
+
* @internal
|
|
4879
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4880
|
+
*/
|
|
4881
|
+
export namespace DollarOrDollarExists$ {
|
|
4882
|
+
/** @deprecated use `DollarOrDollarExists$inboundSchema` instead. */
|
|
4883
|
+
export const inboundSchema = DollarOrDollarExists$inboundSchema;
|
|
4884
|
+
/** @deprecated use `DollarOrDollarExists$outboundSchema` instead. */
|
|
4885
|
+
export const outboundSchema = DollarOrDollarExists$outboundSchema;
|
|
4886
|
+
/** @deprecated use `DollarOrDollarExists$Outbound` instead. */
|
|
4887
|
+
export type Outbound = DollarOrDollarExists$Outbound;
|
|
4888
|
+
}
|
|
4889
|
+
|
|
4890
|
+
export function dollarOrDollarExistsToJSON(
|
|
4891
|
+
dollarOrDollarExists: DollarOrDollarExists,
|
|
4892
|
+
): string {
|
|
4893
|
+
return JSON.stringify(
|
|
4894
|
+
DollarOrDollarExists$outboundSchema.parse(dollarOrDollarExists),
|
|
4895
|
+
);
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4898
|
+
export function dollarOrDollarExistsFromJSON(
|
|
4899
|
+
jsonString: string,
|
|
4900
|
+
): SafeParseResult<DollarOrDollarExists, SDKValidationError> {
|
|
4901
|
+
return safeParse(
|
|
4902
|
+
jsonString,
|
|
4903
|
+
(x) => DollarOrDollarExists$inboundSchema.parse(JSON.parse(x)),
|
|
4904
|
+
`Failed to parse 'DollarOrDollarExists' from JSON`,
|
|
4905
|
+
);
|
|
4906
|
+
}
|
|
4907
|
+
|
|
4908
|
+
/** @internal */
|
|
4909
|
+
export const DollarOrDollarNin$inboundSchema: z.ZodType<
|
|
4910
|
+
DollarOrDollarNin,
|
|
4911
|
+
z.ZodTypeDef,
|
|
4912
|
+
unknown
|
|
4913
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
4914
|
+
|
|
4915
|
+
/** @internal */
|
|
4916
|
+
export type DollarOrDollarNin$Outbound = string | number | boolean;
|
|
4917
|
+
|
|
4918
|
+
/** @internal */
|
|
4919
|
+
export const DollarOrDollarNin$outboundSchema: z.ZodType<
|
|
4920
|
+
DollarOrDollarNin$Outbound,
|
|
4921
|
+
z.ZodTypeDef,
|
|
4922
|
+
DollarOrDollarNin
|
|
4923
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
4924
|
+
|
|
4925
|
+
/**
|
|
4926
|
+
* @internal
|
|
4927
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4928
|
+
*/
|
|
4929
|
+
export namespace DollarOrDollarNin$ {
|
|
4930
|
+
/** @deprecated use `DollarOrDollarNin$inboundSchema` instead. */
|
|
4931
|
+
export const inboundSchema = DollarOrDollarNin$inboundSchema;
|
|
4932
|
+
/** @deprecated use `DollarOrDollarNin$outboundSchema` instead. */
|
|
4933
|
+
export const outboundSchema = DollarOrDollarNin$outboundSchema;
|
|
4934
|
+
/** @deprecated use `DollarOrDollarNin$Outbound` instead. */
|
|
4935
|
+
export type Outbound = DollarOrDollarNin$Outbound;
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4938
|
+
export function dollarOrDollarNinToJSON(
|
|
4939
|
+
dollarOrDollarNin: DollarOrDollarNin,
|
|
4940
|
+
): string {
|
|
4941
|
+
return JSON.stringify(
|
|
4942
|
+
DollarOrDollarNin$outboundSchema.parse(dollarOrDollarNin),
|
|
4943
|
+
);
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
export function dollarOrDollarNinFromJSON(
|
|
4947
|
+
jsonString: string,
|
|
4948
|
+
): SafeParseResult<DollarOrDollarNin, SDKValidationError> {
|
|
4949
|
+
return safeParse(
|
|
4950
|
+
jsonString,
|
|
4951
|
+
(x) => DollarOrDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
4952
|
+
`Failed to parse 'DollarOrDollarNin' from JSON`,
|
|
4953
|
+
);
|
|
4954
|
+
}
|
|
4955
|
+
|
|
4956
|
+
/** @internal */
|
|
4957
|
+
export const DeploymentsDollarOrDollarNin$inboundSchema: z.ZodType<
|
|
4958
|
+
DeploymentsDollarOrDollarNin,
|
|
4959
|
+
z.ZodTypeDef,
|
|
4960
|
+
unknown
|
|
4961
|
+
> = z.object({
|
|
4962
|
+
$nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
4963
|
+
}).transform((v) => {
|
|
4964
|
+
return remap$(v, {
|
|
4965
|
+
"$nin": "dollarNin",
|
|
4966
|
+
});
|
|
4967
|
+
});
|
|
4968
|
+
|
|
4969
|
+
/** @internal */
|
|
4970
|
+
export type DeploymentsDollarOrDollarNin$Outbound = {
|
|
4971
|
+
$nin: Array<string | number | boolean>;
|
|
4972
|
+
};
|
|
4973
|
+
|
|
4974
|
+
/** @internal */
|
|
4975
|
+
export const DeploymentsDollarOrDollarNin$outboundSchema: z.ZodType<
|
|
4976
|
+
DeploymentsDollarOrDollarNin$Outbound,
|
|
4977
|
+
z.ZodTypeDef,
|
|
4978
|
+
DeploymentsDollarOrDollarNin
|
|
4979
|
+
> = z.object({
|
|
4980
|
+
dollarNin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
4981
|
+
}).transform((v) => {
|
|
4982
|
+
return remap$(v, {
|
|
4983
|
+
dollarNin: "$nin",
|
|
4984
|
+
});
|
|
4985
|
+
});
|
|
4986
|
+
|
|
4987
|
+
/**
|
|
4988
|
+
* @internal
|
|
4989
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4990
|
+
*/
|
|
4991
|
+
export namespace DeploymentsDollarOrDollarNin$ {
|
|
4992
|
+
/** @deprecated use `DeploymentsDollarOrDollarNin$inboundSchema` instead. */
|
|
4993
|
+
export const inboundSchema = DeploymentsDollarOrDollarNin$inboundSchema;
|
|
4994
|
+
/** @deprecated use `DeploymentsDollarOrDollarNin$outboundSchema` instead. */
|
|
4995
|
+
export const outboundSchema = DeploymentsDollarOrDollarNin$outboundSchema;
|
|
4996
|
+
/** @deprecated use `DeploymentsDollarOrDollarNin$Outbound` instead. */
|
|
4997
|
+
export type Outbound = DeploymentsDollarOrDollarNin$Outbound;
|
|
4998
|
+
}
|
|
4999
|
+
|
|
5000
|
+
export function deploymentsDollarOrDollarNinToJSON(
|
|
5001
|
+
deploymentsDollarOrDollarNin: DeploymentsDollarOrDollarNin,
|
|
5002
|
+
): string {
|
|
5003
|
+
return JSON.stringify(
|
|
5004
|
+
DeploymentsDollarOrDollarNin$outboundSchema.parse(
|
|
5005
|
+
deploymentsDollarOrDollarNin,
|
|
5006
|
+
),
|
|
5007
|
+
);
|
|
5008
|
+
}
|
|
5009
|
+
|
|
5010
|
+
export function deploymentsDollarOrDollarNinFromJSON(
|
|
5011
|
+
jsonString: string,
|
|
5012
|
+
): SafeParseResult<DeploymentsDollarOrDollarNin, SDKValidationError> {
|
|
5013
|
+
return safeParse(
|
|
5014
|
+
jsonString,
|
|
5015
|
+
(x) => DeploymentsDollarOrDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
5016
|
+
`Failed to parse 'DeploymentsDollarOrDollarNin' from JSON`,
|
|
5017
|
+
);
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
/** @internal */
|
|
5021
|
+
export const DollarOrDollarIn$inboundSchema: z.ZodType<
|
|
5022
|
+
DollarOrDollarIn,
|
|
5023
|
+
z.ZodTypeDef,
|
|
5024
|
+
unknown
|
|
5025
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5026
|
+
|
|
5027
|
+
/** @internal */
|
|
5028
|
+
export type DollarOrDollarIn$Outbound = string | number | boolean;
|
|
5029
|
+
|
|
5030
|
+
/** @internal */
|
|
5031
|
+
export const DollarOrDollarIn$outboundSchema: z.ZodType<
|
|
5032
|
+
DollarOrDollarIn$Outbound,
|
|
5033
|
+
z.ZodTypeDef,
|
|
5034
|
+
DollarOrDollarIn
|
|
5035
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5036
|
+
|
|
5037
|
+
/**
|
|
5038
|
+
* @internal
|
|
5039
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5040
|
+
*/
|
|
5041
|
+
export namespace DollarOrDollarIn$ {
|
|
5042
|
+
/** @deprecated use `DollarOrDollarIn$inboundSchema` instead. */
|
|
5043
|
+
export const inboundSchema = DollarOrDollarIn$inboundSchema;
|
|
5044
|
+
/** @deprecated use `DollarOrDollarIn$outboundSchema` instead. */
|
|
5045
|
+
export const outboundSchema = DollarOrDollarIn$outboundSchema;
|
|
5046
|
+
/** @deprecated use `DollarOrDollarIn$Outbound` instead. */
|
|
5047
|
+
export type Outbound = DollarOrDollarIn$Outbound;
|
|
5048
|
+
}
|
|
5049
|
+
|
|
5050
|
+
export function dollarOrDollarInToJSON(
|
|
5051
|
+
dollarOrDollarIn: DollarOrDollarIn,
|
|
5052
|
+
): string {
|
|
5053
|
+
return JSON.stringify(
|
|
5054
|
+
DollarOrDollarIn$outboundSchema.parse(dollarOrDollarIn),
|
|
5055
|
+
);
|
|
5056
|
+
}
|
|
5057
|
+
|
|
5058
|
+
export function dollarOrDollarInFromJSON(
|
|
5059
|
+
jsonString: string,
|
|
5060
|
+
): SafeParseResult<DollarOrDollarIn, SDKValidationError> {
|
|
5061
|
+
return safeParse(
|
|
5062
|
+
jsonString,
|
|
5063
|
+
(x) => DollarOrDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
5064
|
+
`Failed to parse 'DollarOrDollarIn' from JSON`,
|
|
5065
|
+
);
|
|
5066
|
+
}
|
|
5067
|
+
|
|
5068
|
+
/** @internal */
|
|
5069
|
+
export const DeploymentsDollarOrDollarIn$inboundSchema: z.ZodType<
|
|
5070
|
+
DeploymentsDollarOrDollarIn,
|
|
5071
|
+
z.ZodTypeDef,
|
|
5072
|
+
unknown
|
|
5073
|
+
> = z.object({
|
|
5074
|
+
$in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5075
|
+
}).transform((v) => {
|
|
5076
|
+
return remap$(v, {
|
|
5077
|
+
"$in": "dollarIn",
|
|
5078
|
+
});
|
|
5079
|
+
});
|
|
5080
|
+
|
|
5081
|
+
/** @internal */
|
|
5082
|
+
export type DeploymentsDollarOrDollarIn$Outbound = {
|
|
5083
|
+
$in: Array<string | number | boolean>;
|
|
5084
|
+
};
|
|
5085
|
+
|
|
5086
|
+
/** @internal */
|
|
5087
|
+
export const DeploymentsDollarOrDollarIn$outboundSchema: z.ZodType<
|
|
5088
|
+
DeploymentsDollarOrDollarIn$Outbound,
|
|
5089
|
+
z.ZodTypeDef,
|
|
5090
|
+
DeploymentsDollarOrDollarIn
|
|
5091
|
+
> = z.object({
|
|
5092
|
+
dollarIn: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5093
|
+
}).transform((v) => {
|
|
5094
|
+
return remap$(v, {
|
|
5095
|
+
dollarIn: "$in",
|
|
5096
|
+
});
|
|
5097
|
+
});
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* @internal
|
|
5101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5102
|
+
*/
|
|
5103
|
+
export namespace DeploymentsDollarOrDollarIn$ {
|
|
5104
|
+
/** @deprecated use `DeploymentsDollarOrDollarIn$inboundSchema` instead. */
|
|
5105
|
+
export const inboundSchema = DeploymentsDollarOrDollarIn$inboundSchema;
|
|
5106
|
+
/** @deprecated use `DeploymentsDollarOrDollarIn$outboundSchema` instead. */
|
|
5107
|
+
export const outboundSchema = DeploymentsDollarOrDollarIn$outboundSchema;
|
|
5108
|
+
/** @deprecated use `DeploymentsDollarOrDollarIn$Outbound` instead. */
|
|
5109
|
+
export type Outbound = DeploymentsDollarOrDollarIn$Outbound;
|
|
5110
|
+
}
|
|
5111
|
+
|
|
5112
|
+
export function deploymentsDollarOrDollarInToJSON(
|
|
5113
|
+
deploymentsDollarOrDollarIn: DeploymentsDollarOrDollarIn,
|
|
5114
|
+
): string {
|
|
5115
|
+
return JSON.stringify(
|
|
5116
|
+
DeploymentsDollarOrDollarIn$outboundSchema.parse(
|
|
5117
|
+
deploymentsDollarOrDollarIn,
|
|
5118
|
+
),
|
|
5119
|
+
);
|
|
5120
|
+
}
|
|
5121
|
+
|
|
5122
|
+
export function deploymentsDollarOrDollarInFromJSON(
|
|
5123
|
+
jsonString: string,
|
|
5124
|
+
): SafeParseResult<DeploymentsDollarOrDollarIn, SDKValidationError> {
|
|
5125
|
+
return safeParse(
|
|
5126
|
+
jsonString,
|
|
5127
|
+
(x) => DeploymentsDollarOrDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
5128
|
+
`Failed to parse 'DeploymentsDollarOrDollarIn' from JSON`,
|
|
5129
|
+
);
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
/** @internal */
|
|
5133
|
+
export const DollarOrDollarLte$inboundSchema: z.ZodType<
|
|
5134
|
+
DollarOrDollarLte,
|
|
5135
|
+
z.ZodTypeDef,
|
|
5136
|
+
unknown
|
|
5137
|
+
> = z.object({
|
|
5138
|
+
$lte: z.number(),
|
|
5139
|
+
}).transform((v) => {
|
|
5140
|
+
return remap$(v, {
|
|
5141
|
+
"$lte": "dollarLte",
|
|
5142
|
+
});
|
|
5143
|
+
});
|
|
5144
|
+
|
|
5145
|
+
/** @internal */
|
|
5146
|
+
export type DollarOrDollarLte$Outbound = {
|
|
5147
|
+
$lte: number;
|
|
5148
|
+
};
|
|
5149
|
+
|
|
5150
|
+
/** @internal */
|
|
5151
|
+
export const DollarOrDollarLte$outboundSchema: z.ZodType<
|
|
5152
|
+
DollarOrDollarLte$Outbound,
|
|
5153
|
+
z.ZodTypeDef,
|
|
5154
|
+
DollarOrDollarLte
|
|
5155
|
+
> = z.object({
|
|
5156
|
+
dollarLte: z.number(),
|
|
5157
|
+
}).transform((v) => {
|
|
5158
|
+
return remap$(v, {
|
|
5159
|
+
dollarLte: "$lte",
|
|
5160
|
+
});
|
|
5161
|
+
});
|
|
5162
|
+
|
|
5163
|
+
/**
|
|
5164
|
+
* @internal
|
|
5165
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5166
|
+
*/
|
|
5167
|
+
export namespace DollarOrDollarLte$ {
|
|
5168
|
+
/** @deprecated use `DollarOrDollarLte$inboundSchema` instead. */
|
|
5169
|
+
export const inboundSchema = DollarOrDollarLte$inboundSchema;
|
|
5170
|
+
/** @deprecated use `DollarOrDollarLte$outboundSchema` instead. */
|
|
5171
|
+
export const outboundSchema = DollarOrDollarLte$outboundSchema;
|
|
5172
|
+
/** @deprecated use `DollarOrDollarLte$Outbound` instead. */
|
|
5173
|
+
export type Outbound = DollarOrDollarLte$Outbound;
|
|
5174
|
+
}
|
|
5175
|
+
|
|
5176
|
+
export function dollarOrDollarLteToJSON(
|
|
5177
|
+
dollarOrDollarLte: DollarOrDollarLte,
|
|
5178
|
+
): string {
|
|
5179
|
+
return JSON.stringify(
|
|
5180
|
+
DollarOrDollarLte$outboundSchema.parse(dollarOrDollarLte),
|
|
5181
|
+
);
|
|
5182
|
+
}
|
|
5183
|
+
|
|
5184
|
+
export function dollarOrDollarLteFromJSON(
|
|
5185
|
+
jsonString: string,
|
|
5186
|
+
): SafeParseResult<DollarOrDollarLte, SDKValidationError> {
|
|
5187
|
+
return safeParse(
|
|
5188
|
+
jsonString,
|
|
5189
|
+
(x) => DollarOrDollarLte$inboundSchema.parse(JSON.parse(x)),
|
|
5190
|
+
`Failed to parse 'DollarOrDollarLte' from JSON`,
|
|
5191
|
+
);
|
|
5192
|
+
}
|
|
5193
|
+
|
|
5194
|
+
/** @internal */
|
|
5195
|
+
export const DollarOrDollarLt$inboundSchema: z.ZodType<
|
|
5196
|
+
DollarOrDollarLt,
|
|
5197
|
+
z.ZodTypeDef,
|
|
5198
|
+
unknown
|
|
5199
|
+
> = z.object({
|
|
5200
|
+
$lt: z.number(),
|
|
5201
|
+
}).transform((v) => {
|
|
5202
|
+
return remap$(v, {
|
|
5203
|
+
"$lt": "dollarLt",
|
|
5204
|
+
});
|
|
5205
|
+
});
|
|
5206
|
+
|
|
5207
|
+
/** @internal */
|
|
5208
|
+
export type DollarOrDollarLt$Outbound = {
|
|
5209
|
+
$lt: number;
|
|
5210
|
+
};
|
|
5211
|
+
|
|
5212
|
+
/** @internal */
|
|
5213
|
+
export const DollarOrDollarLt$outboundSchema: z.ZodType<
|
|
5214
|
+
DollarOrDollarLt$Outbound,
|
|
5215
|
+
z.ZodTypeDef,
|
|
5216
|
+
DollarOrDollarLt
|
|
5217
|
+
> = z.object({
|
|
5218
|
+
dollarLt: z.number(),
|
|
5219
|
+
}).transform((v) => {
|
|
5220
|
+
return remap$(v, {
|
|
5221
|
+
dollarLt: "$lt",
|
|
5222
|
+
});
|
|
5223
|
+
});
|
|
5224
|
+
|
|
5225
|
+
/**
|
|
5226
|
+
* @internal
|
|
5227
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5228
|
+
*/
|
|
5229
|
+
export namespace DollarOrDollarLt$ {
|
|
5230
|
+
/** @deprecated use `DollarOrDollarLt$inboundSchema` instead. */
|
|
5231
|
+
export const inboundSchema = DollarOrDollarLt$inboundSchema;
|
|
5232
|
+
/** @deprecated use `DollarOrDollarLt$outboundSchema` instead. */
|
|
5233
|
+
export const outboundSchema = DollarOrDollarLt$outboundSchema;
|
|
5234
|
+
/** @deprecated use `DollarOrDollarLt$Outbound` instead. */
|
|
5235
|
+
export type Outbound = DollarOrDollarLt$Outbound;
|
|
5236
|
+
}
|
|
5237
|
+
|
|
5238
|
+
export function dollarOrDollarLtToJSON(
|
|
5239
|
+
dollarOrDollarLt: DollarOrDollarLt,
|
|
5240
|
+
): string {
|
|
5241
|
+
return JSON.stringify(
|
|
5242
|
+
DollarOrDollarLt$outboundSchema.parse(dollarOrDollarLt),
|
|
5243
|
+
);
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
export function dollarOrDollarLtFromJSON(
|
|
5247
|
+
jsonString: string,
|
|
5248
|
+
): SafeParseResult<DollarOrDollarLt, SDKValidationError> {
|
|
5249
|
+
return safeParse(
|
|
5250
|
+
jsonString,
|
|
5251
|
+
(x) => DollarOrDollarLt$inboundSchema.parse(JSON.parse(x)),
|
|
5252
|
+
`Failed to parse 'DollarOrDollarLt' from JSON`,
|
|
5253
|
+
);
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
/** @internal */
|
|
5257
|
+
export const DollarOrDollarGte$inboundSchema: z.ZodType<
|
|
5258
|
+
DollarOrDollarGte,
|
|
5259
|
+
z.ZodTypeDef,
|
|
5260
|
+
unknown
|
|
5261
|
+
> = z.object({
|
|
5262
|
+
$gte: z.number(),
|
|
5263
|
+
}).transform((v) => {
|
|
5264
|
+
return remap$(v, {
|
|
5265
|
+
"$gte": "dollarGte",
|
|
5266
|
+
});
|
|
5267
|
+
});
|
|
5268
|
+
|
|
5269
|
+
/** @internal */
|
|
5270
|
+
export type DollarOrDollarGte$Outbound = {
|
|
5271
|
+
$gte: number;
|
|
5272
|
+
};
|
|
5273
|
+
|
|
5274
|
+
/** @internal */
|
|
5275
|
+
export const DollarOrDollarGte$outboundSchema: z.ZodType<
|
|
5276
|
+
DollarOrDollarGte$Outbound,
|
|
5277
|
+
z.ZodTypeDef,
|
|
5278
|
+
DollarOrDollarGte
|
|
5279
|
+
> = z.object({
|
|
5280
|
+
dollarGte: z.number(),
|
|
5281
|
+
}).transform((v) => {
|
|
5282
|
+
return remap$(v, {
|
|
5283
|
+
dollarGte: "$gte",
|
|
5284
|
+
});
|
|
5285
|
+
});
|
|
5286
|
+
|
|
5287
|
+
/**
|
|
5288
|
+
* @internal
|
|
5289
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5290
|
+
*/
|
|
5291
|
+
export namespace DollarOrDollarGte$ {
|
|
5292
|
+
/** @deprecated use `DollarOrDollarGte$inboundSchema` instead. */
|
|
5293
|
+
export const inboundSchema = DollarOrDollarGte$inboundSchema;
|
|
5294
|
+
/** @deprecated use `DollarOrDollarGte$outboundSchema` instead. */
|
|
5295
|
+
export const outboundSchema = DollarOrDollarGte$outboundSchema;
|
|
5296
|
+
/** @deprecated use `DollarOrDollarGte$Outbound` instead. */
|
|
5297
|
+
export type Outbound = DollarOrDollarGte$Outbound;
|
|
5298
|
+
}
|
|
5299
|
+
|
|
5300
|
+
export function dollarOrDollarGteToJSON(
|
|
5301
|
+
dollarOrDollarGte: DollarOrDollarGte,
|
|
5302
|
+
): string {
|
|
5303
|
+
return JSON.stringify(
|
|
5304
|
+
DollarOrDollarGte$outboundSchema.parse(dollarOrDollarGte),
|
|
5305
|
+
);
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
export function dollarOrDollarGteFromJSON(
|
|
5309
|
+
jsonString: string,
|
|
5310
|
+
): SafeParseResult<DollarOrDollarGte, SDKValidationError> {
|
|
5311
|
+
return safeParse(
|
|
5312
|
+
jsonString,
|
|
5313
|
+
(x) => DollarOrDollarGte$inboundSchema.parse(JSON.parse(x)),
|
|
5314
|
+
`Failed to parse 'DollarOrDollarGte' from JSON`,
|
|
5315
|
+
);
|
|
5316
|
+
}
|
|
5317
|
+
|
|
5318
|
+
/** @internal */
|
|
5319
|
+
export const DollarOr3$inboundSchema: z.ZodType<
|
|
5320
|
+
DollarOr3,
|
|
5321
|
+
z.ZodTypeDef,
|
|
5322
|
+
unknown
|
|
5323
|
+
> = z.object({
|
|
5324
|
+
$gt: z.number(),
|
|
5325
|
+
}).transform((v) => {
|
|
5326
|
+
return remap$(v, {
|
|
5327
|
+
"$gt": "dollarGt",
|
|
5328
|
+
});
|
|
5329
|
+
});
|
|
5330
|
+
|
|
5331
|
+
/** @internal */
|
|
5332
|
+
export type DollarOr3$Outbound = {
|
|
5333
|
+
$gt: number;
|
|
5334
|
+
};
|
|
5335
|
+
|
|
5336
|
+
/** @internal */
|
|
5337
|
+
export const DollarOr3$outboundSchema: z.ZodType<
|
|
5338
|
+
DollarOr3$Outbound,
|
|
5339
|
+
z.ZodTypeDef,
|
|
5340
|
+
DollarOr3
|
|
5341
|
+
> = z.object({
|
|
5342
|
+
dollarGt: z.number(),
|
|
5343
|
+
}).transform((v) => {
|
|
5344
|
+
return remap$(v, {
|
|
5345
|
+
dollarGt: "$gt",
|
|
5346
|
+
});
|
|
5347
|
+
});
|
|
5348
|
+
|
|
5349
|
+
/**
|
|
5350
|
+
* @internal
|
|
5351
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5352
|
+
*/
|
|
5353
|
+
export namespace DollarOr3$ {
|
|
5354
|
+
/** @deprecated use `DollarOr3$inboundSchema` instead. */
|
|
5355
|
+
export const inboundSchema = DollarOr3$inboundSchema;
|
|
5356
|
+
/** @deprecated use `DollarOr3$outboundSchema` instead. */
|
|
5357
|
+
export const outboundSchema = DollarOr3$outboundSchema;
|
|
5358
|
+
/** @deprecated use `DollarOr3$Outbound` instead. */
|
|
5359
|
+
export type Outbound = DollarOr3$Outbound;
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
export function dollarOr3ToJSON(dollarOr3: DollarOr3): string {
|
|
5363
|
+
return JSON.stringify(DollarOr3$outboundSchema.parse(dollarOr3));
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
export function dollarOr3FromJSON(
|
|
5367
|
+
jsonString: string,
|
|
5368
|
+
): SafeParseResult<DollarOr3, SDKValidationError> {
|
|
5369
|
+
return safeParse(
|
|
5370
|
+
jsonString,
|
|
5371
|
+
(x) => DollarOr3$inboundSchema.parse(JSON.parse(x)),
|
|
5372
|
+
`Failed to parse 'DollarOr3' from JSON`,
|
|
5373
|
+
);
|
|
5374
|
+
}
|
|
5375
|
+
|
|
5376
|
+
/** @internal */
|
|
5377
|
+
export const DollarOrDollarNe$inboundSchema: z.ZodType<
|
|
5378
|
+
DollarOrDollarNe,
|
|
5379
|
+
z.ZodTypeDef,
|
|
5380
|
+
unknown
|
|
5381
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5382
|
+
|
|
5383
|
+
/** @internal */
|
|
5384
|
+
export type DollarOrDollarNe$Outbound = string | number | boolean;
|
|
5385
|
+
|
|
5386
|
+
/** @internal */
|
|
5387
|
+
export const DollarOrDollarNe$outboundSchema: z.ZodType<
|
|
5388
|
+
DollarOrDollarNe$Outbound,
|
|
5389
|
+
z.ZodTypeDef,
|
|
5390
|
+
DollarOrDollarNe
|
|
5391
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
* @internal
|
|
5395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5396
|
+
*/
|
|
5397
|
+
export namespace DollarOrDollarNe$ {
|
|
5398
|
+
/** @deprecated use `DollarOrDollarNe$inboundSchema` instead. */
|
|
5399
|
+
export const inboundSchema = DollarOrDollarNe$inboundSchema;
|
|
5400
|
+
/** @deprecated use `DollarOrDollarNe$outboundSchema` instead. */
|
|
5401
|
+
export const outboundSchema = DollarOrDollarNe$outboundSchema;
|
|
5402
|
+
/** @deprecated use `DollarOrDollarNe$Outbound` instead. */
|
|
5403
|
+
export type Outbound = DollarOrDollarNe$Outbound;
|
|
5404
|
+
}
|
|
5405
|
+
|
|
5406
|
+
export function dollarOrDollarNeToJSON(
|
|
5407
|
+
dollarOrDollarNe: DollarOrDollarNe,
|
|
5408
|
+
): string {
|
|
5409
|
+
return JSON.stringify(
|
|
5410
|
+
DollarOrDollarNe$outboundSchema.parse(dollarOrDollarNe),
|
|
5411
|
+
);
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5414
|
+
export function dollarOrDollarNeFromJSON(
|
|
5415
|
+
jsonString: string,
|
|
5416
|
+
): SafeParseResult<DollarOrDollarNe, SDKValidationError> {
|
|
5417
|
+
return safeParse(
|
|
5418
|
+
jsonString,
|
|
5419
|
+
(x) => DollarOrDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
5420
|
+
`Failed to parse 'DollarOrDollarNe' from JSON`,
|
|
5421
|
+
);
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
/** @internal */
|
|
5425
|
+
export const DeploymentsDollarOrDollarNe$inboundSchema: z.ZodType<
|
|
5426
|
+
DeploymentsDollarOrDollarNe,
|
|
5427
|
+
z.ZodTypeDef,
|
|
5428
|
+
unknown
|
|
5429
|
+
> = z.object({
|
|
5430
|
+
$ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
5431
|
+
}).transform((v) => {
|
|
5432
|
+
return remap$(v, {
|
|
5433
|
+
"$ne": "dollarNe",
|
|
5434
|
+
});
|
|
5435
|
+
});
|
|
5436
|
+
|
|
5437
|
+
/** @internal */
|
|
5438
|
+
export type DeploymentsDollarOrDollarNe$Outbound = {
|
|
5439
|
+
$ne: string | number | boolean;
|
|
5440
|
+
};
|
|
5441
|
+
|
|
5442
|
+
/** @internal */
|
|
5443
|
+
export const DeploymentsDollarOrDollarNe$outboundSchema: z.ZodType<
|
|
5444
|
+
DeploymentsDollarOrDollarNe$Outbound,
|
|
5445
|
+
z.ZodTypeDef,
|
|
5446
|
+
DeploymentsDollarOrDollarNe
|
|
5447
|
+
> = z.object({
|
|
5448
|
+
dollarNe: z.union([z.string(), z.number(), z.boolean()]),
|
|
5449
|
+
}).transform((v) => {
|
|
5450
|
+
return remap$(v, {
|
|
5451
|
+
dollarNe: "$ne",
|
|
5452
|
+
});
|
|
5453
|
+
});
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* @internal
|
|
5457
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5458
|
+
*/
|
|
5459
|
+
export namespace DeploymentsDollarOrDollarNe$ {
|
|
5460
|
+
/** @deprecated use `DeploymentsDollarOrDollarNe$inboundSchema` instead. */
|
|
5461
|
+
export const inboundSchema = DeploymentsDollarOrDollarNe$inboundSchema;
|
|
5462
|
+
/** @deprecated use `DeploymentsDollarOrDollarNe$outboundSchema` instead. */
|
|
5463
|
+
export const outboundSchema = DeploymentsDollarOrDollarNe$outboundSchema;
|
|
5464
|
+
/** @deprecated use `DeploymentsDollarOrDollarNe$Outbound` instead. */
|
|
5465
|
+
export type Outbound = DeploymentsDollarOrDollarNe$Outbound;
|
|
5466
|
+
}
|
|
5467
|
+
|
|
5468
|
+
export function deploymentsDollarOrDollarNeToJSON(
|
|
5469
|
+
deploymentsDollarOrDollarNe: DeploymentsDollarOrDollarNe,
|
|
5470
|
+
): string {
|
|
5471
|
+
return JSON.stringify(
|
|
5472
|
+
DeploymentsDollarOrDollarNe$outboundSchema.parse(
|
|
5473
|
+
deploymentsDollarOrDollarNe,
|
|
5474
|
+
),
|
|
5475
|
+
);
|
|
5476
|
+
}
|
|
5477
|
+
|
|
5478
|
+
export function deploymentsDollarOrDollarNeFromJSON(
|
|
5479
|
+
jsonString: string,
|
|
5480
|
+
): SafeParseResult<DeploymentsDollarOrDollarNe, SDKValidationError> {
|
|
5481
|
+
return safeParse(
|
|
5482
|
+
jsonString,
|
|
5483
|
+
(x) => DeploymentsDollarOrDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
5484
|
+
`Failed to parse 'DeploymentsDollarOrDollarNe' from JSON`,
|
|
5485
|
+
);
|
|
5486
|
+
}
|
|
5487
|
+
|
|
5488
|
+
/** @internal */
|
|
5489
|
+
export const DollarOrDollarEq$inboundSchema: z.ZodType<
|
|
5490
|
+
DollarOrDollarEq,
|
|
5491
|
+
z.ZodTypeDef,
|
|
5492
|
+
unknown
|
|
5493
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5494
|
+
|
|
5495
|
+
/** @internal */
|
|
5496
|
+
export type DollarOrDollarEq$Outbound = string | number | boolean;
|
|
5497
|
+
|
|
5498
|
+
/** @internal */
|
|
5499
|
+
export const DollarOrDollarEq$outboundSchema: z.ZodType<
|
|
5500
|
+
DollarOrDollarEq$Outbound,
|
|
5501
|
+
z.ZodTypeDef,
|
|
5502
|
+
DollarOrDollarEq
|
|
5503
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5504
|
+
|
|
5505
|
+
/**
|
|
5506
|
+
* @internal
|
|
5507
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5508
|
+
*/
|
|
5509
|
+
export namespace DollarOrDollarEq$ {
|
|
5510
|
+
/** @deprecated use `DollarOrDollarEq$inboundSchema` instead. */
|
|
5511
|
+
export const inboundSchema = DollarOrDollarEq$inboundSchema;
|
|
5512
|
+
/** @deprecated use `DollarOrDollarEq$outboundSchema` instead. */
|
|
5513
|
+
export const outboundSchema = DollarOrDollarEq$outboundSchema;
|
|
5514
|
+
/** @deprecated use `DollarOrDollarEq$Outbound` instead. */
|
|
5515
|
+
export type Outbound = DollarOrDollarEq$Outbound;
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
export function dollarOrDollarEqToJSON(
|
|
5519
|
+
dollarOrDollarEq: DollarOrDollarEq,
|
|
5520
|
+
): string {
|
|
5521
|
+
return JSON.stringify(
|
|
5522
|
+
DollarOrDollarEq$outboundSchema.parse(dollarOrDollarEq),
|
|
5523
|
+
);
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
export function dollarOrDollarEqFromJSON(
|
|
5527
|
+
jsonString: string,
|
|
5528
|
+
): SafeParseResult<DollarOrDollarEq, SDKValidationError> {
|
|
5529
|
+
return safeParse(
|
|
5530
|
+
jsonString,
|
|
5531
|
+
(x) => DollarOrDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
5532
|
+
`Failed to parse 'DollarOrDollarEq' from JSON`,
|
|
5533
|
+
);
|
|
5534
|
+
}
|
|
5535
|
+
|
|
5536
|
+
/** @internal */
|
|
5537
|
+
export const DeploymentsDollarOrDollarEq$inboundSchema: z.ZodType<
|
|
5538
|
+
DeploymentsDollarOrDollarEq,
|
|
5539
|
+
z.ZodTypeDef,
|
|
5540
|
+
unknown
|
|
5541
|
+
> = z.object({
|
|
5542
|
+
$eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
5543
|
+
}).transform((v) => {
|
|
5544
|
+
return remap$(v, {
|
|
5545
|
+
"$eq": "dollarEq",
|
|
5546
|
+
});
|
|
5547
|
+
});
|
|
5548
|
+
|
|
5549
|
+
/** @internal */
|
|
5550
|
+
export type DeploymentsDollarOrDollarEq$Outbound = {
|
|
5551
|
+
$eq: string | number | boolean;
|
|
5552
|
+
};
|
|
5553
|
+
|
|
5554
|
+
/** @internal */
|
|
5555
|
+
export const DeploymentsDollarOrDollarEq$outboundSchema: z.ZodType<
|
|
5556
|
+
DeploymentsDollarOrDollarEq$Outbound,
|
|
5557
|
+
z.ZodTypeDef,
|
|
5558
|
+
DeploymentsDollarOrDollarEq
|
|
5559
|
+
> = z.object({
|
|
5560
|
+
dollarEq: z.union([z.string(), z.number(), z.boolean()]),
|
|
5561
|
+
}).transform((v) => {
|
|
5562
|
+
return remap$(v, {
|
|
5563
|
+
dollarEq: "$eq",
|
|
5564
|
+
});
|
|
5565
|
+
});
|
|
5566
|
+
|
|
5567
|
+
/**
|
|
5568
|
+
* @internal
|
|
5569
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5570
|
+
*/
|
|
5571
|
+
export namespace DeploymentsDollarOrDollarEq$ {
|
|
5572
|
+
/** @deprecated use `DeploymentsDollarOrDollarEq$inboundSchema` instead. */
|
|
5573
|
+
export const inboundSchema = DeploymentsDollarOrDollarEq$inboundSchema;
|
|
5574
|
+
/** @deprecated use `DeploymentsDollarOrDollarEq$outboundSchema` instead. */
|
|
5575
|
+
export const outboundSchema = DeploymentsDollarOrDollarEq$outboundSchema;
|
|
5576
|
+
/** @deprecated use `DeploymentsDollarOrDollarEq$Outbound` instead. */
|
|
5577
|
+
export type Outbound = DeploymentsDollarOrDollarEq$Outbound;
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
export function deploymentsDollarOrDollarEqToJSON(
|
|
5581
|
+
deploymentsDollarOrDollarEq: DeploymentsDollarOrDollarEq,
|
|
5582
|
+
): string {
|
|
5583
|
+
return JSON.stringify(
|
|
5584
|
+
DeploymentsDollarOrDollarEq$outboundSchema.parse(
|
|
5585
|
+
deploymentsDollarOrDollarEq,
|
|
5586
|
+
),
|
|
5587
|
+
);
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5590
|
+
export function deploymentsDollarOrDollarEqFromJSON(
|
|
5591
|
+
jsonString: string,
|
|
5592
|
+
): SafeParseResult<DeploymentsDollarOrDollarEq, SDKValidationError> {
|
|
5593
|
+
return safeParse(
|
|
5594
|
+
jsonString,
|
|
5595
|
+
(x) => DeploymentsDollarOrDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
5596
|
+
`Failed to parse 'DeploymentsDollarOrDollarEq' from JSON`,
|
|
5597
|
+
);
|
|
5598
|
+
}
|
|
5599
|
+
|
|
5600
|
+
/** @internal */
|
|
5601
|
+
export const DollarOr$inboundSchema: z.ZodType<
|
|
5602
|
+
DollarOr,
|
|
5603
|
+
z.ZodTypeDef,
|
|
5604
|
+
unknown
|
|
5605
|
+
> = z.union([
|
|
5606
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$inboundSchema),
|
|
5607
|
+
z.lazy(() => DeploymentsDollarOrDollarNe$inboundSchema),
|
|
5608
|
+
z.lazy(() => DollarOr3$inboundSchema),
|
|
5609
|
+
z.lazy(() => DollarOrDollarGte$inboundSchema),
|
|
5610
|
+
z.lazy(() => DollarOrDollarLt$inboundSchema),
|
|
5611
|
+
z.lazy(() => DollarOrDollarLte$inboundSchema),
|
|
5612
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$inboundSchema),
|
|
5613
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$inboundSchema),
|
|
5614
|
+
z.lazy(() => DollarOrDollarExists$inboundSchema),
|
|
5615
|
+
]);
|
|
5616
|
+
|
|
5617
|
+
/** @internal */
|
|
5618
|
+
export type DollarOr$Outbound =
|
|
5619
|
+
| DeploymentsDollarOrDollarEq$Outbound
|
|
5620
|
+
| DeploymentsDollarOrDollarNe$Outbound
|
|
5621
|
+
| DollarOr3$Outbound
|
|
5622
|
+
| DollarOrDollarGte$Outbound
|
|
5623
|
+
| DollarOrDollarLt$Outbound
|
|
5624
|
+
| DollarOrDollarLte$Outbound
|
|
5625
|
+
| DeploymentsDollarOrDollarIn$Outbound
|
|
5626
|
+
| DeploymentsDollarOrDollarNin$Outbound
|
|
5627
|
+
| DollarOrDollarExists$Outbound;
|
|
5628
|
+
|
|
5629
|
+
/** @internal */
|
|
5630
|
+
export const DollarOr$outboundSchema: z.ZodType<
|
|
5631
|
+
DollarOr$Outbound,
|
|
5632
|
+
z.ZodTypeDef,
|
|
5633
|
+
DollarOr
|
|
5634
|
+
> = z.union([
|
|
5635
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$outboundSchema),
|
|
5636
|
+
z.lazy(() => DeploymentsDollarOrDollarNe$outboundSchema),
|
|
5637
|
+
z.lazy(() => DollarOr3$outboundSchema),
|
|
5638
|
+
z.lazy(() => DollarOrDollarGte$outboundSchema),
|
|
5639
|
+
z.lazy(() => DollarOrDollarLt$outboundSchema),
|
|
5640
|
+
z.lazy(() => DollarOrDollarLte$outboundSchema),
|
|
5641
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$outboundSchema),
|
|
5642
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$outboundSchema),
|
|
5643
|
+
z.lazy(() => DollarOrDollarExists$outboundSchema),
|
|
5644
|
+
]);
|
|
5645
|
+
|
|
5646
|
+
/**
|
|
5647
|
+
* @internal
|
|
5648
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5649
|
+
*/
|
|
5650
|
+
export namespace DollarOr$ {
|
|
5651
|
+
/** @deprecated use `DollarOr$inboundSchema` instead. */
|
|
5652
|
+
export const inboundSchema = DollarOr$inboundSchema;
|
|
5653
|
+
/** @deprecated use `DollarOr$outboundSchema` instead. */
|
|
5654
|
+
export const outboundSchema = DollarOr$outboundSchema;
|
|
5655
|
+
/** @deprecated use `DollarOr$Outbound` instead. */
|
|
5656
|
+
export type Outbound = DollarOr$Outbound;
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
export function dollarOrToJSON(dollarOr: DollarOr): string {
|
|
5660
|
+
return JSON.stringify(DollarOr$outboundSchema.parse(dollarOr));
|
|
5661
|
+
}
|
|
5662
|
+
|
|
5663
|
+
export function dollarOrFromJSON(
|
|
5664
|
+
jsonString: string,
|
|
5665
|
+
): SafeParseResult<DollarOr, SDKValidationError> {
|
|
5666
|
+
return safeParse(
|
|
5667
|
+
jsonString,
|
|
5668
|
+
(x) => DollarOr$inboundSchema.parse(JSON.parse(x)),
|
|
5669
|
+
`Failed to parse 'DollarOr' from JSON`,
|
|
5670
|
+
);
|
|
5671
|
+
}
|
|
5672
|
+
|
|
5673
|
+
/** @internal */
|
|
5674
|
+
export const KnowledgeFilterDollarOr$inboundSchema: z.ZodType<
|
|
5675
|
+
KnowledgeFilterDollarOr,
|
|
5676
|
+
z.ZodTypeDef,
|
|
5677
|
+
unknown
|
|
5678
|
+
> = z.object({
|
|
5679
|
+
$or: z.array(
|
|
5680
|
+
z.record(z.union([
|
|
5681
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$inboundSchema),
|
|
5682
|
+
z.lazy(() =>
|
|
5683
|
+
DeploymentsDollarOrDollarNe$inboundSchema
|
|
5684
|
+
),
|
|
5685
|
+
z.lazy(() => DollarOr3$inboundSchema),
|
|
5686
|
+
z.lazy(() => DollarOrDollarGte$inboundSchema),
|
|
5687
|
+
z.lazy(() => DollarOrDollarLt$inboundSchema),
|
|
5688
|
+
z.lazy(() => DollarOrDollarLte$inboundSchema),
|
|
5689
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$inboundSchema),
|
|
5690
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$inboundSchema),
|
|
5691
|
+
z.lazy(() => DollarOrDollarExists$inboundSchema),
|
|
5692
|
+
])),
|
|
5693
|
+
),
|
|
5694
|
+
}).transform((v) => {
|
|
5695
|
+
return remap$(v, {
|
|
5696
|
+
"$or": "dollarOr",
|
|
5697
|
+
});
|
|
5698
|
+
});
|
|
5699
|
+
|
|
5700
|
+
/** @internal */
|
|
5701
|
+
export type KnowledgeFilterDollarOr$Outbound = {
|
|
5702
|
+
$or: Array<
|
|
5703
|
+
{
|
|
5704
|
+
[k: string]:
|
|
5705
|
+
| DeploymentsDollarOrDollarEq$Outbound
|
|
5706
|
+
| DeploymentsDollarOrDollarNe$Outbound
|
|
5707
|
+
| DollarOr3$Outbound
|
|
5708
|
+
| DollarOrDollarGte$Outbound
|
|
5709
|
+
| DollarOrDollarLt$Outbound
|
|
5710
|
+
| DollarOrDollarLte$Outbound
|
|
5711
|
+
| DeploymentsDollarOrDollarIn$Outbound
|
|
5712
|
+
| DeploymentsDollarOrDollarNin$Outbound
|
|
5713
|
+
| DollarOrDollarExists$Outbound;
|
|
5714
|
+
}
|
|
5715
|
+
>;
|
|
5716
|
+
};
|
|
5717
|
+
|
|
5718
|
+
/** @internal */
|
|
5719
|
+
export const KnowledgeFilterDollarOr$outboundSchema: z.ZodType<
|
|
5720
|
+
KnowledgeFilterDollarOr$Outbound,
|
|
5721
|
+
z.ZodTypeDef,
|
|
5722
|
+
KnowledgeFilterDollarOr
|
|
5723
|
+
> = z.object({
|
|
5724
|
+
dollarOr: z.array(
|
|
5725
|
+
z.record(z.union([
|
|
5726
|
+
z.lazy(() => DeploymentsDollarOrDollarEq$outboundSchema),
|
|
5727
|
+
z.lazy(() =>
|
|
5728
|
+
DeploymentsDollarOrDollarNe$outboundSchema
|
|
5729
|
+
),
|
|
5730
|
+
z.lazy(() => DollarOr3$outboundSchema),
|
|
5731
|
+
z.lazy(() => DollarOrDollarGte$outboundSchema),
|
|
5732
|
+
z.lazy(() => DollarOrDollarLt$outboundSchema),
|
|
5733
|
+
z.lazy(() => DollarOrDollarLte$outboundSchema),
|
|
5734
|
+
z.lazy(() => DeploymentsDollarOrDollarIn$outboundSchema),
|
|
5735
|
+
z.lazy(() => DeploymentsDollarOrDollarNin$outboundSchema),
|
|
5736
|
+
z.lazy(() => DollarOrDollarExists$outboundSchema),
|
|
5737
|
+
])),
|
|
5738
|
+
),
|
|
5739
|
+
}).transform((v) => {
|
|
5740
|
+
return remap$(v, {
|
|
5741
|
+
dollarOr: "$or",
|
|
5742
|
+
});
|
|
5743
|
+
});
|
|
5744
|
+
|
|
5745
|
+
/**
|
|
5746
|
+
* @internal
|
|
5747
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5748
|
+
*/
|
|
5749
|
+
export namespace KnowledgeFilterDollarOr$ {
|
|
5750
|
+
/** @deprecated use `KnowledgeFilterDollarOr$inboundSchema` instead. */
|
|
5751
|
+
export const inboundSchema = KnowledgeFilterDollarOr$inboundSchema;
|
|
5752
|
+
/** @deprecated use `KnowledgeFilterDollarOr$outboundSchema` instead. */
|
|
5753
|
+
export const outboundSchema = KnowledgeFilterDollarOr$outboundSchema;
|
|
5754
|
+
/** @deprecated use `KnowledgeFilterDollarOr$Outbound` instead. */
|
|
5755
|
+
export type Outbound = KnowledgeFilterDollarOr$Outbound;
|
|
5756
|
+
}
|
|
5757
|
+
|
|
5758
|
+
export function knowledgeFilterDollarOrToJSON(
|
|
5759
|
+
knowledgeFilterDollarOr: KnowledgeFilterDollarOr,
|
|
5760
|
+
): string {
|
|
5761
|
+
return JSON.stringify(
|
|
5762
|
+
KnowledgeFilterDollarOr$outboundSchema.parse(knowledgeFilterDollarOr),
|
|
5763
|
+
);
|
|
5764
|
+
}
|
|
5765
|
+
|
|
5766
|
+
export function knowledgeFilterDollarOrFromJSON(
|
|
5767
|
+
jsonString: string,
|
|
5768
|
+
): SafeParseResult<KnowledgeFilterDollarOr, SDKValidationError> {
|
|
5769
|
+
return safeParse(
|
|
5770
|
+
jsonString,
|
|
5771
|
+
(x) => KnowledgeFilterDollarOr$inboundSchema.parse(JSON.parse(x)),
|
|
5772
|
+
`Failed to parse 'KnowledgeFilterDollarOr' from JSON`,
|
|
5773
|
+
);
|
|
5774
|
+
}
|
|
5775
|
+
|
|
5776
|
+
/** @internal */
|
|
5777
|
+
export const DollarAndDollarExists$inboundSchema: z.ZodType<
|
|
5778
|
+
DollarAndDollarExists,
|
|
5779
|
+
z.ZodTypeDef,
|
|
5780
|
+
unknown
|
|
5781
|
+
> = z.object({
|
|
5782
|
+
$exists: z.boolean(),
|
|
5783
|
+
}).transform((v) => {
|
|
5784
|
+
return remap$(v, {
|
|
5785
|
+
"$exists": "dollarExists",
|
|
5786
|
+
});
|
|
5787
|
+
});
|
|
5788
|
+
|
|
5789
|
+
/** @internal */
|
|
5790
|
+
export type DollarAndDollarExists$Outbound = {
|
|
5791
|
+
$exists: boolean;
|
|
5792
|
+
};
|
|
5793
|
+
|
|
5794
|
+
/** @internal */
|
|
5795
|
+
export const DollarAndDollarExists$outboundSchema: z.ZodType<
|
|
5796
|
+
DollarAndDollarExists$Outbound,
|
|
5797
|
+
z.ZodTypeDef,
|
|
5798
|
+
DollarAndDollarExists
|
|
5799
|
+
> = z.object({
|
|
5800
|
+
dollarExists: z.boolean(),
|
|
5801
|
+
}).transform((v) => {
|
|
5802
|
+
return remap$(v, {
|
|
5803
|
+
dollarExists: "$exists",
|
|
5804
|
+
});
|
|
5805
|
+
});
|
|
5806
|
+
|
|
5807
|
+
/**
|
|
5808
|
+
* @internal
|
|
5809
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5810
|
+
*/
|
|
5811
|
+
export namespace DollarAndDollarExists$ {
|
|
5812
|
+
/** @deprecated use `DollarAndDollarExists$inboundSchema` instead. */
|
|
5813
|
+
export const inboundSchema = DollarAndDollarExists$inboundSchema;
|
|
5814
|
+
/** @deprecated use `DollarAndDollarExists$outboundSchema` instead. */
|
|
5815
|
+
export const outboundSchema = DollarAndDollarExists$outboundSchema;
|
|
5816
|
+
/** @deprecated use `DollarAndDollarExists$Outbound` instead. */
|
|
5817
|
+
export type Outbound = DollarAndDollarExists$Outbound;
|
|
5818
|
+
}
|
|
5819
|
+
|
|
5820
|
+
export function dollarAndDollarExistsToJSON(
|
|
5821
|
+
dollarAndDollarExists: DollarAndDollarExists,
|
|
5822
|
+
): string {
|
|
5823
|
+
return JSON.stringify(
|
|
5824
|
+
DollarAndDollarExists$outboundSchema.parse(dollarAndDollarExists),
|
|
5825
|
+
);
|
|
5826
|
+
}
|
|
5827
|
+
|
|
5828
|
+
export function dollarAndDollarExistsFromJSON(
|
|
5829
|
+
jsonString: string,
|
|
5830
|
+
): SafeParseResult<DollarAndDollarExists, SDKValidationError> {
|
|
5831
|
+
return safeParse(
|
|
5832
|
+
jsonString,
|
|
5833
|
+
(x) => DollarAndDollarExists$inboundSchema.parse(JSON.parse(x)),
|
|
5834
|
+
`Failed to parse 'DollarAndDollarExists' from JSON`,
|
|
5835
|
+
);
|
|
5836
|
+
}
|
|
5837
|
+
|
|
5838
|
+
/** @internal */
|
|
5839
|
+
export const DollarAndDollarNin$inboundSchema: z.ZodType<
|
|
5840
|
+
DollarAndDollarNin,
|
|
5841
|
+
z.ZodTypeDef,
|
|
5842
|
+
unknown
|
|
5843
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5844
|
+
|
|
5845
|
+
/** @internal */
|
|
5846
|
+
export type DollarAndDollarNin$Outbound = string | number | boolean;
|
|
5847
|
+
|
|
5848
|
+
/** @internal */
|
|
5849
|
+
export const DollarAndDollarNin$outboundSchema: z.ZodType<
|
|
5850
|
+
DollarAndDollarNin$Outbound,
|
|
5851
|
+
z.ZodTypeDef,
|
|
5852
|
+
DollarAndDollarNin
|
|
5853
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5854
|
+
|
|
5855
|
+
/**
|
|
5856
|
+
* @internal
|
|
5857
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5858
|
+
*/
|
|
5859
|
+
export namespace DollarAndDollarNin$ {
|
|
5860
|
+
/** @deprecated use `DollarAndDollarNin$inboundSchema` instead. */
|
|
5861
|
+
export const inboundSchema = DollarAndDollarNin$inboundSchema;
|
|
5862
|
+
/** @deprecated use `DollarAndDollarNin$outboundSchema` instead. */
|
|
5863
|
+
export const outboundSchema = DollarAndDollarNin$outboundSchema;
|
|
5864
|
+
/** @deprecated use `DollarAndDollarNin$Outbound` instead. */
|
|
5865
|
+
export type Outbound = DollarAndDollarNin$Outbound;
|
|
5866
|
+
}
|
|
5867
|
+
|
|
5868
|
+
export function dollarAndDollarNinToJSON(
|
|
5869
|
+
dollarAndDollarNin: DollarAndDollarNin,
|
|
5870
|
+
): string {
|
|
5871
|
+
return JSON.stringify(
|
|
5872
|
+
DollarAndDollarNin$outboundSchema.parse(dollarAndDollarNin),
|
|
5873
|
+
);
|
|
5874
|
+
}
|
|
5875
|
+
|
|
5876
|
+
export function dollarAndDollarNinFromJSON(
|
|
5877
|
+
jsonString: string,
|
|
5878
|
+
): SafeParseResult<DollarAndDollarNin, SDKValidationError> {
|
|
5879
|
+
return safeParse(
|
|
5880
|
+
jsonString,
|
|
5881
|
+
(x) => DollarAndDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
5882
|
+
`Failed to parse 'DollarAndDollarNin' from JSON`,
|
|
5883
|
+
);
|
|
5884
|
+
}
|
|
5885
|
+
|
|
5886
|
+
/** @internal */
|
|
5887
|
+
export const DeploymentsDollarAndDollarNin$inboundSchema: z.ZodType<
|
|
5888
|
+
DeploymentsDollarAndDollarNin,
|
|
5889
|
+
z.ZodTypeDef,
|
|
5890
|
+
unknown
|
|
5891
|
+
> = z.object({
|
|
5892
|
+
$nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5893
|
+
}).transform((v) => {
|
|
5894
|
+
return remap$(v, {
|
|
5895
|
+
"$nin": "dollarNin",
|
|
5896
|
+
});
|
|
5897
|
+
});
|
|
5898
|
+
|
|
5899
|
+
/** @internal */
|
|
5900
|
+
export type DeploymentsDollarAndDollarNin$Outbound = {
|
|
5901
|
+
$nin: Array<string | number | boolean>;
|
|
5902
|
+
};
|
|
5903
|
+
|
|
5904
|
+
/** @internal */
|
|
5905
|
+
export const DeploymentsDollarAndDollarNin$outboundSchema: z.ZodType<
|
|
5906
|
+
DeploymentsDollarAndDollarNin$Outbound,
|
|
5907
|
+
z.ZodTypeDef,
|
|
5908
|
+
DeploymentsDollarAndDollarNin
|
|
5909
|
+
> = z.object({
|
|
5910
|
+
dollarNin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
5911
|
+
}).transform((v) => {
|
|
5912
|
+
return remap$(v, {
|
|
5913
|
+
dollarNin: "$nin",
|
|
5914
|
+
});
|
|
5915
|
+
});
|
|
5916
|
+
|
|
5917
|
+
/**
|
|
5918
|
+
* @internal
|
|
5919
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5920
|
+
*/
|
|
5921
|
+
export namespace DeploymentsDollarAndDollarNin$ {
|
|
5922
|
+
/** @deprecated use `DeploymentsDollarAndDollarNin$inboundSchema` instead. */
|
|
5923
|
+
export const inboundSchema = DeploymentsDollarAndDollarNin$inboundSchema;
|
|
5924
|
+
/** @deprecated use `DeploymentsDollarAndDollarNin$outboundSchema` instead. */
|
|
5925
|
+
export const outboundSchema = DeploymentsDollarAndDollarNin$outboundSchema;
|
|
5926
|
+
/** @deprecated use `DeploymentsDollarAndDollarNin$Outbound` instead. */
|
|
5927
|
+
export type Outbound = DeploymentsDollarAndDollarNin$Outbound;
|
|
5928
|
+
}
|
|
5929
|
+
|
|
5930
|
+
export function deploymentsDollarAndDollarNinToJSON(
|
|
5931
|
+
deploymentsDollarAndDollarNin: DeploymentsDollarAndDollarNin,
|
|
5932
|
+
): string {
|
|
5933
|
+
return JSON.stringify(
|
|
5934
|
+
DeploymentsDollarAndDollarNin$outboundSchema.parse(
|
|
5935
|
+
deploymentsDollarAndDollarNin,
|
|
5936
|
+
),
|
|
5937
|
+
);
|
|
5938
|
+
}
|
|
5939
|
+
|
|
5940
|
+
export function deploymentsDollarAndDollarNinFromJSON(
|
|
5941
|
+
jsonString: string,
|
|
5942
|
+
): SafeParseResult<DeploymentsDollarAndDollarNin, SDKValidationError> {
|
|
5943
|
+
return safeParse(
|
|
5944
|
+
jsonString,
|
|
5945
|
+
(x) => DeploymentsDollarAndDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
5946
|
+
`Failed to parse 'DeploymentsDollarAndDollarNin' from JSON`,
|
|
5947
|
+
);
|
|
5948
|
+
}
|
|
5949
|
+
|
|
5950
|
+
/** @internal */
|
|
5951
|
+
export const DollarAndDollarIn$inboundSchema: z.ZodType<
|
|
5952
|
+
DollarAndDollarIn,
|
|
5953
|
+
z.ZodTypeDef,
|
|
5954
|
+
unknown
|
|
5955
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5956
|
+
|
|
5957
|
+
/** @internal */
|
|
5958
|
+
export type DollarAndDollarIn$Outbound = string | number | boolean;
|
|
5959
|
+
|
|
5960
|
+
/** @internal */
|
|
5961
|
+
export const DollarAndDollarIn$outboundSchema: z.ZodType<
|
|
5962
|
+
DollarAndDollarIn$Outbound,
|
|
5963
|
+
z.ZodTypeDef,
|
|
5964
|
+
DollarAndDollarIn
|
|
5965
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* @internal
|
|
5969
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5970
|
+
*/
|
|
5971
|
+
export namespace DollarAndDollarIn$ {
|
|
5972
|
+
/** @deprecated use `DollarAndDollarIn$inboundSchema` instead. */
|
|
5973
|
+
export const inboundSchema = DollarAndDollarIn$inboundSchema;
|
|
5974
|
+
/** @deprecated use `DollarAndDollarIn$outboundSchema` instead. */
|
|
5975
|
+
export const outboundSchema = DollarAndDollarIn$outboundSchema;
|
|
5976
|
+
/** @deprecated use `DollarAndDollarIn$Outbound` instead. */
|
|
5977
|
+
export type Outbound = DollarAndDollarIn$Outbound;
|
|
5978
|
+
}
|
|
5979
|
+
|
|
5980
|
+
export function dollarAndDollarInToJSON(
|
|
5981
|
+
dollarAndDollarIn: DollarAndDollarIn,
|
|
5982
|
+
): string {
|
|
5983
|
+
return JSON.stringify(
|
|
5984
|
+
DollarAndDollarIn$outboundSchema.parse(dollarAndDollarIn),
|
|
5985
|
+
);
|
|
5986
|
+
}
|
|
5987
|
+
|
|
5988
|
+
export function dollarAndDollarInFromJSON(
|
|
5989
|
+
jsonString: string,
|
|
5990
|
+
): SafeParseResult<DollarAndDollarIn, SDKValidationError> {
|
|
5991
|
+
return safeParse(
|
|
5992
|
+
jsonString,
|
|
5993
|
+
(x) => DollarAndDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
5994
|
+
`Failed to parse 'DollarAndDollarIn' from JSON`,
|
|
5995
|
+
);
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5998
|
+
/** @internal */
|
|
5999
|
+
export const DeploymentsDollarAndDollarIn$inboundSchema: z.ZodType<
|
|
6000
|
+
DeploymentsDollarAndDollarIn,
|
|
6001
|
+
z.ZodTypeDef,
|
|
6002
|
+
unknown
|
|
6003
|
+
> = z.object({
|
|
6004
|
+
$in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6005
|
+
}).transform((v) => {
|
|
6006
|
+
return remap$(v, {
|
|
6007
|
+
"$in": "dollarIn",
|
|
6008
|
+
});
|
|
6009
|
+
});
|
|
6010
|
+
|
|
6011
|
+
/** @internal */
|
|
6012
|
+
export type DeploymentsDollarAndDollarIn$Outbound = {
|
|
6013
|
+
$in: Array<string | number | boolean>;
|
|
6014
|
+
};
|
|
6015
|
+
|
|
6016
|
+
/** @internal */
|
|
6017
|
+
export const DeploymentsDollarAndDollarIn$outboundSchema: z.ZodType<
|
|
6018
|
+
DeploymentsDollarAndDollarIn$Outbound,
|
|
6019
|
+
z.ZodTypeDef,
|
|
6020
|
+
DeploymentsDollarAndDollarIn
|
|
6021
|
+
> = z.object({
|
|
6022
|
+
dollarIn: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6023
|
+
}).transform((v) => {
|
|
6024
|
+
return remap$(v, {
|
|
6025
|
+
dollarIn: "$in",
|
|
6026
|
+
});
|
|
6027
|
+
});
|
|
6028
|
+
|
|
6029
|
+
/**
|
|
6030
|
+
* @internal
|
|
6031
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6032
|
+
*/
|
|
6033
|
+
export namespace DeploymentsDollarAndDollarIn$ {
|
|
6034
|
+
/** @deprecated use `DeploymentsDollarAndDollarIn$inboundSchema` instead. */
|
|
6035
|
+
export const inboundSchema = DeploymentsDollarAndDollarIn$inboundSchema;
|
|
6036
|
+
/** @deprecated use `DeploymentsDollarAndDollarIn$outboundSchema` instead. */
|
|
6037
|
+
export const outboundSchema = DeploymentsDollarAndDollarIn$outboundSchema;
|
|
6038
|
+
/** @deprecated use `DeploymentsDollarAndDollarIn$Outbound` instead. */
|
|
6039
|
+
export type Outbound = DeploymentsDollarAndDollarIn$Outbound;
|
|
6040
|
+
}
|
|
6041
|
+
|
|
6042
|
+
export function deploymentsDollarAndDollarInToJSON(
|
|
6043
|
+
deploymentsDollarAndDollarIn: DeploymentsDollarAndDollarIn,
|
|
6044
|
+
): string {
|
|
6045
|
+
return JSON.stringify(
|
|
6046
|
+
DeploymentsDollarAndDollarIn$outboundSchema.parse(
|
|
6047
|
+
deploymentsDollarAndDollarIn,
|
|
6048
|
+
),
|
|
6049
|
+
);
|
|
6050
|
+
}
|
|
6051
|
+
|
|
6052
|
+
export function deploymentsDollarAndDollarInFromJSON(
|
|
6053
|
+
jsonString: string,
|
|
6054
|
+
): SafeParseResult<DeploymentsDollarAndDollarIn, SDKValidationError> {
|
|
6055
|
+
return safeParse(
|
|
6056
|
+
jsonString,
|
|
6057
|
+
(x) => DeploymentsDollarAndDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
6058
|
+
`Failed to parse 'DeploymentsDollarAndDollarIn' from JSON`,
|
|
6059
|
+
);
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
/** @internal */
|
|
6063
|
+
export const DollarAndDollarLte$inboundSchema: z.ZodType<
|
|
6064
|
+
DollarAndDollarLte,
|
|
6065
|
+
z.ZodTypeDef,
|
|
6066
|
+
unknown
|
|
6067
|
+
> = z.object({
|
|
6068
|
+
$lte: z.number(),
|
|
6069
|
+
}).transform((v) => {
|
|
6070
|
+
return remap$(v, {
|
|
6071
|
+
"$lte": "dollarLte",
|
|
6072
|
+
});
|
|
6073
|
+
});
|
|
6074
|
+
|
|
6075
|
+
/** @internal */
|
|
6076
|
+
export type DollarAndDollarLte$Outbound = {
|
|
6077
|
+
$lte: number;
|
|
6078
|
+
};
|
|
6079
|
+
|
|
6080
|
+
/** @internal */
|
|
6081
|
+
export const DollarAndDollarLte$outboundSchema: z.ZodType<
|
|
6082
|
+
DollarAndDollarLte$Outbound,
|
|
6083
|
+
z.ZodTypeDef,
|
|
6084
|
+
DollarAndDollarLte
|
|
6085
|
+
> = z.object({
|
|
6086
|
+
dollarLte: z.number(),
|
|
6087
|
+
}).transform((v) => {
|
|
6088
|
+
return remap$(v, {
|
|
6089
|
+
dollarLte: "$lte",
|
|
6090
|
+
});
|
|
6091
|
+
});
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* @internal
|
|
6095
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6096
|
+
*/
|
|
6097
|
+
export namespace DollarAndDollarLte$ {
|
|
6098
|
+
/** @deprecated use `DollarAndDollarLte$inboundSchema` instead. */
|
|
6099
|
+
export const inboundSchema = DollarAndDollarLte$inboundSchema;
|
|
6100
|
+
/** @deprecated use `DollarAndDollarLte$outboundSchema` instead. */
|
|
6101
|
+
export const outboundSchema = DollarAndDollarLte$outboundSchema;
|
|
6102
|
+
/** @deprecated use `DollarAndDollarLte$Outbound` instead. */
|
|
6103
|
+
export type Outbound = DollarAndDollarLte$Outbound;
|
|
6104
|
+
}
|
|
6105
|
+
|
|
6106
|
+
export function dollarAndDollarLteToJSON(
|
|
6107
|
+
dollarAndDollarLte: DollarAndDollarLte,
|
|
6108
|
+
): string {
|
|
6109
|
+
return JSON.stringify(
|
|
6110
|
+
DollarAndDollarLte$outboundSchema.parse(dollarAndDollarLte),
|
|
6111
|
+
);
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6114
|
+
export function dollarAndDollarLteFromJSON(
|
|
6115
|
+
jsonString: string,
|
|
6116
|
+
): SafeParseResult<DollarAndDollarLte, SDKValidationError> {
|
|
6117
|
+
return safeParse(
|
|
6118
|
+
jsonString,
|
|
6119
|
+
(x) => DollarAndDollarLte$inboundSchema.parse(JSON.parse(x)),
|
|
6120
|
+
`Failed to parse 'DollarAndDollarLte' from JSON`,
|
|
6121
|
+
);
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6124
|
+
/** @internal */
|
|
6125
|
+
export const DollarAndDollarLt$inboundSchema: z.ZodType<
|
|
6126
|
+
DollarAndDollarLt,
|
|
6127
|
+
z.ZodTypeDef,
|
|
6128
|
+
unknown
|
|
6129
|
+
> = z.object({
|
|
6130
|
+
$lt: z.number(),
|
|
6131
|
+
}).transform((v) => {
|
|
6132
|
+
return remap$(v, {
|
|
6133
|
+
"$lt": "dollarLt",
|
|
6134
|
+
});
|
|
6135
|
+
});
|
|
6136
|
+
|
|
6137
|
+
/** @internal */
|
|
6138
|
+
export type DollarAndDollarLt$Outbound = {
|
|
6139
|
+
$lt: number;
|
|
6140
|
+
};
|
|
6141
|
+
|
|
6142
|
+
/** @internal */
|
|
6143
|
+
export const DollarAndDollarLt$outboundSchema: z.ZodType<
|
|
6144
|
+
DollarAndDollarLt$Outbound,
|
|
6145
|
+
z.ZodTypeDef,
|
|
6146
|
+
DollarAndDollarLt
|
|
6147
|
+
> = z.object({
|
|
6148
|
+
dollarLt: z.number(),
|
|
6149
|
+
}).transform((v) => {
|
|
6150
|
+
return remap$(v, {
|
|
6151
|
+
dollarLt: "$lt",
|
|
6152
|
+
});
|
|
6153
|
+
});
|
|
6154
|
+
|
|
6155
|
+
/**
|
|
6156
|
+
* @internal
|
|
6157
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6158
|
+
*/
|
|
6159
|
+
export namespace DollarAndDollarLt$ {
|
|
6160
|
+
/** @deprecated use `DollarAndDollarLt$inboundSchema` instead. */
|
|
6161
|
+
export const inboundSchema = DollarAndDollarLt$inboundSchema;
|
|
6162
|
+
/** @deprecated use `DollarAndDollarLt$outboundSchema` instead. */
|
|
6163
|
+
export const outboundSchema = DollarAndDollarLt$outboundSchema;
|
|
6164
|
+
/** @deprecated use `DollarAndDollarLt$Outbound` instead. */
|
|
6165
|
+
export type Outbound = DollarAndDollarLt$Outbound;
|
|
6166
|
+
}
|
|
6167
|
+
|
|
6168
|
+
export function dollarAndDollarLtToJSON(
|
|
6169
|
+
dollarAndDollarLt: DollarAndDollarLt,
|
|
6170
|
+
): string {
|
|
6171
|
+
return JSON.stringify(
|
|
6172
|
+
DollarAndDollarLt$outboundSchema.parse(dollarAndDollarLt),
|
|
6173
|
+
);
|
|
6174
|
+
}
|
|
6175
|
+
|
|
6176
|
+
export function dollarAndDollarLtFromJSON(
|
|
6177
|
+
jsonString: string,
|
|
6178
|
+
): SafeParseResult<DollarAndDollarLt, SDKValidationError> {
|
|
6179
|
+
return safeParse(
|
|
6180
|
+
jsonString,
|
|
6181
|
+
(x) => DollarAndDollarLt$inboundSchema.parse(JSON.parse(x)),
|
|
6182
|
+
`Failed to parse 'DollarAndDollarLt' from JSON`,
|
|
6183
|
+
);
|
|
6184
|
+
}
|
|
6185
|
+
|
|
6186
|
+
/** @internal */
|
|
6187
|
+
export const DollarAndDollarGte$inboundSchema: z.ZodType<
|
|
6188
|
+
DollarAndDollarGte,
|
|
6189
|
+
z.ZodTypeDef,
|
|
6190
|
+
unknown
|
|
6191
|
+
> = z.object({
|
|
6192
|
+
$gte: z.number(),
|
|
6193
|
+
}).transform((v) => {
|
|
6194
|
+
return remap$(v, {
|
|
6195
|
+
"$gte": "dollarGte",
|
|
6196
|
+
});
|
|
6197
|
+
});
|
|
6198
|
+
|
|
6199
|
+
/** @internal */
|
|
6200
|
+
export type DollarAndDollarGte$Outbound = {
|
|
6201
|
+
$gte: number;
|
|
6202
|
+
};
|
|
6203
|
+
|
|
6204
|
+
/** @internal */
|
|
6205
|
+
export const DollarAndDollarGte$outboundSchema: z.ZodType<
|
|
6206
|
+
DollarAndDollarGte$Outbound,
|
|
6207
|
+
z.ZodTypeDef,
|
|
6208
|
+
DollarAndDollarGte
|
|
6209
|
+
> = z.object({
|
|
6210
|
+
dollarGte: z.number(),
|
|
6211
|
+
}).transform((v) => {
|
|
6212
|
+
return remap$(v, {
|
|
6213
|
+
dollarGte: "$gte",
|
|
6214
|
+
});
|
|
6215
|
+
});
|
|
6216
|
+
|
|
6217
|
+
/**
|
|
6218
|
+
* @internal
|
|
6219
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6220
|
+
*/
|
|
6221
|
+
export namespace DollarAndDollarGte$ {
|
|
6222
|
+
/** @deprecated use `DollarAndDollarGte$inboundSchema` instead. */
|
|
6223
|
+
export const inboundSchema = DollarAndDollarGte$inboundSchema;
|
|
6224
|
+
/** @deprecated use `DollarAndDollarGte$outboundSchema` instead. */
|
|
6225
|
+
export const outboundSchema = DollarAndDollarGte$outboundSchema;
|
|
6226
|
+
/** @deprecated use `DollarAndDollarGte$Outbound` instead. */
|
|
6227
|
+
export type Outbound = DollarAndDollarGte$Outbound;
|
|
6228
|
+
}
|
|
6229
|
+
|
|
6230
|
+
export function dollarAndDollarGteToJSON(
|
|
6231
|
+
dollarAndDollarGte: DollarAndDollarGte,
|
|
6232
|
+
): string {
|
|
6233
|
+
return JSON.stringify(
|
|
6234
|
+
DollarAndDollarGte$outboundSchema.parse(dollarAndDollarGte),
|
|
6235
|
+
);
|
|
6236
|
+
}
|
|
6237
|
+
|
|
6238
|
+
export function dollarAndDollarGteFromJSON(
|
|
6239
|
+
jsonString: string,
|
|
6240
|
+
): SafeParseResult<DollarAndDollarGte, SDKValidationError> {
|
|
6241
|
+
return safeParse(
|
|
6242
|
+
jsonString,
|
|
6243
|
+
(x) => DollarAndDollarGte$inboundSchema.parse(JSON.parse(x)),
|
|
6244
|
+
`Failed to parse 'DollarAndDollarGte' from JSON`,
|
|
6245
|
+
);
|
|
6246
|
+
}
|
|
6247
|
+
|
|
6248
|
+
/** @internal */
|
|
6249
|
+
export const DollarAnd3$inboundSchema: z.ZodType<
|
|
6250
|
+
DollarAnd3,
|
|
6251
|
+
z.ZodTypeDef,
|
|
6252
|
+
unknown
|
|
6253
|
+
> = z.object({
|
|
6254
|
+
$gt: z.number(),
|
|
6255
|
+
}).transform((v) => {
|
|
6256
|
+
return remap$(v, {
|
|
6257
|
+
"$gt": "dollarGt",
|
|
6258
|
+
});
|
|
6259
|
+
});
|
|
6260
|
+
|
|
6261
|
+
/** @internal */
|
|
6262
|
+
export type DollarAnd3$Outbound = {
|
|
6263
|
+
$gt: number;
|
|
6264
|
+
};
|
|
6265
|
+
|
|
6266
|
+
/** @internal */
|
|
6267
|
+
export const DollarAnd3$outboundSchema: z.ZodType<
|
|
6268
|
+
DollarAnd3$Outbound,
|
|
6269
|
+
z.ZodTypeDef,
|
|
6270
|
+
DollarAnd3
|
|
6271
|
+
> = z.object({
|
|
6272
|
+
dollarGt: z.number(),
|
|
6273
|
+
}).transform((v) => {
|
|
6274
|
+
return remap$(v, {
|
|
6275
|
+
dollarGt: "$gt",
|
|
6276
|
+
});
|
|
6277
|
+
});
|
|
6278
|
+
|
|
6279
|
+
/**
|
|
6280
|
+
* @internal
|
|
6281
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6282
|
+
*/
|
|
6283
|
+
export namespace DollarAnd3$ {
|
|
6284
|
+
/** @deprecated use `DollarAnd3$inboundSchema` instead. */
|
|
6285
|
+
export const inboundSchema = DollarAnd3$inboundSchema;
|
|
6286
|
+
/** @deprecated use `DollarAnd3$outboundSchema` instead. */
|
|
6287
|
+
export const outboundSchema = DollarAnd3$outboundSchema;
|
|
6288
|
+
/** @deprecated use `DollarAnd3$Outbound` instead. */
|
|
6289
|
+
export type Outbound = DollarAnd3$Outbound;
|
|
6290
|
+
}
|
|
6291
|
+
|
|
6292
|
+
export function dollarAnd3ToJSON(dollarAnd3: DollarAnd3): string {
|
|
6293
|
+
return JSON.stringify(DollarAnd3$outboundSchema.parse(dollarAnd3));
|
|
6294
|
+
}
|
|
6295
|
+
|
|
6296
|
+
export function dollarAnd3FromJSON(
|
|
6297
|
+
jsonString: string,
|
|
6298
|
+
): SafeParseResult<DollarAnd3, SDKValidationError> {
|
|
6299
|
+
return safeParse(
|
|
6300
|
+
jsonString,
|
|
6301
|
+
(x) => DollarAnd3$inboundSchema.parse(JSON.parse(x)),
|
|
6302
|
+
`Failed to parse 'DollarAnd3' from JSON`,
|
|
6303
|
+
);
|
|
6304
|
+
}
|
|
6305
|
+
|
|
6306
|
+
/** @internal */
|
|
6307
|
+
export const DollarAndDollarNe$inboundSchema: z.ZodType<
|
|
6308
|
+
DollarAndDollarNe,
|
|
6309
|
+
z.ZodTypeDef,
|
|
6310
|
+
unknown
|
|
6311
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6312
|
+
|
|
6313
|
+
/** @internal */
|
|
6314
|
+
export type DollarAndDollarNe$Outbound = string | number | boolean;
|
|
6315
|
+
|
|
6316
|
+
/** @internal */
|
|
6317
|
+
export const DollarAndDollarNe$outboundSchema: z.ZodType<
|
|
6318
|
+
DollarAndDollarNe$Outbound,
|
|
6319
|
+
z.ZodTypeDef,
|
|
6320
|
+
DollarAndDollarNe
|
|
6321
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6322
|
+
|
|
6323
|
+
/**
|
|
6324
|
+
* @internal
|
|
6325
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6326
|
+
*/
|
|
6327
|
+
export namespace DollarAndDollarNe$ {
|
|
6328
|
+
/** @deprecated use `DollarAndDollarNe$inboundSchema` instead. */
|
|
6329
|
+
export const inboundSchema = DollarAndDollarNe$inboundSchema;
|
|
6330
|
+
/** @deprecated use `DollarAndDollarNe$outboundSchema` instead. */
|
|
6331
|
+
export const outboundSchema = DollarAndDollarNe$outboundSchema;
|
|
6332
|
+
/** @deprecated use `DollarAndDollarNe$Outbound` instead. */
|
|
6333
|
+
export type Outbound = DollarAndDollarNe$Outbound;
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
export function dollarAndDollarNeToJSON(
|
|
6337
|
+
dollarAndDollarNe: DollarAndDollarNe,
|
|
6338
|
+
): string {
|
|
6339
|
+
return JSON.stringify(
|
|
6340
|
+
DollarAndDollarNe$outboundSchema.parse(dollarAndDollarNe),
|
|
6341
|
+
);
|
|
6342
|
+
}
|
|
6343
|
+
|
|
6344
|
+
export function dollarAndDollarNeFromJSON(
|
|
6345
|
+
jsonString: string,
|
|
6346
|
+
): SafeParseResult<DollarAndDollarNe, SDKValidationError> {
|
|
6347
|
+
return safeParse(
|
|
6348
|
+
jsonString,
|
|
6349
|
+
(x) => DollarAndDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
6350
|
+
`Failed to parse 'DollarAndDollarNe' from JSON`,
|
|
6351
|
+
);
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
/** @internal */
|
|
6355
|
+
export const DeploymentsDollarAndDollarNe$inboundSchema: z.ZodType<
|
|
6356
|
+
DeploymentsDollarAndDollarNe,
|
|
6357
|
+
z.ZodTypeDef,
|
|
6358
|
+
unknown
|
|
6359
|
+
> = z.object({
|
|
6360
|
+
$ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
6361
|
+
}).transform((v) => {
|
|
6362
|
+
return remap$(v, {
|
|
6363
|
+
"$ne": "dollarNe",
|
|
6364
|
+
});
|
|
6365
|
+
});
|
|
6366
|
+
|
|
6367
|
+
/** @internal */
|
|
6368
|
+
export type DeploymentsDollarAndDollarNe$Outbound = {
|
|
6369
|
+
$ne: string | number | boolean;
|
|
6370
|
+
};
|
|
6371
|
+
|
|
6372
|
+
/** @internal */
|
|
6373
|
+
export const DeploymentsDollarAndDollarNe$outboundSchema: z.ZodType<
|
|
6374
|
+
DeploymentsDollarAndDollarNe$Outbound,
|
|
6375
|
+
z.ZodTypeDef,
|
|
6376
|
+
DeploymentsDollarAndDollarNe
|
|
6377
|
+
> = z.object({
|
|
6378
|
+
dollarNe: z.union([z.string(), z.number(), z.boolean()]),
|
|
6379
|
+
}).transform((v) => {
|
|
6380
|
+
return remap$(v, {
|
|
6381
|
+
dollarNe: "$ne",
|
|
6382
|
+
});
|
|
6383
|
+
});
|
|
6384
|
+
|
|
6385
|
+
/**
|
|
6386
|
+
* @internal
|
|
6387
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6388
|
+
*/
|
|
6389
|
+
export namespace DeploymentsDollarAndDollarNe$ {
|
|
6390
|
+
/** @deprecated use `DeploymentsDollarAndDollarNe$inboundSchema` instead. */
|
|
6391
|
+
export const inboundSchema = DeploymentsDollarAndDollarNe$inboundSchema;
|
|
6392
|
+
/** @deprecated use `DeploymentsDollarAndDollarNe$outboundSchema` instead. */
|
|
6393
|
+
export const outboundSchema = DeploymentsDollarAndDollarNe$outboundSchema;
|
|
6394
|
+
/** @deprecated use `DeploymentsDollarAndDollarNe$Outbound` instead. */
|
|
6395
|
+
export type Outbound = DeploymentsDollarAndDollarNe$Outbound;
|
|
6396
|
+
}
|
|
6397
|
+
|
|
6398
|
+
export function deploymentsDollarAndDollarNeToJSON(
|
|
6399
|
+
deploymentsDollarAndDollarNe: DeploymentsDollarAndDollarNe,
|
|
6400
|
+
): string {
|
|
6401
|
+
return JSON.stringify(
|
|
6402
|
+
DeploymentsDollarAndDollarNe$outboundSchema.parse(
|
|
6403
|
+
deploymentsDollarAndDollarNe,
|
|
6404
|
+
),
|
|
6405
|
+
);
|
|
6406
|
+
}
|
|
6407
|
+
|
|
6408
|
+
export function deploymentsDollarAndDollarNeFromJSON(
|
|
6409
|
+
jsonString: string,
|
|
6410
|
+
): SafeParseResult<DeploymentsDollarAndDollarNe, SDKValidationError> {
|
|
6411
|
+
return safeParse(
|
|
6412
|
+
jsonString,
|
|
6413
|
+
(x) => DeploymentsDollarAndDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
6414
|
+
`Failed to parse 'DeploymentsDollarAndDollarNe' from JSON`,
|
|
6415
|
+
);
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
/** @internal */
|
|
6419
|
+
export const DollarAndDollarEq$inboundSchema: z.ZodType<
|
|
6420
|
+
DollarAndDollarEq,
|
|
6421
|
+
z.ZodTypeDef,
|
|
6422
|
+
unknown
|
|
6423
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6424
|
+
|
|
6425
|
+
/** @internal */
|
|
6426
|
+
export type DollarAndDollarEq$Outbound = string | number | boolean;
|
|
6427
|
+
|
|
6428
|
+
/** @internal */
|
|
6429
|
+
export const DollarAndDollarEq$outboundSchema: z.ZodType<
|
|
6430
|
+
DollarAndDollarEq$Outbound,
|
|
6431
|
+
z.ZodTypeDef,
|
|
6432
|
+
DollarAndDollarEq
|
|
6433
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6434
|
+
|
|
6435
|
+
/**
|
|
6436
|
+
* @internal
|
|
6437
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6438
|
+
*/
|
|
6439
|
+
export namespace DollarAndDollarEq$ {
|
|
6440
|
+
/** @deprecated use `DollarAndDollarEq$inboundSchema` instead. */
|
|
6441
|
+
export const inboundSchema = DollarAndDollarEq$inboundSchema;
|
|
6442
|
+
/** @deprecated use `DollarAndDollarEq$outboundSchema` instead. */
|
|
6443
|
+
export const outboundSchema = DollarAndDollarEq$outboundSchema;
|
|
6444
|
+
/** @deprecated use `DollarAndDollarEq$Outbound` instead. */
|
|
6445
|
+
export type Outbound = DollarAndDollarEq$Outbound;
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6448
|
+
export function dollarAndDollarEqToJSON(
|
|
6449
|
+
dollarAndDollarEq: DollarAndDollarEq,
|
|
6450
|
+
): string {
|
|
6451
|
+
return JSON.stringify(
|
|
6452
|
+
DollarAndDollarEq$outboundSchema.parse(dollarAndDollarEq),
|
|
6453
|
+
);
|
|
6454
|
+
}
|
|
6455
|
+
|
|
6456
|
+
export function dollarAndDollarEqFromJSON(
|
|
6457
|
+
jsonString: string,
|
|
6458
|
+
): SafeParseResult<DollarAndDollarEq, SDKValidationError> {
|
|
6459
|
+
return safeParse(
|
|
6460
|
+
jsonString,
|
|
6461
|
+
(x) => DollarAndDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
6462
|
+
`Failed to parse 'DollarAndDollarEq' from JSON`,
|
|
6463
|
+
);
|
|
6464
|
+
}
|
|
6465
|
+
|
|
6466
|
+
/** @internal */
|
|
6467
|
+
export const DeploymentsDollarAndDollarEq$inboundSchema: z.ZodType<
|
|
6468
|
+
DeploymentsDollarAndDollarEq,
|
|
6469
|
+
z.ZodTypeDef,
|
|
6470
|
+
unknown
|
|
6471
|
+
> = z.object({
|
|
6472
|
+
$eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
6473
|
+
}).transform((v) => {
|
|
6474
|
+
return remap$(v, {
|
|
6475
|
+
"$eq": "dollarEq",
|
|
6476
|
+
});
|
|
6477
|
+
});
|
|
6478
|
+
|
|
6479
|
+
/** @internal */
|
|
6480
|
+
export type DeploymentsDollarAndDollarEq$Outbound = {
|
|
6481
|
+
$eq: string | number | boolean;
|
|
6482
|
+
};
|
|
6483
|
+
|
|
6484
|
+
/** @internal */
|
|
6485
|
+
export const DeploymentsDollarAndDollarEq$outboundSchema: z.ZodType<
|
|
6486
|
+
DeploymentsDollarAndDollarEq$Outbound,
|
|
6487
|
+
z.ZodTypeDef,
|
|
6488
|
+
DeploymentsDollarAndDollarEq
|
|
6489
|
+
> = z.object({
|
|
6490
|
+
dollarEq: z.union([z.string(), z.number(), z.boolean()]),
|
|
6491
|
+
}).transform((v) => {
|
|
6492
|
+
return remap$(v, {
|
|
6493
|
+
dollarEq: "$eq",
|
|
6494
|
+
});
|
|
6495
|
+
});
|
|
6496
|
+
|
|
6497
|
+
/**
|
|
6498
|
+
* @internal
|
|
6499
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6500
|
+
*/
|
|
6501
|
+
export namespace DeploymentsDollarAndDollarEq$ {
|
|
6502
|
+
/** @deprecated use `DeploymentsDollarAndDollarEq$inboundSchema` instead. */
|
|
6503
|
+
export const inboundSchema = DeploymentsDollarAndDollarEq$inboundSchema;
|
|
6504
|
+
/** @deprecated use `DeploymentsDollarAndDollarEq$outboundSchema` instead. */
|
|
6505
|
+
export const outboundSchema = DeploymentsDollarAndDollarEq$outboundSchema;
|
|
6506
|
+
/** @deprecated use `DeploymentsDollarAndDollarEq$Outbound` instead. */
|
|
6507
|
+
export type Outbound = DeploymentsDollarAndDollarEq$Outbound;
|
|
6508
|
+
}
|
|
6509
|
+
|
|
6510
|
+
export function deploymentsDollarAndDollarEqToJSON(
|
|
6511
|
+
deploymentsDollarAndDollarEq: DeploymentsDollarAndDollarEq,
|
|
6512
|
+
): string {
|
|
6513
|
+
return JSON.stringify(
|
|
6514
|
+
DeploymentsDollarAndDollarEq$outboundSchema.parse(
|
|
6515
|
+
deploymentsDollarAndDollarEq,
|
|
6516
|
+
),
|
|
6517
|
+
);
|
|
6518
|
+
}
|
|
6519
|
+
|
|
6520
|
+
export function deploymentsDollarAndDollarEqFromJSON(
|
|
6521
|
+
jsonString: string,
|
|
6522
|
+
): SafeParseResult<DeploymentsDollarAndDollarEq, SDKValidationError> {
|
|
6523
|
+
return safeParse(
|
|
6524
|
+
jsonString,
|
|
6525
|
+
(x) => DeploymentsDollarAndDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
6526
|
+
`Failed to parse 'DeploymentsDollarAndDollarEq' from JSON`,
|
|
6527
|
+
);
|
|
6528
|
+
}
|
|
6529
|
+
|
|
6530
|
+
/** @internal */
|
|
6531
|
+
export const DollarAnd$inboundSchema: z.ZodType<
|
|
6532
|
+
DollarAnd,
|
|
6533
|
+
z.ZodTypeDef,
|
|
6534
|
+
unknown
|
|
6535
|
+
> = z.union([
|
|
6536
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$inboundSchema),
|
|
6537
|
+
z.lazy(() => DeploymentsDollarAndDollarNe$inboundSchema),
|
|
6538
|
+
z.lazy(() => DollarAnd3$inboundSchema),
|
|
6539
|
+
z.lazy(() => DollarAndDollarGte$inboundSchema),
|
|
6540
|
+
z.lazy(() => DollarAndDollarLt$inboundSchema),
|
|
6541
|
+
z.lazy(() => DollarAndDollarLte$inboundSchema),
|
|
6542
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$inboundSchema),
|
|
6543
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$inboundSchema),
|
|
6544
|
+
z.lazy(() => DollarAndDollarExists$inboundSchema),
|
|
6545
|
+
]);
|
|
6546
|
+
|
|
6547
|
+
/** @internal */
|
|
6548
|
+
export type DollarAnd$Outbound =
|
|
6549
|
+
| DeploymentsDollarAndDollarEq$Outbound
|
|
6550
|
+
| DeploymentsDollarAndDollarNe$Outbound
|
|
6551
|
+
| DollarAnd3$Outbound
|
|
6552
|
+
| DollarAndDollarGte$Outbound
|
|
6553
|
+
| DollarAndDollarLt$Outbound
|
|
6554
|
+
| DollarAndDollarLte$Outbound
|
|
6555
|
+
| DeploymentsDollarAndDollarIn$Outbound
|
|
6556
|
+
| DeploymentsDollarAndDollarNin$Outbound
|
|
6557
|
+
| DollarAndDollarExists$Outbound;
|
|
6558
|
+
|
|
6559
|
+
/** @internal */
|
|
6560
|
+
export const DollarAnd$outboundSchema: z.ZodType<
|
|
6561
|
+
DollarAnd$Outbound,
|
|
6562
|
+
z.ZodTypeDef,
|
|
6563
|
+
DollarAnd
|
|
6564
|
+
> = z.union([
|
|
6565
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$outboundSchema),
|
|
6566
|
+
z.lazy(() => DeploymentsDollarAndDollarNe$outboundSchema),
|
|
6567
|
+
z.lazy(() => DollarAnd3$outboundSchema),
|
|
6568
|
+
z.lazy(() => DollarAndDollarGte$outboundSchema),
|
|
6569
|
+
z.lazy(() => DollarAndDollarLt$outboundSchema),
|
|
6570
|
+
z.lazy(() => DollarAndDollarLte$outboundSchema),
|
|
6571
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$outboundSchema),
|
|
6572
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$outboundSchema),
|
|
6573
|
+
z.lazy(() => DollarAndDollarExists$outboundSchema),
|
|
6574
|
+
]);
|
|
6575
|
+
|
|
6576
|
+
/**
|
|
6577
|
+
* @internal
|
|
6578
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6579
|
+
*/
|
|
6580
|
+
export namespace DollarAnd$ {
|
|
6581
|
+
/** @deprecated use `DollarAnd$inboundSchema` instead. */
|
|
6582
|
+
export const inboundSchema = DollarAnd$inboundSchema;
|
|
6583
|
+
/** @deprecated use `DollarAnd$outboundSchema` instead. */
|
|
6584
|
+
export const outboundSchema = DollarAnd$outboundSchema;
|
|
6585
|
+
/** @deprecated use `DollarAnd$Outbound` instead. */
|
|
6586
|
+
export type Outbound = DollarAnd$Outbound;
|
|
6587
|
+
}
|
|
6588
|
+
|
|
6589
|
+
export function dollarAndToJSON(dollarAnd: DollarAnd): string {
|
|
6590
|
+
return JSON.stringify(DollarAnd$outboundSchema.parse(dollarAnd));
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6593
|
+
export function dollarAndFromJSON(
|
|
6594
|
+
jsonString: string,
|
|
6595
|
+
): SafeParseResult<DollarAnd, SDKValidationError> {
|
|
6596
|
+
return safeParse(
|
|
6597
|
+
jsonString,
|
|
6598
|
+
(x) => DollarAnd$inboundSchema.parse(JSON.parse(x)),
|
|
6599
|
+
`Failed to parse 'DollarAnd' from JSON`,
|
|
6600
|
+
);
|
|
6601
|
+
}
|
|
6602
|
+
|
|
6603
|
+
/** @internal */
|
|
6604
|
+
export const KnowledgeFilterDollarAnd$inboundSchema: z.ZodType<
|
|
6605
|
+
KnowledgeFilterDollarAnd,
|
|
6606
|
+
z.ZodTypeDef,
|
|
6607
|
+
unknown
|
|
6608
|
+
> = z.object({
|
|
6609
|
+
$and: z.array(
|
|
6610
|
+
z.record(z.union([
|
|
6611
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$inboundSchema),
|
|
6612
|
+
z.lazy(() =>
|
|
6613
|
+
DeploymentsDollarAndDollarNe$inboundSchema
|
|
6614
|
+
),
|
|
6615
|
+
z.lazy(() => DollarAnd3$inboundSchema),
|
|
6616
|
+
z.lazy(() => DollarAndDollarGte$inboundSchema),
|
|
6617
|
+
z.lazy(() => DollarAndDollarLt$inboundSchema),
|
|
6618
|
+
z.lazy(() => DollarAndDollarLte$inboundSchema),
|
|
6619
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$inboundSchema),
|
|
6620
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$inboundSchema),
|
|
6621
|
+
z.lazy(() => DollarAndDollarExists$inboundSchema),
|
|
6622
|
+
])),
|
|
6623
|
+
),
|
|
6624
|
+
}).transform((v) => {
|
|
6625
|
+
return remap$(v, {
|
|
6626
|
+
"$and": "dollarAnd",
|
|
6627
|
+
});
|
|
6628
|
+
});
|
|
6629
|
+
|
|
6630
|
+
/** @internal */
|
|
6631
|
+
export type KnowledgeFilterDollarAnd$Outbound = {
|
|
6632
|
+
$and: Array<
|
|
6633
|
+
{
|
|
6634
|
+
[k: string]:
|
|
6635
|
+
| DeploymentsDollarAndDollarEq$Outbound
|
|
6636
|
+
| DeploymentsDollarAndDollarNe$Outbound
|
|
6637
|
+
| DollarAnd3$Outbound
|
|
6638
|
+
| DollarAndDollarGte$Outbound
|
|
6639
|
+
| DollarAndDollarLt$Outbound
|
|
6640
|
+
| DollarAndDollarLte$Outbound
|
|
6641
|
+
| DeploymentsDollarAndDollarIn$Outbound
|
|
6642
|
+
| DeploymentsDollarAndDollarNin$Outbound
|
|
6643
|
+
| DollarAndDollarExists$Outbound;
|
|
6644
|
+
}
|
|
6645
|
+
>;
|
|
6646
|
+
};
|
|
6647
|
+
|
|
6648
|
+
/** @internal */
|
|
6649
|
+
export const KnowledgeFilterDollarAnd$outboundSchema: z.ZodType<
|
|
6650
|
+
KnowledgeFilterDollarAnd$Outbound,
|
|
6651
|
+
z.ZodTypeDef,
|
|
6652
|
+
KnowledgeFilterDollarAnd
|
|
6653
|
+
> = z.object({
|
|
6654
|
+
dollarAnd: z.array(
|
|
6655
|
+
z.record(z.union([
|
|
6656
|
+
z.lazy(() => DeploymentsDollarAndDollarEq$outboundSchema),
|
|
6657
|
+
z.lazy(() =>
|
|
6658
|
+
DeploymentsDollarAndDollarNe$outboundSchema
|
|
6659
|
+
),
|
|
6660
|
+
z.lazy(() => DollarAnd3$outboundSchema),
|
|
6661
|
+
z.lazy(() => DollarAndDollarGte$outboundSchema),
|
|
6662
|
+
z.lazy(() => DollarAndDollarLt$outboundSchema),
|
|
6663
|
+
z.lazy(() => DollarAndDollarLte$outboundSchema),
|
|
6664
|
+
z.lazy(() => DeploymentsDollarAndDollarIn$outboundSchema),
|
|
6665
|
+
z.lazy(() => DeploymentsDollarAndDollarNin$outboundSchema),
|
|
6666
|
+
z.lazy(() => DollarAndDollarExists$outboundSchema),
|
|
6667
|
+
])),
|
|
6668
|
+
),
|
|
6669
|
+
}).transform((v) => {
|
|
6670
|
+
return remap$(v, {
|
|
6671
|
+
dollarAnd: "$and",
|
|
6672
|
+
});
|
|
6673
|
+
});
|
|
6674
|
+
|
|
6675
|
+
/**
|
|
6676
|
+
* @internal
|
|
6677
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6678
|
+
*/
|
|
6679
|
+
export namespace KnowledgeFilterDollarAnd$ {
|
|
6680
|
+
/** @deprecated use `KnowledgeFilterDollarAnd$inboundSchema` instead. */
|
|
6681
|
+
export const inboundSchema = KnowledgeFilterDollarAnd$inboundSchema;
|
|
6682
|
+
/** @deprecated use `KnowledgeFilterDollarAnd$outboundSchema` instead. */
|
|
6683
|
+
export const outboundSchema = KnowledgeFilterDollarAnd$outboundSchema;
|
|
6684
|
+
/** @deprecated use `KnowledgeFilterDollarAnd$Outbound` instead. */
|
|
6685
|
+
export type Outbound = KnowledgeFilterDollarAnd$Outbound;
|
|
6686
|
+
}
|
|
6687
|
+
|
|
6688
|
+
export function knowledgeFilterDollarAndToJSON(
|
|
6689
|
+
knowledgeFilterDollarAnd: KnowledgeFilterDollarAnd,
|
|
6690
|
+
): string {
|
|
6691
|
+
return JSON.stringify(
|
|
6692
|
+
KnowledgeFilterDollarAnd$outboundSchema.parse(knowledgeFilterDollarAnd),
|
|
6693
|
+
);
|
|
6694
|
+
}
|
|
6695
|
+
|
|
6696
|
+
export function knowledgeFilterDollarAndFromJSON(
|
|
6697
|
+
jsonString: string,
|
|
6698
|
+
): SafeParseResult<KnowledgeFilterDollarAnd, SDKValidationError> {
|
|
6699
|
+
return safeParse(
|
|
6700
|
+
jsonString,
|
|
6701
|
+
(x) => KnowledgeFilterDollarAnd$inboundSchema.parse(JSON.parse(x)),
|
|
6702
|
+
`Failed to parse 'KnowledgeFilterDollarAnd' from JSON`,
|
|
6703
|
+
);
|
|
6704
|
+
}
|
|
6705
|
+
|
|
6706
|
+
/** @internal */
|
|
6707
|
+
export const DollarExists$inboundSchema: z.ZodType<
|
|
6708
|
+
DollarExists,
|
|
6709
|
+
z.ZodTypeDef,
|
|
6710
|
+
unknown
|
|
6711
|
+
> = z.object({
|
|
6712
|
+
$exists: z.boolean(),
|
|
6713
|
+
}).transform((v) => {
|
|
6714
|
+
return remap$(v, {
|
|
6715
|
+
"$exists": "dollarExists",
|
|
6716
|
+
});
|
|
6717
|
+
});
|
|
6718
|
+
|
|
6719
|
+
/** @internal */
|
|
6720
|
+
export type DollarExists$Outbound = {
|
|
6721
|
+
$exists: boolean;
|
|
6722
|
+
};
|
|
6723
|
+
|
|
6724
|
+
/** @internal */
|
|
6725
|
+
export const DollarExists$outboundSchema: z.ZodType<
|
|
6726
|
+
DollarExists$Outbound,
|
|
6727
|
+
z.ZodTypeDef,
|
|
6728
|
+
DollarExists
|
|
6729
|
+
> = z.object({
|
|
6730
|
+
dollarExists: z.boolean(),
|
|
6731
|
+
}).transform((v) => {
|
|
6732
|
+
return remap$(v, {
|
|
6733
|
+
dollarExists: "$exists",
|
|
6734
|
+
});
|
|
6735
|
+
});
|
|
6736
|
+
|
|
6737
|
+
/**
|
|
6738
|
+
* @internal
|
|
6739
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6740
|
+
*/
|
|
6741
|
+
export namespace DollarExists$ {
|
|
6742
|
+
/** @deprecated use `DollarExists$inboundSchema` instead. */
|
|
6743
|
+
export const inboundSchema = DollarExists$inboundSchema;
|
|
6744
|
+
/** @deprecated use `DollarExists$outboundSchema` instead. */
|
|
6745
|
+
export const outboundSchema = DollarExists$outboundSchema;
|
|
6746
|
+
/** @deprecated use `DollarExists$Outbound` instead. */
|
|
6747
|
+
export type Outbound = DollarExists$Outbound;
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6750
|
+
export function dollarExistsToJSON(dollarExists: DollarExists): string {
|
|
6751
|
+
return JSON.stringify(DollarExists$outboundSchema.parse(dollarExists));
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6754
|
+
export function dollarExistsFromJSON(
|
|
6755
|
+
jsonString: string,
|
|
6756
|
+
): SafeParseResult<DollarExists, SDKValidationError> {
|
|
6757
|
+
return safeParse(
|
|
6758
|
+
jsonString,
|
|
6759
|
+
(x) => DollarExists$inboundSchema.parse(JSON.parse(x)),
|
|
6760
|
+
`Failed to parse 'DollarExists' from JSON`,
|
|
6761
|
+
);
|
|
6762
|
+
}
|
|
6763
|
+
|
|
6764
|
+
/** @internal */
|
|
6765
|
+
export const DollarNin$inboundSchema: z.ZodType<
|
|
6766
|
+
DollarNin,
|
|
6767
|
+
z.ZodTypeDef,
|
|
6768
|
+
unknown
|
|
6769
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6770
|
+
|
|
6771
|
+
/** @internal */
|
|
6772
|
+
export type DollarNin$Outbound = string | number | boolean;
|
|
6773
|
+
|
|
6774
|
+
/** @internal */
|
|
6775
|
+
export const DollarNin$outboundSchema: z.ZodType<
|
|
6776
|
+
DollarNin$Outbound,
|
|
6777
|
+
z.ZodTypeDef,
|
|
6778
|
+
DollarNin
|
|
6779
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* @internal
|
|
6783
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6784
|
+
*/
|
|
6785
|
+
export namespace DollarNin$ {
|
|
6786
|
+
/** @deprecated use `DollarNin$inboundSchema` instead. */
|
|
6787
|
+
export const inboundSchema = DollarNin$inboundSchema;
|
|
6788
|
+
/** @deprecated use `DollarNin$outboundSchema` instead. */
|
|
6789
|
+
export const outboundSchema = DollarNin$outboundSchema;
|
|
6790
|
+
/** @deprecated use `DollarNin$Outbound` instead. */
|
|
6791
|
+
export type Outbound = DollarNin$Outbound;
|
|
6792
|
+
}
|
|
6793
|
+
|
|
6794
|
+
export function dollarNinToJSON(dollarNin: DollarNin): string {
|
|
6795
|
+
return JSON.stringify(DollarNin$outboundSchema.parse(dollarNin));
|
|
6796
|
+
}
|
|
6797
|
+
|
|
6798
|
+
export function dollarNinFromJSON(
|
|
6799
|
+
jsonString: string,
|
|
6800
|
+
): SafeParseResult<DollarNin, SDKValidationError> {
|
|
6801
|
+
return safeParse(
|
|
6802
|
+
jsonString,
|
|
6803
|
+
(x) => DollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
6804
|
+
`Failed to parse 'DollarNin' from JSON`,
|
|
6805
|
+
);
|
|
6806
|
+
}
|
|
6807
|
+
|
|
6808
|
+
/** @internal */
|
|
6809
|
+
export const OneDollarNin$inboundSchema: z.ZodType<
|
|
6810
|
+
OneDollarNin,
|
|
6811
|
+
z.ZodTypeDef,
|
|
6812
|
+
unknown
|
|
6813
|
+
> = z.object({
|
|
6814
|
+
$nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6815
|
+
}).transform((v) => {
|
|
6816
|
+
return remap$(v, {
|
|
6817
|
+
"$nin": "dollarNin",
|
|
6818
|
+
});
|
|
6819
|
+
});
|
|
6820
|
+
|
|
6821
|
+
/** @internal */
|
|
6822
|
+
export type OneDollarNin$Outbound = {
|
|
6823
|
+
$nin: Array<string | number | boolean>;
|
|
6824
|
+
};
|
|
6825
|
+
|
|
6826
|
+
/** @internal */
|
|
6827
|
+
export const OneDollarNin$outboundSchema: z.ZodType<
|
|
6828
|
+
OneDollarNin$Outbound,
|
|
6829
|
+
z.ZodTypeDef,
|
|
6830
|
+
OneDollarNin
|
|
6831
|
+
> = z.object({
|
|
6832
|
+
dollarNin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6833
|
+
}).transform((v) => {
|
|
6834
|
+
return remap$(v, {
|
|
6835
|
+
dollarNin: "$nin",
|
|
6836
|
+
});
|
|
6837
|
+
});
|
|
6838
|
+
|
|
6839
|
+
/**
|
|
6840
|
+
* @internal
|
|
6841
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6842
|
+
*/
|
|
6843
|
+
export namespace OneDollarNin$ {
|
|
6844
|
+
/** @deprecated use `OneDollarNin$inboundSchema` instead. */
|
|
6845
|
+
export const inboundSchema = OneDollarNin$inboundSchema;
|
|
6846
|
+
/** @deprecated use `OneDollarNin$outboundSchema` instead. */
|
|
6847
|
+
export const outboundSchema = OneDollarNin$outboundSchema;
|
|
6848
|
+
/** @deprecated use `OneDollarNin$Outbound` instead. */
|
|
6849
|
+
export type Outbound = OneDollarNin$Outbound;
|
|
6850
|
+
}
|
|
6851
|
+
|
|
6852
|
+
export function oneDollarNinToJSON(oneDollarNin: OneDollarNin): string {
|
|
6853
|
+
return JSON.stringify(OneDollarNin$outboundSchema.parse(oneDollarNin));
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6856
|
+
export function oneDollarNinFromJSON(
|
|
6857
|
+
jsonString: string,
|
|
6858
|
+
): SafeParseResult<OneDollarNin, SDKValidationError> {
|
|
6859
|
+
return safeParse(
|
|
6860
|
+
jsonString,
|
|
6861
|
+
(x) => OneDollarNin$inboundSchema.parse(JSON.parse(x)),
|
|
6862
|
+
`Failed to parse 'OneDollarNin' from JSON`,
|
|
6863
|
+
);
|
|
6864
|
+
}
|
|
6865
|
+
|
|
6866
|
+
/** @internal */
|
|
6867
|
+
export const DollarIn$inboundSchema: z.ZodType<
|
|
6868
|
+
DollarIn,
|
|
6869
|
+
z.ZodTypeDef,
|
|
6870
|
+
unknown
|
|
6871
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6872
|
+
|
|
6873
|
+
/** @internal */
|
|
6874
|
+
export type DollarIn$Outbound = string | number | boolean;
|
|
6875
|
+
|
|
6876
|
+
/** @internal */
|
|
6877
|
+
export const DollarIn$outboundSchema: z.ZodType<
|
|
6878
|
+
DollarIn$Outbound,
|
|
6879
|
+
z.ZodTypeDef,
|
|
6880
|
+
DollarIn
|
|
6881
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
6882
|
+
|
|
6883
|
+
/**
|
|
6884
|
+
* @internal
|
|
6885
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6886
|
+
*/
|
|
6887
|
+
export namespace DollarIn$ {
|
|
6888
|
+
/** @deprecated use `DollarIn$inboundSchema` instead. */
|
|
6889
|
+
export const inboundSchema = DollarIn$inboundSchema;
|
|
6890
|
+
/** @deprecated use `DollarIn$outboundSchema` instead. */
|
|
6891
|
+
export const outboundSchema = DollarIn$outboundSchema;
|
|
6892
|
+
/** @deprecated use `DollarIn$Outbound` instead. */
|
|
6893
|
+
export type Outbound = DollarIn$Outbound;
|
|
6894
|
+
}
|
|
6895
|
+
|
|
6896
|
+
export function dollarInToJSON(dollarIn: DollarIn): string {
|
|
6897
|
+
return JSON.stringify(DollarIn$outboundSchema.parse(dollarIn));
|
|
6898
|
+
}
|
|
6899
|
+
|
|
6900
|
+
export function dollarInFromJSON(
|
|
6901
|
+
jsonString: string,
|
|
6902
|
+
): SafeParseResult<DollarIn, SDKValidationError> {
|
|
6903
|
+
return safeParse(
|
|
6904
|
+
jsonString,
|
|
6905
|
+
(x) => DollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
6906
|
+
`Failed to parse 'DollarIn' from JSON`,
|
|
6907
|
+
);
|
|
6908
|
+
}
|
|
6909
|
+
|
|
6910
|
+
/** @internal */
|
|
6911
|
+
export const OneDollarIn$inboundSchema: z.ZodType<
|
|
6912
|
+
OneDollarIn,
|
|
6913
|
+
z.ZodTypeDef,
|
|
6914
|
+
unknown
|
|
6915
|
+
> = z.object({
|
|
6916
|
+
$in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6917
|
+
}).transform((v) => {
|
|
6918
|
+
return remap$(v, {
|
|
6919
|
+
"$in": "dollarIn",
|
|
6920
|
+
});
|
|
6921
|
+
});
|
|
6922
|
+
|
|
6923
|
+
/** @internal */
|
|
6924
|
+
export type OneDollarIn$Outbound = {
|
|
6925
|
+
$in: Array<string | number | boolean>;
|
|
6926
|
+
};
|
|
6927
|
+
|
|
6928
|
+
/** @internal */
|
|
6929
|
+
export const OneDollarIn$outboundSchema: z.ZodType<
|
|
6930
|
+
OneDollarIn$Outbound,
|
|
6931
|
+
z.ZodTypeDef,
|
|
6932
|
+
OneDollarIn
|
|
6933
|
+
> = z.object({
|
|
6934
|
+
dollarIn: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
6935
|
+
}).transform((v) => {
|
|
6936
|
+
return remap$(v, {
|
|
6937
|
+
dollarIn: "$in",
|
|
6938
|
+
});
|
|
6939
|
+
});
|
|
6940
|
+
|
|
6941
|
+
/**
|
|
6942
|
+
* @internal
|
|
6943
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6944
|
+
*/
|
|
6945
|
+
export namespace OneDollarIn$ {
|
|
6946
|
+
/** @deprecated use `OneDollarIn$inboundSchema` instead. */
|
|
6947
|
+
export const inboundSchema = OneDollarIn$inboundSchema;
|
|
6948
|
+
/** @deprecated use `OneDollarIn$outboundSchema` instead. */
|
|
6949
|
+
export const outboundSchema = OneDollarIn$outboundSchema;
|
|
6950
|
+
/** @deprecated use `OneDollarIn$Outbound` instead. */
|
|
6951
|
+
export type Outbound = OneDollarIn$Outbound;
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
export function oneDollarInToJSON(oneDollarIn: OneDollarIn): string {
|
|
6955
|
+
return JSON.stringify(OneDollarIn$outboundSchema.parse(oneDollarIn));
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
export function oneDollarInFromJSON(
|
|
6959
|
+
jsonString: string,
|
|
6960
|
+
): SafeParseResult<OneDollarIn, SDKValidationError> {
|
|
6961
|
+
return safeParse(
|
|
6962
|
+
jsonString,
|
|
6963
|
+
(x) => OneDollarIn$inboundSchema.parse(JSON.parse(x)),
|
|
6964
|
+
`Failed to parse 'OneDollarIn' from JSON`,
|
|
6965
|
+
);
|
|
6966
|
+
}
|
|
6967
|
+
|
|
6968
|
+
/** @internal */
|
|
6969
|
+
export const DollarLte$inboundSchema: z.ZodType<
|
|
6970
|
+
DollarLte,
|
|
6971
|
+
z.ZodTypeDef,
|
|
6972
|
+
unknown
|
|
6973
|
+
> = z.object({
|
|
6974
|
+
$lte: z.number(),
|
|
6975
|
+
}).transform((v) => {
|
|
6976
|
+
return remap$(v, {
|
|
6977
|
+
"$lte": "dollarLte",
|
|
6978
|
+
});
|
|
6979
|
+
});
|
|
6980
|
+
|
|
6981
|
+
/** @internal */
|
|
6982
|
+
export type DollarLte$Outbound = {
|
|
6983
|
+
$lte: number;
|
|
6984
|
+
};
|
|
6985
|
+
|
|
6986
|
+
/** @internal */
|
|
6987
|
+
export const DollarLte$outboundSchema: z.ZodType<
|
|
6988
|
+
DollarLte$Outbound,
|
|
6989
|
+
z.ZodTypeDef,
|
|
6990
|
+
DollarLte
|
|
6991
|
+
> = z.object({
|
|
6992
|
+
dollarLte: z.number(),
|
|
6993
|
+
}).transform((v) => {
|
|
6994
|
+
return remap$(v, {
|
|
6995
|
+
dollarLte: "$lte",
|
|
6996
|
+
});
|
|
6997
|
+
});
|
|
6998
|
+
|
|
6999
|
+
/**
|
|
7000
|
+
* @internal
|
|
7001
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7002
|
+
*/
|
|
7003
|
+
export namespace DollarLte$ {
|
|
7004
|
+
/** @deprecated use `DollarLte$inboundSchema` instead. */
|
|
7005
|
+
export const inboundSchema = DollarLte$inboundSchema;
|
|
7006
|
+
/** @deprecated use `DollarLte$outboundSchema` instead. */
|
|
7007
|
+
export const outboundSchema = DollarLte$outboundSchema;
|
|
7008
|
+
/** @deprecated use `DollarLte$Outbound` instead. */
|
|
7009
|
+
export type Outbound = DollarLte$Outbound;
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
export function dollarLteToJSON(dollarLte: DollarLte): string {
|
|
7013
|
+
return JSON.stringify(DollarLte$outboundSchema.parse(dollarLte));
|
|
7014
|
+
}
|
|
7015
|
+
|
|
7016
|
+
export function dollarLteFromJSON(
|
|
7017
|
+
jsonString: string,
|
|
7018
|
+
): SafeParseResult<DollarLte, SDKValidationError> {
|
|
7019
|
+
return safeParse(
|
|
7020
|
+
jsonString,
|
|
7021
|
+
(x) => DollarLte$inboundSchema.parse(JSON.parse(x)),
|
|
7022
|
+
`Failed to parse 'DollarLte' from JSON`,
|
|
7023
|
+
);
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7026
|
+
/** @internal */
|
|
7027
|
+
export const DollarLt$inboundSchema: z.ZodType<
|
|
7028
|
+
DollarLt,
|
|
7029
|
+
z.ZodTypeDef,
|
|
7030
|
+
unknown
|
|
7031
|
+
> = z.object({
|
|
7032
|
+
$lt: z.number(),
|
|
7033
|
+
}).transform((v) => {
|
|
7034
|
+
return remap$(v, {
|
|
7035
|
+
"$lt": "dollarLt",
|
|
7036
|
+
});
|
|
7037
|
+
});
|
|
7038
|
+
|
|
7039
|
+
/** @internal */
|
|
7040
|
+
export type DollarLt$Outbound = {
|
|
7041
|
+
$lt: number;
|
|
7042
|
+
};
|
|
7043
|
+
|
|
7044
|
+
/** @internal */
|
|
7045
|
+
export const DollarLt$outboundSchema: z.ZodType<
|
|
7046
|
+
DollarLt$Outbound,
|
|
7047
|
+
z.ZodTypeDef,
|
|
7048
|
+
DollarLt
|
|
7049
|
+
> = z.object({
|
|
7050
|
+
dollarLt: z.number(),
|
|
7051
|
+
}).transform((v) => {
|
|
7052
|
+
return remap$(v, {
|
|
7053
|
+
dollarLt: "$lt",
|
|
7054
|
+
});
|
|
7055
|
+
});
|
|
7056
|
+
|
|
7057
|
+
/**
|
|
7058
|
+
* @internal
|
|
7059
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7060
|
+
*/
|
|
7061
|
+
export namespace DollarLt$ {
|
|
7062
|
+
/** @deprecated use `DollarLt$inboundSchema` instead. */
|
|
7063
|
+
export const inboundSchema = DollarLt$inboundSchema;
|
|
7064
|
+
/** @deprecated use `DollarLt$outboundSchema` instead. */
|
|
7065
|
+
export const outboundSchema = DollarLt$outboundSchema;
|
|
7066
|
+
/** @deprecated use `DollarLt$Outbound` instead. */
|
|
7067
|
+
export type Outbound = DollarLt$Outbound;
|
|
7068
|
+
}
|
|
7069
|
+
|
|
7070
|
+
export function dollarLtToJSON(dollarLt: DollarLt): string {
|
|
7071
|
+
return JSON.stringify(DollarLt$outboundSchema.parse(dollarLt));
|
|
7072
|
+
}
|
|
7073
|
+
|
|
7074
|
+
export function dollarLtFromJSON(
|
|
7075
|
+
jsonString: string,
|
|
7076
|
+
): SafeParseResult<DollarLt, SDKValidationError> {
|
|
7077
|
+
return safeParse(
|
|
7078
|
+
jsonString,
|
|
7079
|
+
(x) => DollarLt$inboundSchema.parse(JSON.parse(x)),
|
|
7080
|
+
`Failed to parse 'DollarLt' from JSON`,
|
|
7081
|
+
);
|
|
7082
|
+
}
|
|
7083
|
+
|
|
7084
|
+
/** @internal */
|
|
7085
|
+
export const DollarGte$inboundSchema: z.ZodType<
|
|
7086
|
+
DollarGte,
|
|
7087
|
+
z.ZodTypeDef,
|
|
7088
|
+
unknown
|
|
7089
|
+
> = z.object({
|
|
7090
|
+
$gte: z.number(),
|
|
7091
|
+
}).transform((v) => {
|
|
7092
|
+
return remap$(v, {
|
|
7093
|
+
"$gte": "dollarGte",
|
|
7094
|
+
});
|
|
7095
|
+
});
|
|
7096
|
+
|
|
7097
|
+
/** @internal */
|
|
7098
|
+
export type DollarGte$Outbound = {
|
|
7099
|
+
$gte: number;
|
|
7100
|
+
};
|
|
7101
|
+
|
|
7102
|
+
/** @internal */
|
|
7103
|
+
export const DollarGte$outboundSchema: z.ZodType<
|
|
7104
|
+
DollarGte$Outbound,
|
|
7105
|
+
z.ZodTypeDef,
|
|
7106
|
+
DollarGte
|
|
7107
|
+
> = z.object({
|
|
7108
|
+
dollarGte: z.number(),
|
|
7109
|
+
}).transform((v) => {
|
|
7110
|
+
return remap$(v, {
|
|
7111
|
+
dollarGte: "$gte",
|
|
7112
|
+
});
|
|
7113
|
+
});
|
|
7114
|
+
|
|
7115
|
+
/**
|
|
7116
|
+
* @internal
|
|
7117
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7118
|
+
*/
|
|
7119
|
+
export namespace DollarGte$ {
|
|
7120
|
+
/** @deprecated use `DollarGte$inboundSchema` instead. */
|
|
7121
|
+
export const inboundSchema = DollarGte$inboundSchema;
|
|
7122
|
+
/** @deprecated use `DollarGte$outboundSchema` instead. */
|
|
7123
|
+
export const outboundSchema = DollarGte$outboundSchema;
|
|
7124
|
+
/** @deprecated use `DollarGte$Outbound` instead. */
|
|
7125
|
+
export type Outbound = DollarGte$Outbound;
|
|
7126
|
+
}
|
|
7127
|
+
|
|
7128
|
+
export function dollarGteToJSON(dollarGte: DollarGte): string {
|
|
7129
|
+
return JSON.stringify(DollarGte$outboundSchema.parse(dollarGte));
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
export function dollarGteFromJSON(
|
|
7133
|
+
jsonString: string,
|
|
7134
|
+
): SafeParseResult<DollarGte, SDKValidationError> {
|
|
7135
|
+
return safeParse(
|
|
7136
|
+
jsonString,
|
|
7137
|
+
(x) => DollarGte$inboundSchema.parse(JSON.parse(x)),
|
|
7138
|
+
`Failed to parse 'DollarGte' from JSON`,
|
|
7139
|
+
);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
/** @internal */
|
|
7143
|
+
export const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown> = z
|
|
7144
|
+
.object({
|
|
7145
|
+
$gt: z.number(),
|
|
7146
|
+
}).transform((v) => {
|
|
7147
|
+
return remap$(v, {
|
|
7148
|
+
"$gt": "dollarGt",
|
|
7149
|
+
});
|
|
7150
|
+
});
|
|
7151
|
+
|
|
7152
|
+
/** @internal */
|
|
7153
|
+
export type Three$Outbound = {
|
|
7154
|
+
$gt: number;
|
|
7155
|
+
};
|
|
7156
|
+
|
|
7157
|
+
/** @internal */
|
|
7158
|
+
export const Three$outboundSchema: z.ZodType<
|
|
7159
|
+
Three$Outbound,
|
|
7160
|
+
z.ZodTypeDef,
|
|
7161
|
+
Three
|
|
7162
|
+
> = z.object({
|
|
7163
|
+
dollarGt: z.number(),
|
|
7164
|
+
}).transform((v) => {
|
|
7165
|
+
return remap$(v, {
|
|
7166
|
+
dollarGt: "$gt",
|
|
7167
|
+
});
|
|
7168
|
+
});
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* @internal
|
|
7172
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7173
|
+
*/
|
|
7174
|
+
export namespace Three$ {
|
|
7175
|
+
/** @deprecated use `Three$inboundSchema` instead. */
|
|
7176
|
+
export const inboundSchema = Three$inboundSchema;
|
|
7177
|
+
/** @deprecated use `Three$outboundSchema` instead. */
|
|
7178
|
+
export const outboundSchema = Three$outboundSchema;
|
|
7179
|
+
/** @deprecated use `Three$Outbound` instead. */
|
|
7180
|
+
export type Outbound = Three$Outbound;
|
|
7181
|
+
}
|
|
7182
|
+
|
|
7183
|
+
export function threeToJSON(three: Three): string {
|
|
7184
|
+
return JSON.stringify(Three$outboundSchema.parse(three));
|
|
7185
|
+
}
|
|
7186
|
+
|
|
7187
|
+
export function threeFromJSON(
|
|
7188
|
+
jsonString: string,
|
|
7189
|
+
): SafeParseResult<Three, SDKValidationError> {
|
|
7190
|
+
return safeParse(
|
|
7191
|
+
jsonString,
|
|
7192
|
+
(x) => Three$inboundSchema.parse(JSON.parse(x)),
|
|
7193
|
+
`Failed to parse 'Three' from JSON`,
|
|
7194
|
+
);
|
|
7195
|
+
}
|
|
7196
|
+
|
|
7197
|
+
/** @internal */
|
|
7198
|
+
export const DollarNe$inboundSchema: z.ZodType<
|
|
7199
|
+
DollarNe,
|
|
7200
|
+
z.ZodTypeDef,
|
|
7201
|
+
unknown
|
|
7202
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7203
|
+
|
|
7204
|
+
/** @internal */
|
|
7205
|
+
export type DollarNe$Outbound = string | number | boolean;
|
|
7206
|
+
|
|
7207
|
+
/** @internal */
|
|
7208
|
+
export const DollarNe$outboundSchema: z.ZodType<
|
|
7209
|
+
DollarNe$Outbound,
|
|
7210
|
+
z.ZodTypeDef,
|
|
7211
|
+
DollarNe
|
|
7212
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7213
|
+
|
|
7214
|
+
/**
|
|
7215
|
+
* @internal
|
|
7216
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7217
|
+
*/
|
|
7218
|
+
export namespace DollarNe$ {
|
|
7219
|
+
/** @deprecated use `DollarNe$inboundSchema` instead. */
|
|
7220
|
+
export const inboundSchema = DollarNe$inboundSchema;
|
|
7221
|
+
/** @deprecated use `DollarNe$outboundSchema` instead. */
|
|
7222
|
+
export const outboundSchema = DollarNe$outboundSchema;
|
|
7223
|
+
/** @deprecated use `DollarNe$Outbound` instead. */
|
|
7224
|
+
export type Outbound = DollarNe$Outbound;
|
|
7225
|
+
}
|
|
7226
|
+
|
|
7227
|
+
export function dollarNeToJSON(dollarNe: DollarNe): string {
|
|
7228
|
+
return JSON.stringify(DollarNe$outboundSchema.parse(dollarNe));
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
export function dollarNeFromJSON(
|
|
7232
|
+
jsonString: string,
|
|
7233
|
+
): SafeParseResult<DollarNe, SDKValidationError> {
|
|
7234
|
+
return safeParse(
|
|
7235
|
+
jsonString,
|
|
7236
|
+
(x) => DollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
7237
|
+
`Failed to parse 'DollarNe' from JSON`,
|
|
7238
|
+
);
|
|
7239
|
+
}
|
|
7240
|
+
|
|
7241
|
+
/** @internal */
|
|
7242
|
+
export const OneDollarNe$inboundSchema: z.ZodType<
|
|
7243
|
+
OneDollarNe,
|
|
7244
|
+
z.ZodTypeDef,
|
|
7245
|
+
unknown
|
|
7246
|
+
> = z.object({
|
|
7247
|
+
$ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
7248
|
+
}).transform((v) => {
|
|
7249
|
+
return remap$(v, {
|
|
7250
|
+
"$ne": "dollarNe",
|
|
7251
|
+
});
|
|
7252
|
+
});
|
|
7253
|
+
|
|
7254
|
+
/** @internal */
|
|
7255
|
+
export type OneDollarNe$Outbound = {
|
|
7256
|
+
$ne: string | number | boolean;
|
|
7257
|
+
};
|
|
7258
|
+
|
|
7259
|
+
/** @internal */
|
|
7260
|
+
export const OneDollarNe$outboundSchema: z.ZodType<
|
|
7261
|
+
OneDollarNe$Outbound,
|
|
7262
|
+
z.ZodTypeDef,
|
|
7263
|
+
OneDollarNe
|
|
7264
|
+
> = z.object({
|
|
7265
|
+
dollarNe: z.union([z.string(), z.number(), z.boolean()]),
|
|
7266
|
+
}).transform((v) => {
|
|
7267
|
+
return remap$(v, {
|
|
7268
|
+
dollarNe: "$ne",
|
|
7269
|
+
});
|
|
7270
|
+
});
|
|
7271
|
+
|
|
7272
|
+
/**
|
|
7273
|
+
* @internal
|
|
7274
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7275
|
+
*/
|
|
7276
|
+
export namespace OneDollarNe$ {
|
|
7277
|
+
/** @deprecated use `OneDollarNe$inboundSchema` instead. */
|
|
7278
|
+
export const inboundSchema = OneDollarNe$inboundSchema;
|
|
7279
|
+
/** @deprecated use `OneDollarNe$outboundSchema` instead. */
|
|
7280
|
+
export const outboundSchema = OneDollarNe$outboundSchema;
|
|
7281
|
+
/** @deprecated use `OneDollarNe$Outbound` instead. */
|
|
7282
|
+
export type Outbound = OneDollarNe$Outbound;
|
|
7283
|
+
}
|
|
7284
|
+
|
|
7285
|
+
export function oneDollarNeToJSON(oneDollarNe: OneDollarNe): string {
|
|
7286
|
+
return JSON.stringify(OneDollarNe$outboundSchema.parse(oneDollarNe));
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7289
|
+
export function oneDollarNeFromJSON(
|
|
7290
|
+
jsonString: string,
|
|
7291
|
+
): SafeParseResult<OneDollarNe, SDKValidationError> {
|
|
7292
|
+
return safeParse(
|
|
7293
|
+
jsonString,
|
|
7294
|
+
(x) => OneDollarNe$inboundSchema.parse(JSON.parse(x)),
|
|
7295
|
+
`Failed to parse 'OneDollarNe' from JSON`,
|
|
7296
|
+
);
|
|
7297
|
+
}
|
|
7298
|
+
|
|
7299
|
+
/** @internal */
|
|
7300
|
+
export const DollarEq$inboundSchema: z.ZodType<
|
|
7301
|
+
DollarEq,
|
|
7302
|
+
z.ZodTypeDef,
|
|
7303
|
+
unknown
|
|
7304
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7305
|
+
|
|
7306
|
+
/** @internal */
|
|
7307
|
+
export type DollarEq$Outbound = string | number | boolean;
|
|
7308
|
+
|
|
7309
|
+
/** @internal */
|
|
7310
|
+
export const DollarEq$outboundSchema: z.ZodType<
|
|
7311
|
+
DollarEq$Outbound,
|
|
7312
|
+
z.ZodTypeDef,
|
|
7313
|
+
DollarEq
|
|
7314
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
7315
|
+
|
|
7316
|
+
/**
|
|
7317
|
+
* @internal
|
|
7318
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7319
|
+
*/
|
|
7320
|
+
export namespace DollarEq$ {
|
|
7321
|
+
/** @deprecated use `DollarEq$inboundSchema` instead. */
|
|
7322
|
+
export const inboundSchema = DollarEq$inboundSchema;
|
|
7323
|
+
/** @deprecated use `DollarEq$outboundSchema` instead. */
|
|
7324
|
+
export const outboundSchema = DollarEq$outboundSchema;
|
|
7325
|
+
/** @deprecated use `DollarEq$Outbound` instead. */
|
|
7326
|
+
export type Outbound = DollarEq$Outbound;
|
|
7327
|
+
}
|
|
7328
|
+
|
|
7329
|
+
export function dollarEqToJSON(dollarEq: DollarEq): string {
|
|
7330
|
+
return JSON.stringify(DollarEq$outboundSchema.parse(dollarEq));
|
|
7331
|
+
}
|
|
7332
|
+
|
|
7333
|
+
export function dollarEqFromJSON(
|
|
7334
|
+
jsonString: string,
|
|
7335
|
+
): SafeParseResult<DollarEq, SDKValidationError> {
|
|
7336
|
+
return safeParse(
|
|
7337
|
+
jsonString,
|
|
7338
|
+
(x) => DollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
7339
|
+
`Failed to parse 'DollarEq' from JSON`,
|
|
7340
|
+
);
|
|
7341
|
+
}
|
|
7342
|
+
|
|
7343
|
+
/** @internal */
|
|
7344
|
+
export const OneDollarEq$inboundSchema: z.ZodType<
|
|
7345
|
+
OneDollarEq,
|
|
7346
|
+
z.ZodTypeDef,
|
|
7347
|
+
unknown
|
|
7348
|
+
> = z.object({
|
|
7349
|
+
$eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
7350
|
+
}).transform((v) => {
|
|
7351
|
+
return remap$(v, {
|
|
7352
|
+
"$eq": "dollarEq",
|
|
7353
|
+
});
|
|
7354
|
+
});
|
|
7355
|
+
|
|
7356
|
+
/** @internal */
|
|
7357
|
+
export type OneDollarEq$Outbound = {
|
|
7358
|
+
$eq: string | number | boolean;
|
|
7359
|
+
};
|
|
7360
|
+
|
|
7361
|
+
/** @internal */
|
|
7362
|
+
export const OneDollarEq$outboundSchema: z.ZodType<
|
|
7363
|
+
OneDollarEq$Outbound,
|
|
7364
|
+
z.ZodTypeDef,
|
|
7365
|
+
OneDollarEq
|
|
7366
|
+
> = z.object({
|
|
7367
|
+
dollarEq: z.union([z.string(), z.number(), z.boolean()]),
|
|
7368
|
+
}).transform((v) => {
|
|
7369
|
+
return remap$(v, {
|
|
7370
|
+
dollarEq: "$eq",
|
|
7371
|
+
});
|
|
7372
|
+
});
|
|
7373
|
+
|
|
7374
|
+
/**
|
|
7375
|
+
* @internal
|
|
7376
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7377
|
+
*/
|
|
7378
|
+
export namespace OneDollarEq$ {
|
|
7379
|
+
/** @deprecated use `OneDollarEq$inboundSchema` instead. */
|
|
7380
|
+
export const inboundSchema = OneDollarEq$inboundSchema;
|
|
7381
|
+
/** @deprecated use `OneDollarEq$outboundSchema` instead. */
|
|
7382
|
+
export const outboundSchema = OneDollarEq$outboundSchema;
|
|
7383
|
+
/** @deprecated use `OneDollarEq$Outbound` instead. */
|
|
7384
|
+
export type Outbound = OneDollarEq$Outbound;
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7387
|
+
export function oneDollarEqToJSON(oneDollarEq: OneDollarEq): string {
|
|
7388
|
+
return JSON.stringify(OneDollarEq$outboundSchema.parse(oneDollarEq));
|
|
7389
|
+
}
|
|
7390
|
+
|
|
7391
|
+
export function oneDollarEqFromJSON(
|
|
7392
|
+
jsonString: string,
|
|
7393
|
+
): SafeParseResult<OneDollarEq, SDKValidationError> {
|
|
7394
|
+
return safeParse(
|
|
7395
|
+
jsonString,
|
|
7396
|
+
(x) => OneDollarEq$inboundSchema.parse(JSON.parse(x)),
|
|
7397
|
+
`Failed to parse 'OneDollarEq' from JSON`,
|
|
7398
|
+
);
|
|
7399
|
+
}
|
|
7400
|
+
|
|
7401
|
+
/** @internal */
|
|
7402
|
+
export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z.union(
|
|
7403
|
+
[
|
|
7404
|
+
z.lazy(() => OneDollarEq$inboundSchema),
|
|
7405
|
+
z.lazy(() => OneDollarNe$inboundSchema),
|
|
7406
|
+
z.lazy(() => Three$inboundSchema),
|
|
7407
|
+
z.lazy(() => DollarGte$inboundSchema),
|
|
7408
|
+
z.lazy(() => DollarLt$inboundSchema),
|
|
7409
|
+
z.lazy(() => DollarLte$inboundSchema),
|
|
7410
|
+
z.lazy(() => OneDollarIn$inboundSchema),
|
|
7411
|
+
z.lazy(() => OneDollarNin$inboundSchema),
|
|
7412
|
+
z.lazy(() => DollarExists$inboundSchema),
|
|
7413
|
+
],
|
|
7414
|
+
);
|
|
7415
|
+
|
|
7416
|
+
/** @internal */
|
|
7417
|
+
export type One$Outbound =
|
|
7418
|
+
| OneDollarEq$Outbound
|
|
7419
|
+
| OneDollarNe$Outbound
|
|
7420
|
+
| Three$Outbound
|
|
7421
|
+
| DollarGte$Outbound
|
|
7422
|
+
| DollarLt$Outbound
|
|
7423
|
+
| DollarLte$Outbound
|
|
7424
|
+
| OneDollarIn$Outbound
|
|
7425
|
+
| OneDollarNin$Outbound
|
|
7426
|
+
| DollarExists$Outbound;
|
|
7427
|
+
|
|
7428
|
+
/** @internal */
|
|
7429
|
+
export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
7430
|
+
.union([
|
|
7431
|
+
z.lazy(() => OneDollarEq$outboundSchema),
|
|
7432
|
+
z.lazy(() => OneDollarNe$outboundSchema),
|
|
7433
|
+
z.lazy(() => Three$outboundSchema),
|
|
7434
|
+
z.lazy(() => DollarGte$outboundSchema),
|
|
7435
|
+
z.lazy(() => DollarLt$outboundSchema),
|
|
7436
|
+
z.lazy(() => DollarLte$outboundSchema),
|
|
7437
|
+
z.lazy(() => OneDollarIn$outboundSchema),
|
|
7438
|
+
z.lazy(() => OneDollarNin$outboundSchema),
|
|
7439
|
+
z.lazy(() => DollarExists$outboundSchema),
|
|
7440
|
+
]);
|
|
7441
|
+
|
|
7442
|
+
/**
|
|
7443
|
+
* @internal
|
|
7444
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7445
|
+
*/
|
|
7446
|
+
export namespace One$ {
|
|
7447
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
7448
|
+
export const inboundSchema = One$inboundSchema;
|
|
7449
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
7450
|
+
export const outboundSchema = One$outboundSchema;
|
|
7451
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
7452
|
+
export type Outbound = One$Outbound;
|
|
7453
|
+
}
|
|
7454
|
+
|
|
7455
|
+
export function oneToJSON(one: One): string {
|
|
7456
|
+
return JSON.stringify(One$outboundSchema.parse(one));
|
|
7457
|
+
}
|
|
7458
|
+
|
|
7459
|
+
export function oneFromJSON(
|
|
7460
|
+
jsonString: string,
|
|
7461
|
+
): SafeParseResult<One, SDKValidationError> {
|
|
7462
|
+
return safeParse(
|
|
7463
|
+
jsonString,
|
|
7464
|
+
(x) => One$inboundSchema.parse(JSON.parse(x)),
|
|
7465
|
+
`Failed to parse 'One' from JSON`,
|
|
7466
|
+
);
|
|
7467
|
+
}
|
|
7468
|
+
|
|
7469
|
+
/** @internal */
|
|
7470
|
+
export const KnowledgeFilter$inboundSchema: z.ZodType<
|
|
7471
|
+
KnowledgeFilter,
|
|
7472
|
+
z.ZodTypeDef,
|
|
7473
|
+
unknown
|
|
7474
|
+
> = z.union([
|
|
7475
|
+
z.lazy(() => KnowledgeFilterDollarAnd$inboundSchema),
|
|
7476
|
+
z.lazy(() => KnowledgeFilterDollarOr$inboundSchema),
|
|
7477
|
+
z.record(z.union([
|
|
7478
|
+
z.lazy(() => OneDollarEq$inboundSchema),
|
|
7479
|
+
z.lazy(() => OneDollarNe$inboundSchema),
|
|
7480
|
+
z.lazy(() => Three$inboundSchema),
|
|
7481
|
+
z.lazy(() => DollarGte$inboundSchema),
|
|
7482
|
+
z.lazy(() => DollarLt$inboundSchema),
|
|
7483
|
+
z.lazy(() => DollarLte$inboundSchema),
|
|
7484
|
+
z.lazy(() => OneDollarIn$inboundSchema),
|
|
7485
|
+
z.lazy(() => OneDollarNin$inboundSchema),
|
|
7486
|
+
z.lazy(() => DollarExists$inboundSchema),
|
|
7487
|
+
])),
|
|
7488
|
+
]);
|
|
7489
|
+
|
|
7490
|
+
/** @internal */
|
|
7491
|
+
export type KnowledgeFilter$Outbound =
|
|
7492
|
+
| KnowledgeFilterDollarAnd$Outbound
|
|
7493
|
+
| KnowledgeFilterDollarOr$Outbound
|
|
7494
|
+
| {
|
|
7495
|
+
[k: string]:
|
|
7496
|
+
| OneDollarEq$Outbound
|
|
7497
|
+
| OneDollarNe$Outbound
|
|
7498
|
+
| Three$Outbound
|
|
7499
|
+
| DollarGte$Outbound
|
|
7500
|
+
| DollarLt$Outbound
|
|
7501
|
+
| DollarLte$Outbound
|
|
7502
|
+
| OneDollarIn$Outbound
|
|
7503
|
+
| OneDollarNin$Outbound
|
|
7504
|
+
| DollarExists$Outbound;
|
|
7505
|
+
};
|
|
7506
|
+
|
|
7507
|
+
/** @internal */
|
|
7508
|
+
export const KnowledgeFilter$outboundSchema: z.ZodType<
|
|
7509
|
+
KnowledgeFilter$Outbound,
|
|
7510
|
+
z.ZodTypeDef,
|
|
7511
|
+
KnowledgeFilter
|
|
7512
|
+
> = z.union([
|
|
7513
|
+
z.lazy(() => KnowledgeFilterDollarAnd$outboundSchema),
|
|
7514
|
+
z.lazy(() => KnowledgeFilterDollarOr$outboundSchema),
|
|
7515
|
+
z.record(z.union([
|
|
7516
|
+
z.lazy(() => OneDollarEq$outboundSchema),
|
|
7517
|
+
z.lazy(() => OneDollarNe$outboundSchema),
|
|
7518
|
+
z.lazy(() => Three$outboundSchema),
|
|
7519
|
+
z.lazy(() => DollarGte$outboundSchema),
|
|
7520
|
+
z.lazy(() => DollarLt$outboundSchema),
|
|
7521
|
+
z.lazy(() => DollarLte$outboundSchema),
|
|
7522
|
+
z.lazy(() => OneDollarIn$outboundSchema),
|
|
7523
|
+
z.lazy(() => OneDollarNin$outboundSchema),
|
|
7524
|
+
z.lazy(() => DollarExists$outboundSchema),
|
|
7525
|
+
])),
|
|
7526
|
+
]);
|
|
7527
|
+
|
|
7528
|
+
/**
|
|
7529
|
+
* @internal
|
|
7530
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
7531
|
+
*/
|
|
7532
|
+
export namespace KnowledgeFilter$ {
|
|
7533
|
+
/** @deprecated use `KnowledgeFilter$inboundSchema` instead. */
|
|
7534
|
+
export const inboundSchema = KnowledgeFilter$inboundSchema;
|
|
7535
|
+
/** @deprecated use `KnowledgeFilter$outboundSchema` instead. */
|
|
7536
|
+
export const outboundSchema = KnowledgeFilter$outboundSchema;
|
|
7537
|
+
/** @deprecated use `KnowledgeFilter$Outbound` instead. */
|
|
7538
|
+
export type Outbound = KnowledgeFilter$Outbound;
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7541
|
+
export function knowledgeFilterToJSON(
|
|
7542
|
+
knowledgeFilter: KnowledgeFilter,
|
|
7543
|
+
): string {
|
|
7544
|
+
return JSON.stringify(KnowledgeFilter$outboundSchema.parse(knowledgeFilter));
|
|
7545
|
+
}
|
|
7546
|
+
|
|
7547
|
+
export function knowledgeFilterFromJSON(
|
|
7548
|
+
jsonString: string,
|
|
7549
|
+
): SafeParseResult<KnowledgeFilter, SDKValidationError> {
|
|
7550
|
+
return safeParse(
|
|
7551
|
+
jsonString,
|
|
7552
|
+
(x) => KnowledgeFilter$inboundSchema.parse(JSON.parse(x)),
|
|
7553
|
+
`Failed to parse 'KnowledgeFilter' from JSON`,
|
|
7554
|
+
);
|
|
7555
|
+
}
|
|
7556
|
+
|
|
7557
|
+
/** @internal */
|
|
7558
|
+
export const Deployments$inboundSchema: z.ZodType<
|
|
7559
|
+
Deployments,
|
|
7560
|
+
z.ZodTypeDef,
|
|
7561
|
+
unknown
|
|
7562
|
+
> = z.object({
|
|
7563
|
+
key: z.string(),
|
|
7564
|
+
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
7565
|
+
context: z.record(z.any()).optional(),
|
|
7566
|
+
prefix_messages: z.array(
|
|
7567
|
+
z.union([
|
|
7568
|
+
z.lazy(() => DeveloperMessage$inboundSchema),
|
|
7569
|
+
z.lazy(() => SystemMessage$inboundSchema),
|
|
7570
|
+
z.lazy(() => UserMessage$inboundSchema),
|
|
7571
|
+
z.lazy(() => ToolMessage$inboundSchema),
|
|
7572
|
+
z.lazy(() => AssistantMessage$inboundSchema),
|
|
7573
|
+
]),
|
|
7574
|
+
).optional(),
|
|
7575
|
+
messages: z.array(
|
|
7576
|
+
z.union([
|
|
7577
|
+
z.lazy(() => MessagesDeveloperMessage$inboundSchema),
|
|
7578
|
+
z.lazy(() => MessagesSystemMessage$inboundSchema),
|
|
7579
|
+
z.lazy(() => MessagesUserMessage$inboundSchema),
|
|
7580
|
+
z.lazy(() => MessagesToolMessage$inboundSchema),
|
|
7581
|
+
z.lazy(() => MessagesAssistantMessage$inboundSchema),
|
|
7582
|
+
]),
|
|
7583
|
+
).optional(),
|
|
7584
|
+
file_ids: z.array(z.string()).optional(),
|
|
7585
|
+
metadata: z.record(z.any()).optional(),
|
|
7586
|
+
extra_params: z.record(z.any()).optional(),
|
|
7587
|
+
documents: z.array(z.lazy(() => Documents$inboundSchema)).optional(),
|
|
7588
|
+
invoke_options: z.lazy(() => InvokeOptions$inboundSchema).optional(),
|
|
7589
|
+
thread: z.lazy(() => Thread$inboundSchema).optional(),
|
|
7590
|
+
knowledge_filter: z.union([
|
|
7591
|
+
z.lazy(() => KnowledgeFilterDollarAnd$inboundSchema),
|
|
7592
|
+
z.lazy(() => KnowledgeFilterDollarOr$inboundSchema),
|
|
7593
|
+
z.record(
|
|
7594
|
+
z.union([
|
|
7595
|
+
z.lazy(() => OneDollarEq$inboundSchema),
|
|
7596
|
+
z.lazy(() => OneDollarNe$inboundSchema),
|
|
7597
|
+
z.lazy(() => Three$inboundSchema),
|
|
7598
|
+
z.lazy(() => DollarGte$inboundSchema),
|
|
7599
|
+
z.lazy(() => DollarLt$inboundSchema),
|
|
7600
|
+
z.lazy(() => DollarLte$inboundSchema),
|
|
7601
|
+
z.lazy(() => OneDollarIn$inboundSchema),
|
|
7602
|
+
z.lazy(() => OneDollarNin$inboundSchema),
|
|
7603
|
+
z.lazy(() => DollarExists$inboundSchema),
|
|
7604
|
+
]),
|
|
7605
|
+
),
|
|
7606
|
+
]).optional(),
|
|
7607
|
+
}).transform((v) => {
|
|
7608
|
+
return remap$(v, {
|
|
7609
|
+
"prefix_messages": "prefixMessages",
|
|
7610
|
+
"file_ids": "fileIds",
|
|
7611
|
+
"extra_params": "extraParams",
|
|
7612
|
+
"invoke_options": "invokeOptions",
|
|
7613
|
+
"knowledge_filter": "knowledgeFilter",
|
|
7614
|
+
});
|
|
7615
|
+
});
|
|
7616
|
+
|
|
7617
|
+
/** @internal */
|
|
7618
|
+
export type Deployments$Outbound = {
|
|
7619
|
+
key: string;
|
|
7620
|
+
inputs?: { [k: string]: string | number | boolean } | undefined;
|
|
7621
|
+
context?: { [k: string]: any } | undefined;
|
|
7622
|
+
prefix_messages?:
|
|
7623
|
+
| Array<
|
|
7624
|
+
| DeveloperMessage$Outbound
|
|
7625
|
+
| SystemMessage$Outbound
|
|
7626
|
+
| UserMessage$Outbound
|
|
7627
|
+
| ToolMessage$Outbound
|
|
7628
|
+
| AssistantMessage$Outbound
|
|
7629
|
+
>
|
|
7630
|
+
| undefined;
|
|
7631
|
+
messages?:
|
|
7632
|
+
| Array<
|
|
7633
|
+
| MessagesDeveloperMessage$Outbound
|
|
7634
|
+
| MessagesSystemMessage$Outbound
|
|
7635
|
+
| MessagesUserMessage$Outbound
|
|
7636
|
+
| MessagesToolMessage$Outbound
|
|
7637
|
+
| MessagesAssistantMessage$Outbound
|
|
7638
|
+
>
|
|
7639
|
+
| undefined;
|
|
7640
|
+
file_ids?: Array<string> | undefined;
|
|
7641
|
+
metadata?: { [k: string]: any } | undefined;
|
|
7642
|
+
extra_params?: { [k: string]: any } | undefined;
|
|
7643
|
+
documents?: Array<Documents$Outbound> | undefined;
|
|
7644
|
+
invoke_options?: InvokeOptions$Outbound | undefined;
|
|
7645
|
+
thread?: Thread$Outbound | undefined;
|
|
7646
|
+
knowledge_filter?:
|
|
7647
|
+
| KnowledgeFilterDollarAnd$Outbound
|
|
7648
|
+
| KnowledgeFilterDollarOr$Outbound
|
|
7649
|
+
| {
|
|
7650
|
+
[k: string]:
|
|
7651
|
+
| OneDollarEq$Outbound
|
|
7652
|
+
| OneDollarNe$Outbound
|
|
7653
|
+
| Three$Outbound
|
|
7654
|
+
| DollarGte$Outbound
|
|
7655
|
+
| DollarLt$Outbound
|
|
7656
|
+
| DollarLte$Outbound
|
|
7657
|
+
| OneDollarIn$Outbound
|
|
7658
|
+
| OneDollarNin$Outbound
|
|
7659
|
+
| DollarExists$Outbound;
|
|
7660
|
+
}
|
|
7661
|
+
| undefined;
|
|
7662
|
+
};
|
|
7663
|
+
|
|
7664
|
+
/** @internal */
|
|
7665
|
+
export const Deployments$outboundSchema: z.ZodType<
|
|
7666
|
+
Deployments$Outbound,
|
|
7667
|
+
z.ZodTypeDef,
|
|
7668
|
+
Deployments
|
|
4592
7669
|
> = z.object({
|
|
4593
7670
|
key: z.string(),
|
|
4594
7671
|
inputs: z.record(z.union([z.string(), z.number(), z.boolean()])).optional(),
|
|
@@ -4617,12 +7694,30 @@ export const Deployments$outboundSchema: z.ZodType<
|
|
|
4617
7694
|
documents: z.array(z.lazy(() => Documents$outboundSchema)).optional(),
|
|
4618
7695
|
invokeOptions: z.lazy(() => InvokeOptions$outboundSchema).optional(),
|
|
4619
7696
|
thread: z.lazy(() => Thread$outboundSchema).optional(),
|
|
7697
|
+
knowledgeFilter: z.union([
|
|
7698
|
+
z.lazy(() => KnowledgeFilterDollarAnd$outboundSchema),
|
|
7699
|
+
z.lazy(() => KnowledgeFilterDollarOr$outboundSchema),
|
|
7700
|
+
z.record(
|
|
7701
|
+
z.union([
|
|
7702
|
+
z.lazy(() => OneDollarEq$outboundSchema),
|
|
7703
|
+
z.lazy(() => OneDollarNe$outboundSchema),
|
|
7704
|
+
z.lazy(() => Three$outboundSchema),
|
|
7705
|
+
z.lazy(() => DollarGte$outboundSchema),
|
|
7706
|
+
z.lazy(() => DollarLt$outboundSchema),
|
|
7707
|
+
z.lazy(() => DollarLte$outboundSchema),
|
|
7708
|
+
z.lazy(() => OneDollarIn$outboundSchema),
|
|
7709
|
+
z.lazy(() => OneDollarNin$outboundSchema),
|
|
7710
|
+
z.lazy(() => DollarExists$outboundSchema),
|
|
7711
|
+
]),
|
|
7712
|
+
),
|
|
7713
|
+
]).optional(),
|
|
4620
7714
|
}).transform((v) => {
|
|
4621
7715
|
return remap$(v, {
|
|
4622
7716
|
prefixMessages: "prefix_messages",
|
|
4623
7717
|
fileIds: "file_ids",
|
|
4624
7718
|
extraParams: "extra_params",
|
|
4625
7719
|
invokeOptions: "invoke_options",
|
|
7720
|
+
knowledgeFilter: "knowledge_filter",
|
|
4626
7721
|
});
|
|
4627
7722
|
});
|
|
4628
7723
|
|