New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@steffesgroup/steffes-auth

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@steffesgroup/steffes-auth - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

440

dist/api.d.ts

@@ -29,2 +29,26 @@ import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';

updatePassword(tenantId: string, updatePasswordDTO: UpdatePasswordDTO): Promise<FileResponse>;
/**
* Add address to user
*/
addAddress(tenantId: string, createDetails: CreateAddressDTO): Promise<Address>;
/**
* Add phone to user
*/
addPhone(tenantId: string, createDetails: CreatePhoneDTO): Promise<Phone>;
/**
* Edit address for user
*/
editAddress(tenantId: string, addressId: string, updateDetails: CreateAddressDTO): Promise<Address>;
/**
* Edit phone for user
*/
editPhone(tenantId: string, phoneId: string, updateDetails: CreatePhoneDTO): Promise<Phone>;
/**
* Remove address from user
*/
removeAddress(tenantId: string, addressId: string): Promise<UserDTO>;
/**
* Remove phone from user
*/
removePhone(tenantId: string, phoneId: string): Promise<UserDTO>;
}

@@ -61,2 +85,32 @@ export declare class UserClient extends AuthorizedApiBase implements IUserClient {

protected processUpdatePassword(response: AxiosResponse): Promise<FileResponse>;
/**
* Add address to user
*/
addAddress(tenantId: string, createDetails: CreateAddressDTO, cancelToken?: CancelToken): Promise<Address>;
protected processAddAddress(response: AxiosResponse): Promise<Address>;
/**
* Add phone to user
*/
addPhone(tenantId: string, createDetails: CreatePhoneDTO, cancelToken?: CancelToken): Promise<Phone>;
protected processAddPhone(response: AxiosResponse): Promise<Phone>;
/**
* Edit address for user
*/
editAddress(tenantId: string, addressId: string, updateDetails: CreateAddressDTO, cancelToken?: CancelToken): Promise<Address>;
protected processEditAddress(response: AxiosResponse): Promise<Address>;
/**
* Edit phone for user
*/
editPhone(tenantId: string, phoneId: string, updateDetails: CreatePhoneDTO, cancelToken?: CancelToken): Promise<Phone>;
protected processEditPhone(response: AxiosResponse): Promise<Phone>;
/**
* Remove address from user
*/
removeAddress(tenantId: string, addressId: string, cancelToken?: CancelToken): Promise<UserDTO>;
protected processRemoveAddress(response: AxiosResponse): Promise<UserDTO>;
/**
* Remove phone from user
*/
removePhone(tenantId: string, phoneId: string, cancelToken?: CancelToken): Promise<UserDTO>;
protected processRemovePhone(response: AxiosResponse): Promise<UserDTO>;
}

