@figuredev/orders-sdk
Advanced tools
Comparing version 0.12.88 to 0.12.89
@@ -349,2 +349,3 @@ import { AddressDTO, IsoDateTime, Maybe, RecipientDTO } from "./types"; | ||
productId?: Maybe<string>; | ||
modifierId?: Maybe<string>; | ||
quantity?: Maybe<number>; | ||
@@ -351,0 +352,0 @@ name: string; |
@@ -8,2 +8,8 @@ import { NetCollectedBreakdownByEmployeeReportDTO, NetCollectedBreakdownByPaymentTypeReportDTO, NetCollectedBreakdownReportDTO, OrderListReportDTO, ReportExportType, SalesTaxReportDTO, SummaryGraphDTO, SummaryReportCsvDTO, TipsAndGratuityByAssignmentDTO, TransactionByAssignmentReportDTO, TransactionByCategoryReportDTO, TransactionByPaymentTypeByEmployeeReportDTO, TransactionByPaymentTypeReportDTO, TransactionBySourceReportDTO } from "./reportsTypes"; | ||
}; | ||
declare type ReportParams = { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}; | ||
export declare class ReportsClient { | ||
@@ -18,62 +24,12 @@ private config; | ||
}; | ||
getTransactionsByPaymentTypeReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<TransactionByPaymentTypeReportDTO[]>; | ||
getTransactionsByPaymentTypeByEmployeeReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<TransactionByPaymentTypeByEmployeeReportDTO[]>; | ||
getNetCollectedBreakdownByEmployeeReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<NetCollectedBreakdownByEmployeeReportDTO[]>; | ||
getTransactionsBySourceReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<TransactionBySourceReportDTO[]>; | ||
getTransactionsByAssignmentReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<TransactionByAssignmentReportDTO[]>; | ||
getTipsGratuityByAssignmentReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<TipsAndGratuityByAssignmentDTO>; | ||
getTransactionsByCategoryReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<TransactionByCategoryReportDTO[]>; | ||
getNetCollectedBreakdownReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<NetCollectedBreakdownReportDTO[]>; | ||
getNetCollectedBreakdownByPaymentTypeReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<NetCollectedBreakdownByPaymentTypeReportDTO>; | ||
getSalesTaxReport(ctx: UserContext, params: { | ||
from: IsoDate; | ||
to: IsoDate; | ||
assigneeIds?: string[]; | ||
locationIds?: string[]; | ||
}): Promise<SalesTaxReportDTO>; | ||
getTransactionsByPaymentTypeReport(ctx: UserContext, params: ReportParams): Promise<TransactionByPaymentTypeReportDTO[]>; | ||
getTransactionsByPaymentTypeByEmployeeReport(ctx: UserContext, params: ReportParams): Promise<TransactionByPaymentTypeByEmployeeReportDTO[]>; | ||
getNetCollectedBreakdownByEmployeeReport(ctx: UserContext, params: ReportParams): Promise<NetCollectedBreakdownByEmployeeReportDTO[]>; | ||
getTransactionsBySourceReport(ctx: UserContext, params: ReportParams): Promise<TransactionBySourceReportDTO[]>; | ||
getTransactionsByAssignmentReport(ctx: UserContext, params: ReportParams): Promise<TransactionByAssignmentReportDTO[]>; | ||
getTipsGratuityByAssignmentReport(ctx: UserContext, params: ReportParams): Promise<TipsAndGratuityByAssignmentDTO>; | ||
getTransactionsByCategoryReport(ctx: UserContext, params: ReportParams): Promise<TransactionByCategoryReportDTO[]>; | ||
getNetCollectedBreakdownReport(ctx: UserContext, params: ReportParams): Promise<NetCollectedBreakdownReportDTO[]>; | ||
getNetCollectedBreakdownByPaymentTypeReport(ctx: UserContext, params: ReportParams): Promise<NetCollectedBreakdownByPaymentTypeReportDTO>; | ||
getSalesTaxReport(ctx: UserContext, params: ReportParams): Promise<SalesTaxReportDTO>; | ||
getSummaryGraphReport(ctx: UserContext, params: { | ||
@@ -80,0 +36,0 @@ from: IsoDate; |
{ | ||
"name": "@figuredev/orders-sdk", | ||
"version": "0.12.88", | ||
"license": "ISC", | ||
"files": [ | ||
"lib/*" | ||
], | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"axios": "^0.21.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.3.5" | ||
}, | ||
"scripts": { | ||
"prepublish": "yarn build", | ||
"build": "rm -rf lib && tsc" | ||
} | ||
"name": "@figuredev/orders-sdk", | ||
"version": "0.12.89", | ||
"license": "ISC", | ||
"files": [ | ||
"lib/*" | ||
], | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"axios": "^0.21.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4.3.5" | ||
}, | ||
"scripts": { | ||
"prepublish": "yarn build", | ||
"build": "rm -rf lib && tsc" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71145
1348