geo-engine-node 2.0.0 → 2.1.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.
- package/README.es.md +391 -0
- package/Readme.md +186 -83
- package/dist/index.cjs +508 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +348 -1
- package/dist/index.d.ts +348 -1
- package/dist/index.js +489 -51
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -129,6 +129,96 @@ declare class ForbiddenError extends SpatialAPIError {
|
|
|
129
129
|
declare class TimeoutError extends GeoEngineError {
|
|
130
130
|
constructor(timeoutMs: number);
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Error thrown when a user ID is missing or empty.
|
|
134
|
+
* Equivalent to Go's ErrUserIDRequired.
|
|
135
|
+
*/
|
|
136
|
+
declare class UserIDRequiredError extends ValidationError {
|
|
137
|
+
constructor(message?: string);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Error thrown when a GeoIdentity rule ID is missing or empty.
|
|
141
|
+
* Equivalent to Go's ErrRuleIDRequired.
|
|
142
|
+
*/
|
|
143
|
+
declare class RuleIDRequiredError extends ValidationError {
|
|
144
|
+
constructor(message?: string);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Error thrown when a GeoIdentity rule name is missing or empty.
|
|
148
|
+
* Equivalent to Go's ErrRuleNameRequired.
|
|
149
|
+
*/
|
|
150
|
+
declare class RuleNameRequiredError extends ValidationError {
|
|
151
|
+
constructor(message?: string);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Error thrown when an invitation email is missing or empty.
|
|
155
|
+
* Equivalent to Go's ErrEmailRequired.
|
|
156
|
+
*/
|
|
157
|
+
declare class EmailRequiredError extends ValidationError {
|
|
158
|
+
constructor(message?: string);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Error thrown when a role is missing or empty.
|
|
162
|
+
* Equivalent to Go's ErrRoleRequired.
|
|
163
|
+
*/
|
|
164
|
+
declare class RoleRequiredError extends ValidationError {
|
|
165
|
+
constructor(message?: string);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Structured error returned by the api-service Users and GeoIdentity endpoints.
|
|
169
|
+
* Equivalent to Go's APIServiceError. Branch on the subclasses (for example
|
|
170
|
+
* UserNotFoundError) or on `code`.
|
|
171
|
+
*/
|
|
172
|
+
declare class APIServiceError extends APIError {
|
|
173
|
+
/** Machine-readable reason, e.g. "USER_NOT_FOUND". Empty when the API sent none. */
|
|
174
|
+
readonly code: string;
|
|
175
|
+
/** Message returned by the API, without the SDK prefix. */
|
|
176
|
+
readonly apiMessage: string;
|
|
177
|
+
readonly details: SpatialErrorDetail[];
|
|
178
|
+
constructor(statusCode: number, code: string, message: string, details?: SpatialErrorDetail[]);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* The user does not exist in the organization (or its access was revoked).
|
|
182
|
+
* Equivalent to Go's ErrUserNotFound.
|
|
183
|
+
*/
|
|
184
|
+
declare class UserNotFoundError extends APIServiceError {
|
|
185
|
+
constructor(message?: string, statusCode?: number, code?: string, details?: SpatialErrorDetail[]);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The GeoIdentity rule does not exist.
|
|
189
|
+
* Equivalent to Go's ErrRuleNotFound.
|
|
190
|
+
*/
|
|
191
|
+
declare class RuleNotFoundError extends APIServiceError {
|
|
192
|
+
constructor(message?: string, statusCode?: number, code?: string, details?: SpatialErrorDetail[]);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The invited email already belongs to the organization.
|
|
196
|
+
* Equivalent to Go's ErrUserAlreadyExists.
|
|
197
|
+
*/
|
|
198
|
+
declare class UserAlreadyExistsError extends APIServiceError {
|
|
199
|
+
constructor(message?: string, statusCode?: number, code?: string, details?: SpatialErrorDetail[]);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* A pending invitation already exists for the email.
|
|
203
|
+
* Equivalent to Go's ErrInvitationPending.
|
|
204
|
+
*/
|
|
205
|
+
declare class InvitationPendingError extends APIServiceError {
|
|
206
|
+
constructor(message?: string, statusCode?: number, code?: string, details?: SpatialErrorDetail[]);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* The operation would leave the organization without an admin.
|
|
210
|
+
* Equivalent to Go's ErrLastAdmin.
|
|
211
|
+
*/
|
|
212
|
+
declare class LastAdminError extends APIServiceError {
|
|
213
|
+
constructor(message?: string, statusCode?: number, code?: string, details?: SpatialErrorDetail[]);
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* The operation would leave a rule without assigned subjects.
|
|
217
|
+
* Equivalent to Go's ErrLastSubject.
|
|
218
|
+
*/
|
|
219
|
+
declare class LastSubjectError extends APIServiceError {
|
|
220
|
+
constructor(message?: string, statusCode?: number, code?: string, details?: SpatialErrorDetail[]);
|
|
221
|
+
}
|
|
132
222
|
|
|
133
223
|
/**
|
|
134
224
|
* Configuration options for the GeoEngine Client.
|
|
@@ -351,6 +441,12 @@ interface RequestOptions {
|
|
|
351
441
|
body?: unknown;
|
|
352
442
|
timeout?: number;
|
|
353
443
|
isSpatial?: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Marks a Users / GeoIdentity call: the `{ success, data }` envelope is unwrapped,
|
|
446
|
+
* errors are parsed into APIServiceError subclasses, and only GET requests are
|
|
447
|
+
* retried automatically (writes such as invitations must not be sent twice).
|
|
448
|
+
*/
|
|
449
|
+
isApiService?: boolean;
|
|
354
450
|
}
|
|
355
451
|
interface HttpClientConfig {
|
|
356
452
|
apiKey: string;
|
|
@@ -380,6 +476,152 @@ declare class HttpClient {
|
|
|
380
476
|
request<T>(opts: RequestOptions): Promise<T>;
|
|
381
477
|
}
|
|
382
478
|
|
|
479
|
+
/** Verdict applied when a GeoIdentity rule matches. */
|
|
480
|
+
declare const RuleActions: {
|
|
481
|
+
readonly Allow: "ALLOW";
|
|
482
|
+
readonly Block: "BLOCK";
|
|
483
|
+
readonly Challenge: "CHALLENGE";
|
|
484
|
+
};
|
|
485
|
+
type RuleAction = (typeof RuleActions)[keyof typeof RuleActions];
|
|
486
|
+
/** Who a GeoIdentity rule applies to. `All` applies the rule to every member of the organization. */
|
|
487
|
+
declare const SubjectTypes: {
|
|
488
|
+
readonly User: "USER";
|
|
489
|
+
readonly Role: "ROLE";
|
|
490
|
+
readonly Device: "DEVICE";
|
|
491
|
+
readonly All: "ALL";
|
|
492
|
+
};
|
|
493
|
+
type SubjectType = (typeof SubjectTypes)[keyof typeof SubjectTypes];
|
|
494
|
+
/** Binds a rule to a subject. For SubjectTypes.All the subjectId is "*". */
|
|
495
|
+
interface SubjectAssignment {
|
|
496
|
+
subjectType: SubjectType;
|
|
497
|
+
subjectId: string;
|
|
498
|
+
}
|
|
499
|
+
/** GeoJSON Polygon or MultiPolygon used as a rule's spatial boundary. See polygonFromLatLng. */
|
|
500
|
+
type GeoLimit = {
|
|
501
|
+
type: 'Polygon';
|
|
502
|
+
coordinates: number[][][];
|
|
503
|
+
} | {
|
|
504
|
+
type: 'MultiPolygon';
|
|
505
|
+
coordinates: number[][][][];
|
|
506
|
+
};
|
|
507
|
+
/** A GeoIdentity access policy. */
|
|
508
|
+
interface Rule {
|
|
509
|
+
id: string;
|
|
510
|
+
orgId: string;
|
|
511
|
+
name: string;
|
|
512
|
+
description?: string;
|
|
513
|
+
priority: number;
|
|
514
|
+
action: RuleAction;
|
|
515
|
+
isActive: boolean;
|
|
516
|
+
whiteIpList: string[];
|
|
517
|
+
blackIpList: string[];
|
|
518
|
+
blockDatacenter: boolean;
|
|
519
|
+
blockTor: boolean;
|
|
520
|
+
riskAccepted: number;
|
|
521
|
+
geoLimit?: GeoLimit | null;
|
|
522
|
+
/** Only populated by calls that return a single rule (getRule, createRule, assignments...). */
|
|
523
|
+
assignedSubjects: SubjectAssignment[];
|
|
524
|
+
subjectsCount: number;
|
|
525
|
+
/** ISO 8601 timestamp. */
|
|
526
|
+
createdAt?: string;
|
|
527
|
+
/** ISO 8601 timestamp. */
|
|
528
|
+
updatedAt?: string;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* Payload for GeoIdentityService.createRule.
|
|
532
|
+
* When assignedSubjects is empty the rule applies to the whole organization.
|
|
533
|
+
*/
|
|
534
|
+
interface CreateRuleRequest {
|
|
535
|
+
name: string;
|
|
536
|
+
description?: string;
|
|
537
|
+
priority?: number;
|
|
538
|
+
action?: RuleAction;
|
|
539
|
+
isActive?: boolean;
|
|
540
|
+
/** IPs or CIDR ranges. */
|
|
541
|
+
whiteIpList?: string[];
|
|
542
|
+
/** IPs or CIDR ranges. */
|
|
543
|
+
blackIpList?: string[];
|
|
544
|
+
blockDatacenter?: boolean;
|
|
545
|
+
blockTor?: boolean;
|
|
546
|
+
riskAccepted?: number;
|
|
547
|
+
geoLimit?: GeoLimit;
|
|
548
|
+
assignedSubjects?: SubjectAssignment[];
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Payload for GeoIdentityService.updateRule. Omitted fields are left unchanged.
|
|
552
|
+
* Set geoLimit to null to remove the spatial boundary.
|
|
553
|
+
*/
|
|
554
|
+
interface UpdateRuleRequest {
|
|
555
|
+
name?: string;
|
|
556
|
+
description?: string;
|
|
557
|
+
priority?: number;
|
|
558
|
+
action?: RuleAction;
|
|
559
|
+
isActive?: boolean;
|
|
560
|
+
whiteIpList?: string[];
|
|
561
|
+
blackIpList?: string[];
|
|
562
|
+
blockDatacenter?: boolean;
|
|
563
|
+
blockTor?: boolean;
|
|
564
|
+
riskAccepted?: number;
|
|
565
|
+
geoLimit?: GeoLimit | null;
|
|
566
|
+
assignedSubjects?: SubjectAssignment[];
|
|
567
|
+
}
|
|
568
|
+
/** Filters GeoIdentityService.listRules. Omit isActive to return every rule. */
|
|
569
|
+
interface ListRulesOptions {
|
|
570
|
+
isActive?: boolean;
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Manages GeoIdentity access rules and assigns them to users or to the whole organization.
|
|
574
|
+
* Equivalent to Go's GeoIdentityService.
|
|
575
|
+
*/
|
|
576
|
+
declare class GeoIdentityService {
|
|
577
|
+
private readonly http;
|
|
578
|
+
private readonly isClosed;
|
|
579
|
+
constructor(http: HttpClient, isClosed?: () => boolean);
|
|
580
|
+
/** Creates a GeoIdentity rule. */
|
|
581
|
+
createRule(req: CreateRuleRequest): Promise<Rule>;
|
|
582
|
+
/**
|
|
583
|
+
* Returns the organization's rules ordered by priority.
|
|
584
|
+
* Use getRule to load a rule's assigned subjects.
|
|
585
|
+
*/
|
|
586
|
+
listRules(opts?: ListRulesOptions): Promise<Rule[]>;
|
|
587
|
+
/** Returns a rule including its assigned subjects. */
|
|
588
|
+
getRule(ruleId: string): Promise<Rule>;
|
|
589
|
+
/** Partially updates a rule. */
|
|
590
|
+
updateRule(ruleId: string, req: UpdateRuleRequest): Promise<Rule>;
|
|
591
|
+
/** Deletes a rule and all of its assignments. */
|
|
592
|
+
deleteRule(ruleId: string): Promise<void>;
|
|
593
|
+
/** Applies the rule to a member of the organization. Assigning twice is a no-op. */
|
|
594
|
+
assignToUser(ruleId: string, userId: string): Promise<Rule>;
|
|
595
|
+
/** Applies the rule to every member of the organization. */
|
|
596
|
+
assignToOrganization(ruleId: string): Promise<Rule>;
|
|
597
|
+
/**
|
|
598
|
+
* Removes a user assignment from the rule.
|
|
599
|
+
* Throws LastSubjectError if it is the rule's only subject; deactivate or delete the rule instead.
|
|
600
|
+
*/
|
|
601
|
+
unassignFromUser(ruleId: string, userId: string): Promise<Rule>;
|
|
602
|
+
/**
|
|
603
|
+
* Removes the organization-wide assignment from the rule.
|
|
604
|
+
* Throws LastSubjectError if it is the rule's only subject.
|
|
605
|
+
*/
|
|
606
|
+
unassignFromOrganization(ruleId: string): Promise<Rule>;
|
|
607
|
+
/**
|
|
608
|
+
* Returns the rules that apply to a user: assigned directly, through the user's role,
|
|
609
|
+
* or to the whole organization.
|
|
610
|
+
*/
|
|
611
|
+
listUserRules(userId: string): Promise<Rule[]>;
|
|
612
|
+
private changeAssignment;
|
|
613
|
+
private send;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* Builds a GeoJSON Polygon for a rule's geoLimit from [lat, lng] pairs, the same order
|
|
617
|
+
* used by GeoEngine.createGeofence. The ring is closed automatically.
|
|
618
|
+
* Equivalent to Go's PolygonFromLatLng.
|
|
619
|
+
*/
|
|
620
|
+
declare function polygonFromLatLng(coordinates: Array<[number, number] | number[]>): {
|
|
621
|
+
type: 'Polygon';
|
|
622
|
+
coordinates: number[][][];
|
|
623
|
+
};
|
|
624
|
+
|
|
383
625
|
interface IngesterClient {
|
|
384
626
|
sendLocation(deviceId: string, lat: number, lng: number): Promise<void | unknown>;
|
|
385
627
|
}
|
|
@@ -526,6 +768,95 @@ declare class GeneralGeofenceCheck {
|
|
|
526
768
|
validate(): Promise<SpatialGeneralResult>;
|
|
527
769
|
}
|
|
528
770
|
|
|
771
|
+
/**
|
|
772
|
+
* Organization roles accepted by the Users service.
|
|
773
|
+
* The short form ("admin", "viewer", ...) is also accepted by the API.
|
|
774
|
+
*/
|
|
775
|
+
declare const Roles: {
|
|
776
|
+
readonly Admin: "roles/geoengine.admin";
|
|
777
|
+
readonly Dispatcher: "roles/geoengine.dispatcher";
|
|
778
|
+
readonly Billing: "roles/geoengine.billing";
|
|
779
|
+
readonly Viewer: "roles/geoengine.viewer";
|
|
780
|
+
readonly Device: "roles/geoengine.device";
|
|
781
|
+
};
|
|
782
|
+
/** User status values returned by the API. */
|
|
783
|
+
declare const UserStatus: {
|
|
784
|
+
readonly Active: "active";
|
|
785
|
+
readonly Pending: "pending";
|
|
786
|
+
readonly Revoked: "revoked";
|
|
787
|
+
};
|
|
788
|
+
/** A member of the organization that owns the API key. */
|
|
789
|
+
interface User {
|
|
790
|
+
id: string;
|
|
791
|
+
email: string;
|
|
792
|
+
name: string;
|
|
793
|
+
role: string;
|
|
794
|
+
status: string;
|
|
795
|
+
permissions: string[];
|
|
796
|
+
/** ISO 8601 timestamp. */
|
|
797
|
+
createdAt?: string;
|
|
798
|
+
/** ISO 8601 timestamp. Absent if the user never signed in. */
|
|
799
|
+
lastLoginAt?: string;
|
|
800
|
+
}
|
|
801
|
+
/** An organization role and the permissions it grants. */
|
|
802
|
+
interface Role {
|
|
803
|
+
id: string;
|
|
804
|
+
permissions: string[];
|
|
805
|
+
}
|
|
806
|
+
/** Payload for UsersService.invite. */
|
|
807
|
+
interface InviteUserRequest {
|
|
808
|
+
email: string;
|
|
809
|
+
role: string;
|
|
810
|
+
/** Shown in the invitation email. Optional. */
|
|
811
|
+
inviterName?: string;
|
|
812
|
+
/** Email language: "es" (default), "en" or "pt". Optional. */
|
|
813
|
+
lang?: 'es' | 'en' | 'pt' | (string & {});
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* Result of UsersService.invite. The invitation email is sent by GeoEngine;
|
|
817
|
+
* inviteUrl is returned as well so it can be delivered through other channels.
|
|
818
|
+
*/
|
|
819
|
+
interface Invitation {
|
|
820
|
+
email: string;
|
|
821
|
+
role: string;
|
|
822
|
+
status: string;
|
|
823
|
+
inviteUrl: string;
|
|
824
|
+
/** ISO 8601 timestamp. */
|
|
825
|
+
expiresAt?: string;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Manages organization members, roles and invitations through the api-service.
|
|
829
|
+
* Equivalent to Go's UsersService.
|
|
830
|
+
*/
|
|
831
|
+
declare class UsersService {
|
|
832
|
+
private readonly http;
|
|
833
|
+
private readonly isClosed;
|
|
834
|
+
constructor(http: HttpClient, isClosed?: () => boolean);
|
|
835
|
+
/** Returns the members of the organization. */
|
|
836
|
+
list(): Promise<User[]>;
|
|
837
|
+
/** Returns a single member of the organization. */
|
|
838
|
+
get(userId: string): Promise<User>;
|
|
839
|
+
/** Returns the roles available to the organization and their permissions. */
|
|
840
|
+
listRoles(): Promise<Role[]>;
|
|
841
|
+
/**
|
|
842
|
+
* Creates an invitation and emails it to the recipient.
|
|
843
|
+
* Throws InvitationPendingError if a pending invitation already exists for the email,
|
|
844
|
+
* and UserAlreadyExistsError if the email already belongs to the organization.
|
|
845
|
+
*/
|
|
846
|
+
invite(req: InviteUserRequest): Promise<Invitation>;
|
|
847
|
+
/**
|
|
848
|
+
* Changes the role of a member. The new permissions apply on the user's next sign-in.
|
|
849
|
+
* Throws LastAdminError if the change would leave the organization without an admin.
|
|
850
|
+
*/
|
|
851
|
+
updateRole(userId: string, role: string): Promise<User>;
|
|
852
|
+
/**
|
|
853
|
+
* Revokes a member's access to the organization.
|
|
854
|
+
* Throws LastAdminError if the member is the last admin.
|
|
855
|
+
*/
|
|
856
|
+
remove(userId: string): Promise<void>;
|
|
857
|
+
private send;
|
|
858
|
+
}
|
|
859
|
+
|
|
529
860
|
/**
|
|
530
861
|
* GeoEngine Client for interacting with GeoEngine APIs over HTTP REST.
|
|
531
862
|
* Equivalent to Go's Client struct.
|
|
@@ -541,6 +872,22 @@ declare class GeoEngine {
|
|
|
541
872
|
* Alias for spatial (to maintain exact casing compatibility with Go client.Spatial).
|
|
542
873
|
*/
|
|
543
874
|
readonly Spatial: SpatialService;
|
|
875
|
+
/**
|
|
876
|
+
* Users manages organization members, roles and invitations.
|
|
877
|
+
*/
|
|
878
|
+
readonly users: UsersService;
|
|
879
|
+
/**
|
|
880
|
+
* Alias for users (matches Go client.Users).
|
|
881
|
+
*/
|
|
882
|
+
readonly Users: UsersService;
|
|
883
|
+
/**
|
|
884
|
+
* GeoIdentity manages GeoIdentity access rules for users and the organization.
|
|
885
|
+
*/
|
|
886
|
+
readonly geoIdentity: GeoIdentityService;
|
|
887
|
+
/**
|
|
888
|
+
* Alias for geoIdentity (matches Go client.GeoIdentity).
|
|
889
|
+
*/
|
|
890
|
+
readonly GeoIdentity: GeoIdentityService;
|
|
544
891
|
/**
|
|
545
892
|
* Initializes a new GeoEngine client instance.
|
|
546
893
|
*
|
|
@@ -637,4 +984,4 @@ declare function validateAndNormalizePolygon(coordinates: Array<[number, number]
|
|
|
637
984
|
*/
|
|
638
985
|
declare function generateHMACSignature(key: string, timestamp: number): string;
|
|
639
986
|
|
|
640
|
-
export { APIError, AsyncIngester, AuthenticationError, GeoEngine as Client, ClientClosedError, DeviceIDRequiredError, ForbiddenError, GeneralGeofenceCheck, GeoEngine, GeoEngineError, type GeoEngineOptions, GeofenceIDRequiredError, type GeofenceMatch, GeofenceNotFoundError, type GeofenceRequest, type HttpClientConfig, type IngestResponse, type IngesterClient, InvalidCoordinatesError, InvalidLatitudeError, InvalidLongitudeError, type LocationPing, QuotaExceededError, SingleGeofenceCheck, SpatialAPIError, SpatialCheckBuilder, type SpatialErrorDetail, type SpatialGeneralRequest, SpatialGeneralResult, type SpatialGeneralResultData, SpatialService, type SpatialValidationRequest, SpatialValidationResult, type SpatialValidationResultData, TimeoutError, ValidationError, GeoEngine as default, generateHMACSignature, validateAndNormalizePolygon, validateCoordinates, validateDeviceId, validateGeofenceId };
|
|
987
|
+
export { APIError, APIServiceError, AsyncIngester, AuthenticationError, GeoEngine as Client, ClientClosedError, type CreateRuleRequest, DeviceIDRequiredError, EmailRequiredError, ForbiddenError, GeneralGeofenceCheck, GeoEngine, GeoEngineError, type GeoEngineOptions, GeoIdentityService, type GeoLimit, GeofenceIDRequiredError, type GeofenceMatch, GeofenceNotFoundError, type GeofenceRequest, type HttpClientConfig, type IngestResponse, type IngesterClient, InvalidCoordinatesError, InvalidLatitudeError, InvalidLongitudeError, type Invitation, InvitationPendingError, type InviteUserRequest, LastAdminError, LastSubjectError, type ListRulesOptions, type LocationPing, QuotaExceededError, type Role, RoleRequiredError, Roles, type Rule, type RuleAction, RuleActions, RuleIDRequiredError, RuleNameRequiredError, RuleNotFoundError, SingleGeofenceCheck, SpatialAPIError, SpatialCheckBuilder, type SpatialErrorDetail, type SpatialGeneralRequest, SpatialGeneralResult, type SpatialGeneralResultData, SpatialService, type SpatialValidationRequest, SpatialValidationResult, type SpatialValidationResultData, type SubjectAssignment, type SubjectType, SubjectTypes, TimeoutError, type UpdateRuleRequest, type User, UserAlreadyExistsError, UserIDRequiredError, UserNotFoundError, UserStatus, UsersService, ValidationError, GeoEngine as default, generateHMACSignature, polygonFromLatLng, validateAndNormalizePolygon, validateCoordinates, validateDeviceId, validateGeofenceId };
|