repzo 1.0.40 → 1.0.41

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.
@@ -453,6 +453,12 @@ export declare namespace Service {
453
453
  [key: string]: any;
454
454
  };
455
455
  integrated_client_balance?: number;
456
+ invoice_balance_limit?: number;
457
+ payment_terms_grace_period_days?: number;
458
+ enable_invoice_balance_limit?: boolean;
459
+ enable_payment_terms_grace_period_days?: boolean;
460
+ is_simplified?: boolean;
461
+ last_login_time?: number;
456
462
  createdAt: string;
457
463
  updatedAt: string;
458
464
  __v: number;
@@ -518,6 +524,12 @@ export declare namespace Service {
518
524
  [key: string]: any;
519
525
  };
520
526
  integrated_client_balance?: number;
527
+ invoice_balance_limit?: number;
528
+ payment_terms_grace_period_days?: number;
529
+ enable_invoice_balance_limit?: boolean;
530
+ enable_payment_terms_grace_period_days?: boolean;
531
+ is_simplified?: boolean;
532
+ last_login_time?: number;
521
533
  }
522
534
  type PopulatedKeys =
523
535
  | "tags"
@@ -1684,6 +1696,51 @@ export declare namespace Service {
1684
1696
  rep_can_create_transfer_unload?: boolean;
1685
1697
  rep_can_create_return_invoice?: boolean;
1686
1698
  rep_can_sell_zero_product_price?: boolean;
1699
+ rep_can_create_sales_order_out_of_visit?: boolean;
1700
+ rep_can_create_cash_invoice?: boolean;
1701
+ rep_can_sell_above_product_price?: boolean;
1702
+ rep_can_sell_below_product_price?: boolean;
1703
+ rep_can_create_return_out_of_visit?: boolean;
1704
+ rep_can_skip_return_reason?: boolean;
1705
+ rep_can_create_invoice_out_of_visit?: boolean;
1706
+ rep_can_create_free_payments?: boolean;
1707
+ rep_can_partially_pay_invoice?: boolean;
1708
+ auto_close_visit_when_out_of_geo_fence?: boolean;
1709
+ end_visit_when_out_of_geofence?: boolean;
1710
+ end_visit_when_low_accuracy?: boolean;
1711
+ rep_can_create_workorder?: boolean;
1712
+ rep_can_create_asset?: boolean;
1713
+ rep_can_skip_promotions?: boolean;
1714
+ rep_can_skip_item_status_feedback?: boolean;
1715
+ rep_can_skip_item_status_note?: boolean;
1716
+ rep_can_skip_item_status_type?: boolean;
1717
+ rep_can_end_visit_without_submitting_item_status?: boolean;
1718
+ rep_can_submit_multiple_item_status_products?: boolean;
1719
+ rep_can_edit_return_product_price?: boolean;
1720
+ rep_can_skip_cart_calculation_until_checkout?: boolean;
1721
+ rep_can_start_day_without_gps_signal?: boolean;
1722
+ rep_can_create_add_client_approval_request?: boolean;
1723
+ rep_can_create_edit_client_details_approval_request: boolean;
1724
+ rep_can_create_edit_client_assigned_to_approval_request: boolean;
1725
+ rep_can_create_edit_client_location_approval_request: boolean;
1726
+ rep_can_create_delete_client_approval_request: boolean;
1727
+ rep_can_create_skip_job_at_visit_end_approval_request: boolean;
1728
+ rep_can_create_skip_geofence_at_visit_end_approval_request: boolean;
1729
+ rep_can_create_credit_invoice_for_cash_client: boolean;
1730
+ rep_can_view_client_credit_limit: boolean;
1731
+ rep_can_create_edit_client_credit_limit_approval_request: boolean;
1732
+ rep_can_assign_workorder: boolean;
1733
+ rep_can_visit_outside_route: boolean;
1734
+ rep_can_edit_retail_execution_entry: boolean;
1735
+ rep_can_edit_form_entry: boolean;
1736
+ rep_can_skip_visit_from_route_sequence: boolean;
1737
+ rep_can_create_return_sales_order: boolean;
1738
+ rep_can_edit_sales_order_custom_status?: boolean;
1739
+ rep_can_edit_invoice_custom_status?: boolean;
1740
+ rep_can_start_day_with_outstanding_settlement_balance?: boolean;
1741
+ rep_to_create_invoice_variant_batch_from_assigned_warehouse?: boolean;
1742
+ rep_to_create_sales_order_variant_batch_assigned_main_warehouse?: boolean;
1743
+ rep_can_create_pull_from_client_assigned_to_approval_request?: boolean;
1687
1744
  }
