@socotra/ec-react-schemas 2.14.0 → 2.14.1-next.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
@@ -923,18 +923,391 @@ export declare const accountUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
923
923
  autoValidate?: boolean | undefined;
924
924
  }>;
925
925
 
926
+ export declare const ActivitiesByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
927
+ tenantLocator: z.ZodString;
928
+ }, {
929
+ referenceType: z.ZodString;
930
+ referenceLocator: z.ZodString;
931
+ }>, "strip", z.ZodTypeAny, {
932
+ tenantLocator: string;
933
+ referenceType: string;
934
+ referenceLocator: string;
935
+ }, {
936
+ tenantLocator: string;
937
+ referenceType: string;
938
+ referenceLocator: string;
939
+ }>;
940
+
941
+ export declare type ActivityCreateRequest = z.infer<typeof ActivityCreateRequestSchema>;
942
+
943
+ export declare const ActivityCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
944
+ type: z.ZodString;
945
+ deadlineTime: z.ZodOptional<z.ZodString>;
946
+ 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">]>;
948
+ referenceLocator: z.ZodString;
949
+ }, "strip", z.ZodTypeAny, {
950
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
951
+ referenceLocator: string;
952
+ }, {
953
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
954
+ referenceLocator: string;
955
+ }>, "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
+ assignedTo: z.ZodString;
973
+ }>, "strip", z.ZodTypeAny, {
974
+ type: string;
975
+ references: {
976
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
977
+ referenceLocator: string;
978
+ }[];
979
+ deadlineTime: string;
980
+ underwritingFlagLocators: string[];
981
+ assignedTo: string;
982
+ }, {
983
+ type: string;
984
+ references: {
985
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
986
+ referenceLocator: string;
987
+ }[];
988
+ deadlineTime: string;
989
+ underwritingFlagLocators: string[];
990
+ assignedTo: string;
991
+ }>;
992
+
926
993
  export declare type ActivityId = z.infer<typeof ActivityIdSchema>;
927
994
 
928
995
  export declare const ActivityIdSchema: z.ZodString;
929
996
 
997
+ export declare type ActivityListResponse = z.infer<typeof ActivityListResponseSchema>;
998
+
999
+ export declare const ActivityListResponseSchema: z.ZodObject<{
1000
+ listCompleted: z.ZodBoolean;
1001
+ items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1002
+ locator: z.ZodString;
1003
+ category: z.ZodString;
1004
+ 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;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1011
+ referenceLocator: string;
1012
+ }, {
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;
1029
+ }, {
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;
1034
+ }, {
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;
1042
+ createdAt: z.ZodString;
1043
+ updatedBy: z.ZodOptional<z.ZodString>;
1044
+ updatedAt: z.ZodOptional<z.ZodString>;
1045
+ }>, "strip", z.ZodTypeAny, {
1046
+ locator: string;
1047
+ type: string;
1048
+ createdBy: string;
1049
+ category: string;
1050
+ createdAt: string;
1051
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1052
+ updatedBy?: string | undefined;
1053
+ updatedAt?: string | undefined;
1054
+ references?: {
1055
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1056
+ referenceLocator: string;
1057
+ }[] | undefined;
1058
+ deadlineTime?: string | undefined;
1059
+ underwritingFlagLocators?: string[] | undefined;
1060
+ assignedTo?: string | undefined;
1061
+ }, {
1062
+ locator: string;
1063
+ type: string;
1064
+ createdBy: string;
1065
+ category: string;
1066
+ createdAt: string;
1067
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1068
+ updatedBy?: string | undefined;
1069
+ updatedAt?: string | undefined;
1070
+ references?: {
1071
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1072
+ referenceLocator: string;
1073
+ }[] | undefined;
1074
+ deadlineTime?: string | undefined;
1075
+ underwritingFlagLocators?: string[] | undefined;
1076
+ assignedTo?: string | undefined;
1077
+ }>, "many">;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ items: {
1080
+ locator: string;
1081
+ type: string;
1082
+ createdBy: string;
1083
+ category: string;
1084
+ createdAt: string;
1085
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1086
+ updatedBy?: string | undefined;
1087
+ updatedAt?: string | undefined;
1088
+ references?: {
1089
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1090
+ referenceLocator: string;
1091
+ }[] | undefined;
1092
+ deadlineTime?: string | undefined;
1093
+ underwritingFlagLocators?: string[] | undefined;
1094
+ assignedTo?: 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
+ updatedBy?: string | undefined;
1106
+ updatedAt?: string | undefined;
1107
+ references?: {
1108
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1109
+ referenceLocator: string;
1110
+ }[] | undefined;
1111
+ deadlineTime?: string | undefined;
1112
+ underwritingFlagLocators?: string[] | undefined;
1113
+ assignedTo?: string | undefined;
1114
+ }[];
1115
+ listCompleted: boolean;
1116
+ }>;
1117
+
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;
1125
+ }, {
1126
+ tenantLocator: string;
1127
+ activityLocator: string;
1128
+ }>;
1129
+
1130
+ export declare type ActivityReference = z.infer<typeof ActivityReferenceSchema>;
1131
+
930
1132
  export declare type ActivityReferenceEnum = z.infer<typeof ActivityReferenceEnumSchema>;
