@n8n-dev/n8n-nodes-mtaa-api 1.0.0

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 (34) hide show
  1. package/README.md +101 -0
  2. package/dist/banner.svg +247 -0
  3. package/dist/credentials/MtaaApiApi.credentials.d.ts +9 -0
  4. package/dist/credentials/MtaaApiApi.credentials.js +49 -0
  5. package/dist/credentials/MtaaApiApi.credentials.js.map +1 -0
  6. package/dist/icons/mtaa-api.dark.svg +18 -0
  7. package/dist/icons/mtaa-api.svg +18 -0
  8. package/dist/nodes/MtaaApi/MtaaApi.node.d.ts +4 -0
  9. package/dist/nodes/MtaaApi/MtaaApi.node.js +82 -0
  10. package/dist/nodes/MtaaApi/MtaaApi.node.js.map +1 -0
  11. package/dist/nodes/MtaaApi/MtaaApi.node.json +20 -0
  12. package/dist/nodes/MtaaApi/mtaa-api.dark.svg +18 -0
  13. package/dist/nodes/MtaaApi/mtaa-api.svg +18 -0
  14. package/dist/nodes/MtaaApi/resources/districts-in-region/index.d.ts +2 -0
  15. package/dist/nodes/MtaaApi/resources/districts-in-region/index.js +89 -0
  16. package/dist/nodes/MtaaApi/resources/districts-in-region/index.js.map +1 -0
  17. package/dist/nodes/MtaaApi/resources/index.d.ts +5 -0
  18. package/dist/nodes/MtaaApi/resources/index.js +14 -0
  19. package/dist/nodes/MtaaApi/resources/index.js.map +1 -0
  20. package/dist/nodes/MtaaApi/resources/neighborhood-in-a-street/index.d.ts +2 -0
  21. package/dist/nodes/MtaaApi/resources/neighborhood-in-a-street/index.js +143 -0
  22. package/dist/nodes/MtaaApi/resources/neighborhood-in-a-street/index.js.map +1 -0
  23. package/dist/nodes/MtaaApi/resources/streets-in-a-ward/index.d.ts +2 -0
  24. package/dist/nodes/MtaaApi/resources/streets-in-a-ward/index.js +125 -0
  25. package/dist/nodes/MtaaApi/resources/streets-in-a-ward/index.js.map +1 -0
  26. package/dist/nodes/MtaaApi/resources/tanzania-regions/index.d.ts +2 -0
  27. package/dist/nodes/MtaaApi/resources/tanzania-regions/index.js +71 -0
  28. package/dist/nodes/MtaaApi/resources/tanzania-regions/index.js.map +1 -0
  29. package/dist/nodes/MtaaApi/resources/wards-in-a-district/index.d.ts +2 -0
  30. package/dist/nodes/MtaaApi/resources/wards-in-a-district/index.js +107 -0
  31. package/dist/nodes/MtaaApi/resources/wards-in-a-district/index.js.map +1 -0
  32. package/dist/package.json +62 -0
  33. package/dist/tsconfig.tsbuildinfo +1 -0
  34. package/package.json +62 -0
