@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,58 +0,0 @@
1
- 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; }
2
-
3
- /**
4
- * A class that represents the Region object.
5
- * @classdesc A class that represents the Region object.
6
- * @constructs Region
7
- * @param {number} date The datetime stamp.
8
- * @param {boolean} didEnter A boolean value indicating whether the region was entered.
9
- * @param {string} identifier An alphanumeric unique identifier for the region.
10
- * @param {number} latitude The latitude of the region.
11
- * @param {number} longitude The longitude of the region.
12
- * @param {number} radius The radius of the region in meters.
13
- * @param {boolean} frompositiondetection Determines whether the user's current position is inside the region.
14
- * @param {string} eventName Describe cause of region event, Entry or Exit.
15
- */
16
- class Region {
17
- constructor(date, didenter, identifier, latitude, longitude, radius, frompositiondetection, eventname) {
18
- _defineProperty(this, "Date", void 0);
19
-
20
- _defineProperty(this, "Didenter", void 0);
21
-
22
- _defineProperty(this, "Identifier", void 0);
23
-
24
- _defineProperty(this, "Latitude", void 0);
25
-
26
- _defineProperty(this, "Longitude", void 0);
27
-
28
- _defineProperty(this, "Radius", void 0);
29
-
30
- _defineProperty(this, "Frompositiondetection", void 0);
31
-
32
- _defineProperty(this, "Eventname", void 0);
33
-
34
- this.Date = date;
35
- this.Didenter = didenter;
36
- this.Identifier = identifier;
37
- this.Latitude = latitude;
38
- this.Longitude = longitude;
39
- this.Radius = radius;
40
- this.Frompositiondetection = frompositiondetection;
41
- this.Eventname = eventname;
42
- }
43
- /**
44
- * Converts json object to an object of type Region.
45
- * @param {Object} json The json representation of the region.
46
- * @returns Object
47
- * @memberof Region
48
- */
49
-
50
-
51
- static jsonToObj(json) {
52
- return new Region(json.date, json.didenter, json.identifier, json.latitude, json.longitude, json.radius, json.frompositiondetection, json.eventname);
53
- }
54
-
55
- }
56
-
57
- export default Region;
58
- //# 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;;AA+Cb,eAAeT,MAAf"}
@@ -1,48 +0,0 @@
1
- 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; }
2
-
3
- /**
4
- * @classdesc A class that represents the visits object.
5
- * @constructs Visit
6
- * @param {number} accuracy The accuracy in meters.
7
- * @param {number} arrivalDate The datetime stamp for the arrival at the place of visit.
8
- * @param {number} date Current datetime stamp.
9
- * @param {number} latitude The latitude of the place of visit.
10
- * @param {number} longitude The longitude of the plaee of visit.
11
- */
12
- class Visit {
13
- constructor(accuracy, arrivaldate, date, departuredate, latitude, longitude) {
14
- _defineProperty(this, "Accuracy", void 0);
15
-
16
- _defineProperty(this, "Arrivaldate", void 0);
17
-
18
- _defineProperty(this, "Date", void 0);
19
-
20
- _defineProperty(this, "Departuredate", void 0);
21
-
22
- _defineProperty(this, "Latitude", void 0);
23
-
24
- _defineProperty(this, "Longitude", void 0);
25
-
26
- this.Accuracy = accuracy;
27
- this.Arrivaldate = arrivaldate;
28
- this.Date = date;
29
- this.Departuredate = departuredate;
30
- this.Latitude = latitude;
31
- this.Longitude = longitude;
32
- }
33
- /**
34
- * Converts json object to an object of type Visits.
35
- * @param {Object} json The json representation of the Visits.
36
- * @returns Visit
37
- * @memberof Visit
38
- */
39
-
40
-
41
- static jsonToObj(json) {
42
- return new Visit(json.accuracy, json.arrivaldate, json.date, json.departuredate, json.latitude, json.longitude);
43
- }
44
-
45
- }
46
-
47
- module.exports = Visit;
48
- //# 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,95 +0,0 @@
1
- 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; }
2
-
3
- /**
4
- * @classdesc A class that represents the Zones of Interest (ZOI) object.
5
- * @constructs Zoi
6
- * @param {number} accumulator Represents the number of visits used to build the ZOI (only for calculation of ZOI)
7
- * @param {number} age Age is used to determine if a ZOI should be deleted by the algorithm (only for calculation of ZOI)
8
- * @param {number} covariance_det The covariance determinant (only for calculation of ZOI)
9
- * @param {number} duration The duration of all the accumulated visits of the ZOI
10
- * @param {number} endtime The exit date of the last ZOI visit
11
- * @param {string[]} idvisits The list of id visits included in this ZOI
12
- * @param {number} latmean The latitude of the center of the ZOI
13
- * @param {number} lngmean The longitude of the center of the ZOI
14
- * @param {string} period The classification of the period (HOME, WORK, OTHER or NO QUALIFIER)
15
- * @param {number} prior_probability Estimation of probability (only for calculation of ZOI)
16
- * @param {number} starttime The entry date for the first ZOI visit
17
- * @param {number} weekly_density The weekly density of the ZOI visit (only for classification of ZOI)
18
- * @param {string} wktpolygon This is the Well-known text representation of geometry of the ZOI polygon.
19
- * @param {number} x00covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
20
- * @param {number} x01covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
21
- * @param {number} x10covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
22
- * @param {number} x11covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
23
-
24
- */
25
- class Zoi {
26
- 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) {
27
- _defineProperty(this, "Accumulator", void 0);
28
-
29
- _defineProperty(this, "Age", void 0);
30
-
31
- _defineProperty(this, "Covariance_Det", void 0);
32
-
33
- _defineProperty(this, "Duration", void 0);
34
-
35
- _defineProperty(this, "Endtime", void 0);
36
-
37
- _defineProperty(this, "Idvisits", void 0);
38
-
39
- _defineProperty(this, "Latmean", void 0);
40
-
41
- _defineProperty(this, "Lngmean", void 0);
42
-
43
- _defineProperty(this, "Period", void 0);
44
-
45
- _defineProperty(this, "Prior_Probability", void 0);
46
-
47
- _defineProperty(this, "Starttime", void 0);
48
-
49
- _defineProperty(this, "Weekly_Density", void 0);
50
-
51
- _defineProperty(this, "X00Covariance_Matrix_Inverse", void 0);
52
-
53
- _defineProperty(this, "X01Covariance_Matrix_Inverse", void 0);
54
-
55
- _defineProperty(this, "X10Covariance_Matrix_Inverse", void 0);
56
-
57
- _defineProperty(this, "X11Covariance_Matrix_Inverse", void 0);
58
-
59
- _defineProperty(this, "Wktpolygon", void 0);
60
-
61
- this.Accumulator = accumulator;
62
- this.Age = age;
63
- this.Covariance_Det = covariance_det;
64
- this.Duration = duration;
65
- this.Endtime = endtime;
66
- this.Idvisits = idvisits;
67
- this.Latmean = latmean;
68
- this.Lngmean = lngmean;
69
- this.Period = period;
70
- this.Prior_Probability = prior_probability;
71
- this.Starttime = starttime;
72
- this.Weekly_Density = weekly_density;
73
- this.Covariance_Det = covariance_det;
74
- this.Wktpolygon = wktpolygon;
75
- this.X00Covariance_Matrix_Inverse = x00covariance_matrix_inverse;
76
- this.X01Covariance_Matrix_Inverse = x01covariance_matrix_inverse;
77
- this.X10Covariance_Matrix_Inverse = x10covariance_matrix_inverse;
78
- this.X11Covariance_Matrix_Inverse = x11covariance_matrix_inverse;
79
- }
80
- /**
81
- * Converts json object to an object of type Zoi.
82
- * @param {Object} json The json representation of the Zoi.
83
- * @returns Object
84
- * @memberof Zoi
85
- */
86
-
87
-
88
- static jsonToObj(json) {
89
- 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);
90
- }
91
-
92
- }
93
-
94
- module.exports = Zoi;
95
- //# 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,SAXS,EAYTC,cAZS,EAaTC,UAbS,EAcTC,4BAdS,EAeTC,4BAfS,EAgBTC,4BAhBS,EAiBTC,4BAjBS,EAkBT;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IAAA;;IACA,KAAKC,WAAL,GAAmBjB,WAAnB;IACA,KAAKkB,GAAL,GAAWjB,GAAX;IACA,KAAKkB,cAAL,GAAsBjB,cAAtB;IACA,KAAKkB,QAAL,GAAgBjB,QAAhB;IACA,KAAKkB,OAAL,GAAejB,OAAf;IACA,KAAKkB,QAAL,GAAgBjB,QAAhB;IACA,KAAKkB,OAAL,GAAejB,OAAf;IACA,KAAKkB,OAAL,GAAejB,OAAf;IACA,KAAKkB,MAAL,GAAcjB,MAAd;IACA,KAAKkB,iBAAL,GAAyBjB,iBAAzB;IACA,KAAKkB,SAAL,GAAiBjB,SAAjB;IACA,KAAKkB,cAAL,GAAsBjB,cAAtB;IACA,KAAKQ,cAAL,GAAsBjB,cAAtB;IACA,KAAK2B,UAAL,GAAkBjB,UAAlB;IACA,KAAKkB,4BAAL,GAAoCjB,4BAApC;IACA,KAAKkB,4BAAL,GAAoCjB,4BAApC;IACA,KAAKkB,4BAAL,GAAoCjB,4BAApC;IACA,KAAKkB,4BAAL,GAAoCjB,4BAApC;EACD;EACD;AACF;AACA;AACA;AACA;AACA;;;EACkB,OAATkB,SAAS,CAACC,IAAD,EAAY;IAC1B,OAAO,IAAIrC,GAAJ,CACLqC,IAAI,CAACnC,WADA,EAELmC,IAAI,CAAClC,GAFA,EAGLkC,IAAI,CAACjC,cAHA,EAILiC,IAAI,CAAChC,QAJA,EAKLgC,IAAI,CAAC/B,OALA,EAML+B,IAAI,CAAC9B,QANA,EAOL8B,IAAI,CAAC7B,OAPA,EAQL6B,IAAI,CAAC5B,OARA,EASL4B,IAAI,CAAC3B,MATA,EAUL2B,IAAI,CAAC1B,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,9 +0,0 @@
1
- import { NativeModules } from 'react-native';
2
- let PluginGeofencing = NativeModules.PluginGeofencing;
3
-
4
- if (!PluginGeofencing) {
5
- throw new Error('NativeModules.PluginGeofencing is undefined');
6
- }
7
-
8
- export default PluginGeofencing;
9
- //# sourceMappingURL=nativeInterface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["NativeModules","PluginGeofencing","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,SAASA,aAAT,QAA8B,cAA9B;AACA,IAAIC,gBAAgB,GAAGD,aAAa,CAACC,gBAArC;;AAEA,IAAI,CAACA,gBAAL,EAAuB;EACrB,MAAM,IAAIC,KAAJ,CAAU,6CAAV,CAAN;AACD;;AAED,eAAeD,gBAAf"}
@@ -1,2 +0,0 @@
1
-
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":""}
File without changes
@@ -1,156 +0,0 @@
1
- import Location from './internal/Location';
2
- import Region from './internal/Region';
3
- import Poi from './internal/Poi';
4
- import type { GeofenceRegion, RegionType, ProfileSource } from './internal/types';
5
- /**
6
- * Initializes the Woosmap object
7
- * @param arg0 A JSON object with Woosmap Key (optional) and tracking profile (`liveTracking`,`passiveTracking`,`visitsTracking`).
8
- * @returns promise:success - A callback function that will be called on success.
9
- error - A callback function that will be called on error.
10
- */
11
- declare function initialize(arg0?: any): Promise<string>;
12
- /**
13
- * A method that sets Woosmap private API key
14
- * @param apiKey new API key.
15
- * @returns promise:success - A callback function that will be called on success.
16
- error - A callback function that will be called on error.
17
- */
18
- declare function setWoosmapApiKey(apiKey: string): Promise<string>;
19
- /**
20
- * A method to start tracking the user's location.
21
- * @param trackingProfile The configuration profile to use. Values could be anyone of the following: liveTracking, passiveTracking and visitsTracking.
22
- * @returns promise:success - A callback function that will be called on success.
23
- error - A callback function that will be called on error.
24
- */
25
- declare function startTracking(trackingProfile: string): Promise<string>;
26
- /**
27
- * Stops tracking the user's location.
28
- * @returns promise:success - A callback function that will be called on success.
29
- error - A callback function that will be called on error.
30
- */
31
- declare function stopTracking(): Promise<string>;
32
- /**
33
- * A method to request the required permissions to collect locations.
34
- * @param background - A boolean value indicating whether the permissions to request is for background or foreground permission.
35
- * @returns A callback that will be called on successful authorization by the app. A callback that will be called when the app denies permission. The plugin will return an object with a message - 'Permission Denied'.
36
- */
37
- declare function requestPermissions(background?: boolean): Promise<string>;
38
- /**
39
- * A method to check if the app has granted required permissions to track location.
40
- * @returns A callback that will be called with the following status - GRANTED_BACKGROUND, GRANTED_FOREGROUND, DENIED
41
- */
42
- declare function getPermissionsStatus(): Promise<string>;
43
- /**
44
- * Method will
45
- invoke callback and pass a location object as a parameter. Method will return a watchId . This id can be used to remove a callback.
46
- * @param success new location found callback
47
- * @param error error status callback
48
- * @returns watchid
49
- */
50
- declare function watchLocation(success: (result: Location) => any, error?: any): Promise<string>;
51
- /**
52
- * A method to stop tracking location for a specified watch. If watchId is null or undefined the plugin will clear all watches.
53
- * @param watchID Reference ID.
54
- * @returns return promise with same id back in case of success otherwise error info
55
- */
56
- declare function clearLocationWatch(watchID?: string): Promise<string>;
57
- /**
58
- * A method to to track Regions. Method will invoke a callback with Region object. Method will return
59
- a watch id which can be used later to remove the callback.
60
- * @param success new location found callback
61
- * @param error error status callback
62
- * @returns watchid
63
- */
64
- declare function watchRegions(success: (result: Region) => any, error?: any): Promise<string>;
65
- /**
66
- * A method to clear the specified watch tracing the regions. If the watchId is null or undefined then it will clear all the watches tracking the regions.
67
- * @param watchID Reference ID.
68
- * @returns return promise with same id back in case of success otherwise error info
69
- */
70
- declare function clearRegionsWatch(watchID: string): Promise<string>;
71
- /**
72
- * Sets Sales Force Marketing Cloud (SFMC) credentials
73
- * @param arg0 A JSON object with SFMC credentials. Keys authenticationBaseURI, restBaseURI, client_id, client_secret and contactKey are required.
74
- * @returns promise with A callback that will be called on success or error.
75
- */
76
- declare function setSFMCCredentials(arg0: Object): Promise<string>;
77
- /**
78
- * When you create a geofence around a POI, manually define the radius value (100.0) or choose the user_properties subfield that corresponds to radius value of the geofence ("radiusPOI").
79
- * @param radius can be integer or string.
80
- * @returns promise with A callback that will be called on success or error.
81
- */
82
- declare function setPoiRadius(radius: string): Promise<string>;
83
- /**
84
- * Adds a custom region that you want to monitor.
85
- * @param region A GeofenceRegion object with latitude, longitude, radius and type.
86
- * @returns promise with A callback that will be called on success or error.
87
- */
88
- declare function addRegion(region: GeofenceRegion): Promise<string>;
89
- /**
90
- * Retrieve saved region info
91
- * @param regionID If it pass return info for given region or return all region info
92
- * @returns promise with A callback that will be called on success or error.
93
- */
94
- declare function getRegions(regionID?: string): Promise<Region[]>;
95
- /**
96
- * Retrieve saved location info
97
- * @param locationID - Optional in case of location id pass it return only that location info
98
- * @returns promise with A callback that will be called on success or error.
99
- */
100
- declare function getLocations(locationID?: string): Promise<Location[]>;
101
- /**
102
- * Retrieve saved POI info
103
- * @param poiID - Optional in case of poi id (LocationID or StoreID) pass it return only that POI info
104
- * @returns promise with A callback that will be called on success or error.
105
- */
106
- declare function getPois(poiID?: string): Promise<Poi[]>;
107
- /**
108
- * Remove saved region info
109
- * @param regionID If it pass remove info for given region or removes all region info
110
- * @returns promise with A callback that will be called on success or error.
111
- */
112
- declare function removeRegions(regionID?: string): Promise<string>;
113
- /**
114
- * Remove saved location info
115
- * @returns promise with A callback that will be called on success or error.
116
- */
117
- declare function removeLocations(): Promise<string>;
118
- /**
119
- * Remove saved POI info
120
- * @returns promise with A callback that will be called on success or error.
121
- */
122
- declare function removePois(): Promise<string>;
123
- /**
124
- * if preset tracking profiles don’t fit with your use cases, you can build your own profile and uses the startCustomTracking() method.
125
- * There are two way to host the json file:
126
- * - included in the client application (local)
127
- * - hosted externally in a file folder in your information system (external)
128
- * @param sourceType local/external
129
- * @param source location of profile to be fetch
130
- * @returns promise with A callback that will be called on success or error.
131
- */
132
- declare function startCustomTracking(sourceType: ProfileSource, source: string): Promise<string>;
133
- export type { RegionType, GeofenceRegion, Region, Location, Poi, ProfileSource, };
134
- declare const WoosmapGeofencing: {
135
- initialize: typeof initialize;
136
- setWoosmapApiKey: typeof setWoosmapApiKey;
137
- startTracking: typeof startTracking;
138
- requestPermissions: typeof requestPermissions;
139
- getPermissionsStatus: typeof getPermissionsStatus;
140
- stopTracking: typeof stopTracking;
141
- watchLocation: typeof watchLocation;
142
- clearLocationWatch: typeof clearLocationWatch;
143
- watchRegions: typeof watchRegions;
144
- clearRegionsWatch: typeof clearRegionsWatch;
145
- setSFMCCredentials: typeof setSFMCCredentials;
146
- setPoiRadius: typeof setPoiRadius;
147
- addRegion: typeof addRegion;
148
- getRegions: typeof getRegions;
149
- removeRegions: typeof removeRegions;
150
- getLocations: typeof getLocations;
151
- removeLocations: typeof removeLocations;
152
- getPois: typeof getPois;
153
- removePois: typeof removePois;
154
- startCustomTracking: typeof startCustomTracking;
155
- };
156
- export default WoosmapGeofencing;
@@ -1,18 +0,0 @@
1
- /**
2
- * @classdesc A class that represents the Airship object.
3
- * @constructs Airship
4
- * @param {string} name The name of the custom event.
5
- * @param {string} properties The attributes of the POI such as `name`, `address`, `zipCode` etc.
6
- */
7
- declare class Airship {
8
- Name: String;
9
- Properties: String;
10
- constructor(name: String, properties: String);
11
- /**
12
- * Converts json object to an object of type Airship.
13
- * @param {Object} json The json representation of Airship.
14
- * @returns Object
15
- * @memberof Airship
16
- */
17
- static jsonToObj(json: any): Airship;
18
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * @classdesc A class that represents the location object.
3
- * @constructs Location
4
- * @param {number} date The datetime stamp.
5
- * @param {number} latitude The latitude of the location.
6
-
7
- * @param {string} Locationdescription The description of the location.
8
- * @param {string} Locationid A unique identifier for the location.
9
- * @param {number} longitude The longitude of the location.
10
- */
11
- declare class Location {
12
- Date: number;
13
- Latitude: number;
14
- Locationdescription: string;
15
- Locationid: string;
16
- Longitude: number;
17
- constructor(date: number, latitude: number, locationdescription: string, locationid: string, longitude: number);
18
- /**
19
- * Converts json object to an object of type Location.
20
- * @param {Object} json The json representation of the Location.
21
- * @returns Object
22
- * @memberof Location
23
- */
24
- static jsonToObj(json: any): Location;
25
- }
26
- export default Location;
@@ -1,18 +0,0 @@
1
- /**
2
- * @classdesc A class that represents the Marketing Cloud object.
3
- * @constructs MarketingCloud
4
- * @param {string} name The name of the custom event.
5
- * @param {string} properties The attributes of the POI such as `name`, `address`, `zipCode` etc.
6
- */
7
- declare class MarketingCloud {
8
- Name: string;
9
- Properties: string;
10
- constructor(name: string, properties: string);
11
- /**
12
- * Converts json object to an object of type MarketingCloud.
13
- * @param {Object} json The json representation of MarketingCloud.
14
- * @returns Object
15
- * @memberof MarketingCloud
16
- */
17
- static jsonToObj(json: any): MarketingCloud;
18
- }
@@ -1,50 +0,0 @@
1
- /**
2
- * A class that represents the POI object.
3
- * @classdesc A class that represents the POI object.
4
- * @constructs Poi
5
- * @param {Object} jsonData A json object representing the POI.
6
- * @param {string} city The name of the city the POI belongs to.
7
- * @param {string} idstore A unique identifier for the POI.
8
- * @param {name} name The name of the POI.
9
- * @param {number} date The datetime stamp.
10
- * @param {number} distance The distance between the POI and the user's location.
11
- * @param {number} duration The duration to travel to the POI from the user's location.
12
- * @param {number} latitude The latitude of the POI.
13
- * @param {string} locationid Location id of the POI.
14
- * @param {number} longitude The longitude of the POI.
15
- * @param {string} zipcode The zip code of the POI.
16
- * @param {number} radius The radius of the POI.
17
- * @param {string} address The address of the POI.
18
- * @param {string} countrycode The countrycode of the POI.
19
- * @param {string} tags The tags for the POI.
20
- * @param {string} types The types of the POI.
21
- * @param {string} contact The contact for the POI.
22
- */
23
- declare class Poi {
24
- Jsondata: object;
25
- City: string;
26
- Idstore: string;
27
- Name: string;
28
- Date: number;
29
- Distance: number;
30
- Duration: number;
31
- Latitude: number;
32
- Locationid: string;
33
- Longitude: number;
34
- Zipcode: string;
35
- Radius: number;
36
- Countrycode: string;
37
- Tags: string;
38
- Types: string;
39
- Contact: string;
40
- Address: string;
41
- constructor(jsondata: object, city: string, idstore: string, name: string, date: number, distance: number, duration: number, latitude: number, locationid: string, longitude: number, zipcode: string, radius: number, address: string, countrycode: string, tags: string, types: string, contact: string);
42
- /**
43
- * Converts json object to an object of type Poi.
44
- * @param {Object} json The json representation of the Poi.
45
- * @returns Object
46
- * @memberof Poi
47
- */
48
- static jsonToObj(json: any): Poi;
49
- }
50
- export default Poi;
@@ -1,32 +0,0 @@
1
- /**
2
- * A class that represents the Region object.
3
- * @classdesc A class that represents the Region object.
4
- * @constructs Region
5
- * @param {number} date The datetime stamp.
6
- * @param {boolean} didEnter A boolean value indicating whether the region was entered.
7
- * @param {string} identifier An alphanumeric unique identifier for the region.
8
- * @param {number} latitude The latitude of the region.
9
- * @param {number} longitude The longitude of the region.
10
- * @param {number} radius The radius of the region in meters.
11
- * @param {boolean} frompositiondetection Determines whether the user's current position is inside the region.
12
- * @param {string} eventName Describe cause of region event, Entry or Exit.
13
- */
14
- declare class Region {
15
- Date: number;
16
- Didenter: boolean;
17
- Identifier: string;
18
- Latitude: number;
19
- Longitude: number;
20
- Radius: number;
21
- Frompositiondetection: boolean;
22
- Eventname: string;
23
- constructor(date: number, didenter: boolean, identifier: string, latitude: number, longitude: number, radius: number, frompositiondetection: boolean, eventname: string);
24
- /**
25
- * Converts json object to an object of type Region.
26
- * @param {Object} json The json representation of the region.
27
- * @returns Object
28
- * @memberof Region
29
- */
30
- static jsonToObj(json: any): Region;
31
- }
32
- export default Region;
@@ -1,25 +0,0 @@
1
- /**
2
- * @classdesc A class that represents the visits object.
3
- * @constructs Visit
4
- * @param {number} accuracy The accuracy in meters.
5
- * @param {number} arrivalDate The datetime stamp for the arrival at the place of visit.
6
- * @param {number} date Current datetime stamp.
7
- * @param {number} latitude The latitude of the place of visit.
8
- * @param {number} longitude The longitude of the plaee of visit.
9
- */
10
- declare class Visit {
11
- Accuracy: number;
12
- Arrivaldate: number;
13
- Date: number;
14
- Departuredate: number;
15
- Latitude: number;
16
- Longitude: number;
17
- constructor(accuracy: number, arrivaldate: number, date: number, departuredate: number, latitude: number, longitude: number);
18
- /**
19
- * Converts json object to an object of type Visits.
20
- * @param {Object} json The json representation of the Visits.
21
- * @returns Visit
22
- * @memberof Visit
23
- */
24
- static jsonToObj(json: any): Visit;
25
- }
@@ -1,49 +0,0 @@
1
- /**
2
- * @classdesc A class that represents the Zones of Interest (ZOI) object.
3
- * @constructs Zoi
4
- * @param {number} accumulator Represents the number of visits used to build the ZOI (only for calculation of ZOI)
5
- * @param {number} age Age is used to determine if a ZOI should be deleted by the algorithm (only for calculation of ZOI)
6
- * @param {number} covariance_det The covariance determinant (only for calculation of ZOI)
7
- * @param {number} duration The duration of all the accumulated visits of the ZOI
8
- * @param {number} endtime The exit date of the last ZOI visit
9
- * @param {string[]} idvisits The list of id visits included in this ZOI
10
- * @param {number} latmean The latitude of the center of the ZOI
11
- * @param {number} lngmean The longitude of the center of the ZOI
12
- * @param {string} period The classification of the period (HOME, WORK, OTHER or NO QUALIFIER)
13
- * @param {number} prior_probability Estimation of probability (only for calculation of ZOI)
14
- * @param {number} starttime The entry date for the first ZOI visit
15
- * @param {number} weekly_density The weekly density of the ZOI visit (only for classification of ZOI)
16
- * @param {string} wktpolygon This is the Well-known text representation of geometry of the ZOI polygon.
17
- * @param {number} x00covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
18
- * @param {number} x01covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
19
- * @param {number} x10covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
20
- * @param {number} x11covariance_matrix_inverse The covariance of a cluster (only for calculation of ZOI)
21
-
22
- */
23
- declare class Zoi {
24
- Accumulator: number;
25
- Age: number;
26
- Covariance_Det: number;
27
- Duration: number;
28
- Endtime: number;
29
- Idvisits: string[];
30
- Latmean: number;
31
- Lngmean: number;
32
- Period: string;
33
- Prior_Probability: number;
34
- Starttime: number;
35
- Weekly_Density: number;
36
- X00Covariance_Matrix_Inverse: number;
37
- X01Covariance_Matrix_Inverse: number;
38
- X10Covariance_Matrix_Inverse: number;
39
- X11Covariance_Matrix_Inverse: number;
40
- Wktpolygon: string;
41
- constructor(accumulator: number, age: number, covariance_det: number, duration: number, endtime: number, idvisits: string[], latmean: number, lngmean: number, period: string, prior_probability: number, starttime: number, weekly_density: number, wktpolygon: string, x00covariance_matrix_inverse: number, x01covariance_matrix_inverse: number, x10covariance_matrix_inverse: number, x11covariance_matrix_inverse: number);
42
- /**
43
- * Converts json object to an object of type Zoi.
44
- * @param {Object} json The json representation of the Zoi.
45
- * @returns Object
46
- * @memberof Zoi
47
- */
48
- static jsonToObj(json: any): Zoi;
49
- }
@@ -1,2 +0,0 @@
1
- declare let PluginGeofencing: any;
2
- export default PluginGeofencing;