@socotra/ec-react-schemas 2.16.2-next.0 → 2.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2922,11 +2922,23 @@ export declare const AssignmentListResponseBffSchema: z.ZodObject<{
2922
2922
  listCompleted: z.ZodBoolean;
2923
2923
  items: z.ZodArray<z.ZodObject<{
2924
2924
  referenceDetails: z.ZodOptional<z.ZodObject<{
2925
- entityNumber: z.ZodString;
2925
+ entityNumber: z.ZodOptional<z.ZodString>;
2926
+ policyLocator: z.ZodOptional<z.ZodString>;
2927
+ termLocator: z.ZodOptional<z.ZodString>;
2928
+ transactionLocator: z.ZodOptional<z.ZodString>;
2929
+ segmentLocator: z.ZodOptional<z.ZodString>;
2926
2930
  }, "strip", z.ZodTypeAny, {
2927
- entityNumber: string;
2931
+ termLocator?: string | undefined;
2932
+ policyLocator?: string | undefined;
2933
+ transactionLocator?: string | undefined;
2934
+ segmentLocator?: string | undefined;
2935
+ entityNumber?: string | undefined;
2928
2936
  }, {
2929
- entityNumber: string;
2937
+ termLocator?: string | undefined;
2938
+ policyLocator?: string | undefined;
2939
+ transactionLocator?: string | undefined;
2940
+ segmentLocator?: string | undefined;
2941
+ entityNumber?: string | undefined;
2930
2942
  }>>;
2931
2943
  assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2932
2944
  locator: z.ZodString;
@@ -3048,7 +3060,11 @@ export declare const AssignmentListResponseBffSchema: z.ZodObject<{
3048
3060
  isDeleted: boolean;
3049
3061
  } | undefined;
3050
3062
  referenceDetails?: {
3051
- entityNumber: string;
3063
+ termLocator?: string | undefined;
3064
+ policyLocator?: string | undefined;
3065
+ transactionLocator?: string | undefined;
3066
+ segmentLocator?: string | undefined;
3067
+ entityNumber?: string | undefined;
3052
3068
  } | undefined;
3053
3069
  }, {
3054
3070
  locator: string;
@@ -3087,7 +3103,11 @@ export declare const AssignmentListResponseBffSchema: z.ZodObject<{
3087
3103
  isDeleted: boolean;
3088
3104
  } | undefined;
3089
3105
  referenceDetails?: {
3090
- entityNumber: string;
3106
+ termLocator?: string | undefined;
3107
+ policyLocator?: string | undefined;
3108
+ transactionLocator?: string | undefined;
3109
+ segmentLocator?: string | undefined;
3110
+ entityNumber?: string | undefined;
3091
3111
  } | undefined;
3092
3112
  }>, "many">;
3093
3113
  }, "strip", z.ZodTypeAny, {
@@ -3128,7 +3148,11 @@ export declare const AssignmentListResponseBffSchema: z.ZodObject<{
3128
3148
  isDeleted: boolean;
3129
3149
  } | undefined;
3130
3150
  referenceDetails?: {
3131
- entityNumber: string;
3151
+ termLocator?: string | undefined;
3152
+ policyLocator?: string | undefined;
3153
+ transactionLocator?: string | undefined;
3154
+ segmentLocator?: string | undefined;
3155
+ entityNumber?: string | undefined;
3132
3156
  } | undefined;
3133
3157
  }[];
3134
3158
  listCompleted: boolean;
@@ -3170,7 +3194,11 @@ export declare const AssignmentListResponseBffSchema: z.ZodObject<{
3170
3194
  isDeleted: boolean;
3171
3195
  } | undefined;
3172
3196
  referenceDetails?: {
3173
- entityNumber: string;
3197
+ termLocator?: string | undefined;
3198
+ policyLocator?: string | undefined;
3199
+ transactionLocator?: string | undefined;
3200
+ segmentLocator?: string | undefined;
3201
+ entityNumber?: string | undefined;
3174
3202
  } | undefined;
3175
3203
  }[];
3176
3204
  listCompleted: boolean;
@@ -3254,17 +3282,51 @@ export declare const AssignmentParamsSchema: z.ZodObject<z.objectUtil.extendShap
3254
3282
  assignmentLocator: string;
