@undp/carbon-library 1.0.111 → 1.0.117

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,5 +3,7 @@ export declare enum Action {
3
3
  Create = "create",
4
4
  Read = "read",
5
5
  Update = "update",
6
- Delete = "delete"
6
+ Delete = "delete",
7
+ Approve = "approve",
8
+ Reject = "reject"
7
9
  }
@@ -4,5 +4,6 @@ export declare enum CompanyManagementColumns {
4
4
  taxId = "taxId",
5
5
  companyRole = "companyRole",
6
6
  programmeCount = "programmeCount",
7
- creditBalance = "creditBalance"
7
+ creditBalance = "creditBalance",
8
+ companyState = "state"
8
9
  }
@@ -1,4 +1,6 @@
1
1
  export declare enum CompanyState {
2
2
  SUSPENDED = 0,
3
- ACTIVE = 1
3
+ ACTIVE = 1,
4
+ PENDING = 2,
5
+ REJECTED = 3
4
6
  }
package/dist/index.d.ts CHANGED
@@ -390,7 +390,8 @@ declare enum CompanyManagementColumns {
390
390
  taxId = "taxId",
391
391
  companyRole = "companyRole",
392
392
  programmeCount = "programmeCount",
393
- creditBalance = "creditBalance"
393
+ creditBalance = "creditBalance",
394
+ companyState = "state"
394
395
  }
395
396
 
396
397
  declare enum UserManagementColumns {
@@ -683,7 +684,9 @@ declare enum DocumentStatus {
683
684
 
684
685
  declare enum CompanyState {
685
686
  SUSPENDED = 0,
686
- ACTIVE = 1
687
+ ACTIVE = 1,
688
+ PENDING = 2,
689
+ REJECTED = 3
687
690
  }
688
691
 
689
692
  declare enum WidgetType {
@@ -729,7 +732,9 @@ declare enum Action {
729
732
  Create = "create",
730
733
  Read = "read",
731
734
  Update = "update",
732
- Delete = "delete"
735
+ Delete = "delete",
736
+ Approve = "approve",
737
+ Reject = "reject"
733
738
  }
734
739
 
735
740
  interface LoginProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.111",
3
+ "version": "1.0.117",
4
4
  "description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
5
5
  "type": "module",
6
6
  "scripts": {