931
1133
 
932
1134
  export declare const ActivityReferenceEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
933
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
+ }>;
1148
+
1149
+ export declare type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
1150
+
1151
+ export declare const ActivityResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1152
+ locator: z.ZodString;
1153
+ category: z.ZodString;
1154
+ 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;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1161
+ referenceLocator: string;
1162
+ }, {
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;
1179
+ }, {
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;
1184
+ }, {
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;
1192
+ createdAt: z.ZodString;
1193
+ updatedBy: z.ZodOptional<z.ZodString>;
1194
+ updatedAt: z.ZodOptional<z.ZodString>;
1195
+ }>, "strip", z.ZodTypeAny, {
1196
+ locator: string;
1197
+ type: string;
1198
+ createdBy: string;
1199
+ category: string;
1200
+ createdAt: string;
1201
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1202
+ updatedBy?: string | undefined;
1203
+ updatedAt?: string | undefined;
1204
+ references?: {
1205
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1206
+ referenceLocator: string;
1207
+ }[] | undefined;
1208
+ deadlineTime?: string | undefined;
1209
+ underwritingFlagLocators?: string[] | undefined;
1210
+ assignedTo?: string | undefined;
1211
+ }, {
1212
+ locator: string;
1213
+ type: string;
1214
+ createdBy: string;
1215
+ category: string;
1216
+ createdAt: string;
1217
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1218
+ updatedBy?: string | undefined;
1219
+ updatedAt?: string | undefined;
1220
+ references?: {
1221
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1222
+ referenceLocator: string;
1223
+ }[] | undefined;
1224
+ deadlineTime?: string | undefined;
1225
+ underwritingFlagLocators?: string[] | undefined;
1226
+ assignedTo?: string | undefined;
1227
+ }>;
1228
+
934
1229
  export declare type ActivityStateEnum = z.infer<typeof ActivityStateEnumSchema>;
935
1230
 
936
1231
  export declare const ActivityStateEnumSchema: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
937
1232
 
