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