@indigina/dcm-api 0.0.63 → 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 -21
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/companies.d.ts +2 -2
- package/model/company.d.ts +2 -1
- package/model/currentUser.d.ts +4 -0
- package/model/models.d.ts +1 -1
- package/model/userCompanyType.d.ts +22 -0
- package/package.json +1 -1
- package/model/company1.d.ts +0 -14
package/model/companies.d.ts
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
10
|
+
import { Company } from './company';
|
|
11
11
|
export interface Companies {
|
|
12
12
|
total: number;
|
|
13
|
-
data: Array<
|
|
13
|
+
data: Array<Company>;
|
|
14
14
|
}
|
package/model/company.d.ts
CHANGED
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
|
@@ -11,7 +11,6 @@ export * from './column';
|
|
|
11
11
|
export * from './commandStatusResult';
|
|
12
12
|
export * from './companies';
|
|
13
13
|
export * from './company';
|
|
14
|
-
export * from './company1';
|
|
15
14
|
export * from './consignee';
|
|
16
15
|
export * from './containerBookedState';
|
|
17
16
|
export * from './containerGridView';
|
|
@@ -105,5 +104,6 @@ export * from './transportationShipmentTimelineItem';
|
|
|
105
104
|
export * from './user';
|
|
106
105
|
export * from './userApplication';
|
|
107
106
|
export * from './userApplications';
|
|
107
|
+
export * from './userCompanyType';
|
|
108
108
|
export * from './userPermissions';
|
|
109
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
|
+
};
|
package/package.json
CHANGED
package/model/company1.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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 interface Company1 {
|
|
11
|
-
id: number;
|
|
12
|
-
companyDescription: string | null;
|
|
13
|
-
companyCode: string;
|
|
14
|
-
}
|