@aws/nx-plugin 0.55.1 → 0.55.2
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/LICENSE-THIRD-PARTY +13 -64
- package/package.json +1 -1
- package/src/open-api/ts-client/__snapshots__/generator.fast-api.spec.ts.snap +1302 -0
- package/src/open-api/ts-client/__snapshots__/generator.reserved-keywords.spec.ts.snap +576 -576
- package/src/open-api/utils/normalise.js +48 -0
- package/src/open-api/utils/normalise.js.map +1 -1
- package/src/utils/versions.d.ts +3 -1
- package/src/utils/versions.js +2 -0
- package/src/utils/versions.js.map +1 -1
|
@@ -729,7 +729,39 @@ export class TestApi {
|
|
|
729
729
|
`;
|
|
730
730
|
|
|
731
731
|
exports[`openApiTsClientGenerator - reserved keywords > should handle reserved language keywords 1`] = `
|
|
732
|
-
"export type
|
|
732
|
+
"export type As = {};
|
|
733
|
+
export type Async = {};
|
|
734
|
+
export type Await = {};
|
|
735
|
+
export type Break = {};
|
|
736
|
+
export type Case = {};
|
|
737
|
+
export type Catch = {};
|
|
738
|
+
export type Class = {};
|
|
739
|
+
export type Const = {};
|
|
740
|
+
export type Continue = {};
|
|
741
|
+
export type Default = {};
|
|
742
|
+
export type Do = {};
|
|
743
|
+
export type Else = {};
|
|
744
|
+
export type Enum = {};
|
|
745
|
+
export type Export = {};
|
|
746
|
+
export type Extends = {};
|
|
747
|
+
export type False = {};
|
|
748
|
+
export type Finally = {};
|
|
749
|
+
export type For = {};
|
|
750
|
+
export type From = {};
|
|
751
|
+
export type _Function = {};
|
|
752
|
+
export type If = {};
|
|
753
|
+
export type Implements = {};
|
|
754
|
+
export type Import = {};
|
|
755
|
+
export type In = {};
|
|
756
|
+
export type Instanceof = {};
|
|
757
|
+
export type Interface = {};
|
|
758
|
+
export type Let = {};
|
|
759
|
+
export type Module = {};
|
|
760
|
+
export type Namespace = {};
|
|
761
|
+
export type New = {};
|
|
762
|
+
export type Null = {};
|
|
763
|
+
export type Of = {};
|
|
764
|
+
export type ReservedProperties = {
|
|
733
765
|
for?: string;
|
|
734
766
|
while: string;
|
|
735
767
|
if: string;
|
|
@@ -777,34 +809,6 @@ exports[`openApiTsClientGenerator - reserved keywords > should handle reserved l
|
|
|
777
809
|
true?: string;
|
|
778
810
|
false?: string;
|
|
779
811
|
};
|
|
780
|
-
export type Async = {};
|
|
781
|
-
export type Await = {};
|
|
782
|
-
export type Break = {};
|
|
783
|
-
export type Case = {};
|
|
784
|
-
export type Catch = {};
|
|
785
|
-
export type Class = {};
|
|
786
|
-
export type Const = {};
|
|
787
|
-
export type Continue = {};
|
|
788
|
-
export type Default = {};
|
|
789
|
-
export type Do = {};
|
|
790
|
-
export type Else = {};
|
|
791
|
-
export type Enum = {};
|
|
792
|
-
export type Export = {};
|
|
793
|
-
export type Extends = {};
|
|
794
|
-
export type False = {};
|
|
795
|
-
export type Finally = {};
|
|
796
|
-
export type For = {};
|
|
797
|
-
export type From = {};
|
|
798
|
-
export type _Function = {};
|
|
799
|
-
export type If = {};
|
|
800
|
-
export type Implements = {};
|
|
801
|
-
export type Import = {};
|
|
802
|
-
export type In = {};
|
|
803
|
-
export type Instanceof = {};
|
|
804
|
-
export type Interface = {};
|
|
805
|
-
export type Let = {};
|
|
806
|
-
export type New = {};
|
|
807
|
-
export type Null = {};
|
|
808
812
|
export type Return = {};
|
|
809
813
|
export type Super = {};
|
|
810
814
|
export type Switch = {};
|
|
@@ -812,17 +816,13 @@ export type This = {};
|
|
|
812
816
|
export type Throw = {};
|
|
813
817
|
export type True = {};
|
|
814
818
|
export type Try = {};
|
|
819
|
+
export type Type = {};
|
|
815
820
|
export type Typeof = {};
|
|
821
|
+
export type Undefined = {};
|
|
816
822
|
export type Var = {};
|
|
817
823
|
export type While = {};
|
|
818
824
|
export type With = {};
|
|
819
825
|
export type Yield = {};
|
|
820
|
-
export type As = {};
|
|
821
|
-
export type Module = {};
|
|
822
|
-
export type Namespace = {};
|
|
823
|
-
export type Of = {};
|
|
824
|
-
export type Type = {};
|
|
825
|
-
export type Undefined = {};
|
|
826
826
|
|
|
827
827
|
export type OpRequest = ReservedProperties;
|
|
828
828
|
export type OpError = never;
|
|
@@ -831,7 +831,7 @@ export type OpError = never;
|
|
|
831
831
|
|
|
832
832
|
exports[`openApiTsClientGenerator - reserved keywords > should handle reserved language keywords 2`] = `
|
|
833
833
|
"import type {
|
|
834
|
-
|
|
834
|
+
As,
|
|
835
835
|
Async,
|
|
836
836
|
Await,
|
|
837
837
|
Break,
|
|
@@ -858,8 +858,12 @@ exports[`openApiTsClientGenerator - reserved keywords > should handle reserved l
|
|
|
858
858
|
Instanceof,
|
|
859
859
|
Interface,
|
|
860
860
|
Let,
|
|
861
|
+
Module,
|
|
862
|
+
Namespace,
|
|
861
863
|
New,
|
|
862
864
|
Null,
|
|
865
|
+
Of,
|
|
866
|
+
ReservedProperties,
|
|
863
867
|
Return,
|
|
864
868
|
Super,
|
|
865
869
|
Switch,
|
|
@@ -867,17 +871,13 @@ exports[`openApiTsClientGenerator - reserved keywords > should handle reserved l
|
|
|
867
871
|
Throw,
|
|
868
872
|
True,
|
|
869
873
|
Try,
|
|
874
|
+
Type,
|
|
870
875
|
Typeof,
|
|
876
|
+
Undefined,
|
|
871
877
|
Var,
|
|
872
878
|
While,
|
|
873
879
|
With,
|
|
874
880
|
Yield,
|
|
875
|
-
As,
|
|
876
|
-
Module,
|
|
877
|
-
Namespace,
|
|
878
|
-
Of,
|
|
879
|
-
Type,
|
|
880
|
-
Undefined,
|
|
881
881
|
OpRequest,
|
|
882
882
|
} from './types.gen.js';
|
|
883
883
|
|
|
@@ -888,464 +888,18 @@ export class $IO {
|
|
|
888
888
|
protected static $mapValues = (data: any, fn: (item: any) => any) =>
|
|
889
889
|
Object.fromEntries(Object.entries(data).map(([k, v]) => [k, fn(v)]));
|
|
890
890
|
|
|
891
|
-
public static
|
|
892
|
-
toJson: (model:
|
|
891
|
+
public static As = {
|
|
892
|
+
toJson: (model: As): any => {
|
|
893
893
|
if (model === undefined || model === null) {
|
|
894
894
|
return model;
|
|
895
895
|
}
|
|
896
|
-
return {
|
|
897
|
-
...(model.for === undefined
|
|
898
|
-
? {}
|
|
899
|
-
: {
|
|
900
|
-
for: model.for,
|
|
901
|
-
}),
|
|
902
|
-
...(model.while === undefined
|
|
903
|
-
? {}
|
|
904
|
-
: {
|
|
905
|
-
while: model.while,
|
|
906
|
-
}),
|
|
907
|
-
...(model.if === undefined
|
|
908
|
-
? {}
|
|
909
|
-
: {
|
|
910
|
-
if: model.if,
|
|
911
|
-
}),
|
|
912
|
-
...(model.else === undefined
|
|
913
|
-
? {}
|
|
914
|
-
: {
|
|
915
|
-
else: model.else,
|
|
916
|
-
}),
|
|
917
|
-
...(model.function === undefined
|
|
918
|
-
? {}
|
|
919
|
-
: {
|
|
920
|
-
function: model.function,
|
|
921
|
-
}),
|
|
922
|
-
...(model.var === undefined
|
|
923
|
-
? {}
|
|
924
|
-
: {
|
|
925
|
-
var: model.var,
|
|
926
|
-
}),
|
|
927
|
-
...(model.let === undefined
|
|
928
|
-
? {}
|
|
929
|
-
: {
|
|
930
|
-
let: model.let,
|
|
931
|
-
}),
|
|
932
|
-
...(model.const === undefined
|
|
933
|
-
? {}
|
|
934
|
-
: {
|
|
935
|
-
const: model.const,
|
|
936
|
-
}),
|
|
937
|
-
...(model.return === undefined
|
|
938
|
-
? {}
|
|
939
|
-
: {
|
|
940
|
-
return: model.return,
|
|
941
|
-
}),
|
|
942
|
-
...(model.break === undefined
|
|
943
|
-
? {}
|
|
944
|
-
: {
|
|
945
|
-
break: model.break,
|
|
946
|
-
}),
|
|
947
|
-
...(model.continue === undefined
|
|
948
|
-
? {}
|
|
949
|
-
: {
|
|
950
|
-
continue: model.continue,
|
|
951
|
-
}),
|
|
952
|
-
...(model.switch === undefined
|
|
953
|
-
? {}
|
|
954
|
-
: {
|
|
955
|
-
switch: model.switch,
|
|
956
|
-
}),
|
|
957
|
-
...(model.case === undefined
|
|
958
|
-
? {}
|
|
959
|
-
: {
|
|
960
|
-
case: model.case,
|
|
961
|
-
}),
|
|
962
|
-
...(model.default === undefined
|
|
963
|
-
? {}
|
|
964
|
-
: {
|
|
965
|
-
default: model.default,
|
|
966
|
-
}),
|
|
967
|
-
...(model.try === undefined
|
|
968
|
-
? {}
|
|
969
|
-
: {
|
|
970
|
-
try: model.try,
|
|
971
|
-
}),
|
|
972
|
-
...(model.catch === undefined
|
|
973
|
-
? {}
|
|
974
|
-
: {
|
|
975
|
-
catch: model.catch,
|
|
976
|
-
}),
|
|
977
|
-
...(model.finally === undefined
|
|
978
|
-
? {}
|
|
979
|
-
: {
|
|
980
|
-
finally: model.finally,
|
|
981
|
-
}),
|
|
982
|
-
...(model.throw === undefined
|
|
983
|
-
? {}
|
|
984
|
-
: {
|
|
985
|
-
throw: model.throw,
|
|
986
|
-
}),
|
|
987
|
-
...(model.new === undefined
|
|
988
|
-
? {}
|
|
989
|
-
: {
|
|
990
|
-
new: model.new,
|
|
991
|
-
}),
|
|
992
|
-
...(model.this === undefined
|
|
993
|
-
? {}
|
|
994
|
-
: {
|
|
995
|
-
this: model.this,
|
|
996
|
-
}),
|
|
997
|
-
...(model.super === undefined
|
|
998
|
-
? {}
|
|
999
|
-
: {
|
|
1000
|
-
super: model.super,
|
|
1001
|
-
}),
|
|
1002
|
-
...(model.class === undefined
|
|
1003
|
-
? {}
|
|
1004
|
-
: {
|
|
1005
|
-
class: model.class,
|
|
1006
|
-
}),
|
|
1007
|
-
...(model.extends === undefined
|
|
1008
|
-
? {}
|
|
1009
|
-
: {
|
|
1010
|
-
extends: model.extends,
|
|
1011
|
-
}),
|
|
1012
|
-
...(model.implements === undefined
|
|
1013
|
-
? {}
|
|
1014
|
-
: {
|
|
1015
|
-
implements: model.implements,
|
|
1016
|
-
}),
|
|
1017
|
-
...(model.interface === undefined
|
|
1018
|
-
? {}
|
|
1019
|
-
: {
|
|
1020
|
-
interface: model.interface,
|
|
1021
|
-
}),
|
|
1022
|
-
...(model.enum === undefined
|
|
1023
|
-
? {}
|
|
1024
|
-
: {
|
|
1025
|
-
enum: model.enum,
|
|
1026
|
-
}),
|
|
1027
|
-
...(model.type === undefined
|
|
1028
|
-
? {}
|
|
1029
|
-
: {
|
|
1030
|
-
type: model.type,
|
|
1031
|
-
}),
|
|
1032
|
-
...(model.namespace === undefined
|
|
1033
|
-
? {}
|
|
1034
|
-
: {
|
|
1035
|
-
namespace: model.namespace,
|
|
1036
|
-
}),
|
|
1037
|
-
...(model.module === undefined
|
|
1038
|
-
? {}
|
|
1039
|
-
: {
|
|
1040
|
-
module: model.module,
|
|
1041
|
-
}),
|
|
1042
|
-
...(model.import === undefined
|
|
1043
|
-
? {}
|
|
1044
|
-
: {
|
|
1045
|
-
import: model.import,
|
|
1046
|
-
}),
|
|
1047
|
-
...(model.export === undefined
|
|
1048
|
-
? {}
|
|
1049
|
-
: {
|
|
1050
|
-
export: model.export,
|
|
1051
|
-
}),
|
|
1052
|
-
...(model.from === undefined
|
|
1053
|
-
? {}
|
|
1054
|
-
: {
|
|
1055
|
-
from: model.from,
|
|
1056
|
-
}),
|
|
1057
|
-
...(model.as === undefined
|
|
1058
|
-
? {}
|
|
1059
|
-
: {
|
|
1060
|
-
as: model.as,
|
|
1061
|
-
}),
|
|
1062
|
-
...(model.async === undefined
|
|
1063
|
-
? {}
|
|
1064
|
-
: {
|
|
1065
|
-
async: model.async,
|
|
1066
|
-
}),
|
|
1067
|
-
...(model.await === undefined
|
|
1068
|
-
? {}
|
|
1069
|
-
: {
|
|
1070
|
-
await: model.await,
|
|
1071
|
-
}),
|
|
1072
|
-
...(model.yield === undefined
|
|
1073
|
-
? {}
|
|
1074
|
-
: {
|
|
1075
|
-
yield: model.yield,
|
|
1076
|
-
}),
|
|
1077
|
-
...(model.typeof === undefined
|
|
1078
|
-
? {}
|
|
1079
|
-
: {
|
|
1080
|
-
typeof: model.typeof,
|
|
1081
|
-
}),
|
|
1082
|
-
...(model.instanceof === undefined
|
|
1083
|
-
? {}
|
|
1084
|
-
: {
|
|
1085
|
-
instanceof: model.instanceof,
|
|
1086
|
-
}),
|
|
1087
|
-
...(model.in === undefined
|
|
1088
|
-
? {}
|
|
1089
|
-
: {
|
|
1090
|
-
in: model.in,
|
|
1091
|
-
}),
|
|
1092
|
-
...(model.of === undefined
|
|
1093
|
-
? {}
|
|
1094
|
-
: {
|
|
1095
|
-
of: model.of,
|
|
1096
|
-
}),
|
|
1097
|
-
...(model.with === undefined
|
|
1098
|
-
? {}
|
|
1099
|
-
: {
|
|
1100
|
-
with: model.with,
|
|
1101
|
-
}),
|
|
1102
|
-
...(model.do === undefined
|
|
1103
|
-
? {}
|
|
1104
|
-
: {
|
|
1105
|
-
do: model.do,
|
|
1106
|
-
}),
|
|
1107
|
-
...(model.null === undefined
|
|
1108
|
-
? {}
|
|
1109
|
-
: {
|
|
1110
|
-
null: model.null,
|
|
1111
|
-
}),
|
|
1112
|
-
...(model.undefined === undefined
|
|
1113
|
-
? {}
|
|
1114
|
-
: {
|
|
1115
|
-
undefined: model.undefined,
|
|
1116
|
-
}),
|
|
1117
|
-
...(model.true === undefined
|
|
1118
|
-
? {}
|
|
1119
|
-
: {
|
|
1120
|
-
true: model.true,
|
|
1121
|
-
}),
|
|
1122
|
-
...(model.false === undefined
|
|
1123
|
-
? {}
|
|
1124
|
-
: {
|
|
1125
|
-
false: model.false,
|
|
1126
|
-
}),
|
|
1127
|
-
};
|
|
896
|
+
return {};
|
|
1128
897
|
},
|
|
1129
|
-
fromJson: (json: any):
|
|
898
|
+
fromJson: (json: any): As => {
|
|
1130
899
|
if (json === undefined || json === null) {
|
|
1131
900
|
return json;
|
|
1132
901
|
}
|
|
1133
|
-
return {
|
|
1134
|
-
...(json['for'] === undefined
|
|
1135
|
-
? {}
|
|
1136
|
-
: {
|
|
1137
|
-
for: json['for'],
|
|
1138
|
-
}),
|
|
1139
|
-
while: json['while'],
|
|
1140
|
-
if: json['if'],
|
|
1141
|
-
else: json['else'],
|
|
1142
|
-
function: json['function'],
|
|
1143
|
-
...(json['var'] === undefined
|
|
1144
|
-
? {}
|
|
1145
|
-
: {
|
|
1146
|
-
var: json['var'],
|
|
1147
|
-
}),
|
|
1148
|
-
...(json['let'] === undefined
|
|
1149
|
-
? {}
|
|
1150
|
-
: {
|
|
1151
|
-
let: json['let'],
|
|
1152
|
-
}),
|
|
1153
|
-
...(json['const'] === undefined
|
|
1154
|
-
? {}
|
|
1155
|
-
: {
|
|
1156
|
-
const: json['const'],
|
|
1157
|
-
}),
|
|
1158
|
-
...(json['return'] === undefined
|
|
1159
|
-
? {}
|
|
1160
|
-
: {
|
|
1161
|
-
return: json['return'],
|
|
1162
|
-
}),
|
|
1163
|
-
...(json['break'] === undefined
|
|
1164
|
-
? {}
|
|
1165
|
-
: {
|
|
1166
|
-
break: json['break'],
|
|
1167
|
-
}),
|
|
1168
|
-
...(json['continue'] === undefined
|
|
1169
|
-
? {}
|
|
1170
|
-
: {
|
|
1171
|
-
continue: json['continue'],
|
|
1172
|
-
}),
|
|
1173
|
-
...(json['switch'] === undefined
|
|
1174
|
-
? {}
|
|
1175
|
-
: {
|
|
1176
|
-
switch: json['switch'],
|
|
1177
|
-
}),
|
|
1178
|
-
...(json['case'] === undefined
|
|
1179
|
-
? {}
|
|
1180
|
-
: {
|
|
1181
|
-
case: json['case'],
|
|
1182
|
-
}),
|
|
1183
|
-
...(json['default'] === undefined
|
|
1184
|
-
? {}
|
|
1185
|
-
: {
|
|
1186
|
-
default: json['default'],
|
|
1187
|
-
}),
|
|
1188
|
-
...(json['try'] === undefined
|
|
1189
|
-
? {}
|
|
1190
|
-
: {
|
|
1191
|
-
try: json['try'],
|
|
1192
|
-
}),
|
|
1193
|
-
...(json['catch'] === undefined
|
|
1194
|
-
? {}
|
|
1195
|
-
: {
|
|
1196
|
-
catch: json['catch'],
|
|
1197
|
-
}),
|
|
1198
|
-
...(json['finally'] === undefined
|
|
1199
|
-
? {}
|
|
1200
|
-
: {
|
|
1201
|
-
finally: json['finally'],
|
|
1202
|
-
}),
|
|
1203
|
-
...(json['throw'] === undefined
|
|
1204
|
-
? {}
|
|
1205
|
-
: {
|
|
1206
|
-
throw: json['throw'],
|
|
1207
|
-
}),
|
|
1208
|
-
...(json['new'] === undefined
|
|
1209
|
-
? {}
|
|
1210
|
-
: {
|
|
1211
|
-
new: json['new'],
|
|
1212
|
-
}),
|
|
1213
|
-
...(json['this'] === undefined
|
|
1214
|
-
? {}
|
|
1215
|
-
: {
|
|
1216
|
-
this: json['this'],
|
|
1217
|
-
}),
|
|
1218
|
-
...(json['super'] === undefined
|
|
1219
|
-
? {}
|
|
1220
|
-
: {
|
|
1221
|
-
super: json['super'],
|
|
1222
|
-
}),
|
|
1223
|
-
...(json['class'] === undefined
|
|
1224
|
-
? {}
|
|
1225
|
-
: {
|
|
1226
|
-
class: json['class'],
|
|
1227
|
-
}),
|
|
1228
|
-
...(json['extends'] === undefined
|
|
1229
|
-
? {}
|
|
1230
|
-
: {
|
|
1231
|
-
extends: json['extends'],
|
|
1232
|
-
}),
|
|
1233
|
-
...(json['implements'] === undefined
|
|
1234
|
-
? {}
|
|
1235
|
-
: {
|
|
1236
|
-
implements: json['implements'],
|
|
1237
|
-
}),
|
|
1238
|
-
...(json['interface'] === undefined
|
|
1239
|
-
? {}
|
|
1240
|
-
: {
|
|
1241
|
-
interface: json['interface'],
|
|
1242
|
-
}),
|
|
1243
|
-
...(json['enum'] === undefined
|
|
1244
|
-
? {}
|
|
1245
|
-
: {
|
|
1246
|
-
enum: json['enum'],
|
|
1247
|
-
}),
|
|
1248
|
-
...(json['type'] === undefined
|
|
1249
|
-
? {}
|
|
1250
|
-
: {
|
|
1251
|
-
type: json['type'],
|
|
1252
|
-
}),
|
|
1253
|
-
...(json['namespace'] === undefined
|
|
1254
|
-
? {}
|
|
1255
|
-
: {
|
|
1256
|
-
namespace: json['namespace'],
|
|
1257
|
-
}),
|
|
1258
|
-
...(json['module'] === undefined
|
|
1259
|
-
? {}
|
|
1260
|
-
: {
|
|
1261
|
-
module: json['module'],
|
|
1262
|
-
}),
|
|
1263
|
-
...(json['import'] === undefined
|
|
1264
|
-
? {}
|
|
1265
|
-
: {
|
|
1266
|
-
import: json['import'],
|
|
1267
|
-
}),
|
|
1268
|
-
...(json['export'] === undefined
|
|
1269
|
-
? {}
|
|
1270
|
-
: {
|
|
1271
|
-
export: json['export'],
|
|
1272
|
-
}),
|
|
1273
|
-
...(json['from'] === undefined
|
|
1274
|
-
? {}
|
|
1275
|
-
: {
|
|
1276
|
-
from: json['from'],
|
|
1277
|
-
}),
|
|
1278
|
-
...(json['as'] === undefined
|
|
1279
|
-
? {}
|
|
1280
|
-
: {
|
|
1281
|
-
as: json['as'],
|
|
1282
|
-
}),
|
|
1283
|
-
...(json['async'] === undefined
|
|
1284
|
-
? {}
|
|
1285
|
-
: {
|
|
1286
|
-
async: json['async'],
|
|
1287
|
-
}),
|
|
1288
|
-
...(json['await'] === undefined
|
|
1289
|
-
? {}
|
|
1290
|
-
: {
|
|
1291
|
-
await: json['await'],
|
|
1292
|
-
}),
|
|
1293
|
-
...(json['yield'] === undefined
|
|
1294
|
-
? {}
|
|
1295
|
-
: {
|
|
1296
|
-
yield: json['yield'],
|
|
1297
|
-
}),
|
|
1298
|
-
...(json['typeof'] === undefined
|
|
1299
|
-
? {}
|
|
1300
|
-
: {
|
|
1301
|
-
typeof: json['typeof'],
|
|
1302
|
-
}),
|
|
1303
|
-
...(json['instanceof'] === undefined
|
|
1304
|
-
? {}
|
|
1305
|
-
: {
|
|
1306
|
-
instanceof: json['instanceof'],
|
|
1307
|
-
}),
|
|
1308
|
-
...(json['in'] === undefined
|
|
1309
|
-
? {}
|
|
1310
|
-
: {
|
|
1311
|
-
in: json['in'],
|
|
1312
|
-
}),
|
|
1313
|
-
...(json['of'] === undefined
|
|
1314
|
-
? {}
|
|
1315
|
-
: {
|
|
1316
|
-
of: json['of'],
|
|
1317
|
-
}),
|
|
1318
|
-
...(json['with'] === undefined
|
|
1319
|
-
? {}
|
|
1320
|
-
: {
|
|
1321
|
-
with: json['with'],
|
|
1322
|
-
}),
|
|
1323
|
-
...(json['do'] === undefined
|
|
1324
|
-
? {}
|
|
1325
|
-
: {
|
|
1326
|
-
do: json['do'],
|
|
1327
|
-
}),
|
|
1328
|
-
...(json['null'] === undefined
|
|
1329
|
-
? {}
|
|
1330
|
-
: {
|
|
1331
|
-
null: json['null'],
|
|
1332
|
-
}),
|
|
1333
|
-
...(json['undefined'] === undefined
|
|
1334
|
-
? {}
|
|
1335
|
-
: {
|
|
1336
|
-
undefined: json['undefined'],
|
|
1337
|
-
}),
|
|
1338
|
-
...(json['true'] === undefined
|
|
1339
|
-
? {}
|
|
1340
|
-
: {
|
|
1341
|
-
true: json['true'],
|
|
1342
|
-
}),
|
|
1343
|
-
...(json['false'] === undefined
|
|
1344
|
-
? {}
|
|
1345
|
-
: {
|
|
1346
|
-
false: json['false'],
|
|
1347
|
-
}),
|
|
1348
|
-
};
|
|
902
|
+
return {};
|
|
1349
903
|
},
|
|
1350
904
|
};
|
|
1351
905
|
|
|
@@ -1739,6 +1293,36 @@ export class $IO {
|
|
|
1739
1293
|
},
|
|
1740
1294
|
};
|
|
1741
1295
|
|
|
1296
|
+
public static Module = {
|
|
1297
|
+
toJson: (model: Module): any => {
|
|
1298
|
+
if (model === undefined || model === null) {
|
|
1299
|
+
return model;
|
|
1300
|
+
}
|
|
1301
|
+
return {};
|
|
1302
|
+
},
|
|
1303
|
+
fromJson: (json: any): Module => {
|
|
1304
|
+
if (json === undefined || json === null) {
|
|
1305
|
+
return json;
|
|
1306
|
+
}
|
|
1307
|
+
return {};
|
|
1308
|
+
},
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
public static Namespace = {
|
|
1312
|
+
toJson: (model: Namespace): any => {
|
|
1313
|
+
if (model === undefined || model === null) {
|
|
1314
|
+
return model;
|
|
1315
|
+
}
|
|
1316
|
+
return {};
|
|
1317
|
+
},
|
|
1318
|
+
fromJson: (json: any): Namespace => {
|
|
1319
|
+
if (json === undefined || json === null) {
|
|
1320
|
+
return json;
|
|
1321
|
+
}
|
|
1322
|
+
return {};
|
|
1323
|
+
},
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1742
1326
|
public static New = {
|
|
1743
1327
|
toJson: (model: New): any => {
|
|
1744
1328
|
if (model === undefined || model === null) {
|
|
@@ -1761,11 +1345,487 @@ export class $IO {
|
|
|
1761
1345
|
}
|
|
1762
1346
|
return {};
|
|
1763
1347
|
},
|
|
1764
|
-
fromJson: (json: any): Null => {
|
|
1348
|
+
fromJson: (json: any): Null => {
|
|
1349
|
+
if (json === undefined || json === null) {
|
|
1350
|
+
return json;
|
|
1351
|
+
}
|
|
1352
|
+
return {};
|
|
1353
|
+
},
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
public static Of = {
|
|
1357
|
+
toJson: (model: Of): any => {
|
|
1358
|
+
if (model === undefined || model === null) {
|
|
1359
|
+
return model;
|
|
1360
|
+
}
|
|
1361
|
+
return {};
|
|
1362
|
+
},
|
|
1363
|
+
fromJson: (json: any): Of => {
|
|
1364
|
+
if (json === undefined || json === null) {
|
|
1365
|
+
return json;
|
|
1366
|
+
}
|
|
1367
|
+
return {};
|
|
1368
|
+
},
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
public static ReservedProperties = {
|
|
1372
|
+
toJson: (model: ReservedProperties): any => {
|
|
1373
|
+
if (model === undefined || model === null) {
|
|
1374
|
+
return model;
|
|
1375
|
+
}
|
|
1376
|
+
return {
|
|
1377
|
+
...(model.for === undefined
|
|
1378
|
+
? {}
|
|
1379
|
+
: {
|
|
1380
|
+
for: model.for,
|
|
1381
|
+
}),
|
|
1382
|
+
...(model.while === undefined
|
|
1383
|
+
? {}
|
|
1384
|
+
: {
|
|
1385
|
+
while: model.while,
|
|
1386
|
+
}),
|
|
1387
|
+
...(model.if === undefined
|
|
1388
|
+
? {}
|
|
1389
|
+
: {
|
|
1390
|
+
if: model.if,
|
|
1391
|
+
}),
|
|
1392
|
+
...(model.else === undefined
|
|
1393
|
+
? {}
|
|
1394
|
+
: {
|
|
1395
|
+
else: model.else,
|
|
1396
|
+
}),
|
|
1397
|
+
...(model.function === undefined
|
|
1398
|
+
? {}
|
|
1399
|
+
: {
|
|
1400
|
+
function: model.function,
|
|
1401
|
+
}),
|
|
1402
|
+
...(model.var === undefined
|
|
1403
|
+
? {}
|
|
1404
|
+
: {
|
|
1405
|
+
var: model.var,
|
|
1406
|
+
}),
|
|
1407
|
+
...(model.let === undefined
|
|
1408
|
+
? {}
|
|
1409
|
+
: {
|
|
1410
|
+
let: model.let,
|
|
1411
|
+
}),
|
|
1412
|
+
...(model.const === undefined
|
|
1413
|
+
? {}
|
|
1414
|
+
: {
|
|
1415
|
+
const: model.const,
|
|
1416
|
+
}),
|
|
1417
|
+
...(model.return === undefined
|
|
1418
|
+
? {}
|
|
1419
|
+
: {
|
|
1420
|
+
return: model.return,
|
|
1421
|
+
}),
|
|
1422
|
+
...(model.break === undefined
|
|
1423
|
+
? {}
|
|
1424
|
+
: {
|
|
1425
|
+
break: model.break,
|
|
1426
|
+
}),
|
|
1427
|
+
...(model.continue === undefined
|
|
1428
|
+
? {}
|
|
1429
|
+
: {
|
|
1430
|
+
continue: model.continue,
|
|
1431
|
+
}),
|
|
1432
|
+
...(model.switch === undefined
|
|
1433
|
+
? {}
|
|
1434
|
+
: {
|
|
1435
|
+
switch: model.switch,
|
|
1436
|
+
}),
|
|
1437
|
+
...(model.case === undefined
|
|
1438
|
+
? {}
|
|
1439
|
+
: {
|
|
1440
|
+
case: model.case,
|
|
1441
|
+
}),
|
|
1442
|
+
...(model.default === undefined
|
|
1443
|
+
? {}
|
|
1444
|
+
: {
|
|
1445
|
+
default: model.default,
|
|
1446
|
+
}),
|
|
1447
|
+
...(model.try === undefined
|
|
1448
|
+
? {}
|
|
1449
|
+
: {
|
|
1450
|
+
try: model.try,
|
|
1451
|
+
}),
|
|
1452
|
+
...(model.catch === undefined
|
|
1453
|
+
? {}
|
|
1454
|
+
: {
|
|
1455
|
+
catch: model.catch,
|
|
1456
|
+
}),
|
|
1457
|
+
...(model.finally === undefined
|
|
1458
|
+
? {}
|
|
1459
|
+
: {
|
|
1460
|
+
finally: model.finally,
|
|
1461
|
+
}),
|
|
1462
|
+
...(model.throw === undefined
|
|
1463
|
+
? {}
|
|
1464
|
+
: {
|
|
1465
|
+
throw: model.throw,
|
|
1466
|
+
}),
|
|
1467
|
+
...(model.new === undefined
|
|
1468
|
+
? {}
|
|
1469
|
+
: {
|
|
1470
|
+
new: model.new,
|
|
1471
|
+
}),
|
|
1472
|
+
...(model.this === undefined
|
|
1473
|
+
? {}
|
|
1474
|
+
: {
|
|
1475
|
+
this: model.this,
|
|
1476
|
+
}),
|
|
1477
|
+
...(model.super === undefined
|
|
1478
|
+
? {}
|
|
1479
|
+
: {
|
|
1480
|
+
super: model.super,
|
|
1481
|
+
}),
|
|
1482
|
+
...(model.class === undefined
|
|
1483
|
+
? {}
|
|
1484
|
+
: {
|
|
1485
|
+
class: model.class,
|
|
1486
|
+
}),
|
|
1487
|
+
...(model.extends === undefined
|
|
1488
|
+
? {}
|
|
1489
|
+
: {
|
|
1490
|
+
extends: model.extends,
|
|
1491
|
+
}),
|
|
1492
|
+
...(model.implements === undefined
|
|
1493
|
+
? {}
|
|
1494
|
+
: {
|
|
1495
|
+
implements: model.implements,
|
|
1496
|
+
}),
|
|
1497
|
+
...(model.interface === undefined
|
|
1498
|
+
? {}
|
|
1499
|
+
: {
|
|
1500
|
+
interface: model.interface,
|
|
1501
|
+
}),
|
|
1502
|
+
...(model.enum === undefined
|
|
1503
|
+
? {}
|
|
1504
|
+
: {
|
|
1505
|
+
enum: model.enum,
|
|
1506
|
+
}),
|
|
1507
|
+
...(model.type === undefined
|
|
1508
|
+
? {}
|
|
1509
|
+
: {
|
|
1510
|
+
type: model.type,
|
|
1511
|
+
}),
|
|
1512
|
+
...(model.namespace === undefined
|
|
1513
|
+
? {}
|
|
1514
|
+
: {
|
|
1515
|
+
namespace: model.namespace,
|
|
1516
|
+
}),
|
|
1517
|
+
...(model.module === undefined
|
|
1518
|
+
? {}
|
|
1519
|
+
: {
|
|
1520
|
+
module: model.module,
|
|
1521
|
+
}),
|
|
1522
|
+
...(model.import === undefined
|
|
1523
|
+
? {}
|
|
1524
|
+
: {
|
|
1525
|
+
import: model.import,
|
|
1526
|
+
}),
|
|
1527
|
+
...(model.export === undefined
|
|
1528
|
+
? {}
|
|
1529
|
+
: {
|
|
1530
|
+
export: model.export,
|
|
1531
|
+
}),
|
|
1532
|
+
...(model.from === undefined
|
|
1533
|
+
? {}
|
|
1534
|
+
: {
|
|
1535
|
+
from: model.from,
|
|
1536
|
+
}),
|
|
1537
|
+
...(model.as === undefined
|
|
1538
|
+
? {}
|
|
1539
|
+
: {
|
|
1540
|
+
as: model.as,
|
|
1541
|
+
}),
|
|
1542
|
+
...(model.async === undefined
|
|
1543
|
+
? {}
|
|
1544
|
+
: {
|
|
1545
|
+
async: model.async,
|
|
1546
|
+
}),
|
|
1547
|
+
...(model.await === undefined
|
|
1548
|
+
? {}
|
|
1549
|
+
: {
|
|
1550
|
+
await: model.await,
|
|
1551
|
+
}),
|
|
1552
|
+
...(model.yield === undefined
|
|
1553
|
+
? {}
|
|
1554
|
+
: {
|
|
1555
|
+
yield: model.yield,
|
|
1556
|
+
}),
|
|
1557
|
+
...(model.typeof === undefined
|
|
1558
|
+
? {}
|
|
1559
|
+
: {
|
|
1560
|
+
typeof: model.typeof,
|
|
1561
|
+
}),
|
|
1562
|
+
...(model.instanceof === undefined
|
|
1563
|
+
? {}
|
|
1564
|
+
: {
|
|
1565
|
+
instanceof: model.instanceof,
|
|
1566
|
+
}),
|
|
1567
|
+
...(model.in === undefined
|
|
1568
|
+
? {}
|
|
1569
|
+
: {
|
|
1570
|
+
in: model.in,
|
|
1571
|
+
}),
|
|
1572
|
+
...(model.of === undefined
|
|
1573
|
+
? {}
|
|
1574
|
+
: {
|
|
1575
|
+
of: model.of,
|
|
1576
|
+
}),
|
|
1577
|
+
...(model.with === undefined
|
|
1578
|
+
? {}
|
|
1579
|
+
: {
|
|
1580
|
+
with: model.with,
|
|
1581
|
+
}),
|
|
1582
|
+
...(model.do === undefined
|
|
1583
|
+
? {}
|
|
1584
|
+
: {
|
|
1585
|
+
do: model.do,
|
|
1586
|
+
}),
|
|
1587
|
+
...(model.null === undefined
|
|
1588
|
+
? {}
|
|
1589
|
+
: {
|
|
1590
|
+
null: model.null,
|
|
1591
|
+
}),
|
|
1592
|
+
...(model.undefined === undefined
|
|
1593
|
+
? {}
|
|
1594
|
+
: {
|
|
1595
|
+
undefined: model.undefined,
|
|
1596
|
+
}),
|
|
1597
|
+
...(model.true === undefined
|
|
1598
|
+
? {}
|
|
1599
|
+
: {
|
|
1600
|
+
true: model.true,
|
|
1601
|
+
}),
|
|
1602
|
+
...(model.false === undefined
|
|
1603
|
+
? {}
|
|
1604
|
+
: {
|
|
1605
|
+
false: model.false,
|
|
1606
|
+
}),
|
|
1607
|
+
};
|
|
1608
|
+
},
|
|
1609
|
+
fromJson: (json: any): ReservedProperties => {
|
|
1765
1610
|
if (json === undefined || json === null) {
|
|
1766
1611
|
return json;
|
|
1767
1612
|
}
|
|
1768
|
-
return {
|
|
1613
|
+
return {
|
|
1614
|
+
...(json['for'] === undefined
|
|
1615
|
+
? {}
|
|
1616
|
+
: {
|
|
1617
|
+
for: json['for'],
|
|
1618
|
+
}),
|
|
1619
|
+
while: json['while'],
|
|
1620
|
+
if: json['if'],
|
|
1621
|
+
else: json['else'],
|
|
1622
|
+
function: json['function'],
|
|
1623
|
+
...(json['var'] === undefined
|
|
1624
|
+
? {}
|
|
1625
|
+
: {
|
|
1626
|
+
var: json['var'],
|
|
1627
|
+
}),
|
|
1628
|
+
...(json['let'] === undefined
|
|
1629
|
+
? {}
|
|
1630
|
+
: {
|
|
1631
|
+
let: json['let'],
|
|
1632
|
+
}),
|
|
1633
|
+
...(json['const'] === undefined
|
|
1634
|
+
? {}
|
|
1635
|
+
: {
|
|
1636
|
+
const: json['const'],
|
|
1637
|
+
}),
|
|
1638
|
+
...(json['return'] === undefined
|
|
1639
|
+
? {}
|
|
1640
|
+
: {
|
|
1641
|
+
return: json['return'],
|
|
1642
|
+
}),
|
|
1643
|
+
...(json['break'] === undefined
|
|
1644
|
+
? {}
|
|
1645
|
+
: {
|
|
1646
|
+
break: json['break'],
|
|
1647
|
+
}),
|
|
1648
|
+
...(json['continue'] === undefined
|
|
1649
|
+
? {}
|
|
1650
|
+
: {
|
|
1651
|
+
continue: json['continue'],
|
|
1652
|
+
}),
|
|
1653
|
+
...(json['switch'] === undefined
|
|
1654
|
+
? {}
|
|
1655
|
+
: {
|
|
1656
|
+
switch: json['switch'],
|
|
1657
|
+
}),
|
|
1658
|
+
...(json['case'] === undefined
|
|
1659
|
+
? {}
|
|
1660
|
+
: {
|
|
1661
|
+
case: json['case'],
|
|
1662
|
+
}),
|
|
1663
|
+
...(json['default'] === undefined
|
|
1664
|
+
? {}
|
|
1665
|
+
: {
|
|
1666
|
+
default: json['default'],
|
|
1667
|
+
}),
|
|
1668
|
+
...(json['try'] === undefined
|
|
1669
|
+
? {}
|
|
1670
|
+
: {
|
|
1671
|
+
try: json['try'],
|
|
1672
|
+
}),
|
|
1673
|
+
...(json['catch'] === undefined
|
|
1674
|
+
? {}
|
|
1675
|
+
: {
|
|
1676
|
+
catch: json['catch'],
|
|
1677
|
+
}),
|
|
1678
|
+
...(json['finally'] === undefined
|
|
1679
|
+
? {}
|
|
1680
|
+
: {
|
|
1681
|
+
finally: json['finally'],
|
|
1682
|
+
}),
|
|
1683
|
+
...(json['throw'] === undefined
|
|
1684
|
+
? {}
|
|
1685
|
+
: {
|
|
1686
|
+
throw: json['throw'],
|
|
1687
|
+
}),
|
|
1688
|
+
...(json['new'] === undefined
|
|
1689
|
+
? {}
|
|
1690
|
+
: {
|
|
1691
|
+
new: json['new'],
|
|
1692
|
+
}),
|
|
1693
|
+
...(json['this'] === undefined
|
|
1694
|
+
? {}
|
|
1695
|
+
: {
|
|
1696
|
+
this: json['this'],
|
|
1697
|
+
}),
|
|
1698
|
+
...(json['super'] === undefined
|
|
1699
|
+
? {}
|
|
1700
|
+
: {
|
|
1701
|
+
super: json['super'],
|
|
1702
|
+
}),
|
|
1703
|
+
...(json['class'] === undefined
|
|
1704
|
+
? {}
|
|
1705
|
+
: {
|
|
1706
|
+
class: json['class'],
|
|
1707
|
+
}),
|
|
1708
|
+
...(json['extends'] === undefined
|
|
1709
|
+
? {}
|
|
1710
|
+
: {
|
|
1711
|
+
extends: json['extends'],
|
|
1712
|
+
}),
|
|
1713
|
+
...(json['implements'] === undefined
|
|
1714
|
+
? {}
|
|
1715
|
+
: {
|
|
1716
|
+
implements: json['implements'],
|
|
1717
|
+
}),
|
|
1718
|
+
...(json['interface'] === undefined
|
|
1719
|
+
? {}
|
|
1720
|
+
: {
|
|
1721
|
+
interface: json['interface'],
|
|
1722
|
+
}),
|
|
1723
|
+
...(json['enum'] === undefined
|
|
1724
|
+
? {}
|
|
1725
|
+
: {
|
|
1726
|
+
enum: json['enum'],
|
|
1727
|
+
}),
|
|
1728
|
+
...(json['type'] === undefined
|
|
1729
|
+
? {}
|
|
1730
|
+
: {
|
|
1731
|
+
type: json['type'],
|
|
1732
|
+
}),
|
|
1733
|
+
...(json['namespace'] === undefined
|
|
1734
|
+
? {}
|
|
1735
|
+
: {
|
|
1736
|
+
namespace: json['namespace'],
|
|
1737
|
+
}),
|
|
1738
|
+
...(json['module'] === undefined
|
|
1739
|
+
? {}
|
|
1740
|
+
: {
|
|
1741
|
+
module: json['module'],
|
|
1742
|
+
}),
|
|
1743
|
+
...(json['import'] === undefined
|
|
1744
|
+
? {}
|
|
1745
|
+
: {
|
|
1746
|
+
import: json['import'],
|
|
1747
|
+
}),
|
|
1748
|
+
...(json['export'] === undefined
|
|
1749
|
+
? {}
|
|
1750
|
+
: {
|
|
1751
|
+
export: json['export'],
|
|
1752
|
+
}),
|
|
1753
|
+
...(json['from'] === undefined
|
|
1754
|
+
? {}
|
|
1755
|
+
: {
|
|
1756
|
+
from: json['from'],
|
|
1757
|
+
}),
|
|
1758
|
+
...(json['as'] === undefined
|
|
1759
|
+
? {}
|
|
1760
|
+
: {
|
|
1761
|
+
as: json['as'],
|
|
1762
|
+
}),
|
|
1763
|
+
...(json['async'] === undefined
|
|
1764
|
+
? {}
|
|
1765
|
+
: {
|
|
1766
|
+
async: json['async'],
|
|
1767
|
+
}),
|
|
1768
|
+
...(json['await'] === undefined
|
|
1769
|
+
? {}
|
|
1770
|
+
: {
|
|
1771
|
+
await: json['await'],
|
|
1772
|
+
}),
|
|
1773
|
+
...(json['yield'] === undefined
|
|
1774
|
+
? {}
|
|
1775
|
+
: {
|
|
1776
|
+
yield: json['yield'],
|
|
1777
|
+
}),
|
|
1778
|
+
...(json['typeof'] === undefined
|
|
1779
|
+
? {}
|
|
1780
|
+
: {
|
|
1781
|
+
typeof: json['typeof'],
|
|
1782
|
+
}),
|
|
1783
|
+
...(json['instanceof'] === undefined
|
|
1784
|
+
? {}
|
|
1785
|
+
: {
|
|
1786
|
+
instanceof: json['instanceof'],
|
|
1787
|
+
}),
|
|
1788
|
+
...(json['in'] === undefined
|
|
1789
|
+
? {}
|
|
1790
|
+
: {
|
|
1791
|
+
in: json['in'],
|
|
1792
|
+
}),
|
|
1793
|
+
...(json['of'] === undefined
|
|
1794
|
+
? {}
|
|
1795
|
+
: {
|
|
1796
|
+
of: json['of'],
|
|
1797
|
+
}),
|
|
1798
|
+
...(json['with'] === undefined
|
|
1799
|
+
? {}
|
|
1800
|
+
: {
|
|
1801
|
+
with: json['with'],
|
|
1802
|
+
}),
|
|
1803
|
+
...(json['do'] === undefined
|
|
1804
|
+
? {}
|
|
1805
|
+
: {
|
|
1806
|
+
do: json['do'],
|
|
1807
|
+
}),
|
|
1808
|
+
...(json['null'] === undefined
|
|
1809
|
+
? {}
|
|
1810
|
+
: {
|
|
1811
|
+
null: json['null'],
|
|
1812
|
+
}),
|
|
1813
|
+
...(json['undefined'] === undefined
|
|
1814
|
+
? {}
|
|
1815
|
+
: {
|
|
1816
|
+
undefined: json['undefined'],
|
|
1817
|
+
}),
|
|
1818
|
+
...(json['true'] === undefined
|
|
1819
|
+
? {}
|
|
1820
|
+
: {
|
|
1821
|
+
true: json['true'],
|
|
1822
|
+
}),
|
|
1823
|
+
...(json['false'] === undefined
|
|
1824
|
+
? {}
|
|
1825
|
+
: {
|
|
1826
|
+
false: json['false'],
|
|
1827
|
+
}),
|
|
1828
|
+
};
|
|
1769
1829
|
},
|
|
1770
1830
|
};
|
|
1771
1831
|
|
|
@@ -1874,74 +1934,14 @@ export class $IO {
|
|
|
1874
1934
|
},
|
|
1875
1935
|
};
|
|
1876
1936
|
|
|
1877
|
-
public static
|
|
1878
|
-
toJson: (model:
|
|
1879
|
-
if (model === undefined || model === null) {
|
|
1880
|
-
return model;
|
|
1881
|
-
}
|
|
1882
|
-
return {};
|
|
1883
|
-
},
|
|
1884
|
-
fromJson: (json: any): Typeof => {
|
|
1885
|
-
if (json === undefined || json === null) {
|
|
1886
|
-
return json;
|
|
1887
|
-
}
|
|
1888
|
-
return {};
|
|
1889
|
-
},
|
|
1890
|
-
};
|
|
1891
|
-
|
|
1892
|
-
public static Var = {
|
|
1893
|
-
toJson: (model: Var): any => {
|
|
1894
|
-
if (model === undefined || model === null) {
|
|
1895
|
-
return model;
|
|
1896
|
-
}
|
|
1897
|
-
return {};
|
|
1898
|
-
},
|
|
1899
|
-
fromJson: (json: any): Var => {
|
|
1900
|
-
if (json === undefined || json === null) {
|
|
1901
|
-
return json;
|
|
1902
|
-
}
|
|
1903
|
-
return {};
|
|
1904
|
-
},
|
|
1905
|
-
};
|
|
1906
|
-
|
|
1907
|
-
public static While = {
|
|
1908
|
-
toJson: (model: While): any => {
|
|
1909
|
-
if (model === undefined || model === null) {
|
|
1910
|
-
return model;
|
|
1911
|
-
}
|
|
1912
|
-
return {};
|
|
1913
|
-
},
|
|
1914
|
-
fromJson: (json: any): While => {
|
|
1915
|
-
if (json === undefined || json === null) {
|
|
1916
|
-
return json;
|
|
1917
|
-
}
|
|
1918
|
-
return {};
|
|
1919
|
-
},
|
|
1920
|
-
};
|
|
1921
|
-
|
|
1922
|
-
public static With = {
|
|
1923
|
-
toJson: (model: With): any => {
|
|
1924
|
-
if (model === undefined || model === null) {
|
|
1925
|
-
return model;
|
|
1926
|
-
}
|
|
1927
|
-
return {};
|
|
1928
|
-
},
|
|
1929
|
-
fromJson: (json: any): With => {
|
|
1930
|
-
if (json === undefined || json === null) {
|
|
1931
|
-
return json;
|
|
1932
|
-
}
|
|
1933
|
-
return {};
|
|
1934
|
-
},
|
|
1935
|
-
};
|
|
1936
|
-
|
|
1937
|
-
public static Yield = {
|
|
1938
|
-
toJson: (model: Yield): any => {
|
|
1937
|
+
public static Type = {
|
|
1938
|
+
toJson: (model: Type): any => {
|
|
1939
1939
|
if (model === undefined || model === null) {
|
|
1940
1940
|
return model;
|
|
1941
1941
|
}
|
|
1942
1942
|
return {};
|
|
1943
1943
|
},
|
|
1944
|
-
fromJson: (json: any):
|
|
1944
|
+
fromJson: (json: any): Type => {
|
|
1945
1945
|
if (json === undefined || json === null) {
|
|
1946
1946
|
return json;
|
|
1947
1947
|
}
|
|
@@ -1949,14 +1949,14 @@ export class $IO {
|
|
|
1949
1949
|
},
|
|
1950
1950
|
};
|
|
1951
1951
|
|
|
1952
|
-
public static
|
|
1953
|
-
toJson: (model:
|
|
1952
|
+
public static Typeof = {
|
|
1953
|
+
toJson: (model: Typeof): any => {
|
|
1954
1954
|
if (model === undefined || model === null) {
|
|
1955
1955
|
return model;
|
|
1956
1956
|
}
|
|
1957
1957
|
return {};
|
|
1958
1958
|
},
|
|
1959
|
-
fromJson: (json: any):
|
|
1959
|
+
fromJson: (json: any): Typeof => {
|
|
1960
1960
|
if (json === undefined || json === null) {
|
|
1961
1961
|
return json;
|
|
1962
1962
|
}
|
|
@@ -1964,14 +1964,14 @@ export class $IO {
|
|
|
1964
1964
|
},
|
|
1965
1965
|
};
|
|
1966
1966
|
|
|
1967
|
-
public static
|
|
1968
|
-
toJson: (model:
|
|
1967
|
+
public static Undefined = {
|
|
1968
|
+
toJson: (model: Undefined): any => {
|
|
1969
1969
|
if (model === undefined || model === null) {
|
|
1970
1970
|
return model;
|
|
1971
1971
|
}
|
|
1972
1972
|
return {};
|
|
1973
1973
|
},
|
|
1974
|
-
fromJson: (json: any):
|
|
1974
|
+
fromJson: (json: any): Undefined => {
|
|
1975
1975
|
if (json === undefined || json === null) {
|
|
1976
1976
|
return json;
|
|
1977
1977
|
}
|
|
@@ -1979,14 +1979,14 @@ export class $IO {
|
|
|
1979
1979
|
},
|
|
1980
1980
|
};
|
|
1981
1981
|
|
|
1982
|
-
public static
|
|
1983
|
-
toJson: (model:
|
|
1982
|
+
public static Var = {
|
|
1983
|
+
toJson: (model: Var): any => {
|
|
1984
1984
|
if (model === undefined || model === null) {
|
|
1985
1985
|
return model;
|
|
1986
1986
|
}
|
|
1987
1987
|
return {};
|
|
1988
1988
|
},
|
|
1989
|
-
fromJson: (json: any):
|
|
1989
|
+
fromJson: (json: any): Var => {
|
|
1990
1990
|
if (json === undefined || json === null) {
|
|
1991
1991
|
return json;
|
|
1992
1992
|
}
|
|
@@ -1994,14 +1994,14 @@ export class $IO {
|
|
|
1994
1994
|
},
|
|
1995
1995
|
};
|
|
1996
1996
|
|
|
1997
|
-
public static
|
|
1998
|
-
toJson: (model:
|
|
1997
|
+
public static While = {
|
|
1998
|
+
toJson: (model: While): any => {
|
|
1999
1999
|
if (model === undefined || model === null) {
|
|
2000
2000
|
return model;
|
|
2001
2001
|
}
|
|
2002
2002
|
return {};
|
|
2003
2003
|
},
|
|
2004
|
-
fromJson: (json: any):
|
|
2004
|
+
fromJson: (json: any): While => {
|
|
2005
2005
|
if (json === undefined || json === null) {
|
|
2006
2006
|
return json;
|
|
2007
2007
|
}
|
|
@@ -2009,14 +2009,14 @@ export class $IO {
|
|
|
2009
2009
|
},
|
|
2010
2010
|
};
|
|
2011
2011
|
|
|
2012
|
-
public static
|
|
2013
|
-
toJson: (model:
|
|
2012
|
+
public static With = {
|
|
2013
|
+
toJson: (model: With): any => {
|
|
2014
2014
|
if (model === undefined || model === null) {
|
|
2015
2015
|
return model;
|
|
2016
2016
|
}
|
|
2017
2017
|
return {};
|
|
2018
2018
|
},
|
|
2019
|
-
fromJson: (json: any):
|
|
2019
|
+
fromJson: (json: any): With => {
|
|
2020
2020
|
if (json === undefined || json === null) {
|
|
2021
2021
|
return json;
|
|
2022
2022
|
}
|
|
@@ -2024,14 +2024,14 @@ export class $IO {
|
|
|
2024
2024
|
},
|
|
2025
2025
|
};
|
|
2026
2026
|
|
|
2027
|
-
public static
|
|
2028
|
-
toJson: (model:
|
|
2027
|
+
public static Yield = {
|
|
2028
|
+
toJson: (model: Yield): any => {
|
|
2029
2029
|
if (model === undefined || model === null) {
|
|
2030
2030
|
return model;
|
|
2031
2031
|
}
|
|
2032
2032
|
return {};
|
|
2033
2033
|
},
|
|
2034
|
-
fromJson: (json: any):
|
|
2034
|
+
fromJson: (json: any): Yield => {
|
|
2035
2035
|
if (json === undefined || json === null) {
|
|
2036
2036
|
return json;
|
|
2037
2037
|
}
|