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.2 to 0.26.3

5

dist/timetrackings/types.d.ts

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

declare type TimeTrackingPossibleNestedEntities = 'changeTimeTrackingRequests';
export interface TimeTracking {

@@ -67,2 +68,5 @@ id: number;

absence_request_id?: number;
nestedEntities?: {
[key in TimeTrackingPossibleNestedEntities]: Array<Record<string, unknown>>;
};
}

@@ -81,1 +85,2 @@ export declare type TimeTrackingCreate = Omit<TimeTracking, 'id'>;

}
export {};
export declare type RequestParams<R> = Record<string, string> & {
_type?: R;
};
declare type NestedParams = {
[key: string]: undefined | Array<NestedParams>;
};
export declare class RequestParamsBuilder<R extends Object> {

@@ -26,2 +29,4 @@ protected requestParams: RequestParams<R>;

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

4

dist/utils/params/requestParams.js

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

}
nestedEntities(NestedParams) {
this.requestParams['nestedEntities'] = JSON.stringify(NestedParams);
return this;
}
}
exports.RequestParamsBuilder = RequestParamsBuilder;
//# sourceMappingURL=requestParams.js.map

2

package.json
{
"name": "@timetac/js-client-library",
"version": "0.26.2",
"version": "0.26.3",
"description": "TimeTac API JS client library",

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

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