becomap 1.7.26 → 1.7.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -1153,6 +1153,17 @@ export interface BCMapView {
1153
1153
  phoneNumber: string;
1154
1154
  rating: number;
1155
1155
  }): Promise<any>;
1156
+ /**
1157
+ * Creates a new visitor in the system.
1158
+ * @param visitorData - The visitor data containing phoneNumber (required), and optional name, email, and siteId.
1159
+ * @returns Promise that resolves with the server response.
1160
+ */
1161
+ createVisitor(visitorData: {
1162
+ phoneNumber: string;
1163
+ name?: string;
1164
+ email?: string;
1165
+ siteId?: string;
1166
+ }): Promise<any>;
1156
1167
  }
1157
1168
  /**
1158
1169
  * Options for retrieving a specific site.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "becomap",
3
- "version": "1.7.26",
3
+ "version": "1.7.27",
4
4
  "description": "we lib to display becomap",
5
5
  "main": "lib/becomap.js",
6
6
  "module": "lib/becomap.js",