Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@figuredev/orders-sdk

Package Overview
Dependencies
Maintainers
8
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/orders-sdk - npm Package Compare versions

Comparing version 0.12.68 to 0.12.69

4

lib/reports.d.ts

@@ -1,2 +0,2 @@

import { NetCollectedBreakdownByEmployeeReportDTO, NetCollectedBreakdownReportDTO, SummaryGraphDTO, SummaryReportCsvDTO, TransactionByAssignmentReportDTO, TransactionByCategoryReportDTO, TransactionByPaymentTypeByEmployeeReportDTO, TransactionByPaymentTypeReportDTO, TransactionBySourceReportDTO } from "./reportsTypes";
import { NetCollectedBreakdownByEmployeeReportDTO, NetCollectedBreakdownReportDTO, ReportExportType, SummaryGraphDTO, SummaryReportCsvDTO, TransactionByAssignmentReportDTO, TransactionByCategoryReportDTO, TransactionByPaymentTypeByEmployeeReportDTO, TransactionByPaymentTypeReportDTO, TransactionBySourceReportDTO } from "./reportsTypes";
import { IsoDate } from "./types";

@@ -71,5 +71,5 @@ import { UserContext } from "./utils";

employeeName?: string;
type: string;
type: ReportExportType;
}): Promise<SummaryReportCsvDTO[]>;
}
export {};

@@ -14,2 +14,3 @@ "use strict";

const axios_1 = require("axios");
const reportsTypes_1 = require("./reportsTypes");
class ReportsClient {

@@ -135,2 +136,3 @@ constructor(config) {

data: Object.assign(Object.assign(Object.assign({ from: params.from, to: params.to }, (params.locationIds ? { locationIds: params.locationIds } : null)), (params.employeeName ? { employeeName: params.employeeName } : null)), { type: params.type }),
responseType: params.type === reportsTypes_1.ReportExportType.Excel ? "arraybuffer" : "json",
})

@@ -137,0 +139,0 @@ .then((r) => { var _a; return (_a = r.data) !== null && _a !== void 0 ? _a : []; });

{
"name": "@figuredev/orders-sdk",
"version": "0.12.68",
"version": "0.12.69",
"license": "ISC",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc