@cbm-common/cbm-types 0.0.94 → 0.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -48,6 +48,7 @@ export declare namespace CbmCreditRequestModel {
|
|
|
48
48
|
approved_value?: number;
|
|
49
49
|
new_credit_number?: string;
|
|
50
50
|
client_id: string;
|
|
51
|
+
client_credit_limit?: number;
|
|
51
52
|
client_business_name: string;
|
|
52
53
|
client_trade_name: string;
|
|
53
54
|
client_document_number: string;
|
|
@@ -116,6 +117,7 @@ export declare namespace CbmCreditRequestModel {
|
|
|
116
117
|
reason_country_description?: string;
|
|
117
118
|
reason_country_description_process?: string;
|
|
118
119
|
client_id: string;
|
|
120
|
+
client_credit_limit?: number;
|
|
119
121
|
client_business_name: string;
|
|
120
122
|
client_trade_name: string;
|
|
121
123
|
client_document_number: string;
|
|
@@ -206,6 +208,7 @@ export declare namespace CbmCreditRequestModel {
|
|
|
206
208
|
deny_reason_country_description?: string;
|
|
207
209
|
deny_reason_country_description_process?: string;
|
|
208
210
|
client_id: string;
|
|
211
|
+
client_credit_limit?: number;
|
|
209
212
|
client_business_name: string;
|
|
210
213
|
client_trade_name: string;
|
|
211
214
|
client_document_number: string;
|
|
@@ -10,7 +10,7 @@ export interface CbmAuthData {
|
|
|
10
10
|
company: CbmAuthData.Company;
|
|
11
11
|
companyBranchData: CbmAuthData.CompanyBranchData;
|
|
12
12
|
countries: CbmAuthData.Country[];
|
|
13
|
-
roles: CbmAuthData.Role
|
|
13
|
+
roles: CbmAuthData.Role;
|
|
14
14
|
modules: CbmAuthData.Module[];
|
|
15
15
|
user_session_id: string;
|
|
16
16
|
subscription: CbmAuthData.Subscription;
|
|
@@ -179,5 +179,7 @@ export declare namespace CbmConsoleTokenData {
|
|
|
179
179
|
export declare enum LOCAL_STORAGE_KEY {
|
|
180
180
|
TOKEN_GLOBAL_KEY = "tokenGlobal",
|
|
181
181
|
TOKEN_USER_KEY = "tokenUser",
|
|
182
|
-
CONSOLE_TOKEN_KEY = "consoleToken"
|
|
182
|
+
CONSOLE_TOKEN_KEY = "consoleToken",
|
|
183
|
+
TOKEN_INFO_KEY = "tokenInfo",
|
|
184
|
+
TOKEN_CONSOLE_INFO_KEY = "tokenConsoleInfo"
|
|
183
185
|
}
|
|
@@ -8,9 +8,13 @@ export declare class CbmAuthService {
|
|
|
8
8
|
private globalTokenData?;
|
|
9
9
|
private userTokenData?;
|
|
10
10
|
private consoleTokenData?;
|
|
11
|
+
private tokenInfoData?;
|
|
12
|
+
private tokenConsoleInfoData?;
|
|
11
13
|
set authToken(token: string);
|
|
12
14
|
set userToken(token: string);
|
|
13
15
|
set consoleToken(token: string);
|
|
16
|
+
set tokenInfo(token: string);
|
|
17
|
+
set tokenConsoleInfo(token: string);
|
|
14
18
|
get authData(): CbmAuthData;
|
|
15
19
|
get userData(): CbmTokenUserData;
|
|
16
20
|
get consoleData(): CbmConsoleTokenData;
|