@@ -254,133 +308,2 @@ export interface IAuthClient {

}
export declare class TokenDTO implements ITokenDTO {
accessToken?: string | undefined;
accessTokenExpires?: Date;
refreshToken?: string | undefined;
refreshTokenExpires?: Date;
isLocked?: boolean;
constructor(data?: ITokenDTO);
init(_data?: any): void;
static fromJS(data: any): TokenDTO;
toJSON(data?: any): any;
}
export interface ITokenDTO {
accessToken?: string | undefined;
accessTokenExpires?: Date;
refreshToken?: string | undefined;
refreshTokenExpires?: Date;
isLocked?: boolean;
}
export declare class LoginDTO implements ILoginDTO {
email: string;
password: string;
platformType?: PlatformType | undefined;
constructor(data?: ILoginDTO);
init(_data?: any): void;
static fromJS(data: any): LoginDTO;
toJSON(data?: any): any;
}
export interface ILoginDTO {
email: string;
password: string;
platformType?: PlatformType | undefined;
}
export declare enum PlatformType {
Admin = "Admin",
Cataloging = "Cataloging",
Clerking = "Clerking",
PriceGuide = "PriceGuide",
SalesTool = "SalesTool",
Watcher = "Watcher",
Website = "Website"
}
export declare class RefreshTokenDTO implements IRefreshTokenDTO {
expiredToken: string;
refreshToken: string;
constructor(data?: IRefreshTokenDTO);
init(_data?: any): void;
static fromJS(data: any): RefreshTokenDTO;
toJSON(data?: any): any;
}
export interface IRefreshTokenDTO {
expiredToken: string;
refreshToken: string;
}
export declare class ResetPasswordDTO implements IResetPasswordDTO {
email: string;
password: string;
token: string;
constructor(data?: IResetPasswordDTO);
init(_data?: any): void;
static fromJS(data: any): ResetPasswordDTO;
toJSON(data?: any): any;
}
export interface IResetPasswordDTO {
email: string;
password: string;
token: string;
}
export declare class UnlockDTO implements IUnlockDTO {
email: string;
token: string;
constructor(data?: IUnlockDTO);
init(_data?: any): void;
static fromJS(data: any): UnlockDTO;
toJSON(data?: any): any;
}
export interface IUnlockDTO {
email: string;
token: string;
}
export declare class UserDTO extends ExtensibleCollection implements IUserDTO {
addresses?: Address[];
bidder?: CreateBidderDTO | undefined;
company?: string | undefined;
defaultImage?: RelationEntity | undefined;
email?: string | undefined;
emailConfirmed?: boolean;
firstName?: string | undefined;
fullName?: string | undefined;
industries?: RelationEntity[];
lastLoginDate?: Date | undefined;
lastName?: string | undefined;
locked?: boolean;
nextLotApiKey?: string | undefined;
nextLotId?: number | undefined;
description?: string | undefined;
phones?: Phone[];
registrationState?: RegistrationState;
staff?: CreateStaffDTO | undefined;
taxExemptionExpirationDate?: Date | undefined;
taxExemptionId?: string | undefined;
twoFactorEnabled?: boolean;
status?: UserStatus;
constructor(data?: IUserDTO);
init(_data?: any): void;
static fromJS(data: any): UserDTO;
toJSON(data?: any): any;
}
export interface IUserDTO extends IExtensibleCollection {
addresses?: Address[];
bidder?: CreateBidderDTO | undefined;
company?: string | undefined;
defaultImage?: RelationEntity | undefined;
email?: string | undefined;
emailConfirmed?: boolean;
firstName?: string | undefined;
fullName?: string | undefined;
industries?: RelationEntity[];
lastLoginDate?: Date | undefined;
lastName?: string | undefined;
locked?: boolean;
nextLotApiKey?: string | undefined;
nextLotId?: number | undefined;
description?: string | undefined;
phones?: Phone[];
registrationState?: RegistrationState;
staff?: CreateStaffDTO | undefined;
taxExemptionExpirationDate?: Date | undefined;
taxExemptionId?: string | undefined;
twoFactorEnabled?: boolean;
status?: UserStatus;
}
export declare class Address implements IAddress {

@@ -392,3 +315,5 @@ addressLine1?: string | undefined;

county?: string | undefined;
id?: string;
latitude?: number | undefined;
location?: Point | undefined;
longitude?: number | undefined;

@@ -399,3 +324,2 @@ primary?: boolean;

zipCode?: string | undefined;
location?: Point | undefined;
constructor(data?: IAddress);

@@ -412,3 +336,5 @@ init(_data?: any): void;

county?: string | undefined;
id?: string;
latitude?: number | undefined;
location?: Point | undefined;
longitude?: number | undefined;

@@ -419,3 +345,2 @@ primary?: boolean;

zipCode?: string | undefined;
location?: Point | undefined;
}

