@opencrvs/toolkit 2.1.0-rc.5135dc7 → 2.1.0-rc.517ffcd
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/build.sh +3 -0
- package/create-countryconfig/index.js +114 -66
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- package/dist/application-config/index.js +242 -207
- package/dist/cli.js +556 -81
- package/dist/commons/api/router.d.ts +407 -50
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +6 -2
- package/dist/commons/events/ActionDocument.d.ts +4 -4
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/EventDocument.d.ts +470 -2
- package/dist/commons/events/EventMetadata.d.ts +1 -11
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +18 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +15 -15
- package/dist/commons/events/locations.d.ts +59 -10
- package/dist/commons/events/test.utils.d.ts +8 -4
- package/dist/commons/events/utils.d.ts +2 -2
- package/dist/commons/notification/UserNotifications.d.ts +28 -13
- package/dist/commons/notification/dispatch.d.ts +15 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +77 -55
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.js +1 -1
- package/dist/events/index.js +839 -775
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +530 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +469 -0
- package/dist/notification/index.js +911 -1359
- package/dist/scopes/index.d.ts +71 -1
- package/dist/scopes/index.js +77 -55
- package/dist/telemetry/index.d.ts +48 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +42 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +1 -1
- package/dist/templates/charts-values/opentelemetry/values.yaml +22 -0
- package/dist/templates/charts-values/traefik/values.yaml +23 -9
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/opencrvs-toolkit-2.1.0-rc.517ffcd.tgz +0 -0
- package/package.json +2 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.5135dc7.tgz +0 -0
|
@@ -142,9 +142,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
142
142
|
}>;
|
|
143
143
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
144
144
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
145
|
-
content: z.ZodObject<{
|
|
145
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
146
146
|
reason: z.ZodString;
|
|
147
|
-
}, z.core.$strip
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
148
|
}, z.core.$strip>, z.ZodObject<{
|
|
149
149
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
150
150
|
transactionId: z.ZodString;
|
|
@@ -467,4 +467,472 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
467
467
|
trackingId: z.ZodString;
|
|
468
468
|
}, z.core.$strip>;
|
|
469
469
|
export type EventDocument = z.infer<typeof EventDocument>;
|
|
470
|
+
export declare const EventDocumentOnlyLastAction: z.core.$ZodBranded<z.ZodObject<{
|
|
471
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
472
|
+
type: z.ZodString;
|
|
473
|
+
createdAt: z.ZodString;
|
|
474
|
+
updatedAt: z.ZodString;
|
|
475
|
+
trackingId: z.ZodString;
|
|
476
|
+
actions: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
477
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
478
|
+
transactionId: z.ZodString;
|
|
479
|
+
createdByUserType: z.ZodEnum<{
|
|
480
|
+
system: "system";
|
|
481
|
+
user: "user";
|
|
482
|
+
}>;
|
|
483
|
+
createdAt: z.ZodString;
|
|
484
|
+
createdBy: z.ZodString;
|
|
485
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
486
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
487
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
488
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
489
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
490
|
+
status: z.ZodEnum<{
|
|
491
|
+
Accepted: "Accepted";
|
|
492
|
+
Rejected: "Rejected";
|
|
493
|
+
Requested: "Requested";
|
|
494
|
+
}>;
|
|
495
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
496
|
+
type: z.ZodLiteral<"CREATE">;
|
|
497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
498
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
499
|
+
transactionId: z.ZodString;
|
|
500
|
+
createdByUserType: z.ZodEnum<{
|
|
501
|
+
system: "system";
|
|
502
|
+
user: "user";
|
|
503
|
+
}>;
|
|
504
|
+
createdAt: z.ZodString;
|
|
505
|
+
createdBy: z.ZodString;
|
|
506
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
507
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
508
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
509
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
510
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
511
|
+
status: z.ZodEnum<{
|
|
512
|
+
Accepted: "Accepted";
|
|
513
|
+
Rejected: "Rejected";
|
|
514
|
+
Requested: "Requested";
|
|
515
|
+
}>;
|
|
516
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
517
|
+
type: z.ZodLiteral<"REJECT">;
|
|
518
|
+
content: z.ZodObject<{
|
|
519
|
+
reason: z.ZodString;
|
|
520
|
+
}, z.core.$strip>;
|
|
521
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
522
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
523
|
+
transactionId: z.ZodString;
|
|
524
|
+
createdByUserType: z.ZodEnum<{
|
|
525
|
+
system: "system";
|
|
526
|
+
user: "user";
|
|
527
|
+
}>;
|
|
528
|
+
createdAt: z.ZodString;
|
|
529
|
+
createdBy: z.ZodString;
|
|
530
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
531
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
532
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
533
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
534
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
535
|
+
status: z.ZodEnum<{
|
|
536
|
+
Accepted: "Accepted";
|
|
537
|
+
Rejected: "Rejected";
|
|
538
|
+
Requested: "Requested";
|
|
539
|
+
}>;
|
|
540
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
541
|
+
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
542
|
+
content: z.ZodObject<{
|
|
543
|
+
duplicates: z.ZodArray<z.ZodObject<{
|
|
544
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
545
|
+
trackingId: z.ZodString;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
}, z.core.$strip>;
|
|
548
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
549
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
550
|
+
transactionId: z.ZodString;
|
|
551
|
+
createdByUserType: z.ZodEnum<{
|
|
552
|
+
system: "system";
|
|
553
|
+
user: "user";
|
|
554
|
+
}>;
|
|
555
|
+
createdAt: z.ZodString;
|
|
556
|
+
createdBy: z.ZodString;
|
|
557
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
558
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
559
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
560
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
561
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
562
|
+
status: z.ZodEnum<{
|
|
563
|
+
Accepted: "Accepted";
|
|
564
|
+
Rejected: "Rejected";
|
|
565
|
+
Requested: "Requested";
|
|
566
|
+
}>;
|
|
567
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
568
|
+
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
571
|
+
transactionId: z.ZodString;
|
|
572
|
+
createdByUserType: z.ZodEnum<{
|
|
573
|
+
system: "system";
|
|
574
|
+
user: "user";
|
|
575
|
+
}>;
|
|
576
|
+
createdAt: z.ZodString;
|
|
577
|
+
createdBy: z.ZodString;
|
|
578
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
579
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
580
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
581
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
582
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
583
|
+
status: z.ZodEnum<{
|
|
584
|
+
Accepted: "Accepted";
|
|
585
|
+
Rejected: "Rejected";
|
|
586
|
+
Requested: "Requested";
|
|
587
|
+
}>;
|
|
588
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
589
|
+
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
590
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
591
|
+
duplicateOf: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
592
|
+
}, z.core.$strip>>;
|
|
593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
594
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
595
|
+
transactionId: z.ZodString;
|
|
596
|
+
createdByUserType: z.ZodEnum<{
|
|
597
|
+
system: "system";
|
|
598
|
+
user: "user";
|
|
599
|
+
}>;
|
|
600
|
+
createdAt: z.ZodString;
|
|
601
|
+
createdBy: z.ZodString;
|
|
602
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
603
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
604
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
605
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
606
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
607
|
+
status: z.ZodEnum<{
|
|
608
|
+
Accepted: "Accepted";
|
|
609
|
+
Rejected: "Rejected";
|
|
610
|
+
Requested: "Requested";
|
|
611
|
+
}>;
|
|
612
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
613
|
+
type: z.ZodLiteral<"ARCHIVE">;
|
|
614
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
615
|
+
reason: z.ZodString;
|
|
616
|
+
}, z.core.$strip>>;
|
|
617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
619
|
+
transactionId: z.ZodString;
|
|
620
|
+
createdByUserType: z.ZodEnum<{
|
|
621
|
+
system: "system";
|
|
622
|
+
user: "user";
|
|
623
|
+
}>;
|
|
624
|
+
createdAt: z.ZodString;
|
|
625
|
+
createdBy: z.ZodString;
|
|
626
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
627
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
628
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
629
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
630
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
631
|
+
status: z.ZodEnum<{
|
|
632
|
+
Accepted: "Accepted";
|
|
633
|
+
Rejected: "Rejected";
|
|
634
|
+
Requested: "Requested";
|
|
635
|
+
}>;
|
|
636
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
637
|
+
type: z.ZodLiteral<"UNARCHIVE">;
|
|
638
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
639
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
640
|
+
transactionId: z.ZodString;
|
|
641
|
+
createdByUserType: z.ZodEnum<{
|
|
642
|
+
system: "system";
|
|
643
|
+
user: "user";
|
|
644
|
+
}>;
|
|
645
|
+
createdAt: z.ZodString;
|
|
646
|
+
createdBy: z.ZodString;
|
|
647
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
648
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
649
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
650
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
651
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
652
|
+
status: z.ZodEnum<{
|
|
653
|
+
Accepted: "Accepted";
|
|
654
|
+
Rejected: "Rejected";
|
|
655
|
+
Requested: "Requested";
|
|
656
|
+
}>;
|
|
657
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
658
|
+
type: z.ZodLiteral<"NOTIFY">;
|
|
659
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
660
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
661
|
+
transactionId: z.ZodString;
|
|
662
|
+
createdByUserType: z.ZodEnum<{
|
|
663
|
+
system: "system";
|
|
664
|
+
user: "user";
|
|
665
|
+
}>;
|
|
666
|
+
createdAt: z.ZodString;
|
|
667
|
+
createdBy: z.ZodString;
|
|
668
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
669
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
670
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
671
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
672
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
673
|
+
status: z.ZodEnum<{
|
|
674
|
+
Accepted: "Accepted";
|
|
675
|
+
Rejected: "Rejected";
|
|
676
|
+
Requested: "Requested";
|
|
677
|
+
}>;
|
|
678
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
679
|
+
type: z.ZodLiteral<"REGISTER">;
|
|
680
|
+
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
681
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
682
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
683
|
+
transactionId: z.ZodString;
|
|
684
|
+
createdByUserType: z.ZodEnum<{
|
|
685
|
+
system: "system";
|
|
686
|
+
user: "user";
|
|
687
|
+
}>;
|
|
688
|
+
createdAt: z.ZodString;
|
|
689
|
+
createdBy: z.ZodString;
|
|
690
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
691
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
692
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
693
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
694
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
695
|
+
status: z.ZodEnum<{
|
|
696
|
+
Accepted: "Accepted";
|
|
697
|
+
Rejected: "Rejected";
|
|
698
|
+
Requested: "Requested";
|
|
699
|
+
}>;
|
|
700
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
701
|
+
type: z.ZodLiteral<"DECLARE">;
|
|
702
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
703
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
704
|
+
transactionId: z.ZodString;
|
|
705
|
+
createdByUserType: z.ZodEnum<{
|
|
706
|
+
system: "system";
|
|
707
|
+
user: "user";
|
|
708
|
+
}>;
|
|
709
|
+
createdAt: z.ZodString;
|
|
710
|
+
createdBy: z.ZodString;
|
|
711
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
712
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
713
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
714
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
715
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
716
|
+
status: z.ZodEnum<{
|
|
717
|
+
Accepted: "Accepted";
|
|
718
|
+
Rejected: "Rejected";
|
|
719
|
+
Requested: "Requested";
|
|
720
|
+
}>;
|
|
721
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
722
|
+
type: z.ZodLiteral<"ASSIGN">;
|
|
723
|
+
assignedTo: z.ZodString;
|
|
724
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
725
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
726
|
+
transactionId: z.ZodString;
|
|
727
|
+
createdByUserType: z.ZodEnum<{
|
|
728
|
+
system: "system";
|
|
729
|
+
user: "user";
|
|
730
|
+
}>;
|
|
731
|
+
createdAt: z.ZodString;
|
|
732
|
+
createdBy: z.ZodString;
|
|
733
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
734
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
735
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
736
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
737
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
738
|
+
status: z.ZodEnum<{
|
|
739
|
+
Accepted: "Accepted";
|
|
740
|
+
Rejected: "Rejected";
|
|
741
|
+
Requested: "Requested";
|
|
742
|
+
}>;
|
|
743
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
744
|
+
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
|
745
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
746
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
747
|
+
transactionId: z.ZodString;
|
|
748
|
+
createdByUserType: z.ZodEnum<{
|
|
749
|
+
system: "system";
|
|
750
|
+
user: "user";
|
|
751
|
+
}>;
|
|
752
|
+
createdAt: z.ZodString;
|
|
753
|
+
createdBy: z.ZodString;
|
|
754
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
755
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
756
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
757
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
758
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
759
|
+
status: z.ZodEnum<{
|
|
760
|
+
Accepted: "Accepted";
|
|
761
|
+
Rejected: "Rejected";
|
|
762
|
+
Requested: "Requested";
|
|
763
|
+
}>;
|
|
764
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
765
|
+
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
766
|
+
requestId: z.ZodString;
|
|
767
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
769
|
+
}, z.core.$strip>>;
|
|
770
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
771
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
772
|
+
transactionId: z.ZodString;
|
|
773
|
+
createdByUserType: z.ZodEnum<{
|
|
774
|
+
system: "system";
|
|
775
|
+
user: "user";
|
|
776
|
+
}>;
|
|
777
|
+
createdAt: z.ZodString;
|
|
778
|
+
createdBy: z.ZodString;
|
|
779
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
780
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
781
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
782
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
783
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
784
|
+
status: z.ZodEnum<{
|
|
785
|
+
Accepted: "Accepted";
|
|
786
|
+
Rejected: "Rejected";
|
|
787
|
+
Requested: "Requested";
|
|
788
|
+
}>;
|
|
789
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
790
|
+
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
791
|
+
requestId: z.ZodString;
|
|
792
|
+
content: z.ZodObject<{
|
|
793
|
+
reason: z.ZodString;
|
|
794
|
+
}, z.core.$strip>;
|
|
795
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
796
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
797
|
+
transactionId: z.ZodString;
|
|
798
|
+
createdByUserType: z.ZodEnum<{
|
|
799
|
+
system: "system";
|
|
800
|
+
user: "user";
|
|
801
|
+
}>;
|
|
802
|
+
createdAt: z.ZodString;
|
|
803
|
+
createdBy: z.ZodString;
|
|
804
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
805
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
806
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
807
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
808
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
809
|
+
status: z.ZodEnum<{
|
|
810
|
+
Accepted: "Accepted";
|
|
811
|
+
Rejected: "Rejected";
|
|
812
|
+
Requested: "Requested";
|
|
813
|
+
}>;
|
|
814
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
815
|
+
type: z.ZodLiteral<"UNASSIGN">;
|
|
816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
817
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
818
|
+
transactionId: z.ZodString;
|
|
819
|
+
createdByUserType: z.ZodEnum<{
|
|
820
|
+
system: "system";
|
|
821
|
+
user: "user";
|
|
822
|
+
}>;
|
|
823
|
+
createdAt: z.ZodString;
|
|
824
|
+
createdBy: z.ZodString;
|
|
825
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
826
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
827
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
828
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
829
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
830
|
+
status: z.ZodEnum<{
|
|
831
|
+
Accepted: "Accepted";
|
|
832
|
+
Rejected: "Rejected";
|
|
833
|
+
Requested: "Requested";
|
|
834
|
+
}>;
|
|
835
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
836
|
+
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
|
837
|
+
content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
838
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
839
|
+
}, z.core.$strip>>>;
|
|
840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
841
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
842
|
+
transactionId: z.ZodString;
|
|
843
|
+
createdByUserType: z.ZodEnum<{
|
|
844
|
+
system: "system";
|
|
845
|
+
user: "user";
|
|
846
|
+
}>;
|
|
847
|
+
createdAt: z.ZodString;
|
|
848
|
+
createdBy: z.ZodString;
|
|
849
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
850
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
851
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
852
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
853
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
854
|
+
status: z.ZodEnum<{
|
|
855
|
+
Accepted: "Accepted";
|
|
856
|
+
Rejected: "Rejected";
|
|
857
|
+
Requested: "Requested";
|
|
858
|
+
}>;
|
|
859
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
860
|
+
type: z.ZodLiteral<"READ">;
|
|
861
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
862
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
863
|
+
transactionId: z.ZodString;
|
|
864
|
+
createdByUserType: z.ZodEnum<{
|
|
865
|
+
system: "system";
|
|
866
|
+
user: "user";
|
|
867
|
+
}>;
|
|
868
|
+
createdAt: z.ZodString;
|
|
869
|
+
createdBy: z.ZodString;
|
|
870
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
871
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
872
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
873
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
874
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
875
|
+
status: z.ZodEnum<{
|
|
876
|
+
Accepted: "Accepted";
|
|
877
|
+
Rejected: "Rejected";
|
|
878
|
+
Requested: "Requested";
|
|
879
|
+
}>;
|
|
880
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
881
|
+
type: z.ZodLiteral<"EDIT">;
|
|
882
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
883
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
884
|
+
}, z.core.$strip>>;
|
|
885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
886
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
887
|
+
transactionId: z.ZodString;
|
|
888
|
+
createdByUserType: z.ZodEnum<{
|
|
889
|
+
system: "system";
|
|
890
|
+
user: "user";
|
|
891
|
+
}>;
|
|
892
|
+
createdAt: z.ZodString;
|
|
893
|
+
createdBy: z.ZodString;
|
|
894
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
895
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
896
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
897
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
898
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
899
|
+
status: z.ZodEnum<{
|
|
900
|
+
Accepted: "Accepted";
|
|
901
|
+
Rejected: "Rejected";
|
|
902
|
+
Requested: "Requested";
|
|
903
|
+
}>;
|
|
904
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
905
|
+
type: z.ZodLiteral<"CUSTOM">;
|
|
906
|
+
customActionType: z.ZodString;
|
|
907
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
908
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
909
|
+
transactionId: z.ZodString;
|
|
910
|
+
createdByUserType: z.ZodEnum<{
|
|
911
|
+
system: "system";
|
|
912
|
+
user: "user";
|
|
913
|
+
}>;
|
|
914
|
+
createdAt: z.ZodString;
|
|
915
|
+
createdBy: z.ZodString;
|
|
916
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
917
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
918
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
919
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
920
|
+
type: z.ZodEnum<{
|
|
921
|
+
APPROVE_CORRECTION: "APPROVE_CORRECTION";
|
|
922
|
+
ARCHIVE: "ARCHIVE";
|
|
923
|
+
CUSTOM: "CUSTOM";
|
|
924
|
+
DECLARE: "DECLARE";
|
|
925
|
+
EDIT: "EDIT";
|
|
926
|
+
NOTIFY: "NOTIFY";
|
|
927
|
+
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
928
|
+
REGISTER: "REGISTER";
|
|
929
|
+
REJECT: "REJECT";
|
|
930
|
+
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
931
|
+
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
932
|
+
UNARCHIVE: "UNARCHIVE";
|
|
933
|
+
}>;
|
|
934
|
+
status: z.ZodLiteral<"Rejected">;
|
|
935
|
+
}, z.core.$strip>]>>;
|
|
936
|
+
}, z.core.$strip>, "EventDocumentOnlyLastAction", "out">;
|
|
937
|
+
export type EventDocumentOnlyLastAction = z.infer<typeof EventDocumentOnlyLastAction>;
|
|
470
938
|
//# sourceMappingURL=EventDocument.d.ts.map
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
|
3
|
-
|
|
4
|
-
* Event statuses recognized by the system
|
|
5
|
-
*/
|
|
6
|
-
export declare const EventStatus: z.ZodEnum<{
|
|
7
|
-
ARCHIVED: "ARCHIVED";
|
|
8
|
-
CREATED: "CREATED";
|
|
9
|
-
DECLARED: "DECLARED";
|
|
10
|
-
NOTIFIED: "NOTIFIED";
|
|
11
|
-
REGISTERED: "REGISTERED";
|
|
12
|
-
}>;
|
|
13
|
-
export type EventStatus = z.infer<typeof EventStatus>;
|
|
3
|
+
export { EventStatus } from './EventStatus';
|
|
14
4
|
export declare const ZodDate: z.ZodISODate;
|
|
15
5
|
export declare const ZodDateTime: z.ZodString;
|
|
16
6
|
export declare const ActionCreationMetadata: z.ZodObject<{
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Event statuses recognized by the system
|
|
4
|
+
*
|
|
5
|
+
* Deliberately kept in its own dependency-free module: `EventMetadata.ts`
|
|
6
|
+
* pulls in `ActionDocument.ts`, which imports back from `../authentication`.
|
|
7
|
+
* `../scopes` needs `EventStatus` and is itself imported by
|
|
8
|
+
* `../authentication`, so importing it from `EventMetadata.ts` there would
|
|
9
|
+
* complete that cycle and break module initialization order.
|
|
10
|
+
*/
|
|
11
|
+
export declare const EventStatus: z.ZodEnum<{
|
|
12
|
+
ARCHIVED: "ARCHIVED";
|
|
13
|
+
CREATED: "CREATED";
|
|
14
|
+
DECLARED: "DECLARED";
|
|
15
|
+
NOTIFIED: "NOTIFIED";
|
|
16
|
+
REGISTERED: "REGISTERED";
|
|
17
|
+
}>;
|
|
18
|
+
export type EventStatus = z.infer<typeof EventStatus>;
|
|
19
|
+
//# sourceMappingURL=EventStatus.d.ts.map
|
|
@@ -1882,6 +1882,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1882
1882
|
bypassratelimit: "bypassratelimit";
|
|
1883
1883
|
"config.update-all": "config.update-all";
|
|
1884
1884
|
"dashboard.view": "dashboard.view";
|
|
1885
|
+
"integration.audit.read": "integration.audit.read";
|
|
1885
1886
|
"integration.create": "integration.create";
|
|
1886
1887
|
"location.edit": "location.edit";
|
|
1887
1888
|
"organisation.read-locations": "organisation.read-locations";
|
|
@@ -1930,11 +1931,13 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1930
1931
|
registeredBy: "registeredBy";
|
|
1931
1932
|
registeredIn: "registeredIn";
|
|
1932
1933
|
role: "role";
|
|
1934
|
+
status: "status";
|
|
1933
1935
|
}>;
|
|
1934
1936
|
}, z.core.$strip>]>;
|
|
1935
1937
|
}, z.core.$strip>>;
|
|
1936
1938
|
listHistoricalNames: z.ZodOptional<z.ZodBoolean>;
|
|
1937
1939
|
activeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1940
|
+
anchorToDateOfEvent: z.ZodOptional<z.ZodBoolean>;
|
|
1938
1941
|
}, z.core.$strip>;
|
|
1939
1942
|
}, z.core.$strip>;
|
|
1940
1943
|
export type AdministrativeAreaField = z.infer<typeof AdministrativeAreaField>;
|
|
@@ -2015,6 +2018,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2015
2018
|
bypassratelimit: "bypassratelimit";
|
|
2016
2019
|
"config.update-all": "config.update-all";
|
|
2017
2020
|
"dashboard.view": "dashboard.view";
|
|
2021
|
+
"integration.audit.read": "integration.audit.read";
|
|
2018
2022
|
"integration.create": "integration.create";
|
|
2019
2023
|
"location.edit": "location.edit";
|
|
2020
2024
|
"organisation.read-locations": "organisation.read-locations";
|
|
@@ -2063,10 +2067,13 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2063
2067
|
registeredBy: "registeredBy";
|
|
2064
2068
|
registeredIn: "registeredIn";
|
|
2065
2069
|
role: "role";
|
|
2070
|
+
status: "status";
|
|
2066
2071
|
}>;
|
|
2067
2072
|
}, z.core.$strip>]>;
|
|
2068
2073
|
}, z.core.$strip>>;
|
|
2069
2074
|
listHistoricalNames: z.ZodOptional<z.ZodBoolean>;
|
|
2075
|
+
activeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2076
|
+
anchorToDateOfEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2070
2077
|
}, z.core.$strip>>;
|
|
2071
2078
|
}, z.core.$strip>;
|
|
2072
2079
|
export type LocationInput = z.infer<typeof LocationInput>;
|
|
@@ -2218,6 +2225,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2218
2225
|
bypassratelimit: "bypassratelimit";
|
|
2219
2226
|
"config.update-all": "config.update-all";
|
|
2220
2227
|
"dashboard.view": "dashboard.view";
|
|
2228
|
+
"integration.audit.read": "integration.audit.read";
|
|
2221
2229
|
"integration.create": "integration.create";
|
|
2222
2230
|
"location.edit": "location.edit";
|
|
2223
2231
|
"organisation.read-locations": "organisation.read-locations";
|
|
@@ -2266,10 +2274,13 @@ declare const Facility: z.ZodObject<{
|
|
|
2266
2274
|
registeredBy: "registeredBy";
|
|
2267
2275
|
registeredIn: "registeredIn";
|
|
2268
2276
|
role: "role";
|
|
2277
|
+
status: "status";
|
|
2269
2278
|
}>;
|
|
2270
2279
|
}, z.core.$strip>]>;
|
|
2271
2280
|
}, z.core.$strip>>;
|
|
2272
2281
|
listHistoricalNames: z.ZodOptional<z.ZodBoolean>;
|
|
2282
|
+
activeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2283
|
+
anchorToDateOfEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2273
2284
|
}, z.core.$strip>>;
|
|
2274
2285
|
}, z.core.$strip>;
|
|
2275
2286
|
export type Facility = z.infer<typeof Facility>;
|
|
@@ -2336,6 +2347,7 @@ declare const Office: z.ZodObject<{
|
|
|
2336
2347
|
bypassratelimit: "bypassratelimit";
|
|
2337
2348
|
"config.update-all": "config.update-all";
|
|
2338
2349
|
"dashboard.view": "dashboard.view";
|
|
2350
|
+
"integration.audit.read": "integration.audit.read";
|
|
2339
2351
|
"integration.create": "integration.create";
|
|
2340
2352
|
"location.edit": "location.edit";
|
|
2341
2353
|
"organisation.read-locations": "organisation.read-locations";
|
|
@@ -2384,10 +2396,13 @@ declare const Office: z.ZodObject<{
|
|
|
2384
2396
|
registeredBy: "registeredBy";
|
|
2385
2397
|
registeredIn: "registeredIn";
|
|
2386
2398
|
role: "role";
|
|
2399
|
+
status: "status";
|
|
2387
2400
|
}>;
|
|
2388
2401
|
}, z.core.$strip>]>;
|
|
2389
2402
|
}, z.core.$strip>>;
|
|
2390
2403
|
listHistoricalNames: z.ZodOptional<z.ZodBoolean>;
|
|
2404
|
+
activeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2405
|
+
anchorToDateOfEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2391
2406
|
}, z.core.$strip>>;
|
|
2392
2407
|
}, z.core.$strip>;
|
|
2393
2408
|
export type Office = z.infer<typeof Office>;
|
|
@@ -2540,6 +2555,7 @@ declare const Address: z.ZodObject<{
|
|
|
2540
2555
|
bypassratelimit: "bypassratelimit";
|
|
2541
2556
|
"config.update-all": "config.update-all";
|
|
2542
2557
|
"dashboard.view": "dashboard.view";
|
|
2558
|
+
"integration.audit.read": "integration.audit.read";
|
|
2543
2559
|
"integration.create": "integration.create";
|
|
2544
2560
|
"location.edit": "location.edit";
|
|
2545
2561
|
"organisation.read-locations": "organisation.read-locations";
|
|
@@ -2588,11 +2604,13 @@ declare const Address: z.ZodObject<{
|
|
|
2588
2604
|
registeredBy: "registeredBy";
|
|
2589
2605
|
registeredIn: "registeredIn";
|
|
2590
2606
|
role: "role";
|
|
2607
|
+
status: "status";
|
|
2591
2608
|
}>;
|
|
2592
2609
|
}, z.core.$strip>]>;
|
|
2593
2610
|
}, z.core.$strip>>;
|
|
2594
2611
|
listHistoricalNames: z.ZodOptional<z.ZodBoolean>;
|
|
2595
2612
|
activeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2613
|
+
anchorToDateOfEvent: z.ZodOptional<z.ZodBoolean>;
|
|
2596
2614
|
}, z.core.$strip>>;
|
|
2597
2615
|
defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2598
2616
|
country: z.ZodString;
|