@opencrvs/toolkit 2.0.0-rc.157566a → 2.0.0-rc.1584152

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.
Files changed (102) hide show
  1. package/README.md +15 -0
  2. package/build.sh +5 -4
  3. package/dist/application-config/index.js +29 -6
  4. package/dist/cli.js +3186 -4921
  5. package/dist/commons/api/router.d.ts +623 -20
  6. package/dist/commons/conditionals/conditionals.d.ts +6 -6
  7. package/dist/commons/events/ActionConfig.d.ts +202 -0
  8. package/dist/commons/events/ActionDocument.d.ts +44 -0
  9. package/dist/commons/events/ActionInput.d.ts +26 -0
  10. package/dist/commons/events/ActionType.d.ts +6 -1
  11. package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -0
  12. package/dist/commons/events/AuditLog.d.ts +2 -0
  13. package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
  14. package/dist/commons/events/Draft.d.ts +2 -0
  15. package/dist/commons/events/EventConfig.d.ts +2 -0
  16. package/dist/commons/events/EventDocument.d.ts +22 -0
  17. package/dist/commons/events/EventIndex.d.ts +25 -0
  18. package/dist/commons/events/EventMetadata.d.ts +26 -0
  19. package/dist/commons/events/FieldConfig.d.ts +15 -0
  20. package/dist/commons/events/WorkqueueConfig.d.ts +44 -2
  21. package/dist/commons/events/locations.d.ts +1 -0
  22. package/dist/commons/events/scopes.d.ts +1 -0
  23. package/dist/commons/events/state/index.d.ts +8 -0
  24. package/dist/commons/events/state/utils.d.ts +9 -0
  25. package/dist/commons/events/test.utils.d.ts +9 -1
  26. package/dist/commons/events/utils.d.ts +15 -1
  27. package/dist/conditionals/index.js +12 -5
  28. package/dist/environment/custom-types.d.ts +33 -0
  29. package/dist/environment/custom-types.d.ts.map +1 -0
  30. package/dist/environment/custom-types.js +12 -0
  31. package/dist/environment/derived-variables.d.ts +134 -0
  32. package/dist/environment/derived-variables.d.ts.map +1 -0
  33. package/dist/environment/derived-variables.js +169 -0
  34. package/dist/environment/editor-questions.d.ts +4 -0
  35. package/dist/environment/editor-questions.d.ts.map +1 -0
  36. package/dist/environment/editor-questions.js +67 -0
  37. package/dist/environment/git.d.ts +5 -0
  38. package/dist/environment/git.d.ts.map +1 -0
  39. package/dist/environment/git.js +38 -0
  40. package/dist/environment/github.d.ts +26 -0
  41. package/dist/environment/github.d.ts.map +1 -0
  42. package/dist/environment/github.js +247 -0
  43. package/dist/environment/index.d.ts +5 -0
  44. package/dist/environment/index.d.ts.map +1 -0
  45. package/dist/environment/index.js +71 -0
  46. package/dist/environment/logger.d.ts +15 -0
  47. package/dist/environment/logger.d.ts.map +1 -0
  48. package/dist/environment/logger.js +25 -0
  49. package/dist/environment/manage-users.d.ts +11 -0
  50. package/dist/environment/manage-users.d.ts.map +1 -0
  51. package/dist/environment/manage-users.js +497 -0
  52. package/dist/environment/questions-helper.d.ts +15 -0
  53. package/dist/environment/questions-helper.d.ts.map +1 -0
  54. package/dist/environment/questions-helper.js +70 -0
  55. package/dist/environment/questions.d.ts +199 -0
  56. package/dist/environment/questions.d.ts.map +1 -0
  57. package/dist/environment/questions.js +412 -0
  58. package/dist/environment/setup-environment.d.ts +2 -0
  59. package/dist/environment/setup-environment.d.ts.map +1 -0
  60. package/dist/environment/setup-environment.js +794 -0
  61. package/dist/environment/ssh-keygen.d.ts +5 -0
  62. package/dist/environment/ssh-keygen.d.ts.map +1 -0
  63. package/dist/environment/ssh-keygen.js +21 -0
  64. package/dist/environment/swarm-to-k8s.d.ts +2 -0
  65. package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
  66. package/dist/environment/swarm-to-k8s.js +173 -0
  67. package/dist/environment/templates.d.ts +27 -0
  68. package/dist/environment/templates.d.ts.map +1 -0
  69. package/dist/environment/templates.js +163 -0
  70. package/dist/environment/update-workflows.d.ts +2 -0
  71. package/dist/environment/update-workflows.d.ts.map +1 -0
  72. package/dist/environment/update-workflows.js +169 -0
  73. package/dist/environment/users.d.ts +2 -0
  74. package/dist/environment/users.d.ts.map +1 -0
  75. package/dist/environment/users.js +112 -0
  76. package/dist/environment/utils.d.ts +18 -0
  77. package/dist/environment/utils.d.ts.map +1 -0
  78. package/dist/environment/utils.js +100 -0
  79. package/dist/events/index.js +206 -24
  80. package/dist/migrations/v2.0/index.js +88 -5139
  81. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
  82. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
  83. package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
  84. package/dist/migrations/v2.1/index.d.ts +6 -0
  85. package/dist/migrations/v2.1/index.d.ts.map +1 -0
  86. package/dist/migrations/v2.1/index.js +218 -0
  87. package/dist/notification/index.js +148 -17
  88. package/dist/scopes/index.d.ts +96 -2
  89. package/dist/scopes/index.js +12 -5
  90. package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
  91. package/dist/templates/charts-values/dependencies/values.yaml +83 -0
  92. package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
  93. package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
  94. package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
  95. package/dist/templates/charts-values/traefik/values.yaml +115 -0
  96. package/dist/templates/inventory/inventory.template.yml +100 -0
  97. package/dist/templates/inventory/production.example.yml +77 -0
  98. package/dist/templates/inventory/qa.example.yml +48 -0
  99. package/opencrvs-toolkit-2.0.0-rc.1584152.tgz +0 -0
  100. package/package.json +15 -1
  101. package/tsconfig.tsbuildinfo +1 -1
  102. package/opencrvs-toolkit-2.0.0-rc.157566a.tgz +0 -0
