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
2
Versions
214
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 2.19.1 to 2.19.2

3

dist/cjs/users/index.d.ts

@@ -7,3 +7,3 @@ import { AxiosRequestConfig } from 'axios';

import { ReadRawResponse } from '../utils/response/readRawResponse';
import { UserCreate, UserResetPassword, UserUpdate, UserUpdatePassword, UserReadMe, UserRead, UserValidatePassword, UserCreateLoginLink, ReturnUserCreateLoginLink, UserSendWelcomeEmail } from './types';
import { UserCreate, UserResetPassword, UserUpdate, UserUpdatePassword, UserReadMe, UserRead, UserValidatePassword, UserCreateLoginLink, ReturnUserCreateLoginLink, UserSendWelcomeEmail, UserInvite } from './types';
declare const resourceName = "users";

@@ -31,3 +31,4 @@ declare const usersReadMe = "usersReadMe";

sendWelcomeEmail(data: UserSendWelcomeEmail): Promise<LibraryReturn<ResourceName, Entity<ResourceName> | undefined>>;
inviteUsers(data: UserInvite | Array<UserInvite>): Promise<LibraryReturn<ResourceName, Entity<ResourceName> | Array<Entity<ResourceName> | ParsedErrorMesage> | undefined>>;
}
export {};

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

}
inviteUsers(data) {
const response = this._post('invite', data);
return (0, responseHandlers_1.requiredBatch)(response);
}
}
exports.UsersEndpoint = UsersEndpoint;
//# sourceMappingURL=index.js.map

@@ -132,1 +132,6 @@ export type UserReadObscured = {

}
export interface UserInvite {
email_address: string;
firstname: string;
lastname: string;
}

@@ -7,3 +7,3 @@ import { AxiosRequestConfig } from 'axios';

import { ReadRawResponse } from '../utils/response/readRawResponse';
import { UserCreate, UserResetPassword, UserUpdate, UserUpdatePassword, UserReadMe, UserRead, UserValidatePassword, UserCreateLoginLink, ReturnUserCreateLoginLink, UserSendWelcomeEmail } from './types';
import { UserCreate, UserResetPassword, UserUpdate, UserUpdatePassword, UserReadMe, UserRead, UserValidatePassword, UserCreateLoginLink, ReturnUserCreateLoginLink, UserSendWelcomeEmail, UserInvite } from './types';
declare const resourceName = "users";

@@ -31,3 +31,4 @@ declare const usersReadMe = "usersReadMe";

sendWelcomeEmail(data: UserSendWelcomeEmail): Promise<LibraryReturn<ResourceName, Entity<ResourceName> | undefined>>;
inviteUsers(data: UserInvite | Array<UserInvite>): Promise<LibraryReturn<ResourceName, Entity<ResourceName> | Array<Entity<ResourceName> | ParsedErrorMesage> | undefined>>;
}
export {};

@@ -80,3 +80,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
inviteUsers(data) {
const response = this._post('invite', data);
return requiredBatch(response);
}
}
//# sourceMappingURL=index.js.map

@@ -132,1 +132,6 @@ export type UserReadObscured = {

}
export interface UserInvite {
email_address: string;
firstname: string;
lastname: string;
}
{
"name": "@timetac/js-client-library",
"version": "2.19.1",
"version": "2.19.2",
"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

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