@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.
@@ -7,8 +7,8 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
- import { Company1 } from './company1';
10
+ import { Company } from './company';
11
11
  export interface Companies {
12
12
  total: number;
13
- data: Array<Company1>;
13
+ data: Array<Company>;
14
14
  }
@@ -9,5 +9,6 @@
9
9
  */
10
10
  export interface Company {
11
11
  id: string;
12
- companyDescription: string;
12
+ companyDescription: string | null;
13
+ companyCode: string;
13
14
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/dcm-api",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -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
- }