@openfn/language-ghana-nia 0.1.0 → 0.1.1

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/ast.json CHANGED
@@ -67,7 +67,7 @@
67
67
  "tags": [
68
68
  {
69
69
  "title": "example",
70
- "description": "registerChild({\n child: {},\n mother: {},\n father: {},\n health_facility: {},\n birth_informant: {}\n})"
70
+ "description": "registerChild({\n babyData: {\n dateOfBirth: \"string\",\n fatherName: \"string\",\n forenames: \"string\",\n gender: \"string\",\n lightwaveETrackerID: \"string\",\n motherName: \"string\",\n noSiblingsInDelivery: \"string\",\n placeOfBirth: \"string\",\n surname: \"string\",\n timeOfbirth: \"string\",\n weightAtBirth: \"string\",\n babyPicture: \"string\"\n },\n personVouching: {\n etrackerLightwaveID: \"string\",\n ghanaCardPIN: \"string\",\n relationToBaby: \"string\",\n relativePhone: \"string\",\n relativePicture: \"string\"\n },\n merchantKey: \"XXXXXXXXXXXXXXXXXXXXXX\"\n})"
71
71
  },
72
72
  {
73
73
  "title": "function",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/language-ghana-nia",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenFn ghana-nia adaptor",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,11 +42,28 @@ export function post(path: string, data: object): Operation;
42
42
  * Generate a national ID
43
43
  * @example
44
44
  * registerChild({
45
- * child: {},
46
- * mother: {},
47
- * father: {},
48
- * health_facility: {},
49
- * birth_informant: {}
45
+ * babyData: {
46
+ * dateOfBirth: "string",
47
+ * fatherName: "string",
48
+ * forenames: "string",
49
+ * gender: "string",
50
+ * lightwaveETrackerID: "string",
51
+ * motherName: "string",
52
+ * noSiblingsInDelivery: "string",
53
+ * placeOfBirth: "string",
54
+ * surname: "string",
55
+ * timeOfbirth: "string",
56
+ * weightAtBirth: "string",
57
+ * babyPicture: "string"
58
+ * },
59
+ * personVouching: {
60
+ * etrackerLightwaveID: "string",
61
+ * ghanaCardPIN: "string",
62
+ * relationToBaby: "string",
63
+ * relativePhone: "string",
64
+ * relativePicture: "string"
65
+ * },
66
+ * merchantKey: "XXXXXXXXXXXXXXXXXXXXXX"
50
67
  * })
51
68
  * @function
52
69
  * @public