repzo 1.0.248 → 1.0.249
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 +8 -6
- package/package.json +1 -1
- package/src/types/index.ts +11 -6
package/lib/types/index.d.ts
CHANGED
|
@@ -2448,6 +2448,7 @@ export declare namespace Service {
|
|
|
2448
2448
|
rep_must_add_delivery_date_on_invoice?: boolean;
|
|
2449
2449
|
rep_can_view_stock_on_transfers?: boolean;
|
|
2450
2450
|
rep_must_invoice_items_from_cross_inventory_and_msl?: boolean;
|
|
2451
|
+
rep_can_create_client_line_approval_request?: boolean;
|
|
2451
2452
|
}
|
|
2452
2453
|
interface TargetResults {
|
|
2453
2454
|
totalPoints: number;
|
|
@@ -2706,6 +2707,7 @@ export declare namespace Service {
|
|
|
2706
2707
|
"permissions.rep_can_access_sales_reports"?: boolean;
|
|
2707
2708
|
"permissions.rep_must_add_delivery_date_on_sales_order"?: boolean;
|
|
2708
2709
|
"permissions.rep_must_add_delivery_date_on_invoice"?: boolean;
|
|
2710
|
+
"permissions.rep_can_create_client_line_approval_request"?: boolean;
|
|
2709
2711
|
"permissions.rep_can_view_stock_on_transfers"?: boolean;
|
|
2710
2712
|
"permissions.rep_must_invoice_items_from_cross_inventory_and_msl"?: boolean;
|
|
2711
2713
|
"settings.rep_must_end_day_after"?: `${number}:${number}`;
|
|
@@ -12457,11 +12459,11 @@ export declare namespace Service {
|
|
|
12457
12459
|
_id: StringId;
|
|
12458
12460
|
app_code: string;
|
|
12459
12461
|
document_id?: StringId;
|
|
12460
|
-
document_type: "client" | "visit";
|
|
12462
|
+
document_type: "client" | "visit" | "client-line";
|
|
12461
12463
|
sync_id: string;
|
|
12462
12464
|
method?: "create" | "update" | "delete" | "patch";
|
|
12463
12465
|
visit_id?: string;
|
|
12464
|
-
type: "skip_job_at_visit_end" | "end_visit_out_of_geofence" | "skip_visit_from_route" | "create_client" | "update_client" | "delete_client";
|
|
12466
|
+
type: "skip_job_at_visit_end" | "end_visit_out_of_geofence" | "skip_visit_from_route" | "create_client" | "update_client" | "delete_client" | "update_client_line";
|
|
12465
12467
|
subtype?: "client_details" | "client_assigned_to" | "client_location" | "client_credit_limit";
|
|
12466
12468
|
implementation_type: "create_doc" | "update_doc" | "delete_doc" | "no_implementation";
|
|
12467
12469
|
creator: AdminOrRepOrTenant;
|
|
@@ -12527,11 +12529,11 @@ export declare namespace Service {
|
|
|
12527
12529
|
};
|
|
12528
12530
|
export interface CreateBody {
|
|
12529
12531
|
document_id?: StringId;
|
|
12530
|
-
document_type: "client" | "visit";
|
|
12532
|
+
document_type: "client" | "visit" | "client-line";
|
|
12531
12533
|
sync_id: string;
|
|
12532
12534
|
method?: "create" | "update" | "delete" | "patch";
|
|
12533
12535
|
visit_id?: string;
|
|
12534
|
-
type: "skip_job_at_visit_end" | "end_visit_out_of_geofence" | "skip_visit_from_route" | "create_client" | "update_client" | "delete_client";
|
|
12536
|
+
type: "skip_job_at_visit_end" | "end_visit_out_of_geofence" | "skip_visit_from_route" | "create_client" | "update_client" | "delete_client" | "update_client_line";
|
|
12535
12537
|
subtype?: "client_details" | "client_assigned_to" | "client_location" | "client_credit_limit";
|
|
12536
12538
|
implementation_type: "create_doc" | "update_doc" | "delete_doc" | "no_implementation";
|
|
12537
12539
|
creator?: AdminOrRepOrTenant;
|
|
@@ -12587,11 +12589,11 @@ export declare namespace Service {
|
|
|
12587
12589
|
_id?: StringId;
|
|
12588
12590
|
app_code?: string;
|
|
12589
12591
|
document_id?: StringId;
|
|
12590
|
-
document_type?: "client" | "visit";
|
|
12592
|
+
document_type?: "client" | "visit" | "client-line";
|
|
12591
12593
|
sync_id?: string;
|
|
12592
12594
|
method?: "create" | "update" | "delete" | "patch";
|
|
12593
12595
|
visit_id?: string;
|
|
12594
|
-
type?: "skip_job_at_visit_end" | "end_visit_out_of_geofence" | "skip_visit_from_route" | "create_client" | "update_client" | "delete_client";
|
|
12596
|
+
type?: "skip_job_at_visit_end" | "end_visit_out_of_geofence" | "skip_visit_from_route" | "create_client" | "update_client" | "delete_client" | "update_client_line";
|
|
12595
12597
|
subtype?: "client_details" | "client_assigned_to" | "client_location" | "client_credit_limit";
|
|
12596
12598
|
implementation_type?: "create_doc" | "update_doc" | "delete_doc" | "no_implementation";
|
|
12597
12599
|
creator?: AdminOrRepOrTenant;
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2858,6 +2858,7 @@ export namespace Service {
|
|
|
2858
2858
|
rep_must_add_delivery_date_on_invoice?: boolean;
|
|
2859
2859
|
rep_can_view_stock_on_transfers?: boolean;
|
|
2860
2860
|
rep_must_invoice_items_from_cross_inventory_and_msl?: boolean;
|
|
2861
|
+
rep_can_create_client_line_approval_request?: boolean;
|
|
2861
2862
|
}
|
|
2862
2863
|
interface TargetResults {
|
|
2863
2864
|
totalPoints: number;
|
|
@@ -3140,6 +3141,7 @@ export namespace Service {
|
|
|
3140
3141
|
"permissions.rep_can_access_sales_reports"?: boolean;
|
|
3141
3142
|
"permissions.rep_must_add_delivery_date_on_sales_order"?: boolean;
|
|
3142
3143
|
"permissions.rep_must_add_delivery_date_on_invoice"?: boolean;
|
|
3144
|
+
"permissions.rep_can_create_client_line_approval_request"?: boolean;
|
|
3143
3145
|
"permissions.rep_can_view_stock_on_transfers"?: boolean;
|
|
3144
3146
|
"permissions.rep_must_invoice_items_from_cross_inventory_and_msl"?: boolean;
|
|
3145
3147
|
"settings.rep_must_end_day_after"?: `${number}:${number}`;
|
|
@@ -13231,7 +13233,7 @@ export namespace Service {
|
|
|
13231
13233
|
_id: StringId;
|
|
13232
13234
|
app_code: string;
|
|
13233
13235
|
document_id?: StringId;
|
|
13234
|
-
document_type: "client" | "visit";
|
|
13236
|
+
document_type: "client" | "visit" | "client-line";
|
|
13235
13237
|
sync_id: string;
|
|
13236
13238
|
method?: "create" | "update" | "delete" | "patch";
|
|
13237
13239
|
visit_id?: string;
|
|
@@ -13241,7 +13243,8 @@ export namespace Service {
|
|
|
13241
13243
|
| "skip_visit_from_route"
|
|
13242
13244
|
| "create_client"
|
|
13243
13245
|
| "update_client"
|
|
13244
|
-
| "delete_client"
|
|
13246
|
+
| "delete_client"
|
|
13247
|
+
| "update_client_line";
|
|
13245
13248
|
subtype?:
|
|
13246
13249
|
| "client_details"
|
|
13247
13250
|
| "client_assigned_to"
|
|
@@ -13314,7 +13317,7 @@ export namespace Service {
|
|
|
13314
13317
|
};
|
|
13315
13318
|
export interface CreateBody {
|
|
13316
13319
|
document_id?: StringId;
|
|
13317
|
-
document_type: "client" | "visit";
|
|
13320
|
+
document_type: "client" | "visit" | "client-line";
|
|
13318
13321
|
sync_id: string;
|
|
13319
13322
|
method?: "create" | "update" | "delete" | "patch";
|
|
13320
13323
|
visit_id?: string;
|
|
@@ -13324,7 +13327,8 @@ export namespace Service {
|
|
|
13324
13327
|
| "skip_visit_from_route"
|
|
13325
13328
|
| "create_client"
|
|
13326
13329
|
| "update_client"
|
|
13327
|
-
| "delete_client"
|
|
13330
|
+
| "delete_client"
|
|
13331
|
+
| "update_client_line";
|
|
13328
13332
|
subtype?:
|
|
13329
13333
|
| "client_details"
|
|
13330
13334
|
| "client_assigned_to"
|
|
@@ -13389,7 +13393,7 @@ export namespace Service {
|
|
|
13389
13393
|
_id?: StringId;
|
|
13390
13394
|
app_code?: string;
|
|
13391
13395
|
document_id?: StringId;
|
|
13392
|
-
document_type?: "client" | "visit";
|
|
13396
|
+
document_type?: "client" | "visit" | "client-line";
|
|
13393
13397
|
sync_id?: string;
|
|
13394
13398
|
method?: "create" | "update" | "delete" | "patch";
|
|
13395
13399
|
visit_id?: string;
|
|
@@ -13399,7 +13403,8 @@ export namespace Service {
|
|
|
13399
13403
|
| "skip_visit_from_route"
|
|
13400
13404
|
| "create_client"
|
|
13401
13405
|
| "update_client"
|
|
13402
|
-
| "delete_client"
|
|
13406
|
+
| "delete_client"
|
|
13407
|
+
| "update_client_line";
|
|
13403
13408
|
subtype?:
|
|
13404
13409
|
| "client_details"
|
|
13405
13410
|
| "client_assigned_to"
|