@@ -10,6 +10,8 @@ export declare const EventFieldReference: z.ZodObject<{
10
10
  $$event: z.ZodEnum<{
11
11
  updatedAt: "updatedAt";
12
12
  createdAt: "createdAt";
13
+ "legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
14
+ "legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
13
15
  "legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
14
16
  "legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
15
17
  "legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
@@ -145,6 +145,27 @@ export declare const EventDocument: z.ZodObject<{
145
145
  content: z.ZodObject<{
146
146
  reason: z.ZodString;
147
147
  }, z.core.$strip>;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
150
+ transactionId: z.ZodString;
151
+ createdByUserType: z.ZodEnum<{
152
+ user: "user";
153
+ system: "system";
154
+ }>;
155
+ createdAt: z.ZodString;
156
+ createdBy: z.ZodString;
157
+ createdByRole: z.ZodOptional<z.ZodString>;
158
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
159
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
160
+ declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
161
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
162
+ status: z.ZodEnum<{
163
+ Requested: "Requested";
164
+ Accepted: "Accepted";
165
+ Rejected: "Rejected";
166
+ }>;
167
+ originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
168
+ type: z.ZodLiteral<"UNARCHIVE">;
148
169
  }, z.core.$strip>, z.ZodObject<{
149
170
  id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
150
171
  transactionId: z.ZodString;
@@ -435,6 +456,7 @@ export declare const EventDocument: z.ZodObject<{
435
456
  EDIT: "EDIT";
436
457
  REJECT: "REJECT";
437
458
  ARCHIVE: "ARCHIVE";
459
+ UNARCHIVE: "UNARCHIVE";
438
460
  PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
439
461
  REQUEST_CORRECTION: "REQUEST_CORRECTION";
440
462
  REJECT_CORRECTION: "REJECT_CORRECTION";
@@ -10,6 +10,17 @@ export declare const EventIndex: z.ZodObject<{
10
10
  ARCHIVED: "ARCHIVED";
11
11
  }>;
12
12
  legalStatuses: z.ZodObject<{
13
+ NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ createdAt: z.ZodISODateTime;
15
+ createdBy: z.ZodString;
16
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
17
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
18
+ user: "user";
19
+ system: "system";
20
+ }>>>;
21
+ acceptedAt: z.ZodISODateTime;
22
+ createdByRole: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>>>;
13
24
  DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
25
  createdAt: z.ZodISODateTime;
15
26
  createdBy: z.ZodString;
@@ -127,6 +138,13 @@ export declare const ContainsFlags: z.ZodObject<{
127
138
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
128
139
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
129
140
  }>]>, z.ZodString]>>>;
141
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
142
+ readonly INCOMPLETE: "incomplete";
143
+ readonly REJECTED: "rejected";
144
+ readonly CORRECTION_REQUESTED: "correction-requested";
145
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
146
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
147
+ }>]>, z.ZodString]>>>;
130
148
  }, z.core.$strip>;
