@numa-tech/numa 1.13.0 → 1.13.1

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.
@@ -106,13 +106,13 @@ export declare const SourceRepositorySchema: z.ZodPipe<z.ZodObject<{
106
106
  repositoryKey: z.ZodString;
107
107
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
108
108
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
109
- connectionCode: z.ZodString;
109
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
110
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
111
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
112
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
113
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
114
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
- fullName: z.ZodString;
115
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
116
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
117
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
118
118
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -128,13 +128,13 @@ export declare const SourceRepositorySchema: z.ZodPipe<z.ZodObject<{
128
128
  }, z.core.$strip>, z.ZodTransform<{
129
129
  repositoryKey: string;
130
130
  id?: string | undefined;
131
- connectionCode: string;
131
+ connectionCode?: string | null | undefined;
132
132
  provider?: string | null | undefined;
133
133
  externalId?: string | null | undefined;
134
134
  namespaceExternalId?: string | null | undefined;
135
135
  namespacePath?: string | null | undefined;
136
136
  name?: string | null | undefined;
137
- fullName: string;
137
+ fullName?: string | null | undefined;
138
138
  description?: string | null | undefined;
139
139
  visibility?: string | null | undefined;
140
140
  defaultBranch?: string | null | undefined;
@@ -148,17 +148,19 @@ export declare const SourceRepositorySchema: z.ZodPipe<z.ZodObject<{
148
148
  version?: number | undefined;
149
149
  repositoryId: string | undefined;
150
150
  observedRevision: string | null | undefined;
151
+ migrationRequired: boolean;
152
+ migrationIssues: string[];
151
153
  }, {
152
154
  repositoryKey: string;
153
155
  id?: string | undefined;
154
156
  repositoryId?: string | undefined;
155
- connectionCode: string;
157
+ connectionCode?: string | null | undefined;
156
158
  provider?: string | null | undefined;
157
159
  externalId?: string | null | undefined;
158
160
  namespaceExternalId?: string | null | undefined;
159
161
  namespacePath?: string | null | undefined;
160
162
  name?: string | null | undefined;
161
- fullName: string;
163
+ fullName?: string | null | undefined;
162
164
  description?: string | null | undefined;
163
165
  visibility?: string | null | undefined;
164
166
  defaultBranch?: string | null | undefined;
@@ -296,13 +298,13 @@ export declare const RepositoryRunSchema: z.ZodObject<{
296
298
  repositoryKey: z.ZodString;
297
299
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
298
300
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
299
- connectionCode: z.ZodString;
301
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
302
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
301
303
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
304
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
305
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
306
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
- fullName: z.ZodString;
307
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
308
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
309
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
308
310
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -318,13 +320,13 @@ export declare const RepositoryRunSchema: z.ZodObject<{
318
320
  }, z.core.$strip>, z.ZodTransform<{
319
321
  repositoryKey: string;
320
322
  id?: string | undefined;
321
- connectionCode: string;
323
+ connectionCode?: string | null | undefined;
322
324
  provider?: string | null | undefined;
323
325
  externalId?: string | null | undefined;
324
326
  namespaceExternalId?: string | null | undefined;
325
327
  namespacePath?: string | null | undefined;
326
328
  name?: string | null | undefined;
327
- fullName: string;
329
+ fullName?: string | null | undefined;
328
330
  description?: string | null | undefined;
329
331
  visibility?: string | null | undefined;
330
332
  defaultBranch?: string | null | undefined;
@@ -338,17 +340,19 @@ export declare const RepositoryRunSchema: z.ZodObject<{
338
340
  version?: number | undefined;
339
341
  repositoryId: string | undefined;
340
342
  observedRevision: string | null | undefined;
343
+ migrationRequired: boolean;
344
+ migrationIssues: string[];
341
345
  }, {
342
346
  repositoryKey: string;
343
347
  id?: string | undefined;
344
348
  repositoryId?: string | undefined;
345
- connectionCode: string;
349
+ connectionCode?: string | null | undefined;
346
350
  provider?: string | null | undefined;
347
351
  externalId?: string | null | undefined;
348
352
  namespaceExternalId?: string | null | undefined;
349
353
  namespacePath?: string | null | undefined;
350
354
  name?: string | null | undefined;
351
- fullName: string;
355
+ fullName?: string | null | undefined;
352
356
  description?: string | null | undefined;
353
357
  visibility?: string | null | undefined;
354
358
  defaultBranch?: string | null | undefined;
@@ -882,13 +886,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
882
886
  repositoryKey: z.ZodString;
883
887
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
884
888
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
885
- connectionCode: z.ZodString;
889
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
890
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
887
891
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
888
892
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
893
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
894
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
891
- fullName: z.ZodString;
895
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
892
896
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
893
897
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
898
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -904,13 +908,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
904
908
  }, z.core.$strip>, z.ZodTransform<{
905
909
  repositoryKey: string;
906
910
  id?: string | undefined;
907
- connectionCode: string;
911
+ connectionCode?: string | null | undefined;
908
912
  provider?: string | null | undefined;
909
913
  externalId?: string | null | undefined;
910
914
  namespaceExternalId?: string | null | undefined;
911
915
  namespacePath?: string | null | undefined;
912
916
  name?: string | null | undefined;
913
- fullName: string;
917
+ fullName?: string | null | undefined;
914
918
  description?: string | null | undefined;
915
919
  visibility?: string | null | undefined;
916
920
  defaultBranch?: string | null | undefined;
@@ -924,17 +928,19 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
924
928
  version?: number | undefined;
925
929
  repositoryId: string | undefined;
926
930
  observedRevision: string | null | undefined;
931
+ migrationRequired: boolean;
932
+ migrationIssues: string[];
927
933
  }, {
928
934
  repositoryKey: string;
929
935
  id?: string | undefined;
930
936
  repositoryId?: string | undefined;
931
- connectionCode: string;
937
+ connectionCode?: string | null | undefined;
932
938
  provider?: string | null | undefined;
933
939
  externalId?: string | null | undefined;
934
940
  namespaceExternalId?: string | null | undefined;
935
941
  namespacePath?: string | null | undefined;
936
942
  name?: string | null | undefined;
937
- fullName: string;
943
+ fullName?: string | null | undefined;
938
944
  description?: string | null | undefined;
939
945
  visibility?: string | null | undefined;
940
946
  defaultBranch?: string | null | undefined;
@@ -952,13 +958,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
952
958
  repositoryKey: z.ZodString;
953
959
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
954
960
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
955
- connectionCode: z.ZodString;
961
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
962
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
963
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
958
964
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
965
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
960
966
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
961
- fullName: z.ZodString;
967
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
962
968
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
963
969
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
964
970
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -974,13 +980,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
974
980
  }, z.core.$strip>, z.ZodTransform<{
975
981
  repositoryKey: string;
976
982
  id?: string | undefined;
977
- connectionCode: string;
983
+ connectionCode?: string | null | undefined;
978
984
  provider?: string | null | undefined;
979
985
  externalId?: string | null | undefined;
980
986
  namespaceExternalId?: string | null | undefined;
981
987
  namespacePath?: string | null | undefined;
982
988
  name?: string | null | undefined;
983
- fullName: string;
989
+ fullName?: string | null | undefined;
984
990
  description?: string | null | undefined;
985
991
  visibility?: string | null | undefined;
986
992
  defaultBranch?: string | null | undefined;
@@ -994,17 +1000,19 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
994
1000
  version?: number | undefined;
995
1001
  repositoryId: string | undefined;
996
1002
  observedRevision: string | null | undefined;
1003
+ migrationRequired: boolean;
1004
+ migrationIssues: string[];
997
1005
  }, {
998
1006
  repositoryKey: string;
999
1007
  id?: string | undefined;
1000
1008
  repositoryId?: string | undefined;
1001
- connectionCode: string;
1009
+ connectionCode?: string | null | undefined;
1002
1010
  provider?: string | null | undefined;
1003
1011
  externalId?: string | null | undefined;
1004
1012
  namespaceExternalId?: string | null | undefined;
1005
1013
  namespacePath?: string | null | undefined;
1006
1014
  name?: string | null | undefined;
1007
- fullName: string;
1015
+ fullName?: string | null | undefined;
1008
1016
  description?: string | null | undefined;
1009
1017
  visibility?: string | null | undefined;
1010
1018
  defaultBranch?: string | null | undefined;
@@ -1027,13 +1035,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1027
1035
  repositoryKey: z.ZodString;
1028
1036
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1029
1037
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1030
- connectionCode: z.ZodString;
1038
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1031
1039
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1032
1040
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1033
1041
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1034
1042
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1035
1043
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
- fullName: z.ZodString;
1044
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1037
1045
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1038
1046
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1039
1047
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1049,13 +1057,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1049
1057
  }, z.core.$strip>, z.ZodTransform<{
1050
1058
  repositoryKey: string;
1051
1059
  id?: string | undefined;
1052
- connectionCode: string;
1060
+ connectionCode?: string | null | undefined;
1053
1061
  provider?: string | null | undefined;
1054
1062
  externalId?: string | null | undefined;
1055
1063
  namespaceExternalId?: string | null | undefined;
1056
1064
  namespacePath?: string | null | undefined;
1057
1065
  name?: string | null | undefined;
1058
- fullName: string;
1066
+ fullName?: string | null | undefined;
1059
1067
  description?: string | null | undefined;
1060
1068
  visibility?: string | null | undefined;
1061
1069
  defaultBranch?: string | null | undefined;
@@ -1069,17 +1077,19 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1069
1077
  version?: number | undefined;
1070
1078
  repositoryId: string | undefined;
1071
1079
  observedRevision: string | null | undefined;
1080
+ migrationRequired: boolean;
1081
+ migrationIssues: string[];
1072
1082
  }, {
1073
1083
  repositoryKey: string;
1074
1084
  id?: string | undefined;
1075
1085
  repositoryId?: string | undefined;
1076
- connectionCode: string;
1086
+ connectionCode?: string | null | undefined;
1077
1087
  provider?: string | null | undefined;
1078
1088
  externalId?: string | null | undefined;
1079
1089
  namespaceExternalId?: string | null | undefined;
1080
1090
  namespacePath?: string | null | undefined;
1081
1091
  name?: string | null | undefined;
1082
- fullName: string;
1092
+ fullName?: string | null | undefined;
1083
1093
  description?: string | null | undefined;
1084
1094
  visibility?: string | null | undefined;
1085
1095
  defaultBranch?: string | null | undefined;
@@ -1096,13 +1106,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1096
1106
  items: {
1097
1107
  repositoryKey: string;
1098
1108
  id?: string | undefined;
1099
- connectionCode: string;
1109
+ connectionCode?: string | null | undefined;
1100
1110
  provider?: string | null | undefined;
1101
1111
  externalId?: string | null | undefined;
1102
1112
  namespaceExternalId?: string | null | undefined;
1103
1113
  namespacePath?: string | null | undefined;
1104
1114
  name?: string | null | undefined;
1105
- fullName: string;
1115
+ fullName?: string | null | undefined;
1106
1116
  description?: string | null | undefined;
1107
1117
  visibility?: string | null | undefined;
1108
1118
  defaultBranch?: string | null | undefined;
@@ -1116,6 +1126,8 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1116
1126
  version?: number | undefined;
1117
1127
  repositoryId: string | undefined;
1118
1128
  observedRevision: string | null | undefined;
1129
+ migrationRequired: boolean;
1130
+ migrationIssues: string[];
1119
1131
  }[];
1120
1132
  nextCursor: string | null;
1121
1133
  hasMore: boolean;
@@ -1125,13 +1137,13 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1125
1137
  }, {
1126
1138
  repositoryKey: string;
1127
1139
  id?: string | undefined;
1128
- connectionCode: string;
1140
+ connectionCode?: string | null | undefined;
1129
1141
  provider?: string | null | undefined;
1130
1142
  externalId?: string | null | undefined;
1131
1143
  namespaceExternalId?: string | null | undefined;
1132
1144
  namespacePath?: string | null | undefined;
1133
1145
  name?: string | null | undefined;
1134
- fullName: string;
1146
+ fullName?: string | null | undefined;
1135
1147
  description?: string | null | undefined;
1136
1148
  visibility?: string | null | undefined;
1137
1149
  defaultBranch?: string | null | undefined;
@@ -1145,18 +1157,20 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1145
1157
  version?: number | undefined;
1146
1158
  repositoryId: string | undefined;
1147
1159
  observedRevision: string | null | undefined;
1160
+ migrationRequired: boolean;
1161
+ migrationIssues: string[];
1148
1162
  }[] | {
1149
1163
  [x: string]: unknown;
1150
1164
  items?: {
1151
1165
  repositoryKey: string;
1152
1166
  id?: string | undefined;
1153
- connectionCode: string;
1167
+ connectionCode?: string | null | undefined;
1154
1168
  provider?: string | null | undefined;
1155
1169
  externalId?: string | null | undefined;
1156
1170
  namespaceExternalId?: string | null | undefined;
1157
1171
  namespacePath?: string | null | undefined;
1158
1172
  name?: string | null | undefined;
1159
- fullName: string;
1173
+ fullName?: string | null | undefined;
1160
1174
  description?: string | null | undefined;
1161
1175
  visibility?: string | null | undefined;
1162
1176
  defaultBranch?: string | null | undefined;
@@ -1170,17 +1184,19 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1170
1184
  version?: number | undefined;
1171
1185
  repositoryId: string | undefined;
1172
1186
  observedRevision: string | null | undefined;
1187
+ migrationRequired: boolean;
1188
+ migrationIssues: string[];
1173
1189
  }[] | undefined;
1174
1190
  content?: {
1175
1191
  repositoryKey: string;
1176
1192
  id?: string | undefined;
1177
- connectionCode: string;
1193
+ connectionCode?: string | null | undefined;
1178
1194
  provider?: string | null | undefined;
1179
1195
  externalId?: string | null | undefined;
1180
1196
  namespaceExternalId?: string | null | undefined;
1181
1197
  namespacePath?: string | null | undefined;
1182
1198
  name?: string | null | undefined;
1183
- fullName: string;
1199
+ fullName?: string | null | undefined;
1184
1200
  description?: string | null | undefined;
1185
1201
  visibility?: string | null | undefined;
1186
1202
  defaultBranch?: string | null | undefined;
@@ -1194,6 +1210,8 @@ export declare const SourceRepositoryListSchema: z.ZodPipe<z.ZodUnion<readonly [
1194
1210
  version?: number | undefined;
1195
1211
  repositoryId: string | undefined;
1196
1212
  observedRevision: string | null | undefined;
1213
+ migrationRequired: boolean;
1214
+ migrationIssues: string[];
1197
1215
  }[] | undefined;
1198
1216
  nextCursor?: string | null | undefined;
1199
1217
  hasMore?: boolean | undefined;
@@ -1221,13 +1239,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1221
1239
  repositoryKey: z.ZodString;
1222
1240
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1223
1241
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1224
- connectionCode: z.ZodString;
1242
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1225
1243
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1226
1244
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1227
1245
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1228
1246
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1229
1247
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1230
- fullName: z.ZodString;
1248
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
1249
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
1250
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1233
1251
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1243,13 +1261,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1243
1261
  }, z.core.$strip>, z.ZodTransform<{
1244
1262
  repositoryKey: string;
1245
1263
  id?: string | undefined;
1246
- connectionCode: string;
1264
+ connectionCode?: string | null | undefined;
1247
1265
  provider?: string | null | undefined;
1248
1266
  externalId?: string | null | undefined;
1249
1267
  namespaceExternalId?: string | null | undefined;
1250
1268
  namespacePath?: string | null | undefined;
1251
1269
  name?: string | null | undefined;
1252
- fullName: string;
1270
+ fullName?: string | null | undefined;
1253
1271
  description?: string | null | undefined;
1254
1272
  visibility?: string | null | undefined;
1255
1273
  defaultBranch?: string | null | undefined;
@@ -1263,17 +1281,19 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1263
1281
  version?: number | undefined;
1264
1282
  repositoryId: string | undefined;
1265
1283
  observedRevision: string | null | undefined;
1284
+ migrationRequired: boolean;
1285
+ migrationIssues: string[];
1266
1286
  }, {
1267
1287
  repositoryKey: string;
1268
1288
  id?: string | undefined;
1269
1289
  repositoryId?: string | undefined;
1270
- connectionCode: string;
1290
+ connectionCode?: string | null | undefined;
1271
1291
  provider?: string | null | undefined;
1272
1292
  externalId?: string | null | undefined;
1273
1293
  namespaceExternalId?: string | null | undefined;
1274
1294
  namespacePath?: string | null | undefined;
1275
1295
  name?: string | null | undefined;
1276
- fullName: string;
1296
+ fullName?: string | null | undefined;
1277
1297
  description?: string | null | undefined;
1278
1298
  visibility?: string | null | undefined;
1279
1299
  defaultBranch?: string | null | undefined;
@@ -1316,13 +1336,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1316
1336
  repositoryKey: z.ZodString;
1317
1337
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1318
1338
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1319
- connectionCode: z.ZodString;
1339
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1320
1340
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1321
1341
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1322
1342
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1323
1343
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1324
1344
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1325
- fullName: z.ZodString;
1345
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1326
1346
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1327
1347
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1328
1348
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1338,13 +1358,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1338
1358
  }, z.core.$strip>, z.ZodTransform<{
1339
1359
  repositoryKey: string;
1340
1360
  id?: string | undefined;
1341
- connectionCode: string;
1361
+ connectionCode?: string | null | undefined;
1342
1362
  provider?: string | null | undefined;
1343
1363
  externalId?: string | null | undefined;
1344
1364
  namespaceExternalId?: string | null | undefined;
1345
1365
  namespacePath?: string | null | undefined;
1346
1366
  name?: string | null | undefined;
1347
- fullName: string;
1367
+ fullName?: string | null | undefined;
1348
1368
  description?: string | null | undefined;
1349
1369
  visibility?: string | null | undefined;
1350
1370
  defaultBranch?: string | null | undefined;
@@ -1358,17 +1378,19 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1358
1378
  version?: number | undefined;
1359
1379
  repositoryId: string | undefined;
1360
1380
  observedRevision: string | null | undefined;
1381
+ migrationRequired: boolean;
1382
+ migrationIssues: string[];
1361
1383
  }, {
1362
1384
  repositoryKey: string;
1363
1385
  id?: string | undefined;
1364
1386
  repositoryId?: string | undefined;
1365
- connectionCode: string;
1387
+ connectionCode?: string | null | undefined;
1366
1388
  provider?: string | null | undefined;
1367
1389
  externalId?: string | null | undefined;
1368
1390
  namespaceExternalId?: string | null | undefined;
1369
1391
  namespacePath?: string | null | undefined;
1370
1392
  name?: string | null | undefined;
1371
- fullName: string;
1393
+ fullName?: string | null | undefined;
1372
1394
  description?: string | null | undefined;
1373
1395
  visibility?: string | null | undefined;
1374
1396
  defaultBranch?: string | null | undefined;
@@ -1416,13 +1438,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1416
1438
  repositoryKey: z.ZodString;
1417
1439
  id: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1418
1440
  repositoryId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
1419
- connectionCode: z.ZodString;
1441
+ connectionCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1420
1442
  provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1421
1443
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1422
1444
  namespaceExternalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1423
1445
  namespacePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1424
1446
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1425
- fullName: z.ZodString;
1447
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1426
1448
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1427
1449
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1428
1450
  defaultBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1438,13 +1460,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1438
1460
  }, z.core.$strip>, z.ZodTransform<{
1439
1461
  repositoryKey: string;
1440
1462
  id?: string | undefined;
1441
- connectionCode: string;
1463
+ connectionCode?: string | null | undefined;
1442
1464
  provider?: string | null | undefined;
1443
1465
  externalId?: string | null | undefined;
1444
1466
  namespaceExternalId?: string | null | undefined;
1445
1467
  namespacePath?: string | null | undefined;
1446
1468
  name?: string | null | undefined;
1447
- fullName: string;
1469
+ fullName?: string | null | undefined;
1448
1470
  description?: string | null | undefined;
1449
1471
  visibility?: string | null | undefined;
1450
1472
  defaultBranch?: string | null | undefined;
@@ -1458,17 +1480,19 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1458
1480
  version?: number | undefined;
1459
1481
  repositoryId: string | undefined;
1460
1482
  observedRevision: string | null | undefined;
1483
+ migrationRequired: boolean;
1484
+ migrationIssues: string[];
1461
1485
  }, {
1462
1486
  repositoryKey: string;
1463
1487
  id?: string | undefined;
1464
1488
  repositoryId?: string | undefined;
1465
- connectionCode: string;
1489
+ connectionCode?: string | null | undefined;
1466
1490
  provider?: string | null | undefined;
1467
1491
  externalId?: string | null | undefined;
1468
1492
  namespaceExternalId?: string | null | undefined;
1469
1493
  namespacePath?: string | null | undefined;
1470
1494
  name?: string | null | undefined;
1471
- fullName: string;
1495
+ fullName?: string | null | undefined;
1472
1496
  description?: string | null | undefined;
1473
1497
  visibility?: string | null | undefined;
1474
1498
  defaultBranch?: string | null | undefined;
@@ -1500,13 +1524,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1500
1524
  repository?: {
1501
1525
  repositoryKey: string;
1502
1526
  id?: string | undefined;
1503
- connectionCode: string;
1527
+ connectionCode?: string | null | undefined;
1504
1528
  provider?: string | null | undefined;
1505
1529
  externalId?: string | null | undefined;
1506
1530
  namespaceExternalId?: string | null | undefined;
1507
1531
  namespacePath?: string | null | undefined;
1508
1532
  name?: string | null | undefined;
1509
- fullName: string;
1533
+ fullName?: string | null | undefined;
1510
1534
  description?: string | null | undefined;
1511
1535
  visibility?: string | null | undefined;
1512
1536
  defaultBranch?: string | null | undefined;
@@ -1520,6 +1544,8 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1520
1544
  version?: number | undefined;
1521
1545
  repositoryId: string | undefined;
1522
1546
  observedRevision: string | null | undefined;
1547
+ migrationRequired: boolean;
1548
+ migrationIssues: string[];
1523
1549
  } | null | undefined;
1524
1550
  retryable: boolean;
1525
1551
  errorCode?: string | null | undefined;
@@ -1544,13 +1570,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1544
1570
  repository?: {
1545
1571
  repositoryKey: string;
1546
1572
  id?: string | undefined;
1547
- connectionCode: string;
1573
+ connectionCode?: string | null | undefined;
1548
1574
  provider?: string | null | undefined;
1549
1575
  externalId?: string | null | undefined;
1550
1576
  namespaceExternalId?: string | null | undefined;
1551
1577
  namespacePath?: string | null | undefined;
1552
1578
  name?: string | null | undefined;
1553
- fullName: string;
1579
+ fullName?: string | null | undefined;
1554
1580
  description?: string | null | undefined;
1555
1581
  visibility?: string | null | undefined;
1556
1582
  defaultBranch?: string | null | undefined;
@@ -1564,6 +1590,8 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1564
1590
  version?: number | undefined;
1565
1591
  repositoryId: string | undefined;
1566
1592
  observedRevision: string | null | undefined;
1593
+ migrationRequired: boolean;
1594
+ migrationIssues: string[];
1567
1595
  } | null | undefined;
1568
1596
  retryable: boolean;
1569
1597
  errorCode?: string | null | undefined;
@@ -1584,13 +1612,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1584
1612
  repository?: {
1585
1613
  repositoryKey: string;
1586
1614
  id?: string | undefined;
1587
- connectionCode: string;
1615
+ connectionCode?: string | null | undefined;
1588
1616
  provider?: string | null | undefined;
1589
1617
  externalId?: string | null | undefined;
1590
1618
  namespaceExternalId?: string | null | undefined;
1591
1619
  namespacePath?: string | null | undefined;
1592
1620
  name?: string | null | undefined;
1593
- fullName: string;
1621
+ fullName?: string | null | undefined;
1594
1622
  description?: string | null | undefined;
1595
1623
  visibility?: string | null | undefined;
1596
1624
  defaultBranch?: string | null | undefined;
@@ -1604,6 +1632,8 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1604
1632
  version?: number | undefined;
1605
1633
  repositoryId: string | undefined;
1606
1634
  observedRevision: string | null | undefined;
1635
+ migrationRequired: boolean;
1636
+ migrationIssues: string[];
1607
1637
  } | null | undefined;
1608
1638
  retryable: boolean;
1609
1639
  errorCode?: string | null | undefined;
@@ -1623,13 +1653,13 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1623
1653
  repository?: {
1624
1654
  repositoryKey: string;
1625
1655
  id?: string | undefined;
1626
- connectionCode: string;
1656
+ connectionCode?: string | null | undefined;
1627
1657
  provider?: string | null | undefined;
1628
1658
  externalId?: string | null | undefined;
1629
1659
  namespaceExternalId?: string | null | undefined;
1630
1660
  namespacePath?: string | null | undefined;
1631
1661
  name?: string | null | undefined;
1632
- fullName: string;
1662
+ fullName?: string | null | undefined;
1633
1663
  description?: string | null | undefined;
1634
1664
  visibility?: string | null | undefined;
1635
1665
  defaultBranch?: string | null | undefined;
@@ -1643,6 +1673,8 @@ export declare const RepositoryRunListSchema: z.ZodPipe<z.ZodUnion<readonly [z.Z
1643
1673
  version?: number | undefined;
1644
1674
  repositoryId: string | undefined;
1645
1675
  observedRevision: string | null | undefined;
1676
+ migrationRequired: boolean;
1677
+ migrationIssues: string[];
1646
1678
  } | null | undefined;
1647
1679
  retryable: boolean;
1648
1680
  errorCode?: string | null | undefined;
@@ -64,13 +64,13 @@ export const SourceRepositorySchema = z.object({
64
64
  repositoryKey: NonEmptyString,
65
65
  id: StableNumber.optional(),
66
66
  repositoryId: StableNumber.optional(),
67
- connectionCode: NonEmptyString,
67
+ connectionCode: OptionalString,
68
68
  provider: OptionalString,
69
69
  externalId: OptionalString,
70
70
  namespaceExternalId: OptionalString,
71
71
  namespacePath: OptionalString,
72
72
  name: OptionalString,
73
- fullName: NonEmptyString,
73
+ fullName: OptionalString,
74
74
  description: OptionalString,
75
75
  visibility: OptionalString,
76
76
  defaultBranch: OptionalString,
@@ -86,7 +86,13 @@ export const SourceRepositorySchema = z.object({
86
86
  }).transform((value) => ({
87
87
  ...value,
88
88
  repositoryId: value.repositoryId ?? value.id,
89
- observedRevision: value.observedRevision ?? value.lastObservedRevision
89
+ observedRevision: value.observedRevision ?? value.lastObservedRevision,
90
+ migrationRequired: !value.connectionCode || !value.externalId || !value.fullName,
91
+ migrationIssues: [
92
+ ...(!value.connectionCode ? ["CONNECTION_CODE_MISSING"] : []),
93
+ ...(!value.externalId ? ["PROVIDER_EXTERNAL_ID_MISSING"] : []),
94
+ ...(!value.fullName ? ["FULL_NAME_MISSING"] : [])
95
+ ]
90
96
  }));
91
97
  export const RepositoryCapabilityConstraintsSchema = z.object({
92
98
  supportedVisibilities: z.array(NonEmptyString).default([]),