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

@timetac/js-client-library

Package Overview
Dependencies
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@timetac/js-client-library - npm Package Compare versions

Comparing version 0.26.4 to 0.26.5

dist/timesheetAccountingSummaries/index.d.ts

3

dist/index.d.ts

@@ -30,2 +30,3 @@ import { AbsenceDaysEndpoint } from './absenceDays';

import { ConfigProvider } from './utils';
import { TimesheetAccountingSummariesEndpoint } from './timesheetAccountingSummaries';
export { AbsenceDay } from './absenceDays/types';

@@ -71,2 +72,3 @@ export { Absence, AbsenceApprove, AbsenceCreate, AbsenceReject, AbsenceUpdate } from './absences/types';

export { UpdateRawResponse } from './utils/response/updateRawResponse';
export { TimesheetAccountingSummaries, TimesheetAccountingSummariesRead } from './timesheetAccountingSummaries/types';
export default class Api {

@@ -102,2 +104,3 @@ config: ConfigProvider;

timezones: TimezonesEndpoint;
timesheetAccountingSummaries: TimesheetAccountingSummariesEndpoint;
constructor(config: ApiConfig);

@@ -104,0 +107,0 @@ setBaseUrl(): void;

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

const axiosSetup_1 = require("./utils/axiosSetup");
const timesheetAccountingSummaries_1 = require("./timesheetAccountingSummaries");
__exportStar(require("./enums"), exports);

@@ -88,2 +89,3 @@ var axiosSetup_2 = require("./utils/axiosSetup");

this.timezones = new timezones_1.TimezonesEndpoint(this.config);
this.timesheetAccountingSummaries = new timesheetAccountingSummaries_1.TimesheetAccountingSummariesEndpoint(this.config);
axiosSetup_1.useInterceptors({ state: this.state, config: this.config, authentication: this.authentication });

@@ -90,0 +92,0 @@ }

2

dist/utils/params/requestParams.d.ts

@@ -29,4 +29,4 @@ export declare type RequestParams<R> = Record<string, string> & {

getOffset(): number;
nestedEntities(NestedParams: NestedParams): RequestParamsBuilder<R>;
nestedEntities(nestedParams: NestedParams): RequestParamsBuilder<R>;
}
export {};

@@ -96,4 +96,4 @@ "use strict";

}
nestedEntities(NestedParams) {
this.requestParams['nestedEntities'] = JSON.stringify(NestedParams);
nestedEntities(nestedParams) {
this.requestParams['nestedEntities'] = JSON.stringify(nestedParams);
return this;

@@ -100,0 +100,0 @@ }

{
"name": "@timetac/js-client-library",
"version": "0.26.4",
"version": "0.26.5",
"description": "TimeTac API JS client library",

@@ -38,3 +38,3 @@ "homepage": "https://github.com/TimeTac/js-client-library#readme",

"dependencies": {
"axios": "0.21.1",
"axios": "0.21.3",
"typescript": "^4.2.3"

@@ -41,0 +41,0 @@ },

@@ -46,4 +46,10 @@ # TimeTac Client Library

host: 'go.timetac.com',
https?: boolean;
account: <ACCOUNT_NAME>,
version: 3,
account?: string;
accessToken?: string;
refreshToken?: string;
clientId?: string;
clientSecret?: string;
//Callback, called on refresh of the token. object of access token and refresh {accessToken, refreshTOken} token are passed as parameter

@@ -54,3 +60,4 @@ onTokenRefreshedCallback: (tokens) => console.log(`${tokens.accessToken} ${tokens.refreshToken}`),

//If true, it tries to refresh token on failed request. Default true.
autoRefreshToken: <BOOLEAN>
shouldAutoRefreshToken?: boolean;
timeout?: number;
}

@@ -189,3 +196,3 @@

- [x] [timesheetAccountings](https://api.timetac.com/doc/v3#tag/timesheetAccountings)
- [ ] [timesheetAccountingSummaries](https://api.timetac.com/doc/v3#tag/timesheetAccountingSummaries)
- [x] [timesheetAccountingSummaries](https://api.timetac.com/doc/v3#tag/timesheetAccountingSummaries)
- [ ] [timesheetActionLogs](https://api.timetac.com/doc/v3#tag/timesheetActionLogs)

@@ -192,0 +199,0 @@ - [ ] [timeTrackingChangelogs](https://api.timetac.com/doc/v3#tag/timeTrackingChangelogs)

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