@woosmap/react-native-plugin-geofencing 0.1.17 → 0.1.19

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 (84) hide show
  1. package/package.json +1 -145
  2. package/android/build/.transforms/aa385bad2a83168414a07acde96b788d/results.bin +0 -1
  3. package/android/build/.transforms/aa385bad2a83168414a07acde96b788d/transformed/classes/classes.dex +0 -0
  4. package/android/build/generated/source/buildConfig/debug/com/reactnativeplugingeofencing/BuildConfig.java +0 -10
  5. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +0 -11
  6. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -16
  7. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -2
  8. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  9. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  10. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  11. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -2107
  12. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  13. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  14. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  15. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +0 -1
  16. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +0 -2
  17. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/BuildConfig.class +0 -0
  18. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/PluginGeofencingModule.class +0 -0
  19. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/PluginGeofencingPackage.class +0 -0
  20. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/WoosLocationReadyListener.class +0 -0
  21. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/WoosRegionReadyListener.class +0 -0
  22. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/WoosmapMessageAndKey.class +0 -0
  23. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/WoosmapTask.class +0 -0
  24. package/android/build/intermediates/javac/debug/classes/com/reactnativeplugingeofencing/WoosmapUtil.class +0 -0
  25. package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +0 -11
  26. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -2
  27. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -13
  28. package/android/build/intermediates/navigation_json/debug/navigation.json +0 -1
  29. package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +0 -16
  30. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  31. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -1576
  32. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -37
  33. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  34. package/lib/commonjs/index.js +0 -379
  35. package/lib/commonjs/index.js.map +0 -1
  36. package/lib/commonjs/internal/Airship.js +0 -35
  37. package/lib/commonjs/internal/Airship.js.map +0 -1
  38. package/lib/commonjs/internal/Location.js +0 -54
  39. package/lib/commonjs/internal/Location.js.map +0 -1
  40. package/lib/commonjs/internal/MarketingCloud.js +0 -35
  41. package/lib/commonjs/internal/MarketingCloud.js.map +0 -1
  42. package/lib/commonjs/internal/Poi.js +0 -103
  43. package/lib/commonjs/internal/Poi.js.map +0 -1
  44. package/lib/commonjs/internal/Region.js +0 -66
  45. package/lib/commonjs/internal/Region.js.map +0 -1
  46. package/lib/commonjs/internal/Visit.js +0 -50
  47. package/lib/commonjs/internal/Visit.js.map +0 -1
  48. package/lib/commonjs/internal/Zoi.js +0 -97
  49. package/lib/commonjs/internal/Zoi.js.map +0 -1
  50. package/lib/commonjs/internal/nativeInterface.js +0 -18
  51. package/lib/commonjs/internal/nativeInterface.js.map +0 -1
  52. package/lib/commonjs/internal/types.js +0 -2
  53. package/lib/commonjs/internal/types.js.map +0 -1
  54. package/lib/module/index.js +0 -363
  55. package/lib/module/index.js.map +0 -1
  56. package/lib/module/internal/Airship.js +0 -33
  57. package/lib/module/internal/Airship.js.map +0 -1
  58. package/lib/module/internal/Location.js +0 -46
  59. package/lib/module/internal/Location.js.map +0 -1
  60. package/lib/module/internal/MarketingCloud.js +0 -33
  61. package/lib/module/internal/MarketingCloud.js.map +0 -1
  62. package/lib/module/internal/Poi.js +0 -95
  63. package/lib/module/internal/Poi.js.map +0 -1
  64. package/lib/module/internal/Region.js +0 -58
  65. package/lib/module/internal/Region.js.map +0 -1
  66. package/lib/module/internal/Visit.js +0 -48
  67. package/lib/module/internal/Visit.js.map +0 -1
  68. package/lib/module/internal/Zoi.js +0 -95
  69. package/lib/module/internal/Zoi.js.map +0 -1
  70. package/lib/module/internal/nativeInterface.js +0 -9
  71. package/lib/module/internal/nativeInterface.js.map +0 -1
  72. package/lib/module/internal/types.js +0 -2
  73. package/lib/module/internal/types.js.map +0 -1
  74. package/lib/typescript/__tests__/index.test.d.ts +0 -0
  75. package/lib/typescript/index.d.ts +0 -156
  76. package/lib/typescript/internal/Airship.d.ts +0 -18
  77. package/lib/typescript/internal/Location.d.ts +0 -26
  78. package/lib/typescript/internal/MarketingCloud.d.ts +0 -18
  79. package/lib/typescript/internal/Poi.d.ts +0 -50
  80. package/lib/typescript/internal/Region.d.ts +0 -32
  81. package/lib/typescript/internal/Visit.d.ts +0 -25
  82. package/lib/typescript/internal/Zoi.d.ts +0 -49
  83. package/lib/typescript/internal/nativeInterface.d.ts +0 -2
  84. package/lib/typescript/internal/types.d.ts +0 -18