131
149
  export declare const Within: z.ZodObject<{
132
150
  type: z.ZodLiteral<"within">;
@@ -306,6 +324,13 @@ export declare const QueryExpression: z.ZodObject<{
306
324
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
307
325
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
308
326
  }>]>, z.ZodString]>>>;
327
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
328
+ readonly INCOMPLETE: "incomplete";
329
+ readonly REJECTED: "rejected";
330
+ readonly CORRECTION_REQUESTED: "correction-requested";
331
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
332
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
333
+ }>]>, z.ZodString]>>>;
309
334
  }, z.core.$strip>>>;
310
335
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
311
336
  }, z.core.$strip>;
@@ -39,6 +39,17 @@ export declare const RegistrationCreationMetadata: z.ZodObject<{
39
39
  }, z.core.$strip>;
40
40
  export type RegistrationCreationMetadata = z.infer<typeof RegistrationCreationMetadata>;
41
41
  export declare const LegalStatuses: z.ZodObject<{
42
+ NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ createdAt: z.ZodISODateTime;
44
+ createdBy: z.ZodString;
45
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
46
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
47
+ user: "user";
48
+ system: "system";
49
+ }>>>;
50
+ acceptedAt: z.ZodISODateTime;
51
+ createdByRole: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strip>>>;
42
53
  DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
54
  createdAt: z.ZodISODateTime;
44
55
  createdBy: z.ZodString;
@@ -79,6 +90,17 @@ export declare const EventMetadata: z.ZodObject<{
79
90
  ARCHIVED: "ARCHIVED";
80
91
  }>;
81
92
  legalStatuses: z.ZodObject<{
93
+ NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
94
+ createdAt: z.ZodISODateTime;
95
+ createdBy: z.ZodString;
96
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
97
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
98
+ user: "user";
99
+ system: "system";
100
+ }>>>;
101
+ acceptedAt: z.ZodISODateTime;
102
+ createdByRole: z.ZodOptional<z.ZodString>;
103
+ }, z.core.$strip>>>;
82
104
  DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
105
  createdAt: z.ZodISODateTime;
84
106
  createdBy: z.ZodString;
