@socotra/ec-react-schemas 2.15.0 → 2.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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?: {
1412
- locator: string;
1413
- userName: string;
1414
- firstName?: string | undefined;
1415
- lastName?: string | undefined;
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, {
1620
+ locator: string;
1621
+ userName: string;
1622
+ firstName?: string | undefined;
1623
+ lastName?: string | undefined;
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;
1416
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<{
1551
- locator: z.ZodString;
1552
- userName: z.ZodString;
1553
- firstName: z.ZodOptional<z.ZodString>;
1554
- lastName: z.ZodOptional<z.ZodString>;
1555
- }, "strip", z.ZodTypeAny, {
1556
- locator: string;
1557
- userName: string;
1558
- firstName?: string | undefined;
1559
- lastName?: string | undefined;
1560
- }, {
1561
- locator: string;
1562
- userName: string;
1563
- firstName?: string | undefined;
1564
- lastName?: string | undefined;
1565
- }>, z.ZodObject<{
1851
+ export declare const ActivityListResponseSchema: z.ZodObject<{
1852
+ listCompleted: z.ZodBoolean;
1853
+ items: z.ZodArray<z.ZodObject<{
1566
1854
  locator: z.ZodString;
1567
- isDeleted: z.ZodBoolean;
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;
1568
1875
  }, "strip", z.ZodTypeAny, {
1569
1876
  locator: string;
1570
- isDeleted: boolean;
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;
1571
1891
  }, {
1572
1892
  locator: string;
1573
- isDeleted: boolean;
1574
- }>]>>;
1575
- }>, "strip", z.ZodTypeAny, {
1576
- locator: string;
1577
- type: string;
1578
- createdBy: string;
1579
- category: string;
1580
- createdAt: string;
1581
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
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: {
1910
+ locator: string;
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;
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, {
2076
+ locator: string;
2077
+ type: string;
2078
+ category: string;
2079
+ createdAt: string;
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, {
1650
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1651
- referenceLocator: string;
1652
- }, {
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?: {
1653
2188
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1654
2189
  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>;
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?: {
2204
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2205
+ referenceLocator: string;
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.ZodNumber;
2221
+ blocksUnderwriting: z.ZodBoolean;
2222
+ }, "strip", z.ZodTypeAny, {
2223
+ defaultDeadlineDays: number;
2224
+ blocksUnderwriting: boolean;
2225
+ }, {
2226
+ defaultDeadlineDays: number;
2227
+ blocksUnderwriting: boolean;
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>;
1660
2307
  contents: z.ZodString;
1661
- }, {}>, "strip", z.ZodTypeAny, {
2308
+ }, "strip", z.ZodTypeAny, {
1662
2309
  contents: string;
1663
2310
  category?: string | undefined;
1664
2311
  }, {
1665
2312
  contents: string;
1666
2313
  category?: string | undefined;
1667
2314
  }>>;
1668
- userAssignment: z.ZodOptional<z.ZodObject<Omit<z.objectUtil.extendShape<{
2315
+ userAssignment: z.ZodOptional<z.ZodObject<Omit<{
1669
2316
  userLocator: z.ZodString;
2317
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1670
2318
  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
2319
  referenceLocator: z.ZodString;
1673
- }, {
1674
- userLocator: z.ZodString;
1675
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1676
- }>, "referenceType" | "referenceLocator">, "strip", z.ZodTypeAny, {
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;
@@ -3377,6 +4013,32 @@ declare const BaseTransactionUnderwritingResponseSchema: z.ZodObject<{
3377
4013
  effectiveTime: string;
3378
4014
  }>;
3379
4015
 
4016
+ export declare const BasicAndFormerUserBffSchema: z.ZodUnion<[z.ZodObject<{
4017
+ locator: z.ZodString;
4018
+ userName: z.ZodString;
4019
+ firstName: z.ZodOptional<z.ZodString>;
4020
+ lastName: z.ZodOptional<z.ZodString>;
4021
+ }, "strip", z.ZodTypeAny, {
4022
+ locator: string;
4023
+ userName: string;
4024
+ firstName?: string | undefined;
4025
+ lastName?: string | undefined;
4026
+ }, {
4027
+ locator: string;
4028
+ userName: string;
4029
+ firstName?: string | undefined;
4030
+ lastName?: string | undefined;
4031
+ }>, z.ZodObject<{
4032
+ locator: z.ZodString;
4033
+ isDeleted: z.ZodBoolean;
4034
+ }, "strip", z.ZodTypeAny, {
4035
+ locator: string;
4036
+ isDeleted: boolean;
4037
+ }, {
4038
+ locator: string;
4039
+ isDeleted: boolean;
4040
+ }>]>;
4041
+
3380
4042
  export declare type BasicUserResponse = z.infer<typeof BasicUserResponseSchema>;
3381
4043
 
3382
4044
  export declare const BasicUserResponseSchema: z.ZodObject<{
@@ -6624,24 +7286,21 @@ export declare const dataModelSchema: z.ZodObject<{
6624
7286
  }>>;
6625
7287
  qualifications: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
6626
7288
  }, {
6627
- activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
7289
+ activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
6628
7290
  defaultDeadlineDays: z.ZodNumber;
6629
7291
  blocksUnderwriting: z.ZodBoolean;
6630
- }, {}>, "strip", z.ZodTypeAny, {
7292
+ }, "strip", z.ZodTypeAny, {
6631
7293
  defaultDeadlineDays: number;
6632
7294
  blocksUnderwriting: boolean;
6633
7295
  }, {
6634
7296
  defaultDeadlineDays: number;
6635
7297
  blocksUnderwriting: boolean;
6636
7298
  }>>>;
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
- }, {
7299
+ assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<{
6642
7300
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
6643
7301
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6644
- }>, "strip", z.ZodTypeAny, {
7302
+ exclusive: z.ZodBoolean;
7303
+ }, "strip", z.ZodTypeAny, {
6645
7304
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
6646
7305
  exclusive: boolean;
6647
7306
  qualification?: Record<string, string> | undefined;
@@ -8754,227 +9413,607 @@ export declare const delinquencyReferenceSchema: z.ZodObject<{
8754
9413
  preemptingLapseTransactionLocator?: string | undefined;
8755
9414
  }>;
8756
9415
 
8757
- export declare type DelinquencyReferenceType = z.infer<typeof delinquencyReferenceTypeEnumSchema>;
8758
-
8759
- export declare const delinquencyReferenceTypeEnumSchema: z.ZodEnum<["policy", "quote", "invoice"]>;
8760
-
8761
- export declare type DelinquencyResponse = z.infer<typeof delinquencyResponseSchema>;
8762
-
8763
- export declare const delinquencyResponseSchema: z.ZodObject<{
8764
- locator: z.ZodString;
8765
- accountLocator: z.ZodString;
8766
- delinquencyState: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
8767
- createdAt: z.ZodString;
8768
- settings: z.ZodObject<{
8769
- advanceLapseTo: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
8770
- gracePeriodDays: z.ZodNumber;
8771
- lapseTransactionType: z.ZodString;
8772
- delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
9416
+ export declare type DelinquencyReferenceType = z.infer<typeof delinquencyReferenceTypeEnumSchema>;
9417
+
9418
+ export declare const delinquencyReferenceTypeEnumSchema: z.ZodEnum<["policy", "quote", "invoice"]>;
9419
+
9420
+ export declare type DelinquencyResponse = z.infer<typeof delinquencyResponseSchema>;
9421
+
9422
+ export declare const delinquencyResponseSchema: z.ZodObject<{
9423
+ locator: z.ZodString;
9424
+ accountLocator: z.ZodString;
9425
+ delinquencyState: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
9426
+ createdAt: z.ZodString;
9427
+ settings: z.ZodObject<{
9428
+ advanceLapseTo: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
9429
+ gracePeriodDays: z.ZodNumber;
9430
+ lapseTransactionType: z.ZodString;
9431
+ delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
9432
+ }, "strip", z.ZodTypeAny, {
9433
+ gracePeriodDays: number;
9434
+ lapseTransactionType: string;
9435
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9436
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9437
+ }, {
9438
+ gracePeriodDays: number;
9439
+ lapseTransactionType: string;
9440
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9441
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9442
+ }>;
9443
+ timezone: z.ZodString;
9444
+ updatedAt: z.ZodString;
9445
+ graceEndAt: z.ZodOptional<z.ZodString>;
9446
+ graceStartedAt: z.ZodOptional<z.ZodString>;
9447
+ lapseTransactionEffectiveDate: z.ZodOptional<z.ZodString>;
9448
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
9449
+ }, "strip", z.ZodTypeAny, {
9450
+ locator: string;
9451
+ createdAt: string;
9452
+ updatedAt: string;
9453
+ accountLocator: string;
9454
+ timezone: string;
9455
+ delinquencyState: "settled" | "preGrace" | "inGrace" | "lapseTriggered";
9456
+ settings: {
9457
+ gracePeriodDays: number;
9458
+ lapseTransactionType: string;
9459
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9460
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9461
+ };
9462
+ references?: {}[] | undefined;
9463
+ graceEndAt?: string | undefined;
9464
+ graceStartedAt?: string | undefined;
9465
+ lapseTransactionEffectiveDate?: string | undefined;
9466
+ }, {
9467
+ locator: string;
9468
+ createdAt: string;
9469
+ updatedAt: string;
9470
+ accountLocator: string;
9471
+ timezone: string;
9472
+ delinquencyState: "settled" | "preGrace" | "inGrace" | "lapseTriggered";
9473
+ settings: {
9474
+ gracePeriodDays: number;
9475
+ lapseTransactionType: string;
9476
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9477
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9478
+ };
9479
+ references?: {}[] | undefined;
9480
+ graceEndAt?: string | undefined;
9481
+ graceStartedAt?: string | undefined;
9482
+ lapseTransactionEffectiveDate?: string | undefined;
9483
+ }>;
9484
+
9485
+ export declare type DelinquencySettings = z.infer<typeof delinquencySettingsSchema>;
9486
+
9487
+ export declare const delinquencySettingsSchema: z.ZodObject<{
9488
+ advanceLapseTo: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
9489
+ gracePeriodDays: z.ZodNumber;
9490
+ lapseTransactionType: z.ZodString;
9491
+ delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
9492
+ }, "strip", z.ZodTypeAny, {
9493
+ gracePeriodDays: number;
9494
+ lapseTransactionType: string;
9495
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9496
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9497
+ }, {
9498
+ gracePeriodDays: number;
9499
+ lapseTransactionType: string;
9500
+ advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
9501
+ delinquencyLevel?: "policy" | "invoice" | undefined;
9502
+ }>;
9503
+
9504
+ export declare type DelinquencyState = z.infer<typeof delinquencyStateEnumSchema>;
9505
+
9506
+ export declare const delinquencyStateEnumSchema: z.ZodEnum<["preGrace", "inGrace", "lapseTriggered", "settled"]>;
9507
+
9508
+ export declare type DeploymentMetadata = z.infer<typeof DeploymentMetadataSchema>;
9509
+
9510
+ export declare const DeploymentMetadataSchema: z.ZodObject<z.objectUtil.extendShape<{
9511
+ version1: z.ZodString;
9512
+ version2: z.ZodString;
9513
+ plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
9514
+ latestVersion: z.ZodString;
9515
+ }, {
9516
+ version1: z.ZodString;
9517
+ version2: z.ZodString;
9518
+ latestVersion: z.ZodString;
9519
+ plugins: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>;
9520
+ }>, "strip", z.ZodTypeAny, {
9521
+ version1: string;
9522
+ version2: string;
9523
+ plugins: Record<string, Record<string, string>>;
9524
+ latestVersion: string;
9525
+ }, {
9526
+ version1: string;
9527
+ version2: string;
9528
+ plugins: Record<string, Record<string, string>>;
9529
+ latestVersion: string;
9530
+ }>;
9531
+
9532
+ export declare type DiariesListResponse = z.infer<typeof DiariesListResponseSchema>;
9533
+
9534
+ export declare const DiariesListResponseSchema: z.ZodObject<{
9535
+ listCompleted: z.ZodBoolean;
9536
+ items: z.ZodArray<z.ZodObject<{
9537
+ locator: z.ZodString;
9538
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9539
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9540
+ createdAt: z.ZodString;
9541
+ createdBy: z.ZodString;
9542
+ updatedAt: z.ZodString;
9543
+ updatedBy: z.ZodOptional<z.ZodString>;
9544
+ referenceLocator: z.ZodString;
9545
+ category: z.ZodOptional<z.ZodString>;
9546
+ contents: z.ZodString;
9547
+ }, "strip", z.ZodTypeAny, {
9548
+ locator: string;
9549
+ createdBy: string;
9550
+ contents: string;
9551
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9552
+ referenceLocator: string;
9553
+ createdAt: string;
9554
+ updatedAt: string;
9555
+ diaryState: "discarded" | "active" | "locked";
9556
+ category?: string | undefined;
9557
+ updatedBy?: string | undefined;
9558
+ }, {
9559
+ locator: string;
9560
+ createdBy: string;
9561
+ contents: string;
9562
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9563
+ referenceLocator: string;
9564
+ createdAt: string;
9565
+ updatedAt: string;
9566
+ diaryState: "discarded" | "active" | "locked";
9567
+ category?: string | undefined;
9568
+ updatedBy?: string | undefined;
9569
+ }>, "many">;
9570
+ }, "strip", z.ZodTypeAny, {
9571
+ items: {
9572
+ locator: string;
9573
+ createdBy: string;
9574
+ contents: string;
9575
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9576
+ referenceLocator: string;
9577
+ createdAt: string;
9578
+ updatedAt: string;
9579
+ diaryState: "discarded" | "active" | "locked";
9580
+ category?: string | undefined;
9581
+ updatedBy?: string | undefined;
9582
+ }[];
9583
+ listCompleted: boolean;
9584
+ }, {
9585
+ items: {
9586
+ locator: string;
9587
+ createdBy: string;
9588
+ contents: string;
9589
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9590
+ referenceLocator: string;
9591
+ createdAt: string;
9592
+ updatedAt: string;
9593
+ diaryState: "discarded" | "active" | "locked";
9594
+ category?: string | undefined;
9595
+ updatedBy?: string | undefined;
9596
+ }[];
9597
+ listCompleted: boolean;
9598
+ }>;
9599
+
9600
+ export declare const DiaryByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
9601
+ tenantLocator: z.ZodString;
9602
+ }, {
9603
+ referenceType: z.ZodString;
9604
+ referenceLocator: z.ZodString;
9605
+ }>, "strip", z.ZodTypeAny, {
9606
+ referenceType: string;
9607
+ referenceLocator: string;
9608
+ tenantLocator: string;
9609
+ }, {
9610
+ referenceType: string;
9611
+ referenceLocator: string;
9612
+ tenantLocator: string;
9613
+ }>;
9614
+
9615
+ export declare type DiaryEntry = z.infer<typeof DiaryEntrySchema>;
9616
+
9617
+ export declare type DiaryEntryBff = z.infer<typeof DiaryEntryBffSchema>;
9618
+
9619
+ export declare const DiaryEntryBffSchema: z.ZodObject<{
9620
+ createdBy: z.ZodUnion<[z.ZodObject<{
9621
+ locator: z.ZodString;
9622
+ userName: z.ZodString;
9623
+ firstName: z.ZodOptional<z.ZodString>;
9624
+ lastName: z.ZodOptional<z.ZodString>;
9625
+ }, "strip", z.ZodTypeAny, {
9626
+ locator: string;
9627
+ userName: string;
9628
+ firstName?: string | undefined;
9629
+ lastName?: string | undefined;
9630
+ }, {
9631
+ locator: string;
9632
+ userName: string;
9633
+ firstName?: string | undefined;
9634
+ lastName?: string | undefined;
9635
+ }>, z.ZodObject<{
9636
+ locator: z.ZodString;
9637
+ isDeleted: z.ZodBoolean;
9638
+ }, "strip", z.ZodTypeAny, {
9639
+ locator: string;
9640
+ isDeleted: boolean;
9641
+ }, {
9642
+ locator: string;
9643
+ isDeleted: boolean;
9644
+ }>]>;
9645
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9646
+ locator: z.ZodString;
9647
+ userName: z.ZodString;
9648
+ firstName: z.ZodOptional<z.ZodString>;
9649
+ lastName: z.ZodOptional<z.ZodString>;
9650
+ }, "strip", z.ZodTypeAny, {
9651
+ locator: string;
9652
+ userName: string;
9653
+ firstName?: string | undefined;
9654
+ lastName?: string | undefined;
9655
+ }, {
9656
+ locator: string;
9657
+ userName: string;
9658
+ firstName?: string | undefined;
9659
+ lastName?: string | undefined;
9660
+ }>, z.ZodObject<{
9661
+ locator: z.ZodString;
9662
+ isDeleted: z.ZodBoolean;
9663
+ }, "strip", z.ZodTypeAny, {
9664
+ locator: string;
9665
+ isDeleted: boolean;
9666
+ }, {
9667
+ locator: string;
9668
+ isDeleted: boolean;
9669
+ }>]>>;
9670
+ locator: z.ZodString;
9671
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9672
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9673
+ createdAt: z.ZodString;
9674
+ updatedAt: z.ZodString;
9675
+ referenceLocator: z.ZodString;
9676
+ category: z.ZodOptional<z.ZodString>;
9677
+ contents: z.ZodString;
9678
+ }, "strip", z.ZodTypeAny, {
9679
+ locator: string;
9680
+ createdBy: {
9681
+ locator: string;
9682
+ userName: string;
9683
+ firstName?: string | undefined;
9684
+ lastName?: string | undefined;
9685
+ } | {
9686
+ locator: string;
9687
+ isDeleted: boolean;
9688
+ };
9689
+ contents: string;
9690
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9691
+ referenceLocator: string;
9692
+ createdAt: string;
9693
+ updatedAt: string;
9694
+ diaryState: "discarded" | "active" | "locked";
9695
+ category?: string | undefined;
9696
+ updatedBy?: {
9697
+ locator: string;
9698
+ userName: string;
9699
+ firstName?: string | undefined;
9700
+ lastName?: string | undefined;
9701
+ } | {
9702
+ locator: string;
9703
+ isDeleted: boolean;
9704
+ } | undefined;
9705
+ }, {
9706
+ locator: string;
9707
+ createdBy: {
9708
+ locator: string;
9709
+ userName: string;
9710
+ firstName?: string | undefined;
9711
+ lastName?: string | undefined;
9712
+ } | {
9713
+ locator: string;
9714
+ isDeleted: boolean;
9715
+ };
9716
+ contents: string;
9717
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9718
+ referenceLocator: string;
9719
+ createdAt: string;
9720
+ updatedAt: string;
9721
+ diaryState: "discarded" | "active" | "locked";
9722
+ category?: string | undefined;
9723
+ updatedBy?: {
9724
+ locator: string;
9725
+ userName: string;
9726
+ firstName?: string | undefined;
9727
+ lastName?: string | undefined;
9728
+ } | {
9729
+ locator: string;
9730
+ isDeleted: boolean;
9731
+ } | undefined;
9732
+ }>;
9733
+
9734
+ export declare type DiaryEntryCreateRequest = z.infer<typeof DiaryEntryCreateRequestSchema>;
9735
+
9736
+ export declare const DiaryEntryCreateRequestSchema: z.ZodObject<{
9737
+ category: z.ZodOptional<z.ZodString>;
9738
+ contents: z.ZodString;
9739
+ }, "strip", z.ZodTypeAny, {
9740
+ contents: string;
9741
+ category?: string | undefined;
9742
+ }, {
9743
+ contents: string;
9744
+ category?: string | undefined;
9745
+ }>;
9746
+
9747
+ export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
9748
+
9749
+ export declare type DiaryEntryListResponseBff = z.infer<typeof DiaryEntryListResponseBffSchema>;
9750
+
9751
+ export declare const DiaryEntryListResponseBffSchema: z.ZodObject<{
9752
+ listCompleted: z.ZodBoolean;
9753
+ items: z.ZodArray<z.ZodObject<{
9754
+ createdBy: z.ZodUnion<[z.ZodObject<{
9755
+ locator: z.ZodString;
9756
+ userName: z.ZodString;
9757
+ firstName: z.ZodOptional<z.ZodString>;
9758
+ lastName: z.ZodOptional<z.ZodString>;
9759
+ }, "strip", z.ZodTypeAny, {
9760
+ locator: string;
9761
+ userName: string;
9762
+ firstName?: string | undefined;
9763
+ lastName?: string | undefined;
9764
+ }, {
9765
+ locator: string;
9766
+ userName: string;
9767
+ firstName?: string | undefined;
9768
+ lastName?: string | undefined;
9769
+ }>, z.ZodObject<{
9770
+ locator: z.ZodString;
9771
+ isDeleted: z.ZodBoolean;
9772
+ }, "strip", z.ZodTypeAny, {
9773
+ locator: string;
9774
+ isDeleted: boolean;
9775
+ }, {
9776
+ locator: string;
9777
+ isDeleted: boolean;
9778
+ }>]>;
9779
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9780
+ locator: z.ZodString;
9781
+ userName: z.ZodString;
9782
+ firstName: z.ZodOptional<z.ZodString>;
9783
+ lastName: z.ZodOptional<z.ZodString>;
9784
+ }, "strip", z.ZodTypeAny, {
9785
+ locator: string;
9786
+ userName: string;
9787
+ firstName?: string | undefined;
9788
+ lastName?: string | undefined;
9789
+ }, {
9790
+ locator: string;
9791
+ userName: string;
9792
+ firstName?: string | undefined;
9793
+ lastName?: string | undefined;
9794
+ }>, z.ZodObject<{
9795
+ locator: z.ZodString;
9796
+ isDeleted: z.ZodBoolean;
9797
+ }, "strip", z.ZodTypeAny, {
9798
+ locator: string;
9799
+ isDeleted: boolean;
9800
+ }, {
9801
+ locator: string;
9802
+ isDeleted: boolean;
9803
+ }>]>>;
9804
+ locator: z.ZodString;
9805
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9806
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9807
+ createdAt: z.ZodString;
9808
+ updatedAt: z.ZodString;
9809
+ referenceLocator: z.ZodString;
9810
+ category: z.ZodOptional<z.ZodString>;
9811
+ contents: z.ZodString;
9812
+ }, "strip", z.ZodTypeAny, {
9813
+ locator: string;
9814
+ createdBy: {
9815
+ locator: string;
9816
+ userName: string;
9817
+ firstName?: string | undefined;
9818
+ lastName?: string | undefined;
9819
+ } | {
9820
+ locator: string;
9821
+ isDeleted: boolean;
9822
+ };
9823
+ contents: string;
9824
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9825
+ referenceLocator: string;
9826
+ createdAt: string;
9827
+ updatedAt: string;
9828
+ diaryState: "discarded" | "active" | "locked";
9829
+ category?: string | undefined;
9830
+ updatedBy?: {
9831
+ locator: string;
9832
+ userName: string;
9833
+ firstName?: string | undefined;
9834
+ lastName?: string | undefined;
9835
+ } | {
9836
+ locator: string;
9837
+ isDeleted: boolean;
9838
+ } | undefined;
9839
+ }, {
9840
+ locator: string;
9841
+ createdBy: {
9842
+ locator: string;
9843
+ userName: string;
9844
+ firstName?: string | undefined;
9845
+ lastName?: string | undefined;
9846
+ } | {
9847
+ locator: string;
9848
+ isDeleted: boolean;
9849
+ };
9850
+ contents: string;
9851
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9852
+ referenceLocator: string;
9853
+ createdAt: string;
9854
+ updatedAt: string;
9855
+ diaryState: "discarded" | "active" | "locked";
9856
+ category?: string | undefined;
9857
+ updatedBy?: {
9858
+ locator: string;
9859
+ userName: string;
9860
+ firstName?: string | undefined;
9861
+ lastName?: string | undefined;
9862
+ } | {
9863
+ locator: string;
9864
+ isDeleted: boolean;
9865
+ } | undefined;
9866
+ }>, "many">;
9867
+ }, "strip", z.ZodTypeAny, {
9868
+ items: {
9869
+ locator: string;
9870
+ createdBy: {
9871
+ locator: string;
9872
+ userName: string;
9873
+ firstName?: string | undefined;
9874
+ lastName?: string | undefined;
9875
+ } | {
9876
+ locator: string;
9877
+ isDeleted: boolean;
9878
+ };
9879
+ contents: string;
9880
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9881
+ referenceLocator: string;
9882
+ createdAt: string;
9883
+ updatedAt: string;
9884
+ diaryState: "discarded" | "active" | "locked";
9885
+ category?: string | undefined;
9886
+ updatedBy?: {
9887
+ locator: string;
9888
+ userName: string;
9889
+ firstName?: string | undefined;
9890
+ lastName?: string | undefined;
9891
+ } | {
9892
+ locator: string;
9893
+ isDeleted: boolean;
9894
+ } | undefined;
9895
+ }[];
9896
+ listCompleted: boolean;
9897
+ }, {
9898
+ items: {
9899
+ locator: string;
9900
+ createdBy: {
9901
+ locator: string;
9902
+ userName: string;
9903
+ firstName?: string | undefined;
9904
+ lastName?: string | undefined;
9905
+ } | {
9906
+ locator: string;
9907
+ isDeleted: boolean;
9908
+ };
9909
+ contents: string;
9910
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9911
+ referenceLocator: string;
9912
+ createdAt: string;
9913
+ updatedAt: string;
9914
+ diaryState: "discarded" | "active" | "locked";
9915
+ category?: string | undefined;
9916
+ updatedBy?: {
9917
+ locator: string;
9918
+ userName: string;
9919
+ firstName?: string | undefined;
9920
+ lastName?: string | undefined;
9921
+ } | {
9922
+ locator: string;
9923
+ isDeleted: boolean;
9924
+ } | undefined;
9925
+ }[];
9926
+ listCompleted: boolean;
9927
+ }>;
9928
+
9929
+ export declare const DiaryEntryListResponseSchema: z.ZodObject<{
9930
+ listCompleted: z.ZodBoolean;
9931
+ items: z.ZodArray<z.ZodObject<{
9932
+ locator: z.ZodString;
9933
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9934
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9935
+ createdAt: z.ZodString;
9936
+ createdBy: z.ZodString;
9937
+ updatedAt: z.ZodString;
9938
+ updatedBy: z.ZodOptional<z.ZodString>;
9939
+ referenceLocator: z.ZodString;
9940
+ category: z.ZodOptional<z.ZodString>;
9941
+ contents: z.ZodString;
8773
9942
  }, "strip", z.ZodTypeAny, {
8774
- gracePeriodDays: number;
8775
- lapseTransactionType: string;
8776
- advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
8777
- delinquencyLevel?: "policy" | "invoice" | undefined;
9943
+ locator: string;
9944
+ createdBy: string;
9945
+ contents: string;
9946
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9947
+ referenceLocator: string;
9948
+ createdAt: string;
9949
+ updatedAt: string;
9950
+ diaryState: "discarded" | "active" | "locked";
9951
+ category?: string | undefined;
9952
+ updatedBy?: string | undefined;
8778
9953
  }, {
8779
- gracePeriodDays: number;
8780
- lapseTransactionType: string;
8781
- advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
8782
- delinquencyLevel?: "policy" | "invoice" | undefined;
8783
- }>;
8784
- timezone: z.ZodString;
8785
- updatedAt: z.ZodString;
8786
- graceEndAt: z.ZodOptional<z.ZodString>;
8787
- graceStartedAt: z.ZodOptional<z.ZodString>;
8788
- lapseTransactionEffectiveDate: z.ZodOptional<z.ZodString>;
8789
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
8790
- }, "strip", z.ZodTypeAny, {
8791
- locator: string;
8792
- createdAt: string;
8793
- updatedAt: string;
8794
- accountLocator: string;
8795
- timezone: string;
8796
- delinquencyState: "settled" | "preGrace" | "inGrace" | "lapseTriggered";
8797
- settings: {
8798
- gracePeriodDays: number;
8799
- lapseTransactionType: string;
8800
- advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
8801
- delinquencyLevel?: "policy" | "invoice" | undefined;
8802
- };
8803
- references?: {}[] | undefined;
8804
- graceEndAt?: string | undefined;
8805
- graceStartedAt?: string | undefined;
8806
- lapseTransactionEffectiveDate?: string | undefined;
8807
- }, {
8808
- locator: string;
8809
- createdAt: string;
8810
- updatedAt: string;
8811
- accountLocator: string;
8812
- timezone: string;
8813
- delinquencyState: "settled" | "preGrace" | "inGrace" | "lapseTriggered";
8814
- settings: {
8815
- gracePeriodDays: number;
8816
- lapseTransactionType: string;
8817
- advanceLapseTo: "draft" | "validated" | "priced" | "underwritten" | "accepted" | "issued";
8818
- delinquencyLevel?: "policy" | "invoice" | undefined;
8819
- };
8820
- references?: {}[] | undefined;
8821
- graceEndAt?: string | undefined;
8822
- graceStartedAt?: string | undefined;
8823
- lapseTransactionEffectiveDate?: string | undefined;
8824
- }>;
8825
-
8826
- export declare type DelinquencySettings = z.infer<typeof delinquencySettingsSchema>;
8827
-
8828
- export declare const delinquencySettingsSchema: z.ZodObject<{
8829
- advanceLapseTo: z.ZodEnum<["draft", "validated", "priced", "underwritten", "accepted", "issued"]>;
8830
- gracePeriodDays: z.ZodNumber;
8831
- lapseTransactionType: z.ZodString;
8832
- delinquencyLevel: z.ZodOptional<z.ZodEnum<["policy", "invoice"]>>;
9954
+ locator: string;
9955
+ createdBy: string;
9956
+ contents: string;
9957
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9958
+ referenceLocator: string;
9959
+ createdAt: string;
9960
+ updatedAt: string;
9961
+ diaryState: "discarded" | "active" | "locked";
9962
+ category?: string | undefined;
9963
+ updatedBy?: string | undefined;
9964
+ }>, "many">;
8833
9965
  }, "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;
8882
- }, {
8883
- referenceType: string;
8884
- referenceLocator: string;
8885
- tenantLocator: string;
8886
- }>;
8887
-
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;
9966
+ items: {
9967
+ locator: string;
9968
+ createdBy: string;
9969
+ contents: string;
9970
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9971
+ referenceLocator: string;
9972
+ createdAt: string;
9973
+ updatedAt: string;
9974
+ diaryState: "discarded" | "active" | "locked";
9975
+ category?: string | undefined;
9976
+ updatedBy?: string | undefined;
9977
+ }[];
9978
+ listCompleted: boolean;
8898
9979
  }, {
8899
- contents: string;
8900
- category?: string | undefined;
9980
+ items: {
9981
+ locator: string;
9982
+ createdBy: string;
9983
+ contents: string;
9984
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9985
+ referenceLocator: string;
9986
+ createdAt: string;
9987
+ updatedAt: string;
9988
+ diaryState: "discarded" | "active" | "locked";
9989
+ category?: string | undefined;
9990
+ updatedBy?: string | undefined;
9991
+ }[];
9992
+ listCompleted: boolean;
8901
9993
  }>;
8902
9994
 
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
- }, {
9995
+ export declare const DiaryEntrySchema: z.ZodObject<{
8917
9996
  locator: z.ZodString;
8918
9997
  referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
8919
9998
  diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
8920
9999
  createdAt: z.ZodString;
8921
10000
  createdBy: z.ZodString;
8922
10001
  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;
10002
+ updatedBy: z.ZodOptional<z.ZodString>;
8950
10003
  referenceLocator: z.ZodString;
8951
- referenceType: z.ZodUnion<[z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"activity">, z.ZodLiteral<"fnol">]>;
8952
10004
  category: z.ZodOptional<z.ZodString>;
8953
10005
  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, {
10006
+ }, "strip", z.ZodTypeAny, {
8968
10007
  locator: string;
8969
10008
  createdBy: string;
8970
10009
  contents: string;
8971
10010
  referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8972
10011
  referenceLocator: string;
8973
10012
  createdAt: string;
8974
- updatedBy: string;
8975
10013
  updatedAt: string;
8976
10014
  diaryState: "discarded" | "active" | "locked";
8977
10015
  category?: string | undefined;
10016
+ updatedBy?: string | undefined;
8978
10017
  }, {
8979
10018
  locator: string;
8980
10019
  createdBy: string;
@@ -8982,18 +10021,18 @@ export declare const DiaryEntrySchema: z.ZodObject<z.objectUtil.extendShape<{
8982
10021
  referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8983
10022
  referenceLocator: string;
8984
10023
  createdAt: string;
8985
- updatedBy: string;
8986
10024
  updatedAt: string;
8987
10025
  diaryState: "discarded" | "active" | "locked";
8988
10026
  category?: string | undefined;
10027
+ updatedBy?: string | undefined;
8989
10028
  }>;
8990
10029
 
8991
10030
  export declare type DiaryEntryUpdateRequest = z.infer<typeof DiaryEntryUpdateRequestSchema>;
8992
10031
 
8993
- export declare const DiaryEntryUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
10032
+ export declare const DiaryEntryUpdateRequestSchema: z.ZodObject<{
8994
10033
  category: z.ZodOptional<z.ZodString>;
8995
10034
  contents: z.ZodString;
8996
- }, {}>, "strip", z.ZodTypeAny, {
10035
+ }, "strip", z.ZodTypeAny, {
8997
10036
  contents: string;
8998
10037
  category?: string | undefined;
8999
10038
  }, {
@@ -11266,9 +12305,9 @@ export declare const FILE_EXTENSIONS_TO_MIME_TYPES: {
11266
12305
  [key: string]: string;
11267
12306
  };
11268
12307
 
11269
- export declare type FormerUserResponse = z.infer<typeof FormerUserResponseSchema>;
12308
+ export declare type FormerUserResponseBff = z.infer<typeof FormerUserResponseBffSchema>;
11270
12309
 
11271
- export declare const FormerUserResponseSchema: z.ZodObject<{
12310
+ export declare const FormerUserResponseBffSchema: z.ZodObject<{
11272
12311
  locator: z.ZodString;
11273
12312
  isDeleted: z.ZodBoolean;
11274
12313
  }, "strip", z.ZodTypeAny, {
@@ -26912,13 +27951,10 @@ export declare const UserQualificationsResponseSchema: z.ZodRecord<z.ZodString,
26912
27951
 
26913
27952
  export declare type UserQualificationsUpdateRequest = z.infer<typeof UserQualificationsUpdateRequestSchema>;
26914
27953
 
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
- }, {
27954
+ export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<{
26919
27955
  addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26920
27956
  removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26921
- }>, "strip", z.ZodTypeAny, {
27957
+ }, "strip", z.ZodTypeAny, {
26922
27958
  removeQualifications: Record<string, string>;
26923
27959
  addQualifications: Record<string, string>;
26924
27960
  }, {
@@ -27161,24 +28197,21 @@ export declare const WorkManagementRefSchema: z.ZodObject<z.objectUtil.extendSha
27161
28197
  }>>;
27162
28198
  qualifications: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
27163
28199
  }, {
27164
- activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
28200
+ activities: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
27165
28201
  defaultDeadlineDays: z.ZodNumber;
27166
28202
  blocksUnderwriting: z.ZodBoolean;
27167
- }, {}>, "strip", z.ZodTypeAny, {
28203
+ }, "strip", z.ZodTypeAny, {
27168
28204
  defaultDeadlineDays: number;
27169
28205
  blocksUnderwriting: boolean;
27170
28206
  }, {
27171
28207
  defaultDeadlineDays: number;
27172
28208
  blocksUnderwriting: boolean;
27173
28209
  }>>>;
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
- }, {
28210
+ assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<{
27179
28211
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
27180
28212
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
27181
- }>, "strip", z.ZodTypeAny, {
28213
+ exclusive: z.ZodBoolean;
28214
+ }, "strip", z.ZodTypeAny, {
27182
28215
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27183
28216
  exclusive: boolean;
27184
28217
  qualification?: Record<string, string> | undefined;