1233
+ export declare type ActivityUpdateRequest = z.infer<typeof ActivityUpdateRequestSchema>;
1234
+
1235
+ export declare const ActivityUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
1236
+ deadlineTime: z.ZodOptional<z.ZodString>;
1237
+ addReferences: z.ZodArray<z.ZodObject<{
1238
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1239
+ referenceLocator: z.ZodString;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1242
+ referenceLocator: string;
1243
+ }, {
1244
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1245
+ referenceLocator: string;
1246
+ }>, "many">;
1247
+ removeReferences: z.ZodArray<z.ZodObject<{
1248
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1249
+ referenceLocator: z.ZodString;
1250
+ }, "strip", z.ZodTypeAny, {
1251
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1252
+ referenceLocator: string;
1253
+ }, {
1254
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1255
+ referenceLocator: string;
1256
+ }>, "many">;
1257
+ addUnderwritingFlags: z.ZodArray<z.ZodString, "many">;
1258
+ removeUnderwritingFlags: z.ZodArray<z.ZodString, "many">;
1259
+ }, {
1260
+ deadlineTime: z.ZodOptional<z.ZodString>;
1261
+ addReferences: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1262
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1263
+ referenceLocator: z.ZodString;
1264
+ }, {
1265
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1266
+ }>, "strip", z.ZodTypeAny, {
1267
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1268
+ referenceLocator: string;
1269
+ }, {
1270
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1271
+ referenceLocator: string;
1272
+ }>, "many">;
1273
+ removeReferences: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1274
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1275
+ referenceLocator: z.ZodString;
1276
+ }, {
1277
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1278
+ }>, "strip", z.ZodTypeAny, {
1279
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1280
+ referenceLocator: string;
1281
+ }, {
1282
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1283
+ referenceLocator: string;
1284
+ }>, "many">;
1285
+ }>, "strip", z.ZodTypeAny, {
1286
+ addReferences: {
1287
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1288
+ referenceLocator: string;
1289
+ }[];
1290
+ removeReferences: {
1291
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1292
+ referenceLocator: string;
1293
+ }[];
1294
+ addUnderwritingFlags: string[];
1295
+ removeUnderwritingFlags: string[];
1296
+ deadlineTime?: string | undefined;
1297
+ }, {
1298
+ addReferences: {
1299
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1300
+ referenceLocator: string;
1301
+ }[];
1302
+ removeReferences: {
1303
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1304
+ referenceLocator: string;
1305
+ }[];
1306
+ addUnderwritingFlags: string[];
1307
+ removeUnderwritingFlags: string[];
1308
+ deadlineTime?: string | undefined;
1309
+ }>;
1310
+
938
1311
  export declare type AddChangeInstructionCreateRequest = z.infer<typeof addChangeInstructionCreateRequestSchema>;
939
1312
 
940
1313
  export declare const addChangeInstructionCreateRequestSchema: z.ZodObject<{
@@ -1115,10 +1488,214 @@ export declare const AnchorTypeEnumSchema: z.ZodEnum<["none", "dayOfMonth", "anc
1115
1488
 
1116
1489
  export declare const anchorTypeEnumSchema: z.ZodEnum<["none", "dayOfMonth", "anchorTime", "dayOfWeek", "weekOfMonth"]>;
1117
1490
 
1491
+ export declare const AssignActivityParamsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1492
+ tenantLocator: z.ZodString;
1493
+ }, {
1494
+ activityLocator: z.ZodString;
1495
+ }>, {
1496
+ userLocator: z.ZodString;
1497
+ }>, "strip", z.ZodTypeAny, {
1498
+ tenantLocator: string;
1499
+ userLocator: string;
1500
+ activityLocator: string;
1501
+ }, {
1502
+ tenantLocator: string;
1503
+ userLocator: string;
1504
+ activityLocator: string;
1505
+ }>;
1506
+
1507
+ export declare const AssignAssignmentParamsSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1508
+ tenantLocator: z.ZodString;
1509
+ }, {
1510
+ assignmentLocator: z.ZodString;
1511
+ }>, {
1512
+ userLocator: z.ZodString;
1513
+ }>, "strip", z.ZodTypeAny, {
1514
+ tenantLocator: string;
1515
+ userLocator: string;
1516
+ assignmentLocator: string;
1517
+ }, {
1518
+ tenantLocator: string;
1519
+ userLocator: string;
1520
+ assignmentLocator: string;
1521
+ }>;
1522
+
1523
+ export declare type AssignmentCreateRequest = z.infer<typeof AssignmentCreateRequestSchema>;
1524
+
1525
+ export declare const AssignmentCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
1526
+ userLocator: z.ZodString;
1527
+ assignmentRole: z.ZodString;
1528
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1529
+ referenceLocator: z.ZodString;
1530
+ }, {
1531
+ userLocator: z.ZodString;
1532
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1533
+ }>, "strip", z.ZodTypeAny, {
1534
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1535
+ referenceLocator: string;
1536
+ userLocator: string;
1537
+ assignmentRole: string;
1538
+ }, {
1539
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1540
+ referenceLocator: string;
1541
+ userLocator: string;
1542
+ assignmentRole: string;
1543
+ }>;
1544
+
1118
1545
  export declare type AssignmentId = z.infer<typeof AssignmentIdSchema>;
1119
1546
 
1120
1547
  export declare const AssignmentIdSchema: z.ZodString;
1121
1548
 
