@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Analytics
constructor
endpoint
http
options
timeout
uri
Helper
balances
cash
Book
customers
get
Customers
Overview
get
Customers
Report
get
Customers
Transaction
get
Discounts
Reports
get
Payments
Report
get
Product
Groups
get
Product
Groups
Filters
get
Product
Groups
Report
get
Product
Groups
Staff
Report
get
Products
Children
get
Products
Report
get
Refunds
Report
get
Reports
Products
get
Revenues
get
Revenues
For
Day
OfWeek
get
Revenues
For
Hour
OfDay
get
Revenues
Sum
For
Time
Range
get
Simple
Sales
Cart
Items
get
Staff
Overview
Report
get
Staff
Sales
get
Stocks
Report
get
Top
Payments
Report
get
Top
Products
Report
get
Vouchers
Reports
payment
Options
payments
vat
Discounts
Report
Fetch
Failed
Payments
Report
Fetch
Failed
Product
Groups
Report
Fetch
Failed
Product
Groups
Staff
Report
Fetch
Failed
Products
Report
Fetch
Failed
Refunds
Report
Fetch
Failed
Reports
Customer
Customers
Failed
Reports
Customer
Overview
Failed
Reports
Customer
Transactions
Failed
Reports
Product
Groups
Fetch
Failed
Reports
Product
Groups
Filters
Fetch
Failed
Reports
Staff
Sales
Fetch
Failed
Reports
Stocks
Fetch
Failed
Revenues
Fetch
Failed
Simple
Sales
Cart
Items
Report
Fetch
Failed
Staff
Overview
Fetch
Failed
Statistics
Product
Children
Fetch
Failed
Statistics
Product
Fetch
Failed
Top
Payments
Report
Fetch
Failed
Vouchers
Report
Fetch
Failed
Analytics
Options
Analytics
Response
Customers
Transaction
Options
Discount
Options
Export
Format
Options
Payments
Report
Options
Product
Groups
Filters
Product
Groups
Options
Products
Options
Report
Options
Revenu
Basic
Options
Revenues
Options
Simple
Sales
Cart
Items
Options
Staff
Query
Staff
Sales
Options
Top
Payments
Report
Options
Voucher
Options
Revenue
Periods
StaffID
Hierarchy
Analytics
Index
Constructors
constructor
Properties
endpoint
http
options
timeout
uri
Helper
Methods
balances
cash
Book
customers
get
Customers
Overview
get
Customers
Report
get
Customers
Transaction
get
Discounts
Reports
get
Payments
Report
get
Product
Groups
get
Product
Groups
Filters
get
Product
Groups
Report
get
Product
Groups
Staff
Report
get
Products
Children
get
Products
Report
get
Refunds
Report
get
Reports
Products
get
Revenues
get
Revenues
For
Day
OfWeek
get
Revenues
For
Hour
OfDay
get
Revenues
Sum
For
Time
Range
get
Simple
Sales
Cart
Items
get
Staff
Overview
Report
get
Staff
Sales
get
Stocks
Report
get
Top
Payments
Report
get
Top
Products
Report
get
Vouchers
Reports
payment
Options
payments
vat
Constructors
constructor
new
Analytics
(
options
:
AnalyticsOptions
, http
:
Client
)
:
Analytics
Parameters
options:
AnalyticsOptions
http:
Client
Returns
Analytics
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
AnalyticsOptions
timeout
timeout
:
undefined
|
number
uri
Helper
uri
Helper
:
UriHelper
Methods
balances
balances
(
)
:
Balances
Returns
Balances
cash
Book
cash
Book
(
)
:
CashBook
Returns
CashBook
customers
customers
(
)
:
Customers
Returns
Customers
get
Customers
Overview
get
Customers
Overview
(
query
:
CustomersTransactionOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
CustomersTransactionOptions
Returns
Promise
<
AnalyticsResponse
>
get
Customers
Report
get
Customers
Report
(
query
?:
ExportFormatOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
ExportFormatOptions
Returns
Promise
<
AnalyticsResponse
>
get
Customers
Transaction
get
Customers
Transaction
(
query
:
CustomersTransactionOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
CustomersTransactionOptions
Returns
Promise
<
AnalyticsResponse
>
get
Discounts
Reports
get
Discounts
Reports
(
query
?:
DiscountOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
DiscountOptions
Returns
Promise
<
AnalyticsResponse
>
get
Payments
Report
get
Payments
Report
(
query
?:
PaymentsReportOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
PaymentsReportOptions
Returns
Promise
<
AnalyticsResponse
>
get
Product
Groups
get
Product
Groups
(
query
?:
ProductGroupsOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
ProductGroupsOptions
Returns
Promise
<
AnalyticsResponse
>
get
Product
Groups
Filters
get
Product
Groups
Filters
(
query
:
ProductGroupsFilters
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
ProductGroupsFilters
Returns
Promise
<
AnalyticsResponse
>
get
Product
Groups
Report
get
Product
Groups
Report
(
query
?:
RevenuBasicOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
RevenuBasicOptions
Returns
Promise
<
AnalyticsResponse
>
get
Product
Groups
Staff
Report
get
Product
Groups
Staff
Report
(
options
?:
ReportOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
options:
ReportOptions
Returns
Promise
<
AnalyticsResponse
>
get
Products
Children
get
Products
Children
(
productNumber
:
string
, query
?:
ProductsOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
productNumber:
string
Optional
query:
ProductsOptions
Returns
Promise
<
AnalyticsResponse
>
get
Products
Report
get
Products
Report
(
options
?:
ReportOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
options:
ReportOptions
Returns
Promise
<
AnalyticsResponse
>
get
Refunds
Report
get
Refunds
Report
(
options
?:
ReportOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
options:
ReportOptions
Returns
Promise
<
AnalyticsResponse
>
get
Reports
Products
get
Reports
Products
(
query
?:
ProductsOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
ProductsOptions
Returns
Promise
<
AnalyticsResponse
>
get
Revenues
get
Revenues
(
query
:
RevenuesOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
RevenuesOptions
Returns
Promise
<
AnalyticsResponse
>
get
Revenues
For
Day
OfWeek
get
Revenues
For
Day
OfWeek
(
query
:
RevenuBasicOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
RevenuBasicOptions
Returns
Promise
<
AnalyticsResponse
>
get
Revenues
For
Hour
OfDay
get
Revenues
For
Hour
OfDay
(
query
:
RevenuBasicOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
RevenuBasicOptions
Returns
Promise
<
AnalyticsResponse
>
get
Revenues
Sum
For
Time
Range
get
Revenues
Sum
For
Time
Range
(
query
:
RevenuBasicOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
query:
RevenuBasicOptions
Returns
Promise
<
AnalyticsResponse
>
get
Simple
Sales
Cart
Items
get
Simple
Sales
Cart
Items
(
query
?:
SimpleSalesCartItemsOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
SimpleSalesCartItemsOptions
Returns
Promise
<
AnalyticsResponse
>
get
Staff
Overview
Report
get
Staff
Overview
Report
(
query
?:
StaffQuery
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
StaffQuery
Returns
Promise
<
AnalyticsResponse
>
get
Staff
Sales
get
Staff
Sales
(
query
?:
StaffSalesOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
StaffSalesOptions
Returns
Promise
<
AnalyticsResponse
>
get
Stocks
Report
get
Stocks
Report
(
query
?:
ExportFormatOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
ExportFormatOptions
Returns
Promise
<
AnalyticsResponse
>
get
Top
Payments
Report
get
Top
Payments
Report
(
query
?:
TopPaymentsReportOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
TopPaymentsReportOptions
Returns
Promise
<
AnalyticsResponse
>
get
Top
Products
Report
get
Top
Products
Report
(
options
?:
ReportOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
options:
ReportOptions
Returns
Promise
<
AnalyticsResponse
>
get
Vouchers
Reports
get
Vouchers
Reports
(
query
?:
VoucherOptions
)
:
Promise
<
AnalyticsResponse
>
Parameters
Optional
query:
VoucherOptions
Returns
Promise
<
AnalyticsResponse
>
payment
Options
payment
Options
(
)
:
PaymentOptions
Returns
PaymentOptions
payments
payments
(
)
:
Payments
Returns
Payments
vat
vat
(
)
:
Vat
Returns
Vat
Generated using
TypeDoc