repzo 1.0.287 → 1.0.288

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/changelog.md CHANGED
@@ -16,6 +16,7 @@
16
16
  - add: workorder-request @maramalshen
17
17
  - add: approval @maramalshen
18
18
  - add: apps-management, reset-company-namespace & test-reset-company-namespace @maramalshen
19
+ - add: `rep_can_edit_invoice_discount` & `rep_can_edit_sales_order_discount` to RepPermissions and the Rep find-params filters — gate the header discount overwrite (`overwriteDeductionFixed`/`overwriteDeductionRatio`) on invoices and Sales Orders @mkhamis
19
20
 
20
21
  ### Changed
21
22
 
@@ -2512,6 +2512,8 @@ export declare namespace Service {
2512
2512
  rep_can_submit_multiple_item_status_products?: boolean;
2513
2513
  rep_can_edit_return_product_price?: boolean;
2514
2514
  rep_can_overwrite_partial_return_invoice_price?: boolean;
2515
+ rep_can_edit_invoice_discount?: boolean;
2516
+ rep_can_edit_sales_order_discount?: boolean;
2515
2517
  rep_can_skip_cart_calculation_until_checkout?: boolean;
2516
2518
  rep_can_start_day_without_gps_signal?: boolean;
2517
2519
  rep_can_start_day_with_outstanding_settlement_balance?: boolean;
@@ -2799,6 +2801,8 @@ export declare namespace Service {
2799
2801
  "permissions.rep_can_create_pull_from_client_assigned_to_approval_request"?: boolean;
2800
2802
  "permissions.rep_can_print_payment_after_allowance_period"?: boolean;
2801
2803
  "permissions.rep_can_overwrite_partial_return_invoice_price"?: boolean;
2804
+ "permissions.rep_can_edit_invoice_discount"?: boolean;
2805
+ "permissions.rep_can_edit_sales_order_discount"?: boolean;
2802
2806
  "permissions.rep_can_create_payment"?: boolean;
2803
2807
  "permissions.rep_can_print_offline_invoice"?: boolean;
2804
2808
  "permissions.rep_can_print_offline_sales_order"?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.287",
3
+ "version": "1.0.288",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -2928,6 +2928,8 @@ export namespace Service {
2928
2928
  rep_can_submit_multiple_item_status_products?: boolean;
2929
2929
  rep_can_edit_return_product_price?: boolean;
2930
2930
  rep_can_overwrite_partial_return_invoice_price?: boolean;
2931
+ rep_can_edit_invoice_discount?: boolean;
2932
+ rep_can_edit_sales_order_discount?: boolean;
2931
2933
  rep_can_skip_cart_calculation_until_checkout?: boolean;
2932
2934
  rep_can_start_day_without_gps_signal?: boolean;
2933
2935
  rep_can_start_day_with_outstanding_settlement_balance?: boolean;
@@ -3233,6 +3235,8 @@ export namespace Service {
3233
3235
  "permissions.rep_can_create_pull_from_client_assigned_to_approval_request"?: boolean;
3234
3236
  "permissions.rep_can_print_payment_after_allowance_period"?: boolean;
3235
3237
  "permissions.rep_can_overwrite_partial_return_invoice_price"?: boolean;
3238
+ "permissions.rep_can_edit_invoice_discount"?: boolean;
3239
+ "permissions.rep_can_edit_sales_order_discount"?: boolean;
3236
3240
  "permissions.rep_can_create_payment"?: boolean;
3237
3241
  "permissions.rep_can_print_offline_invoice"?: boolean;
3238
3242
  "permissions.rep_can_print_offline_sales_order"?: boolean;