1549
+ export declare type AssignmentListResponse = z.infer<typeof AssignmentListResponseSchema>;
1550
+
1551
+ export declare const AssignmentListResponseSchema: z.ZodObject<{
1552
+ listCompleted: z.ZodBoolean;
1553
+ items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1554
+ locator: z.ZodString;
1555
+ userLocator: z.ZodString;
1556
+ assignmentRole: z.ZodString;
1557
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1558
+ referenceLocator: z.ZodString;
1559
+ assignmentState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"completed">, z.ZodLiteral<"unassigned">, z.ZodLiteral<"discarded">]>;
1560
+ createdBy: z.ZodString;
1561
+ createdAt: z.ZodString;
1562
+ updatedBy: z.ZodOptional<z.ZodString>;
1563
+ updatedAt: z.ZodOptional<z.ZodString>;
1564
+ }, {
1565
+ locator: z.ZodString;
1566
+ userLocator: z.ZodString;
1567
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1568
+ assignmentState: z.ZodEnum<["active", "completed", "unassigned", "discarded"]>;
1569
+ createdBy: z.ZodString;
1570
+ createdAt: z.ZodString;
1571
+ updatedBy: z.ZodOptional<z.ZodString>;
1572
+ updatedAt: z.ZodOptional<z.ZodString>;
1573
+ }>, "strip", z.ZodTypeAny, {
1574
+ locator: string;
1575
+ createdBy: string;
1576
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1577
+ referenceLocator: string;
1578
+ createdAt: string;
1579
+ userLocator: string;
1580
+ assignmentRole: string;
1581
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
1582
+ updatedBy?: string | undefined;
1583
+ updatedAt?: string | undefined;
1584
+ }, {
1585
+ locator: string;
1586
+ createdBy: string;
1587
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1588
+ referenceLocator: string;
1589
+ createdAt: string;
1590
+ userLocator: string;
1591
+ assignmentRole: string;
1592
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
1593
+ updatedBy?: string | undefined;
1594
+ updatedAt?: string | undefined;
1595
+ }>, "many">;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ items: {
1598
+ locator: string;
1599
+ createdBy: string;
1600
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1601
+ referenceLocator: string;
1602
+ createdAt: string;
1603
+ userLocator: string;
1604
+ assignmentRole: string;
1605
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
1606
+ updatedBy?: string | undefined;
1607
+ updatedAt?: string | undefined;
1608
+ }[];
1609
+ listCompleted: boolean;
1610
+ }, {
1611
+ items: {
1612
+ locator: string;
1613
+ createdBy: string;
1614
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1615
+ referenceLocator: string;
1616
+ createdAt: string;
1617
+ userLocator: string;
1618
+ assignmentRole: string;
1619
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
1620
+ updatedBy?: string | undefined;
1621
+ updatedAt?: string | undefined;
1622
+ }[];
1623
+ listCompleted: boolean;
1624
+ }>;
1625
+
1626
+ export declare const AssignmentParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
1627
+ tenantLocator: z.ZodString;
1628
+ }, {
1629
+ assignmentLocator: z.ZodString;
1630
+ }>, "strip", z.ZodTypeAny, {
1631
+ tenantLocator: string;
1632
+ assignmentLocator: string;
1633
+ }, {
1634
+ tenantLocator: string;
1635
+ assignmentLocator: string;
1636
+ }>;
1637
+
1638
+ export declare type AssignmentRespones = z.infer<typeof AssignmentResponseSchema>;
1639
+
1640
+ export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1641
+ locator: z.ZodString;
1642
+ userLocator: z.ZodString;
1643
+ assignmentRole: z.ZodString;
1644
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1645
+ referenceLocator: z.ZodString;
1646
+ assignmentState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"completed">, z.ZodLiteral<"unassigned">, z.ZodLiteral<"discarded">]>;
1647
+ createdBy: z.ZodString;
1648
+ createdAt: z.ZodString;
1649
+ updatedBy: z.ZodOptional<z.ZodString>;
1650
+ updatedAt: z.ZodOptional<z.ZodString>;
1651
+ }, {
1652
+ locator: z.ZodString;
1653
+ userLocator: z.ZodString;
1654
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1655
+ assignmentState: z.ZodEnum<["active", "completed", "unassigned", "discarded"]>;
1656
+ createdBy: z.ZodString;
1657
+ createdAt: z.ZodString;
1658
+ updatedBy: z.ZodOptional<z.ZodString>;
1659
+ updatedAt: z.ZodOptional<z.ZodString>;
1660
+ }>, "strip", z.ZodTypeAny, {
1661
+ locator: string;
1662
+ createdBy: string;
1663
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1664
+ referenceLocator: string;
1665
+ createdAt: string;
1666
+ userLocator: string;
1667
+ assignmentRole: string;
1668
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
1669
+ updatedBy?: string | undefined;
1670
+ updatedAt?: string | undefined;
1671
+ }, {
1672
+ locator: string;
1673
+ createdBy: string;
1674
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1675
+ referenceLocator: string;
1676
+ createdAt: string;
1677
+ userLocator: string;
1678
+ assignmentRole: string;
1679
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
1680
+ updatedBy?: string | undefined;
1681
+ updatedAt?: string | undefined;
1682
+ }>;
1683
+
1684
+ export declare const AssignmentsByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
1685
+ tenantLocator: z.ZodString;
1686
+ }, {
1687
+ referenceType: z.ZodString;
1688
+ referenceLocator: z.ZodString;
1689
+ }>, "strip", z.ZodTypeAny, {
1690
+ tenantLocator: string;
1691
+ referenceType: string;
1692
+ referenceLocator: string;
1693
+ }, {
1694
+ tenantLocator: string;
1695
+ referenceType: string;
1696
+ referenceLocator: string;
1697
+ }>;
1698
+
1122
1699
  export declare type AssignmentStateEnum = z.infer<typeof AssignmentStateEnumSchema>;