@@ -0,0 +1,18 @@
1
+ <svg width="250" height="150" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
2
+ <g fill="#666666">
3
+ <path d="m88.05,27.65c-3.15,4 -3.2,51.2 -0.05,54.35c2.75,2.75 71.7,3.15 74.45,0.45c2.85,-2.9 2.3,-53.85 -0.65,-55.9c-1.95,-1.35 -7.15,-1.55 -36.95,-1.55l-34.7,0l-2.1,2.65zm69.45,3.35c0.65,0 1,8.6 1,23.75l0,23.75l-33,0l-33,0l-0.25,-23c-0.15,-12.6 -0.1,-23.45 0.15,-24.1c0.35,-0.85 8.9,-1.05 32.25,-0.75c17.55,0.2 32.3,0.35 32.85,0.35z"/>
4
+ <path d="m99.15,37.3c-6.85,7.35 4.25,17.35 11.4,10.25c1.35,-1.35 2.45,-3.65 2.45,-5.05c0,-6.45 -9.35,-9.95 -13.85,-5.2z"/>
5
+ <path d="m135,42.5c-0.7,0.85 -5.25,5.15 -10.1,9.6l-8.85,8.1l-3.2,-3.2l-3.15,-3.15l-6.35,6.3c-5.55,5.5 -6.35,6.75 -6.35,10.05l0,3.8l28.5,0l28.5,0l0,-8.6l0,-8.55l-8.15,-7.7c-9.35,-8.85 -9.15,-8.7 -10.85,-6.65zm7.25,15.2c0.95,0.9 1.75,2.9 1.75,4.45c6.35,-5.05 4.75,-7.15 4.9,-11.55c0.95,0 0,0 0,0l-6.65,7.1z"/>
6
+ <path d="m53.65,110.75c0.1,4.8 0.45,8.65 0.75,8.5c0.35,-0.15 1.3,-0.25 2.1,-0.25c1.1,0 1.5,-1.2 1.5,-4.75l0,-4.75l3.25,5c4.9,7.5 6.2,6.75 6.55,-3.75c0.25,-8.15 0.15,-8.75 -1.7,-8.75c-1.65,0 -2.05,0.8 -2.3,4.75l-0.3,4.75l-2.8,-4.75c-4.85,-8.25 -7.25,-6.9 -7.05,4z"/>
7
+ <path d="m91,108.9c0,9.65 0.3,10.1 6.1,10.1c5.8,0 7.15,-2.65 1.65,-3.2l-3.25,-0.3l-0.3,-6.75c-0.25,-5.95 -0.55,-6.75 -2.25,-6.75c-1.75,0 -1.95,0.7 -1.95,6.9z"/>
8
+ <path d="m151,102.45c0,0.25 1,2.15 2.25,4.2c1.2,2.1 2.45,5.8 2.75,8.25c0.65,5.9 4,6.95 4,1.25c0.05,-2.1 1.25,-5.85 2.95,-8.9l2.9,-5.25l-2.5,0c-1.8,0 -2.8,0.85 -3.75,3.1l-1.3,3.05l-1.25,-3.05c-1.1,-2.6 -6.05,-4.8 -6.05,-2.65z"/>
9
+ <path d="m191,107.45c0,9.05 3.4,8.85 4.25,-0.2c0.45,-5 0.35,-5.25 -1.9,-5.25c-2.2,0 -2.35,0.4 -2.35,5.45z"/>
10
+ <path d="m180.8,104.75c-1.3,5.35 0.65,13.6 3.45,14.35c2.3,0.6 2.75,0.4 2.75,-1.2c0,-1.05 -0.45,-1.9 -1,-1.9c-0.55,0 -1,-1.6 -1,-3.5c0,-1.95 0.45,-3.5 1,-3.5c0.55,0 1,-0.7 1,-1.5c0,-0.85 -0.45,-1.5 -1,-1.5c-0.55,0 -1,-0.7 -1,-1.5c0,-2.1 -3.65,-1.9 -4.2,0.25z"/>
11
+ <path d="m71.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
12
+ <path d="m105.75,106.1c-2.5,1.45 -2.45,9.95 0.1,12.25c4.3,3.9 10.15,0.35 10.15,-6.2c0,-6 -5.15,-9.05 -10.25,-6.05zm6.05,6.25c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
13
+ <path d="m119.2,106.2c-3.8,3.8 -0.4,12.55 4.4,11.35c1.9,-0.45 2.45,-0.3 2.15,0.65c-0.25,0.7 -1.55,1.2 -2.85,1.1c-4.05,-0.3 -5.35,0.45 -3.85,2.25c0.85,1.05 2.6,1.45 5.35,1.25l4.1,-0.3l0.3,-8.75l0.3,-8.75l-4.35,0c-2.4,0 -4.9,0.55 -5.55,1.2zm6.6,4.45c0.4,2.85 -2.15,4.85 -3.75,2.95c-0.9,-1.1 -0.9,-2 -0.05,-3.6c1.35,-2.5 3.4,-2.15 3.8,0.65z"/>
14
+ <path d="m133.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
15
+ <path d="m167.65,106.85c-3.9,4.3 -0.75,13.15 4.7,13.15c2.4,0 5.65,-2.75 5.65,-4.85c0,-1.4 -2.65,-1.55 -3.5,-0.15c-0.95,1.55 -4.5,1.15 -4.5,-0.5c0,-1.1 1.1,-1.5 4,-1.5c3.15,0 4,-0.35 4,-1.8c0,-5.3 -6.85,-8.25 -10.35,-4.35z"/>
16
+ <path d="m191,117.5c0,2.15 0.4,2.6 2.25,2.3c1.5,-0.2 2.25,-1 2.25,-2.3c0,-1.3 -0.75,-2.1 -2.25,-2.3c-1.85,-0.3 -2.25,0.15 -2.25,2.3z"/>
17
+ </g>
18
+ </svg>
@@ -0,0 +1,18 @@
1
+ <svg width="250" height="150" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
2
+ <g fill="#666666">
3
+ <path d="m88.05,27.65c-3.15,4 -3.2,51.2 -0.05,54.35c2.75,2.75 71.7,3.15 74.45,0.45c2.85,-2.9 2.3,-53.85 -0.65,-55.9c-1.95,-1.35 -7.15,-1.55 -36.95,-1.55l-34.7,0l-2.1,2.65zm69.45,3.35c0.65,0 1,8.6 1,23.75l0,23.75l-33,0l-33,0l-0.25,-23c-0.15,-12.6 -0.1,-23.45 0.15,-24.1c0.35,-0.85 8.9,-1.05 32.25,-0.75c17.55,0.2 32.3,0.35 32.85,0.35z"/>
4
+ <path d="m99.15,37.3c-6.85,7.35 4.25,17.35 11.4,10.25c1.35,-1.35 2.45,-3.65 2.45,-5.05c0,-6.45 -9.35,-9.95 -13.85,-5.2z"/>
5
+ <path d="m135,42.5c-0.7,0.85 -5.25,5.15 -10.1,9.6l-8.85,8.1l-3.2,-3.2l-3.15,-3.15l-6.35,6.3c-5.55,5.5 -6.35,6.75 -6.35,10.05l0,3.8l28.5,0l28.5,0l0,-8.6l0,-8.55l-8.15,-7.7c-9.35,-8.85 -9.15,-8.7 -10.85,-6.65zm7.25,15.2c0.95,0.9 1.75,2.9 1.75,4.45c6.35,-5.05 4.75,-7.15 4.9,-11.55c0.95,0 0,0 0,0l-6.65,7.1z"/>
6
+ <path d="m53.65,110.75c0.1,4.8 0.45,8.65 0.75,8.5c0.35,-0.15 1.3,-0.25 2.1,-0.25c1.1,0 1.5,-1.2 1.5,-4.75l0,-4.75l3.25,5c4.9,7.5 6.2,6.75 6.55,-3.75c0.25,-8.15 0.15,-8.75 -1.7,-8.75c-1.65,0 -2.05,0.8 -2.3,4.75l-0.3,4.75l-2.8,-4.75c-4.85,-8.25 -7.25,-6.9 -7.05,4z"/>
7
+ <path d="m91,108.9c0,9.65 0.3,10.1 6.1,10.1c5.8,0 7.15,-2.65 1.65,-3.2l-3.25,-0.3l-0.3,-6.75c-0.25,-5.95 -0.55,-6.75 -2.25,-6.75c-1.75,0 -1.95,0.7 -1.95,6.9z"/>
8
+ <path d="m151,102.45c0,0.25 1,2.15 2.25,4.2c1.2,2.1 2.45,5.8 2.75,8.25c0.65,5.9 4,6.95 4,1.25c0.05,-2.1 1.25,-5.85 2.95,-8.9l2.9,-5.25l-2.5,0c-1.8,0 -2.8,0.85 -3.75,3.1l-1.3,3.05l-1.25,-3.05c-1.1,-2.6 -6.05,-4.8 -6.05,-2.65z"/>
9
+ <path d="m191,107.45c0,9.05 3.4,8.85 4.25,-0.2c0.45,-5 0.35,-5.25 -1.9,-5.25c-2.2,0 -2.35,0.4 -2.35,5.45z"/>
10
+ <path d="m180.8,104.75c-1.3,5.35 0.65,13.6 3.45,14.35c2.3,0.6 2.75,0.4 2.75,-1.2c0,-1.05 -0.45,-1.9 -1,-1.9c-0.55,0 -1,-1.6 -1,-3.5c0,-1.95 0.45,-3.5 1,-3.5c0.55,0 1,-0.7 1,-1.5c0,-0.85 -0.45,-1.5 -1,-1.5c-0.55,0 -1,-0.7 -1,-1.5c0,-2.1 -3.65,-1.9 -4.2,0.25z"/>
11
+ <path d="m71.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
12
+ <path d="m105.75,106.1c-2.5,1.45 -2.45,9.95 0.1,12.25c4.3,3.9 10.15,0.35 10.15,-6.2c0,-6 -5.15,-9.05 -10.25,-6.05zm6.05,6.25c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
13
+ <path d="m119.2,106.2c-3.8,3.8 -0.4,12.55 4.4,11.35c1.9,-0.45 2.45,-0.3 2.15,0.65c-0.25,0.7 -1.55,1.2 -2.85,1.1c-4.05,-0.3 -5.35,0.45 -3.85,2.25c0.85,1.05 2.6,1.45 5.35,1.25l4.1,-0.3l0.3,-8.75l0.3,-8.75l-4.35,0c-2.4,0 -4.9,0.55 -5.55,1.2zm6.6,4.45c0.4,2.85 -2.15,4.85 -3.75,2.95c-0.9,-1.1 -0.9,-2 -0.05,-3.6c1.35,-2.5 3.4,-2.15 3.8,0.65z"/>
14
+ <path d="m133.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
15
+ <path d="m167.65,106.85c-3.9,4.3 -0.75,13.15 4.7,13.15c2.4,0 5.65,-2.75 5.65,-4.85c0,-1.4 -2.65,-1.55 -3.5,-0.15c-0.95,1.55 -4.5,1.15 -4.5,-0.5c0,-1.1 1.1,-1.5 4,-1.5c3.15,0 4,-0.35 4,-1.8c0,-5.3 -6.85,-8.25 -10.35,-4.35z"/>
16
+ <path d="m191,117.5c0,2.15 0.4,2.6 2.25,2.3c1.5,-0.2 2.25,-1 2.25,-2.3c0,-1.3 -0.75,-2.1 -2.25,-2.3c-1.85,-0.3 -2.25,0.15 -2.25,2.3z"/>
17
+ </g>
18
+ </svg>
@@ -0,0 +1,4 @@
1
+ import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class MtaaApi implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MtaaApi = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const tanzania_regions_1 = require("./resources/tanzania-regions");
6
+ const districts_in_region_1 = require("./resources/districts-in-region");
7
+ const wards_in_a_district_1 = require("./resources/wards-in-a-district");
8
+ const streets_in_a_ward_1 = require("./resources/streets-in-a-ward");
9
+ const neighborhood_in_a_street_1 = require("./resources/neighborhood-in-a-street");
10
+ class MtaaApi {
11
+ constructor() {
12
+ this.description = {
13
+ displayName: 'mtaa-api',
14
+ name: 'N8nDevMtaaApi',
15
+ icon: { light: 'file:./mtaa-api.svg', dark: 'file:./mtaa-api.dark.svg' },
16
+ group: ['input'],
17
+ version: 1,
18
+ subtitle: '={{\$parameter["operation"] + ": " + \$parameter["resource"]}}',
19
+ description: 'Mtaa A simple REST API to access Tanzania\'s location information,With mtaa API you can easily query and integrate all the location in tanzania from region level to streets from your programming lan..',
20
+ defaults: { name: 'mtaa-api' },
21
+ usableAsTool: true,
22
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
23
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
24
+ credentials: [
25
+ {
26
+ name: 'N8nDevMtaaApiApi',
27
+ required: true,
28
+ },
29
+ ],
30
+ requestDefaults: {
31
+ baseURL: '={{\$credentials.url}}',
32
+ headers: {
33
+ Accept: 'application/json',
34
+ 'Content-Type': 'application/json',
35
+ },
36
+ },
37
+ properties: [
38
+ {
39
+ "displayName": "Resource",
40
+ "name": "resource",
41
+ "type": "options",
42
+ "noDataExpression": true,
43
+ "options": [
44
+ {
45
+ "name": "Tanzania Regions",
46
+ "value": "Tanzania Regions",
47
+ "description": ""
48
+ },
49
+ {
50
+ "name": "Districts In Region",
51
+ "value": "Districts In Region",
52
+ "description": ""
53
+ },
54
+ {
55
+ "name": "Wards In A District",
56
+ "value": "Wards In A District",
57
+ "description": ""
58
+ },
59
+ {
60
+ "name": "Streets In A Ward",
61
+ "value": "Streets In A Ward",
62
+ "description": ""
63
+ },
64
+ {
65
+ "name": "Neighborhood In A Street",
66
+ "value": "Neighborhood In A Street",
67
+ "description": ""
68
+ }
69
+ ],
70
+ "default": ""
71
+ },
72
+ ...tanzania_regions_1.tanzaniaRegionsDescription,
73
+ ...districts_in_region_1.districtsInRegionDescription,
74
+ ...wards_in_a_district_1.wardsInADistrictDescription,
75
+ ...streets_in_a_ward_1.streetsInAWardDescription,
76
+ ...neighborhood_in_a_street_1.neighborhoodInAStreetDescription
77
+ ],
78
+ };
79
+ }
80
+ }
81
+ exports.MtaaApi = MtaaApi;
82
+ //# sourceMappingURL=MtaaApi.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MtaaApi.node.js","sourceRoot":"","sources":["../../../nodes/MtaaApi/MtaaApi.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,mEAA0E;AAC1E,yEAA+E;AAC/E,yEAA8E;AAC9E,qEAA0E;AAC1E,mFAAwF;AAExF,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,0BAA0B,EAAE;YACxE,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,gEAAgE;YAC1E,WAAW,EAAE,0MAA0M;YACvN,QAAQ,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;YAC9B,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,kBAAkB;oBACxB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,wBAAwB;gBACjC,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE;gBACZ;oBACC,aAAa,EAAE,UAAU;oBACzB,MAAM,EAAE,UAAU;oBAClB,MAAM,EAAE,SAAS;oBACjB,kBAAkB,EAAE,IAAI;oBACxB,SAAS,EAAE;wBACV;4BACC,MAAM,EAAE,kBAAkB;4BAC1B,OAAO,EAAE,kBAAkB;4BAC3B,aAAa,EAAE,EAAE;yBACjB;wBACD;4BACC,MAAM,EAAE,qBAAqB;4BAC7B,OAAO,EAAE,qBAAqB;4BAC9B,aAAa,EAAE,EAAE;yBACjB;wBACD;4BACC,MAAM,EAAE,qBAAqB;4BAC7B,OAAO,EAAE,qBAAqB;4BAC9B,aAAa,EAAE,EAAE;yBACjB;wBACD;4BACC,MAAM,EAAE,mBAAmB;4BAC3B,OAAO,EAAE,mBAAmB;4BAC5B,aAAa,EAAE,EAAE;yBACjB;wBACD;4BACC,MAAM,EAAE,0BAA0B;4BAClC,OAAO,EAAE,0BAA0B;4BACnC,aAAa,EAAE,EAAE;yBACjB;qBACD;oBACD,SAAS,EAAE,EAAE;iBACb;gBACD,GAAG,6CAA0B;gBAC7B,GAAG,kDAA4B;gBAC/B,GAAG,iDAA2B;gBAC9B,GAAG,6CAAyB;gBAC5B,GAAG,2DAAgC;aAClC;SACD,CAAC;IACH,CAAC;CAAA;AApED,0BAoEC"}
@@ -0,0 +1,20 @@
1
+ {
2
+ "node": "N8nDevMtaaApi",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": [
6
+ "Development"
7
+ ],
8
+ "resources": {
9
+ "primaryDocumentation": [
10
+ {
11
+ "url": "https://github.com/n8n-code/n8n-nodes-mtaa-api"
12
+ }
13
+ ],
14
+ "credentialDocumentation": [
15
+ {
16
+ "url": "https://github.com/n8n-code/n8n-nodes-mtaa-api?tab=readme-ov-file#credentials"
17
+ }
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1,18 @@
1
+ <svg width="250" height="150" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
2
+ <g fill="#666666">
3
+ <path d="m88.05,27.65c-3.15,4 -3.2,51.2 -0.05,54.35c2.75,2.75 71.7,3.15 74.45,0.45c2.85,-2.9 2.3,-53.85 -0.65,-55.9c-1.95,-1.35 -7.15,-1.55 -36.95,-1.55l-34.7,0l-2.1,2.65zm69.45,3.35c0.65,0 1,8.6 1,23.75l0,23.75l-33,0l-33,0l-0.25,-23c-0.15,-12.6 -0.1,-23.45 0.15,-24.1c0.35,-0.85 8.9,-1.05 32.25,-0.75c17.55,0.2 32.3,0.35 32.85,0.35z"/>
4
+ <path d="m99.15,37.3c-6.85,7.35 4.25,17.35 11.4,10.25c1.35,-1.35 2.45,-3.65 2.45,-5.05c0,-6.45 -9.35,-9.95 -13.85,-5.2z"/>
5
+ <path d="m135,42.5c-0.7,0.85 -5.25,5.15 -10.1,9.6l-8.85,8.1l-3.2,-3.2l-3.15,-3.15l-6.35,6.3c-5.55,5.5 -6.35,6.75 -6.35,10.05l0,3.8l28.5,0l28.5,0l0,-8.6l0,-8.55l-8.15,-7.7c-9.35,-8.85 -9.15,-8.7 -10.85,-6.65zm7.25,15.2c0.95,0.9 1.75,2.9 1.75,4.45c6.35,-5.05 4.75,-7.15 4.9,-11.55c0.95,0 0,0 0,0l-6.65,7.1z"/>
6
+ <path d="m53.65,110.75c0.1,4.8 0.45,8.65 0.75,8.5c0.35,-0.15 1.3,-0.25 2.1,-0.25c1.1,0 1.5,-1.2 1.5,-4.75l0,-4.75l3.25,5c4.9,7.5 6.2,6.75 6.55,-3.75c0.25,-8.15 0.15,-8.75 -1.7,-8.75c-1.65,0 -2.05,0.8 -2.3,4.75l-0.3,4.75l-2.8,-4.75c-4.85,-8.25 -7.25,-6.9 -7.05,4z"/>
7
+ <path d="m91,108.9c0,9.65 0.3,10.1 6.1,10.1c5.8,0 7.15,-2.65 1.65,-3.2l-3.25,-0.3l-0.3,-6.75c-0.25,-5.95 -0.55,-6.75 -2.25,-6.75c-1.75,0 -1.95,0.7 -1.95,6.9z"/>
8
+ <path d="m151,102.45c0,0.25 1,2.15 2.25,4.2c1.2,2.1 2.45,5.8 2.75,8.25c0.65,5.9 4,6.95 4,1.25c0.05,-2.1 1.25,-5.85 2.95,-8.9l2.9,-5.25l-2.5,0c-1.8,0 -2.8,0.85 -3.75,3.1l-1.3,3.05l-1.25,-3.05c-1.1,-2.6 -6.05,-4.8 -6.05,-2.65z"/>
9
+ <path d="m191,107.45c0,9.05 3.4,8.85 4.25,-0.2c0.45,-5 0.35,-5.25 -1.9,-5.25c-2.2,0 -2.35,0.4 -2.35,5.45z"/>
10
+ <path d="m180.8,104.75c-1.3,5.35 0.65,13.6 3.45,14.35c2.3,0.6 2.75,0.4 2.75,-1.2c0,-1.05 -0.45,-1.9 -1,-1.9c-0.55,0 -1,-1.6 -1,-3.5c0,-1.95 0.45,-3.5 1,-3.5c0.55,0 1,-0.7 1,-1.5c0,-0.85 -0.45,-1.5 -1,-1.5c-0.55,0 -1,-0.7 -1,-1.5c0,-2.1 -3.65,-1.9 -4.2,0.25z"/>
11
+ <path d="m71.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
12
+ <path d="m105.75,106.1c-2.5,1.45 -2.45,9.95 0.1,12.25c4.3,3.9 10.15,0.35 10.15,-6.2c0,-6 -5.15,-9.05 -10.25,-6.05zm6.05,6.25c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
13
+ <path d="m119.2,106.2c-3.8,3.8 -0.4,12.55 4.4,11.35c1.9,-0.45 2.45,-0.3 2.15,0.65c-0.25,0.7 -1.55,1.2 -2.85,1.1c-4.05,-0.3 -5.35,0.45 -3.85,2.25c0.85,1.05 2.6,1.45 5.35,1.25l4.1,-0.3l0.3,-8.75l0.3,-8.75l-4.35,0c-2.4,0 -4.9,0.55 -5.55,1.2zm6.6,4.45c0.4,2.85 -2.15,4.85 -3.75,2.95c-0.9,-1.1 -0.9,-2 -0.05,-3.6c1.35,-2.5 3.4,-2.15 3.8,0.65z"/>
14
+ <path d="m133.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
15
+ <path d="m167.65,106.85c-3.9,4.3 -0.75,13.15 4.7,13.15c2.4,0 5.65,-2.75 5.65,-4.85c0,-1.4 -2.65,-1.55 -3.5,-0.15c-0.95,1.55 -4.5,1.15 -4.5,-0.5c0,-1.1 1.1,-1.5 4,-1.5c3.15,0 4,-0.35 4,-1.8c0,-5.3 -6.85,-8.25 -10.35,-4.35z"/>
16
+ <path d="m191,117.5c0,2.15 0.4,2.6 2.25,2.3c1.5,-0.2 2.25,-1 2.25,-2.3c0,-1.3 -0.75,-2.1 -2.25,-2.3c-1.85,-0.3 -2.25,0.15 -2.25,2.3z"/>
17
+ </g>
18
+ </svg>
@@ -0,0 +1,18 @@
1
+ <svg width="250" height="150" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">
2
+ <g fill="#666666">
3
+ <path d="m88.05,27.65c-3.15,4 -3.2,51.2 -0.05,54.35c2.75,2.75 71.7,3.15 74.45,0.45c2.85,-2.9 2.3,-53.85 -0.65,-55.9c-1.95,-1.35 -7.15,-1.55 -36.95,-1.55l-34.7,0l-2.1,2.65zm69.45,3.35c0.65,0 1,8.6 1,23.75l0,23.75l-33,0l-33,0l-0.25,-23c-0.15,-12.6 -0.1,-23.45 0.15,-24.1c0.35,-0.85 8.9,-1.05 32.25,-0.75c17.55,0.2 32.3,0.35 32.85,0.35z"/>
4
+ <path d="m99.15,37.3c-6.85,7.35 4.25,17.35 11.4,10.25c1.35,-1.35 2.45,-3.65 2.45,-5.05c0,-6.45 -9.35,-9.95 -13.85,-5.2z"/>
5
+ <path d="m135,42.5c-0.7,0.85 -5.25,5.15 -10.1,9.6l-8.85,8.1l-3.2,-3.2l-3.15,-3.15l-6.35,6.3c-5.55,5.5 -6.35,6.75 -6.35,10.05l0,3.8l28.5,0l28.5,0l0,-8.6l0,-8.55l-8.15,-7.7c-9.35,-8.85 -9.15,-8.7 -10.85,-6.65zm7.25,15.2c0.95,0.9 1.75,2.9 1.75,4.45c6.35,-5.05 4.75,-7.15 4.9,-11.55c0.95,0 0,0 0,0l-6.65,7.1z"/>
6
+ <path d="m53.65,110.75c0.1,4.8 0.45,8.65 0.75,8.5c0.35,-0.15 1.3,-0.25 2.1,-0.25c1.1,0 1.5,-1.2 1.5,-4.75l0,-4.75l3.25,5c4.9,7.5 6.2,6.75 6.55,-3.75c0.25,-8.15 0.15,-8.75 -1.7,-8.75c-1.65,0 -2.05,0.8 -2.3,4.75l-0.3,4.75l-2.8,-4.75c-4.85,-8.25 -7.25,-6.9 -7.05,4z"/>
7
+ <path d="m91,108.9c0,9.65 0.3,10.1 6.1,10.1c5.8,0 7.15,-2.65 1.65,-3.2l-3.25,-0.3l-0.3,-6.75c-0.25,-5.95 -0.55,-6.75 -2.25,-6.75c-1.75,0 -1.95,0.7 -1.95,6.9z"/>
8
+ <path d="m151,102.45c0,0.25 1,2.15 2.25,4.2c1.2,2.1 2.45,5.8 2.75,8.25c0.65,5.9 4,6.95 4,1.25c0.05,-2.1 1.25,-5.85 2.95,-8.9l2.9,-5.25l-2.5,0c-1.8,0 -2.8,0.85 -3.75,3.1l-1.3,3.05l-1.25,-3.05c-1.1,-2.6 -6.05,-4.8 -6.05,-2.65z"/>
9
+ <path d="m191,107.45c0,9.05 3.4,8.85 4.25,-0.2c0.45,-5 0.35,-5.25 -1.9,-5.25c-2.2,0 -2.35,0.4 -2.35,5.45z"/>
10
+ <path d="m180.8,104.75c-1.3,5.35 0.65,13.6 3.45,14.35c2.3,0.6 2.75,0.4 2.75,-1.2c0,-1.05 -0.45,-1.9 -1,-1.9c-0.55,0 -1,-1.6 -1,-3.5c0,-1.95 0.45,-3.5 1,-3.5c0.55,0 1,-0.7 1,-1.5c0,-0.85 -0.45,-1.5 -1,-1.5c-0.55,0 -1,-0.7 -1,-1.5c0,-2.1 -3.65,-1.9 -4.2,0.25z"/>
11
+ <path d="m71.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
12
+ <path d="m105.75,106.1c-2.5,1.45 -2.45,9.95 0.1,12.25c4.3,3.9 10.15,0.35 10.15,-6.2c0,-6 -5.15,-9.05 -10.25,-6.05zm6.05,6.25c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
13
+ <path d="m119.2,106.2c-3.8,3.8 -0.4,12.55 4.4,11.35c1.9,-0.45 2.45,-0.3 2.15,0.65c-0.25,0.7 -1.55,1.2 -2.85,1.1c-4.05,-0.3 -5.35,0.45 -3.85,2.25c0.85,1.05 2.6,1.45 5.35,1.25l4.1,-0.3l0.3,-8.75l0.3,-8.75l-4.35,0c-2.4,0 -4.9,0.55 -5.55,1.2zm6.6,4.45c0.4,2.85 -2.15,4.85 -3.75,2.95c-0.9,-1.1 -0.9,-2 -0.05,-3.6c1.35,-2.5 3.4,-2.15 3.8,0.65z"/>
14
+ <path d="m133.55,106.55c-2.2,2.25 -2.05,9.7 0.3,11.8c4.5,4.1 10.15,0.75 10.15,-6.1c0,-4.85 -2,-7.25 -6,-7.25c-1.55,0 -3.55,0.7 -4.45,1.55zm6.25,5.8c0.25,3.05 0,3.65 -1.6,3.65c-2.3,0 -3.25,-2.65 -2.05,-5.85c1.25,-3.35 3.3,-2.1 3.65,2.2z"/>
15
+ <path d="m167.65,106.85c-3.9,4.3 -0.75,13.15 4.7,13.15c2.4,0 5.65,-2.75 5.65,-4.85c0,-1.4 -2.65,-1.55 -3.5,-0.15c-0.95,1.55 -4.5,1.15 -4.5,-0.5c0,-1.1 1.1,-1.5 4,-1.5c3.15,0 4,-0.35 4,-1.8c0,-5.3 -6.85,-8.25 -10.35,-4.35z"/>
16
+ <path d="m191,117.5c0,2.15 0.4,2.6 2.25,2.3c1.5,-0.2 2.25,-1 2.25,-2.3c0,-1.3 -0.75,-2.1 -2.25,-2.3c-1.85,-0.3 -2.25,0.15 -2.25,2.3z"/>
17
+ </g>
18
+ </svg>
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const districtsInRegionDescription: INodeProperties[];
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.districtsInRegionDescription = void 0;
4
+ exports.districtsInRegionDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Districts In Region"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Districts In A Region",
20
+ "value": "Districts In A Region",
21
+ "action": "Returns all districts in region",
22
+ "description": "Returns a post code and all districts in a specified region",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/{{$parameter[\"country\"]}}/{{$parameter[\"region\"]}}"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /{country}/{region}",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Districts In Region"
45
+ ],
46
+ "operation": [
47
+ "Districts In A Region"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "displayName": "Country",
54
+ "name": "country",
55
+ "required": true,
56
+ "description": "Country name in lowercase eg( tanzania)",
57
+ "default": "",
58
+ "type": "string",
59
+ "displayOptions": {
60
+ "show": {
61
+ "resource": [
62
+ "Districts In Region"
63
+ ],
64
+ "operation": [
65
+ "Districts In A Region"
66
+ ]
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "displayName": "Region",
72
+ "name": "region",
73
+ "required": true,
74
+ "description": "Name of the region eg (Mbeya)",
75
+ "default": "",
76
+ "type": "string",
77
+ "displayOptions": {
78
+ "show": {
79
+ "resource": [
80
+ "Districts In Region"
81
+ ],
82
+ "operation": [
83
+ "Districts In A Region"
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ ];
89
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/MtaaApi/resources/districts-in-region/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAsB;IAC7D;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,qBAAqB;iBACrB;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,uBAAuB;gBAC/B,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,iCAAiC;gBAC3C,aAAa,EAAE,6DAA6D;gBAC5E,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,0DAA0D;qBACjE;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,yBAAyB;QACxC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,qBAAqB;iBACrB;gBACD,WAAW,EAAE;oBACZ,uBAAuB;iBACvB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,SAAS;QACxB,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,yCAAyC;QACxD,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,qBAAqB;iBACrB;gBACD,WAAW,EAAE;oBACZ,uBAAuB;iBACvB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,+BAA+B;QAC9C,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,qBAAqB;iBACrB;gBACD,WAAW,EAAE;oBACZ,uBAAuB;iBACvB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { tanzaniaRegionsDescription } from './tanzania-regions';
2
+ export { districtsInRegionDescription } from './districts-in-region';
3
+ export { wardsInADistrictDescription } from './wards-in-a-district';
4
+ export { streetsInAWardDescription } from './streets-in-a-ward';
5
+ export { neighborhoodInAStreetDescription } from './neighborhood-in-a-street';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.neighborhoodInAStreetDescription = exports.streetsInAWardDescription = exports.wardsInADistrictDescription = exports.districtsInRegionDescription = exports.tanzaniaRegionsDescription = void 0;
4
+ var tanzania_regions_1 = require("./tanzania-regions");
5
+ Object.defineProperty(exports, "tanzaniaRegionsDescription", { enumerable: true, get: function () { return tanzania_regions_1.tanzaniaRegionsDescription; } });
6
+ var districts_in_region_1 = require("./districts-in-region");
7
+ Object.defineProperty(exports, "districtsInRegionDescription", { enumerable: true, get: function () { return districts_in_region_1.districtsInRegionDescription; } });
8
+ var wards_in_a_district_1 = require("./wards-in-a-district");
9
+ Object.defineProperty(exports, "wardsInADistrictDescription", { enumerable: true, get: function () { return wards_in_a_district_1.wardsInADistrictDescription; } });
10
+ var streets_in_a_ward_1 = require("./streets-in-a-ward");
11
+ Object.defineProperty(exports, "streetsInAWardDescription", { enumerable: true, get: function () { return streets_in_a_ward_1.streetsInAWardDescription; } });
12
+ var neighborhood_in_a_street_1 = require("./neighborhood-in-a-street");
13
+ Object.defineProperty(exports, "neighborhoodInAStreetDescription", { enumerable: true, get: function () { return neighborhood_in_a_street_1.neighborhoodInAStreetDescription; } });
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/MtaaApi/resources/index.ts"],"names":[],"mappings":";;;AAAA,uDAAgE;AAAvD,8HAAA,0BAA0B,OAAA;AACnC,6DAAqE;AAA5D,mIAAA,4BAA4B,OAAA;AACrC,6DAAoE;AAA3D,kIAAA,2BAA2B,OAAA;AACpC,yDAAgE;AAAvD,8HAAA,yBAAyB,OAAA;AAClC,uEAA8E;AAArE,4IAAA,gCAAgC,OAAA"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const neighborhoodInAStreetDescription: INodeProperties[];
@@ -0,0 +1,143 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.neighborhoodInAStreetDescription = void 0;
4
+ exports.neighborhoodInAStreetDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Neighborhood In A Street"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Neighborhood In A Street",
20
+ "value": "Neighborhood In A Street",
21
+ "action": "Returns all neighborhood in a street",
22
+ "description": "Returns all neighborhood in a specified street",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/{{$parameter[\"country\"]}}/{{$parameter[\"region\"]}}/{{$parameter[\"district\"]}}/{{$parameter[\"ward\"]}}/{{$parameter[\"street\"]}}"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /{country}/{region}/{district}/{ward}/{street}",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Neighborhood In A Street"
45
+ ],
46
+ "operation": [
47
+ "Neighborhood In A Street"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "displayName": "Country",
54
+ "name": "country",
55
+ "required": true,
56
+ "description": "Country name in lowercase eg( tanzania)",
57
+ "default": "",
58
+ "type": "string",
59
+ "displayOptions": {
60
+ "show": {
61
+ "resource": [
62
+ "Neighborhood In A Street"
63
+ ],
64
+ "operation": [
65
+ "Neighborhood In A Street"
66
+ ]
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "displayName": "Region",
72
+ "name": "region",
73
+ "required": true,
74
+ "description": "Name of the region eg (Mbeya)",
75
+ "default": "",
76
+ "type": "string",
77
+ "displayOptions": {
78
+ "show": {
79
+ "resource": [
80
+ "Neighborhood In A Street"
81
+ ],
82
+ "operation": [
83
+ "Neighborhood In A Street"
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "displayName": "District",
90
+ "name": "district",
91
+ "required": true,
92
+ "description": "Name of the District eg (Rungwe)",
93
+ "default": "",
94
+ "type": "string",
95
+ "displayOptions": {
96
+ "show": {
97
+ "resource": [
98
+ "Neighborhood In A Street"
99
+ ],
100
+ "operation": [
101
+ "Neighborhood In A Street"
102
+ ]
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "displayName": "Ward",
108
+ "name": "ward",
109
+ "required": true,
110
+ "description": "Name of the Ward eg (Kiwira)",
111
+ "default": "",
112
+ "type": "string",
113
+ "displayOptions": {
114
+ "show": {
115
+ "resource": [
116
+ "Neighborhood In A Street"
117
+ ],
118
+ "operation": [
119
+ "Neighborhood In A Street"
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ {
125
+ "displayName": "Street",
126
+ "name": "street",
127
+ "required": true,
128
+ "description": "Name of the Street eg (Ilundo)",
129
+ "default": "",
130
+ "type": "string",
131
+ "displayOptions": {
132
+ "show": {
133
+ "resource": [
134
+ "Neighborhood In A Street"
135
+ ],
136
+ "operation": [
137
+ "Neighborhood In A Street"
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ ];
143
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/MtaaApi/resources/neighborhood-in-a-street/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,gCAAgC,GAAsB;IACjE;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,sCAAsC;gBAChD,aAAa,EAAE,gDAAgD;gBAC/D,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,2IAA2I;qBAClJ;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,oDAAoD;QACnE,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,SAAS;QACxB,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,yCAAyC;QACxD,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,+BAA+B;QAC9C,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,UAAU;QACzB,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,kCAAkC;QACjD,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,8BAA8B;QAC7C,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,gCAAgC;QAC/C,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,0BAA0B;iBAC1B;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const streetsInAWardDescription: INodeProperties[];
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.streetsInAWardDescription = void 0;
4
+ exports.streetsInAWardDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Streets In A Ward"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Streets In A Ward",
20
+ "value": "Streets In A Ward",
21
+ "action": "Returns all streets in a ward",
22
+ "description": "Returns all streets in a specified ward and ward postcode",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/{{$parameter[\"country\"]}}/{{$parameter[\"region\"]}}/{{$parameter[\"district\"]}}/{{$parameter[\"ward\"]}}"
27
+ }
28
+ }
29
+ }
30
+ ],
31
+ "default": ""
32
+ },
33
+ {
34
+ "displayName": "GET /{country}/{region}/{district}/{ward}",
35
+ "name": "operation",
36
+ "type": "notice",
37
+ "typeOptions": {
38
+ "theme": "info"
39
+ },
40
+ "default": "",
41
+ "displayOptions": {
42
+ "show": {
43
+ "resource": [
44
+ "Streets In A Ward"
45
+ ],
46
+ "operation": [
47
+ "Streets In A Ward"
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ {
53
+ "displayName": "Country",
54
+ "name": "country",
55
+ "required": true,
56
+ "description": "Country name in lowercase eg( tanzania)",
57
+ "default": "",
58
+ "type": "string",
59
+ "displayOptions": {
60
+ "show": {
61
+ "resource": [
62
+ "Streets In A Ward"
63
+ ],
64
+ "operation": [
65
+ "Streets In A Ward"
66
+ ]
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "displayName": "Region",
72
+ "name": "region",
73
+ "required": true,
74
+ "description": "Name of the region eg (Mbeya)",
75
+ "default": "",
76
+ "type": "string",
77
+ "displayOptions": {
78
+ "show": {
79
+ "resource": [
80
+ "Streets In A Ward"
81
+ ],
82
+ "operation": [
83
+ "Streets In A Ward"
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "displayName": "District",
90
+ "name": "district",
91
+ "required": true,
92
+ "description": "Name of the District eg (Rungwe)",
93
+ "default": "",
94
+ "type": "string",
95
+ "displayOptions": {
96
+ "show": {
97
+ "resource": [
98
+ "Streets In A Ward"
99
+ ],
100
+ "operation": [
101
+ "Streets In A Ward"
102
+ ]
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "displayName": "Ward",
108
+ "name": "ward",
109
+ "required": true,
110
+ "description": "Name of the Ward eg (Kiwira)",
111
+ "default": "",
112
+ "type": "string",
113
+ "displayOptions": {
114
+ "show": {
115
+ "resource": [
116
+ "Streets In A Ward"
117
+ ],
118
+ "operation": [
119
+ "Streets In A Ward"
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ ];
125
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/MtaaApi/resources/streets-in-a-ward/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAsB;IAC1D;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,mBAAmB;gBAC3B,OAAO,EAAE,mBAAmB;gBAC5B,QAAQ,EAAE,+BAA+B;gBACzC,aAAa,EAAE,2DAA2D;gBAC1E,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,gHAAgH;qBACvH;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,2CAA2C;QAC1D,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;gBACD,WAAW,EAAE;oBACZ,mBAAmB;iBACnB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,SAAS;QACxB,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,yCAAyC;QACxD,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;gBACD,WAAW,EAAE;oBACZ,mBAAmB;iBACnB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,QAAQ;QACvB,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,+BAA+B;QAC9C,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;gBACD,WAAW,EAAE;oBACZ,mBAAmB;iBACnB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,UAAU;QACzB,MAAM,EAAE,UAAU;QAClB,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,kCAAkC;QACjD,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;gBACD,WAAW,EAAE;oBACZ,mBAAmB;iBACnB;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,8BAA8B;QAC7C,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;gBACD,WAAW,EAAE;oBACZ,mBAAmB;iBACnB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const tanzaniaRegionsDescription: INodeProperties[];