diff --git a/libs/hotel_report/api.json b/libs/hotel_report/api.json new file mode 100644 index 0000000..94f175d --- /dev/null +++ b/libs/hotel_report/api.json @@ -0,0 +1,554 @@ +{ + "schema_version": 1, + "sdk_id": "hotel_report", + "version": "0.3.1", + "modules": { + "hotel_report": { + "exports": [ + "AuthExpiredError", + "CancelledError", + "DEFAULT_MIN_INTERVAL", + "DEFAULT_WCF_URL", + "DataError", + "HotelConfig", + "MEMBER_BALANCE_HEADER", + "MEMBER_DETAIL_HEADER", + "MemberBalanceRow", + "MemberBalanceTable", + "MemberDetailRow", + "MemberDetailTable", + "PermissionDeniedError", + "SALES_HEADER", + "SDKError", + "SHIFT_FIXED_HEADER", + "SHIFT_STANDARD_METHODS", + "SalesRecord", + "SalesTable", + "ShiftRow", + "ShiftTable", + "collect", + "date_range_for", + "export_daily", + "export_member", + "export_member_balance", + "export_member_detail", + "export_sales", + "export_shift", + "latest_shift_time", + "render", + "settle_window", + "wcf", + "__version__" + ], + "all": [ + "AuthExpiredError", + "CancelledError", + "DEFAULT_MIN_INTERVAL", + "DEFAULT_WCF_URL", + "DataError", + "HotelConfig", + "MEMBER_BALANCE_HEADER", + "MEMBER_DETAIL_HEADER", + "MemberBalanceRow", + "MemberBalanceTable", + "MemberDetailRow", + "MemberDetailTable", + "PermissionDeniedError", + "SALES_HEADER", + "SDKError", + "SHIFT_FIXED_HEADER", + "SHIFT_STANDARD_METHODS", + "SalesRecord", + "SalesTable", + "ShiftRow", + "ShiftTable", + "collect", + "date_range_for", + "export_daily", + "export_member", + "export_member_balance", + "export_member_detail", + "export_sales", + "export_shift", + "latest_shift_time", + "render", + "settle_window", + "wcf", + "__version__" + ], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "MemberBalanceRow": "(member_id: 'str' = '', card_type: 'str' = '', factleave: 'float' = 0.0, griftleave: 'float' = 0.0, leavemoney: 'float' = 0.0, coach: 'str' = '', enter_date: 'str' = '', mobile: 'str' = '', partition: 'float' = 0.0, member_name: 'str' = '', member_guid: 'str' = '', status: 'str' = '') -> None", + "MemberBalanceTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'dict' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "MemberDetailRow": "(values: 'tuple' = (), fee_type: 'str' = '', member_id: 'str' = '', bill_id: 'str' = '', pay: 'dict' = ) -> None", + "MemberDetailTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , headers: 'list' = , columns: 'list' = , pay_methods: 'list' = , totals: 'list' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "SalesRecord": "(goods_name: 'str' = '', goods_catalog: 'str' = '', qty: 'Decimal' = Decimal('0'), price: 'Decimal' = Decimal('0'), amount: 'Decimal' = Decimal('0'), unit: 'str' = '', time_in: 'str' = '', time_order: 'str' = '', remark: 'str' = '', time_out: 'str' = '', stay_hours: 'object' = '', item_hours: 'object' = '', bill_id: 'str' = '', hand_no: 'str' = '', card_no: 'str' = '', technician: 'str' = '', waiter: 'str' = '', status: 'str' = '', discount: 'float' = 100.0, amount_after_discount: 'Decimal' = Decimal('0'), real_money: 'Decimal' = Decimal('0'), real_discount: 'float' = 100.0, cost: 'Decimal' = Decimal('0'), favour: 'Decimal' = Decimal('0'), pay_method: 'str' = '', store: 'str' = '', member_id: 'str' = '', machine: 'str' = '', remark2: 'str' = '', level: 'str' = '', goods_id: 'str' = '', barcode: 'str' = '', guest_name: 'str' = '', shift_name: 'str' = '', operator: 'str' = '') -> None", + "SalesTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'list' = , source: 'str' = 'v_snbatai') -> None", + "ShiftRow": "(change_class_id: 'str' = '', change_time: 'str' = '', pay_total: 'float' = 0.0, employ_name: 'str' = '', come_in_person: 'int' = 0, checkout_person: 'int' = 0, remark: 'str' = '', night_checker: 'str' = '', run_day: 'str' = '', other_remark: 'str' = '', shoujin: 'float' = 0.0, cashback: 'float' = 0.0, pays: 'dict' = ) -> None", + "ShiftTable": "(label: 'str' = '', rows: 'list' = , pay_methods: 'list' = , method_totals: 'dict' = , fixed_totals: 'dict' = , source: 'str' = 'dt_changeclass + v_snchangeclass + sn_bill') -> None", + "date_range_for": "(ref_date=None, days: 'int' = 1) -> 'tuple[datetime, datetime]'", + "export_daily": "(cfg: 'HotelConfig | None' = None, day=None, out_path: 'str' = '', *, template: 'str' = '', month=None, query=None, log=None, progress=None) -> 'dict'", + "export_member": "(cfg: 'HotelConfig | None' = None, day=None, out_dir: 'str' = '', *, window=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_member_balance": "(cfg: 'HotelConfig | None' = None, window=None, out_path: 'str' = '', *, day=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_member_detail": "(cfg: 'HotelConfig | None' = None, window=None, out_path: 'str' = '', *, day=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_sales": "(cfg: 'HotelConfig | None' = None, start=None, end=None, out_path: 'str' = '', *, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_shift": "(cfg: 'HotelConfig | None' = None, start=None, end=None, out_path: 'str' = '', *, runday: 'str' = '', query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "latest_shift_time": "(cfg: 'HotelConfig | None' = None, day=None, *, query=None) -> 'dict'", + "settle_window": "(cfg: 'HotelConfig | None' = None, day=None, *, query=None) -> 'dict'" + } + }, + "hotel_report._selftest": { + "exports": [ + "CASH_ROWS", + "DEFAULT_MIN_INTERVAL", + "DIFFGRAM", + "DataError", + "FIXED_ROWS", + "HotelConfig", + "MEMBER_BALANCE_ROWS", + "MEMBER_DETAIL_HEADER", + "MEMBER_DETAIL_ROWS", + "MEMBER_PAY_ROWS", + "PAY_ROWS", + "Path", + "PermissionDeniedError", + "SALES_HEADER", + "SALES_ROWS", + "annotations", + "export_member", + "export_member_balance", + "export_member_detail", + "export_sales", + "export_shift", + "latest_shift_time", + "load_workbook", + "main", + "settle_window", + "tempfile", + "wcf" + ], + "all": [], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "Path": "(*args, **kwargs)", + "export_member": "(cfg: 'HotelConfig | None' = None, day=None, out_dir: 'str' = '', *, window=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_member_balance": "(cfg: 'HotelConfig | None' = None, window=None, out_path: 'str' = '', *, day=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_member_detail": "(cfg: 'HotelConfig | None' = None, window=None, out_path: 'str' = '', *, day=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_sales": "(cfg: 'HotelConfig | None' = None, start=None, end=None, out_path: 'str' = '', *, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_shift": "(cfg: 'HotelConfig | None' = None, start=None, end=None, out_path: 'str' = '', *, runday: 'str' = '', query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "latest_shift_time": "(cfg: 'HotelConfig | None' = None, day=None, *, query=None) -> 'dict'", + "load_workbook": "(filename, read_only=False, keep_vba=False, data_only=False, keep_links=True, rich_text=False)", + "main": "() -> 'int'", + "settle_window": "(cfg: 'HotelConfig | None' = None, day=None, *, query=None) -> 'dict'" + } + }, + "hotel_report._util": { + "exports": [ + "Decimal", + "ROUND_HALF_UP", + "annotations", + "as_dt", + "datetime", + "dec", + "fmt_dt", + "hours", + "num", + "round2", + "short_dt", + "trunc_sec" + ], + "all": [], + "signatures": { + "Decimal": "(value='0', context=None)", + "as_dt": "(v)", + "dec": "(v, default: 'str' = '0') -> 'Decimal'", + "fmt_dt": "(v, date_only: 'bool' = False) -> 'str'", + "hours": "(delta) -> 'float'", + "num": "(v, default: 'int' = 0) -> 'int'", + "round2": "(value: 'Decimal') -> 'Decimal'", + "short_dt": "(v) -> 'str'", + "trunc_sec": "(v)" + } + }, + "hotel_report.collect": { + "exports": [ + "collect_member_balance", + "collect_member_detail", + "collect_sales", + "collect_shift", + "latest_shift", + "member_percent" + ], + "all": [ + "collect_member_balance", + "collect_member_detail", + "collect_sales", + "collect_shift", + "latest_shift", + "member_percent" + ], + "signatures": { + "collect_member_balance": "(end_at: 'str', cfg: 'HotelConfig | None' = None, query=None, window: 'tuple' = ()) -> 'MemberBalanceTable'", + "collect_member_detail": "(start_at: 'str', end_at: 'str', cfg: 'HotelConfig | None' = None, query=None, window: 'tuple' = (), feetype: 'str' = '全部', percent: 'str | None' = None) -> 'MemberDetailTable'", + "collect_sales": "(start: 'datetime', end: 'datetime', cfg: 'HotelConfig | None' = None, query=None) -> 'SalesTable'", + "collect_shift": "(start: 'datetime', end: 'datetime', cfg: 'HotelConfig | None' = None, query=None, runday: 'str' = '') -> 'ShiftTable'", + "latest_shift": "(day: 'datetime', cfg: 'HotelConfig | None' = None, query=None) -> 'dict'", + "member_percent": "(cfg: 'HotelConfig | None' = None, query=None) -> 'str'" + } + }, + "hotel_report.collect.member": { + "exports": [ + "BALANCE_SQL", + "DETAIL_SQL", + "DETAIL_SUM_COLUMNS", + "HotelConfig", + "MEMBER_BALANCE_HEADER", + "MEMBER_DETAIL_HEADER", + "MEMBER_DETAIL_HIDDEN", + "MEMBER_DETAIL_HIDDEN_NO_PERCENT", + "MemberBalanceRow", + "MemberBalanceTable", + "MemberDetailRow", + "MemberDetailTable", + "PAY_SQL", + "PERCENT_SQL", + "annotations", + "collect_balance", + "collect_detail", + "fmt_dt", + "member_percent", + "wcf" + ], + "all": [], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "MemberBalanceRow": "(member_id: 'str' = '', card_type: 'str' = '', factleave: 'float' = 0.0, griftleave: 'float' = 0.0, leavemoney: 'float' = 0.0, coach: 'str' = '', enter_date: 'str' = '', mobile: 'str' = '', partition: 'float' = 0.0, member_name: 'str' = '', member_guid: 'str' = '', status: 'str' = '') -> None", + "MemberBalanceTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'dict' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "MemberDetailRow": "(values: 'tuple' = (), fee_type: 'str' = '', member_id: 'str' = '', bill_id: 'str' = '', pay: 'dict' = ) -> None", + "MemberDetailTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , headers: 'list' = , columns: 'list' = , pay_methods: 'list' = , totals: 'list' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "collect_balance": "(end_at: 'str', cfg: 'HotelConfig | None' = None, query=None, window: 'tuple' = ()) -> 'MemberBalanceTable'", + "collect_detail": "(start_at: 'str', end_at: 'str', cfg: 'HotelConfig | None' = None, query=None, window: 'tuple' = (), feetype: 'str' = '全部', percent: 'str | None' = None) -> 'MemberDetailTable'", + "fmt_dt": "(v, date_only: 'bool' = False) -> 'str'", + "member_percent": "(cfg: 'HotelConfig | None' = None, query=None) -> 'str'" + } + }, + "hotel_report.collect.sales": { + "exports": [ + "Decimal", + "HotelConfig", + "SALES_HEADER", + "SQL", + "SalesRecord", + "SalesTable", + "annotations", + "as_dt", + "build_record", + "collect", + "datetime", + "dec", + "hours", + "round2", + "short_dt", + "timedelta", + "trunc_sec", + "wcf" + ], + "all": [], + "signatures": { + "Decimal": "(value='0', context=None)", + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "SalesRecord": "(goods_name: 'str' = '', goods_catalog: 'str' = '', qty: 'Decimal' = Decimal('0'), price: 'Decimal' = Decimal('0'), amount: 'Decimal' = Decimal('0'), unit: 'str' = '', time_in: 'str' = '', time_order: 'str' = '', remark: 'str' = '', time_out: 'str' = '', stay_hours: 'object' = '', item_hours: 'object' = '', bill_id: 'str' = '', hand_no: 'str' = '', card_no: 'str' = '', technician: 'str' = '', waiter: 'str' = '', status: 'str' = '', discount: 'float' = 100.0, amount_after_discount: 'Decimal' = Decimal('0'), real_money: 'Decimal' = Decimal('0'), real_discount: 'float' = 100.0, cost: 'Decimal' = Decimal('0'), favour: 'Decimal' = Decimal('0'), pay_method: 'str' = '', store: 'str' = '', member_id: 'str' = '', machine: 'str' = '', remark2: 'str' = '', level: 'str' = '', goods_id: 'str' = '', barcode: 'str' = '', guest_name: 'str' = '', shift_name: 'str' = '', operator: 'str' = '') -> None", + "SalesTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'list' = , source: 'str' = 'v_snbatai') -> None", + "as_dt": "(v)", + "build_record": "(r: 'dict') -> 'tuple[SalesRecord, dict]'", + "collect": "(start: 'datetime', end: 'datetime', cfg: 'HotelConfig | None' = None, query=None) -> 'SalesTable'", + "dec": "(v, default: 'str' = '0') -> 'Decimal'", + "hours": "(delta) -> 'float'", + "round2": "(value: 'Decimal') -> 'Decimal'", + "short_dt": "(v) -> 'str'", + "trunc_sec": "(v)" + } + }, + "hotel_report.collect.shift": { + "exports": [ + "HotelConfig", + "SHIFT_STANDARD_METHODS", + "SQL_CASH", + "SQL_FIXED", + "SQL_PAY", + "ShiftRow", + "ShiftTable", + "annotations", + "collect", + "datetime", + "fmt_dt", + "num", + "timedelta", + "wcf" + ], + "all": [], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "ShiftRow": "(change_class_id: 'str' = '', change_time: 'str' = '', pay_total: 'float' = 0.0, employ_name: 'str' = '', come_in_person: 'int' = 0, checkout_person: 'int' = 0, remark: 'str' = '', night_checker: 'str' = '', run_day: 'str' = '', other_remark: 'str' = '', shoujin: 'float' = 0.0, cashback: 'float' = 0.0, pays: 'dict' = ) -> None", + "ShiftTable": "(label: 'str' = '', rows: 'list' = , pay_methods: 'list' = , method_totals: 'dict' = , fixed_totals: 'dict' = , source: 'str' = 'dt_changeclass + v_snchangeclass + sn_bill') -> None", + "collect": "(start: 'datetime', end: 'datetime', cfg: 'HotelConfig | None' = None, query=None, runday: 'str' = '') -> 'ShiftTable'", + "fmt_dt": "(v, date_only: 'bool' = False) -> 'str'", + "num": "(v, default: 'int' = 0) -> 'int'" + } + }, + "hotel_report.collect.shift_time": { + "exports": [ + "HotelConfig", + "SQL", + "annotations", + "datetime", + "latest_shift", + "timedelta", + "wcf" + ], + "all": [], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "latest_shift": "(day: 'datetime', cfg: 'HotelConfig | None' = None, query=None) -> 'dict'" + } + }, + "hotel_report.config": { + "exports": [ + "DEFAULT_MIN_INTERVAL", + "DEFAULT_WCF_URL", + "HotelConfig", + "annotations", + "dataclass", + "json", + "os" + ], + "all": [], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "dataclass": "(cls=None, /, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False)" + } + }, + "hotel_report.errors": { + "exports": [ + "AuthExpiredError", + "CancelledError", + "DataError", + "PermissionDeniedError", + "SDKError", + "annotations" + ], + "all": [], + "signatures": {} + }, + "hotel_report.exports": { + "exports": [ + "CancelledError", + "DataError", + "HotelConfig", + "annotations", + "collect_member_balance", + "collect_member_detail", + "collect_sales", + "collect_shift", + "date", + "date_range_for", + "datetime", + "export_daily", + "export_member", + "export_member_balance", + "export_member_detail", + "export_sales", + "export_shift", + "latest_shift_time", + "os", + "settle_window", + "timedelta", + "write_member_balance_xlsx", + "write_member_detail_xlsx", + "write_sales_xlsx", + "write_shift_xlsx" + ], + "all": [], + "signatures": { + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "collect_member_balance": "(end_at: 'str', cfg: 'HotelConfig | None' = None, query=None, window: 'tuple' = ()) -> 'MemberBalanceTable'", + "collect_member_detail": "(start_at: 'str', end_at: 'str', cfg: 'HotelConfig | None' = None, query=None, window: 'tuple' = (), feetype: 'str' = '全部', percent: 'str | None' = None) -> 'MemberDetailTable'", + "collect_sales": "(start: 'datetime', end: 'datetime', cfg: 'HotelConfig | None' = None, query=None) -> 'SalesTable'", + "collect_shift": "(start: 'datetime', end: 'datetime', cfg: 'HotelConfig | None' = None, query=None, runday: 'str' = '') -> 'ShiftTable'", + "date_range_for": "(ref_date=None, days: 'int' = 1) -> 'tuple[datetime, datetime]'", + "export_daily": "(cfg: 'HotelConfig | None' = None, day=None, out_path: 'str' = '', *, template: 'str' = '', month=None, query=None, log=None, progress=None) -> 'dict'", + "export_member": "(cfg: 'HotelConfig | None' = None, day=None, out_dir: 'str' = '', *, window=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_member_balance": "(cfg: 'HotelConfig | None' = None, window=None, out_path: 'str' = '', *, day=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_member_detail": "(cfg: 'HotelConfig | None' = None, window=None, out_path: 'str' = '', *, day=None, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_sales": "(cfg: 'HotelConfig | None' = None, start=None, end=None, out_path: 'str' = '', *, query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "export_shift": "(cfg: 'HotelConfig | None' = None, start=None, end=None, out_path: 'str' = '', *, runday: 'str' = '', query=None, log=None, progress=None, should_cancel=None) -> 'dict'", + "latest_shift_time": "(cfg: 'HotelConfig | None' = None, day=None, *, query=None) -> 'dict'", + "settle_window": "(cfg: 'HotelConfig | None' = None, day=None, *, query=None) -> 'dict'", + "write_member_balance_xlsx": "(table: 'MemberBalanceTable', out_path: 'str') -> 'str'", + "write_member_detail_xlsx": "(table: 'MemberDetailTable', out_path: 'str') -> 'str'", + "write_sales_xlsx": "(table: 'SalesTable', out_path: 'str') -> 'str'", + "write_shift_xlsx": "(table: 'ShiftTable', out_path: 'str') -> 'str'" + } + }, + "hotel_report.model": { + "exports": [ + "Decimal", + "MEMBER_BALANCE_HEADER", + "MEMBER_DETAIL_HEADER", + "MEMBER_DETAIL_HIDDEN", + "MEMBER_DETAIL_HIDDEN_NO_PERCENT", + "MemberBalanceRow", + "MemberBalanceTable", + "MemberDetailRow", + "MemberDetailTable", + "SALES_HEADER", + "SHIFT_FIXED_HEADER", + "SHIFT_STANDARD_METHODS", + "SalesRecord", + "SalesTable", + "ShiftRow", + "ShiftTable", + "annotations", + "dataclass", + "field" + ], + "all": [], + "signatures": { + "Decimal": "(value='0', context=None)", + "MemberBalanceRow": "(member_id: 'str' = '', card_type: 'str' = '', factleave: 'float' = 0.0, griftleave: 'float' = 0.0, leavemoney: 'float' = 0.0, coach: 'str' = '', enter_date: 'str' = '', mobile: 'str' = '', partition: 'float' = 0.0, member_name: 'str' = '', member_guid: 'str' = '', status: 'str' = '') -> None", + "MemberBalanceTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'dict' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "MemberDetailRow": "(values: 'tuple' = (), fee_type: 'str' = '', member_id: 'str' = '', bill_id: 'str' = '', pay: 'dict' = ) -> None", + "MemberDetailTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , headers: 'list' = , columns: 'list' = , pay_methods: 'list' = , totals: 'list' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "SalesRecord": "(goods_name: 'str' = '', goods_catalog: 'str' = '', qty: 'Decimal' = Decimal('0'), price: 'Decimal' = Decimal('0'), amount: 'Decimal' = Decimal('0'), unit: 'str' = '', time_in: 'str' = '', time_order: 'str' = '', remark: 'str' = '', time_out: 'str' = '', stay_hours: 'object' = '', item_hours: 'object' = '', bill_id: 'str' = '', hand_no: 'str' = '', card_no: 'str' = '', technician: 'str' = '', waiter: 'str' = '', status: 'str' = '', discount: 'float' = 100.0, amount_after_discount: 'Decimal' = Decimal('0'), real_money: 'Decimal' = Decimal('0'), real_discount: 'float' = 100.0, cost: 'Decimal' = Decimal('0'), favour: 'Decimal' = Decimal('0'), pay_method: 'str' = '', store: 'str' = '', member_id: 'str' = '', machine: 'str' = '', remark2: 'str' = '', level: 'str' = '', goods_id: 'str' = '', barcode: 'str' = '', guest_name: 'str' = '', shift_name: 'str' = '', operator: 'str' = '') -> None", + "SalesTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'list' = , source: 'str' = 'v_snbatai') -> None", + "ShiftRow": "(change_class_id: 'str' = '', change_time: 'str' = '', pay_total: 'float' = 0.0, employ_name: 'str' = '', come_in_person: 'int' = 0, checkout_person: 'int' = 0, remark: 'str' = '', night_checker: 'str' = '', run_day: 'str' = '', other_remark: 'str' = '', shoujin: 'float' = 0.0, cashback: 'float' = 0.0, pays: 'dict' = ) -> None", + "ShiftTable": "(label: 'str' = '', rows: 'list' = , pay_methods: 'list' = , method_totals: 'dict' = , fixed_totals: 'dict' = , source: 'str' = 'dt_changeclass + v_snchangeclass + sn_bill') -> None", + "dataclass": "(cls=None, /, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False)", + "field": "(*, default=, default_factory=, init=True, repr=True, hash=None, compare=True, metadata=None, kw_only=)" + } + }, + "hotel_report.render": { + "exports": [ + "write_member_balance_xlsx", + "write_member_detail_xlsx", + "write_sales_xlsx", + "write_shift_xlsx" + ], + "all": [ + "write_member_balance_xlsx", + "write_member_detail_xlsx", + "write_sales_xlsx", + "write_shift_xlsx" + ], + "signatures": { + "write_member_balance_xlsx": "(table: 'MemberBalanceTable', out_path: 'str') -> 'str'", + "write_member_detail_xlsx": "(table: 'MemberDetailTable', out_path: 'str') -> 'str'", + "write_sales_xlsx": "(table: 'SalesTable', out_path: 'str') -> 'str'", + "write_shift_xlsx": "(table: 'ShiftTable', out_path: 'str') -> 'str'" + } + }, + "hotel_report.render.member": { + "exports": [ + "MEMBER_BALANCE_HEADER", + "MemberBalanceTable", + "MemberDetailTable", + "Path", + "Workbook", + "annotations", + "write_balance_xlsx", + "write_detail_xlsx" + ], + "all": [], + "signatures": { + "MemberBalanceTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'dict' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "MemberDetailTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , headers: 'list' = , columns: 'list' = , pay_methods: 'list' = , totals: 'list' = , source: 'str' = 'jgmember.V_GetMemberOperateHistory') -> None", + "Path": "(*args, **kwargs)", + "Workbook": "(write_only=False, iso_dates=False)", + "write_balance_xlsx": "(table: 'MemberBalanceTable', out_path: 'str') -> 'str'", + "write_detail_xlsx": "(table: 'MemberDetailTable', out_path: 'str') -> 'str'" + } + }, + "hotel_report.render.sales": { + "exports": [ + "Path", + "SALES_HEADER", + "SalesTable", + "Workbook", + "annotations", + "write_xlsx" + ], + "all": [], + "signatures": { + "Path": "(*args, **kwargs)", + "SalesTable": "(label: 'str' = '', window: 'tuple' = (), rows: 'list' = , totals: 'list' = , source: 'str' = 'v_snbatai') -> None", + "Workbook": "(write_only=False, iso_dates=False)", + "write_xlsx": "(table: 'SalesTable', out_path: 'str') -> 'str'" + } + }, + "hotel_report.render.shift": { + "exports": [ + "Alignment", + "Font", + "Path", + "PatternFill", + "SHIFT_FIXED_HEADER", + "ShiftTable", + "Workbook", + "annotations", + "write_xlsx" + ], + "all": [], + "signatures": { + "Alignment": "(horizontal=None, vertical=None, textRotation=0, wrapText=None, shrinkToFit=None, indent=0, relativeIndent=0, justifyLastLine=None, readingOrder=0, text_rotation=None, wrap_text=None, shrink_to_fit=None, mergeCell=None)", + "Font": "(name=None, sz=None, b=None, i=None, charset=None, u=None, strike=None, color=None, scheme=None, family=None, size=None, bold=None, italic=None, strikethrough=None, underline=None, vertAlign=None, outline=None, shadow=None, condense=None, extend=None)", + "Path": "(*args, **kwargs)", + "PatternFill": "(patternType=None, fgColor=\nParameters:\nrgb='00000000', indexed=None, auto=None, theme=None, tint=0.0, type='rgb', bgColor=\nParameters:\nrgb='00000000', indexed=None, auto=None, theme=None, tint=0.0, type='rgb', fill_type=None, start_color=None, end_color=None)", + "ShiftTable": "(label: 'str' = '', rows: 'list' = , pay_methods: 'list' = , method_totals: 'dict' = , fixed_totals: 'dict' = , source: 'str' = 'dt_changeclass + v_snchangeclass + sn_bill') -> None", + "Workbook": "(write_only=False, iso_dates=False)", + "write_xlsx": "(table: 'ShiftTable', out_path: 'str') -> 'str'" + } + }, + "hotel_report.wcf": { + "exports": [ + "ACTION", + "AuthExpiredError", + "DEFAULT_MIN_INTERVAL", + "DataError", + "Decimal", + "ENVELOPE", + "ET", + "HotelConfig", + "OrderedDict", + "PACER", + "PROC_WHITELIST", + "PermissionDeniedError", + "annotations", + "date", + "datetime", + "fill", + "guard", + "literal", + "parse_dataset", + "parse_datasets", + "query", + "query_proc", + "re", + "threading", + "time", + "urllib" + ], + "all": [], + "signatures": { + "Decimal": "(value='0', context=None)", + "HotelConfig": "(wcf_url: 'str' = 'http://172.22.43.254:8016/FrontService.svc', timeout: 'int' = 60, min_interval: 'float' = 1.2) -> None", + "fill": "(sql: 'str', params=()) -> 'str'", + "guard": "(sql: 'str') -> 'None'", + "literal": "(value) -> 'str'", + "parse_dataset": "(raw: 'bytes') -> 'list[OrderedDict]'", + "parse_datasets": "(raw: 'bytes') -> 'list'", + "query": "(sql: 'str', cfg: 'HotelConfig | None' = None, params=()) -> 'list[OrderedDict]'", + "query_proc": "(name: 'str', cfg: 'HotelConfig | None' = None, params=()) -> 'list'" + } + } + } +} \ No newline at end of file