Skip to content

Commit 1169547

Browse files
committed
fix(portaswitch): update customer list request parameters with additional filters
1 parent b93f494 commit 1169547

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • app/bss/adapters/portaswitch/api

app/bss/adapters/portaswitch/api/admin.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,15 @@ def get_customer_list(self, i_main_office: int) -> dict:
112112
return self._send_request(
113113
module="Customer",
114114
method="get_customer_list",
115-
params={"i_main_office": i_main_office, "i_office_type": 2},
115+
params={
116+
"skip_exported": 1,
117+
"check_usage": 0,
118+
"with_credit_limit_warnings": 0,
119+
"with_commission_plan": 0,
120+
"with_bp_charge_cc": 0,
121+
"i_main_customer": i_main_office,
122+
"i_office_type": 2
123+
},
116124
)
117125

118126
def get_extensions_list(self, i_customer: int, get_main_office_extensions: bool = False) -> dict:

0 commit comments

Comments
 (0)