@@ -486,2 +411,114 @@ export declare abstract class Geometry implements IGeometry {

}
export declare class CreateAddressDTO implements ICreateAddressDTO {
addressLine1: string;
addressLine2?: string | undefined;
city: string;
country: string;
latitude?: number | undefined;
longitude?: number | undefined;
primary: boolean;
state: string;
valid: boolean;
zipCode: string;
constructor(data?: ICreateAddressDTO);
init(_data?: any): void;
static fromJS(data: any): CreateAddressDTO;
toJSON(data?: any): any;
}
export interface ICreateAddressDTO {
addressLine1: string;
addressLine2?: string | undefined;
city: string;
country: string;
latitude?: number | undefined;
longitude?: number | undefined;
primary: boolean;
state: string;
valid: boolean;
zipCode: string;
}
export declare class Phone implements IPhone {
countryCode?: string | undefined;
id?: string;
number?: string | undefined;
primary?: boolean;
verified?: boolean;
constructor(data?: IPhone);
init(_data?: any): void;
static fromJS(data: any): Phone;
toJSON(data?: any): any;
}
export interface IPhone {
countryCode?: string | undefined;
id?: string;
number?: string | undefined;
primary?: boolean;
verified?: boolean;
}
export declare class CreatePhoneDTO implements ICreatePhoneDTO {
countryCode: string;
number: string;
primary?: boolean;
constructor(data?: ICreatePhoneDTO);
init(_data?: any): void;
static fromJS(data: any): CreatePhoneDTO;
toJSON(data?: any): any;
}
export interface ICreatePhoneDTO {
countryCode: string;
number: string;
primary?: boolean;
}
export declare class UserDTO extends ExtensibleCollection implements IUserDTO {
addresses?: Address[];
bidder?: CreateBidderDTO | undefined;
company?: string | undefined;
defaultImage?: RelationEntity | undefined;
email?: string | undefined;
emailConfirmed?: boolean;
firstName?: string | undefined;
fullName?: string | undefined;
industries?: RelationEntity[];
lastLoginDate?: Date | undefined;
lastName?: string | undefined;
locked?: boolean;
nextLotApiKey?: string | undefined;
nextLotId?: number | undefined;
description?: string | undefined;
phones?: Phone[];
registrationState?: RegistrationState;
staff?: CreateStaffDTO | undefined;
taxExemptionExpirationDate?: Date | undefined;
taxExemptionId?: string | undefined;
twoFactorEnabled?: boolean;
status?: UserStatus;
constructor(data?: IUserDTO);
init(_data?: any): void;
static fromJS(data: any): UserDTO;
toJSON(data?: any): any;
}
export interface IUserDTO extends IExtensibleCollection {
addresses?: Address[];
bidder?: CreateBidderDTO | undefined;
company?: string | undefined;
defaultImage?: RelationEntity | undefined;
email?: string | undefined;
emailConfirmed?: boolean;
firstName?: string | undefined;
fullName?: string | undefined;
industries?: RelationEntity[];
lastLoginDate?: Date | undefined;
lastName?: string | undefined;
locked?: boolean;
nextLotApiKey?: string | undefined;
nextLotId?: number | undefined;
description?: string | undefined;
phones?: Phone[];
registrationState?: RegistrationState;
staff?: CreateStaffDTO | undefined;
taxExemptionExpirationDate?: Date | undefined;
taxExemptionId?: string | undefined;
twoFactorEnabled?: boolean;
status?: UserStatus;
}
export declare abstract class CustomFieldsDTO implements ICustomFieldsDTO {

@@ -513,18 +550,2 @@ customFields?: {

}
export declare class Phone implements IPhone {
countryCode?: string | undefined;
number?: string | undefined;
primary?: boolean;
verified?: boolean;
constructor(data?: IPhone);
init(_data?: any): void;
static fromJS(data: any): Phone;
toJSON(data?: any): any;
}
export interface IPhone {
countryCode?: string | undefined;
number?: string | undefined;
primary?: boolean;
verified?: boolean;
}
export declare enum RegistrationState {

@@ -558,2 +579,81 @@ Started = "Started",

}
export declare class TokenDTO implements ITokenDTO {
accessToken?: string | undefined;
accessTokenExpires?: Date;
refreshToken?: string | undefined;
refreshTokenExpires?: Date;
isLocked?: boolean;
constructor(data?: ITokenDTO);
init(_data?: any): void;
static fromJS(data: any): TokenDTO;
toJSON(data?: any): any;
}
export interface ITokenDTO {
accessToken?: string | undefined;
accessTokenExpires?: Date;
refreshToken?: string | undefined;
refreshTokenExpires?: Date;
isLocked?: boolean;
}
export declare class LoginDTO implements ILoginDTO {
email: string;
password: string;
platformType?: PlatformType | undefined;
constructor(data?: ILoginDTO);
init(_data?: any): void;
static fromJS(data: any): LoginDTO;
toJSON(data?: any): any;
}
export interface ILoginDTO {
email: string;
password: string;
platformType?: PlatformType | undefined;
}
export declare enum PlatformType {
Admin = "Admin",
Cataloging = "Cataloging",
Clerking = "Clerking",
PriceGuide = "PriceGuide",
SalesTool = "SalesTool",
Watcher = "Watcher",
Website = "Website"
}
export declare class RefreshTokenDTO implements IRefreshTokenDTO {
expiredToken: string;
refreshToken: string;
constructor(data?: IRefreshTokenDTO);
init(_data?: any): void;
static fromJS(data: any): RefreshTokenDTO;
toJSON(data?: any): any;
}
export interface IRefreshTokenDTO {
expiredToken: string;
refreshToken: string;
}
export declare class ResetPasswordDTO implements IResetPasswordDTO {
email: string;
password: string;
token: string;
constructor(data?: IResetPasswordDTO);
init(_data?: any): void;
static fromJS(data: any): ResetPasswordDTO;
toJSON(data?: any): any;
}
export interface IResetPasswordDTO {
email: string;
password: string;
token: string;
}
export declare class UnlockDTO implements IUnlockDTO {
email: string;
token: string;
constructor(data?: IUnlockDTO);
init(_data?: any): void;
static fromJS(data: any): UnlockDTO;
toJSON(data?: any): any;
}
export interface IUnlockDTO {
email: string;
token: string;
}
export declare class RegisterUserDTO implements IRegisterUserDTO {

@@ -587,44 +687,2 @@ address?: CreateAddressDTO;

}
export declare class CreateAddressDTO implements ICreateAddressDTO {
addressLine1: string;
addressLine2?: string | undefined;
city: string;
country: string;
latitude?: number | undefined;
longitude?: number | undefined;
primary: boolean;
state: string;
valid: boolean;
zipCode: string;
constructor(data?: ICreateAddressDTO);
init(_data?: any): void;
static fromJS(data: any): CreateAddressDTO;
toJSON(data?: any): any;
}
export interface ICreateAddressDTO {
addressLine1: string;
addressLine2?: string | undefined;
city: string;
country: string;
latitude?: number | undefined;
longitude?: number | undefined;
primary: boolean;
state: string;
valid: boolean;
zipCode: string;
}
export declare class CreatePhoneDTO implements ICreatePhoneDTO {
countryCode: string;
number: string;
primary?: boolean;
constructor(data?: ICreatePhoneDTO);
init(_data?: any): void;
static fromJS(data: any): CreatePhoneDTO;
toJSON(data?: any): any;
}
export interface ICreatePhoneDTO {
countryCode: string;
number: string;
primary?: boolean;
}
export interface FileResponse {

@@ -631,0 +689,0 @@ data: Blob;

{
"name": "@steffesgroup/steffes-auth",
"version": "2.0.6",
"version": "2.0.7",
"description": "Steffes Auth",

@@ -5,0 +5,0 @@ "main": "dist/api.js",

Sorry, the diff of this file is too big to display

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