1123
1700
 
1124
1701
  export declare const AssignmentStateEnumSchema: z.ZodEnum<["active", "completed", "unassigned", "discarded"]>;
@@ -7769,8 +8346,151 @@ export declare const DeploymentMetadataSchema: z.ZodObject<z.objectUtil.extendSh
7769
8346
  latestVersion: string;
7770
8347
  }>;
7771
8348
 
8349
+ export declare const DiaryByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
8350
+ tenantLocator: z.ZodString;
8351
+ }, {
8352
+ referenceType: z.ZodString;
8353
+ referenceLocator: z.ZodString;
8354
+ }>, "strip", z.ZodTypeAny, {
8355
+ tenantLocator: string;
8356
+ referenceType: string;
8357
+ referenceLocator: string;
8358
+ }, {
8359
+ tenantLocator: string;
8360
+ referenceType: string;
8361
+ referenceLocator: string;
8362
+ }>;
8363
+
8364
+ export declare type DiaryEntry = z.infer<typeof DiaryEntrySchema>;
8365
+
8366
+ export declare type DiaryEntryCreateRequest = z.infer<typeof DiaryEntryCreateRequestSchema>;
8367
+
8368
+ export declare const DiaryEntryCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
8369
+ category: z.ZodOptional<z.ZodString>;
8370
+ contents: z.ZodString;
8371
+ }, {}>, "strip", z.ZodTypeAny, {
8372
+ contents: string;
8373
+ category?: string | undefined;
8374
+ }, {
8375
+ contents: string;
8376
+ category?: string | undefined;
8377
+ }>;
8378
+
8379
+ export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
8380
+
8381
+ export declare const DiaryEntryListResponseSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8382
+ locator: z.ZodString;
8383
+ referenceLocator: z.ZodString;
8384
+ referenceType: z.ZodUnion<[z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"activity">, z.ZodLiteral<"fnol">]>;
8385
+ category: z.ZodOptional<z.ZodString>;
8386
+ contents: z.ZodString;
8387
+ createdAt: z.ZodString;
8388
+ createdBy: z.ZodString;
8389
+ updatedAt: z.ZodString;
8390
+ updatedBy: z.ZodString;
8391
+ diaryState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"discarded">, z.ZodLiteral<"locked">]>;
8392
+ }, {
8393
+ locator: z.ZodString;
8394
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
8395
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
8396
+ createdAt: z.ZodString;
8397
+ createdBy: z.ZodString;
8398
+ updatedAt: z.ZodString;
8399
+ updatedBy: z.ZodString;
8400
+ }>, "strip", z.ZodTypeAny, {
8401
+ locator: string;
8402
+ createdBy: string;
8403
+ contents: string;
8404
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8405
+ updatedBy: string;
8406
+ updatedAt: string;
8407
+ referenceLocator: string;
8408
+ createdAt: string;
8409
+ diaryState: "discarded" | "active" | "locked";
8410
+ category?: string | undefined;
8411
+ }, {
8412
+ locator: string;
8413
+ createdBy: string;
8414
+ contents: string;
8415
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8416
+ updatedBy: string;
8417
+ updatedAt: string;
8418
+ referenceLocator: string;
8419
+ createdAt: string;
8420
+ diaryState: "discarded" | "active" | "locked";
8421
+ category?: string | undefined;
8422
+ }>, "many">;
8423
+
8424
+ export declare const DiaryEntrySchema: z.ZodObject<z.objectUtil.extendShape<{
8425
+ locator: z.ZodString;
8426
+ referenceLocator: z.ZodString;
8427
+ referenceType: z.ZodUnion<[z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"activity">, z.ZodLiteral<"fnol">]>;
8428
+ category: z.ZodOptional<z.ZodString>;
8429
+ contents: z.ZodString;
8430
+ createdAt: z.ZodString;
8431
+ createdBy: z.ZodString;
8432
+ updatedAt: z.ZodString;
8433
+ updatedBy: z.ZodString;
8434
+ diaryState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"discarded">, z.ZodLiteral<"locked">]>;
8435
+ }, {
8436
+ locator: z.ZodString;
8437
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
8438
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
8439
+ createdAt: z.ZodString;
8440
+ createdBy: z.ZodString;
8441
+ updatedAt: z.ZodString;
8442
+ updatedBy: z.ZodString;
8443
+ }>, "strip", z.ZodTypeAny, {
8444
+ locator: string;
8445
+ createdBy: string;
8446
+ contents: string;
8447
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8448
+ updatedBy: string;
8449
+ updatedAt: string;
8450
+ referenceLocator: string;
8451
+ createdAt: string;
8452
+ diaryState: "discarded" | "active" | "locked";
8453
+ category?: string | undefined;
8454
+ }, {
8455
+ locator: string;
8456
+ createdBy: string;
8457
+ contents: string;
8458
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
8459
+ updatedBy: string;
8460
+ updatedAt: string;
8461
+ referenceLocator: string;
8462
+ createdAt: string;
8463
+ diaryState: "discarded" | "active" | "locked";
8464
+ category?: string | undefined;
8465
+ }>;
8466
+
8467
+ export declare type DiaryEntryUpdateRequest = z.infer<typeof DiaryEntryUpdateRequestSchema>;
8468
+
8469
+ export declare const DiaryEntryUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
8470
+ category: z.ZodOptional<z.ZodString>;
8471
+ contents: z.ZodString;
8472
+ }, {}>, "strip", z.ZodTypeAny, {
8473
+ contents: string;
8474
+ category?: string | undefined;
8475
+ }, {
8476
+ contents: string;
8477
+ category?: string | undefined;
8478
+ }>;
8479
+
7772
8480
  export declare type DiaryId = z.infer<typeof DiaryIdSchema>;