1688
1745
  interface TargetResults {
1689
1746
  totalPoints: number;
@@ -1692,6 +1749,20 @@ export declare namespace Service {
1692
1749
  averageAchievements: number;
1693
1750
  pointsCap: number;
1694
1751
  }
1752
+ interface RepSettings {
1753
+ allowable_accuracy: number;
1754
+ is_item_status_per_visit_limited?: boolean;
1755
+ item_status_per_visit_limit?: number;
1756
+ location_permission: "always_allow" | "while_using";
1757
+ activities_report_scope: "self" | "team" | "company_namespace";
1758
+ maximum_cash_outstanding_settlement_balance_to_start_day?: number;
1759
+ maximum_check_outstanding_settlement_balance_to_start_day?: number;
1760
+ maximum_total_outstanding_settlement_balance_to_start_day?: number;
1761
+ watermark_client_name?: boolean;
1762
+ watermark_time?: boolean;
1763
+ watermark_date?: boolean;
1764
+ watermark_coordinates?: boolean;
1765
+ }
1695
1766
  type JobOption = 0 | 1 | 2;
1696
1767
  export interface RepSchema {
1697
1768
  _id: string;
@@ -1731,6 +1802,22 @@ export declare namespace Service {
1731
1802
  freshchat_id?: string;
1732
1803
  disabled?: boolean;
1733
1804
  company_namespace: string[];
1805
+ settings: RepSettings;
1806
+ is_test?: boolean;
1807
+ form_v2_option?: "all" | "none" | "assigned" | "client_assigned";
1808
+ assigned_forms_v2?: string[];
1809
+ retail_execution_template_option?:
1810
+ | "all"
1811
+ | "client_assigned"
1812
+ | "assigned"
1813
+ | "none";
1814
+ assigned_retail_execution_templates?: string[];
1815
+ customFields?: {
1816
+ [key: string]: boolean | string | number;
1817
+ };
1818
+ media?: string[];
1819
+ cover_photo?: string;
1820
+ last_login_time?: number;
1734
1821
  createdAt: string;
1735
1822
  updatedAt: string;
1736
1823
  __v: number;
@@ -1772,11 +1859,28 @@ export declare namespace Service {
1772
1859
  freshchat_id?: string;
1773
1860
  disabled?: boolean;
1774
1861
  company_namespace: string[];
1862
+ settings?: RepSettings;
1863
+ is_test?: boolean;
1864
+ form_v2_option?: "all" | "none" | "assigned" | "client_assigned";
1865
+ assigned_forms_v2?: string[];
1866
+ retail_execution_template_option?:
1867
+ | "all"
1868
+ | "client_assigned"
1869
+ | "assigned"
1870
+ | "none";
1871
+ assigned_retail_execution_templates?: string[];
1872
+ customFields?: {
1873
+ [key: string]: boolean | string | number;
1874
+ };
1875
+ media?: string[];
1876
+ cover_photo?: string;
1877
+ last_login_time?: number;
1775
1878
  }
1776
- type PopulatedKeys = "line" | "job_category";
1879
+ type PopulatedKeys = "line" | "job_category" | "teams";
1777
1880
  export type RepWithPopulatedKeysSchema = RepSchema & {
1778
1881
  lines?: string[] | Line.LineSchema[];
1779
1882
  job_category?: string[] | JobCategory.JobCategorySchema[];
1883
+ teams?: string[] | Team.TeamSchema[];
1780
1884
  };
1781
1885
  export namespace Find {
1782
1886
  type Params = DefaultPaginationQueryParams & {
@@ -1817,6 +1921,78 @@ export declare namespace Service {
1817
1921
  "permissions.rep_can_create_transfer_load"?: boolean;
1818
1922
  "permissions.rep_can_create_transfer_unload"?: boolean;
1819
1923
  "permissions.rep_can_create_return_invoice"?: boolean;
1924
+ "permissions.rep_can_create_sales_order_out_of_visit"?: boolean;
1925
+ "permissions.rep_can_create_cash_invoice"?: boolean;
1926
+ "permissions.rep_can_sell_above_product_price"?: boolean;
1927
+ "permissions.rep_can_sell_below_product_price"?: boolean;
1928
+ "permissions.rep_can_create_return_out_of_visit"?: boolean;
1929
+ "permissions.rep_can_skip_return_reason"?: boolean;
1930
+ "permissions.rep_can_create_invoice_out_of_visit"?: boolean;
1931
+ "permissions.rep_can_create_free_payments"?: boolean;
1932
+ "permissions.rep_can_partially_pay_invoice"?: boolean;
1933
+ "permissions.auto_close_visit_when_out_of_geo_fence"?: boolean;
1934
+ "permissions.end_visit_when_out_of_geofence"?: boolean;
1935
+ "permissions.end_visit_when_low_accuracy"?: boolean;
1936
+ "permissions.rep_can_create_workorder"?: boolean;
1937
+ "permissions.rep_can_create_asset"?: boolean;
1938
+ "permissions.rep_can_skip_promotions"?: boolean;
1939
+ "permissions.rep_can_skip_item_status_feedback"?: boolean;
1940
+ "permissions.rep_can_skip_item_status_note"?: boolean;
1941
+ "permissions.rep_can_skip_item_status_type"?: boolean;
1942
+ "permissions.rep_can_end_visit_without_submitting_item_status"?: boolean;
1943
+ "permissions.rep_can_submit_multiple_item_status_products"?: boolean;
1944
+ "permissions.rep_can_edit_return_product_price"?: boolean;
1945
+ "permissions.rep_can_skip_cart_calculation_until_checkout"?: boolean;
1946
+ "permissions.rep_can_start_day_without_gps_signal"?: boolean;
1947
+ "permissions.rep_can_create_add_client_approval_request"?: boolean;
1948
+ "permissions.rep_can_create_edit_client_details_approval_request"?: boolean;
1949
+ "permissions.rep_can_create_edit_client_assigned_to_approval_request"?: boolean;
1950
+ "permissions.rep_can_create_edit_client_location_approval_request"?: boolean;
1951
+ "permissions.rep_can_create_delete_client_approval_request"?: boolean;
1952
+ "permissions.rep_can_create_skip_job_at_visit_end_approval_request"?: boolean;
1953
+ "permissions.rep_can_create_skip_geofence_at_visit_end_approval_request"?: boolean;
1954
+ "permissions.rep_can_create_credit_invoice_for_cash_client"?: boolean;
1955
+ "permissions.rep_can_view_client_credit_limit"?: boolean;
1956
+ "permissions.rep_can_create_edit_client_credit_limit_approval_request"?: boolean;
1957
+ "permissions.rep_can_assign_workorder"?: boolean;
1958
+ "permissions.rep_can_visit_outside_route"?: boolean;
1959
+ "permissions.rep_can_edit_retail_execution_entry"?: boolean;
1960
+ "permissions.rep_can_edit_form_entry"?: boolean;
1961
+ "permissions.rep_can_skip_visit_from_route_sequence"?: boolean;
1962
+ "permissions.rep_can_create_return_sales_order"?: boolean;
1963
+ "permissions.rep_can_edit_sales_order_custom_status"?: boolean;
1964
+ "permissions.rep_can_edit_invoice_custom_status"?: boolean;
1965
+ "permissions.rep_can_start_day_with_outstanding_settlement_balance"?: boolean;
1966
+ "permissions.rep_to_create_invoice_variant_batch_from_assigned_warehouse"?: boolean;
1967
+ "permissions.rep_to_create_sales_order_variant_batch_assigned_main_warehouse"?: boolean;
1968
+ "permissions.rep_can_create_pull_from_client_assigned_to_approval_request"?: boolean;
1969
+ "settings.allowable_accuracy": number;
1970
+ "settings.is_item_status_per_visit_limited"?: boolean;
1971
+ "settings.item_status_per_visit_limit"?: number;
1972
+ "settings.location_permission": "always_allow" | "while_using";
1973
+ "settings.activities_report_scope":
1974
+ | "self"
1975
+ | "team"
1976
+ | "company_namespace";
1977
+ "settings.maximum_cash_outstanding_settlement_balance_to_start_day"?: number;
1978
+ "settings.maximum_check_outstanding_settlement_balance_to_start_day"?: number;
1979
+ "settings.maximum_total_outstanding_settlement_balance_to_start_day"?: number;
1980
+ "settings.watermark_client_name"?: boolean;
1981
+ "settings.watermark_time"?: boolean;
1982
+ "settings.watermark_date"?: boolean;
1983
+ "settings.watermark_coordinates"?: boolean;
1984
+ is_test?: boolean;
1985
+ form_v2_option?: "all" | "none" | "assigned" | "client_assigned";
1986
+ assigned_forms_v2?: string | string[];
1987
+ retail_execution_template_option?:
1988
+ | "all"
1989
+ | "client_assigned"
1990
+ | "assigned"
1991
+ | "none";
1992
+ assigned_retail_execution_templates?: string | string[];
1993
+ media?: string | string[];
1994
+ cover_photo?: string;
1995
+ last_login_time?: number;
1820
1996
  [key: string]: any;
1821
1997
  populatedKeys?: PopulatedKeys[];
1822
1998
  withProductLines?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -453,6 +453,12 @@ export namespace Service {
453
453
  payment_type: "cash" | "credit";
454
454
  integration_meta?: { [key: string]: any };
455
455
  integrated_client_balance?: number;
456
+ invoice_balance_limit?: number;
457
+ payment_terms_grace_period_days?: number;
458
+ enable_invoice_balance_limit?: boolean;
459
+ enable_payment_terms_grace_period_days?: boolean;
460
+ is_simplified?: boolean;
461
+ last_login_time?: number;
456
462
  createdAt: string;
457
463
  updatedAt: string;
458
464
  __v: number;
@@ -514,6 +520,12 @@ export namespace Service {
514
520
  payment_type?: "cash" | "credit";
515
521
  integration_meta?: { [key: string]: any };
516
522
  integrated_client_balance?: number;
523
+ invoice_balance_limit?: number;
524
+ payment_terms_grace_period_days?: number;
525
+ enable_invoice_balance_limit?: boolean;
526
+ enable_payment_terms_grace_period_days?: boolean;
527
+ is_simplified?: boolean;
528
+ last_login_time?: number;
517
529
  }
518
530
  type PopulatedKeys =
519
531
  | "tags"
@@ -1721,6 +1733,51 @@ export namespace Service {
1721
1733
  rep_can_create_transfer_unload?: boolean;
1722
1734
  rep_can_create_return_invoice?: boolean;
1723
1735
  rep_can_sell_zero_product_price?: boolean;
1736
+ rep_can_create_sales_order_out_of_visit?: boolean;
1737
+ rep_can_create_cash_invoice?: boolean;
1738
+ rep_can_sell_above_product_price?: boolean;
1739
+ rep_can_sell_below_product_price?: boolean;
1740
+ rep_can_create_return_out_of_visit?: boolean;
1741
+ rep_can_skip_return_reason?: boolean;
1742
+ rep_can_create_invoice_out_of_visit?: boolean;
1743
+ rep_can_create_free_payments?: boolean;
1744
+ rep_can_partially_pay_invoice?: boolean;
1745
+ auto_close_visit_when_out_of_geo_fence?: boolean;
1746
+ end_visit_when_out_of_geofence?: boolean;
1747
+ end_visit_when_low_accuracy?: boolean;
1748
+ rep_can_create_workorder?: boolean;
1749
+ rep_can_create_asset?: boolean;
1750
+ rep_can_skip_promotions?: boolean;
1751
+ rep_can_skip_item_status_feedback?: boolean;
1752
+ rep_can_skip_item_status_note?: boolean;
1753
+ rep_can_skip_item_status_type?: boolean;
1754
+ rep_can_end_visit_without_submitting_item_status?: boolean;
1755
+ rep_can_submit_multiple_item_status_products?: boolean;
1756
+ rep_can_edit_return_product_price?: boolean;
1757
+ rep_can_skip_cart_calculation_until_checkout?: boolean;
1758
+ rep_can_start_day_without_gps_signal?: boolean;
1759
+ rep_can_create_add_client_approval_request?: boolean;
1760
+ rep_can_create_edit_client_details_approval_request: boolean;
1761
+ rep_can_create_edit_client_assigned_to_approval_request: boolean;
1762
+ rep_can_create_edit_client_location_approval_request: boolean;
1763
+ rep_can_create_delete_client_approval_request: boolean;
1764
+ rep_can_create_skip_job_at_visit_end_approval_request: boolean;
1765
+ rep_can_create_skip_geofence_at_visit_end_approval_request: boolean;
1766
+ rep_can_create_credit_invoice_for_cash_client: boolean;
1767
+ rep_can_view_client_credit_limit: boolean;
1768
+ rep_can_create_edit_client_credit_limit_approval_request: boolean;
1769
+ rep_can_assign_workorder: boolean;
1770
+ rep_can_visit_outside_route: boolean;
1771
+ rep_can_edit_retail_execution_entry: boolean;
1772
+ rep_can_edit_form_entry: boolean;
1773
+ rep_can_skip_visit_from_route_sequence: boolean;
1774
+ rep_can_create_return_sales_order: boolean;
1775
+ rep_can_edit_sales_order_custom_status?: boolean;
1776
+ rep_can_edit_invoice_custom_status?: boolean;
1777
+ rep_can_start_day_with_outstanding_settlement_balance?: boolean;
1778
+ rep_to_create_invoice_variant_batch_from_assigned_warehouse?: boolean;
1779
+ rep_to_create_sales_order_variant_batch_assigned_main_warehouse?: boolean;
1780
+ rep_can_create_pull_from_client_assigned_to_approval_request?: boolean;
1724
1781
  }
1725
1782
  interface TargetResults {
1726
1783
  totalPoints: number;
@@ -1729,6 +1786,20 @@ export namespace Service {
1729
1786
  averageAchievements: number;
1730
1787
  pointsCap: number;
1731
1788
  }
1789
+ interface RepSettings {
1790
+ allowable_accuracy: number;
1791
+ is_item_status_per_visit_limited?: boolean;
1792
+ item_status_per_visit_limit?: number;
1793
+ location_permission: "always_allow" | "while_using";
1794
+ activities_report_scope: "self" | "team" | "company_namespace";
1795
+ maximum_cash_outstanding_settlement_balance_to_start_day?: number;
1796
+ maximum_check_outstanding_settlement_balance_to_start_day?: number;
1797
+ maximum_total_outstanding_settlement_balance_to_start_day?: number;
1798
+ watermark_client_name?: boolean;
1799
+ watermark_time?: boolean;
1800
+ watermark_date?: boolean;
1801
+ watermark_coordinates?: boolean;
1802
+ }
1732
1803
  type JobOption = 0 | 1 | 2;
1733
1804
  export interface RepSchema {
1734
1805
  _id: string;
@@ -1766,6 +1837,20 @@ export namespace Service {
1766
1837
  freshchat_id?: string;
1767
1838
  disabled?: boolean;
1768
1839
  company_namespace: string[];
1840
+ settings: RepSettings;
1841
+ is_test?: boolean;
1842
+ form_v2_option?: "all" | "none" | "assigned" | "client_assigned";
1843
+ assigned_forms_v2?: string[];
1844
+ retail_execution_template_option?:
1845
+ | "all"
1846
+ | "client_assigned"
1847
+ | "assigned"
1848
+ | "none";
1849
+ assigned_retail_execution_templates?: string[];
1850
+ customFields?: { [key: string]: boolean | string | number };
1851
+ media?: string[];
1852
+ cover_photo?: string;
1853
+ last_login_time?: number;
1769
1854
  createdAt: string;
1770
1855
  updatedAt: string;
1771
1856
  __v: number;
@@ -1805,13 +1890,28 @@ export namespace Service {
1805
1890
  freshchat_id?: string;
1806
1891
  disabled?: boolean;
1807
1892
  company_namespace: string[];
1893
+ settings?: RepSettings;
1894
+ is_test?: boolean;
1895
+ form_v2_option?: "all" | "none" | "assigned" | "client_assigned";
1896
+ assigned_forms_v2?: string[];
1897
+ retail_execution_template_option?:
1898
+ | "all"
1899
+ | "client_assigned"
1900
+ | "assigned"
1901
+ | "none";
1902
+ assigned_retail_execution_templates?: string[];
1903
+ customFields?: { [key: string]: boolean | string | number };
1904
+ media?: string[];
1905
+ cover_photo?: string;
1906
+ last_login_time?: number;
1808
1907
  }
1809
1908
 
1810
- type PopulatedKeys = "line" | "job_category";
1909
+ type PopulatedKeys = "line" | "job_category" | "teams";
1811
1910
 
1812
1911
  export type RepWithPopulatedKeysSchema = RepSchema & {
1813
1912
  lines?: string[] | Line.LineSchema[];
1814
1913
  job_category?: string[] | JobCategory.JobCategorySchema[];
1914
+ teams?: string[] | Team.TeamSchema[];
1815
1915
  };
1816
1916
 
1817
1917
  export namespace Find {
@@ -1853,6 +1953,78 @@ export namespace Service {
1853
1953
  "permissions.rep_can_create_transfer_load"?: boolean;
1854
1954
  "permissions.rep_can_create_transfer_unload"?: boolean;
1855
1955
  "permissions.rep_can_create_return_invoice"?: boolean;
1956
+ "permissions.rep_can_create_sales_order_out_of_visit"?: boolean;
1957
+ "permissions.rep_can_create_cash_invoice"?: boolean;
1958
+ "permissions.rep_can_sell_above_product_price"?: boolean;
1959
+ "permissions.rep_can_sell_below_product_price"?: boolean;
1960
+ "permissions.rep_can_create_return_out_of_visit"?: boolean;
1961
+ "permissions.rep_can_skip_return_reason"?: boolean;
1962
+ "permissions.rep_can_create_invoice_out_of_visit"?: boolean;
1963
+ "permissions.rep_can_create_free_payments"?: boolean;
1964
+ "permissions.rep_can_partially_pay_invoice"?: boolean;
1965
+ "permissions.auto_close_visit_when_out_of_geo_fence"?: boolean;
1966
+ "permissions.end_visit_when_out_of_geofence"?: boolean;
1967
+ "permissions.end_visit_when_low_accuracy"?: boolean;
1968
+ "permissions.rep_can_create_workorder"?: boolean;
1969
+ "permissions.rep_can_create_asset"?: boolean;
1970
+ "permissions.rep_can_skip_promotions"?: boolean;
1971
+ "permissions.rep_can_skip_item_status_feedback"?: boolean;
1972
+ "permissions.rep_can_skip_item_status_note"?: boolean;
1973
+ "permissions.rep_can_skip_item_status_type"?: boolean;
1974
+ "permissions.rep_can_end_visit_without_submitting_item_status"?: boolean;
1975
+ "permissions.rep_can_submit_multiple_item_status_products"?: boolean;
1976
+ "permissions.rep_can_edit_return_product_price"?: boolean;
1977
+ "permissions.rep_can_skip_cart_calculation_until_checkout"?: boolean;
1978
+ "permissions.rep_can_start_day_without_gps_signal"?: boolean;
1979
+ "permissions.rep_can_create_add_client_approval_request"?: boolean;
1980
+ "permissions.rep_can_create_edit_client_details_approval_request"?: boolean;
1981
+ "permissions.rep_can_create_edit_client_assigned_to_approval_request"?: boolean;
1982
+ "permissions.rep_can_create_edit_client_location_approval_request"?: boolean;
1983
+ "permissions.rep_can_create_delete_client_approval_request"?: boolean;
1984
+ "permissions.rep_can_create_skip_job_at_visit_end_approval_request"?: boolean;
1985
+ "permissions.rep_can_create_skip_geofence_at_visit_end_approval_request"?: boolean;
1986
+ "permissions.rep_can_create_credit_invoice_for_cash_client"?: boolean;
1987
+ "permissions.rep_can_view_client_credit_limit"?: boolean;
1988
+ "permissions.rep_can_create_edit_client_credit_limit_approval_request"?: boolean;
1989
+ "permissions.rep_can_assign_workorder"?: boolean;
1990
+ "permissions.rep_can_visit_outside_route"?: boolean;
1991
+ "permissions.rep_can_edit_retail_execution_entry"?: boolean;
1992
+ "permissions.rep_can_edit_form_entry"?: boolean;
1993
+ "permissions.rep_can_skip_visit_from_route_sequence"?: boolean;
1994
+ "permissions.rep_can_create_return_sales_order"?: boolean;
1995
+ "permissions.rep_can_edit_sales_order_custom_status"?: boolean;
1996
+ "permissions.rep_can_edit_invoice_custom_status"?: boolean;
1997
+ "permissions.rep_can_start_day_with_outstanding_settlement_balance"?: boolean;
1998
+ "permissions.rep_to_create_invoice_variant_batch_from_assigned_warehouse"?: boolean;
1999
+ "permissions.rep_to_create_sales_order_variant_batch_assigned_main_warehouse"?: boolean;
2000
+ "permissions.rep_can_create_pull_from_client_assigned_to_approval_request"?: boolean;
2001
+ "settings.allowable_accuracy": number;
2002
+ "settings.is_item_status_per_visit_limited"?: boolean;
2003
+ "settings.item_status_per_visit_limit"?: number;
2004
+ "settings.location_permission": "always_allow" | "while_using";
2005
+ "settings.activities_report_scope":
2006
+ | "self"
2007
+ | "team"
2008
+ | "company_namespace";
2009
+ "settings.maximum_cash_outstanding_settlement_balance_to_start_day"?: number;
2010
+ "settings.maximum_check_outstanding_settlement_balance_to_start_day"?: number;
2011
+ "settings.maximum_total_outstanding_settlement_balance_to_start_day"?: number;
2012
+ "settings.watermark_client_name"?: boolean;
2013
+ "settings.watermark_time"?: boolean;
2014
+ "settings.watermark_date"?: boolean;
2015
+ "settings.watermark_coordinates"?: boolean;
2016
+ is_test?: boolean;
2017
+ form_v2_option?: "all" | "none" | "assigned" | "client_assigned";
2018
+ assigned_forms_v2?: string | string[];
2019
+ retail_execution_template_option?:
2020
+ | "all"
2021
+ | "client_assigned"
2022
+ | "assigned"
2023
+ | "none";
2024
+ assigned_retail_execution_templates?: string | string[];
2025
+ media?: string | string[];
2026
+ cover_photo?: string;
2027
+ last_login_time?: number;
1856
2028
  [key: string]: any; // integration_meta.
1857
2029
  populatedKeys?: PopulatedKeys[];
1858
2030
  withProductLines?: boolean;