@socotra/ec-react-schemas 2.15.0 → 2.15.2-demo.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -940,11 +940,10 @@ export declare const ActivitiesByRefParamsSchema: z.ZodObject<z.objectUtil.exten
940
940
 
941
941
  export declare type ActivityCreateRequest = z.infer<typeof ActivityCreateRequestSchema>;
942
942
 
943
- export declare const ActivityCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
944
- type: z.ZodString;
945
- deadlineTime: z.ZodOptional<z.ZodString>;
943
+ export declare const ActivityCreateRequestSchema: z.ZodObject<{
944
+ deadlineTime: z.ZodString;
946
945
  references: z.ZodArray<z.ZodObject<{
947
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
946
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
948
947
  referenceLocator: z.ZodString;
949
948
  }, "strip", z.ZodTypeAny, {
950
949
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -953,24 +952,10 @@ export declare const ActivityCreateRequestSchema: z.ZodObject<z.objectUtil.exten
953
952
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
954
953
  referenceLocator: string;
955
954
  }>, "many">;
956
- underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
957
- assignedTo: z.ZodOptional<z.ZodString>;
958
- }, {
959
- deadlineTime: z.ZodString;
960
- references: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
961
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
962
- referenceLocator: z.ZodString;
963
- }, {
964
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
965
- }>, "strip", z.ZodTypeAny, {
966
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
967
- referenceLocator: string;
968
- }, {
969
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
970
- referenceLocator: string;
971
- }>, "many">;
972
955
  assignedTo: z.ZodOptional<z.ZodString>;
973
- }>, "strip", z.ZodTypeAny, {
956
+ type: z.ZodString;
957
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
958
+ }, "strip", z.ZodTypeAny, {
974
959
  type: string;
975
960
  deadlineTime: string;
976
961
  references: {
@@ -990,386 +975,617 @@ export declare const ActivityCreateRequestSchema: z.ZodObject<z.objectUtil.exten
990
975
  assignedTo?: string | undefined;
991
976
  }>;
992
977
 
993
- export declare type ActivityId = z.infer<typeof ActivityIdSchema>;
978
+ export declare type ActivityHistoryInitialResponse = z.infer<typeof ActivityHistoryInitialResponseSchema>;
994
979
 
995
- export declare const ActivityIdSchema: z.ZodString;
980
+ export declare const ActivityHistoryInitialResponseSchema: z.ZodObject<{
981
+ locator: z.ZodString;
982
+ category: z.ZodString;
983
+ type: z.ZodString;
984
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
985
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
986
+ deadlineTime: z.ZodString;
987
+ assignedTo: z.ZodOptional<z.ZodString>;
988
+ createdBy: z.ZodString;
989
+ createdAt: z.ZodString;
990
+ }, "strip", z.ZodTypeAny, {
991
+ locator: string;
992
+ type: string;
993
+ createdBy: string;
994
+ category: string;
995
+ deadlineTime: string;
996
+ underwritingFlagLocators: string[];
997
+ createdAt: string;
998
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
999
+ assignedTo?: string | undefined;
1000
+ }, {
1001
+ locator: string;
1002
+ type: string;
1003
+ createdBy: string;
1004
+ category: string;
1005
+ deadlineTime: string;
1006
+ underwritingFlagLocators: string[];
1007
+ createdAt: string;
1008
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1009
+ assignedTo?: string | undefined;
1010
+ }>;
996
1011
 
997
- export declare type ActivityListResponse = z.infer<typeof ActivityListResponseSchema>;
1012
+ export declare type ActivityHistoryListResponse = z.infer<typeof ActivityHistoryListResponseSchema>;
998
1013
 
999
- export declare const ActivityListResponseSchema: z.ZodObject<{
1014
+ export declare type ActivityHistoryListResponseBff = z.infer<typeof ActivityHistoryListResponseBffSchema>;
1015
+
1016
+ export declare const ActivityHistoryListResponseBffSchema: z.ZodObject<{
1000
1017
  listCompleted: z.ZodBoolean;
1001
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1018
+ items: z.ZodArray<z.ZodObject<{
1002
1019
  locator: z.ZodString;
1003
1020
  category: z.ZodString;
1004
1021
  type: z.ZodString;
1005
- activityState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"pastDeadline">, z.ZodLiteral<"completed">, z.ZodLiteral<"cancelled">]>;
1006
- references: z.ZodArray<z.ZodObject<{
1007
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1008
- referenceLocator: z.ZodString;
1022
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1023
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1024
+ deadlineTime: z.ZodOptional<z.ZodString>;
1025
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1026
+ locator: z.ZodString;
1027
+ userName: z.ZodString;
1028
+ firstName: z.ZodOptional<z.ZodString>;
1029
+ lastName: z.ZodOptional<z.ZodString>;
1009
1030
  }, "strip", z.ZodTypeAny, {
1010
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1011
- referenceLocator: string;
1031
+ locator: string;
1032
+ userName: string;
1033
+ firstName?: string | undefined;
1034
+ lastName?: string | undefined;
1012
1035
  }, {
1013
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1014
- referenceLocator: string;
1015
- }>, "many">;
1016
- underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1017
- deadlineTime: z.ZodOptional<z.ZodString>;
1018
- assignedTo: z.ZodOptional<z.ZodString>;
1019
- createdBy: z.ZodString;
1020
- createdAt: z.ZodString;
1021
- updatedBy: z.ZodOptional<z.ZodString>;
1022
- updatedAt: z.ZodOptional<z.ZodString>;
1023
- }, {
1024
- locator: z.ZodString;
1025
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1026
- references: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1027
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1028
- referenceLocator: z.ZodString;
1036
+ locator: string;
1037
+ userName: string;
1038
+ firstName?: string | undefined;
1039
+ lastName?: string | undefined;
1040
+ }>, z.ZodObject<{
1041
+ locator: z.ZodString;
1042
+ isDeleted: z.ZodBoolean;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ locator: string;
1045
+ isDeleted: boolean;
1029
1046
  }, {
1030
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1031
- }>, "strip", z.ZodTypeAny, {
1032
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1033
- referenceLocator: string;
1047
+ locator: string;
1048
+ isDeleted: boolean;
1049
+ }>]>>;
1050
+ createdBy: z.ZodUnion<[z.ZodObject<{
1051
+ locator: z.ZodString;
1052
+ userName: z.ZodString;
1053
+ firstName: z.ZodOptional<z.ZodString>;
1054
+ lastName: z.ZodOptional<z.ZodString>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ locator: string;
1057
+ userName: string;
1058
+ firstName?: string | undefined;
1059
+ lastName?: string | undefined;
1034
1060
  }, {
1035
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1036
- referenceLocator: string;
1037
- }>, "many">>;
1038
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1039
- deadlineTime: z.ZodOptional<z.ZodString>;
1040
- assignedTo: z.ZodOptional<z.ZodString>;
1041
- createdBy: z.ZodString;
1061
+ locator: string;
1062
+ userName: string;
1063
+ firstName?: string | undefined;
1064
+ lastName?: string | undefined;
1065
+ }>, z.ZodObject<{
1066
+ locator: z.ZodString;
1067
+ isDeleted: z.ZodBoolean;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ locator: string;
1070
+ isDeleted: boolean;
1071
+ }, {
1072
+ locator: string;
1073
+ isDeleted: boolean;
1074
+ }>]>;
1042
1075
  createdAt: z.ZodString;
1043
- updatedBy: z.ZodOptional<z.ZodString>;
1076
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1077
+ locator: z.ZodString;
1078
+ userName: z.ZodString;
1079
+ firstName: z.ZodOptional<z.ZodString>;
1080
+ lastName: z.ZodOptional<z.ZodString>;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ locator: string;
1083
+ userName: string;
1084
+ firstName?: string | undefined;
1085
+ lastName?: string | undefined;
1086
+ }, {
1087
+ locator: string;
1088
+ userName: string;
1089
+ firstName?: string | undefined;
1090
+ lastName?: string | undefined;
1091
+ }>, z.ZodObject<{
1092
+ locator: z.ZodString;
1093
+ isDeleted: z.ZodBoolean;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ locator: string;
1096
+ isDeleted: boolean;
1097
+ }, {
1098
+ locator: string;
1099
+ isDeleted: boolean;
1100
+ }>]>>;
1044
1101
  updatedAt: z.ZodOptional<z.ZodString>;
1045
- }>, "strip", z.ZodTypeAny, {
1102
+ }, "strip", z.ZodTypeAny, {
1046
1103
  locator: string;
1047
1104
  type: string;
1048
- createdBy: string;
1105
+ createdBy: {
1106
+ locator: string;
1107
+ userName: string;
1108
+ firstName?: string | undefined;
1109
+ lastName?: string | undefined;
1110
+ } | {
1111
+ locator: string;
1112
+ isDeleted: boolean;
1113
+ };
1049
1114
  category: string;
1050
1115
  createdAt: string;
1051
1116
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1052
1117
  deadlineTime?: string | undefined;
1053
- references?: {
1054
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1055
- referenceLocator: string;
1056
- }[] | undefined;
1057
1118
  underwritingFlagLocators?: string[] | undefined;
1058
- assignedTo?: string | undefined;
1059
- updatedBy?: string | undefined;
1119
+ assignedTo?: {
1120
+ locator: string;
1121
+ userName: string;
1122
+ firstName?: string | undefined;
1123
+ lastName?: string | undefined;
1124
+ } | {
1125
+ locator: string;
1126
+ isDeleted: boolean;
1127
+ } | undefined;
1128
+ updatedBy?: {
1129
+ locator: string;
1130
+ userName: string;
1131
+ firstName?: string | undefined;
1132
+ lastName?: string | undefined;
1133
+ } | {
1134
+ locator: string;
1135
+ isDeleted: boolean;
1136
+ } | undefined;
1060
1137
  updatedAt?: string | undefined;
1061
1138
  }, {
1062
1139
  locator: string;
1063
1140
  type: string;
1064
- createdBy: string;
1141
+ createdBy: {
1142
+ locator: string;
1143
+ userName: string;
1144
+ firstName?: string | undefined;
1145
+ lastName?: string | undefined;
1146
+ } | {
1147
+ locator: string;
1148
+ isDeleted: boolean;
1149
+ };
1065
1150
  category: string;
1066
1151
  createdAt: string;
1067
1152
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1068
1153
  deadlineTime?: string | undefined;
1069
- references?: {
1070
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1071
- referenceLocator: string;
1072
- }[] | undefined;
1073
1154
  underwritingFlagLocators?: string[] | undefined;
1074
- assignedTo?: string | undefined;
1075
- updatedBy?: string | undefined;
1155
+ assignedTo?: {
1156
+ locator: string;
1157
+ userName: string;
1158
+ firstName?: string | undefined;
1159
+ lastName?: string | undefined;
1160
+ } | {
1161
+ locator: string;
1162
+ isDeleted: boolean;
1163
+ } | undefined;
1164
+ updatedBy?: {
1165
+ locator: string;
1166
+ userName: string;
1167
+ firstName?: string | undefined;
1168
+ lastName?: string | undefined;
1169
+ } | {
1170
+ locator: string;
1171
+ isDeleted: boolean;
1172
+ } | undefined;
1076
1173
  updatedAt?: string | undefined;
1077
1174
  }>, "many">;
1078
1175
  }, "strip", z.ZodTypeAny, {
1079
1176
  items: {
1080
1177
  locator: string;
1081
1178
  type: string;
1082
- createdBy: string;
1179
+ createdBy: {
1180
+ locator: string;
1181
+ userName: string;
1182
+ firstName?: string | undefined;
1183
+ lastName?: string | undefined;
1184
+ } | {
1185
+ locator: string;
1186
+ isDeleted: boolean;
1187
+ };
1083
1188
  category: string;
1084
1189
  createdAt: string;
1085
1190
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1086
1191
  deadlineTime?: string | undefined;
1087
- references?: {
1088
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1089
- referenceLocator: string;
1090
- }[] | undefined;
1091
1192
  underwritingFlagLocators?: string[] | undefined;
1092
- assignedTo?: string | undefined;
1093
- updatedBy?: string | undefined;
1094
- updatedAt?: string | undefined;
1095
- }[];
1096
- listCompleted: boolean;
1097
- }, {
1098
- items: {
1099
- locator: string;
1100
- type: string;
1101
- createdBy: string;
1102
- category: string;
1103
- createdAt: string;
1104
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1105
- deadlineTime?: string | undefined;
1106
- references?: {
1107
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1108
- referenceLocator: string;
1109
- }[] | undefined;
1193
+ assignedTo?: {
1194
+ locator: string;
1195
+ userName: string;
1196
+ firstName?: string | undefined;
1197
+ lastName?: string | undefined;
1198
+ } | {
1199
+ locator: string;
1200
+ isDeleted: boolean;
1201
+ } | undefined;
1202
+ updatedBy?: {
1203
+ locator: string;
1204
+ userName: string;
1205
+ firstName?: string | undefined;
1206
+ lastName?: string | undefined;
1207
+ } | {
1208
+ locator: string;
1209
+ isDeleted: boolean;
1210
+ } | undefined;
1211
+ updatedAt?: string | undefined;
1212
+ }[];
1213
+ listCompleted: boolean;
1214
+ }, {
1215
+ items: {
1216
+ locator: string;
1217
+ type: string;
1218
+ createdBy: {
1219
+ locator: string;
1220
+ userName: string;
1221
+ firstName?: string | undefined;
1222
+ lastName?: string | undefined;
1223
+ } | {
1224
+ locator: string;
1225
+ isDeleted: boolean;
1226
+ };
1227
+ category: string;
1228
+ createdAt: string;
1229
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1230
+ deadlineTime?: string | undefined;
1110
1231
  underwritingFlagLocators?: string[] | undefined;
1111
- assignedTo?: string | undefined;
1112
- updatedBy?: string | undefined;
1232
+ assignedTo?: {
1233
+ locator: string;
1234
+ userName: string;
1235
+ firstName?: string | undefined;
1236
+ lastName?: string | undefined;
1237
+ } | {
1238
+ locator: string;
1239
+ isDeleted: boolean;
1240
+ } | undefined;
1241
+ updatedBy?: {
1242
+ locator: string;
1243
+ userName: string;
1244
+ firstName?: string | undefined;
1245
+ lastName?: string | undefined;
1246
+ } | {
1247
+ locator: string;
1248
+ isDeleted: boolean;
1249
+ } | undefined;
1113
1250
  updatedAt?: string | undefined;
1114
1251
  }[];
1115
1252
  listCompleted: boolean;
1116
1253
  }>;
1117
1254
 
1118
- export declare const ActivityParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
1119
- tenantLocator: z.ZodString;
1120
- }, {
1121
- activityLocator: z.ZodString;
1122
- }>, "strip", z.ZodTypeAny, {
1123
- tenantLocator: string;
1124
- activityLocator: string;
1255
+ export declare const ActivityHistoryListResponseSchema: z.ZodObject<{
1256
+ listCompleted: z.ZodBoolean;
1257
+ items: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1258
+ locator: z.ZodString;
1259
+ category: z.ZodString;
1260
+ type: z.ZodString;
1261
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1262
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1263
+ deadlineTime: z.ZodString;
1264
+ assignedTo: z.ZodOptional<z.ZodString>;
1265
+ createdBy: z.ZodString;
1266
+ createdAt: z.ZodString;
1267
+ }, {
1268
+ updatedBy: z.ZodOptional<z.ZodString>;
1269
+ updatedAt: z.ZodString;
1270
+ }>, "strip", z.ZodTypeAny, {
1271
+ locator: string;
1272
+ type: string;
1273
+ createdBy: string;
1274
+ category: string;
1275
+ deadlineTime: string;
1276
+ underwritingFlagLocators: string[];
1277
+ createdAt: string;
1278
+ updatedAt: string;
1279
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1280
+ assignedTo?: string | undefined;
1281
+ updatedBy?: string | undefined;
1282
+ }, {
1283
+ locator: string;
1284
+ type: string;
1285
+ createdBy: string;
1286
+ category: string;
1287
+ deadlineTime: string;
1288
+ underwritingFlagLocators: string[];
1289
+ createdAt: string;
1290
+ updatedAt: string;
1291
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1292
+ assignedTo?: string | undefined;
1293
+ updatedBy?: string | undefined;
1294
+ }>, z.ZodObject<{
1295
+ locator: z.ZodString;
1296
+ category: z.ZodString;
1297
+ type: z.ZodString;
1298
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1299
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1300
+ deadlineTime: z.ZodString;
1301
+ assignedTo: z.ZodOptional<z.ZodString>;
1302
+ createdBy: z.ZodString;
1303
+ createdAt: z.ZodString;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ locator: string;
1306
+ type: string;
1307
+ createdBy: string;
1308
+ category: string;
1309
+ deadlineTime: string;
1310
+ underwritingFlagLocators: string[];
1311
+ createdAt: string;
1312
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1313
+ assignedTo?: string | undefined;
1314
+ }, {
1315
+ locator: string;
1316
+ type: string;
1317
+ createdBy: string;
1318
+ category: string;
1319
+ deadlineTime: string;
1320
+ underwritingFlagLocators: string[];
1321
+ createdAt: string;
1322
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1323
+ assignedTo?: string | undefined;
1324
+ }>]>, "many">;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ items: ({
1327
+ locator: string;
1328
+ type: string;
1329
+ createdBy: string;
1330
+ category: string;
1331
+ deadlineTime: string;
1332
+ underwritingFlagLocators: string[];
1333
+ createdAt: string;
1334
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1335
+ assignedTo?: string | undefined;
1336
+ } | {
1337
+ locator: string;
1338
+ type: string;
1339
+ createdBy: string;
1340
+ category: string;
1341
+ deadlineTime: string;
1342
+ underwritingFlagLocators: string[];
1343
+ createdAt: string;
1344
+ updatedAt: string;
1345
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1346
+ assignedTo?: string | undefined;
1347
+ updatedBy?: string | undefined;
1348
+ })[];
1349
+ listCompleted: boolean;
1125
1350
  }, {
1126
- tenantLocator: string;
1127
- activityLocator: string;
1351
+ items: ({
1352
+ locator: string;
1353
+ type: string;
1354
+ createdBy: string;
1355
+ category: string;
1356
+ deadlineTime: string;
1357
+ underwritingFlagLocators: string[];
1358
+ createdAt: string;
1359
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1360
+ assignedTo?: string | undefined;
1361
+ } | {
1362
+ locator: string;
1363
+ type: string;
1364
+ createdBy: string;
1365
+ category: string;
1366
+ deadlineTime: string;
1367
+ underwritingFlagLocators: string[];
1368
+ createdAt: string;
1369
+ updatedAt: string;
1370
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1371
+ assignedTo?: string | undefined;
1372
+ updatedBy?: string | undefined;
1373
+ })[];
1374
+ listCompleted: boolean;
1128
1375
  }>;
1129
1376
 
