@undp/carbon-library 1.0.82 → 1.0.84

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,5 +6,4 @@ export interface TimelineBodyProps {
6
6
  via?: string | null;
7
7
  t: any;
8
8
  }
9
- declare const TimelineBody: FC<TimelineBodyProps>;
10
- export default TimelineBody;
9
+ export declare const TimelineBody: FC<TimelineBodyProps>;
@@ -31,3 +31,4 @@ export * from "./Common/NdcActionBody/ndcActionBody";
31
31
  export * from "./Common/OrganisationStatus/organisationStatus";
32
32
  export * from "./Common/ProgrammeDocuments/programmeDocuments";
33
33
  export * from "./Common/UserRoleIcon/userRoleIcon";
34
+ export * from "./Common/TimelineBody/timelineBody";
@@ -105,11 +105,12 @@ export declare const addCommSep: (value: any) => string;
105
105
  export declare const addCommSepRound: (value: any) => string;
106
106
  export declare const addRoundNumber: (value: any) => number;
107
107
  export declare const addSpaces: (text: string) => string;
108
- export declare const getFinancialFields: (programme: ProgrammeR | ProgrammeU) => {
109
- programmeCost: string;
108
+ export declare const getFinancialFields: (programme: ProgrammeU) => {
109
+ estimatedProgrammeCostUSD: string;
110
+ creditEst: string;
110
111
  financingType: string;
111
112
  grantEquivalent: UnitField;
112
- carbonPrice: string;
113
+ carbonPriceUSDPerTon: string;
113
114
  };
114
115
  export declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
115
116
  export declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
@@ -8,5 +8,6 @@ export declare enum TxType {
8
8
  REVOKE = "6",
9
9
  FREEZE = "7",
10
10
  AUTH = "8",
11
- UNFREEZE = "9"
11
+ UNFREEZE = "9",
12
+ OWNERSHIP_UPDATE = "12"
12
13
  }
@@ -24,6 +24,7 @@ export * from "./Enums/sdgGoals.enum";
24
24
  export * from "./Enums/carbonSystemType.enum";
25
25
  export * from "./Enums/document.type";
26
26
  export * from "./Enums/document.status";
27
+ export * from "./Enums/company.state.enum";
27
28
  export * from "./Definitions/userLogin.definitions";
28
29
  export * from "./Definitions/userInformationContext.definitions";
29
30
  export * from "./Definitions/userForgotPassword.definitions";
package/dist/index.d.ts CHANGED
@@ -298,11 +298,12 @@ declare const addCommSep: (value: any) => string;
298
298
  declare const addCommSepRound: (value: any) => string;
299
299
  declare const addRoundNumber: (value: any) => number;
300
300
  declare const addSpaces: (text: string) => string;
301
- declare const getFinancialFields: (programme: ProgrammeR | ProgrammeU) => {
302
- programmeCost: string;
301
+ declare const getFinancialFields: (programme: ProgrammeU) => {
302
+ estimatedProgrammeCostUSD: string;
303
+ creditEst: string;
303
304
  financingType: string;
304
305
  grantEquivalent: UnitField;
305
- carbonPrice: string;
306
+ carbonPriceUSDPerTon: string;
306
307
  };
307
308
  declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
308
309
  declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
@@ -538,7 +539,8 @@ declare enum TxType {
538
539
  REVOKE = "6",
539
540
  FREEZE = "7",
540
541
  AUTH = "8",
541
- UNFREEZE = "9"
542
+ UNFREEZE = "9",
543
+ OWNERSHIP_UPDATE = "12"
542
544
  }
543
545
 
544
546
  declare enum CompanyRole {
@@ -672,6 +674,11 @@ declare enum DocumentStatus {
672
674
  REJECTED = "Rejected"
673
675
  }
674
676
 
677
+ declare enum CompanyState {
678
+ SUSPENDED = 0,
679
+ ACTIVE = 1
680
+ }
681
+
675
682
  interface LoginProps {
676
683
  email: string;
677
684
  password: string;
@@ -906,4 +913,12 @@ interface UserRoleIconProps {
906
913
  }
907
914
  declare const UserRoleIcon: FC<UserRoleIconProps>;
908
915
 
909
- export { AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AgricultureProperties, BaseEntity, CarbonSystemType, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBody, InvestmentBodyProps, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MitigationTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, RadioButtonStatus, RadioButtonStatus2, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, Titles, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, userForgotPasswordProps };
916
+ interface TimelineBodyProps {
917
+ text: string;
918
+ remark?: string | null;
919
+ via?: string | null;
920
+ t: any;
921
+ }
922
+ declare const TimelineBody: FC<TimelineBodyProps>;
923
+
924
+ export { AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AgricultureProperties, BaseEntity, CarbonSystemType, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBody, InvestmentBodyProps, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MitigationTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, RadioButtonStatus, RadioButtonStatus2, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, TimelineBody, TimelineBodyProps, Titles, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, userForgotPasswordProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
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": {