@opencrvs/toolkit 2.1.0-rc.7051d1e → 2.1.0-rc.76bdaaf
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/application-config/index.js +2 -1
- package/dist/commons/api/router.d.ts +3293 -3310
- package/dist/commons/application-config/index.d.ts +6 -6
- package/dist/commons/conditionals/conditionals.d.ts +259 -2102
- package/dist/commons/events/ActionConfig.d.ts +105 -105
- package/dist/commons/events/ActionDocument.d.ts +119 -119
- package/dist/commons/events/ActionInput.d.ts +0 -6
- package/dist/commons/events/ActionType.d.ts +62 -62
- package/dist/commons/events/AdvancedSearchConfig.d.ts +507 -507
- package/dist/commons/events/AuditLog.d.ts +43 -43
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/Conditional.d.ts +3 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +590 -590
- package/dist/commons/events/Draft.d.ts +37 -37
- package/dist/commons/events/DynamicFieldValue.d.ts +9 -9
- package/dist/commons/events/EventConfig.d.ts +5 -5
- package/dist/commons/events/EventDocument.d.ts +48 -48
- package/dist/commons/events/EventIndex.d.ts +62 -62
- package/dist/commons/events/EventMetadata.d.ts +40 -40
- package/dist/commons/events/FieldConfig.d.ts +336 -336
- package/dist/commons/events/FieldType.d.ts +51 -51
- package/dist/commons/events/FieldTypeMapping.d.ts +100 -100
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/Flag.d.ts +15 -15
- package/dist/commons/events/TemplateConfig.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +40 -40
- package/dist/commons/events/WorkqueueConfig.d.ts +826 -826
- package/dist/commons/events/deduplication.d.ts +1 -1
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +78 -895
- package/dist/commons/events/locations.d.ts +96 -6
- package/dist/commons/events/mocks.test.utils.d.ts +18 -4
- package/dist/commons/events/scopes.d.ts +4 -4
- package/dist/commons/events/state/index.d.ts +17 -17
- package/dist/commons/events/state/utils.d.ts +7 -7
- package/dist/commons/events/test.utils.d.ts +40 -43
- package/dist/commons/events/utils.d.ts +114 -114
- package/dist/commons/notification/UserNotifications.d.ts +10 -10
- package/dist/environment/derived-variables.d.ts +119 -119
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/questions.d.ts +75 -74
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/setup-environment.js +8 -14
- package/dist/environment/utils.d.ts +1 -1
- package/dist/events/deduplication.d.ts +1 -1
- package/dist/events/index.js +62 -58
- package/dist/migrations/v2.0/migrate-application-config-url.js +4 -3
- package/dist/notification/index.js +48 -57
- package/dist/scopes/index.d.ts +146 -146
- package/opencrvs-toolkit-2.1.0-rc.76bdaaf.tgz +0 -0
- package/package.json +5 -5
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.7051d1e.tgz +0 -0
|
@@ -1216,9 +1216,10 @@ var NotifiedAction = ActionBase.extend(
|
|
|
1216
1216
|
var EditAction = ActionBase.extend(
|
|
1217
1217
|
z14.object({
|
|
1218
1218
|
type: z14.literal(ActionType.EDIT),
|
|
1219
|
+
/** @deprecated New Edit-actions should no longer contain content. This is kept for old 2.0 edits. */
|
|
1219
1220
|
content: z14.object({
|
|
1220
1221
|
comment: z14.string().describe("Comment for the edit action.").optional()
|
|
1221
|
-
})
|
|
1222
|
+
}).optional()
|
|
1222
1223
|
}).shape
|
|
1223
1224
|
);
|
|
1224
1225
|
var PrintContent = z14.object({
|
|
@@ -4652,10 +4653,7 @@ var DeclareActionInput = BaseActionInput.extend(
|
|
|
4652
4653
|
);
|
|
4653
4654
|
var EditActionInput = BaseActionInput.extend(
|
|
4654
4655
|
z38.object({
|
|
4655
|
-
type: z38.literal(ActionType.EDIT).default(ActionType.EDIT)
|
|
4656
|
-
content: z38.object({
|
|
4657
|
-
comment: z38.string().describe("Comment for the edit action.").optional()
|
|
4658
|
-
})
|
|
4656
|
+
type: z38.literal(ActionType.EDIT).default(ActionType.EDIT)
|
|
4659
4657
|
}).shape
|
|
4660
4658
|
);
|
|
4661
4659
|
var PrintCertificateActionInput = BaseActionInput.extend(
|
|
@@ -7361,21 +7359,44 @@ var LocationTypeV1 = z43.enum([
|
|
|
7361
7359
|
"CRVS_OFFICE",
|
|
7362
7360
|
"HEALTH_FACILITY"
|
|
7363
7361
|
]);
|
|
7362
|
+
var LocationStatus = z43.enum(["active", "inactive"]);
|
|
7363
|
+
var LocationVersion = z43.object({
|
|
7364
|
+
versionId: UUID,
|
|
7365
|
+
effectiveFrom: z43.iso.date(),
|
|
7366
|
+
name: z43.string(),
|
|
7367
|
+
externalId: z43.string().nullish(),
|
|
7368
|
+
status: LocationStatus
|
|
7369
|
+
});
|
|
7364
7370
|
var AdministrativeArea = z43.object({
|
|
7365
7371
|
id: UUID,
|
|
7366
7372
|
name: z43.string(),
|
|
7367
7373
|
externalId: z43.string().nullish(),
|
|
7368
7374
|
parentId: UUID.nullable(),
|
|
7369
|
-
|
|
7375
|
+
status: LocationStatus,
|
|
7376
|
+
versions: z43.array(LocationVersion)
|
|
7370
7377
|
});
|
|
7371
7378
|
var Location = z43.object({
|
|
7372
7379
|
id: UUID,
|
|
7373
7380
|
name: z43.string(),
|
|
7374
7381
|
externalId: z43.string().nullish(),
|
|
7375
7382
|
administrativeAreaId: UUID.nullable(),
|
|
7376
|
-
|
|
7383
|
+
locationType: z43.string().nullable(),
|
|
7384
|
+
status: LocationStatus,
|
|
7385
|
+
versions: z43.array(LocationVersion)
|
|
7386
|
+
});
|
|
7387
|
+
var SetLocationPayload = z43.object({
|
|
7388
|
+
id: UUID,
|
|
7389
|
+
name: z43.string(),
|
|
7390
|
+
externalId: z43.string().nullish(),
|
|
7391
|
+
administrativeAreaId: UUID.nullable(),
|
|
7377
7392
|
locationType: z43.string().nullable()
|
|
7378
7393
|
});
|
|
7394
|
+
var SetAdministrativeAreaPayload = z43.object({
|
|
7395
|
+
id: UUID,
|
|
7396
|
+
name: z43.string(),
|
|
7397
|
+
externalId: z43.string().nullish(),
|
|
7398
|
+
parentId: UUID.nullable()
|
|
7399
|
+
});
|
|
7379
7400
|
|
|
7380
7401
|
// ../commons/src/events/scopes.ts
|
|
7381
7402
|
var ACTION_SCOPE_MAP = {
|
|
@@ -7474,75 +7495,80 @@ var REJECTED_ACTIONS = [
|
|
|
7474
7495
|
var import_lodash7 = require("lodash");
|
|
7475
7496
|
|
|
7476
7497
|
// ../commons/src/events/mocks.test.utils.ts
|
|
7477
|
-
|
|
7498
|
+
function withVersionFields(entity) {
|
|
7499
|
+
return {
|
|
7500
|
+
...entity,
|
|
7501
|
+
status: "active",
|
|
7502
|
+
versions: [
|
|
7503
|
+
{
|
|
7504
|
+
versionId: entity.id,
|
|
7505
|
+
effectiveFrom: "0001-01-01",
|
|
7506
|
+
name: entity.name,
|
|
7507
|
+
externalId: entity.externalId ?? null,
|
|
7508
|
+
status: "active"
|
|
7509
|
+
}
|
|
7510
|
+
]
|
|
7511
|
+
};
|
|
7512
|
+
}
|
|
7513
|
+
var MOCK_ADMINISTRATIVE_AREAS_BASE = [
|
|
7478
7514
|
{
|
|
7479
7515
|
id: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7480
7516
|
name: "Central",
|
|
7481
7517
|
parentId: null,
|
|
7482
|
-
validUntil: null,
|
|
7483
7518
|
externalId: "ydyJb1RAy4U1"
|
|
7484
7519
|
},
|
|
7485
7520
|
{
|
|
7486
7521
|
id: "c599b691-fd2d-45e1-abf4-d185de727fb5",
|
|
7487
7522
|
name: "Sulaka",
|
|
7488
7523
|
parentId: null,
|
|
7489
|
-
validUntil: null,
|
|
7490
7524
|
externalId: "pQ8nGxWmZ2Q3"
|
|
7491
7525
|
},
|
|
7492
7526
|
{
|
|
7493
7527
|
id: "7ef2b9c7-5e6d-49f6-ae05-656207d0fc64",
|
|
7494
7528
|
name: "Pualula",
|
|
7495
7529
|
parentId: null,
|
|
7496
|
-
validUntil: null,
|
|
7497
7530
|
externalId: "Aq91DweLmT8k"
|
|
7498
7531
|
},
|
|
7499
7532
|
{
|
|
7500
7533
|
id: "6d1a59df-988c-4021-a846-ccbc021931a7",
|
|
7501
7534
|
name: "Chuminga",
|
|
7502
7535
|
parentId: null,
|
|
7503
|
-
validUntil: null,
|
|
7504
7536
|
externalId: "Rw0fYNh2Xk9a"
|
|
7505
7537
|
},
|
|
7506
7538
|
{
|
|
7507
7539
|
id: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7508
7540
|
name: "Ibombo",
|
|
7509
7541
|
parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7510
|
-
validUntil: null,
|
|
7511
7542
|
externalId: "k7DsP4vbN1Qe"
|
|
7512
7543
|
},
|
|
7513
7544
|
{
|
|
7514
7545
|
id: "27160bbd-32d1-4625-812f-860226bfb92a",
|
|
7515
7546
|
name: "Isango",
|
|
7516
7547
|
parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7517
|
-
validUntil: null,
|
|
7518
7548
|
externalId: "Gm3Z9eQpHw4L"
|
|
7519
7549
|
},
|
|
7520
7550
|
{
|
|
7521
7551
|
id: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7522
7552
|
name: "Isamba",
|
|
7523
7553
|
parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7524
|
-
validUntil: null,
|
|
7525
7554
|
externalId: "sT0xVu1KqJ7r"
|
|
7526
7555
|
},
|
|
7527
7556
|
{
|
|
7528
7557
|
id: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7529
7558
|
name: "Itambo",
|
|
7530
7559
|
parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7531
|
-
validUntil: null,
|
|
7532
7560
|
externalId: "Nq6Bv2HpL9Te"
|
|
7533
7561
|
},
|
|
7534
7562
|
{
|
|
7535
7563
|
id: "d42ab2fe-e7ed-470e-8b31-4fb27f9b8250",
|
|
7536
7564
|
name: "Ezhi",
|
|
7537
7565
|
parentId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7538
|
-
validUntil: null,
|
|
7539
7566
|
externalId: "xK8cQ0ZRy5Wd"
|
|
7540
7567
|
},
|
|
7541
7568
|
{
|
|
7542
7569
|
id: "8fbd09d2-212b-47f4-beb3-5e1694931d9f",
|
|
7543
7570
|
name: "Ilanga",
|
|
7544
7571
|
parentId: "c599b691-fd2d-45e1-abf4-d185de727fb5",
|
|
7545
|
-
validUntil: null,
|
|
7546
7572
|
externalId: "Cq4Jm1XvN8Ls"
|
|
7547
7573
|
},
|
|
7548
7574
|
// Villages under Ibombo (62a0ccb4-880d-4f30-8882-f256007dfff9)
|
|
@@ -7550,49 +7576,42 @@ var V2_DEFAULT_MOCK_ADMINISTRATIVE_AREAS = [
|
|
|
7550
7576
|
id: "1d4e5f6a-7b8c-4912-8efa-345678901234",
|
|
7551
7577
|
name: "Klow",
|
|
7552
7578
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7553
|
-
validUntil: null,
|
|
7554
7579
|
externalId: "IkYcYBUcyY2"
|
|
7555
7580
|
},
|
|
7556
7581
|
{
|
|
7557
7582
|
id: "2e5f6a7b-8c9d-4a23-8fab-456789012345",
|
|
7558
7583
|
name: "Mbondo",
|
|
7559
7584
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7560
|
-
validUntil: null,
|
|
7561
7585
|
externalId: "Qhvv5hvo3mY"
|
|
7562
7586
|
},
|
|
7563
7587
|
{
|
|
7564
7588
|
id: "3f6a7b8c-9d0e-4b34-8abc-567890123456",
|
|
7565
7589
|
name: "Ndara",
|
|
7566
7590
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7567
|
-
validUntil: null,
|
|
7568
7591
|
externalId: "crXh068O9TR"
|
|
7569
7592
|
},
|
|
7570
7593
|
{
|
|
7571
7594
|
id: "4a7b8c9d-0e1f-4c45-abcd-678901234567",
|
|
7572
7595
|
name: "Olani",
|
|
7573
7596
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7574
|
-
validUntil: null,
|
|
7575
7597
|
externalId: "r00It8Tvvp7"
|
|
7576
7598
|
},
|
|
7577
7599
|
{
|
|
7578
7600
|
id: "5b8c9d0e-1f2a-4d56-bcde-789012345678",
|
|
7579
7601
|
name: "Pemba",
|
|
7580
7602
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7581
|
-
validUntil: null,
|
|
7582
7603
|
externalId: "ZnUWsbONIaH"
|
|
7583
7604
|
},
|
|
7584
7605
|
{
|
|
7585
7606
|
id: "6c9d0e1f-2a3b-4e67-8def-890123456789",
|
|
7586
7607
|
name: "Quanza",
|
|
7587
7608
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7588
|
-
validUntil: null,
|
|
7589
7609
|
externalId: "fDZycvQTa7l"
|
|
7590
7610
|
},
|
|
7591
7611
|
{
|
|
7592
7612
|
id: "7d0e1f2a-3b4c-4f78-8efa-901234567890",
|
|
7593
7613
|
name: "Rivka",
|
|
7594
7614
|
parentId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7595
|
-
validUntil: null,
|
|
7596
7615
|
externalId: "KqswxCGTELa"
|
|
7597
7616
|
},
|
|
7598
7617
|
// Villages under Isamba (967032fd-3f81-478a-826c-30cb8fe121bd)
|
|
@@ -7600,35 +7619,30 @@ var V2_DEFAULT_MOCK_ADMINISTRATIVE_AREAS = [
|
|
|
7600
7619
|
id: "8e1f2a3b-4c5d-4089-8fab-012345678901",
|
|
7601
7620
|
name: "Mbula",
|
|
7602
7621
|
parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7603
|
-
validUntil: null,
|
|
7604
7622
|
externalId: "osEbKjRc9Kg"
|
|
7605
7623
|
},
|
|
7606
7624
|
{
|
|
7607
7625
|
id: "9f2a3b4c-5d6e-4190-8abf-123456789012",
|
|
7608
7626
|
name: "Ndoki",
|
|
7609
7627
|
parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7610
|
-
validUntil: null,
|
|
7611
7628
|
externalId: "aq4daBUAGr3"
|
|
7612
7629
|
},
|
|
7613
7630
|
{
|
|
7614
7631
|
id: "0a3b4c5d-6e7f-4201-abcd-234567890123",
|
|
7615
7632
|
name: "Tsanga",
|
|
7616
7633
|
parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7617
|
-
validUntil: null,
|
|
7618
7634
|
externalId: "cqis6Y8trbJ"
|
|
7619
7635
|
},
|
|
7620
7636
|
{
|
|
7621
7637
|
id: "1b4c5d6e-7f8a-4312-bcde-345678901234",
|
|
7622
7638
|
name: "Waziri",
|
|
7623
7639
|
parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7624
|
-
validUntil: null,
|
|
7625
7640
|
externalId: "LMijHPyyx6d"
|
|
7626
7641
|
},
|
|
7627
7642
|
{
|
|
7628
7643
|
id: "2c5d6e7f-8a9b-4423-8def-456789012345",
|
|
7629
7644
|
name: "Zimbi",
|
|
7630
7645
|
parentId: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7631
|
-
validUntil: null,
|
|
7632
7646
|
externalId: "pcQYbPuKGZ7"
|
|
7633
7647
|
},
|
|
7634
7648
|
// Villages under Itambo (89a33893-b17d-481d-a26d-6461e7ac1651)
|
|
@@ -7636,67 +7650,59 @@ var V2_DEFAULT_MOCK_ADMINISTRATIVE_AREAS = [
|
|
|
7636
7650
|
id: "3d6e7f8a-9b0c-4534-8efa-567890123456",
|
|
7637
7651
|
name: "Felani",
|
|
7638
7652
|
parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7639
|
-
validUntil: null,
|
|
7640
7653
|
externalId: "gSqpoCGdMXp"
|
|
7641
7654
|
},
|
|
7642
7655
|
{
|
|
7643
7656
|
id: "4e7f8a9b-0c1d-4645-8fab-678901234567",
|
|
7644
7657
|
name: "Goroma",
|
|
7645
7658
|
parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7646
|
-
validUntil: null,
|
|
7647
7659
|
externalId: "KvAAIaNqVrp"
|
|
7648
7660
|
},
|
|
7649
7661
|
{
|
|
7650
7662
|
id: "5f8a9b0c-1d2e-4756-8abc-789012345678",
|
|
7651
7663
|
name: "Halifu",
|
|
7652
7664
|
parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7653
|
-
validUntil: null,
|
|
7654
7665
|
externalId: "qe4UnEVt1hv"
|
|
7655
7666
|
},
|
|
7656
7667
|
{
|
|
7657
7668
|
id: "6a9b0c1d-2e3f-4867-abcd-890123456789",
|
|
7658
7669
|
name: "Jabari",
|
|
7659
7670
|
parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7660
|
-
validUntil: null,
|
|
7661
7671
|
externalId: "yHH9Nz4rLOt"
|
|
7662
7672
|
},
|
|
7663
7673
|
{
|
|
7664
7674
|
id: "7b0c1d2e-3f4a-4978-bcde-901234567890",
|
|
7665
7675
|
name: "Kifani",
|
|
7666
7676
|
parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7667
|
-
validUntil: null,
|
|
7668
7677
|
externalId: "eSWmXIGeu1I"
|
|
7669
7678
|
},
|
|
7670
7679
|
{
|
|
7671
7680
|
id: "8c1d2e3f-4a5b-4089-8def-012345678901",
|
|
7672
7681
|
name: "Lumela",
|
|
7673
7682
|
parentId: "89a33893-b17d-481d-a26d-6461e7ac1651",
|
|
7674
|
-
validUntil: null,
|
|
7675
7683
|
externalId: "bh0b3aI1uP3"
|
|
7676
7684
|
}
|
|
7677
7685
|
];
|
|
7678
|
-
var
|
|
7686
|
+
var V2_DEFAULT_MOCK_ADMINISTRATIVE_AREAS = MOCK_ADMINISTRATIVE_AREAS_BASE.map(withVersionFields);
|
|
7687
|
+
var MOCK_LOCATIONS_BASE = [
|
|
7679
7688
|
{
|
|
7680
7689
|
id: "6f6186ce-cd5f-4a5f-810a-2d99e7c4ba12",
|
|
7681
7690
|
name: "Central Provincial Office",
|
|
7682
7691
|
locationType: "CRVS_OFFICE",
|
|
7683
7692
|
administrativeAreaId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c",
|
|
7684
|
-
validUntil: null,
|
|
7685
7693
|
externalId: "Xr3Df8WpK6Ys"
|
|
7686
7694
|
},
|
|
7687
7695
|
{
|
|
7688
7696
|
id: "b1c2d3e4-f5a6-7890-bcde-f12345678901",
|
|
7689
7697
|
name: "Central Health Post",
|
|
7690
7698
|
locationType: "HEALTH_FACILITY",
|
|
7691
|
-
administrativeAreaId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c"
|
|
7692
|
-
validUntil: null
|
|
7699
|
+
administrativeAreaId: "a45b982a-5c7b-4bd9-8fd8-a42d0994054c"
|
|
7693
7700
|
},
|
|
7694
7701
|
{
|
|
7695
7702
|
id: "028d2c85-ca31-426d-b5d1-2cef545a4902",
|
|
7696
7703
|
name: "Ibombo District Office",
|
|
7697
7704
|
locationType: "CRVS_OFFICE",
|
|
7698
7705
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7699
|
-
validUntil: null,
|
|
7700
7706
|
externalId: "Sm4Nw7GrD2Vy"
|
|
7701
7707
|
},
|
|
7702
7708
|
{
|
|
@@ -7704,7 +7710,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7704
7710
|
name: "Isamba District Office",
|
|
7705
7711
|
locationType: "CRVS_OFFICE",
|
|
7706
7712
|
administrativeAreaId: "967032fd-3f81-478a-826c-30cb8fe121bd",
|
|
7707
|
-
validUntil: null,
|
|
7708
7713
|
externalId: "Vg1Bq5XeH9Lt"
|
|
7709
7714
|
},
|
|
7710
7715
|
{
|
|
@@ -7712,7 +7717,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7712
7717
|
name: "Isango District Office",
|
|
7713
7718
|
locationType: "CRVS_OFFICE",
|
|
7714
7719
|
administrativeAreaId: "27160bbd-32d1-4625-812f-860226bfb92a",
|
|
7715
|
-
validUntil: null,
|
|
7716
7720
|
externalId: "Je7Lm2XqN9Vz"
|
|
7717
7721
|
},
|
|
7718
7722
|
{
|
|
@@ -7720,7 +7724,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7720
7724
|
name: "Sulaka Provincial Office",
|
|
7721
7725
|
locationType: "CRVS_OFFICE",
|
|
7722
7726
|
administrativeAreaId: "c599b691-fd2d-45e1-abf4-d185de727fb5",
|
|
7723
|
-
validUntil: null,
|
|
7724
7727
|
externalId: "Ht2Wp9KcX5Qv"
|
|
7725
7728
|
},
|
|
7726
7729
|
{
|
|
@@ -7728,7 +7731,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7728
7731
|
name: "Ilanga District Office",
|
|
7729
7732
|
locationType: "CRVS_OFFICE",
|
|
7730
7733
|
administrativeAreaId: "8fbd09d2-212b-47f4-beb3-5e1694931d9f",
|
|
7731
|
-
validUntil: null,
|
|
7732
7734
|
externalId: "Yp6Ds1WqN3Xz"
|
|
7733
7735
|
},
|
|
7734
7736
|
{
|
|
@@ -7736,7 +7738,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7736
7738
|
name: "Chamakubi Health Post",
|
|
7737
7739
|
locationType: "HEALTH_FACILITY",
|
|
7738
7740
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7739
|
-
validUntil: null,
|
|
7740
7741
|
externalId: "M1nFr8LbC2Qy"
|
|
7741
7742
|
},
|
|
7742
7743
|
{
|
|
@@ -7744,7 +7745,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7744
7745
|
name: "Ibombo Rural Health Centre",
|
|
7745
7746
|
locationType: "HEALTH_FACILITY",
|
|
7746
7747
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7747
|
-
validUntil: null,
|
|
7748
7748
|
externalId: "bT7pV6YrW0Xc"
|
|
7749
7749
|
},
|
|
7750
7750
|
{
|
|
@@ -7752,7 +7752,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7752
7752
|
name: "Chikobo Rural Health Centre",
|
|
7753
7753
|
locationType: "HEALTH_FACILITY",
|
|
7754
7754
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7755
|
-
validUntil: null,
|
|
7756
7755
|
externalId: "zE4qPn2SgJ5d"
|
|
7757
7756
|
},
|
|
7758
7757
|
{
|
|
@@ -7760,7 +7759,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7760
7759
|
name: "Chilochabalenje Health Post",
|
|
7761
7760
|
locationType: "HEALTH_FACILITY",
|
|
7762
7761
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7763
|
-
validUntil: null,
|
|
7764
7762
|
externalId: "H8vDs1MqR4Uf"
|
|
7765
7763
|
},
|
|
7766
7764
|
{
|
|
@@ -7768,7 +7766,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7768
7766
|
name: "Chipeso Rural Health Centre",
|
|
7769
7767
|
locationType: "HEALTH_FACILITY",
|
|
7770
7768
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7771
|
-
validUntil: null,
|
|
7772
7769
|
externalId: "Qw3uZ9KfX6Lm"
|
|
7773
7770
|
},
|
|
7774
7771
|
{
|
|
@@ -7776,7 +7773,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7776
7773
|
name: "Chisamba Rural Health Centre",
|
|
7777
7774
|
locationType: "HEALTH_FACILITY",
|
|
7778
7775
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7779
|
-
validUntil: null,
|
|
7780
7776
|
externalId: "Yr0pCg8LdM2s"
|
|
7781
7777
|
},
|
|
7782
7778
|
{
|
|
@@ -7784,7 +7780,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7784
7780
|
name: "Chitanda Rural Health Centre",
|
|
7785
7781
|
locationType: "HEALTH_FACILITY",
|
|
7786
7782
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7787
|
-
validUntil: null,
|
|
7788
7783
|
externalId: "tS9gJ4PwB1Qx"
|
|
7789
7784
|
},
|
|
7790
7785
|
{
|
|
@@ -7792,7 +7787,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7792
7787
|
name: "Golden Valley Rural Health Centre",
|
|
7793
7788
|
locationType: "HEALTH_FACILITY",
|
|
7794
7789
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7795
|
-
validUntil: null,
|
|
7796
7790
|
externalId: "Ld7Qm3XsA8Vr"
|
|
7797
7791
|
},
|
|
7798
7792
|
{
|
|
@@ -7800,7 +7794,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7800
7794
|
name: "Ipongo Rural Health Centre",
|
|
7801
7795
|
locationType: "HEALTH_FACILITY",
|
|
7802
7796
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7803
|
-
validUntil: null,
|
|
7804
7797
|
externalId: "kF2sW9DmH0Bt"
|
|
7805
7798
|
},
|
|
7806
7799
|
{
|
|
@@ -7808,7 +7801,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7808
7801
|
name: "Itumbwe Health Post",
|
|
7809
7802
|
locationType: "HEALTH_FACILITY",
|
|
7810
7803
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7811
|
-
validUntil: null,
|
|
7812
7804
|
externalId: "Ue5Xb3VaC7Pq"
|
|
7813
7805
|
},
|
|
7814
7806
|
{
|
|
@@ -7816,7 +7808,6 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7816
7808
|
name: "Kabangalala Rural Health Centre",
|
|
7817
7809
|
locationType: "HEALTH_FACILITY",
|
|
7818
7810
|
administrativeAreaId: "62a0ccb4-880d-4f30-8882-f256007dfff9",
|
|
7819
|
-
validUntil: null,
|
|
7820
7811
|
externalId: "Pz8Kc1TqH6Jn"
|
|
7821
7812
|
},
|
|
7822
7813
|
// Village offices
|
|
@@ -7825,10 +7816,10 @@ var V2_DEFAULT_MOCK_LOCATIONS = [
|
|
|
7825
7816
|
name: "Klow Village Office",
|
|
7826
7817
|
locationType: "CRVS_OFFICE",
|
|
7827
7818
|
administrativeAreaId: "1d4e5f6a-7b8c-4912-8efa-345678901234",
|
|
7828
|
-
validUntil: null,
|
|
7829
7819
|
externalId: "PmAyxAJkxiJ"
|
|
7830
7820
|
}
|
|
7831
7821
|
];
|
|
7822
|
+
var V2_DEFAULT_MOCK_LOCATIONS = MOCK_LOCATIONS_BASE.map(withVersionFields);
|
|
7832
7823
|
var V2_DEFAULT_MOCK_LOCATIONS_MAP = new Map(
|
|
7833
7824
|
V2_DEFAULT_MOCK_LOCATIONS.map((l) => [l.id, l])
|
|
7834
7825
|
);
|