1130
- export declare type ActivityReference = z.infer<typeof ActivityReferenceSchema>;
1131
-
1132
- export declare type ActivityReferenceEnum = z.infer<typeof ActivityReferenceEnumSchema>;
1133
-
1134
- export declare const ActivityReferenceEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1135
-
1136
- export declare const ActivityReferenceSchema: z.ZodObject<z.objectUtil.extendShape<{
1137
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1138
- referenceLocator: z.ZodString;
1139
- }, {
1140
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1141
- }>, "strip", z.ZodTypeAny, {
1142
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1143
- referenceLocator: string;
1144
- }, {
1145
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1146
- referenceLocator: string;
1147
- }>;
1377
+ export declare type ActivityHistoryResponse = z.infer<typeof ActivityHistoryResponseSchema>;
1148
1378
 
1149
- export declare type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
1379
+ export declare type ActivityHistoryResponseBff = z.infer<typeof ActivityHistoryResponseBffSchema>;
1150
1380
 
1151
- export declare const ActivityResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1381
+ export declare const ActivityHistoryResponseBffSchema: z.ZodObject<{
1152
1382
  locator: z.ZodString;
1153
1383
  category: z.ZodString;
1154
1384
  type: z.ZodString;
1155
- activityState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"pastDeadline">, z.ZodLiteral<"completed">, z.ZodLiteral<"cancelled">]>;
1156
- references: z.ZodArray<z.ZodObject<{
1157
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1158
- referenceLocator: z.ZodString;
1385
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1386
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1387
+ deadlineTime: z.ZodOptional<z.ZodString>;
1388
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1389
+ locator: z.ZodString;
1390
+ userName: z.ZodString;
1391
+ firstName: z.ZodOptional<z.ZodString>;
1392
+ lastName: z.ZodOptional<z.ZodString>;
1159
1393
  }, "strip", z.ZodTypeAny, {
1160
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1161
- referenceLocator: string;
1394
+ locator: string;
1395
+ userName: string;
1396
+ firstName?: string | undefined;
1397
+ lastName?: string | undefined;
1162
1398
  }, {
1163
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1164
- referenceLocator: string;
1165
- }>, "many">;
1166
- underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1167
- deadlineTime: z.ZodOptional<z.ZodString>;
1168
- assignedTo: z.ZodOptional<z.ZodString>;
1169
- createdBy: z.ZodString;
1170
- createdAt: z.ZodString;
1171
- updatedBy: z.ZodOptional<z.ZodString>;
1172
- updatedAt: z.ZodOptional<z.ZodString>;
1173
- }, {
1174
- locator: z.ZodString;
1175
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1176
- references: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1177
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1178
- referenceLocator: z.ZodString;
1399
+ locator: string;
1400
+ userName: string;
1401
+ firstName?: string | undefined;
1402
+ lastName?: string | undefined;
1403
+ }>, z.ZodObject<{
1404
+ locator: z.ZodString;
1405
+ isDeleted: z.ZodBoolean;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ locator: string;
1408
+ isDeleted: boolean;
1179
1409
  }, {
1180
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1181
- }>, "strip", z.ZodTypeAny, {
1182
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1183
- referenceLocator: string;
1410
+ locator: string;
1411
+ isDeleted: boolean;
1412
+ }>]>>;
1413
+ createdBy: z.ZodUnion<[z.ZodObject<{
1414
+ locator: z.ZodString;
1415
+ userName: z.ZodString;
1416
+ firstName: z.ZodOptional<z.ZodString>;
1417
+ lastName: z.ZodOptional<z.ZodString>;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ locator: string;
1420
+ userName: string;
1421
+ firstName?: string | undefined;
1422
+ lastName?: string | undefined;
1184
1423
  }, {
1185
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1186
- referenceLocator: string;
1187
- }>, "many">>;
1188
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1189
- deadlineTime: z.ZodOptional<z.ZodString>;
1190
- assignedTo: z.ZodOptional<z.ZodString>;
1191
- createdBy: z.ZodString;
1424
+ locator: string;
1425
+ userName: string;
1426
+ firstName?: string | undefined;
1427
+ lastName?: string | undefined;
1428
+ }>, z.ZodObject<{
1429
+ locator: z.ZodString;
1430
+ isDeleted: z.ZodBoolean;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ locator: string;
1433
+ isDeleted: boolean;
1434
+ }, {
1435
+ locator: string;
1436
+ isDeleted: boolean;
1437
+ }>]>;
1192
1438
  createdAt: z.ZodString;
1193
- updatedBy: z.ZodOptional<z.ZodString>;
1194
- updatedAt: z.ZodOptional<z.ZodString>;
1195
- }>, "strip", z.ZodTypeAny, {
1439
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1440
+ locator: z.ZodString;
1441
+ userName: z.ZodString;
1442
+ firstName: z.ZodOptional<z.ZodString>;
1443
+ lastName: z.ZodOptional<z.ZodString>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ locator: string;
1446
+ userName: string;
1447
+ firstName?: string | undefined;
1448
+ lastName?: string | undefined;
1449
+ }, {
1450
+ locator: string;
1451
+ userName: string;
1452
+ firstName?: string | undefined;
1453
+ lastName?: string | undefined;
1454
+ }>, z.ZodObject<{
1455
+ locator: z.ZodString;
1456
+ isDeleted: z.ZodBoolean;
1457
+ }, "strip", z.ZodTypeAny, {
1458
+ locator: string;
1459
+ isDeleted: boolean;
1460
+ }, {
1461
+ locator: string;
1462
+ isDeleted: boolean;
1463
+ }>]>>;
1464
+ updatedAt: z.ZodOptional<z.ZodString>;
1465
+ }, "strip", z.ZodTypeAny, {
1196
1466
  locator: string;
1197
1467
  type: string;
1198
- createdBy: string;
1468
+ createdBy: {
1469
+ locator: string;
1470
+ userName: string;
1471
+ firstName?: string | undefined;
1472
+ lastName?: string | undefined;
1473
+ } | {
1474
+ locator: string;
1475
+ isDeleted: boolean;
1476
+ };
1199
1477
  category: string;
1200
1478
  createdAt: string;
1201
1479
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1202
1480
  deadlineTime?: string | undefined;
1203
- references?: {
1204
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1205
- referenceLocator: string;
1206
- }[] | undefined;
1207
1481
  underwritingFlagLocators?: string[] | undefined;
1208
- assignedTo?: string | undefined;
1209
- updatedBy?: string | undefined;
1482
+ assignedTo?: {
1483
+ locator: string;
1484
+ userName: string;
1485
+ firstName?: string | undefined;
1486
+ lastName?: string | undefined;
1487
+ } | {
1488
+ locator: string;
1489
+ isDeleted: boolean;
1490
+ } | undefined;
1491
+ updatedBy?: {
1492
+ locator: string;
1493
+ userName: string;
1494
+ firstName?: string | undefined;
1495
+ lastName?: string | undefined;
1496
+ } | {
1497
+ locator: string;
1498
+ isDeleted: boolean;
1499
+ } | undefined;
1210
1500
  updatedAt?: string | undefined;
1211
1501
  }, {
1212
1502
  locator: string;
1213
1503
  type: string;
1214
- createdBy: string;
1504
+ createdBy: {
1505
+ locator: string;
1506
+ userName: string;
1507
+ firstName?: string | undefined;
1508
+ lastName?: string | undefined;
1509
+ } | {
1510
+ locator: string;
1511
+ isDeleted: boolean;
1512
+ };
1215
1513
  category: string;
1216
1514
  createdAt: string;
1217
1515
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1218
1516
  deadlineTime?: string | undefined;
1219
- references?: {
1220
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1221
- referenceLocator: string;
1222
- }[] | undefined;
1223
1517
  underwritingFlagLocators?: string[] | undefined;
1224
- assignedTo?: string | undefined;
1225
- updatedBy?: string | undefined;
1518
+ assignedTo?: {
1519
+ locator: string;
1520
+ userName: string;
1521
+ firstName?: string | undefined;
1522
+ lastName?: string | undefined;
1523
+ } | {
1524
+ locator: string;
1525
+ isDeleted: boolean;
1526
+ } | undefined;
1527
+ updatedBy?: {
1528
+ locator: string;
1529
+ userName: string;
1530
+ firstName?: string | undefined;
1531
+ lastName?: string | undefined;
1532
+ } | {
1533
+ locator: string;
1534
+ isDeleted: boolean;
1535
+ } | undefined;
1226
1536
  updatedAt?: string | undefined;
1227
1537
  }>;
1228
1538
 
1229
- export declare type ActivityStateEnum = z.infer<typeof ActivityStateEnumSchema>;
1230
-
1231
- export declare const ActivityStateEnumSchema: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1232
-
1233
- export declare type ActivityTypeRef = z.infer<typeof ActivityTypeRefSchema>;
1234
-
1235
- export declare const ActivityTypeRefSchema: z.ZodObject<z.objectUtil.extendShape<{
1236
- defaultDeadlineDays: z.ZodNumber;
1237
- blocksUnderwriting: z.ZodBoolean;
1238
- }, {}>, "strip", z.ZodTypeAny, {
1239
- defaultDeadlineDays: number;
1240
- blocksUnderwriting: boolean;
1241
- }, {
1242
- defaultDeadlineDays: number;
1243
- blocksUnderwriting: boolean;
1244
- }>;
1245
-
1246
- export declare type ActivityUpdateRequest = z.infer<typeof ActivityUpdateRequestSchema>;
1247
-
1248
- export declare const ActivityUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
1249
- deadlineTime: z.ZodOptional<z.ZodString>;
1250
- addReferences: z.ZodArray<z.ZodObject<{
1251
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1252
- referenceLocator: z.ZodString;
1253
- }, "strip", z.ZodTypeAny, {
1254
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1255
- referenceLocator: string;
1256
- }, {
1257
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1258
- referenceLocator: string;
1259
- }>, "many">;
1260
- removeReferences: z.ZodArray<z.ZodObject<{
1261
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1262
- referenceLocator: z.ZodString;
1263
- }, "strip", z.ZodTypeAny, {
1264
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1265
- referenceLocator: string;
1266
- }, {
1267
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1268
- referenceLocator: string;
1269
- }>, "many">;
1270
- addUnderwritingFlags: z.ZodArray<z.ZodString, "many">;
1271
- removeUnderwritingFlags: z.ZodArray<z.ZodString, "many">;
1539
+ export declare const ActivityHistoryResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1540
+ locator: z.ZodString;
1541
+ category: z.ZodString;
1542
+ type: z.ZodString;
1543
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1544
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1545
+ deadlineTime: z.ZodString;
1546
+ assignedTo: z.ZodOptional<z.ZodString>;
1547
+ createdBy: z.ZodString;
1548
+ createdAt: z.ZodString;
1272
1549
  }, {
1273
- deadlineTime: z.ZodOptional<z.ZodString>;
1274
- addReferences: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1275
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1276
- referenceLocator: z.ZodString;
1277
- }, {
1278
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1279
- }>, "strip", z.ZodTypeAny, {
1280
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1281
- referenceLocator: string;
1282
- }, {
1283
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1284
- referenceLocator: string;
1285
- }>, "many">;
1286
- removeReferences: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1287
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1288
- referenceLocator: z.ZodString;
1289
- }, {
1290
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1291
- }>, "strip", z.ZodTypeAny, {
1292
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1293
- referenceLocator: string;
1294
- }, {
1295
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1296
- referenceLocator: string;
1297
- }>, "many">;
1550
+ updatedBy: z.ZodOptional<z.ZodString>;
1551
+ updatedAt: z.ZodString;
1298
1552
  }>, "strip", z.ZodTypeAny, {
1299
- addReferences: {
1300
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1301
- referenceLocator: string;
1302
- }[];
1303
- removeReferences: {
1304
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1305
- referenceLocator: string;
1306
- }[];
1307
- addUnderwritingFlags: string[];
1308
- removeUnderwritingFlags: string[];
1309
- deadlineTime?: string | undefined;
1553
+ locator: string;
1554
+ type: string;
1555
+ createdBy: string;
1556
+ category: string;
1557
+ deadlineTime: string;
1558
+ underwritingFlagLocators: string[];
1559
+ createdAt: string;
1560
+ updatedAt: string;
1561
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1562
+ assignedTo?: string | undefined;
1563
+ updatedBy?: string | undefined;
1310
1564
  }, {
1311
- addReferences: {
1312
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1313
- referenceLocator: string;
1314
- }[];
1315
- removeReferences: {
1316
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1317
- referenceLocator: string;
1318
- }[];
1319
- addUnderwritingFlags: string[];
1320
- removeUnderwritingFlags: string[];
1321
- deadlineTime?: string | undefined;
1565
+ locator: string;
1566
+ type: string;
1567
+ createdBy: string;
1568
+ category: string;
1569
+ deadlineTime: string;
1570
+ underwritingFlagLocators: string[];
1571
+ createdAt: string;
1572
+ updatedAt: string;
1573
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1574
+ assignedTo?: string | undefined;
1575
+ updatedBy?: string | undefined;
1322
1576
  }>;
1323
1577
 
1324
- export declare type ActivityWithUserListResponse = z.infer<typeof ActivityWithUserListResponseSchema>;
1578
+ export declare type ActivityId = z.infer<typeof ActivityIdSchema>;
1579
+
1580
+ export declare const ActivityIdSchema: z.ZodString;
1581
+
1582
+ export declare type ActivityListResponse = z.infer<typeof ActivityListResponseSchema>;
1583
+
1584
+ export declare type ActivityListResponseBff = z.infer<typeof ActivityListResponseBffSchema>;
1325
1585
 
1326
- export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1586
+ export declare const ActivityListResponseBffSchema: z.ZodObject<{
1327
1587
  listCompleted: z.ZodBoolean;
1328
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1329
- locator: z.ZodString;
1330
- category: z.ZodString;
1331
- type: z.ZodString;
1332
- activityState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"pastDeadline">, z.ZodLiteral<"completed">, z.ZodLiteral<"cancelled">]>;
1333
- references: z.ZodArray<z.ZodObject<{
1334
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1335
- referenceLocator: z.ZodString;
1336
- }, "strip", z.ZodTypeAny, {
1337
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1338
- referenceLocator: string;
1339
- }, {
1340
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1341
- referenceLocator: string;
1342
- }>, "many">;
1343
- underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1344
- deadlineTime: z.ZodOptional<z.ZodString>;
1345
- assignedTo: z.ZodOptional<z.ZodString>;
1346
- createdBy: z.ZodString;
1347
- createdAt: z.ZodString;
1348
- updatedBy: z.ZodOptional<z.ZodString>;
1349
- updatedAt: z.ZodOptional<z.ZodString>;
1350
- }, {
1351
- locator: z.ZodString;
1352
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1353
- references: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1354
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1355
- referenceLocator: z.ZodString;
1356
- }, {
1357
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1358
- }>, "strip", z.ZodTypeAny, {
1359
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1360
- referenceLocator: string;
1361
- }, {
1362
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1363
- referenceLocator: string;
1364
- }>, "many">>;
1365
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1366
- deadlineTime: z.ZodOptional<z.ZodString>;
1367
- assignedTo: z.ZodOptional<z.ZodString>;
1368
- createdBy: z.ZodString;
1369
- createdAt: z.ZodString;
1370
- updatedBy: z.ZodOptional<z.ZodString>;
1371
- updatedAt: z.ZodOptional<z.ZodString>;
1372
- }>, "assignedTo">, {
1588
+ items: z.ZodArray<z.ZodObject<{
1373
1589
  assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1374
1590
  locator: z.ZodString;
1375
1591
  userName: z.ZodString;
@@ -1395,37 +1611,129 @@ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1395
1611
  locator: string;
1396
1612
  isDeleted: boolean;
1397
1613
  }>]>>;
1398
- }>, "strip", z.ZodTypeAny, {
1399
- locator: string;
1400
- type: string;
1401
- createdBy: string;
1402
- category: string;
1403
- createdAt: string;
1404
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1405
- deadlineTime?: string | undefined;
1406
- references?: {
1407
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1408
- referenceLocator: string;
1409
- }[] | undefined;
1410
- underwritingFlagLocators?: string[] | undefined;
1411
- assignedTo?: {
1614
+ createdBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1615
+ locator: z.ZodString;
1616
+ userName: z.ZodString;
1617
+ firstName: z.ZodOptional<z.ZodString>;
1618
+ lastName: z.ZodOptional<z.ZodString>;
1619
+ }, "strip", z.ZodTypeAny, {
1412
1620
  locator: string;
1413
1621
  userName: string;
1414
1622
  firstName?: string | undefined;
1415
1623
  lastName?: string | undefined;
1416
- } | {
1624
+ }, {
1625
+ locator: string;
1626
+ userName: string;
1627
+ firstName?: string | undefined;
1628
+ lastName?: string | undefined;
1629
+ }>, z.ZodObject<{
1630
+ locator: z.ZodString;
1631
+ isDeleted: z.ZodBoolean;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ locator: string;
1634
+ isDeleted: boolean;
1635
+ }, {
1636
+ locator: string;
1637
+ isDeleted: boolean;
1638
+ }>]>>;
1639
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1640
+ locator: z.ZodString;
1641
+ userName: z.ZodString;
1642
+ firstName: z.ZodOptional<z.ZodString>;
1643
+ lastName: z.ZodOptional<z.ZodString>;
1644
+ }, "strip", z.ZodTypeAny, {
1645
+ locator: string;
1646
+ userName: string;
1647
+ firstName?: string | undefined;
1648
+ lastName?: string | undefined;
1649
+ }, {
1650
+ locator: string;
1651
+ userName: string;
1652
+ firstName?: string | undefined;
1653
+ lastName?: string | undefined;
1654
+ }>, z.ZodObject<{
1655
+ locator: z.ZodString;
1656
+ isDeleted: z.ZodBoolean;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ locator: string;
1659
+ isDeleted: boolean;
1660
+ }, {
1661
+ locator: string;
1662
+ isDeleted: boolean;
1663
+ }>]>>;
1664
+ locator: z.ZodString;
1665
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1666
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1667
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1668
+ referenceLocator: z.ZodString;
1669
+ }, "strip", z.ZodTypeAny, {
1670
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1671
+ referenceLocator: string;
1672
+ }, {
1673
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1674
+ referenceLocator: string;
1675
+ }>, "many">>;
1676
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1677
+ deadlineTime: z.ZodOptional<z.ZodString>;
1678
+ createdAt: z.ZodString;
1679
+ updatedAt: z.ZodOptional<z.ZodString>;
1680
+ category: z.ZodString;
1681
+ type: z.ZodString;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ locator: string;
1684
+ type: string;
1685
+ category: string;
1686
+ createdAt: string;
1687
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1688
+ createdBy?: {
1689
+ locator: string;
1690
+ userName: string;
1691
+ firstName?: string | undefined;
1692
+ lastName?: string | undefined;
1693
+ } | {
1694
+ locator: string;
1695
+ isDeleted: boolean;
1696
+ } | undefined;
1697
+ deadlineTime?: string | undefined;
1698
+ references?: {
1699
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1700
+ referenceLocator: string;
1701
+ }[] | undefined;
1702
+ underwritingFlagLocators?: string[] | undefined;
1703
+ assignedTo?: {
1704
+ locator: string;
1705
+ userName: string;
1706
+ firstName?: string | undefined;
1707
+ lastName?: string | undefined;
1708
+ } | {
1709
+ locator: string;
1710
+ isDeleted: boolean;
1711
+ } | undefined;
1712
+ updatedBy?: {
1713
+ locator: string;
1714
+ userName: string;
1715
+ firstName?: string | undefined;
1716
+ lastName?: string | undefined;
1717
+ } | {
1417
1718
  locator: string;
1418
1719
  isDeleted: boolean;
1419
1720
  } | undefined;
1420
- updatedBy?: string | undefined;
1421
1721
  updatedAt?: string | undefined;
1422
1722
  }, {
1423
1723
  locator: string;
1424
1724
  type: string;
1425
- createdBy: string;
1426
1725
  category: string;
1427
1726
  createdAt: string;
1428
1727
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1728
+ createdBy?: {
1729
+ locator: string;
1730
+ userName: string;
1731
+ firstName?: string | undefined;
1732
+ lastName?: string | undefined;
1733
+ } | {
1734
+ locator: string;
1735
+ isDeleted: boolean;
1736
+ } | undefined;
1429
1737
  deadlineTime?: string | undefined;
1430
1738
  references?: {
1431
1739
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1441,17 +1749,33 @@ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1441
1749
  locator: string;
1442
1750
  isDeleted: boolean;
1443
1751
  } | undefined;
1444
- updatedBy?: string | undefined;
1752
+ updatedBy?: {
1753
+ locator: string;
1754
+ userName: string;
1755
+ firstName?: string | undefined;
1756
+ lastName?: string | undefined;
1757
+ } | {
1758
+ locator: string;
1759
+ isDeleted: boolean;
1760
+ } | undefined;
1445
1761
  updatedAt?: string | undefined;
1446
1762
  }>, "many">;
1447
1763
  }, "strip", z.ZodTypeAny, {
1448
1764
  items: {
1449
1765
  locator: string;
1450
1766
  type: string;
1451
- createdBy: string;
1452
1767
  category: string;
1453
1768
  createdAt: string;
1454
1769
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1770
+ createdBy?: {
1771
+ locator: string;
1772
+ userName: string;
1773
+ firstName?: string | undefined;
1774
+ lastName?: string | undefined;
1775
+ } | {
1776
+ locator: string;
1777
+ isDeleted: boolean;
1778
+ } | undefined;
1455
1779
  deadlineTime?: string | undefined;
1456
1780
  references?: {
1457
1781
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1467,7 +1791,15 @@ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1467
1791
  locator: string;
1468
1792
  isDeleted: boolean;
1469
1793
  } | undefined;
1470
- updatedBy?: string | undefined;
1794
+ updatedBy?: {
1795
+ locator: string;
1796
+ userName: string;
1797
+ firstName?: string | undefined;
1798
+ lastName?: string | undefined;
1799
+ } | {
1800
+ locator: string;
1801
+ isDeleted: boolean;
1802
+ } | undefined;
1471
1803
  updatedAt?: string | undefined;
1472
1804
  }[];
1473
1805
  listCompleted: boolean;
@@ -1475,10 +1807,18 @@ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1475
1807
  items: {
1476
1808
  locator: string;
1477
1809
  type: string;
1478
- createdBy: string;
1479
1810
  category: string;
1480
1811
  createdAt: string;
1481
1812
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1813
+ createdBy?: {
1814
+ locator: string;
1815
+ userName: string;
1816
+ firstName?: string | undefined;
1817
+ lastName?: string | undefined;
1818
+ } | {
1819
+ locator: string;
1820
+ isDeleted: boolean;
1821
+ } | undefined;
1482
1822
  deadlineTime?: string | undefined;
1483
1823
  references?: {
1484
1824
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1494,91 +1834,259 @@ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1494
1834
  locator: string;
1495
1835
  isDeleted: boolean;
1496
1836
  } | undefined;
1497
- updatedBy?: string | undefined;
1837
+ updatedBy?: {
1838
+ locator: string;
1839
+ userName: string;
1840
+ firstName?: string | undefined;
1841
+ lastName?: string | undefined;
1842
+ } | {
1843
+ locator: string;
1844
+ isDeleted: boolean;
1845
+ } | undefined;
1498
1846
  updatedAt?: string | undefined;
1499
1847
  }[];
1500
1848
  listCompleted: boolean;
1501
1849
  }>;
1502
1850
 
1503
- export declare type ActivityWithUserResponse = z.infer<typeof ActivityWithUserResponseSchema>;
1504
-
1505
- export declare const ActivityWithUserResponseSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1506
- locator: z.ZodString;
1507
- category: z.ZodString;
1508
- type: z.ZodString;
1509
- activityState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"pastDeadline">, z.ZodLiteral<"completed">, z.ZodLiteral<"cancelled">]>;
1510
- references: z.ZodArray<z.ZodObject<{
1511
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1512
- referenceLocator: z.ZodString;
1513
- }, "strip", z.ZodTypeAny, {
1514
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1515
- referenceLocator: string;
1516
- }, {
1517
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1518
- referenceLocator: string;
1519
- }>, "many">;
1520
- underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1521
- deadlineTime: z.ZodOptional<z.ZodString>;
1522
- assignedTo: z.ZodOptional<z.ZodString>;
1523
- createdBy: z.ZodString;
1524
- createdAt: z.ZodString;
1525
- updatedBy: z.ZodOptional<z.ZodString>;
1526
- updatedAt: z.ZodOptional<z.ZodString>;
1527
- }, {
1528
- locator: z.ZodString;
1529
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1530
- references: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1531
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1532
- referenceLocator: z.ZodString;
1533
- }, {
1534
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1535
- }>, "strip", z.ZodTypeAny, {
1536
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1537
- referenceLocator: string;
1538
- }, {
1539
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1540
- referenceLocator: string;
1541
- }>, "many">>;
1542
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1543
- deadlineTime: z.ZodOptional<z.ZodString>;
1544
- assignedTo: z.ZodOptional<z.ZodString>;
1545
- createdBy: z.ZodString;
1546
- createdAt: z.ZodString;
1547
- updatedBy: z.ZodOptional<z.ZodString>;
1548
- updatedAt: z.ZodOptional<z.ZodString>;
1549
- }>, "assignedTo">, {
1550
- assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1851
+ export declare const ActivityListResponseSchema: z.ZodObject<{
1852
+ listCompleted: z.ZodBoolean;
1853
+ items: z.ZodArray<z.ZodObject<{
1551
1854
  locator: z.ZodString;
1552
- userName: z.ZodString;
1553
- firstName: z.ZodOptional<z.ZodString>;
1554
- lastName: z.ZodOptional<z.ZodString>;
1855
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1856
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1857
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1858
+ referenceLocator: z.ZodString;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1861
+ referenceLocator: string;
1862
+ }, {
1863
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1864
+ referenceLocator: string;
1865
+ }>, "many">>;
1866
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1867
+ deadlineTime: z.ZodOptional<z.ZodString>;
1868
+ assignedTo: z.ZodOptional<z.ZodString>;
1869
+ createdBy: z.ZodString;
1870
+ updatedBy: z.ZodOptional<z.ZodString>;
1871
+ createdAt: z.ZodString;
1872
+ updatedAt: z.ZodOptional<z.ZodString>;
1873
+ category: z.ZodString;
1874
+ type: z.ZodString;
1555
1875
  }, "strip", z.ZodTypeAny, {
1556
1876
  locator: string;
1557
- userName: string;
1558
- firstName?: string | undefined;
1559
- lastName?: string | undefined;
1877
+ type: string;
1878
+ createdBy: string;
1879
+ category: string;
1880
+ createdAt: string;
1881
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1882
+ deadlineTime?: string | undefined;
1883
+ references?: {
1884
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1885
+ referenceLocator: string;
1886
+ }[] | undefined;
1887
+ underwritingFlagLocators?: string[] | undefined;
1888
+ assignedTo?: string | undefined;
1889
+ updatedBy?: string | undefined;
1890
+ updatedAt?: string | undefined;
1560
1891
  }, {
1561
1892
  locator: string;
1562
- userName: string;
1563
- firstName?: string | undefined;
1564
- lastName?: string | undefined;
1565
- }>, z.ZodObject<{
1566
- locator: z.ZodString;
1567
- isDeleted: z.ZodBoolean;
1568
- }, "strip", z.ZodTypeAny, {
1569
- locator: string;
1570
- isDeleted: boolean;
1571
- }, {
1893
+ type: string;
1894
+ createdBy: string;
1895
+ category: string;
1896
+ createdAt: string;
1897
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1898
+ deadlineTime?: string | undefined;
1899
+ references?: {
1900
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1901
+ referenceLocator: string;
1902
+ }[] | undefined;
1903
+ underwritingFlagLocators?: string[] | undefined;
1904
+ assignedTo?: string | undefined;
1905
+ updatedBy?: string | undefined;
1906
+ updatedAt?: string | undefined;
1907
+ }>, "many">;
1908
+ }, "strip", z.ZodTypeAny, {
1909
+ items: {
1572
1910
  locator: string;
1573
- isDeleted: boolean;
1574
- }>]>>;
1911
+ type: string;
1912
+ createdBy: string;
1913
+ category: string;
1914
+ createdAt: string;
1915
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1916
+ deadlineTime?: string | undefined;
1917
+ references?: {
1918
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1919
+ referenceLocator: string;
1920
+ }[] | undefined;
1921
+ underwritingFlagLocators?: string[] | undefined;
1922
+ assignedTo?: string | undefined;
1923
+ updatedBy?: string | undefined;
1924
+ updatedAt?: string | undefined;
1925
+ }[];
1926
+ listCompleted: boolean;
1927
+ }, {
1928
+ items: {
1929
+ locator: string;
1930
+ type: string;
1931
+ createdBy: string;
1932
+ category: string;
1933
+ createdAt: string;
1934
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1935
+ deadlineTime?: string | undefined;
1936
+ references?: {
1937
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1938
+ referenceLocator: string;
1939
+ }[] | undefined;
1940
+ underwritingFlagLocators?: string[] | undefined;
1941
+ assignedTo?: string | undefined;
1942
+ updatedBy?: string | undefined;
1943
+ updatedAt?: string | undefined;
1944
+ }[];
1945
+ listCompleted: boolean;
1946
+ }>;
1947
+
1948
+ export declare const ActivityParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
1949
+ tenantLocator: z.ZodString;
1950
+ }, {
1951
+ activityLocator: z.ZodString;
1575
1952
  }>, "strip", z.ZodTypeAny, {
1953
+ tenantLocator: string;
1954
+ activityLocator: string;
1955
+ }, {
1956
+ tenantLocator: string;
1957
+ activityLocator: string;
1958
+ }>;
1959
+
1960
+ export declare type ActivityReference = z.infer<typeof ActivityReferenceSchema>;
1961
+
1962
+ export declare type ActivityReferenceEnum = z.infer<typeof ActivityReferenceEnumSchema>;
1963
+
1964
+ export declare const ActivityReferenceEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1965
+
1966
+ export declare const ActivityReferenceSchema: z.ZodObject<{
1967
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1968
+ referenceLocator: z.ZodString;
1969
+ }, "strip", z.ZodTypeAny, {
1970
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1971
+ referenceLocator: string;
1972
+ }, {
1973
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1974
+ referenceLocator: string;
1975
+ }>;
1976
+
1977
+ export declare type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
1978
+
1979
+ export declare type ActivityResponseBff = z.infer<typeof ActivityResponseBffSchema>;
1980
+
1981
+ export declare const ActivityResponseBffSchema: z.ZodObject<{
1982
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1983
+ locator: z.ZodString;
1984
+ userName: z.ZodString;
1985
+ firstName: z.ZodOptional<z.ZodString>;
1986
+ lastName: z.ZodOptional<z.ZodString>;
1987
+ }, "strip", z.ZodTypeAny, {
1988
+ locator: string;
1989
+ userName: string;
1990
+ firstName?: string | undefined;
1991
+ lastName?: string | undefined;
1992
+ }, {
1993
+ locator: string;
1994
+ userName: string;
1995
+ firstName?: string | undefined;
1996
+ lastName?: string | undefined;
1997
+ }>, z.ZodObject<{
1998
+ locator: z.ZodString;
1999
+ isDeleted: z.ZodBoolean;
2000
+ }, "strip", z.ZodTypeAny, {
2001
+ locator: string;
2002
+ isDeleted: boolean;
2003
+ }, {
2004
+ locator: string;
2005
+ isDeleted: boolean;
2006
+ }>]>>;
2007
+ createdBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2008
+ locator: z.ZodString;
2009
+ userName: z.ZodString;
2010
+ firstName: z.ZodOptional<z.ZodString>;
2011
+ lastName: z.ZodOptional<z.ZodString>;
2012
+ }, "strip", z.ZodTypeAny, {
2013
+ locator: string;
2014
+ userName: string;
2015
+ firstName?: string | undefined;
2016
+ lastName?: string | undefined;
2017
+ }, {
2018
+ locator: string;
2019
+ userName: string;
2020
+ firstName?: string | undefined;
2021
+ lastName?: string | undefined;
2022
+ }>, z.ZodObject<{
2023
+ locator: z.ZodString;
2024
+ isDeleted: z.ZodBoolean;
2025
+ }, "strip", z.ZodTypeAny, {
2026
+ locator: string;
2027
+ isDeleted: boolean;
2028
+ }, {
2029
+ locator: string;
2030
+ isDeleted: boolean;
2031
+ }>]>>;
2032
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2033
+ locator: z.ZodString;
2034
+ userName: z.ZodString;
2035
+ firstName: z.ZodOptional<z.ZodString>;
2036
+ lastName: z.ZodOptional<z.ZodString>;
2037
+ }, "strip", z.ZodTypeAny, {
2038
+ locator: string;
2039
+ userName: string;
2040
+ firstName?: string | undefined;
2041
+ lastName?: string | undefined;
2042
+ }, {
2043
+ locator: string;
2044
+ userName: string;
2045
+ firstName?: string | undefined;
2046
+ lastName?: string | undefined;
2047
+ }>, z.ZodObject<{
2048
+ locator: z.ZodString;
2049
+ isDeleted: z.ZodBoolean;
2050
+ }, "strip", z.ZodTypeAny, {
2051
+ locator: string;
2052
+ isDeleted: boolean;
2053
+ }, {
2054
+ locator: string;
2055
+ isDeleted: boolean;
2056
+ }>]>>;
2057
+ locator: z.ZodString;
2058
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
2059
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
2060
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2061
+ referenceLocator: z.ZodString;
2062
+ }, "strip", z.ZodTypeAny, {
2063
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2064
+ referenceLocator: string;
2065
+ }, {
2066
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2067
+ referenceLocator: string;
2068
+ }>, "many">>;
2069
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2070
+ deadlineTime: z.ZodOptional<z.ZodString>;
2071
+ createdAt: z.ZodString;
2072
+ updatedAt: z.ZodOptional<z.ZodString>;
2073
+ category: z.ZodString;
2074
+ type: z.ZodString;
2075
+ }, "strip", z.ZodTypeAny, {
1576
2076
  locator: string;
1577
2077
  type: string;
1578
- createdBy: string;
1579
2078
  category: string;
1580
2079
  createdAt: string;
1581
2080
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
2081
+ createdBy?: {
2082
+ locator: string;
2083
+ userName: string;
2084
+ firstName?: string | undefined;
2085
+ lastName?: string | undefined;
2086
+ } | {
2087
+ locator: string;
2088
+ isDeleted: boolean;
2089
+ } | undefined;
1582
2090
  deadlineTime?: string | undefined;
1583
2091
  references?: {
1584
2092
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1594,15 +2102,31 @@ export declare const ActivityWithUserResponseSchema: z.ZodObject<z.objectUtil.ex
1594
2102
  locator: string;
1595
2103
  isDeleted: boolean;
1596
2104
  } | undefined;
1597
- updatedBy?: string | undefined;
2105
+ updatedBy?: {
2106
+ locator: string;
2107
+ userName: string;
2108
+ firstName?: string | undefined;
2109
+ lastName?: string | undefined;
2110
+ } | {
2111
+ locator: string;
2112
+ isDeleted: boolean;
2113
+ } | undefined;
1598
2114
  updatedAt?: string | undefined;
1599
2115
  }, {
1600
2116
  locator: string;
1601
2117
  type: string;
1602
- createdBy: string;
1603
2118
  category: string;
1604
2119
  createdAt: string;
1605
2120
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
2121
+ createdBy?: {
2122
+ locator: string;
2123
+ userName: string;
2124
+ firstName?: string | undefined;
2125
+ lastName?: string | undefined;
2126
+ } | {
2127
+ locator: string;
2128
+ isDeleted: boolean;
2129
+ } | undefined;
1606
2130
  deadlineTime?: string | undefined;
1607
2131
  references?: {
1608
2132
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1618,17 +2142,23 @@ export declare const ActivityWithUserResponseSchema: z.ZodObject<z.objectUtil.ex
1618
2142
  locator: string;
1619
2143
  isDeleted: boolean;
1620
2144
  } | undefined;
1621
- updatedBy?: string | undefined;
2145
+ updatedBy?: {
2146
+ locator: string;
2147
+ userName: string;
2148
+ firstName?: string | undefined;
2149
+ lastName?: string | undefined;
2150
+ } | {
2151
+ locator: string;
2152
+ isDeleted: boolean;
2153
+ } | undefined;
1622
2154
  updatedAt?: string | undefined;
1623
2155
  }>;
1624
2156
 
1625
- export declare type AddActivityRequest = z.infer<typeof AddActivityRequestSchema>;
1626
-
1627
- export declare const AddActivityRequestSchema: z.ZodObject<z.objectUtil.extendShape<{}, z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1628
- type: z.ZodString;
1629
- deadlineTime: z.ZodOptional<z.ZodString>;
1630
- references: z.ZodArray<z.ZodObject<{
1631
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
2157
+ export declare const ActivityResponseSchema: z.ZodObject<{
2158
+ locator: z.ZodString;
2159
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
2160
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
2161
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1632
2162
  referenceLocator: z.ZodString;
1633
2163
  }, "strip", z.ZodTypeAny, {
1634
2164
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1636,51 +2166,179 @@ export declare const AddActivityRequestSchema: z.ZodObject<z.objectUtil.extendSh
1636
2166
  }, {
1637
2167
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1638
2168
  referenceLocator: string;
1639
- }>, "many">;
1640
- underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
2169
+ }>, "many">>;
2170
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2171
+ deadlineTime: z.ZodOptional<z.ZodString>;
1641
2172
  assignedTo: z.ZodOptional<z.ZodString>;
