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