@indigina/dcm-api 0.0.64 → 0.0.65
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.
- package/README.md +2 -2
- package/fesm2022/indigina-dcm-api.mjs +23 -11
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/currentUser.d.ts +4 -0
- package/model/models.d.ts +1 -0
- package/model/userCompanyType.d.ts +22 -0
- package/package.json +1 -1
package/model/currentUser.d.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
+
import { UserCompanyType } from './userCompanyType';
|
|
10
11
|
export interface CurrentUser {
|
|
11
12
|
id: number;
|
|
12
13
|
userName: string | null;
|
|
@@ -15,4 +16,7 @@ export interface CurrentUser {
|
|
|
15
16
|
lastName: string | null;
|
|
16
17
|
name: string | null;
|
|
17
18
|
companyName: string;
|
|
19
|
+
companyType?: UserCompanyType;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace CurrentUser {
|
|
18
22
|
}
|
package/model/models.d.ts
CHANGED
|
@@ -104,5 +104,6 @@ export * from './transportationShipmentTimelineItem';
|
|
|
104
104
|
export * from './user';
|
|
105
105
|
export * from './userApplication';
|
|
106
106
|
export * from './userApplications';
|
|
107
|
+
export * from './userCompanyType';
|
|
107
108
|
export * from './userPermissions';
|
|
108
109
|
export * from './workflowArtifacts';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export type UserCompanyType = 'DC' | 'Client' | 'OriginAgent' | 'DestinationAgent' | 'Vendor' | 'Integration' | 'SystemAdmin' | 'ReportAdmin' | 'SS_SysAdmin' | 'SS_ReportAdmin';
|
|
11
|
+
export declare const UserCompanyType: {
|
|
12
|
+
Dc: UserCompanyType;
|
|
13
|
+
Client: UserCompanyType;
|
|
14
|
+
OriginAgent: UserCompanyType;
|
|
15
|
+
DestinationAgent: UserCompanyType;
|
|
16
|
+
Vendor: UserCompanyType;
|
|
17
|
+
Integration: UserCompanyType;
|
|
18
|
+
SystemAdmin: UserCompanyType;
|
|
19
|
+
ReportAdmin: UserCompanyType;
|
|
20
|
+
SsSysAdmin: UserCompanyType;
|
|
21
|
+
SsReportAdmin: UserCompanyType;
|
|
22
|
+
};
|