1642
- }, {
1643
- deadlineTime: z.ZodString;
1644
- references: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1645
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1646
- referenceLocator: z.ZodString;
1647
- }, {
1648
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1649
- }>, "strip", z.ZodTypeAny, {
2173
+ createdBy: z.ZodString;
2174
+ updatedBy: z.ZodOptional<z.ZodString>;
2175
+ createdAt: z.ZodString;
2176
+ updatedAt: z.ZodOptional<z.ZodString>;
2177
+ category: z.ZodString;
2178
+ type: z.ZodString;
2179
+ }, "strip", z.ZodTypeAny, {
2180
+ locator: string;
2181
+ type: string;
2182
+ createdBy: string;
2183
+ category: string;
2184
+ createdAt: string;
2185
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
2186
+ deadlineTime?: string | undefined;
2187
+ references?: {
1650
2188
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1651
2189
  referenceLocator: string;
1652
- }, {
2190
+ }[] | undefined;
2191
+ underwritingFlagLocators?: string[] | undefined;
2192
+ assignedTo?: string | undefined;
2193
+ updatedBy?: string | undefined;
2194
+ updatedAt?: string | undefined;
2195
+ }, {
2196
+ locator: string;
2197
+ type: string;
2198
+ createdBy: string;
2199
+ category: string;
2200
+ createdAt: string;
2201
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
2202
+ deadlineTime?: string | undefined;
2203
+ references?: {
1653
2204
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1654
2205
  referenceLocator: string;
1655
- }>, "many">;
1656
- assignedTo: z.ZodOptional<z.ZodString>;
1657
- }>, "assignedTo">, {
1658
- diaryNote: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1659
- category: z.ZodOptional<z.ZodString>;
1660
- contents: z.ZodString;
1661
- }, {}>, "strip", z.ZodTypeAny, {
1662
- contents: string;
1663
- category?: string | undefined;
1664
- }, {
1665
- contents: string;
1666
- category?: string | undefined;
1667
- }>>;
1668
- userAssignment: z.ZodOptional<z.ZodObject<Omit<z.objectUtil.extendShape<{
1669
- userLocator: z.ZodString;
1670
- assignmentRole: z.ZodString;
1671
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1672
- referenceLocator: z.ZodString;
1673
- }, {
2206
+ }[] | undefined;
2207
+ underwritingFlagLocators?: string[] | undefined;
2208
+ assignedTo?: string | undefined;
2209
+ updatedBy?: string | undefined;
2210
+ updatedAt?: string | undefined;
2211
+ }>;
2212
+
2213
+ export declare type ActivityStateEnum = z.infer<typeof ActivityStateEnumSchema>;
2214
+
2215
+ export declare const ActivityStateEnumSchema: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
2216
+
2217
+ export declare type ActivityTypeRef = z.infer<typeof ActivityTypeRefSchema>;
2218
+
2219
+ export declare const ActivityTypeRefSchema: z.ZodObject<{
2220
+ defaultDeadlineDays: z.ZodOptional<z.ZodNumber>;
2221
+ blocksUnderwriting: z.ZodBoolean;
2222
+ }, "strip", z.ZodTypeAny, {
2223
+ blocksUnderwriting: boolean;
2224
+ defaultDeadlineDays?: number | undefined;
2225
+ }, {
2226
+ blocksUnderwriting: boolean;
2227
+ defaultDeadlineDays?: number | undefined;
2228
+ }>;
2229
+
2230
+ export declare type ActivityUpdateAssigneeRequestBff = z.infer<typeof ActivityUpdateAssigneeRequestBffSchema>;
2231
+
2232
+ export declare const ActivityUpdateAssigneeRequestBffSchema: z.ZodObject<{
2233
+ assignedTo: z.ZodOptional<z.ZodString>;
2234
+ }, "strip", z.ZodTypeAny, {
2235
+ assignedTo?: string | undefined;
2236
+ }, {
2237
+ assignedTo?: string | undefined;
2238
+ }>;
2239
+
2240
+ export declare type ActivityUpdateRequest = z.infer<typeof ActivityUpdateRequestSchema>;
2241
+
2242
+ export declare const ActivityUpdateRequestSchema: z.ZodObject<{
2243
+ deadlineTime: z.ZodOptional<z.ZodString>;
2244
+ addReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
2245
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2246
+ referenceLocator: z.ZodString;
2247
+ }, "strip", z.ZodTypeAny, {
2248
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2249
+ referenceLocator: string;
2250
+ }, {
2251
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2252
+ referenceLocator: string;
2253
+ }>, "many">>;
2254
+ removeReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
2255
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2256
+ referenceLocator: z.ZodString;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2259
+ referenceLocator: string;
2260
+ }, {
2261
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2262
+ referenceLocator: string;
2263
+ }>, "many">>;
2264
+ addUnderwritingFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2265
+ removeUnderwritingFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ deadlineTime?: string | undefined;
2268
+ addReferences?: {
2269
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2270
+ referenceLocator: string;
2271
+ }[] | undefined;
2272
+ removeReferences?: {
2273
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2274
+ referenceLocator: string;
2275
+ }[] | undefined;
2276
+ addUnderwritingFlags?: string[] | undefined;
2277
+ removeUnderwritingFlags?: string[] | undefined;
2278
+ }, {
2279
+ deadlineTime?: string | undefined;
2280
+ addReferences?: {
2281
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2282
+ referenceLocator: string;
2283
+ }[] | undefined;
2284
+ removeReferences?: {
2285
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2286
+ referenceLocator: string;
2287
+ }[] | undefined;
2288
+ addUnderwritingFlags?: string[] | undefined;
2289
+ removeUnderwritingFlags?: string[] | undefined;
2290
+ }>;
2291
+
2292
+ export declare type ActivityUpdateStatusRequestBff = z.infer<typeof ActivityUpdateStatusRequestBffSchema>;
2293
+
2294
+ export declare const ActivityUpdateStatusRequestBffSchema: z.ZodObject<{
2295
+ status: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
2296
+ }, "strip", z.ZodTypeAny, {
2297
+ status: "active" | "pastDeadline" | "completed" | "cancelled";
2298
+ }, {
2299
+ status: "active" | "pastDeadline" | "completed" | "cancelled";
2300
+ }>;
2301
+
2302
+ export declare type AddActivityRequestBff = z.infer<typeof AddActivityRequestBffSchema>;
2303
+
2304
+ export declare const AddActivityRequestBffSchema: z.ZodObject<{
2305
+ diaryNote: z.ZodOptional<z.ZodObject<{
2306
+ category: z.ZodOptional<z.ZodString>;
2307
+ contents: z.ZodString;
2308
+ }, "strip", z.ZodTypeAny, {
2309
+ contents: string;
2310
+ category?: string | undefined;
2311
+ }, {
2312
+ contents: string;
2313
+ category?: string | undefined;
2314
+ }>>;
2315
+ userAssignment: z.ZodOptional<z.ZodObject<Omit<{
1674
2316
  userLocator: z.ZodString;
1675
2317
  referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1676
- }>, "referenceType" | "referenceLocator">, "strip", z.ZodTypeAny, {
2318
+ assignmentRole: z.ZodString;
2319
+ referenceLocator: z.ZodString;
2320
+ }, "referenceType" | "referenceLocator">, "strip", z.ZodTypeAny, {
1677
2321
  userLocator: string;
1678
2322
  assignmentRole: string;
1679
2323
  }, {
1680
2324
  userLocator: string;
1681
2325
  assignmentRole: string;
1682
2326
  }>>;
1683
- }>>, "strip", z.ZodTypeAny, {
2327
+ deadlineTime: z.ZodString;
2328
+ references: z.ZodArray<z.ZodObject<{
2329
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2330
+ referenceLocator: z.ZodString;
2331
+ }, "strip", z.ZodTypeAny, {
2332
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2333
+ referenceLocator: string;
2334
+ }, {
2335
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2336
+ referenceLocator: string;
2337
+ }>, "many">;
2338
+ assignedTo: z.ZodOptional<z.ZodString>;
2339
+ type: z.ZodString;
2340
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
2341
+ }, "strip", z.ZodTypeAny, {
1684
2342
  type: string;
1685
2343
  deadlineTime: string;
1686
2344
  references: {
@@ -1688,6 +2346,7 @@ export declare const AddActivityRequestSchema: z.ZodObject<z.objectUtil.extendSh
1688
2346
  referenceLocator: string;
1689
2347
  }[];
1690
2348
  underwritingFlagLocators: string[];
2349
+ assignedTo?: string | undefined;
1691
2350
  diaryNote?: {
1692
2351
  contents: string;
1693
2352
  category?: string | undefined;
@@ -1704,6 +2363,7 @@ export declare const AddActivityRequestSchema: z.ZodObject<z.objectUtil.extendSh
1704
2363
  referenceLocator: string;
1705
2364
  }[];
1706
2365
  underwritingFlagLocators: string[];
2366
+ assignedTo?: string | undefined;
1707
2367
  diaryNote?: {
1708
2368
  contents: string;
1709
2369
  category?: string | undefined;
@@ -1928,15 +2588,12 @@ export declare const AssignAssignmentParamsSchema: z.ZodObject<z.objectUtil.exte
1928
2588
 
1929
2589
  export declare type AssignmentCreateRequest = z.infer<typeof AssignmentCreateRequestSchema>;
1930
2590
 
1931
- export declare const AssignmentCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
2591
+ export declare const AssignmentCreateRequestSchema: z.ZodObject<{
1932
2592
  userLocator: z.ZodString;
2593
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1933
2594
  assignmentRole: z.ZodString;
1934
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1935
2595
  referenceLocator: z.ZodString;
1936
- }, {
1937
- userLocator: z.ZodString;
1938
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1939
- }>, "strip", z.ZodTypeAny, {
2596
+ }, "strip", z.ZodTypeAny, {
1940
2597
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1941
2598
  referenceLocator: string;
1942
2599
  userLocator: string;
@@ -1956,18 +2613,7 @@ export declare type AssignmentListResponse = z.infer<typeof AssignmentListRespon
1956
2613
 
1957
2614
  export declare const AssignmentListResponseSchema: z.ZodObject<{
1958
2615
  listCompleted: z.ZodBoolean;
1959
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1960
- locator: z.ZodString;
1961
- userLocator: z.ZodString;
1962
- assignmentRole: z.ZodString;
1963
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1964
- referenceLocator: z.ZodString;
1965
- assignmentState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"completed">, z.ZodLiteral<"unassigned">, z.ZodLiteral<"discarded">]>;
1966
- createdBy: z.ZodString;
1967
- createdAt: z.ZodString;
1968
- updatedBy: z.ZodOptional<z.ZodString>;
1969
- updatedAt: z.ZodOptional<z.ZodString>;
1970
- }, {
2616
+ items: z.ZodArray<z.ZodObject<{
1971
2617
  locator: z.ZodString;
1972
2618
  userLocator: z.ZodString;
1973
2619
  referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
@@ -1976,7 +2622,9 @@ export declare const AssignmentListResponseSchema: z.ZodObject<{
1976
2622
  createdAt: z.ZodString;
1977
2623
  updatedBy: z.ZodOptional<z.ZodString>;
1978
2624
  updatedAt: z.ZodOptional<z.ZodString>;
1979
- }>, "strip", z.ZodTypeAny, {
2625
+ assignmentRole: z.ZodString;
2626
+ referenceLocator: z.ZodString;
2627
+ }, "strip", z.ZodTypeAny, {
1980
2628
  locator: string;
1981
2629
  createdBy: string;
1982
2630
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -2043,18 +2691,7 @@ export declare const AssignmentParamsSchema: z.ZodObject<z.objectUtil.extendShap
2043
2691
 
2044
2692
  export declare type AssignmentResponse = z.infer<typeof AssignmentResponseSchema>;
2045
2693
 
2046
- export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
2047
- locator: z.ZodString;
2048
- userLocator: z.ZodString;
2049
- assignmentRole: z.ZodString;
2050
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
2051
- referenceLocator: z.ZodString;
2052
- assignmentState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"completed">, z.ZodLiteral<"unassigned">, z.ZodLiteral<"discarded">]>;
2053
- createdBy: z.ZodString;
2054
- createdAt: z.ZodString;
2055
- updatedBy: z.ZodOptional<z.ZodString>;
2056
- updatedAt: z.ZodOptional<z.ZodString>;
2057
- }, {
2694
+ export declare const AssignmentResponseSchema: z.ZodObject<{
2058
2695
  locator: z.ZodString;
2059
2696
  userLocator: z.ZodString;
2060
2697
  referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
@@ -2063,7 +2700,9 @@ export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendSh
2063
2700
  createdAt: z.ZodString;
2064
2701
  updatedBy: z.ZodOptional<z.ZodString>;
2065
2702
  updatedAt: z.ZodOptional<z.ZodString>;
2066
- }>, "strip", z.ZodTypeAny, {
2703
+ assignmentRole: z.ZodString;
2704
+ referenceLocator: z.ZodString;
2705
+ }, "strip", z.ZodTypeAny, {
2067
2706
  locator: string;
2068
2707
  createdBy: string;
2069
2708
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -2089,14 +2728,11 @@ export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendSh
2089
2728
 
2090
2729
  export declare type AssignmentRoleRef = z.infer<typeof AssignmentRoleRefSchema>;
2091
2730
 
2092
- export declare const AssignmentRoleRefSchema: z.ZodObject<z.objectUtil.extendShape<{
2093
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
2094
- exclusive: z.ZodBoolean;
2095
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
2096
- }, {
2731
+ export declare const AssignmentRoleRefSchema: z.ZodObject<{
2097
2732
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
2098
2733
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2099
- }>, "strip", z.ZodTypeAny, {
2734
+ exclusive: z.ZodBoolean;
2735
+ }, "strip", z.ZodTypeAny, {
2100
2736
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
2101
2737
  exclusive: boolean;
2102
2738
  qualification?: Record<string, string> | undefined;
@@ -2250,14 +2886,12 @@ export declare const AttachDocumentRequestParamsSchema: z.ZodObject<z.objectUtil
2250
2886
 
2251
2887
  export declare type AuthTokenCreateRequest = z.infer<typeof AuthTokenCreateRequestSchema>;
2252
2888
 
2253
- export declare const AuthTokenCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
2889
+ export declare const AuthTokenCreateRequestSchema: z.ZodObject<{
2890
+ expiresAt: z.ZodString;
2254
2891
  name: z.ZodString;
2255
2892
  tenants: z.ZodArray<z.ZodString, "many">;
2256
2893
  permissions: z.ZodArray<z.ZodString, "many">;
2257
- expiresAt: z.ZodString;
2258
- }, {
2259
- expiresAt: z.ZodString;
2260
- }>, "strip", z.ZodTypeAny, {
2894
+ }, "strip", z.ZodTypeAny, {
2261
2895
  name: string;
2262
2896
  tenants: string[];
2263
2897
  permissions: string[];
@@ -2271,15 +2905,13 @@ export declare const AuthTokenCreateRequestSchema: z.ZodObject<z.objectUtil.exte
2271
2905
 
2272
2906
  export declare type AuthTokenResponse = z.infer<typeof AuthTokenResponseSchema>;
2273
2907
 
2274
- export declare const AuthTokenResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
2908
+ export declare const AuthTokenResponseSchema: z.ZodObject<{
2909
+ createdAt: z.ZodString;
2275
2910
  name: z.ZodString;
2276
2911
  tenants: z.ZodArray<z.ZodString, "many">;
2277
2912
  permissions: z.ZodArray<z.ZodString, "many">;
2278
- createdAt: z.ZodString;
2279
2913
  expiresAt: z.ZodString;
2280
- }, {
2281
- createdAt: z.ZodString;
2282
- }>, "strip", z.ZodTypeAny, {
2914
+ }, "strip", z.ZodTypeAny, {
2283
2915
  name: string;
2284
2916
  createdAt: string;
2285
2917
  tenants: string[];
@@ -3377,6 +4009,32 @@ declare const BaseTransactionUnderwritingResponseSchema: z.ZodObject<{
3377
4009
  effectiveTime: string;
3378
4010
  }>;
3379
4011
 
4012
+ export declare const BasicAndFormerUserBffSchema: z.ZodUnion<[z.ZodObject<{
4013
+ locator: z.ZodString;
4014
+ userName: z.ZodString;
4015
+ firstName: z.ZodOptional<z.ZodString>;
4016
+ lastName: z.ZodOptional<z.ZodString>;
4017
+ }, "strip", z.ZodTypeAny, {
4018
+ locator: string;
4019
+ userName: string;
4020
+ firstName?: string | undefined;
4021
+ lastName?: string | undefined;
4022
+ }, {
4023
+ locator: string;
4024
+ userName: string;
4025
+ firstName?: string | undefined;
4026
+ lastName?: string | undefined;
4027
+ }>, z.ZodObject<{
4028
+ locator: z.ZodString;
4029
+ isDeleted: z.ZodBoolean;
4030
+ }, "strip", z.ZodTypeAny, {
4031
+ locator: string;
4032
+ isDeleted: boolean;
4033
+ }, {
4034
+ locator: string;
4035
+ isDeleted: boolean;
4036
+ }>]>;
4037
+
3380
4038
  export declare type BasicUserResponse = z.infer<typeof BasicUserResponseSchema>;
3381
4039
 
3382
4040
  export declare const BasicUserResponseSchema: z.ZodObject<{
@@ -3484,12 +4142,10 @@ export declare const bootstrapResourcesSchema: z.ZodObject<{
3484
4142
 
3485
4143
  export declare type BootstrapResult = z.infer<typeof BootstrapResultSchema>;
3486
4144
 
3487
- export declare const BootstrapResultSchema: z.ZodObject<z.objectUtil.extendShape<{
3488
- status: z.ZodUnion<[z.ZodLiteral<"queued">, z.ZodLiteral<"failed">]>;
3489
- error: z.ZodString;
3490
- }, {
4145
+ export declare const BootstrapResultSchema: z.ZodObject<{
3491
4146
  status: z.ZodEnum<["queued", "failed"]>;
3492
- }>, "strip", z.ZodTypeAny, {
4147
+ error: z.ZodString;
4148
+ }, "strip", z.ZodTypeAny, {
3493
4149
  status: "queued" | "failed";
3494
4150
  error: string;
3495
4151
  }, {
@@ -3662,37 +4318,13 @@ export declare const chargeResponseSchema: z.ZodObject<{
3662
4318
 
3663
4319
  export declare type ConfigBuilderResult = z.infer<typeof ConfigBuilderResultSchema>;
3664
4320
 
3665
- export declare const ConfigBuilderResultSchema: z.ZodObject<z.objectUtil.extendShape<{
3666
- isSuccess: z.ZodBoolean;
3667
- errors: z.ZodArray<z.ZodString, "many">;
4321
+ export declare const ConfigBuilderResultSchema: z.ZodObject<{
3668
4322
  metadata: z.ZodObject<{
3669
- version1: z.ZodString;
3670
- version2: z.ZodString;
3671
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
3672
- latestVersion: z.ZodString;
3673
- }, "strip", z.ZodTypeAny, {
3674
- version1: string;
3675
- version2: string;
3676
- plugins: Record<string, Record<string, string>>;
3677
- latestVersion: string;
3678
- }, {
3679
- version1: string;
3680
- version2: string;
3681
- plugins: Record<string, Record<string, string>>;
3682
- latestVersion: string;
3683
- }>;
3684
- }, {
3685
- metadata: z.ZodObject<z.objectUtil.extendShape<{
3686
- version1: z.ZodString;
3687
- version2: z.ZodString;
3688
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
3689
- latestVersion: z.ZodString;
3690
- }, {
3691
4323
  version1: z.ZodString;
3692
4324
  version2: z.ZodString;
3693
4325
  latestVersion: z.ZodString;
3694
4326
  plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
3695
- }>, "strip", z.ZodTypeAny, {
4327
+ }, "strip", z.ZodTypeAny, {
3696
4328
  version1: string;
3697
4329
  version2: string;
3698
4330
  plugins: Record<string, Record<string, string>>;
@@ -3703,7 +4335,9 @@ export declare const ConfigBuilderResultSchema: z.ZodObject<z.objectUtil.extendS
3703
4335
  plugins: Record<string, Record<string, string>>;
3704
4336
  latestVersion: string;
3705
4337
  }>;
3706
- }>, "strip", z.ZodTypeAny, {
4338
+ isSuccess: z.ZodBoolean;
4339
+ errors: z.ZodArray<z.ZodString, "many">;
4340
+ }, "strip", z.ZodTypeAny, {
3707
4341
  errors: string[];
3708
4342
  metadata: {
3709
4343
  version1: string;
@@ -3772,7 +4406,7 @@ export declare const coverageTermOptionSchema: z.ZodObject<{
3772
4406
  export declare const coverageTermSchema: z.ZodObject<{
3773
4407
  type: z.ZodString;
3774
4408
  displayName: z.ZodOptional<z.ZodString>;
3775
- options: z.ZodRecord<z.ZodString, z.ZodObject<{
4409
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3776
4410
  displayName: z.ZodOptional<z.ZodString>;
3777
4411
  value: z.ZodOptional<z.ZodNumber>;
3778
4412
  tag: z.ZodOptional<z.ZodString>;
@@ -3784,22 +4418,50 @@ export declare const coverageTermSchema: z.ZodObject<{
3784
4418
  value?: number | undefined;
3785
4419
  displayName?: string | undefined;
3786
4420
  tag?: string | undefined;
4421
+ }>>>;
4422
+ value: z.ZodOptional<z.ZodObject<{
4423
+ type: z.ZodString;
4424
+ defaultValue: z.ZodOptional<z.ZodString>;
4425
+ min: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
4426
+ max: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
4427
+ }, "strip", z.ZodTypeAny, {
4428
+ type: string;
4429
+ defaultValue?: string | undefined;
4430
+ min?: number | undefined;
4431
+ max?: number | undefined;
4432
+ }, {
4433
+ type: string;
4434
+ defaultValue?: string | undefined;
4435
+ min?: number | undefined;
4436
+ max?: number | undefined;
3787
4437
  }>>;
3788
4438
  }, "strip", z.ZodTypeAny, {
3789
- options: Record<string, {
4439
+ type: string;
4440
+ value?: {
4441
+ type: string;
4442
+ defaultValue?: string | undefined;
4443
+ min?: number | undefined;
4444
+ max?: number | undefined;
4445
+ } | undefined;
4446
+ options?: Record<string, {
3790
4447
  value?: number | undefined;
3791
4448
  displayName?: string | undefined;
3792
4449
  tag?: string | undefined;
3793
- }>;
3794
- type: string;
4450
+ }> | undefined;
3795
4451
  displayName?: string | undefined;
3796
4452
  }, {
3797
- options: Record<string, {
4453
+ type: string;
4454
+ value?: {
4455
+ type: string;
4456
+ defaultValue?: string | undefined;
4457
+ min?: number | undefined;
4458
+ max?: number | undefined;
4459
+ } | undefined;
4460
+ options?: Record<string, {
3798
4461
  value?: number | undefined;
3799
4462
  displayName?: string | undefined;
3800
4463
  tag?: string | undefined;
3801
- }>;
3802
- type: string;
4464
+ }> | undefined;
3803
4465
  displayName?: string | undefined;
3804
4466
  }>;
3805
4467
 
@@ -3810,7 +4472,7 @@ export declare type CoverageTermsConfigRecord = z.infer<typeof coverageTermsReco
3810
4472
  export declare const coverageTermsRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3811
4473
  type: z.ZodString;
3812
4474
  displayName: z.ZodOptional<z.ZodString>;
3813
- options: z.ZodRecord<z.ZodString, z.ZodObject<{
4475
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3814
4476
  displayName: z.ZodOptional<z.ZodString>;
3815
4477
  value: z.ZodOptional<z.ZodNumber>;
3816
4478
  tag: z.ZodOptional<z.ZodString>;
@@ -3822,22 +4484,50 @@ export declare const coverageTermsRecordSchema: z.ZodRecord<z.ZodString, z.ZodOb
3822
4484
  value?: number | undefined;
3823
4485
  displayName?: string | undefined;
3824
4486
  tag?: string | undefined;
4487
+ }>>>;
4488
+ value: z.ZodOptional<z.ZodObject<{
4489
+ type: z.ZodString;
4490
+ defaultValue: z.ZodOptional<z.ZodString>;
4491
+ min: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
4492
+ max: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
4493
+ }, "strip", z.ZodTypeAny, {
4494
+ type: string;
4495
+ defaultValue?: string | undefined;
4496
+ min?: number | undefined;
4497
+ max?: number | undefined;
4498
+ }, {
4499
+ type: string;
4500
+ defaultValue?: string | undefined;
4501
+ min?: number | undefined;
4502
+ max?: number | undefined;
3825
4503
  }>>;
3826
4504
  }, "strip", z.ZodTypeAny, {
3827
- options: Record<string, {
4505
+ type: string;
4506
+ value?: {
4507
+ type: string;
4508
+ defaultValue?: string | undefined;
4509
+ min?: number | undefined;
4510
+ max?: number | undefined;
4511
+ } | undefined;
4512
+ options?: Record<string, {
3828
4513
  value?: number | undefined;
3829
4514
  displayName?: string | undefined;
3830
4515
  tag?: string | undefined;
3831
- }>;
3832
- type: string;
4516
+ }> | undefined;
3833
4517
  displayName?: string | undefined;
3834
4518
  }, {
3835
- options: Record<string, {
4519
+ type: string;
4520
+ value?: {
4521
+ type: string;
4522
+ defaultValue?: string | undefined;
4523
+ min?: number | undefined;
4524
+ max?: number | undefined;
4525
+ } | undefined;
4526
+ options?: Record<string, {
3836
4527
  value?: number | undefined;
3837
4528
  displayName?: string | undefined;
3838
4529
  tag?: string | undefined;
3839
- }>;
3840
- type: string;
4530
+ }> | undefined;
3841
4531
  displayName?: string | undefined;
3842
4532
  }>>;
3843
4533
 
@@ -6016,7 +6706,7 @@ export declare const dataModelSchema: z.ZodObject<{
6016
6706
  coverageTerms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6017
6707
  type: z.ZodString;
6018
6708
  displayName: z.ZodOptional<z.ZodString>;
6019
- options: z.ZodRecord<z.ZodString, z.ZodObject<{
6709
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6020
6710
  displayName: z.ZodOptional<z.ZodString>;
6021
6711
  value: z.ZodOptional<z.ZodNumber>;
6022
6712
  tag: z.ZodOptional<z.ZodString>;
@@ -6028,22 +6718,50 @@ export declare const dataModelSchema: z.ZodObject<{
6028
6718
  value?: number | undefined;
6029
6719
  displayName?: string | undefined;
6030
6720
  tag?: string | undefined;
6031
- }>>;
6721
+ }>>>;
6722
+ value: z.ZodOptional<z.ZodObject<{
6723
+ type: z.ZodString;
6724
+ defaultValue: z.ZodOptional<z.ZodString>;
6725
+ min: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
6726
+ max: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
6727
+ }, "strip", z.ZodTypeAny, {
6728
+ type: string;
6729
+ defaultValue?: string | undefined;
6730
+ min?: number | undefined;
6731
+ max?: number | undefined;
6732
+ }, {
6733
+ type: string;
6734
+ defaultValue?: string | undefined;
6735
+ min?: number | undefined;
6736
+ max?: number | undefined;
6737
+ }>>;
6032
6738
  }, "strip", z.ZodTypeAny, {
6033
- options: Record<string, {
6739
+ type: string;
6740
+ value?: {
6741
+ type: string;
6742
+ defaultValue?: string | undefined;
6743
+ min?: number | undefined;
6744
+ max?: number | undefined;
6745
+ } | undefined;
6746
+ options?: Record<string, {
6034
6747
  value?: number | undefined;
6035
6748
  displayName?: string | undefined;
6036
6749
  tag?: string | undefined;
6037
- }>;
6038
- type: string;
6750
+ }> | undefined;
6039
6751
  displayName?: string | undefined;
6040
6752
  }, {
6041
- options: Record<string, {
6753
+ type: string;
6754
+ value?: {
6755
+ type: string;
6756
+ defaultValue?: string | undefined;
6757
+ min?: number | undefined;
6758
+ max?: number | undefined;
6759
+ } | undefined;
6760
+ options?: Record<string, {
6042
6761
  value?: number | undefined;
6043
6762
  displayName?: string | undefined;
6044
6763
  tag?: string | undefined;
6045
- }>;
6046
- type: string;
6764
+ }> | undefined;
6047
6765
  displayName?: string | undefined;
6048
6766
  }>>>;
6049
6767
  delinquencyPlans: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6598,50 +7316,22 @@ export declare const dataModelSchema: z.ZodObject<{
6598
7316
  displayName?: string | undefined;
6599
7317
  installmentWeights?: number[] | undefined;
6600
7318
  }>>>;
6601
- workManagement: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6602
- activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
6603
- defaultDeadlineDays: z.ZodNumber;
7319
+ workManagement: z.ZodOptional<z.ZodObject<{
7320
+ activities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
7321
+ defaultDeadlineDays: z.ZodOptional<z.ZodNumber>;
6604
7322
  blocksUnderwriting: z.ZodBoolean;
6605
7323
  }, "strip", z.ZodTypeAny, {
6606
- defaultDeadlineDays: number;
6607
7324
  blocksUnderwriting: boolean;
7325
+ defaultDeadlineDays?: number | undefined;
6608
7326
  }, {
6609
- defaultDeadlineDays: number;
6610
7327
  blocksUnderwriting: boolean;
6611
- }>>>;
6612
- assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<{
6613
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
6614
- exclusive: z.ZodBoolean;
6615
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
6616
- }, "strip", z.ZodTypeAny, {
6617
- appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6618
- exclusive: boolean;
6619
- qualification: Record<string, string>;
6620
- }, {
6621
- appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6622
- exclusive: boolean;
6623
- qualification: Record<string, string>;
6624
- }>>;
6625
- qualifications: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
6626
- }, {
6627
- activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
6628
- defaultDeadlineDays: z.ZodNumber;
6629
- blocksUnderwriting: z.ZodBoolean;
6630
- }, {}>, "strip", z.ZodTypeAny, {
6631
- defaultDeadlineDays: number;
6632
- blocksUnderwriting: boolean;
6633
- }, {
6634
- defaultDeadlineDays: number;
6635
- blocksUnderwriting: boolean;
6636
- }>>>;
6637
- assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
6638
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
6639
- exclusive: z.ZodBoolean;
6640
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
6641
- }, {
7328
+ defaultDeadlineDays?: number | undefined;
7329
+ }>>>>;
7330
+ assignmentRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6642
7331
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
6643
7332
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6644
- }>, "strip", z.ZodTypeAny, {
7333
+ exclusive: z.ZodBoolean;
7334
+ }, "strip", z.ZodTypeAny, {
6645
7335
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6646
7336
  exclusive: boolean;
6647
7337
  qualification?: Record<string, string> | undefined;
@@ -6649,29 +7339,30 @@ export declare const dataModelSchema: z.ZodObject<{
6649
7339
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6650
7340
  exclusive: boolean;
6651
7341
  qualification?: Record<string, string> | undefined;
6652
- }>>;
6653
- }>, "strip", z.ZodTypeAny, {
6654
- activities: Record<string, Record<string, {
6655
- defaultDeadlineDays: number;
7342
+ }>>>;
7343
+ qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
7344
+ }, "strip", z.ZodTypeAny, {
7345
+ activities?: Record<string, Record<string, {
6656
7346
  blocksUnderwriting: boolean;
6657
- }>>;
6658
- assignmentRoles: Record<string, {
7347
+ defaultDeadlineDays?: number | undefined;
7348
+ }>> | undefined;
7349
+ assignmentRoles?: Record<string, {
6659
7350
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6660
7351
  exclusive: boolean;
6661
7352
  qualification?: Record<string, string> | undefined;
6662
- }>;
6663
- qualifications: Record<string, string[]>;
7353
+ }> | undefined;
7354
+ qualifications?: Record<string, string[]> | undefined;
6664
7355
  }, {
6665
- activities: Record<string, Record<string, {
6666
- defaultDeadlineDays: number;
7356
+ activities?: Record<string, Record<string, {
6667
7357
  blocksUnderwriting: boolean;
6668
- }>>;
6669
- assignmentRoles: Record<string, {
7358
+ defaultDeadlineDays?: number | undefined;
7359
+ }>> | undefined;
7360
+ assignmentRoles?: Record<string, {
6670
7361
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6671
7362
  exclusive: boolean;
6672
7363
  qualification?: Record<string, string> | undefined;
6673
- }>;
6674
- qualifications: Record<string, string[]>;
7364
+ }> | undefined;
7365
+ qualifications?: Record<string, string[]> | undefined;
6675
7366
  }>>;
6676
7367
  policyLines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6677
7368
  displayName: z.ZodOptional<z.ZodString>;
@@ -7524,12 +8215,18 @@ export declare const dataModelSchema: z.ZodObject<{
7524
8215
  defaultSearchable?: boolean | undefined;
7525
8216
  defaultInvoiceDocument?: string | undefined;
7526
8217
  coverageTerms?: Record<string, {
7527
- options: Record<string, {
8218
+ type: string;
8219
+ value?: {
8220
+ type: string;
8221
+ defaultValue?: string | undefined;
8222
+ min?: number | undefined;
8223
+ max?: number | undefined;
8224
+ } | undefined;
8225
+ options?: Record<string, {
7528
8226
  value?: number | undefined;
7529
8227
  displayName?: string | undefined;
7530
8228
  tag?: string | undefined;
7531
- }>;
7532
- type: string;
8229
+ }> | undefined;
7533
8230
  displayName?: string | undefined;
7534
8231
  }> | undefined;
7535
8232
  charges?: any;
@@ -7812,16 +8509,16 @@ export declare const dataModelSchema: z.ZodObject<{
7812
8509
  creditType?: "any" | "creditDistribution" | "payment" | undefined;
7813
8510
  }> | undefined;
7814
8511
  workManagement?: {
7815
- activities: Record<string, Record<string, {
7816
- defaultDeadlineDays: number;
8512
+ activities?: Record<string, Record<string, {
7817
8513
  blocksUnderwriting: boolean;
7818
- }>>;
7819
- assignmentRoles: Record<string, {
8514
+ defaultDeadlineDays?: number | undefined;
8515
+ }>> | undefined;
8516
+ assignmentRoles?: Record<string, {
7820
8517
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
7821
8518
  exclusive: boolean;
7822
8519
  qualification?: Record<string, string> | undefined;
7823
- }>;
7824
- qualifications: Record<string, string[]>;
8520
+ }> | undefined;
8521
+ qualifications?: Record<string, string[]> | undefined;
7825
8522
  } | undefined;
7826
8523
  dataAccessControl?: any;
7827
8524
  bootstrap?: {
@@ -7966,12 +8663,18 @@ export declare const dataModelSchema: z.ZodObject<{
7966
8663
  defaultSearchable?: boolean | undefined;
7967
8664
  defaultInvoiceDocument?: string | undefined;
7968
8665
  coverageTerms?: Record<string, {
7969
- options: Record<string, {
8666
+ type: string;
8667
+ value?: {
8668
+ type: string;
8669
+ defaultValue?: string | undefined;
8670
+ min?: number | undefined;
8671
+ max?: number | undefined;
8672
+ } | undefined;
8673
+ options?: Record<string, {
7970
8674
  value?: number | undefined;
7971
8675
  displayName?: string | undefined;
7972
8676
  tag?: string | undefined;
7973
- }>;
7974
- type: string;
8677
+ }> | undefined;
7975
8678
  displayName?: string | undefined;
7976
8679
  }> | undefined;
7977
8680
  charges?: any;
@@ -8254,16 +8957,16 @@ export declare const dataModelSchema: z.ZodObject<{
8254
8957
  creditType?: "any" | "creditDistribution" | "payment" | undefined;
8255
8958
  }> | undefined;
8256
8959
  workManagement?: {
8257
- activities: Record<string, Record<string, {
8258
- defaultDeadlineDays: number;
8960
+ activities?: Record<string, Record<string, {
8259
8961
  blocksUnderwriting: boolean;
8260
- }>>;
8261
- assignmentRoles: Record<string, {
8962
+ defaultDeadlineDays?: number | undefined;
8963
+ }>> | undefined;
8964
+ assignmentRoles?: Record<string, {
8262
8965
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
8263
8966
  exclusive: boolean;
8264
8967
  qualification?: Record<string, string> | undefined;
8265
- }>;
8266
- qualifications: Record<string, string[]>;
8968
+ }> | undefined;
8969
+ qualifications?: Record<string, string[]> | undefined;
8267
8970
  } | undefined;
8268
8971
  dataAccessControl?: any;
8269
8972
  bootstrap?: {
@@ -8831,150 +9534,525 @@ export declare const delinquencySettingsSchema: z.ZodObject<{
8831
9534
  lapseTransactionType: z.ZodString;
8832
9535
  delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
8833
9536
  }, "strip", z.ZodTypeAny, {
8834
- gracePeriodDays: number;
8835
- lapseTransactionType: string;
8836
- advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
8837
- delinquencyLevel?: "policy" | "invoice" | undefined;
8838
- }, {
8839
- gracePeriodDays: number;
8840
- lapseTransactionType: string;
8841
- advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
8842
- delinquencyLevel?: "policy" | "invoice" | undefined;
8843
- }>;
8844
-
8845
- export declare type DelinquencyState = z.infer<typeof delinquencyStateEnumSchema>;
8846
-
8847
- export declare const delinquencyStateEnumSchema: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
8848
-
8849
- export declare type DeploymentMetadata = z.infer<typeof DeploymentMetadataSchema>;
8850
-
8851
- export declare const DeploymentMetadataSchema: z.ZodObject<z.objectUtil.extendShape<{
8852
- version1: z.ZodString;
8853
- version2: z.ZodString;
8854
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
8855
- latestVersion: z.ZodString;
8856
- }, {
8857
- version1: z.ZodString;
8858
- version2: z.ZodString;
8859
- latestVersion: z.ZodString;
8860
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
8861
- }>, "strip", z.ZodTypeAny, {
8862
- version1: string;
8863
- version2: string;
8864
- plugins: Record<string, Record<string, string>>;
8865
- latestVersion: string;
8866
- }, {
8867
- version1: string;
8868
- version2: string;
8869
- plugins: Record<string, Record<string, string>>;
8870
- latestVersion: string;
8871
- }>;
8872
-
8873
- export declare const DiaryByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
8874
- tenantLocator: z.ZodString;
8875
- }, {
8876
- referenceType: z.ZodString;
8877
- referenceLocator: z.ZodString;
8878
- }>, "strip", z.ZodTypeAny, {
8879
- referenceType: string;
8880
- referenceLocator: string;
8881
- tenantLocator: string;
9537
+ gracePeriodDays: number;
9538
+ lapseTransactionType: string;
9539
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9540
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9541
+ }, {
9542
+ gracePeriodDays: number;
9543
+ lapseTransactionType: string;
9544
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9545
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9546
+ }>;
9547
+
9548
+ export declare type DelinquencyState = z.infer<typeof delinquencyStateEnumSchema>;
9549
+
9550
+ export declare const delinquencyStateEnumSchema: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
9551
+
9552
+ export declare type DeploymentMetadata = z.infer<typeof DeploymentMetadataSchema>;
9553
+
9554
+ export declare const DeploymentMetadataSchema: z.ZodObject<{
9555
+ version1: z.ZodString;
9556
+ version2: z.ZodString;
9557
+ latestVersion: z.ZodString;
9558
+ plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
9559
+ }, "strip", z.ZodTypeAny, {
9560
+ version1: string;
9561
+ version2: string;
9562
+ plugins: Record<string, Record<string, string>>;
9563
+ latestVersion: string;
9564
+ }, {
9565
+ version1: string;
9566
+ version2: string;
9567
+ plugins: Record<string, Record<string, string>>;
9568
+ latestVersion: string;
9569
+ }>;
9570
+
9571
+ export declare type DiariesListResponse = z.infer<typeof DiariesListResponseSchema>;
9572
+
9573
+ export declare const DiariesListResponseSchema: z.ZodObject<{
9574
+ listCompleted: z.ZodBoolean;
9575
+ items: z.ZodArray<z.ZodObject<{
9576
+ locator: z.ZodString;
9577
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9578
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9579
+ createdAt: z.ZodString;
9580
+ createdBy: z.ZodString;
9581
+ updatedAt: z.ZodString;
9582
+ updatedBy: z.ZodOptional<z.ZodString>;
9583
+ referenceLocator: z.ZodString;
9584
+ category: z.ZodOptional<z.ZodString>;
9585
+ contents: z.ZodString;
9586
+ }, "strip", z.ZodTypeAny, {
9587
+ locator: string;
9588
+ createdBy: string;
9589
+ contents: string;
9590
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9591
+ referenceLocator: string;
9592
+ createdAt: string;
9593
+ updatedAt: string;
9594
+ diaryState: "discarded" | "active" | "locked";
9595
+ category?: string | undefined;
9596
+ updatedBy?: string | undefined;
9597
+ }, {
9598
+ locator: string;
9599
+ createdBy: string;
9600
+ contents: string;
9601
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9602
+ referenceLocator: string;
9603
+ createdAt: string;
9604
+ updatedAt: string;
9605
+ diaryState: "discarded" | "active" | "locked";
9606
+ category?: string | undefined;
9607
+ updatedBy?: string | undefined;
9608
+ }>, "many">;
9609
+ }, "strip", z.ZodTypeAny, {
9610
+ items: {
9611
+ locator: string;
9612
+ createdBy: string;
9613
+ contents: string;
9614
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9615
+ referenceLocator: string;
9616
+ createdAt: string;
9617
+ updatedAt: string;
9618
+ diaryState: "discarded" | "active" | "locked";
9619
+ category?: string | undefined;
9620
+ updatedBy?: string | undefined;
9621
+ }[];
9622
+ listCompleted: boolean;
9623
+ }, {
9624
+ items: {
9625
+ locator: string;
9626
+ createdBy: string;
9627
+ contents: string;
9628
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9629
+ referenceLocator: string;
9630
+ createdAt: string;
9631
+ updatedAt: string;
9632
+ diaryState: "discarded" | "active" | "locked";
9633
+ category?: string | undefined;
9634
+ updatedBy?: string | undefined;
9635
+ }[];
9636
+ listCompleted: boolean;
9637
+ }>;
9638
+
9639
+ export declare const DiaryByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
9640
+ tenantLocator: z.ZodString;
9641
+ }, {
9642
+ referenceType: z.ZodString;
9643
+ referenceLocator: z.ZodString;
9644
+ }>, "strip", z.ZodTypeAny, {
9645
+ referenceType: string;
9646
+ referenceLocator: string;
9647
+ tenantLocator: string;
9648
+ }, {
9649
+ referenceType: string;
9650
+ referenceLocator: string;
9651
+ tenantLocator: string;
9652
+ }>;
9653
+
9654
+ export declare type DiaryEntry = z.infer<typeof DiaryEntrySchema>;
9655
+
9656
+ export declare type DiaryEntryBff = z.infer<typeof DiaryEntryBffSchema>;
9657
+
9658
+ export declare const DiaryEntryBffSchema: z.ZodObject<{
9659
+ createdBy: z.ZodUnion<[z.ZodObject<{
9660
+ locator: z.ZodString;
9661
+ userName: z.ZodString;
9662
+ firstName: z.ZodOptional<z.ZodString>;
9663
+ lastName: z.ZodOptional<z.ZodString>;
9664
+ }, "strip", z.ZodTypeAny, {
9665
+ locator: string;
9666
+ userName: string;
9667
+ firstName?: string | undefined;
9668
+ lastName?: string | undefined;
9669
+ }, {
9670
+ locator: string;
9671
+ userName: string;
9672
+ firstName?: string | undefined;
9673
+ lastName?: string | undefined;
9674
+ }>, z.ZodObject<{
9675
+ locator: z.ZodString;
9676
+ isDeleted: z.ZodBoolean;
9677
+ }, "strip", z.ZodTypeAny, {
9678
+ locator: string;
9679
+ isDeleted: boolean;
9680
+ }, {
9681
+ locator: string;
9682
+ isDeleted: boolean;
9683
+ }>]>;
9684
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9685
+ locator: z.ZodString;
9686
+ userName: z.ZodString;
9687
+ firstName: z.ZodOptional<z.ZodString>;
9688
+ lastName: z.ZodOptional<z.ZodString>;
9689
+ }, "strip", z.ZodTypeAny, {
9690
+ locator: string;
9691
+ userName: string;
9692
+ firstName?: string | undefined;
9693
+ lastName?: string | undefined;
9694
+ }, {
9695
+ locator: string;
9696
+ userName: string;
9697
+ firstName?: string | undefined;
9698
+ lastName?: string | undefined;
9699
+ }>, z.ZodObject<{
9700
+ locator: z.ZodString;
9701
+ isDeleted: z.ZodBoolean;
9702
+ }, "strip", z.ZodTypeAny, {
9703
+ locator: string;
9704
+ isDeleted: boolean;
9705
+ }, {
9706
+ locator: string;
9707
+ isDeleted: boolean;
9708
+ }>]>>;
9709
+ locator: z.ZodString;
9710
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9711
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9712
+ createdAt: z.ZodString;
9713
+ updatedAt: z.ZodString;
9714
+ referenceLocator: z.ZodString;
9715
+ category: z.ZodOptional<z.ZodString>;
9716
+ contents: z.ZodString;
9717
+ }, "strip", z.ZodTypeAny, {
9718
+ locator: string;
9719
+ createdBy: {
9720
+ locator: string;
9721
+ userName: string;
9722
+ firstName?: string | undefined;
9723
+ lastName?: string | undefined;
9724
+ } | {
9725
+ locator: string;
9726
+ isDeleted: boolean;
9727
+ };
9728
+ contents: string;
9729
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9730
+ referenceLocator: string;
9731
+ createdAt: string;
9732
+ updatedAt: string;
9733
+ diaryState: "discarded" | "active" | "locked";
9734
+ category?: string | undefined;
9735
+ updatedBy?: {
9736
+ locator: string;
9737
+ userName: string;
9738
+ firstName?: string | undefined;
9739
+ lastName?: string | undefined;
9740
+ } | {
9741
+ locator: string;
9742
+ isDeleted: boolean;
9743
+ } | undefined;
9744
+ }, {
9745
+ locator: string;
9746
+ createdBy: {
9747
+ locator: string;
9748
+ userName: string;
9749
+ firstName?: string | undefined;
9750
+ lastName?: string | undefined;
9751
+ } | {
9752
+ locator: string;
9753
+ isDeleted: boolean;
9754
+ };
9755
+ contents: string;
9756
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9757
+ referenceLocator: string;
9758
+ createdAt: string;
9759
+ updatedAt: string;
9760
+ diaryState: "discarded" | "active" | "locked";
9761
+ category?: string | undefined;
9762
+ updatedBy?: {
9763
+ locator: string;
9764
+ userName: string;
9765
+ firstName?: string | undefined;
9766
+ lastName?: string | undefined;
9767
+ } | {
9768
+ locator: string;
9769
+ isDeleted: boolean;
9770
+ } | undefined;
9771
+ }>;
9772
+
9773
+ export declare type DiaryEntryCreateRequest = z.infer<typeof DiaryEntryCreateRequestSchema>;
9774
+
9775
+ export declare const DiaryEntryCreateRequestSchema: z.ZodObject<{
9776
+ category: z.ZodOptional<z.ZodString>;
9777
+ contents: z.ZodString;
9778
+ }, "strip", z.ZodTypeAny, {
9779
+ contents: string;
9780
+ category?: string | undefined;
9781
+ }, {
9782
+ contents: string;
9783
+ category?: string | undefined;
9784
+ }>;
9785
+
9786
+ export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
9787
+
9788
+ export declare type DiaryEntryListResponseBff = z.infer<typeof DiaryEntryListResponseBffSchema>;
9789
+
9790
+ export declare const DiaryEntryListResponseBffSchema: z.ZodObject<{
9791
+ listCompleted: z.ZodBoolean;
9792
+ items: z.ZodArray<z.ZodObject<{
9793
+ createdBy: z.ZodUnion<[z.ZodObject<{
9794
+ locator: z.ZodString;
9795
+ userName: z.ZodString;
9796
+ firstName: z.ZodOptional<z.ZodString>;
9797
+ lastName: z.ZodOptional<z.ZodString>;
9798
+ }, "strip", z.ZodTypeAny, {
9799
+ locator: string;
9800
+ userName: string;
9801
+ firstName?: string | undefined;
9802
+ lastName?: string | undefined;
9803
+ }, {
9804
+ locator: string;
9805
+ userName: string;
9806
+ firstName?: string | undefined;
9807
+ lastName?: string | undefined;
9808
+ }>, z.ZodObject<{
9809
+ locator: z.ZodString;
9810
+ isDeleted: z.ZodBoolean;
9811
+ }, "strip", z.ZodTypeAny, {
9812
+ locator: string;
9813
+ isDeleted: boolean;
9814
+ }, {
9815
+ locator: string;
9816
+ isDeleted: boolean;
9817
+ }>]>;
9818
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9819
+ locator: z.ZodString;
9820
+ userName: z.ZodString;
9821
+ firstName: z.ZodOptional<z.ZodString>;
9822
+ lastName: z.ZodOptional<z.ZodString>;
9823
+ }, "strip", z.ZodTypeAny, {
9824
+ locator: string;
9825
+ userName: string;
9826
+ firstName?: string | undefined;
9827
+ lastName?: string | undefined;
9828
+ }, {
9829
+ locator: string;
9830
+ userName: string;
9831
+ firstName?: string | undefined;
9832
+ lastName?: string | undefined;
9833
+ }>, z.ZodObject<{
9834
+ locator: z.ZodString;
9835
+ isDeleted: z.ZodBoolean;
9836
+ }, "strip", z.ZodTypeAny, {
9837
+ locator: string;
9838
+ isDeleted: boolean;
9839
+ }, {
9840
+ locator: string;
9841
+ isDeleted: boolean;
9842
+ }>]>>;
9843
+ locator: z.ZodString;
9844
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9845
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9846
+ createdAt: z.ZodString;
9847
+ updatedAt: z.ZodString;
9848
+ referenceLocator: z.ZodString;
9849
+ category: z.ZodOptional<z.ZodString>;
9850
+ contents: z.ZodString;
9851
+ }, "strip", z.ZodTypeAny, {
9852
+ locator: string;
9853
+ createdBy: {
9854
+ locator: string;
9855
+ userName: string;
9856
+ firstName?: string | undefined;
9857
+ lastName?: string | undefined;
9858
+ } | {
9859
+ locator: string;
9860
+ isDeleted: boolean;
9861
+ };
9862
+ contents: string;
9863
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9864
+ referenceLocator: string;
9865
+ createdAt: string;
9866
+ updatedAt: string;
9867
+ diaryState: "discarded" | "active" | "locked";
9868
+ category?: string | undefined;
9869
+ updatedBy?: {
9870
+ locator: string;
9871
+ userName: string;
9872
+ firstName?: string | undefined;
9873
+ lastName?: string | undefined;
9874
+ } | {
9875
+ locator: string;
9876
+ isDeleted: boolean;
9877
+ } | undefined;
9878
+ }, {
9879
+ locator: string;
9880
+ createdBy: {
9881
+ locator: string;
9882
+ userName: string;
9883
+ firstName?: string | undefined;
9884
+ lastName?: string | undefined;
9885
+ } | {
9886
+ locator: string;
9887
+ isDeleted: boolean;
9888
+ };
9889
+ contents: string;
9890
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9891
+ referenceLocator: string;
9892
+ createdAt: string;
9893
+ updatedAt: string;
9894
+ diaryState: "discarded" | "active" | "locked";
9895
+ category?: string | undefined;
9896
+ updatedBy?: {
9897
+ locator: string;
9898
+ userName: string;
9899
+ firstName?: string | undefined;
9900
+ lastName?: string | undefined;
9901
+ } | {
9902
+ locator: string;
9903
+ isDeleted: boolean;
9904
+ } | undefined;
9905
+ }>, "many">;
9906
+ }, "strip", z.ZodTypeAny, {
9907
+ items: {
9908
+ locator: string;
9909
+ createdBy: {
9910
+ locator: string;
9911
+ userName: string;
9912
+ firstName?: string | undefined;
9913
+ lastName?: string | undefined;
9914
+ } | {
9915
+ locator: string;
9916
+ isDeleted: boolean;
9917
+ };
9918
+ contents: string;
9919
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9920
+ referenceLocator: string;
9921
+ createdAt: string;
9922
+ updatedAt: string;
9923
+ diaryState: "discarded" | "active" | "locked";
9924
+ category?: string | undefined;
9925
+ updatedBy?: {
9926
+ locator: string;
9927
+ userName: string;
9928
+ firstName?: string | undefined;
9929
+ lastName?: string | undefined;
9930
+ } | {
9931
+ locator: string;
9932
+ isDeleted: boolean;
9933
+ } | undefined;
9934
+ }[];
9935
+ listCompleted: boolean;
8882
9936
  }, {
8883
- referenceType: string;
8884
- referenceLocator: string;
8885
- tenantLocator: string;
9937
+ items: {
9938
+ locator: string;
9939
+ createdBy: {
9940
+ locator: string;
9941
+ userName: string;
9942
+ firstName?: string | undefined;
9943
+ lastName?: string | undefined;
9944
+ } | {
9945
+ locator: string;
9946
+ isDeleted: boolean;
9947
+ };
9948
+ contents: string;
9949
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9950
+ referenceLocator: string;
9951
+ createdAt: string;
9952
+ updatedAt: string;
9953
+ diaryState: "discarded" | "active" | "locked";
9954
+ category?: string | undefined;
9955
+ updatedBy?: {
9956
+ locator: string;
9957
+ userName: string;
9958
+ firstName?: string | undefined;
9959
+ lastName?: string | undefined;
9960
+ } | {
9961
+ locator: string;
9962
+ isDeleted: boolean;
9963
+ } | undefined;
9964
+ }[];
9965
+ listCompleted: boolean;
8886
9966
  }>;
8887
9967
 
8888
- export declare type DiaryEntry = z.infer<typeof DiaryEntrySchema>;
8889
-
8890
- export declare type DiaryEntryCreateRequest = z.infer<typeof DiaryEntryCreateRequestSchema>;
8891
-
8892
- export declare const DiaryEntryCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
8893
- category: z.ZodOptional<z.ZodString>;
8894
- contents: z.ZodString;
8895
- }, {}>, "strip", z.ZodTypeAny, {
8896
- contents: string;
8897
- category?: string | undefined;
9968
+ export declare const DiaryEntryListResponseSchema: z.ZodObject<{
9969
+ listCompleted: z.ZodBoolean;
9970
+ items: z.ZodArray<z.ZodObject<{
9971
+ locator: z.ZodString;
9972
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9973
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9974
+ createdAt: z.ZodString;
9975
+ createdBy: z.ZodString;
9976
+ updatedAt: z.ZodString;
9977
+ updatedBy: z.ZodOptional<z.ZodString>;
9978
+ referenceLocator: z.ZodString;
9979
+ category: z.ZodOptional<z.ZodString>;
9980
+ contents: z.ZodString;
9981
+ }, "strip", z.ZodTypeAny, {
9982
+ locator: string;
9983
+ createdBy: string;
9984
+ contents: string;
9985
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9986
+ referenceLocator: string;
9987
+ createdAt: string;
9988
+ updatedAt: string;
9989
+ diaryState: "discarded" | "active" | "locked";
9990
+ category?: string | undefined;
9991
+ updatedBy?: string | undefined;
9992
+ }, {
9993
+ locator: string;
9994
+ createdBy: string;
9995
+ contents: string;
9996
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9997
+ referenceLocator: string;
9998
+ createdAt: string;
9999
+ updatedAt: string;
10000
+ diaryState: "discarded" | "active" | "locked";
10001
+ category?: string | undefined;
10002
+ updatedBy?: string | undefined;
10003
+ }>, "many">;
10004
+ }, "strip", z.ZodTypeAny, {
10005
+ items: {
10006
+ locator: string;
10007
+ createdBy: string;
10008
+ contents: string;
10009
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
10010
+ referenceLocator: string;
10011
+ createdAt: string;
10012
+ updatedAt: string;
10013
+ diaryState: "discarded" | "active" | "locked";
10014
+ category?: string | undefined;
10015
+ updatedBy?: string | undefined;
10016
+ }[];
10017
+ listCompleted: boolean;
8898
10018
  }, {
8899
- contents: string;
8900
- category?: string | undefined;
10019
+ items: {
10020
+ locator: string;
10021
+ createdBy: string;
10022
+ contents: string;
10023
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
10024
+ referenceLocator: string;
10025
+ createdAt: string;
10026
+ updatedAt: string;
10027
+ diaryState: "discarded" | "active" | "locked";
10028
+ category?: string | undefined;
10029
+ updatedBy?: string | undefined;
10030
+ }[];
10031
+ listCompleted: boolean;
8901
10032
  }>;
8902
10033
 
8903
- export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
8904
-
8905
- export declare const DiaryEntryListResponseSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8906
- locator: z.ZodString;
8907
- referenceLocator: z.ZodString;
8908
- referenceType: z.ZodUnion<[z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"activity">, z.ZodLiteral<"fnol">]>;
8909
- category: z.ZodOptional<z.ZodString>;
8910
- contents: z.ZodString;
8911
- createdAt: z.ZodString;
8912
- createdBy: z.ZodString;
8913
- updatedAt: z.ZodString;
8914
- updatedBy: z.ZodString;
8915
- diaryState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"discarded">, z.ZodLiteral<"locked">]>;
8916
- }, {
10034
+ export declare const DiaryEntrySchema: z.ZodObject<{
8917
10035
  locator: z.ZodString;
8918
10036
  referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
8919
10037
  diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
8920
10038
  createdAt: z.ZodString;
8921
10039
  createdBy: z.ZodString;
8922
10040
  updatedAt: z.ZodString;
8923
- updatedBy: z.ZodString;
8924
- }>, "strip", z.ZodTypeAny, {
8925
- locator: string;
8926
- createdBy: string;
8927
- contents: string;
8928
- referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8929
- referenceLocator: string;
8930
- createdAt: string;
8931
- updatedBy: string;
8932
- updatedAt: string;
8933
- diaryState: "discarded" | "active" | "locked";
8934
- category?: string | undefined;
8935
- }, {
8936
- locator: string;
8937
- createdBy: string;
8938
- contents: string;
8939
- referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8940
- referenceLocator: string;
8941
- createdAt: string;
8942
- updatedBy: string;
8943
- updatedAt: string;
8944
- diaryState: "discarded" | "active" | "locked";
8945
- category?: string | undefined;
8946
- }>, "many">;
8947
-
8948
- export declare const DiaryEntrySchema: z.ZodObject<z.objectUtil.extendShape<{
8949
- locator: z.ZodString;
10041
+ updatedBy: z.ZodOptional<z.ZodString>;
8950
10042
  referenceLocator: z.ZodString;
8951
- referenceType: z.ZodUnion<[z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"activity">, z.ZodLiteral<"fnol">]>;
8952
10043
  category: z.ZodOptional<z.ZodString>;
8953
10044
  contents: z.ZodString;
8954
- createdAt: z.ZodString;
8955
- createdBy: z.ZodString;
8956
- updatedAt: z.ZodString;
8957
- updatedBy: z.ZodString;
8958
- diaryState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"discarded">, z.ZodLiteral<"locked">]>;
8959
- }, {
8960
- locator: z.ZodString;
8961
- referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
8962
- diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
8963
- createdAt: z.ZodString;
8964
- createdBy: z.ZodString;
8965
- updatedAt: z.ZodString;
8966
- updatedBy: z.ZodString;
8967
- }>, "strip", z.ZodTypeAny, {
10045
+ }, "strip", z.ZodTypeAny, {
8968
10046
  locator: string;
8969
10047
  createdBy: string;
8970
10048
  contents: string;
8971
10049
  referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8972
10050
  referenceLocator: string;
8973
10051
  createdAt: string;
8974
- updatedBy: string;
8975
10052
  updatedAt: string;
8976
10053
  diaryState: "discarded" | "active" | "locked";
8977
10054
  category?: string | undefined;
10055
+ updatedBy?: string | undefined;
8978
10056
  }, {
8979
10057
  locator: string;
8980
10058
  createdBy: string;
@@ -8982,18 +10060,18 @@ export declare const DiaryEntrySchema: z.ZodObject<z.objectUtil.extendShape<{
8982
10060
  referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8983
10061
  referenceLocator: string;
8984
10062
  createdAt: string;
8985
- updatedBy: string;
8986
10063
  updatedAt: string;
8987
10064
  diaryState: "discarded" | "active" | "locked";
8988
10065
  category?: string | undefined;
10066
+ updatedBy?: string | undefined;
8989
10067
  }>;
8990
10068
 
8991
10069
  export declare type DiaryEntryUpdateRequest = z.infer<typeof DiaryEntryUpdateRequestSchema>;
8992
10070
 
8993
- export declare const DiaryEntryUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
10071
+ export declare const DiaryEntryUpdateRequestSchema: z.ZodObject<{
8994
10072
  category: z.ZodOptional<z.ZodString>;
8995
10073
  contents: z.ZodString;
8996
- }, {}>, "strip", z.ZodTypeAny, {
10074
+ }, "strip", z.ZodTypeAny, {
8997
10075
  contents: string;
8998
10076
  category?: string | undefined;
8999
10077
  }, {
@@ -11266,9 +12344,9 @@ export declare const FILE_EXTENSIONS_TO_MIME_TYPES: {
11266
12344
  [key: string]: string;
11267
12345
  };
11268
12346
 
11269
- export declare type FormerUserResponse = z.infer<typeof FormerUserResponseSchema>;
12347
+ export declare type FormerUserResponseBff = z.infer<typeof FormerUserResponseBffSchema>;
11270
12348
 
11271
- export declare const FormerUserResponseSchema: z.ZodObject<{
12349
+ export declare const FormerUserResponseBffSchema: z.ZodObject<{
11272
12350
  locator: z.ZodString;
11273
12351
  isDeleted: z.ZodBoolean;
11274
12352
  }, "strip", z.ZodTypeAny, {
@@ -11302,11 +12380,11 @@ export declare function genericListResponseSchema<ItemType extends z.ZodTypeAny>
11302
12380
 
11303
12381
  export declare type IdentityProviderCreateRequest = z.infer<typeof IdentityProviderCreateRequestSchema>;
11304
12382
 
11305
- export declare const IdentityProviderCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
12383
+ export declare const IdentityProviderCreateRequestSchema: z.ZodObject<{
11306
12384
  id: z.ZodString;
11307
12385
  displayName: z.ZodString;
11308
12386
  singleSignOnServiceUrl: z.ZodString;
11309
- }, {}>, "strip", z.ZodTypeAny, {
12387
+ }, "strip", z.ZodTypeAny, {
11310
12388
  displayName: string;
11311
12389
  id: string;
11312
12390
  singleSignOnServiceUrl: string;
@@ -11318,7 +12396,7 @@ export declare const IdentityProviderCreateRequestSchema: z.ZodObject<z.objectUt
11318
12396
 
11319
12397
  export declare type IdentityProviderResponse = z.infer<typeof IdentityProviderResponseSchema>;
11320
12398
 
11321
- export declare const IdentityProviderResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
12399
+ export declare const IdentityProviderResponseSchema: z.ZodObject<{
11322
12400
  id: z.ZodString;
11323
12401
  displayName: z.ZodString;
11324
12402
  type: z.ZodString;
@@ -11326,7 +12404,7 @@ export declare const IdentityProviderResponseSchema: z.ZodObject<z.objectUtil.ex
11326
12404
  callbackUrl: z.ZodString;
11327
12405
  entityId: z.ZodString;
11328
12406
  singleSignOnServiceUrl: z.ZodString;
11329
- }, {}>, "strip", z.ZodTypeAny, {
12407
+ }, "strip", z.ZodTypeAny, {
11330
12408
  type: string;
11331
12409
  displayName: string;
11332
12410
  id: string;
@@ -11820,19 +12898,15 @@ export declare type ListRoleResponse = z.infer<typeof ListRoleResponseSchema>;
11820
12898
 
11821
12899
  export declare const ListRoleResponseSchema: z.ZodObject<{
11822
12900
  listCompleted: z.ZodBoolean;
11823
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11824
- name: z.ZodString;
12901
+ items: z.ZodArray<z.ZodObject<{
11825
12902
  locator: z.ZodString;
11826
- permissions: z.ZodArray<z.ZodString, "many">;
11827
- version: z.ZodNumber;
11828
12903
  createdAt: z.ZodString;
11829
12904
  createdBy: z.ZodString;
12905
+ name: z.ZodString;
12906
+ permissions: z.ZodArray<z.ZodString, "many">;
12907
+ version: z.ZodNumber;
11830
12908
  description: z.ZodString;
11831
- }, {
11832
- locator: z.ZodString;
11833
- createdAt: z.ZodString;
11834
- createdBy: z.ZodString;
11835
- }>, "strip", z.ZodTypeAny, {
12909
+ }, "strip", z.ZodTypeAny, {
11836
12910
  locator: string;
11837
12911
  createdBy: string;
11838
12912
  name: string;
@@ -11877,22 +12951,15 @@ export declare type ListTenantResponse = z.infer<typeof ListTenantResponseSchema
11877
12951
 
11878
12952
  export declare const ListTenantResponseSchema: z.ZodObject<{
11879
12953
  listCompleted: z.ZodBoolean;
11880
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
11881
- locator: z.ZodString;
11882
- name: z.ZodString;
11883
- type: z.ZodUnion<[z.ZodLiteral<"test">, z.ZodLiteral<"production">, z.ZodLiteral<"retired">, z.ZodLiteral<"deleted">]>;
11884
- description: z.ZodString;
11885
- createdAt: z.ZodString;
11886
- createdBy: z.ZodString;
11887
- updatedAt: z.ZodString;
11888
- }, {
12954
+ items: z.ZodArray<z.ZodObject<{
11889
12955
  locator: z.ZodString;
11890
12956
  type: z.ZodEnum<["test", "production", "retired", "deleted"]>;
11891
12957
  createdAt: z.ZodString;
11892
12958
  updatedAt: z.ZodString;
11893
12959
  createdBy: z.ZodString;
11894
12960
  description: z.ZodOptional<z.ZodString>;
11895
- }>, "strip", z.ZodTypeAny, {
12961
+ name: z.ZodString;
12962
+ }, "strip", z.ZodTypeAny, {
11896
12963
  locator: string;
11897
12964
  type: "test" | "production" | "retired" | "deleted";
11898
12965
  createdBy: string;
@@ -20610,6 +21677,25 @@ export declare const productConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
20610
21677
  tables?: any;
20611
21678
  }>;
20612
21679
 
21680
+ export declare type PropertyRef = z.infer<typeof PropertyRefSchema>;
21681
+
21682
+ export declare const PropertyRefSchema: z.ZodObject<{
21683
+ type: z.ZodString;
21684
+ defaultValue: z.ZodOptional<z.ZodString>;
21685
+ min: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
21686
+ max: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
21687
+ }, "strip", z.ZodTypeAny, {
21688
+ type: string;
21689
+ defaultValue?: string | undefined;
21690
+ min?: number | undefined;
21691
+ max?: number | undefined;
21692
+ }, {
21693
+ type: string;
21694
+ defaultValue?: string | undefined;
21695
+ min?: number | undefined;
21696
+ max?: number | undefined;
21697
+ }>;
21698
+
20613
21699
  export declare type Quantifiers = z.infer<typeof quantifiersSchema>;
20614
21700
 
20615
21701
  export declare const quantifiersSchema: z.ZodEnum<["", "?", "+", "*", "!"]>;
@@ -23879,11 +24965,11 @@ export declare const reversalTypesRecordsSchema: z.ZodRecord<z.ZodString, z.ZodO
23879
24965
 
23880
24966
  export declare type RoleCreateRequest = z.infer<typeof RoleCreateRequestSchema>;
23881
24967
 
23882
- export declare const RoleCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
24968
+ export declare const RoleCreateRequestSchema: z.ZodObject<{
23883
24969
  name: z.ZodString;
23884
24970
  permissions: z.ZodArray<z.ZodString, "many">;
23885
24971
  description: z.ZodString;
23886
- }, {}>, "strip", z.ZodTypeAny, {
24972
+ }, "strip", z.ZodTypeAny, {
23887
24973
  name: string;
23888
24974
  description: string;
23889
24975
  permissions: string[];
@@ -23899,19 +24985,15 @@ export declare const RoleIdSchema: z.ZodString;
23899
24985
 
23900
24986
  export declare type RoleResponse = z.infer<typeof RoleResponseSchema>;
23901
24987
 
23902
- export declare const RoleResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
23903
- name: z.ZodString;
24988
+ export declare const RoleResponseSchema: z.ZodObject<{
23904
24989
  locator: z.ZodString;
23905
- permissions: z.ZodArray<z.ZodString, "many">;
23906
- version: z.ZodNumber;
23907
24990
  createdAt: z.ZodString;
23908
24991
  createdBy: z.ZodString;
24992
+ name: z.ZodString;
24993
+ permissions: z.ZodArray<z.ZodString, "many">;
24994
+ version: z.ZodNumber;
23909
24995
  description: z.ZodString;
23910
- }, {
23911
- locator: z.ZodString;
23912
- createdAt: z.ZodString;
23913
- createdBy: z.ZodString;
23914
- }>, "strip", z.ZodTypeAny, {
24996
+ }, "strip", z.ZodTypeAny, {
23915
24997
  locator: string;
23916
24998
  createdBy: string;
23917
24999
  name: string;
@@ -23931,13 +25013,13 @@ export declare const RoleResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
23931
25013
 
23932
25014
  export declare type RoleUpdateRequest = z.infer<typeof RoleUpdateRequestSchema>;
23933
25015
 
23934
- export declare const RoleUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
25016
+ export declare const RoleUpdateRequestSchema: z.ZodObject<{
23935
25017
  version: z.ZodNumber;
23936
25018
  name: z.ZodString;
23937
25019
  addPermissions: z.ZodArray<z.ZodString, "many">;
23938
25020
  removePermissions: z.ZodArray<z.ZodString, "many">;
23939
25021
  description: z.ZodString;
23940
- }, {}>, "strip", z.ZodTypeAny, {
25022
+ }, "strip", z.ZodTypeAny, {
23941
25023
  name: string;
23942
25024
  version: number;
23943
25025
  description: string;
@@ -24555,49 +25637,10 @@ declare const tenantBaseConfigSchema: z.ZodObject<{
24555
25637
 
24556
25638
  export declare type TenantDeploymentResult = z.infer<typeof TenantDeploymentResultSchema>;
24557
25639
 
24558
- export declare const TenantDeploymentResultSchema: z.ZodObject<z.objectUtil.extendShape<{
25640
+ export declare const TenantDeploymentResultSchema: z.ZodObject<{
24559
25641
  locator: z.ZodString;
24560
- name: z.ZodString;
24561
- deploymentResult: z.ZodObject<{
24562
- isSuccess: z.ZodBoolean;
24563
- errors: z.ZodArray<z.ZodString, "many">;
24564
- metadata: z.ZodObject<{
24565
- version1: z.ZodString;
24566
- version2: z.ZodString;
24567
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
24568
- latestVersion: z.ZodString;
24569
- }, "strip", z.ZodTypeAny, {
24570
- version1: string;
24571
- version2: string;
24572
- plugins: Record<string, Record<string, string>>;
24573
- latestVersion: string;
24574
- }, {
24575
- version1: string;
24576
- version2: string;
24577
- plugins: Record<string, Record<string, string>>;
24578
- latestVersion: string;
24579
- }>;
24580
- }, "strip", z.ZodTypeAny, {
24581
- errors: string[];
24582
- metadata: {
24583
- version1: string;
24584
- version2: string;
24585
- plugins: Record<string, Record<string, string>>;
24586
- latestVersion: string;
24587
- };
24588
- isSuccess: boolean;
24589
- }, {
24590
- errors: string[];
24591
- metadata: {
24592
- version1: string;
24593
- version2: string;
24594
- plugins: Record<string, Record<string, string>>;
24595
- latestVersion: string;
24596
- };
24597
- isSuccess: boolean;
24598
- }>;
24599
25642
  bootstrapResult: z.ZodObject<{
24600
- status: z.ZodUnion<[z.ZodLiteral<"queued">, z.ZodLiteral<"failed">]>;
25643
+ status: z.ZodEnum<["queued", "failed"]>;
24601
25644
  error: z.ZodString;
24602
25645
  }, "strip", z.ZodTypeAny, {
24603
25646
  status: "queued" | "failed";
@@ -24606,51 +25649,13 @@ export declare const TenantDeploymentResultSchema: z.ZodObject<z.objectUtil.exte
24606
25649
  status: "queued" | "failed";
24607
25650
  error: string;
24608
25651
  }>;
24609
- }, {
24610
- locator: z.ZodString;
24611
- bootstrapResult: z.ZodObject<z.objectUtil.extendShape<{
24612
- status: z.ZodUnion<[z.ZodLiteral<"queued">, z.ZodLiteral<"failed">]>;
24613
- error: z.ZodString;
24614
- }, {
24615
- status: z.ZodEnum<["queued", "failed"]>;
24616
- }>, "strip", z.ZodTypeAny, {
24617
- status: "queued" | "failed";
24618
- error: string;
24619
- }, {
24620
- status: "queued" | "failed";
24621
- error: string;
24622
- }>;
24623
- deploymentResult: z.ZodObject<z.objectUtil.extendShape<{
24624
- isSuccess: z.ZodBoolean;
24625
- errors: z.ZodArray<z.ZodString, "many">;
25652
+ deploymentResult: z.ZodObject<{
24626
25653
  metadata: z.ZodObject<{
24627
- version1: z.ZodString;
24628
- version2: z.ZodString;
24629
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
24630
- latestVersion: z.ZodString;
24631
- }, "strip", z.ZodTypeAny, {
24632
- version1: string;
24633
- version2: string;
24634
- plugins: Record<string, Record<string, string>>;
24635
- latestVersion: string;
24636
- }, {
24637
- version1: string;
24638
- version2: string;
24639
- plugins: Record<string, Record<string, string>>;
24640
- latestVersion: string;
24641
- }>;
24642
- }, {
24643
- metadata: z.ZodObject<z.objectUtil.extendShape<{
24644
- version1: z.ZodString;
24645
- version2: z.ZodString;
24646
- plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
24647
- latestVersion: z.ZodString;
24648
- }, {
24649
25654
  version1: z.ZodString;
24650
25655
  version2: z.ZodString;
24651
25656
  latestVersion: z.ZodString;
24652
25657
  plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
24653
- }>, "strip", z.ZodTypeAny, {
25658
+ }, "strip", z.ZodTypeAny, {
24654
25659
  version1: string;
24655
25660
  version2: string;
24656
25661
  plugins: Record<string, Record<string, string>>;
@@ -24661,7 +25666,9 @@ export declare const TenantDeploymentResultSchema: z.ZodObject<z.objectUtil.exte
24661
25666
  plugins: Record<string, Record<string, string>>;
24662
25667
  latestVersion: string;
24663
25668
  }>;
24664
- }>, "strip", z.ZodTypeAny, {
25669
+ isSuccess: z.ZodBoolean;
25670
+ errors: z.ZodArray<z.ZodString, "many">;
25671
+ }, "strip", z.ZodTypeAny, {
24665
25672
  errors: string[];
24666
25673
  metadata: {
24667
25674
  version1: string;
@@ -24680,7 +25687,8 @@ export declare const TenantDeploymentResultSchema: z.ZodObject<z.objectUtil.exte
24680
25687
  };
24681
25688
  isSuccess: boolean;
24682
25689
  }>;
24683
- }>, "strip", z.ZodTypeAny, {
25690
+ name: z.ZodString;
25691
+ }, "strip", z.ZodTypeAny, {
24684
25692
  locator: string;
24685
25693
  name: string;
24686
25694
  deploymentResult: {
@@ -24736,22 +25744,15 @@ export declare const TenantQualificationsResponseSchema: z.ZodRecord<z.ZodString
24736
25744
 
24737
25745
  export declare type TenantResponse = z.infer<typeof TenantResponseSchema>;
24738
25746
 
24739
- export declare const TenantResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
24740
- locator: z.ZodString;
24741
- name: z.ZodString;
24742
- type: z.ZodUnion<[z.ZodLiteral<"test">, z.ZodLiteral<"production">, z.ZodLiteral<"retired">, z.ZodLiteral<"deleted">]>;
24743
- description: z.ZodString;
24744
- createdAt: z.ZodString;
24745
- createdBy: z.ZodString;
24746
- updatedAt: z.ZodString;
24747
- }, {
25747
+ export declare const TenantResponseSchema: z.ZodObject<{
24748
25748
  locator: z.ZodString;
24749
25749
  type: z.ZodEnum<["test", "production", "retired", "deleted"]>;
24750
25750
  createdAt: z.ZodString;
24751
25751
  updatedAt: z.ZodString;
24752
25752
  createdBy: z.ZodString;
24753
25753
  description: z.ZodOptional<z.ZodString>;
24754
- }>, "strip", z.ZodTypeAny, {
25754
+ name: z.ZodString;
25755
+ }, "strip", z.ZodTypeAny, {
24755
25756
  locator: string;
24756
25757
  type: "test" | "production" | "retired" | "deleted";
24757
25758
  createdBy: string;
@@ -24773,10 +25774,10 @@ export declare const tenantTypeEnumSchema: z.ZodEnum<["test", "production", "ret
24773
25774
 
24774
25775
  export declare type TenantUpdateRequest = z.infer<typeof TenantUpdateRequestSchema>;
24775
25776
 
24776
- export declare const TenantUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
25777
+ export declare const TenantUpdateRequestSchema: z.ZodObject<{
24777
25778
  name: z.ZodString;
24778
25779
  description: z.ZodString;
24779
- }, {}>, "strip", z.ZodTypeAny, {
25780
+ }, "strip", z.ZodTypeAny, {
24780
25781
  name: string;
24781
25782
  description: string;
24782
25783
  }, {
@@ -26857,20 +27858,16 @@ export declare const UserActivitiesParamsSchema: z.ZodObject<z.objectUtil.extend
26857
27858
 
26858
27859
  export declare type UserCreateRequest = z.infer<typeof UserCreateRequestSchema>;
26859
27860
 
26860
- export declare const UserCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
27861
+ export declare const UserCreateRequestSchema: z.ZodObject<{
26861
27862
  userName: z.ZodString;
27863
+ roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27864
+ tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26862
27865
  firstName: z.ZodString;
26863
27866
  lastName: z.ZodString;
26864
27867
  password: z.ZodString;
26865
27868
  temporaryPassword: z.ZodBoolean;
26866
27869
  email: z.ZodString;
26867
- tenants: z.ZodArray<z.ZodString, "many">;
26868
- roles: z.ZodArray<z.ZodString, "many">;
26869
- }, {
26870
- userName: z.ZodString;
26871
- roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26872
- tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26873
- }>, "strip", z.ZodTypeAny, {
27870
+ }, "strip", z.ZodTypeAny, {
26874
27871
  email: string;
26875
27872
  userName: string;
26876
27873
  firstName: string;
@@ -26894,6 +27891,64 @@ export declare type UserId = z.infer<typeof UserIdSchema>;
26894
27891
 
26895
27892
  export declare const UserIdSchema: z.ZodString;
26896
27893
 
27894
+ export declare type UserListResponse = z.infer<typeof UserListResponseSchema>;
27895
+
27896
+ export declare const UserListResponseSchema: z.ZodObject<{
27897
+ listCompleted: z.ZodBoolean;
27898
+ items: z.ZodArray<z.ZodObject<{
27899
+ locator: z.ZodString;
27900
+ tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27901
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27902
+ userName: z.ZodString;
27903
+ firstName: z.ZodString;
27904
+ lastName: z.ZodString;
27905
+ email: z.ZodString;
27906
+ roles: z.ZodArray<z.ZodString, "many">;
27907
+ }, "strip", z.ZodTypeAny, {
27908
+ locator: string;
27909
+ roles: string[];
27910
+ email: string;
27911
+ userName: string;
27912
+ firstName: string;
27913
+ lastName: string;
27914
+ tenants?: string[] | undefined;
27915
+ permissions?: string[] | undefined;
27916
+ }, {
27917
+ locator: string;
27918
+ roles: string[];
27919
+ email: string;
27920
+ userName: string;
27921
+ firstName: string;
27922
+ lastName: string;
27923
+ tenants?: string[] | undefined;
27924
+ permissions?: string[] | undefined;
27925
+ }>, "many">;
27926
+ }, "strip", z.ZodTypeAny, {
27927
+ items: {
27928
+ locator: string;
27929
+ roles: string[];
27930
+ email: string;
27931
+ userName: string;
27932
+ firstName: string;
27933
+ lastName: string;
27934
+ tenants?: string[] | undefined;
27935
+ permissions?: string[] | undefined;
27936
+ }[];
27937
+ listCompleted: boolean;
27938
+ }, {
27939
+ items: {
27940
+ locator: string;
27941
+ roles: string[];
27942
+ email: string;
27943
+ userName: string;
27944
+ firstName: string;
27945
+ lastName: string;
27946
+ tenants?: string[] | undefined;
27947
+ permissions?: string[] | undefined;
27948
+ }[];
27949
+ listCompleted: boolean;
27950
+ }>;
27951
+
26897
27952
  export declare const UserQualificationsParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
26898
27953
  tenantLocator: z.ZodString;
26899
27954
  }, {
@@ -26912,13 +27967,10 @@ export declare const UserQualificationsResponseSchema: z.ZodRecord<z.ZodString,
26912
27967
 
26913
27968
  export declare type UserQualificationsUpdateRequest = z.infer<typeof UserQualificationsUpdateRequestSchema>;
26914
27969
 
26915
- export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
26916
- removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26917
- addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26918
- }, {
27970
+ export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<{
26919
27971
  addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26920
27972
  removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26921
- }>, "strip", z.ZodTypeAny, {
27973
+ }, "strip", z.ZodTypeAny, {
26922
27974
  removeQualifications: Record<string, string>;
26923
27975
  addQualifications: Record<string, string>;
26924
27976
  }, {
@@ -26928,20 +27980,16 @@ export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<z.object
26928
27980
 
26929
27981
  export declare type UserResponse = z.infer<typeof UserResponseSchema>;
26930
27982
 
26931
- export declare const UserResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
27983
+ export declare const UserResponseSchema: z.ZodObject<{
26932
27984
  locator: z.ZodString;
27985
+ tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27986
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26933
27987
  userName: z.ZodString;
26934
27988
  firstName: z.ZodString;
26935
27989
  lastName: z.ZodString;
26936
27990
  email: z.ZodString;
26937
27991
  roles: z.ZodArray<z.ZodString, "many">;
26938
- tenants: z.ZodArray<z.ZodString, "many">;
26939
- permissions: z.ZodArray<z.ZodString, "many">;
26940
- }, {
26941
- locator: z.ZodString;
26942
- tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26943
- permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26944
- }>, "strip", z.ZodTypeAny, {
27992
+ }, "strip", z.ZodTypeAny, {
26945
27993
  locator: string;
26946
27994
  roles: string[];
26947
27995
  email: string;
@@ -26963,10 +28011,10 @@ export declare const UserResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
26963
28011
 
26964
28012
  export declare type UserRolesUpdateRequest = z.infer<typeof UserRolesUpdateRequestSchema>;
26965
28013
 
26966
- export declare const UserRolesUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
28014
+ export declare const UserRolesUpdateRequestSchema: z.ZodObject<{
26967
28015
  addRoles: z.ZodArray<z.ZodString, "many">;
26968
28016
  removeRoles: z.ZodArray<z.ZodString, "many">;
26969
- }, {}>, "strip", z.ZodTypeAny, {
28017
+ }, "strip", z.ZodTypeAny, {
26970
28018
  addRoles: string[];
26971
28019
  removeRoles: string[];
26972
28020
  }, {
@@ -26976,10 +28024,10 @@ export declare const UserRolesUpdateRequestSchema: z.ZodObject<z.objectUtil.exte
26976
28024
 
26977
28025
  export declare type UserTenantsAssignmentsUpdateRequest = z.infer<typeof UserTenantsAssignmentsUpdateRequestSchema>;
26978
28026
 
26979
- export declare const UserTenantsAssignmentsUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
28027
+ export declare const UserTenantsAssignmentsUpdateRequestSchema: z.ZodObject<{
26980
28028
  addTenants: z.ZodArray<z.ZodString, "many">;
26981
28029
  removeTenants: z.ZodArray<z.ZodString, "many">;
26982
- }, {}>, "strip", z.ZodTypeAny, {
28030
+ }, "strip", z.ZodTypeAny, {
26983
28031
  addTenants: string[];
26984
28032
  removeTenants: string[];
26985
28033
  }, {
@@ -27009,6 +28057,106 @@ export declare const UserUpdateRequestSchema: z.ZodObject<{
27009
28057
  lastName: string;
27010
28058
  }>;
27011
28059
 
28060
+ export declare type UserWithQualsBff = z.infer<typeof UserWithQualsBffSchema>;
28061
+
28062
+ export declare const UserWithQualsBffSchema: z.ZodObject<{
28063
+ qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28064
+ locator: z.ZodString;
28065
+ tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28066
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28067
+ userName: z.ZodString;
28068
+ firstName: z.ZodString;
28069
+ lastName: z.ZodString;
28070
+ email: z.ZodString;
28071
+ roles: z.ZodArray<z.ZodString, "many">;
28072
+ }, "strip", z.ZodTypeAny, {
28073
+ locator: string;
28074
+ roles: string[];
28075
+ email: string;
28076
+ userName: string;
28077
+ firstName: string;
28078
+ lastName: string;
28079
+ qualifications?: Record<string, string> | undefined;
28080
+ tenants?: string[] | undefined;
28081
+ permissions?: string[] | undefined;
28082
+ }, {
28083
+ locator: string;
28084
+ roles: string[];
28085
+ email: string;
28086
+ userName: string;
28087
+ firstName: string;
28088
+ lastName: string;
28089
+ qualifications?: Record<string, string> | undefined;
28090
+ tenants?: string[] | undefined;
28091
+ permissions?: string[] | undefined;
28092
+ }>;
28093
+
28094
+ export declare type UserWithQualsListResponseBff = z.infer<typeof UserWithQualsListResponseBffSchema>;
28095
+
28096
+ export declare const UserWithQualsListResponseBffSchema: z.ZodObject<{
28097
+ count: z.ZodNumber;
28098
+ listCompleted: z.ZodBoolean;
28099
+ items: z.ZodArray<z.ZodObject<{
28100
+ qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28101
+ locator: z.ZodString;
28102
+ tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28103
+ permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28104
+ userName: z.ZodString;
28105
+ firstName: z.ZodString;
28106
+ lastName: z.ZodString;
28107
+ email: z.ZodString;
28108
+ roles: z.ZodArray<z.ZodString, "many">;
28109
+ }, "strip", z.ZodTypeAny, {
28110
+ locator: string;
28111
+ roles: string[];
28112
+ email: string;
28113
+ userName: string;
28114
+ firstName: string;
28115
+ lastName: string;
28116
+ qualifications?: Record<string, string> | undefined;
28117
+ tenants?: string[] | undefined;
28118
+ permissions?: string[] | undefined;
28119
+ }, {
28120
+ locator: string;
28121
+ roles: string[];
28122
+ email: string;
28123
+ userName: string;
28124
+ firstName: string;
28125
+ lastName: string;
28126
+ qualifications?: Record<string, string> | undefined;
28127
+ tenants?: string[] | undefined;
28128
+ permissions?: string[] | undefined;
28129
+ }>, "many">;
28130
+ }, "strip", z.ZodTypeAny, {
28131
+ items: {
28132
+ locator: string;
28133
+ roles: string[];
28134
+ email: string;
28135
+ userName: string;
28136
+ firstName: string;
28137
+ lastName: string;
28138
+ qualifications?: Record<string, string> | undefined;
28139
+ tenants?: string[] | undefined;
28140
+ permissions?: string[] | undefined;
28141
+ }[];
28142
+ listCompleted: boolean;
28143
+ count: number;
28144
+ }, {
28145
+ items: {
28146
+ locator: string;
28147
+ roles: string[];
28148
+ email: string;
28149
+ userName: string;
28150
+ firstName: string;
28151
+ lastName: string;
28152
+ qualifications?: Record<string, string> | undefined;
28153
+ tenants?: string[] | undefined;
28154
+ permissions?: string[] | undefined;
28155
+ }[];
28156
+ listCompleted: boolean;
28157
+ count: number;
28158
+ }>;
28159
+
27012
28160
  export declare const UUIDZ: z.ZodString;
27013
28161
 
27014
28162
  export declare type ValidationItem = z.infer<typeof validationItemSchema>;
@@ -27135,50 +28283,22 @@ export declare type WorkManagementReferenceTypeEnum = z.infer<typeof WorkManagem
27135
28283
 
27136
28284
  export declare const WorkManagementReferenceTypeEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
27137
28285
 
27138
- export declare const WorkManagementRefSchema: z.ZodObject<z.objectUtil.extendShape<{
27139
- activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
27140
- defaultDeadlineDays: z.ZodNumber;
28286
+ export declare const WorkManagementRefSchema: z.ZodObject<{
28287
+ activities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
28288
+ defaultDeadlineDays: z.ZodOptional<z.ZodNumber>;
27141
28289
  blocksUnderwriting: z.ZodBoolean;
27142
28290
  }, "strip", z.ZodTypeAny, {
27143
- defaultDeadlineDays: number;
27144
- blocksUnderwriting: boolean;
27145
- }, {
27146
- defaultDeadlineDays: number;
27147
- blocksUnderwriting: boolean;
27148
- }>>>;
27149
- assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<{
27150
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
27151
- exclusive: z.ZodBoolean;
27152
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
27153
- }, "strip", z.ZodTypeAny, {
27154
- appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27155
- exclusive: boolean;
27156
- qualification: Record<string, string>;
27157
- }, {
27158
- appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27159
- exclusive: boolean;
27160
- qualification: Record<string, string>;
27161
- }>>;
27162
- qualifications: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
27163
- }, {
27164
- activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
27165
- defaultDeadlineDays: z.ZodNumber;
27166
- blocksUnderwriting: z.ZodBoolean;
27167
- }, {}>, "strip", z.ZodTypeAny, {
27168
- defaultDeadlineDays: number;
27169
28291
  blocksUnderwriting: boolean;
28292
+ defaultDeadlineDays?: number | undefined;
27170
28293
  }, {
27171
- defaultDeadlineDays: number;
27172
28294
  blocksUnderwriting: boolean;
27173
- }>>>;
27174
- assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
27175
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
27176
- exclusive: z.ZodBoolean;
27177
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
27178
- }, {
28295
+ defaultDeadlineDays?: number | undefined;
28296
+ }>>>>;
28297
+ assignmentRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
27179
28298
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
27180
28299
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
27181
- }>, "strip", z.ZodTypeAny, {
28300
+ exclusive: z.ZodBoolean;
28301
+ }, "strip", z.ZodTypeAny, {
27182
28302
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27183
28303
  exclusive: boolean;
27184
28304
  qualification?: Record<string, string> | undefined;
@@ -27186,29 +28306,30 @@ export declare const WorkManagementRefSchema: z.ZodObject<z.objectUtil.extendSha
27186
28306
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27187
28307
  exclusive: boolean;
27188
28308
  qualification?: Record<string, string> | undefined;
27189
- }>>;
27190
- }>, "strip", z.ZodTypeAny, {
27191
- activities: Record<string, Record<string, {
27192
- defaultDeadlineDays: number;
28309
+ }>>>;
28310
+ qualifications: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
28311
+ }, "strip", z.ZodTypeAny, {
28312
+ activities?: Record<string, Record<string, {
27193
28313
  blocksUnderwriting: boolean;
27194
- }>>;
27195
- assignmentRoles: Record<string, {
28314
+ defaultDeadlineDays?: number | undefined;
28315
+ }>> | undefined;
28316
+ assignmentRoles?: Record<string, {
27196
28317
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27197
28318
  exclusive: boolean;
27198
28319
  qualification?: Record<string, string> | undefined;
27199
- }>;
27200
- qualifications: Record<string, string[]>;
28320
+ }> | undefined;
28321
+ qualifications?: Record<string, string[]> | undefined;
27201
28322
  }, {
27202
- activities: Record<string, Record<string, {
27203
- defaultDeadlineDays: number;
28323
+ activities?: Record<string, Record<string, {
27204
28324
  blocksUnderwriting: boolean;
27205
- }>>;
27206
- assignmentRoles: Record<string, {
28325
+ defaultDeadlineDays?: number | undefined;
28326
+ }>> | undefined;
28327
+ assignmentRoles?: Record<string, {
27207
28328
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27208
28329
  exclusive: boolean;
27209
28330
  qualification?: Record<string, string> | undefined;
27210
- }>;
27211
- qualifications: Record<string, string[]>;
28331
+ }> | undefined;
28332
+ qualifications?: Record<string, string[]> | undefined;
27212
28333
  }>;
27213
28334
 
27214
28335
  export declare const ZIP_ACCEPTED_FILE_TYPES: readonly ["application/zip", "application/x-zip-compressed"];