@steffesgroup/steffes-auth
Advanced tools
Comparing version 2.0.11 to 2.0.12
@@ -10,2 +10,11 @@ import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios'; | ||
/** | ||
* Get addresses to user | ||
* @param tenantId The ID of the tenant to associate the entity with. | ||
*/ | ||
getAddresses(tenantId: string): Promise<Address[]>; | ||
/** | ||
* Add phone to user | ||
*/ | ||
getPhones(tenantId: string): Promise<Phone[]>; | ||
/** | ||
* Add address to user | ||
@@ -92,2 +101,13 @@ * @param tenantId The ID of the tenant to associate the entity with. | ||
/** | ||
* Get addresses to user | ||
* @param tenantId The ID of the tenant to associate the entity with. | ||
*/ | ||
getAddresses(tenantId: string, cancelToken?: CancelToken): Promise<Address[]>; | ||
protected processGetAddresses(response: AxiosResponse): Promise<Address[]>; | ||
/** | ||
* Add phone to user | ||
*/ | ||
getPhones(tenantId: string, cancelToken?: CancelToken): Promise<Phone[]>; | ||
protected processGetPhones(response: AxiosResponse): Promise<Phone[]>; | ||
/** | ||
* Add address to user | ||
@@ -423,2 +443,20 @@ * @param tenantId The ID of the tenant to associate the entity with. | ||
} | ||
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 CreateAddressDTO implements ICreateAddressDTO { | ||
@@ -452,20 +490,2 @@ addressLine1: 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 { | ||
@@ -472,0 +492,0 @@ countryCode: string; |
{ | ||
"name": "@steffesgroup/steffes-auth", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"description": "Steffes Auth", | ||
@@ -5,0 +5,0 @@ "main": "dist/api.js", |
Sorry, the diff of this file is too big to display
160368
4126