3255
3283
  }>;
3256
3284
 
3285
+ export declare type AssignmentReferenceDetails = z.infer<typeof AssignmentReferenceDetailsSchema>;
3286
+
3287
+ export declare const AssignmentReferenceDetailsSchema: z.ZodObject<{
3288
+ entityNumber: z.ZodOptional<z.ZodString>;
3289
+ policyLocator: z.ZodOptional<z.ZodString>;
3290
+ termLocator: z.ZodOptional<z.ZodString>;
3291
+ transactionLocator: z.ZodOptional<z.ZodString>;
3292
+ segmentLocator: z.ZodOptional<z.ZodString>;
3293
+ }, "strip", z.ZodTypeAny, {
3294
+ termLocator?: string | undefined;
3295
+ policyLocator?: string | undefined;
3296
+ transactionLocator?: string | undefined;
3297
+ segmentLocator?: string | undefined;
3298
+ entityNumber?: string | undefined;
3299
+ }, {
3300
+ termLocator?: string | undefined;
3301
+ policyLocator?: string | undefined;
3302
+ transactionLocator?: string | undefined;
3303
+ segmentLocator?: string | undefined;
3304
+ entityNumber?: string | undefined;
3305
+ }>;
3306
+
3257
3307
  export declare type AssignmentResponse = z.infer<typeof AssignmentResponseSchema>;
3258
3308
 
3259
3309
  export declare type AssignmentResponseBff = z.infer<typeof AssignmentResponseBffSchema>;
3260
3310
 
3261
3311
  export declare const AssignmentResponseBffSchema: z.ZodObject<{
3262
3312
  referenceDetails: z.ZodOptional<z.ZodObject<{
3263
- entityNumber: z.ZodString;
3313
+ entityNumber: z.ZodOptional<z.ZodString>;
3314
+ policyLocator: z.ZodOptional<z.ZodString>;
3315
+ termLocator: z.ZodOptional<z.ZodString>;
3316
+ transactionLocator: z.ZodOptional<z.ZodString>;
3317
+ segmentLocator: z.ZodOptional<z.ZodString>;
3264
3318
  }, "strip", z.ZodTypeAny, {
3265
- entityNumber: string;
3319
+ termLocator?: string | undefined;
3320
+ policyLocator?: string | undefined;
3321
+ transactionLocator?: string | undefined;
3322
+ segmentLocator?: string | undefined;
3323
+ entityNumber?: string | undefined;
3266
3324
  }, {
3267
- entityNumber: string;
3325
+ termLocator?: string | undefined;
3326
+ policyLocator?: string | undefined;
3327
+ transactionLocator?: string | undefined;
3328
+ segmentLocator?: string | undefined;
3329
+ entityNumber?: string | undefined;
3268
3330
  }>>;
3269
3331
  assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3270
3332
  locator: z.ZodString;
@@ -3386,7 +3448,11 @@ export declare const AssignmentResponseBffSchema: z.ZodObject<{
3386
3448
  isDeleted: boolean;
3387
3449
  } | undefined;
3388
3450
  referenceDetails?: {
3389
- entityNumber: string;
3451
+ termLocator?: string | undefined;
3452
+ policyLocator?: string | undefined;
3453
+ transactionLocator?: string | undefined;
3454
+ segmentLocator?: string | undefined;
3455
+ entityNumber?: string | undefined;
3390
3456
  } | undefined;
3391
3457
  }, {
3392
3458
  locator: string;
@@ -3425,7 +3491,11 @@ export declare const AssignmentResponseBffSchema: z.ZodObject<{
3425
3491
  isDeleted: boolean;
3426
3492
  } | undefined;
3427
3493
  referenceDetails?: {
3428
- entityNumber: string;
3494
+ termLocator?: string | undefined;
3495
+ policyLocator?: string | undefined;
3496
+ transactionLocator?: string | undefined;
3497
+ segmentLocator?: string | undefined;
3498
+ entityNumber?: string | undefined;
3429
3499
  } | undefined;
3430
3500
  }>;
3431
3501
 
@@ -30196,6 +30266,191 @@ export declare const UserActivitiesParamsSchema: z.ZodObject<z.objectUtil.extend
30196
30266
  userLocator: string;
