repzo 1.0.264 → 1.0.265
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 -1
- package/package.json +1 -1
- package/src/types/index.ts +8 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -2454,6 +2454,8 @@ export declare namespace Service {
|
|
|
2454
2454
|
rep_can_view_stock_on_transfers?: boolean;
|
|
2455
2455
|
rep_must_invoice_items_from_cross_inventory_and_msl?: boolean;
|
|
2456
2456
|
rep_can_create_client_line_approval_request?: boolean;
|
|
2457
|
+
rep_can_enter_client_code_at_create_client?: boolean;
|
|
2458
|
+
rep_can_edit_client_location_at_create_client?: boolean;
|
|
2457
2459
|
}
|
|
2458
2460
|
interface TargetResults {
|
|
2459
2461
|
totalPoints: number;
|
|
@@ -2713,6 +2715,8 @@ export declare namespace Service {
|
|
|
2713
2715
|
"permissions.rep_must_add_delivery_date_on_sales_order"?: boolean;
|
|
2714
2716
|
"permissions.rep_must_add_delivery_date_on_invoice"?: boolean;
|
|
2715
2717
|
"permissions.rep_can_create_client_line_approval_request"?: boolean;
|
|
2718
|
+
"permissions.rep_can_enter_client_code_at_create_client"?: boolean;
|
|
2719
|
+
"permissions.rep_can_edit_client_location_at_create_client"?: boolean;
|
|
2716
2720
|
"permissions.rep_can_view_stock_on_transfers"?: boolean;
|
|
2717
2721
|
"permissions.rep_must_invoice_items_from_cross_inventory_and_msl"?: boolean;
|
|
2718
2722
|
"settings.rep_must_end_day_after"?: `${number}:${number}`;
|
|
@@ -8258,7 +8262,9 @@ export declare namespace Service {
|
|
|
8258
8262
|
bulkUpdatePositions?: boolean;
|
|
8259
8263
|
[key: string]: any;
|
|
8260
8264
|
};
|
|
8261
|
-
type Body =
|
|
8265
|
+
type Body = {
|
|
8266
|
+
items: Pick<Data, "_id" | "position">[];
|
|
8267
|
+
};
|
|
8262
8268
|
type Result = {
|
|
8263
8269
|
messages: string[];
|
|
8264
8270
|
errors: any[];
|
|
@@ -17716,6 +17722,7 @@ export declare namespace Service {
|
|
|
17716
17722
|
divisions: Division[];
|
|
17717
17723
|
company_namespace: string[];
|
|
17718
17724
|
print_settings?: PrintSettings;
|
|
17725
|
+
client_can_view_template: boolean;
|
|
17719
17726
|
createdAt: Date;
|
|
17720
17727
|
updatedAt: Date;
|
|
17721
17728
|
}
|
|
@@ -17733,6 +17740,7 @@ export declare namespace Service {
|
|
|
17733
17740
|
divisions: Division[];
|
|
17734
17741
|
company_namespace?: string[];
|
|
17735
17742
|
print_settings?: PrintSettings;
|
|
17743
|
+
client_can_view_template?: boolean;
|
|
17736
17744
|
}
|
|
17737
17745
|
export type UpdateBody = Partial<Data>;
|
|
17738
17746
|
export type PopulatedDoc = Data & {
|
|
@@ -17757,6 +17765,7 @@ export declare namespace Service {
|
|
|
17757
17765
|
scoring_enabled?: boolean | boolean[];
|
|
17758
17766
|
completion_rules_enabled?: boolean | boolean[];
|
|
17759
17767
|
disabled?: boolean;
|
|
17768
|
+
client_can_view_template?: boolean;
|
|
17760
17769
|
};
|
|
17761
17770
|
interface Result extends DefaultPaginationResult {
|
|
17762
17771
|
data: PopulatedDoc[];
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -2867,6 +2867,8 @@ export namespace Service {
|
|
|
2867
2867
|
rep_can_view_stock_on_transfers?: boolean;
|
|
2868
2868
|
rep_must_invoice_items_from_cross_inventory_and_msl?: boolean;
|
|
2869
2869
|
rep_can_create_client_line_approval_request?: boolean;
|
|
2870
|
+
rep_can_enter_client_code_at_create_client?: boolean;
|
|
2871
|
+
rep_can_edit_client_location_at_create_client?: boolean;
|
|
2870
2872
|
}
|
|
2871
2873
|
interface TargetResults {
|
|
2872
2874
|
totalPoints: number;
|
|
@@ -3150,6 +3152,8 @@ export namespace Service {
|
|
|
3150
3152
|
"permissions.rep_must_add_delivery_date_on_sales_order"?: boolean;
|
|
3151
3153
|
"permissions.rep_must_add_delivery_date_on_invoice"?: boolean;
|
|
3152
3154
|
"permissions.rep_can_create_client_line_approval_request"?: boolean;
|
|
3155
|
+
"permissions.rep_can_enter_client_code_at_create_client"?: boolean;
|
|
3156
|
+
"permissions.rep_can_edit_client_location_at_create_client"?: boolean;
|
|
3153
3157
|
"permissions.rep_can_view_stock_on_transfers"?: boolean;
|
|
3154
3158
|
"permissions.rep_must_invoice_items_from_cross_inventory_and_msl"?: boolean;
|
|
3155
3159
|
"settings.rep_must_end_day_after"?: `${number}:${number}`;
|
|
@@ -8812,7 +8816,7 @@ export namespace Service {
|
|
|
8812
8816
|
bulkUpdatePositions?: boolean;
|
|
8813
8817
|
[key: string]: any;
|
|
8814
8818
|
};
|
|
8815
|
-
export type Body = Pick<Data, "_id" | "position">[];
|
|
8819
|
+
export type Body = { items: Pick<Data, "_id" | "position">[] };
|
|
8816
8820
|
export type Result = {
|
|
8817
8821
|
messages: string[];
|
|
8818
8822
|
errors: any[];
|
|
@@ -19794,6 +19798,7 @@ export namespace Service {
|
|
|
19794
19798
|
divisions: Division[];
|
|
19795
19799
|
company_namespace: string[];
|
|
19796
19800
|
print_settings?: PrintSettings;
|
|
19801
|
+
client_can_view_template: boolean;
|
|
19797
19802
|
createdAt: Date;
|
|
19798
19803
|
updatedAt: Date;
|
|
19799
19804
|
}
|
|
@@ -19812,6 +19817,7 @@ export namespace Service {
|
|
|
19812
19817
|
divisions: Division[];
|
|
19813
19818
|
company_namespace?: string[];
|
|
19814
19819
|
print_settings?: PrintSettings;
|
|
19820
|
+
client_can_view_template?: boolean;
|
|
19815
19821
|
}
|
|
19816
19822
|
export type UpdateBody = Partial<Data>;
|
|
19817
19823
|
|
|
@@ -19843,6 +19849,7 @@ export namespace Service {
|
|
|
19843
19849
|
scoring_enabled?: boolean | boolean[];
|
|
19844
19850
|
completion_rules_enabled?: boolean | boolean[];
|
|
19845
19851
|
disabled?: boolean;
|
|
19852
|
+
client_can_view_template?: boolean;
|
|
19846
19853
|
};
|
|
19847
19854
|
export interface Result extends DefaultPaginationResult {
|
|
19848
19855
|
data: PopulatedDoc[];
|