@socotra/ec-react-schemas 2.15.0-next.1 → 2.15.0-next.3

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
@@ -9374,140 +9374,86 @@ export declare const DiaryEntryCreateRequestSchema: z.ZodObject<{
9374
9374
 
9375
9375
  export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
9376
9376
 
9377
- export declare const DiaryEntryListResponseSchema: z.ZodArray<z.ZodObject<{
9378
- locator: z.ZodString;
9379
- referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9380
- diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9381
- createdAt: z.ZodString;
9382
- createdBy: z.ZodObject<{
9383
- locator: z.ZodString;
9384
- userName: z.ZodString;
9385
- firstName: z.ZodOptional<z.ZodString>;
9386
- lastName: z.ZodOptional<z.ZodString>;
9387
- }, "strip", z.ZodTypeAny, {
9388
- locator: string;
9389
- userName: string;
9390
- firstName?: string | undefined;
9391
- lastName?: string | undefined;
9392
- }, {
9393
- locator: string;
9394
- userName: string;
9395
- firstName?: string | undefined;
9396
- lastName?: string | undefined;
9397
- }>;
9398
- updatedAt: z.ZodString;
9399
- updatedBy: z.ZodOptional<z.ZodObject<{
9377
+ export declare const DiaryEntryListResponseSchema: z.ZodObject<{
9378
+ listComplete: z.ZodBoolean;
9379
+ items: z.ZodArray<z.ZodObject<{
9400
9380
  locator: z.ZodString;
9401
- userName: z.ZodString;
9402
- firstName: z.ZodOptional<z.ZodString>;
9403
- lastName: z.ZodOptional<z.ZodString>;
9381
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9382
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9383
+ createdAt: z.ZodString;
9384
+ createdBy: z.ZodString;
9385
+ updatedAt: z.ZodString;
9386
+ updatedBy: z.ZodOptional<z.ZodString>;
9387
+ referenceLocator: z.ZodString;
9388
+ category: z.ZodOptional<z.ZodString>;
9389
+ contents: z.ZodString;
9404
9390
  }, "strip", z.ZodTypeAny, {
9405
9391
  locator: string;
9406
- userName: string;
9407
- firstName?: string | undefined;
9408
- lastName?: string | undefined;
9392
+ createdBy: string;
9393
+ contents: string;
9394
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9395
+ referenceLocator: string;
9396
+ createdAt: string;
9397
+ updatedAt: string;
9398
+ diaryState: "discarded" | "active" | "locked";
9399
+ category?: string | undefined;
9400
+ updatedBy?: string | undefined;
9409
9401
  }, {
9410
9402
  locator: string;
9411
- userName: string;
9412
- firstName?: string | undefined;
9413
- lastName?: string | undefined;
9414
- }>>;
9415
- referenceLocator: z.ZodString;
9416
- category: z.ZodOptional<z.ZodString>;
9417
- contents: z.ZodString;
9403
+ createdBy: string;
9404
+ contents: string;
9405
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9406
+ referenceLocator: string;
9407
+ createdAt: string;
9408
+ updatedAt: string;
9409
+ diaryState: "discarded" | "active" | "locked";
9410
+ category?: string | undefined;
9411
+ updatedBy?: string | undefined;
9412
+ }>, "many">;
9418
9413
  }, "strip", z.ZodTypeAny, {
9419
- locator: string;
9420
- createdBy: {
9421
- locator: string;
9422
- userName: string;
9423
- firstName?: string | undefined;
9424
- lastName?: string | undefined;
9425
- };
9426
- contents: string;
9427
- referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9428
- referenceLocator: string;
9429
- createdAt: string;
9430
- updatedAt: string;
9431
- diaryState: "discarded" | "active" | "locked";
9432
- category?: string | undefined;
9433
- updatedBy?: {
9414
+ items: {
9434
9415
  locator: string;
9435
- userName: string;
9436
- firstName?: string | undefined;
9437
- lastName?: string | undefined;
9438
- } | undefined;
9416
+ createdBy: string;
9417
+ contents: string;
9418
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9419
+ referenceLocator: string;
9420
+ createdAt: string;
9421
+ updatedAt: string;
9422
+ diaryState: "discarded" | "active" | "locked";
9423
+ category?: string | undefined;
9424
+ updatedBy?: string | undefined;
9425
+ }[];
9426
+ listComplete: boolean;
9439
9427
  }, {
9440
- locator: string;
9441
- createdBy: {
9442
- locator: string;
9443
- userName: string;
9444
- firstName?: string | undefined;
9445
- lastName?: string | undefined;
9446
- };
9447
- contents: string;
9448
- referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9449
- referenceLocator: string;
9450
- createdAt: string;
9451
- updatedAt: string;
9452
- diaryState: "discarded" | "active" | "locked";
9453
- category?: string | undefined;
9454
- updatedBy?: {
9428
+ items: {
9455
9429
  locator: string;
9456
- userName: string;
9457
- firstName?: string | undefined;
9458
- lastName?: string | undefined;
9459
- } | undefined;
9460
- }>, "many">;
9430
+ createdBy: string;
9431
+ contents: string;
9432
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9433
+ referenceLocator: string;
9434
+ createdAt: string;
9435
+ updatedAt: string;
9436
+ diaryState: "discarded" | "active" | "locked";
9437
+ category?: string | undefined;
9438
+ updatedBy?: string | undefined;
9439
+ }[];
9440
+ listComplete: boolean;
9441
+ }>;
9461
9442
 
9462
9443
  export declare const DiaryEntrySchema: z.ZodObject<{
9463
9444
  locator: z.ZodString;
9464
9445
  referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9465
9446
  diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9466
9447
  createdAt: z.ZodString;
9467
- createdBy: z.ZodObject<{
9468
- locator: z.ZodString;
9469
- userName: z.ZodString;
9470
- firstName: z.ZodOptional<z.ZodString>;
9471
- lastName: z.ZodOptional<z.ZodString>;
9472
- }, "strip", z.ZodTypeAny, {
9473
- locator: string;
9474
- userName: string;
9475
- firstName?: string | undefined;
9476
- lastName?: string | undefined;
9477
- }, {
9478
- locator: string;
9479
- userName: string;
9480
- firstName?: string | undefined;
9481
- lastName?: string | undefined;
9482
- }>;
9448
+ createdBy: z.ZodString;
9483
9449
  updatedAt: z.ZodString;
9484
- updatedBy: z.ZodOptional<z.ZodObject<{
9485
- locator: z.ZodString;
9486
- userName: z.ZodString;
9487
- firstName: z.ZodOptional<z.ZodString>;
9488
- lastName: z.ZodOptional<z.ZodString>;
9489
- }, "strip", z.ZodTypeAny, {
9490
- locator: string;
9491
- userName: string;
9492
- firstName?: string | undefined;
9493
- lastName?: string | undefined;
9494
- }, {
9495
- locator: string;
9496
- userName: string;
9497
- firstName?: string | undefined;
9498
- lastName?: string | undefined;
9499
- }>>;
9450
+ updatedBy: z.ZodOptional<z.ZodString>;
9500
9451
  referenceLocator: z.ZodString;
9501
9452
  category: z.ZodOptional<z.ZodString>;
9502
9453
  contents: z.ZodString;
9503
9454
  }, "strip", z.ZodTypeAny, {
9504
9455
  locator: string;
9505
- createdBy: {
9506
- locator: string;
9507
- userName: string;
9508
- firstName?: string | undefined;
9509
- lastName?: string | undefined;
9510
- };
9456
+ createdBy: string;
9511
9457
  contents: string;
9512
9458
  referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9513
9459
  referenceLocator: string;
@@ -9515,20 +9461,10 @@ export declare const DiaryEntrySchema: z.ZodObject<{
9515
9461
  updatedAt: string;
9516
9462
  diaryState: "discarded" | "active" | "locked";
9517
9463
  category?: string | undefined;
9518
- updatedBy?: {
9519
- locator: string;
9520
- userName: string;
9521
- firstName?: string | undefined;
9522
- lastName?: string | undefined;
9523
- } | undefined;
9464
+ updatedBy?: string | undefined;
9524
9465
  }, {
9525
9466
  locator: string;
9526
- createdBy: {
9527
- locator: string;
9528
- userName: string;
9529
- firstName?: string | undefined;
9530
- lastName?: string | undefined;
9531
- };
9467
+ createdBy: string;
9532
9468
  contents: string;
9533
9469
  referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9534
9470
  referenceLocator: string;
@@ -9536,12 +9472,7 @@ export declare const DiaryEntrySchema: z.ZodObject<{
9536
9472
  updatedAt: string;
9537
9473
  diaryState: "discarded" | "active" | "locked";
9538
9474
  category?: string | undefined;
9539
- updatedBy?: {
9540
- locator: string;
9541
- userName: string;
9542
- firstName?: string | undefined;
9543
- lastName?: string | undefined;
9544
- } | undefined;
9475
+ updatedBy?: string | undefined;
9545
9476
  }>;
9546
9477
 
9547
9478
  export declare type DiaryEntryUpdateRequest = z.infer<typeof DiaryEntryUpdateRequestSchema>;