@@ -161,6 +183,8 @@ export declare const eventMetadataLabelMap: Record<Exclude<`event.${EventMetadat
161
183
  export declare const EventMetadataDateFieldIdInput: z.ZodEnum<{
162
184
  updatedAt: "updatedAt";
163
185
  createdAt: "createdAt";
186
+ "legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
187
+ "legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
164
188
  "legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
165
189
  "legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
166
190
  "legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
@@ -170,6 +194,8 @@ export type EventMetadataDateFieldIdInput = z.infer<typeof EventMetadataDateFiel
170
194
  export declare const EventMetadataDateFieldId: z.ZodEnum<{
171
195
  "event.updatedAt": "event.updatedAt";
172
196
  "event.createdAt": "event.createdAt";
197
+ "event.legalStatuses.NOTIFIED.createdAt": "event.legalStatuses.NOTIFIED.createdAt";
198
+ "event.legalStatuses.NOTIFIED.acceptedAt": "event.legalStatuses.NOTIFIED.acceptedAt";
173
199
  "event.legalStatuses.DECLARED.createdAt": "event.legalStatuses.DECLARED.createdAt";
174
200
  "event.legalStatuses.DECLARED.acceptedAt": "event.legalStatuses.DECLARED.acceptedAt";
175
201
  "event.legalStatuses.REGISTERED.createdAt": "event.legalStatuses.REGISTERED.createdAt";
@@ -1886,6 +1886,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
1886
1886
  "record.edit": "record.edit";
1887
1887
  "record.reject": "record.reject";
1888
1888
  "record.archive": "record.archive";
1889
+ "record.unarchive": "record.unarchive";
1889
1890
  "record.review-duplicates": "record.review-duplicates";
1890
1891
  "record.register": "record.register";
1891
1892
  "record.print-certified-copies": "record.print-certified-copies";
@@ -1919,6 +1920,8 @@ declare const AdministrativeAreaField: z.ZodObject<{
1919
1920
  role: "role";
1920
1921
  event: "event";
1921
1922
  placeOfEvent: "placeOfEvent";
1923
+ notifiedIn: "notifiedIn";
1924
+ notifiedBy: "notifiedBy";
1922
1925
  declaredIn: "declaredIn";
1923
1926
  declaredBy: "declaredBy";
1924
1927
  registeredIn: "registeredIn";
@@ -2012,6 +2015,7 @@ declare const LocationInput: z.ZodObject<{
2012
2015
  "record.edit": "record.edit";
2013
2016
  "record.reject": "record.reject";
2014
2017
  "record.archive": "record.archive";
2018
+ "record.unarchive": "record.unarchive";
2015
2019
  "record.review-duplicates": "record.review-duplicates";
2016
2020
  "record.register": "record.register";
2017
2021
  "record.print-certified-copies": "record.print-certified-copies";
@@ -2045,6 +2049,8 @@ declare const LocationInput: z.ZodObject<{
2045
2049
  role: "role";
2046
2050
  event: "event";
2047
2051
  placeOfEvent: "placeOfEvent";
2052
+ notifiedIn: "notifiedIn";
2053
+ notifiedBy: "notifiedBy";
2048
2054
  declaredIn: "declaredIn";
2049
2055
  declaredBy: "declaredBy";
2050
2056
  registeredIn: "registeredIn";
@@ -2209,6 +2215,7 @@ declare const Facility: z.ZodObject<{
2209
2215
  "record.edit": "record.edit";
2210
2216
  "record.reject": "record.reject";
2211
2217
  "record.archive": "record.archive";
2218
+ "record.unarchive": "record.unarchive";
2212
2219
  "record.review-duplicates": "record.review-duplicates";
2213
2220
  "record.register": "record.register";
2214
2221
  "record.print-certified-copies": "record.print-certified-copies";
@@ -2242,6 +2249,8 @@ declare const Facility: z.ZodObject<{
2242
2249
  role: "role";
2243
2250
  event: "event";
2244
2251
  placeOfEvent: "placeOfEvent";
2252
+ notifiedIn: "notifiedIn";
2253
+ notifiedBy: "notifiedBy";
2245
2254
  declaredIn: "declaredIn";
2246
2255
  declaredBy: "declaredBy";
2247
2256
  registeredIn: "registeredIn";
@@ -2321,6 +2330,7 @@ declare const Office: z.ZodObject<{
2321
2330
  "record.edit": "record.edit";
2322
2331
  "record.reject": "record.reject";
2323
2332
  "record.archive": "record.archive";
2333
+ "record.unarchive": "record.unarchive";
2324
2334
  "record.review-duplicates": "record.review-duplicates";
2325
2335
  "record.register": "record.register";
2326
2336
  "record.print-certified-copies": "record.print-certified-copies";
@@ -2354,6 +2364,8 @@ declare const Office: z.ZodObject<{
2354
2364
  role: "role";
2355
2365
  event: "event";
2356
2366
  placeOfEvent: "placeOfEvent";
2367
+ notifiedIn: "notifiedIn";
2368
+ notifiedBy: "notifiedBy";
2357
2369
  declaredIn: "declaredIn";
2358
2370
  declaredBy: "declaredBy";
2359
2371
  registeredIn: "registeredIn";
@@ -2519,6 +2531,7 @@ declare const Address: z.ZodObject<{
2519
2531
  "record.edit": "record.edit";
2520
2532
  "record.reject": "record.reject";
2521
2533
  "record.archive": "record.archive";
2534
+ "record.unarchive": "record.unarchive";
2522
2535
  "record.review-duplicates": "record.review-duplicates";
2523
2536
  "record.register": "record.register";
2524
2537
  "record.print-certified-copies": "record.print-certified-copies";
@@ -2552,6 +2565,8 @@ declare const Address: z.ZodObject<{
2552
2565
  role: "role";
2553
2566
  event: "event";
2554
2567
  placeOfEvent: "placeOfEvent";
2568
+ notifiedIn: "notifiedIn";
2569
+ notifiedBy: "notifiedBy";
2555
2570
  declaredIn: "declaredIn";
2556
2571
  declaredBy: "declaredBy";
2557
2572
  registeredIn: "registeredIn";
@@ -322,6 +322,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
322
322
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
323
323
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
324
324
  }>]>, z.ZodString]>>>;
325
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
326
+ readonly INCOMPLETE: "incomplete";
327
+ readonly REJECTED: "rejected";
328
+ readonly CORRECTION_REQUESTED: "correction-requested";
329
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
330
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
331
+ }>]>, z.ZodString]>>>;
325
332
  }, z.core.$strip>>>;
326
333
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
327
334
  }, z.core.$strip>>;
@@ -632,6 +639,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
632
639
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
633
640
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
634
641
  }>]>, z.ZodString]>>>;
642
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
643
+ readonly INCOMPLETE: "incomplete";
644
+ readonly REJECTED: "rejected";
645
+ readonly CORRECTION_REQUESTED: "correction-requested";
646
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
647
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
648
+ }>]>, z.ZodString]>>>;
635
649
  }, z.core.$strip>>>;
636
650
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
637
651
  }, z.core.$strip>>;
@@ -645,6 +659,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
645
659
  REJECT: "REJECT";
646
660
  MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
647
661
  ARCHIVE: "ARCHIVE";
662
+ UNARCHIVE: "UNARCHIVE";
648
663
  PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
649
664
  REQUEST_CORRECTION: "REQUEST_CORRECTION";
650
665
  READ: "READ";
@@ -899,6 +914,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
899
914
  REJECT: "REJECT";
900
915
  MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
901
916
  ARCHIVE: "ARCHIVE";
917
+ UNARCHIVE: "UNARCHIVE";
902
918
  PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
903
919
  REQUEST_CORRECTION: "REQUEST_CORRECTION";
904
920
  READ: "READ";
@@ -919,6 +935,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
919
935
  REJECT: "REJECT";
920
936
  MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
921
937
  ARCHIVE: "ARCHIVE";
938
+ UNARCHIVE: "UNARCHIVE";
922
939
  PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
923
940
  REQUEST_CORRECTION: "REQUEST_CORRECTION";
924
941
  READ: "READ";
@@ -1361,6 +1378,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1361
1378
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
1362
1379
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
1363
1380
  }>]>, z.ZodString]>>>;
1381
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1382
+ readonly INCOMPLETE: "incomplete";
1383
+ readonly REJECTED: "rejected";
1384
+ readonly CORRECTION_REQUESTED: "correction-requested";
1385
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
1386
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
1387
+ }>]>, z.ZodString]>>>;
1364
1388
  }, z.core.$strip>>>;
1365
1389
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1366
1390
  }, z.core.$strip>, z.ZodObject<{
@@ -1670,6 +1694,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1670
1694
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
1671
1695
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
1672
1696
  }>]>, z.ZodString]>>>;
1697
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
1698
+ readonly INCOMPLETE: "incomplete";
1699
+ readonly REJECTED: "rejected";
1700
+ readonly CORRECTION_REQUESTED: "correction-requested";
1701
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
1702
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
1703
+ }>]>, z.ZodString]>>>;
1673
1704
  }, z.core.$strip>>>;
1674
1705
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1675
1706
  }, z.core.$strip>>;
@@ -1980,6 +2011,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1980
2011
  readonly POTENTIAL_DUPLICATE: "potential-duplicate";
1981
2012
  readonly EDIT_IN_PROGRESS: "edit-in-progress";
1982
2013
  }>]>, z.ZodString]>>>;
2014
+ allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
2015
+ readonly INCOMPLETE: "incomplete";
2016
+ readonly REJECTED: "rejected";
2017
+ readonly CORRECTION_REQUESTED: "correction-requested";
2018
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
2019
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
2020
+ }>]>, z.ZodString]>>>;
1983
2021
  }, z.core.$strip>>>;
1984
2022
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1985
2023
  }, z.core.$strip>>;
@@ -2130,6 +2168,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2130
2168
  flags?: {
2131
2169
  anyOf?: string[] | undefined;
2132
2170
  noneOf?: string[] | undefined;
2171
+ allOf?: string[] | undefined;
2133
2172
  } | undefined;
2134
2173
  data?: unknown;
2135
2174
  }[];
@@ -2268,6 +2307,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2268
2307
  flags?: {
2269
2308
  anyOf?: string[] | undefined;
2270
2309
  noneOf?: string[] | undefined;
2310
+ allOf?: string[] | undefined;
2271
2311
  } | undefined;
2272
2312
  data?: unknown;
2273
2313
  }[];
@@ -2284,7 +2324,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2284
2324
  }[];
2285
2325
  icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
2286
2326
  action?: {
2287
- type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
2327
+ type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
2288
2328
  } | undefined;
2289
2329
  emptyMessage?: {
2290
2330
  id: string;
@@ -2439,6 +2479,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
2439
2479
  flags?: {
2440
2480
  anyOf?: string[] | undefined;
2441
2481
  noneOf?: string[] | undefined;
2482
+ allOf?: string[] | undefined;
2442
2483
  } | undefined;
2443
2484
  data?: unknown;
2444
2485
  }[];
@@ -2577,6 +2618,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
2577
2618
  flags?: {
2578
2619
  anyOf?: string[] | undefined;
2579
2620
  noneOf?: string[] | undefined;
2621
+ allOf?: string[] | undefined;
2580
2622
  } | undefined;
2581
2623
  data?: unknown;
2582
2624
  }[];
@@ -2593,7 +2635,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
2593
2635
  }[];
2594
2636
  icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
2595
2637
  action?: {
2596
- type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
2638
+ type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
2597
2639
  } | undefined;
2598
2640
  emptyMessage?: {
2599
2641
  id: string;
@@ -40,6 +40,7 @@ type ToArrayFields<T, K extends PropertyKey> = T extends unknown ? T extends obj
40
40
  */
41
41
  export type EventIndexWithAdministrativeHierarchy = Omit<ToArrayFields<EventIndex, 'createdAtLocation' | 'updatedAtLocation' | 'placeOfEvent'>, 'legalStatuses'> & {
42
42
  legalStatuses: {
43
+ NOTIFIED: ToArrayFields<ActionCreationMetadata, 'createdAtLocation'> | undefined;
43
44
  DECLARED: ToArrayFields<ActionCreationMetadata, 'createdAtLocation'> | undefined;
44
45
  REGISTERED: ToArrayFields<RegistrationCreationMetadata, 'createdAtLocation'> | undefined;
45
46
  };
@@ -20,6 +20,7 @@ export declare const ACTION_SCOPE_MAP: {
20
20
  MARK_AS_DUPLICATE: "record.review-duplicates"[];
21
21
  MARK_AS_NOT_DUPLICATE: "record.review-duplicates"[];
22
22
  ARCHIVE: "record.archive"[];
23
+ UNARCHIVE: "record.unarchive"[];
23
24
  REJECT: "record.reject"[];
24
25
  ASSIGN: null;
25
26
  UNASSIGN: null;
@@ -65,6 +65,14 @@ export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Dr
65
65
  type: string;
66
66
  status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
67
67
  legalStatuses: {
68
+ NOTIFIED?: {
69
+ createdAt: string;
70
+ createdBy: string;
71
+ acceptedAt: string;
72
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
73
+ createdByUserType?: "user" | "system" | null | undefined;
74
+ createdByRole?: string | undefined;
75
+ } | null | undefined;
68
76
  DECLARED?: {
69
77
  createdAt: string;
70
78
  createdBy: string;
@@ -30,6 +30,15 @@ export declare function getActionUpdateMetadata(actions: Action[]): Pick<{
30
30
  * @see EventIndex for the description of the returned object.
31
31
  */
32
32
  export declare function getLegalStatuses(actions: Action[]): {
33
+ NOTIFIED: {
34
+ createdAt: string;
35
+ createdBy: string;
36
+ createdByUserType: "user" | "system";
37
+ createdAtLocation: (string & import("zod").$brand<"UUID">) | null | undefined;
38
+ acceptedAt: string;
39
+ createdByRole: string | undefined;
40
+ registrationNumber: string | null | undefined;
41
+ } | null;
33
42
  DECLARED: {
34
43
  createdAt: string;
35
44
  createdBy: string;
@@ -1,6 +1,6 @@
1
1
  import { UUID } from '../uuid';
2
2
  import { ActionDocument, ActionUpdate } from './ActionDocument';
3
- import { ApproveCorrectionActionInput, ArchiveActionInput, AssignActionInput, DeclareActionInput, EditActionInput, MarkAsDuplicateActionInput, MarkNotDuplicateActionInput, NotifyActionInput, RegisterActionInput, RejectCorrectionActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput } from './ActionInput';
3
+ import { ApproveCorrectionActionInput, ArchiveActionInput, AssignActionInput, DeclareActionInput, EditActionInput, MarkAsDuplicateActionInput, MarkNotDuplicateActionInput, NotifyActionInput, RegisterActionInput, RejectCorrectionActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnarchiveActionInput, UnassignActionInput } from './ActionInput';
4
4
  import { ActionType } from './ActionType';
5
5
  import { Draft } from './Draft';
6
6
  import { EventConfig } from './EventConfig';
@@ -131,6 +131,14 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
131
131
  reason: string;
132
132
  };
133
133
  };
134
+ unarchive: (eventId: string, input?: Partial<Pick<UnarchiveActionInput, "transactionId" | "declaration" | "keepAssignment">>) => {
135
+ transactionId: string;
136
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
137
+ keepAssignment?: boolean | undefined;
138
+ type: "UNARCHIVE";
139
+ annotation: {};
140
+ eventId: string;
141
+ };
134
142
  reject: (eventId: string, input?: Partial<Pick<RejectDeclarationActionInput, "transactionId" | "annotation" | "keepAssignment">>) => {
135
143
  transactionId: string;
136
144
  annotation: {};
@@ -328,6 +328,20 @@ export declare function findLastAssignmentAction(actions: Action[]): {
328
328
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
329
329
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
330
330
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
331
+ } | {
332
+ id: string & import("zod").$brand<"UUID">;
333
+ transactionId: string;
334
+ createdByUserType: "user" | "system";
335
+ createdAt: string;
336
+ createdBy: string;
337
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
338
+ status: "Requested" | "Accepted" | "Rejected";
339
+ type: "UNARCHIVE";
340
+ createdByRole?: string | undefined;
341
+ createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
342
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
343
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
344
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
331
345
  } | {
332
346
  id: string & import("zod").$brand<"UUID">;
333
347
  transactionId: string;
@@ -441,7 +455,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
441
455
  createdByUserType: "user" | "system";
442
456
  createdAt: string;
443
457
  createdBy: string;
444
- type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
458
+ type: "CUSTOM" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
445
459
  status: "Rejected";
446
460
  createdByRole?: string | undefined;
447
461
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -152,6 +152,7 @@ var RecordScopeTypeV2 = z6.enum([
152
152
  "record.edit",
153
153
  "record.reject",
154
154
  "record.archive",
155
+ "record.unarchive",
155
156
  "record.review-duplicates",
156
157
  "record.register",
157
158
  "record.print-certified-copies",
@@ -191,11 +192,13 @@ var scopeOptionsPlaceEvent = z6.object({
191
192
  event: scopeByEvent,
192
193
  placeOfEvent: JurisdictionFilter.optional()
193
194
  }).describe("Options applicable to all record scopes.");
194
- var scopeOptionsDeclared = scopeOptionsPlaceEvent.extend({
195
+ var scopeOptionsDeclaredOrNotified = scopeOptionsPlaceEvent.extend({
196
+ notifiedIn: JurisdictionFilter.optional(),
197
+ notifiedBy: UserFilter.optional(),
195
198
  declaredIn: JurisdictionFilter.optional(),
196
199
  declaredBy: UserFilter.optional()
197
200
  }).describe("Options applicable to actions that may take place after DECLARE");
198
- var AllRecordScopeOptions = scopeOptionsDeclared.extend({
201
+ var AllRecordScopeOptions = scopeOptionsDeclaredOrNotified.extend({
199
202
  registeredIn: JurisdictionFilter.optional(),
200
203
  registeredBy: UserFilter.optional()
201
204
  }).describe(
@@ -233,6 +236,8 @@ var ResolvedScopeOptionsPlaceEvent = z6.object({
233
236
  "Resolved options applicable to all record scopes, with location ID instead of jurisdiction filter."
234
237
  );
235
238
  var ResolvedScopeOptionsDeclared = ResolvedScopeOptionsPlaceEvent.extend({
239
+ notifiedIn: UUID.nullish(),
240
+ notifiedBy: z6.string().optional(),
236
241
  declaredIn: UUID.nullish(),
237
242
  declaredBy: z6.string().optional()
238
243
  }).describe(
@@ -253,6 +258,7 @@ var ScopesWithDeclaredOptions = RecordScopeTypeV2.extract([
253
258
  "record.edit",
254
259
  "record.reject",
255
260
  "record.archive",
261
+ "record.unarchive",
256
262
  "record.review-duplicates",
257
263
  "record.register"
258
264
  ]);
@@ -278,7 +284,7 @@ var RecordScopeV2 = z6.discriminatedUnion("type", [
278
284
  }),
279
285
  z6.object({
280
286
  type: ScopesWithDeclaredOptions,
281
- options: scopeOptionsDeclared.optional()
287
+ options: scopeOptionsDeclaredOrNotified.optional()
282
288
  }),
283
289
  z6.object({
284
290
  type: ScopesWithFullOptions,
@@ -367,8 +373,9 @@ var EncodedScope2 = z6.string().brand("EncodedScope");
367
373
  var DEFAULT_SCOPE_OPTIONS = {
368
374
  placeOfEvent: JurisdictionFilter.enum.all,
369
375
  accessLevel: JurisdictionFilter.enum.all,
370
- registeredIn: JurisdictionFilter.enum.all,
371
- declaredIn: JurisdictionFilter.enum.all
376
+ notifiedIn: JurisdictionFilter.enum.all,
377
+ declaredIn: JurisdictionFilter.enum.all,
378
+ registeredIn: JurisdictionFilter.enum.all
372
379
  };
373
380
 
374
381
  // ../commons/src/users/userReferences.ts
@@ -0,0 +1,33 @@
1
+ import { PromptObject } from 'prompts';
2
+ import { Secret, Variable } from './github';
3
+ export type Question<T extends string> = PromptObject<T> & {
4
+ name: T;
5
+ valueType?: 'SECRET' | 'VARIABLE';
6
+ scope: 'ENVIRONMENT' | 'REPOSITORY';
7
+ valueLabel?: string;
8
+ };
9
+ export type QuestionDescriptor<T extends string> = Omit<Question<T>, 'type'> & {
10
+ type: 'disabled' | PromptObject<T>['type'];
11
+ };
12
+ export type SecretAnswer = {
13
+ type: 'SECRET';
14
+ scope: 'ENVIRONMENT' | 'REPOSITORY';
15
+ name: string;
16
+ value: string;
17
+ didExist: Secret | undefined;
18
+ };
19
+ export type VariableAnswer = {
20
+ type: 'VARIABLE';
21
+ name: string;
22
+ didExist: Variable | undefined;
23
+ value: string;
24
+ scope: 'ENVIRONMENT' | 'REPOSITORY';
25
+ };
26
+ export type Answer = SecretAnswer | VariableAnswer;
27
+ export type Answers = Answer[];
28
+ export type AnswerWithNullValue = (Omit<SecretAnswer, 'value'> & {
29
+ value: SecretAnswer['value'] | null;
30
+ }) | (Omit<VariableAnswer, 'value'> & {
31
+ value: VariableAnswer['value'] | null;
32
+ });
33
+ //# sourceMappingURL=custom-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-types.d.ts","sourceRoot":"","sources":["../../src/environment/custom-types.ts"],"names":[],"mappings":"AAWA,OAAgB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,GAAG;IACzD,IAAI,EAAE,CAAC,CAAA;IACP,SAAS,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAA;IACjC,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAC7E,IAAI,EAAE,UAAU,GAAG,YAAY,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,aAAa,GAAG,YAAY,CAAA;CACpC,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,YAAY,GAAG,cAAc,CAAA;AAClD,MAAM,MAAM,OAAO,GAAG,MAAM,EAAE,CAAA;AAC9B,MAAM,MAAM,mBAAmB,GAC3B,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG;IAC7B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACpC,CAAC,GACF,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IAC/B,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;CACtC,CAAC,CAAA"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /*
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
+ *
7
+ * OpenCRVS is also distributed under the terms of the Civil Registration
8
+ * & Healthcare Disclaimer located at http://opencrvs.org/license.
9
+ *
10
+ * Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });