repzo 1.0.62 → 1.0.63
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/types/index.d.ts +10 -7
- package/package.json +1 -1
- package/src/types/index.ts +10 -7
package/lib/types/index.d.ts
CHANGED
|
@@ -3246,6 +3246,7 @@ export declare namespace Service {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
namespace Visit {
|
|
3248
3248
|
export interface VisitSchema {
|
|
3249
|
+
_id: string;
|
|
3249
3250
|
geoPoint: {
|
|
3250
3251
|
type: "Point";
|
|
3251
3252
|
coordinates: number[];
|
|
@@ -3301,8 +3302,8 @@ export declare namespace Service {
|
|
|
3301
3302
|
meta: VisitMeta;
|
|
3302
3303
|
lines?: string[];
|
|
3303
3304
|
client_geo_location: {
|
|
3304
|
-
lat:
|
|
3305
|
-
lng:
|
|
3305
|
+
lat: number;
|
|
3306
|
+
lng: number;
|
|
3306
3307
|
};
|
|
3307
3308
|
geofencing_radius?: number;
|
|
3308
3309
|
availability?: string[];
|
|
@@ -3373,8 +3374,8 @@ export declare namespace Service {
|
|
|
3373
3374
|
meta: VisitMeta;
|
|
3374
3375
|
lines?: string[];
|
|
3375
3376
|
client_geo_location: {
|
|
3376
|
-
lat:
|
|
3377
|
-
lng:
|
|
3377
|
+
lat: number;
|
|
3378
|
+
lng: number;
|
|
3378
3379
|
};
|
|
3379
3380
|
geofencing_radius?: number;
|
|
3380
3381
|
availability?: string[];
|
|
@@ -3450,8 +3451,8 @@ export declare namespace Service {
|
|
|
3450
3451
|
meta: VisitMeta;
|
|
3451
3452
|
lines?: string[];
|
|
3452
3453
|
client_geo_location?: {
|
|
3453
|
-
lat:
|
|
3454
|
-
lng:
|
|
3454
|
+
lat: number;
|
|
3455
|
+
lng: number;
|
|
3455
3456
|
};
|
|
3456
3457
|
geofencing_radius?: number;
|
|
3457
3458
|
availability?: string[];
|
|
@@ -3560,6 +3561,7 @@ export declare namespace Service {
|
|
|
3560
3561
|
teams?: string[] | Team.TeamSchema[];
|
|
3561
3562
|
user?: string | Rep.RepSchema;
|
|
3562
3563
|
client?: string | Client.ClientSchema;
|
|
3564
|
+
route?: string | Route.RouteSchema;
|
|
3563
3565
|
};
|
|
3564
3566
|
type PopulatedKeys =
|
|
3565
3567
|
| "notes"
|
|
@@ -3571,7 +3573,8 @@ export declare namespace Service {
|
|
|
3571
3573
|
| "availability"
|
|
3572
3574
|
| "teams"
|
|
3573
3575
|
| "client"
|
|
3574
|
-
| "user"
|
|
3576
|
+
| "user"
|
|
3577
|
+
| "route";
|
|
3575
3578
|
export namespace Find {
|
|
3576
3579
|
type Params = DefaultPaginationQueryParams & {
|
|
3577
3580
|
user?: string;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -3274,6 +3274,7 @@ export namespace Service {
|
|
|
3274
3274
|
|
|
3275
3275
|
export namespace Visit {
|
|
3276
3276
|
export interface VisitSchema {
|
|
3277
|
+
_id: string;
|
|
3277
3278
|
geoPoint: {
|
|
3278
3279
|
type: "Point";
|
|
3279
3280
|
coordinates: number[];
|
|
@@ -3329,8 +3330,8 @@ export namespace Service {
|
|
|
3329
3330
|
meta: VisitMeta;
|
|
3330
3331
|
lines?: string[];
|
|
3331
3332
|
client_geo_location: {
|
|
3332
|
-
lat:
|
|
3333
|
-
lng:
|
|
3333
|
+
lat: number;
|
|
3334
|
+
lng: number;
|
|
3334
3335
|
};
|
|
3335
3336
|
geofencing_radius?: number;
|
|
3336
3337
|
availability?: string[];
|
|
@@ -3401,8 +3402,8 @@ export namespace Service {
|
|
|
3401
3402
|
meta: VisitMeta;
|
|
3402
3403
|
lines?: string[];
|
|
3403
3404
|
client_geo_location: {
|
|
3404
|
-
lat:
|
|
3405
|
-
lng:
|
|
3405
|
+
lat: number;
|
|
3406
|
+
lng: number;
|
|
3406
3407
|
};
|
|
3407
3408
|
geofencing_radius?: number;
|
|
3408
3409
|
availability?: string[];
|
|
@@ -3478,8 +3479,8 @@ export namespace Service {
|
|
|
3478
3479
|
meta: VisitMeta;
|
|
3479
3480
|
lines?: string[];
|
|
3480
3481
|
client_geo_location?: {
|
|
3481
|
-
lat:
|
|
3482
|
-
lng:
|
|
3482
|
+
lat: number;
|
|
3483
|
+
lng: number;
|
|
3483
3484
|
};
|
|
3484
3485
|
geofencing_radius?: number;
|
|
3485
3486
|
availability?: string[];
|
|
@@ -3586,6 +3587,7 @@ export namespace Service {
|
|
|
3586
3587
|
teams?: string[] | Team.TeamSchema[];
|
|
3587
3588
|
user?: string | Rep.RepSchema;
|
|
3588
3589
|
client?: string | Client.ClientSchema;
|
|
3590
|
+
route?: string | Route.RouteSchema;
|
|
3589
3591
|
};
|
|
3590
3592
|
type PopulatedKeys =
|
|
3591
3593
|
| "notes"
|
|
@@ -3597,7 +3599,8 @@ export namespace Service {
|
|
|
3597
3599
|
| "availability"
|
|
3598
3600
|
| "teams"
|
|
3599
3601
|
| "client"
|
|
3600
|
-
| "user"
|
|
3602
|
+
| "user"
|
|
3603
|
+
| "route";
|
|
3601
3604
|
export namespace Find {
|
|
3602
3605
|
export type Params = DefaultPaginationQueryParams & {
|
|
3603
3606
|
user?: string;
|