7773
8481
 
8482
+ export declare const DiaryIdParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
8483
+ tenantLocator: z.ZodString;
8484
+ }, {
8485
+ diaryLocator: z.ZodString;
8486
+ }>, "strip", z.ZodTypeAny, {
8487
+ tenantLocator: string;
8488
+ diaryLocator: string;
8489
+ }, {
8490
+ tenantLocator: string;
8491
+ diaryLocator: string;
8492
+ }>;
8493
+
7774
8494
  export declare const DiaryIdSchema: z.ZodString;
7775
8495
 
7776
8496
  export declare type DiaryReferenceTypeEnum = z.infer<typeof DiaryReferenceTypeEnumSchema>;
@@ -9344,7 +10064,7 @@ declare type Element_3 = {
9344
10064
  parentLocator: string;
9345
10065
  elements: Array<Element_3>;
9346
10066
  coverageTerms: {
9347
- [key: string]: (string);
10067
+ [key: string]: string;
9348
10068
  };
9349
10069
  data: {
9350
10070
  [key: string]: {
@@ -9810,6 +10530,18 @@ export declare type EvaluateConstraintsRequest = z.infer<typeof evaluateConstrai
9810
10530
 
9811
10531
  export declare const evaluateConstraintsRequestSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>>;
9812
10532
 
10533
+ export declare const FetchUserAssignmentsParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
10534
+ tenantLocator: z.ZodString;
10535
+ }, {
10536
+ userLocator: z.ZodString;
10537
+ }>, "strip", z.ZodTypeAny, {
10538
+ tenantLocator: string;
10539
+ userLocator: string;
10540
+ }, {
10541
+ tenantLocator: string;
10542
+ userLocator: string;
10543
+ }>;
10544
+
9813
10545
  export declare type FieldConfig = z.infer<typeof fieldConfigSchema>;
9814
10546
 
9815
10547
  export declare type FieldConfigRecord = z.infer<typeof fieldConfigRecordSchema>;
@@ -23453,6 +24185,18 @@ export declare const TenantIdSchema: z.ZodString;
23453
24185
 
23454
24186
  export declare const TenantLocatorSchema: z.ZodString;
23455
24187
 
24188
+ export declare const TenantQualificationsParamsSchema: z.ZodObject<{
24189
+ tenantLocator: z.ZodString;
24190
+ }, "strip", z.ZodTypeAny, {
24191
+ tenantLocator: string;
24192
+ }, {
24193
+ tenantLocator: string;
24194
+ }>;
24195
+
24196
+ export declare type TenantQualificationsResponse = z.infer<typeof TenantQualificationsResponseSchema>;
24197
+
24198
+ export declare const TenantQualificationsResponseSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
24199
+
23456
24200
  export declare type TenantResponse = z.infer<typeof TenantResponseSchema>;
23457
24201
 
23458
24202
  export declare const TenantResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -25562,6 +26306,18 @@ export declare const UpdateBillingLevelRequestSchema: z.ZodObject<z.objectUtil.e
25562
26306
  billing: "account" | "inherit" | "policy";
25563
26307
  }>;
25564
26308
 
26309
+ export declare const UserActivitiesParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
26310
+ tenantLocator: z.ZodString;
26311
+ }, {
26312
+ userLocator: z.ZodString;
26313
+ }>, "strip", z.ZodTypeAny, {
26314
+ tenantLocator: string;
26315
+ userLocator: string;
26316
+ }, {
26317
+ tenantLocator: string;
26318
+ userLocator: string;
26319
+ }>;
26320
+
25565
26321
  export declare type UserCreateRequest = z.infer<typeof UserCreateRequestSchema>;