30197
30267
  }>;
30198
30268
 
30269
+ export declare type UserAssignmentListResponseBff = z.infer<typeof UserAssignmentListResponseBffSchema>;
30270
+
30271
+ export declare const UserAssignmentListResponseBffSchema: z.ZodObject<{
30272
+ listCompleted: z.ZodBoolean;
30273
+ items: z.ZodArray<z.ZodObject<{
30274
+ referenceDetails: z.ZodOptional<z.ZodObject<{
30275
+ entityNumber: z.ZodOptional<z.ZodString>;
30276
+ policyLocator: z.ZodOptional<z.ZodString>;
30277
+ termLocator: z.ZodOptional<z.ZodString>;
30278
+ transactionLocator: z.ZodOptional<z.ZodString>;
30279
+ segmentLocator: z.ZodOptional<z.ZodString>;
30280
+ }, "strip", z.ZodTypeAny, {
30281
+ termLocator?: string | undefined;
30282
+ policyLocator?: string | undefined;
30283
+ transactionLocator?: string | undefined;
30284
+ segmentLocator?: string | undefined;
30285
+ entityNumber?: string | undefined;
30286
+ }, {
30287
+ termLocator?: string | undefined;
30288
+ policyLocator?: string | undefined;
30289
+ transactionLocator?: string | undefined;
30290
+ segmentLocator?: string | undefined;
30291
+ entityNumber?: string | undefined;
30292
+ }>>;
30293
+ locator: z.ZodString;
30294
+ userLocator: z.ZodString;
30295
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
30296
+ assignmentState: z.ZodEnum<["active", "completed", "unassigned", "discarded"]>;
30297
+ createdBy: z.ZodString;
30298
+ createdAt: z.ZodString;
30299
+ updatedBy: z.ZodOptional<z.ZodString>;
30300
+ updatedAt: z.ZodOptional<z.ZodString>;
30301
+ assignmentRole: z.ZodString;
30302
+ referenceLocator: z.ZodString;
30303
+ }, "strip", z.ZodTypeAny, {
30304
+ locator: string;
30305
+ createdBy: string;
30306
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
30307
+ referenceLocator: string;
30308
+ createdAt: string;
30309
+ userLocator: string;
30310
+ assignmentRole: string;
30311
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
30312
+ updatedBy?: string | undefined;
30313
+ updatedAt?: string | undefined;
30314
+ referenceDetails?: {
30315
+ termLocator?: string | undefined;
30316
+ policyLocator?: string | undefined;
30317
+ transactionLocator?: string | undefined;
30318
+ segmentLocator?: string | undefined;
30319
+ entityNumber?: string | undefined;
30320
+ } | undefined;
30321
+ }, {
30322
+ locator: string;
30323
+ createdBy: string;
30324
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
30325
+ referenceLocator: string;
30326
+ createdAt: string;
30327
+ userLocator: string;
30328
+ assignmentRole: string;
30329
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
30330
+ updatedBy?: string | undefined;
30331
+ updatedAt?: string | undefined;
30332
+ referenceDetails?: {
30333
+ termLocator?: string | undefined;
30334
+ policyLocator?: string | undefined;
30335
+ transactionLocator?: string | undefined;
30336
+ segmentLocator?: string | undefined;
30337
+ entityNumber?: string | undefined;
30338
+ } | undefined;
30339
+ }>, "many">;
30340
+ }, "strip", z.ZodTypeAny, {
30341
+ items: {
30342
+ locator: string;
30343
+ createdBy: string;
30344
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
30345
+ referenceLocator: string;
30346
+ createdAt: string;
30347
+ userLocator: string;
30348
+ assignmentRole: string;
30349
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
30350
+ updatedBy?: string | undefined;
30351
+ updatedAt?: string | undefined;
30352
+ referenceDetails?: {
30353
+ termLocator?: string | undefined;
30354
+ policyLocator?: string | undefined;
30355
+ transactionLocator?: string | undefined;
30356
+ segmentLocator?: string | undefined;
30357
+ entityNumber?: string | undefined;
30358
+ } | undefined;
30359
+ }[];
30360
+ listCompleted: boolean;
30361
+ }, {
30362
+ items: {
30363
+ locator: string;
30364
+ createdBy: string;
30365
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
30366
+ referenceLocator: string;
30367
+ createdAt: string;
30368
+ userLocator: string;
30369
+ assignmentRole: string;
30370
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
30371
+ updatedBy?: string | undefined;
30372
+ updatedAt?: string | undefined;
30373
+ referenceDetails?: {
30374
+ termLocator?: string | undefined;
30375
+ policyLocator?: string | undefined;
30376
+ transactionLocator?: string | undefined;
30377
+ segmentLocator?: string | undefined;
30378
+ entityNumber?: string | undefined;
30379
+ } | undefined;
30380
+ }[];
30381
+ listCompleted: boolean;
30382
+ }>;
30383
+
30384
+ export declare type UserAssignmentResponseBff = z.infer<typeof UserAssignmentResponseBffSchema>;
30385
+
30386
+ export declare const UserAssignmentResponseBffSchema: z.ZodObject<{
30387
+ referenceDetails: z.ZodOptional<z.ZodObject<{
30388
+ entityNumber: z.ZodOptional<z.ZodString>;
30389
+ policyLocator: z.ZodOptional<z.ZodString>;
30390
+ termLocator: z.ZodOptional<z.ZodString>;
30391
+ transactionLocator: z.ZodOptional<z.ZodString>;
30392
+ segmentLocator: z.ZodOptional<z.ZodString>;
30393
+ }, "strip", z.ZodTypeAny, {
30394
+ termLocator?: string | undefined;
30395
+ policyLocator?: string | undefined;
30396
+ transactionLocator?: string | undefined;
30397
+ segmentLocator?: string | undefined;
30398
+ entityNumber?: string | undefined;
30399
+ }, {
30400
+ termLocator?: string | undefined;
30401
+ policyLocator?: string | undefined;
30402
+ transactionLocator?: string | undefined;
30403
+ segmentLocator?: string | undefined;
30404
+ entityNumber?: string | undefined;
30405
+ }>>;
30406
+ locator: z.ZodString;
30407
+ userLocator: z.ZodString;
30408
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
30409
+ assignmentState: z.ZodEnum<["active", "completed", "unassigned", "discarded"]>;
30410
+ createdBy: z.ZodString;
30411
+ createdAt: z.ZodString;
30412
+ updatedBy: z.ZodOptional<z.ZodString>;
30413
+ updatedAt: z.ZodOptional<z.ZodString>;
30414
+ assignmentRole: z.ZodString;
30415
+ referenceLocator: z.ZodString;
30416
+ }, "strip", z.ZodTypeAny, {
30417
+ locator: string;
30418
+ createdBy: string;
30419
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
30420
+ referenceLocator: string;
30421
+ createdAt: string;
30422
+ userLocator: string;
30423
+ assignmentRole: string;
30424
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
30425
+ updatedBy?: string | undefined;
30426
+ updatedAt?: string | undefined;
30427
+ referenceDetails?: {
30428
+ termLocator?: string | undefined;
30429
+ policyLocator?: string | undefined;
30430
+ transactionLocator?: string | undefined;
30431
+ segmentLocator?: string | undefined;
30432
+ entityNumber?: string | undefined;
30433
+ } | undefined;
30434
+ }, {
30435
+ locator: string;
30436
+ createdBy: string;
30437
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
30438
+ referenceLocator: string;
30439
+ createdAt: string;
30440
+ userLocator: string;
30441
+ assignmentRole: string;
30442
+ assignmentState: "discarded" | "active" | "completed" | "unassigned";
30443
+ updatedBy?: string | undefined;
30444
+ updatedAt?: string | undefined;
30445
+ referenceDetails?: {
30446
+ termLocator?: string | undefined;
30447
+ policyLocator?: string | undefined;
30448
+ transactionLocator?: string | undefined;
30449
+ segmentLocator?: string | undefined;
30450
+ entityNumber?: string | undefined;
30451
+ } | undefined;
30452
+ }>;
30453
+
30199
30454
  export declare type UserCreateRequest = z.infer<typeof UserCreateRequestSchema>;
30200
30455
 
30201
30456
  export declare const UserCreateRequestSchema: z.ZodObject<{