@@ -1,103 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
-
10
- /**
11
- * A class that represents the POI object.
12
- * @classdesc A class that represents the POI object.
13
- * @constructs Poi
14
- * @param {Object} jsonData A json object representing the POI.
15
- * @param {string} city The name of the city the POI belongs to.
16
- * @param {string} idstore A unique identifier for the POI.
17
- * @param {name} name The name of the POI.
18
- * @param {number} date The datetime stamp.
19
- * @param {number} distance The distance between the POI and the user's location.
20
- * @param {number} duration The duration to travel to the POI from the user's location.
21
- * @param {number} latitude The latitude of the POI.
22
- * @param {string} locationid Location id of the POI.
23
- * @param {number} longitude The longitude of the POI.
24
- * @param {string} zipcode The zip code of the POI.
25
- * @param {number} radius The radius of the POI.
26
- * @param {string} address The address of the POI.
27
- * @param {string} countrycode The countrycode of the POI.
28
- * @param {string} tags The tags for the POI.
29
- * @param {string} types The types of the POI.
30
- * @param {string} contact The contact for the POI.
31
- */
32
- class Poi {
33
- constructor(jsondata, city, idstore, name, date, distance, duration, latitude, locationid, longitude, zipcode, radius, address, countrycode, tags, types, contact) {
34
- _defineProperty(this, "Jsondata", void 0);
35
-
36
- _defineProperty(this, "City", void 0);
37
-
38
- _defineProperty(this, "Idstore", void 0);
39
-
40
- _defineProperty(this, "Name", void 0);
41
-
42
- _defineProperty(this, "Date", void 0);
43
-
44
- _defineProperty(this, "Distance", void 0);
45
-
46
- _defineProperty(this, "Duration", void 0);
47
-
48
- _defineProperty(this, "Latitude", void 0);
49
-
50
- _defineProperty(this, "Locationid", void 0);
51
-
52
- _defineProperty(this, "Longitude", void 0);
53
-
54
- _defineProperty(this, "Zipcode", void 0);
55
-
56
- _defineProperty(this, "Radius", void 0);
57
-
58
- _defineProperty(this, "Countrycode", void 0);
59
-
60
- _defineProperty(this, "Tags", void 0);
61
-
62
- _defineProperty(this, "Types", void 0);
63
-
64
- _defineProperty(this, "Contact", void 0);
65
-
66
- _defineProperty(this, "Address", void 0);
67
-
68
- this.Jsondata = jsondata;
69
- this.City = city;
70
- this.Idstore = idstore;
71
- this.Name = name;
72
- this.Date = date;
73
- this.Distance = distance;
74
- this.Duration = duration;
75
- this.Latitude = latitude;
76
- this.Locationid = locationid;
77
- this.Longitude = longitude;
78
- this.Zipcode = zipcode;
79
- this.Radius = radius;
80
- this.Idstore = idstore;
81
- this.Countrycode = countrycode;
82
- this.Tags = tags;
83
- this.Types = types;
84
- this.Contact = contact;
85
- this.Address = address;
86
- }
87
- /**
88
- * Converts json object to an object of type Poi.
89
- * @param {Object} json The json representation of the Poi.
90
- * @returns Object
91
- * @memberof Poi
92
- */
93
-
94
-
95
- static jsonToObj(json) {
96
- return new Poi(json.jsondata, json.city, json.idstore, json.name, json.date, json.distance, json.duration, json.latitude, json.locationid, json.longitude, json.zipcode, json.radius, json.address, json.countrycode, json.tags, json.types, json.contact);
97
- }
98
-
99
- }
100
-
101
- var _default = Poi;
102
- exports.default = _default;
103
- //# sourceMappingURL=Poi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Poi","constructor","jsondata","city","idstore","name","date","distance","duration","latitude","locationid","longitude","zipcode","radius","address","countrycode","tags","types","contact","Jsondata","City","Idstore","Name","Date","Distance","Duration","Latitude","Locationid","Longitude","Zipcode","Radius","Countrycode","Tags","Types","Contact","Address","jsonToObj","json"],"sources":["Poi.tsx"],"sourcesContent":["/**\n * A class that represents the POI object.\n * @classdesc A class that represents the POI object.\n * @constructs Poi\n * @param {Object} jsonData A json object representing the POI.\n * @param {string} city The name of the city the POI belongs to.\n * @param {string} idstore A unique identifier for the POI.\n * @param {name} name The name of the POI.\n * @param {number} date The datetime stamp.\n * @param {number} distance The distance between the POI and the user's location.\n * @param {number} duration The duration to travel to the POI from the user's location.\n * @param {number} latitude The latitude of the POI.\n * @param {string} locationid Location id of the POI.\n * @param {number} longitude The longitude of the POI.\n * @param {string} zipcode The zip code of the POI.\n * @param {number} radius The radius of the POI.\n * @param {string} address The address of the POI.\n * @param {string} countrycode The countrycode of the POI.\n * @param {string} tags The tags for the POI.\n * @param {string} types The types of the POI.\n * @param {string} contact The contact for the POI.\n */\nclass Poi {\n Jsondata: object;\n City: string;\n Idstore: string;\n Name: string;\n Date: number;\n Distance: number;\n Duration: number;\n Latitude: number;\n Locationid: string;\n Longitude: number;\n Zipcode: string;\n Radius: number;\n Countrycode: string;\n Tags: string;\n Types: string;\n Contact: string;\n Address: string;\n constructor(\n jsondata: object,\n city: string,\n idstore: string,\n name: string,\n date: number,\n distance: number,\n duration: number,\n latitude: number,\n locationid: string,\n longitude: number,\n zipcode: string,\n radius: number,\n address: string,\n countrycode: string,\n tags: string,\n types: string,\n contact: string\n ) {\n this.Jsondata = jsondata;\n this.City = city;\n this.Idstore = idstore;\n this.Name = name;\n this.Date = date;\n this.Distance = distance;\n this.Duration = duration;\n this.Latitude = latitude;\n this.Locationid = locationid;\n this.Longitude = longitude;\n this.Zipcode = zipcode;\n this.Radius = radius;\n this.Idstore = idstore;\n this.Countrycode = countrycode;\n this.Tags = tags;\n this.Types = types;\n this.Contact = contact;\n this.Address = address;\n }\n /**\n * Converts json object to an object of type Poi.\n * @param {Object} json The json representation of the Poi.\n * @returns Object\n * @memberof Poi\n */\n static jsonToObj(json: any) {\n return new Poi(\n json.jsondata,\n json.city,\n json.idstore,\n json.name,\n json.date,\n json.distance,\n json.duration,\n json.latitude,\n json.locationid,\n json.longitude,\n json.zipcode,\n json.radius,\n json.address,\n json.countrycode,\n json.tags,\n json.types,\n json.contact\n );\n }\n}\nexport default Poi;\n"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,GAAN,CAAU;EAkBRC,WAAW,CACTC,QADS,EAETC,IAFS,EAGTC,OAHS,EAITC,IAJS,EAKTC,IALS,EAMTC,QANS,EAOTC,QAPS,EAQTC,QARS,EASTC,UATS,EAUTC,SAVS,EAWTC,OAXS,EAYTC,MAZS,EAaTC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AACxB,MAZA,EAaLwB,IAAI,CAACvB,OAbA,EAcLuB,IAAI,CAACtB,WAdA,EAeLsB,IAAI,CAACrB,IAfA,EAgBLqB,IAAI,CAACpB,KAhBA,EAiBLoB,IAAI,CAACnB,OAjBA,CAAP;EAmBD;;AAlFO;;eAoFKlB,G"}
@@ -1,66 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
-
10
- /**
11
- * A class that represents the Region object.
12
- * @classdesc A class that represents the Region object.
13
- * @constructs Region
14
- * @param {number} date The datetime stamp.
15
- * @param {boolean} didEnter A boolean value indicating whether the region was entered.
16
- * @param {string} identifier An alphanumeric unique identifier for the region.
17
- * @param {number} latitude The latitude of the region.
18
- * @param {number} longitude The longitude of the region.
19
- * @param {number} radius The radius of the region in meters.
20
- * @param {boolean} frompositiondetection Determines whether the user's current position is inside the region.
21
- * @param {string} eventName Describe cause of region event, Entry or Exit.
22
- */
23
- class Region {
24
- constructor(date, didenter, identifier, latitude, longitude, radius, frompositiondetection, eventname) {
25
- _defineProperty(this, "Date", void 0);
26
-
27
- _defineProperty(this, "Didenter", void 0);
28
-
29
- _defineProperty(this, "Identifier", void 0);
30
-
31
- _defineProperty(this, "Latitude", void 0);
32
-
33
- _defineProperty(this, "Longitude", void 0);
34
-
35
- _defineProperty(this, "Radius", void 0);
36
-
37
- _defineProperty(this, "Frompositiondetection", void 0);
38
-
39
- _defineProperty(this, "Eventname", void 0);
40
-
41
- this.Date = date;
42
- this.Didenter = didenter;
43
- this.Identifier = identifier;
44
- this.Latitude = latitude;
45
- this.Longitude = longitude;
46
- this.Radius = radius;
47
- this.Frompositiondetection = frompositiondetection;
48
- this.Eventname = eventname;
49
- }
50
- /**
51
- * Converts json object to an object of type Region.
52
- * @param {Object} json The json representation of the region.
53
- * @returns Object
54
- * @memberof Region
55
- */
56
-
57
-
58
- static jsonToObj(json) {
59
- return new Region(json.date, json.didenter, json.identifier, json.latitude, json.longitude, json.radius, json.frompositiondetection, json.eventname);
60
- }
61
-
62
- }
63
-
64
- var _default = Region;
65
- exports.default = _default;
66
- //# sourceMappingURL=Region.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Region","constructor","date","didenter","identifier","latitude","longitude","radius","frompositiondetection","eventname","Date","Didenter","Identifier","Latitude","Longitude","Radius","Frompositiondetection","Eventname","jsonToObj","json"],"sources":["Region.tsx"],"sourcesContent":["/**\n * A class that represents the Region object.\n * @classdesc A class that represents the Region object.\n * @constructs Region\n * @param {number} date The datetime stamp.\n * @param {boolean} didEnter A boolean value indicating whether the region was entered.\n * @param {string} identifier An alphanumeric unique identifier for the region.\n * @param {number} latitude The latitude of the region.\n * @param {number} longitude The longitude of the region.\n * @param {number} radius The radius of the region in meters.\n * @param {boolean} frompositiondetection Determines whether the user's current position is inside the region.\n * @param {string} eventName Describe cause of region event, Entry or Exit.\n */\nclass Region {\n Date: number;\n Didenter: boolean;\n Identifier: string;\n Latitude: number;\n Longitude: number;\n Radius: number;\n Frompositiondetection: boolean;\n Eventname: string;\n constructor(\n date: number,\n didenter: boolean,\n identifier: string,\n latitude: number,\n longitude: number,\n radius: number,\n frompositiondetection: boolean,\n eventname: string\n ) {\n this.Date = date;\n this.Didenter = didenter;\n this.Identifier = identifier;\n this.Latitude = latitude;\n this.Longitude = longitude;\n this.Radius = radius;\n this.Frompositiondetection = frompositiondetection;\n this.Eventname = eventname;\n }\n /**\n * Converts json object to an object of type Region.\n * @param {Object} json The json representation of the region.\n * @returns Object\n * @memberof Region\n */\n static jsonToObj(json: any) {\n return new Region(\n json.date,\n json.didenter,\n json.identifier,\n json.latitude,\n json.longitude,\n json.radius,\n json.frompositiondetection,\n json.eventname\n );\n }\n}\nexport default Region;\n"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAN,CAAa;EASXC,WAAW,CACTC,IADS,EAETC,QAFS,EAGTC,UAHS,EAITC,QAJS,EAKTC,SALS,EAMTC,MANS,EAOTC,qBAPS,EAQTC,SARS,EAST;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IACA,KAAKC,IAAL,GAAYR,IAAZ;IACA,KAAKS,QAAL,GAAgBR,QAAhB;IACA,KAAKS,UAAL,GAAkBR,UAAlB;IACA,KAAKS,QAAL,GAAgBR,QAAhB;IACA,KAAKS,SAAL,GAAiBR,SAAjB;IACA,KAAKS,MAAL,GAAcR,MAAd;IACA,KAAKS,qBAAL,GAA6BR,qBAA7B;IACA,KAAKS,SAAL,GAAiBR,SAAjB;EACD;EACD;AACF;AACA;AACA;AACA;AACA;;;EACkB,OAATS,SAAS,CAACC,IAAD,EAAY;IAC1B,OAAO,IAAInB,MAAJ,CACLmB,IAAI,CAACjB,IADA,EAELiB,IAAI,CAAChB,QAFA,EAGLgB,IAAI,CAACf,UAHA,EAILe,IAAI,CAACd,QAJA,EAKLc,IAAI,CAACb,SALA,EAMLa,IAAI,CAACZ,MANA,EAOLY,IAAI,CAACX,qBAPA,EAQLW,IAAI,CAACV,SARA,CAAP;EAUD;;AA7CU;;eA+CET,M"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
-
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
-
5
- /**
6
- * @classdesc A class that represents the visits object.
7
- * @constructs Visit
8
- * @param {number} accuracy The accuracy in meters.
9
- * @param {number} arrivalDate The datetime stamp for the arrival at the place of visit.
10
- * @param {number} date Current datetime stamp.
11
- * @param {number} latitude The latitude of the place of visit.
12
- * @param {number} longitude The longitude of the plaee of visit.
13
- */
14
- class Visit {
15
- constructor(accuracy, arrivaldate, date, departuredate, latitude, longitude) {
16
- _defineProperty(this, "Accuracy", void 0);
17
-
18
- _defineProperty(this, "Arrivaldate", void 0);
19
-
20
- _defineProperty(this, "Date", void 0);
21
-
22
- _defineProperty(this, "Departuredate", void 0);
23
-
24
- _defineProperty(this, "Latitude", void 0);
25
-
26
- _defineProperty(this, "Longitude", void 0);
27
-
28
- this.Accuracy = accuracy;
29
- this.Arrivaldate = arrivaldate;
30
- this.Date = date;
31
- this.Departuredate = departuredate;
32
- this.Latitude = latitude;
33
- this.Longitude = longitude;
34
- }
35
- /**
36
- * Converts json object to an object of type Visits.
37
- * @param {Object} json The json representation of the Visits.
38
- * @returns Visit
39
- * @memberof Visit
40
- */
41
-
42
-
43
- static jsonToObj(json) {
44
- return new Visit(json.accuracy, json.arrivaldate, json.date, json.departuredate, json.latitude, json.longitude);
45
- }
46
-
47
- }
48
-
49
- module.exports = Visit;
50
- //# sourceMappingURL=Visit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Visit","constructor","accuracy","arrivaldate","date","departuredate","latitude","longitude","Accuracy","Arrivaldate","Date","Departuredate","Latitude","Longitude","jsonToObj","json","module","exports"],"sources":["Visit.tsx"],"sourcesContent":["/**\n * @classdesc A class that represents the visits object.\n * @constructs Visit\n * @param {number} accuracy The accuracy in meters.\n * @param {number} arrivalDate The datetime stamp for the arrival at the place of visit.\n * @param {number} date Current datetime stamp.\n * @param {number} latitude The latitude of the place of visit.\n * @param {number} longitude The longitude of the plaee of visit.\n */\nclass Visit {\n Accuracy: number;\n Arrivaldate: number;\n Date: number;\n Departuredate: number;\n Latitude: number;\n Longitude: number;\n constructor(\n accuracy: number,\n arrivaldate: number,\n date: number,\n departuredate: number,\n latitude: number,\n longitude: number\n ) {\n this.Accuracy = accuracy;\n this.Arrivaldate = arrivaldate;\n this.Date = date;\n this.Departuredate = departuredate;\n this.Latitude = latitude;\n this.Longitude = longitude;\n }\n /**\n * Converts json object to an object of type Visits.\n * @param {Object} json The json representation of the Visits.\n * @returns Visit\n * @memberof Visit\n */\n static jsonToObj(json: any): Visit {\n return new Visit(\n json.accuracy,\n json.arrivaldate,\n json.date,\n json.departuredate,\n json.latitude,\n json.longitude\n );\n }\n}\nmodule.exports = Visit;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,KAAN,CAAY;EAOVC,WAAW,CACTC,QADS,EAETC,WAFS,EAGTC,IAHS,EAITC,aAJS,EAKTC,QALS,EAMTC,SANS,EAOT;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IACA,KAAKC,QAAL,GAAgBN,QAAhB;IACA,KAAKO,WAAL,GAAmBN,WAAnB;IACA,KAAKO,IAAL,GAAYN,IAAZ;IACA,KAAKO,aAAL,GAAqBN,aAArB;IACA,KAAKO,QAAL,GAAgBN,QAAhB;IACA,KAAKO,SAAL,GAAiBN,SAAjB;EACD;EACD;AACF;AACA;AACA;AACA;AACA;;;EACkB,OAATO,SAAS,CAACC,IAAD,EAAmB;IACjC,OAAO,IAAIf,KAAJ,CACLe,IAAI,CAACb,QADA,EAELa,IAAI,CAACZ,WAFA,EAGLY,IAAI,CAACX,IAHA,EAILW,IAAI,CAACV,aAJA,EAKLU,IAAI,CAACT,QALA,EAMLS,IAAI,CAACR,SANA,CAAP;EAQD;;AArCS;;AAuCZS,MAAM,CAACC,OAAP,GAAiBjB,KAAjB"}
@@ -1,97 +0,0 @@
1
- "use strict";
2
-
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
-
5
- /**
6
- * @classdesc A class that represents the Zones of Interest (ZOI) object.
7
- * @constructs Zoi
8
- * @param {number} accumulator Represents the number of visits used to build the ZOI (only for calculation of ZOI)
9
- * @param {number} age Age is used to determine if a ZOI should be deleted by the algorithm (only for calculation of ZOI)
10
- * @param {number} covariance_det The covariance determinant (only for calculation of ZOI)
11
- * @param {number} duration The duration of all the accumulated visits of the ZOI
12
- * @param {number} endtime The exit date of the last ZOI visit
13
- * @param {string[]} idvisits The list of id visits included in this ZOI
14
- * @param {number} latmean The latitude of the center of the ZOI
15
- * @param {number} lngmean The longitude of the center of the ZOI
16
- * @param {string} period The classification of the period (HOME, WORK, OTHER or NO QUALIFIER)
17
- * @param {number} prior_probability Estimation of probability (only for calculation of ZOI)
18
- * @param {number} starttime The entry date for the first ZOI visit
19
- * @param {number} weekly_density The weekly density of the ZOI visit (only for classification of ZOI)
20
- * @param {string} wktpolygon This is the Well-known text representation of geometry of the ZOI polygon.
21
- * @param {number} x00covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
22
- * @param {number} x01covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
23
- * @param {number} x10covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
24
- * @param {number} x11covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
25
-
26
- */
27
- class Zoi {
28
- constructor(accumulator, age, covariance_det, duration, endtime, idvisits, latmean, lngmean, period, prior_probability, starttime, weekly_density, wktpolygon, x00covariance_matrix_inverse, x01covariance_matrix_inverse, x10covariance_matrix_inverse, x11covariance_matrix_inverse) {
29
- _defineProperty(this, "Accumulator", void 0);
30
-
31
- _defineProperty(this, "Age", void 0);
32
-
33
- _defineProperty(this, "Covariance_Det", void 0);
34
-
35
- _defineProperty(this, "Duration", void 0);
36
-
37
- _defineProperty(this, "Endtime", void 0);
38
-
39
- _defineProperty(this, "Idvisits", void 0);
40
-
41
- _defineProperty(this, "Latmean", void 0);
42
-
43
- _defineProperty(this, "Lngmean", void 0);
44
-
45
- _defineProperty(this, "Period", void 0);
46
-
47
- _defineProperty(this, "Prior_Probability", void 0);
48
-
49
- _defineProperty(this, "Starttime", void 0);
50
-
51
- _defineProperty(this, "Weekly_Density", void 0);
52
-
53
- _defineProperty(this, "X00Covariance_Matrix_Inverse", void 0);
54
-
55
- _defineProperty(this, "X01Covariance_Matrix_Inverse", void 0);
56
-
57
- _defineProperty(this, "X10Covariance_Matrix_Inverse", void 0);
58
-
59
- _defineProperty(this, "X11Covariance_Matrix_Inverse", void 0);
60
-
61
- _defineProperty(this, "Wktpolygon", void 0);
62
-
63
- this.Accumulator = accumulator;
64
- this.Age = age;
65
- this.Covariance_Det = covariance_det;
66
- this.Duration = duration;
67
- this.Endtime = endtime;
68
- this.Idvisits = idvisits;
69
- this.Latmean = latmean;
70
- this.Lngmean = lngmean;
71
- this.Period = period;
72
- this.Prior_Probability = prior_probability;
73
- this.Starttime = starttime;
74
- this.Weekly_Density = weekly_density;
75
- this.Covariance_Det = covariance_det;
76
- this.Wktpolygon = wktpolygon;
77
- this.X00Covariance_Matrix_Inverse = x00covariance_matrix_inverse;
78
- this.X01Covariance_Matrix_Inverse = x01covariance_matrix_inverse;
79
- this.X10Covariance_Matrix_Inverse = x10covariance_matrix_inverse;
80
- this.X11Covariance_Matrix_Inverse = x11covariance_matrix_inverse;
81
- }
82
- /**
83
- * Converts json object to an object of type Zoi.
84
- * @param {Object} json The json representation of the Zoi.
85
- * @returns Object
86
- * @memberof Zoi
87
- */
88
-
89
-
90
- static jsonToObj(json) {
91
- return new Zoi(json.accumulator, json.age, json.covariance_det, json.duration, json.endtime, json.idvisits, json.latmean, json.lngmean, json.period, json.prior_probability, json.starttime, json.weekly_density, json.wktpolygon, json.x00covariance_matrix_inverse, json.x01covariance_matrix_inverse, json.x10covariance_matrix_inverse, json.x11covariance_matrix_inverse);
92
- }
93
-
94
- }
95
-
96
- module.exports = Zoi;
97
- //# sourceMappingURL=Zoi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Zoi","constructor","accumulator","age","covariance_det","duration","endtime","idvisits","latmean","lngmean","period","prior_probability","starttime","weekly_density","wktpolygon","x00covariance_matrix_inverse","x01covariance_matrix_inverse","x10covariance_matrix_inverse","x11covariance_matrix_inverse","Accumulator","Age","Covariance_Det","Duration","Endtime","Idvisits","Latmean","Lngmean","Period","Prior_Probability","Starttime","Weekly_Density","Wktpolygon","X00Covariance_Matrix_Inverse","X01Covariance_Matrix_Inverse","X10Covariance_Matrix_Inverse","X11Covariance_Matrix_Inverse","jsonToObj","json","module","exports"],"sources":["Zoi.tsx"],"sourcesContent":["/**\n * @classdesc A class that represents the Zones of Interest (ZOI) object.\n * @constructs Zoi\n * @param {number} accumulator Represents the number of visits used to build the ZOI (only for calculation of ZOI)\n * @param {number} age Age is used to determine if a ZOI should be deleted by the algorithm (only for calculation of ZOI)\n * @param {number} covariance_det The covariance determinant (only for calculation of ZOI)\n * @param {number} duration The duration of all the accumulated visits of the ZOI\n * @param {number} endtime The exit date of the last ZOI visit\n * @param {string[]} idvisits The list of id visits included in this ZOI\n * @param {number} latmean The latitude of the center of the ZOI\n * @param {number} lngmean The longitude of the center of the ZOI\n * @param {string} period The classification of the period (HOME, WORK, OTHER or NO QUALIFIER)\n * @param {number} prior_probability Estimation of probability (only for calculation of ZOI)\n * @param {number} starttime The entry date for the first ZOI visit\n * @param {number} weekly_density The weekly density of the ZOI visit (only for classification of ZOI)\n * @param {string} wktpolygon This is the Well-known text representation of geometry of the ZOI polygon.\n * @param {number} x00covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)\n * @param {number} x01covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)\n * @param {number} x10covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)\n * @param {number} x11covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)\n\n */\nclass Zoi {\n Accumulator: number;\n Age: number;\n Covariance_Det: number;\n Duration: number;\n Endtime: number;\n Idvisits: string[];\n Latmean: number;\n Lngmean: number;\n Period: string;\n Prior_Probability: number;\n Starttime: number;\n Weekly_Density: number;\n X00Covariance_Matrix_Inverse: number;\n X01Covariance_Matrix_Inverse: number;\n X10Covariance_Matrix_Inverse: number;\n X11Covariance_Matrix_Inverse: number;\n Wktpolygon: string;\n constructor(\n accumulator: number,\n age: number,\n covariance_det: number,\n duration: number,\n endtime: number,\n idvisits: string[],\n latmean: number,\n lngmean: number,\n period: string,\n prior_probability: number,\n starttime: number,\n weekly_density: number,\n wktpolygon: string,\n x00covariance_matrix_inverse: number,\n x01covariance_matrix_inverse: number,\n x10covariance_matrix_inverse: number,\n x11covariance_matrix_inverse: number\n ) {\n this.Accumulator = accumulator;\n this.Age = age;\n this.Covariance_Det = covariance_det;\n this.Duration = duration;\n this.Endtime = endtime;\n this.Idvisits = idvisits;\n this.Latmean = latmean;\n this.Lngmean = lngmean;\n this.Period = period;\n this.Prior_Probability = prior_probability;\n this.Starttime = starttime;\n this.Weekly_Density = weekly_density;\n this.Covariance_Det = covariance_det;\n this.Wktpolygon = wktpolygon;\n this.X00Covariance_Matrix_Inverse = x00covariance_matrix_inverse;\n this.X01Covariance_Matrix_Inverse = x01covariance_matrix_inverse;\n this.X10Covariance_Matrix_Inverse = x10covariance_matrix_inverse;\n this.X11Covariance_Matrix_Inverse = x11covariance_matrix_inverse;\n }\n /**\n * Converts json object to an object of type Zoi.\n * @param {Object} json The json representation of the Zoi.\n * @returns Object\n * @memberof Zoi\n */\n static jsonToObj(json: any) {\n return new Zoi(\n json.accumulator,\n json.age,\n json.covariance_det,\n json.duration,\n json.endtime,\n json.idvisits,\n json.latmean,\n json.lngmean,\n json.period,\n json.prior_probability,\n json.starttime,\n json.weekly_density,\n json.wktpolygon,\n json.x00covariance_matrix_inverse,\n json.x01covariance_matrix_inverse,\n json.x10covariance_matrix_inverse,\n json.x11covariance_matrix_inverse\n );\n }\n}\nmodule.exports = Zoi;\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,GAAN,CAAU;EAkBRC,WAAW,CACTC,WADS,EAETC,GAFS,EAGTC,cAHS,EAITC,QAJS,EAKTC,OALS,EAMTC,QANS,EAOTC,OAPS,EAQTC,OARS,EASTC,MATS,EAUTC,iBAVS,EAWTC,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,iBAVA,EAWL0B,IAAI,CAACzB,SAXA,EAYLyB,IAAI,CAACxB,cAZA,EAaLwB,IAAI,CAACvB,UAbA,EAcLuB,IAAI,CAACtB,4BAdA,EAeLsB,IAAI,CAACrB,4BAfA,EAgBLqB,IAAI,CAACpB,4BAhBA,EAiBLoB,IAAI,CAACnB,4BAjBA,CAAP;EAmBD;;AAlFO;;AAoFVoB,MAAM,CAACC,OAAP,GAAiBvC,GAAjB"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _reactNative = require("react-native");
9
-
10
- let PluginGeofencing = _reactNative.NativeModules.PluginGeofencing;
11
-
12
- if (!PluginGeofencing) {
13
- throw new Error('NativeModules.PluginGeofencing is undefined');
14
- }
15
-
16
- var _default = PluginGeofencing;
17
- exports.default = _default;
18
- //# sourceMappingURL=nativeInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["PluginGeofencing","NativeModules","Error"],"sources":["nativeInterface.tsx"],"sourcesContent":["import { NativeModules } from 'react-native';\nlet PluginGeofencing = NativeModules.PluginGeofencing;\n\nif (!PluginGeofencing) {\n throw new Error('NativeModules.PluginGeofencing is undefined');\n}\n\nexport default PluginGeofencing;\n"],"mappings":";;;;;;;AAAA;;AACA,IAAIA,gBAAgB,GAAGC,0BAAA,CAAcD,gBAArC;;AAEA,IAAI,CAACA,gBAAL,EAAuB;EACrB,MAAM,IAAIE,KAAJ,CAAU,6CAAV,CAAN;AACD;;eAEcF,gB"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.tsx"],"sourcesContent":["/**\n * Geofence region types\n */\nexport type RegionType = 'circle' | 'isochrone';\n\n/**\n * Location of custom profile to fetch\n */\nexport type ProfileSource = 'local' | 'external';\n\n/**\n * GeofenceRegion structure\n */\nexport interface GeofenceRegion {\n regionId: string;\n lat: number;\n lng: number;\n radius: number;\n type: RegionType;\n}\n"],"mappings":""}