25566
26322
 
25567
26323
  export declare const UserCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -25601,6 +26357,38 @@ export declare type UserId = z.infer<typeof UserIdSchema>;
25601
26357
 
25602
26358
  export declare const UserIdSchema: z.ZodString;
25603
26359
 
26360
+ export declare const UserQualificationsParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
26361
+ tenantLocator: z.ZodString;
26362
+ }, {
26363
+ userLocator: z.ZodString;
26364
+ }>, "strip", z.ZodTypeAny, {
26365
+ tenantLocator: string;
26366
+ userLocator: string;
26367
+ }, {
26368
+ tenantLocator: string;
26369
+ userLocator: string;
26370
+ }>;
26371
+
26372
+ export declare type UserQualificationsResponse = z.infer<typeof UserQualificationsResponseSchema>;
26373
+
26374
+ export declare const UserQualificationsResponseSchema: z.ZodRecord<z.ZodString, z.ZodString>;
26375
+
26376
+ export declare type UserQualificationsUpdateRequest = z.infer<typeof UserQualificationsUpdateRequestSchema>;
26377
+
26378
+ export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
26379
+ removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26380
+ addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26381
+ }, {
26382
+ addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26383
+ removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
26384
+ }>, "strip", z.ZodTypeAny, {
26385
+ removeQualifications: Record<string, string>;
26386
+ addQualifications: Record<string, string>;
26387
+ }, {
26388
+ removeQualifications: Record<string, string>;
26389
+ addQualifications: Record<string, string>;
26390
+ }>;
26391
+
25604
26392
  export declare type UserResponse = z.infer<typeof UserResponseSchema>;
25605
26393
 
25606
26394
  export declare const UserResponseSchema: z.ZodObject<z.objectUtil.extendShape<{