@undp/carbon-library 1.0.43 → 1.0.44-NAM-4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. package/dist/cjs/index.js +23878 -4303
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/Common/CoBenifits/assessment.d.ts +3 -0
  4. package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +15 -0
  5. package/dist/cjs/types/Components/Common/CoBenifits/economic.d.ts +3 -0
  6. package/dist/cjs/types/Components/Common/CoBenifits/environmental.d.ts +3 -0
  7. package/dist/cjs/types/Components/Common/CoBenifits/genderParity.d.ts +3 -0
  8. package/dist/cjs/types/Components/Common/CoBenifits/safeguards.d.ts +3 -0
  9. package/dist/cjs/types/Components/Common/CoBenifits/sdgGoals.d.ts +3 -0
  10. package/dist/cjs/types/Components/Common/CoBenifits/social.d.ts +3 -0
  11. package/dist/cjs/types/Components/Common/ImgwithFallback/imgWithFallback.d.ts +8 -0
  12. package/dist/cjs/types/Components/Common/InfoView/info.view.d.ts +5 -6
  13. package/dist/cjs/types/Components/Common/Investment/investmentActionModel.d.ts +18 -0
  14. package/dist/cjs/types/Components/Common/Investment/investmentBody.d.ts +7 -0
  15. package/dist/cjs/types/Components/Common/Models/programmeIssueForm.d.ts +4 -5
  16. package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +4 -5
  17. package/dist/cjs/types/Components/Common/Models/programmeRevokeForm.d.ts +4 -5
  18. package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +5 -5
  19. package/dist/cjs/types/Components/Common/Models/rejectDocumenConfirmationModel.d.ts +12 -0
  20. package/dist/cjs/types/Components/Common/Models/transferActionModel.d.ts +18 -0
  21. package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +15 -0
  22. package/dist/cjs/types/Components/Common/NdcActionDetails/ndcActionDetails.d.ts +13 -0
  23. package/dist/cjs/types/Components/Common/OrganisationStatus/organisationStatus.d.ts +1 -2
  24. package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +18 -0
  25. package/dist/cjs/types/Components/Common/TimelineBody/timelineBody.d.ts +1 -2
  26. package/dist/cjs/types/Components/Common/UserRoleIcon/userRoleIcon.d.ts +1 -2
  27. package/dist/cjs/types/Components/Investment/AddNewInvestment/investmentCreationComponent.d.ts +3 -0
  28. package/dist/cjs/types/Components/Investment/InvestmentManagement/investmentManagementComponent.d.ts +4 -0
  29. package/dist/cjs/types/Components/MrvDashboard/listWidgetComponent.d.ts +14 -0
  30. package/dist/cjs/types/Components/MrvDashboard/mapStatsComponent.d.ts +18 -0
  31. package/dist/cjs/types/Components/MrvDashboard/mrvBarChartStatsComponent.d.ts +12 -0
  32. package/dist/cjs/types/Components/MrvDashboard/mrvChartOptions.d.ts +113 -0
  33. package/dist/cjs/types/Components/MrvDashboard/mrvDashboardViewComponent.d.ts +3 -0
  34. package/dist/cjs/types/Components/MrvDashboard/mrvPieChartStatComponent.d.ts +12 -0
  35. package/dist/cjs/types/Components/NdcActions/AddNdcAction/addNdcActionComponent.d.ts +3 -0
  36. package/dist/cjs/types/Components/NdcActions/NdcActionManagement/ndcActionManagementComponent.d.ts +3 -0
  37. package/dist/cjs/types/Components/NdcActions/NdcView/ndcActionViewComponent.d.ts +3 -0
  38. package/dist/cjs/types/Components/Programme/AddNewProgramme/programmeCreationComponent.d.ts +3 -0
  39. package/dist/cjs/types/Components/RegistryDashboard/dashboardTypesInitialValues.d.ts +18 -0
  40. package/dist/cjs/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +11 -0
  41. package/dist/cjs/types/Components/RegistryDashboard/registryBarChartStatsComponent.d.ts +12 -0
  42. package/dist/cjs/types/Components/RegistryDashboard/registryChartOptions.d.ts +6 -0
  43. package/dist/cjs/types/Components/RegistryDashboard/registryDashboardViewComponent.d.ts +3 -0
  44. package/dist/cjs/types/Components/RegistryDashboard/registryPieChartStatComponent.d.ts +12 -0
  45. package/dist/cjs/types/Components/Transfers/creditTransfersComponent.d.ts +5 -0
  46. package/dist/cjs/types/Components/index.d.ts +25 -2
  47. package/dist/cjs/types/Definitions/Definitions/ndcAction.definitions.d.ts +51 -0
  48. package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +43 -75
  49. package/dist/cjs/types/Definitions/Entities/programme.d.ts +11 -0
  50. package/dist/cjs/types/Definitions/Entities/programmeCertify.d.ts +5 -0
  51. package/dist/cjs/types/Definitions/Entities/programmeTransfer.d.ts +3 -2
  52. package/dist/cjs/types/Definitions/Enums/TxType.enum.d.ts +13 -0
  53. package/dist/cjs/types/Definitions/Enums/action.enum.d.ts +3 -1
  54. package/dist/cjs/types/Definitions/Enums/carbonSystemType.enum.d.ts +5 -0
  55. package/dist/cjs/types/Definitions/Enums/commonEnums.d.ts +23 -0
  56. package/dist/cjs/types/Definitions/Enums/company.management.columns.enum.d.ts +2 -1
  57. package/dist/cjs/types/Definitions/Enums/company.role.enum.d.ts +3 -1
  58. package/dist/cjs/types/Definitions/Enums/company.state.enum.d.ts +3 -1
  59. package/dist/cjs/types/Definitions/Enums/consumerGroups.enum.d.ts +4 -0
  60. package/dist/cjs/types/Definitions/Enums/creditTransferStage.enum.d.ts +8 -0
  61. package/dist/cjs/types/Definitions/Enums/document.status.d.ts +5 -0
  62. package/dist/cjs/types/Definitions/Enums/document.type.d.ts +7 -0
  63. package/dist/cjs/types/Definitions/Enums/eSGType.enum.d.ts +16 -0
  64. package/dist/cjs/types/Definitions/Enums/enablementTypes.enum.d.ts +10 -0
  65. package/dist/cjs/types/Definitions/Enums/energyGenerationUnits.enum.d.ts +13 -0
  66. package/dist/cjs/types/Definitions/Enums/instrument.enum.d.ts +9 -0
  67. package/dist/cjs/types/Definitions/Enums/investment.enum.d.ts +20 -0
  68. package/dist/cjs/types/Definitions/Enums/landAreaUnits.enum.d.ts +15 -0
  69. package/dist/cjs/types/Definitions/Enums/mitigation.types.enum.d.ts +31 -0
  70. package/dist/cjs/types/Definitions/Enums/ndcAction.status.enum.d.ts +6 -0
  71. package/dist/cjs/types/Definitions/Enums/ndcActionTypes.enum.d.ts +10 -0
  72. package/dist/cjs/types/Definitions/Enums/programme.management.columns.enum.d.ts +2 -1
  73. package/dist/cjs/types/Definitions/Enums/programmeStage.enum.d.ts +23 -0
  74. package/dist/cjs/types/Definitions/Enums/retireType.enum.d.ts +5 -0
  75. package/dist/cjs/types/Definitions/Enums/role.enum.d.ts +6 -0
  76. package/dist/cjs/types/Definitions/Enums/sdgGoals.enum.d.ts +19 -0
  77. package/dist/cjs/types/Definitions/Enums/sector.enum.d.ts +12 -0
  78. package/dist/cjs/types/Definitions/Enums/sectoralScope.enum.d.ts +17 -0
  79. package/dist/cjs/types/Definitions/Enums/statsCards.type.enum.d.ts +13 -0
  80. package/dist/cjs/types/Definitions/Enums/typeOfMitigation.enum.d.ts +4 -0
  81. package/dist/cjs/types/Definitions/Enums/widget.type.enum.d.ts +5 -0
  82. package/dist/cjs/types/Definitions/index.d.ts +31 -0
  83. package/dist/cjs/types/Styles/index.d.ts +1 -0
  84. package/dist/cjs/types/Styles/role.color.constants.d.ts +4 -0
  85. package/dist/cjs/types/Utils/DocumentValidator.d.ts +1 -0
  86. package/dist/cjs/types/Utils/documentsPermission.d.ts +3 -0
  87. package/dist/cjs/types/index.d.ts +1 -0
  88. package/dist/esm/index.js +24013 -4497
  89. package/dist/esm/index.js.map +1 -1
  90. package/dist/esm/types/Components/Common/CoBenifits/assessment.d.ts +3 -0
  91. package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +15 -0
  92. package/dist/esm/types/Components/Common/CoBenifits/economic.d.ts +3 -0
  93. package/dist/esm/types/Components/Common/CoBenifits/environmental.d.ts +3 -0
  94. package/dist/esm/types/Components/Common/CoBenifits/genderParity.d.ts +3 -0
  95. package/dist/esm/types/Components/Common/CoBenifits/safeguards.d.ts +3 -0
  96. package/dist/esm/types/Components/Common/CoBenifits/sdgGoals.d.ts +3 -0
  97. package/dist/esm/types/Components/Common/CoBenifits/social.d.ts +3 -0
  98. package/dist/esm/types/Components/Common/ImgwithFallback/imgWithFallback.d.ts +8 -0
  99. package/dist/esm/types/Components/Common/InfoView/info.view.d.ts +5 -6
  100. package/dist/esm/types/Components/Common/Investment/investmentActionModel.d.ts +18 -0
  101. package/dist/esm/types/Components/Common/Investment/investmentBody.d.ts +7 -0
  102. package/dist/esm/types/Components/Common/Models/programmeIssueForm.d.ts +4 -5
  103. package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +4 -5
  104. package/dist/esm/types/Components/Common/Models/programmeRevokeForm.d.ts +4 -5
  105. package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +5 -5
  106. package/dist/esm/types/Components/Common/Models/rejectDocumenConfirmationModel.d.ts +12 -0
  107. package/dist/esm/types/Components/Common/Models/transferActionModel.d.ts +18 -0
  108. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +15 -0
  109. package/dist/esm/types/Components/Common/NdcActionDetails/ndcActionDetails.d.ts +13 -0
  110. package/dist/esm/types/Components/Common/OrganisationStatus/organisationStatus.d.ts +1 -2
  111. package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +18 -0
  112. package/dist/esm/types/Components/Common/TimelineBody/timelineBody.d.ts +1 -2
  113. package/dist/esm/types/Components/Common/UserRoleIcon/userRoleIcon.d.ts +1 -2
  114. package/dist/esm/types/Components/Investment/AddNewInvestment/investmentCreationComponent.d.ts +3 -0
  115. package/dist/esm/types/Components/Investment/InvestmentManagement/investmentManagementComponent.d.ts +4 -0
  116. package/dist/esm/types/Components/MrvDashboard/listWidgetComponent.d.ts +14 -0
  117. package/dist/esm/types/Components/MrvDashboard/mapStatsComponent.d.ts +18 -0
  118. package/dist/esm/types/Components/MrvDashboard/mrvBarChartStatsComponent.d.ts +12 -0
  119. package/dist/esm/types/Components/MrvDashboard/mrvChartOptions.d.ts +113 -0
  120. package/dist/esm/types/Components/MrvDashboard/mrvDashboardViewComponent.d.ts +3 -0
  121. package/dist/esm/types/Components/MrvDashboard/mrvPieChartStatComponent.d.ts +12 -0
  122. package/dist/esm/types/Components/NdcActions/AddNdcAction/addNdcActionComponent.d.ts +3 -0
  123. package/dist/esm/types/Components/NdcActions/NdcActionManagement/ndcActionManagementComponent.d.ts +3 -0
  124. package/dist/esm/types/Components/NdcActions/NdcView/ndcActionViewComponent.d.ts +3 -0
  125. package/dist/esm/types/Components/Programme/AddNewProgramme/programmeCreationComponent.d.ts +3 -0
  126. package/dist/esm/types/Components/RegistryDashboard/dashboardTypesInitialValues.d.ts +18 -0
  127. package/dist/esm/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +11 -0
  128. package/dist/esm/types/Components/RegistryDashboard/registryBarChartStatsComponent.d.ts +12 -0
  129. package/dist/esm/types/Components/RegistryDashboard/registryChartOptions.d.ts +6 -0
  130. package/dist/esm/types/Components/RegistryDashboard/registryDashboardViewComponent.d.ts +3 -0
  131. package/dist/esm/types/Components/RegistryDashboard/registryPieChartStatComponent.d.ts +12 -0
  132. package/dist/esm/types/Components/Transfers/creditTransfersComponent.d.ts +5 -0
  133. package/dist/esm/types/Components/index.d.ts +25 -2
  134. package/dist/esm/types/Definitions/Definitions/ndcAction.definitions.d.ts +51 -0
  135. package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +43 -75
  136. package/dist/esm/types/Definitions/Entities/programme.d.ts +11 -0
  137. package/dist/esm/types/Definitions/Entities/programmeCertify.d.ts +5 -0
  138. package/dist/esm/types/Definitions/Entities/programmeTransfer.d.ts +3 -2
  139. package/dist/esm/types/Definitions/Enums/TxType.enum.d.ts +13 -0
  140. package/dist/esm/types/Definitions/Enums/action.enum.d.ts +3 -1
  141. package/dist/esm/types/Definitions/Enums/carbonSystemType.enum.d.ts +5 -0
  142. package/dist/esm/types/Definitions/Enums/commonEnums.d.ts +23 -0
  143. package/dist/esm/types/Definitions/Enums/company.management.columns.enum.d.ts +2 -1
  144. package/dist/esm/types/Definitions/Enums/company.role.enum.d.ts +3 -1
  145. package/dist/esm/types/Definitions/Enums/company.state.enum.d.ts +3 -1
  146. package/dist/esm/types/Definitions/Enums/consumerGroups.enum.d.ts +4 -0
  147. package/dist/esm/types/Definitions/Enums/creditTransferStage.enum.d.ts +8 -0
  148. package/dist/esm/types/Definitions/Enums/document.status.d.ts +5 -0
  149. package/dist/esm/types/Definitions/Enums/document.type.d.ts +7 -0
  150. package/dist/esm/types/Definitions/Enums/eSGType.enum.d.ts +16 -0
  151. package/dist/esm/types/Definitions/Enums/enablementTypes.enum.d.ts +10 -0
  152. package/dist/esm/types/Definitions/Enums/energyGenerationUnits.enum.d.ts +13 -0
  153. package/dist/esm/types/Definitions/Enums/instrument.enum.d.ts +9 -0
  154. package/dist/esm/types/Definitions/Enums/investment.enum.d.ts +20 -0
  155. package/dist/esm/types/Definitions/Enums/landAreaUnits.enum.d.ts +15 -0
  156. package/dist/esm/types/Definitions/Enums/mitigation.types.enum.d.ts +31 -0
  157. package/dist/esm/types/Definitions/Enums/ndcAction.status.enum.d.ts +6 -0
  158. package/dist/esm/types/Definitions/Enums/ndcActionTypes.enum.d.ts +10 -0
  159. package/dist/esm/types/Definitions/Enums/programme.management.columns.enum.d.ts +2 -1
  160. package/dist/esm/types/Definitions/Enums/programmeStage.enum.d.ts +23 -0
  161. package/dist/esm/types/Definitions/Enums/retireType.enum.d.ts +5 -0
  162. package/dist/esm/types/Definitions/Enums/role.enum.d.ts +6 -0
  163. package/dist/esm/types/Definitions/Enums/sdgGoals.enum.d.ts +19 -0
  164. package/dist/esm/types/Definitions/Enums/sector.enum.d.ts +12 -0
  165. package/dist/esm/types/Definitions/Enums/sectoralScope.enum.d.ts +17 -0
  166. package/dist/esm/types/Definitions/Enums/statsCards.type.enum.d.ts +13 -0
  167. package/dist/esm/types/Definitions/Enums/typeOfMitigation.enum.d.ts +4 -0
  168. package/dist/esm/types/Definitions/Enums/widget.type.enum.d.ts +5 -0
  169. package/dist/esm/types/Definitions/index.d.ts +31 -0
  170. package/dist/esm/types/Styles/index.d.ts +1 -0
  171. package/dist/esm/types/Styles/role.color.constants.d.ts +4 -0
  172. package/dist/esm/types/Utils/DocumentValidator.d.ts +1 -0
  173. package/dist/esm/types/Utils/documentsPermission.d.ts +3 -0
  174. package/dist/esm/types/index.d.ts +1 -0
  175. package/dist/index.d.ts +728 -123
  176. package/package.json +4 -2
  177. package/dist/cjs/types/Components/Programme/ProgrammeView/programmeViewComponent.d.ts +0 -3
  178. package/dist/esm/types/Components/Programme/ProgrammeView/programmeViewComponent.d.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
- import { DateTime } from 'luxon';
2
+ import { RcFile } from 'rc-upload/lib/interface';
3
3
  import { RawAxiosResponseHeaders, AxiosResponseHeaders, AxiosRequestConfig } from 'axios';
4
+ import { BuildingType } from '@undp/carbon-credit-calculator';
4
5
 
5
6
  declare const CompanyManagementComponent: (props: any) => React.JSX.Element;
6
7
 
@@ -8,16 +9,32 @@ declare const AddNewCompanyComponent: (props: any) => React.JSX.Element;
8
9
 
9
10
  declare const CompanyProfileComponent: (props: any) => React.JSX.Element;
10
11
 
11
- declare const UserManagementComponent: (props: any) => React.JSX.Element;
12
-
13
12
  declare const ProgrammeManagementComponent: (props: any) => React.JSX.Element;
14
13
 
15
- declare const ProgrammeViewComponent: (props: any) => React.JSX.Element;
14
+ declare const ProgrammeCreationComponent: (props: any) => React.JSX.Element;
16
15
 
17
16
  declare const AddNewUserComponent: (props: any) => React.JSX.Element;
18
17
 
19
18
  declare const UserProfileComponent: (props: any) => React.JSX.Element;
20
19
 
20
+ declare const UserManagementComponent: (props: any) => React.JSX.Element;
21
+
22
+ declare const InvestmentCreationComponent: (props: any) => React.JSX.Element;
23
+
24
+ declare const InvestmentManagementComponent: (props: any) => React.JSX.Element;
25
+
26
+ declare const NdcActionManagementComponent: (props: any) => React.JSX.Element;
27
+
28
+ declare const AddNdcActionComponent: (props: any) => React.JSX.Element;
29
+
30
+ declare const NdcActionViewComponent: (props: any) => React.JSX.Element;
31
+
32
+ declare const CreditTransferComponent: (props: any) => React.JSX.Element;
33
+
34
+ declare const MrvDashboardComponent: (props: any) => React.JSX.Element;
35
+
36
+ declare const RegistryDashboardComponent: (props: any) => React.JSX.Element;
37
+
21
38
  declare const Loading: () => React.JSX.Element;
22
39
 
23
40
  interface LegendItemItemProps {
@@ -88,69 +105,55 @@ interface RoleIconProps {
88
105
  }
89
106
  declare const RoleIcon: FC<RoleIconProps>;
90
107
 
91
- declare enum CompanyManagementColumns {
92
- logo = "logo",
93
- name = "name",
94
- taxId = "taxId",
95
- companyRole = "companyRole",
96
- programmeCount = "programmeCount",
97
- creditBalance = "creditBalance"
98
- }
99
-
100
- declare enum UserManagementColumns {
101
- logo = "logo",
102
- name = "name",
103
- email = "email",
104
- phoneNo = "phoneNo",
105
- company = "company",
106
- companyRole = "companyRole",
107
- role = "role",
108
- actions = "actions"
109
- }
110
-
111
- declare enum ProgrammeManagementColumns {
112
- title = "title",
113
- company = "company",
114
- sector = "sector",
115
- currentStage = "currentStage",
116
- creditIssued = "creditIssued",
117
- creditBalance = "creditBalance",
118
- creditTransferred = "creditTransferred",
119
- certifierId = "certifierId",
120
- serialNo = "serialNo",
121
- emissionReductionExpected = "emissionReductionExpected",
122
- emissionReductionAchieved = "emissionReductionAchieved"
123
- }
124
-
125
- interface LoginProps {
126
- email: string;
127
- password: string;
128
- }
129
-
130
- type UserProps = {
131
- id: string;
132
- userRole: string;
133
- companyId: number;
134
- companyRole: string;
135
- companyLogo: string;
136
- companyName: string;
137
- companyState: number;
138
- };
139
- interface UserContextProps {
140
- userInfoState?: UserProps;
141
- setUserInfo: (val: UserProps) => void;
142
- removeUserInfo: () => void;
143
- IsAuthenticated: (tkn?: any) => boolean;
144
- isTokenExpired: boolean;
145
- setIsTokenExpired: (val: boolean) => void;
108
+ interface InfoViewProps {
109
+ data: any;
110
+ title?: any;
111
+ icon?: any;
112
+ hiddenColumns?: any;
113
+ }
114
+ declare const InfoView: FC<InfoViewProps>;
115
+
116
+ interface CoBenefitProps {
117
+ onClickedBackBtn?: any;
118
+ onFormSubmit?: any;
119
+ coBenefitsDetails?: any;
120
+ submitButtonText?: any;
121
+ viewOnly?: boolean;
122
+ coBenifitsViewDetails?: any;
123
+ loading?: any;
124
+ sdgGoalImages?: any;
125
+ translator?: any;
126
+ useConnection?: any;
127
+ }
128
+ declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
129
+
130
+ declare const ImgWithFallback: ({ src, alt, fallbackSrc, mediaType, className, ...delegated }: {
131
+ src: string;
132
+ alt: string;
133
+ fallbackSrc: string;
134
+ mediaType: string;
135
+ className: string;
136
+ }) => React.JSX.Element;
137
+
138
+ interface InvestmentBodyProps {
139
+ data: any;
140
+ translator: any;
146
141
  }
142
+ declare const InvestmentBody: FC<InvestmentBodyProps>;
147
143
 
148
- interface userForgotPasswordProps {
149
- email: string;
144
+ declare enum CreditTransferStage {
145
+ Pending = "Pending",
146
+ Approved = "Accepted",
147
+ Rejected = "Rejected",
148
+ Cancelled = "Cancelled",
149
+ Recognised = "Recognised",
150
+ NotRecognised = "NotRecognised"
150
151
  }
151
152
 
152
- declare enum ConfigurationSettingsType {
153
- isTransferFrozen = 0
153
+ declare enum RetireType {
154
+ CROSS_BORDER = "0",
155
+ LEGAL_ACTION = "1",
156
+ OTHER = "2"
154
157
  }
155
158
 
156
159
  declare class BaseEntity {
@@ -178,8 +181,9 @@ declare class ProgrammeTransfer implements BaseEntity {
178
181
  toCompanyMeta?: any;
179
182
  }
180
183
 
181
- declare enum ProgrammeStage {
184
+ declare enum ProgrammeStageR {
182
185
  AwaitingAuthorization = "Pending",
186
+ Approved = "Approved",
183
187
  Authorised = "Authorised",
184
188
  Rejected = "Rejected"
185
189
  }
@@ -189,50 +193,33 @@ declare enum ProgrammeStageMRV {
189
193
  Approved = "Approved",
190
194
  Rejected = "Rejected"
191
195
  }
192
- declare enum Role {
193
- Root = "Root",
194
- Admin = "Admin",
195
- Manager = "Manager",
196
- ViewOnly = "ViewOnly"
197
- }
198
- declare enum RetireType {
199
- CROSS_BORDER = "0",
200
- LEGAL_ACTION = "1",
201
- OTHER = "2"
202
- }
203
- declare enum CreditTransferStage {
204
- Pending = "Pending",
205
- Approved = "Accepted",
206
- Rejected = "Rejected",
207
- Cancelled = "Cancelled",
208
- Recognised = "Recognised",
209
- NotRecognised = "NotRecognised"
210
- }
211
- declare enum TxType {
212
- CREATE = "0",
213
- REJECT = "1",
214
- ISSUE = "2",
215
- TRANSFER = "3",
216
- CERTIFY = "4",
217
- RETIRE = "5",
218
- REVOKE = "6",
219
- FREEZE = "7",
220
- AUTH = "8",
221
- UNFREEZE = "9"
196
+ declare enum ProgrammeStageUnified {
197
+ AwaitingAuthorization = "Pending",
198
+ Authorised = "Authorised",
199
+ Approved = "Approved",
200
+ Rejected = "Rejected"
222
201
  }
223
- declare enum SectoralScope {
224
- "Energy Industry" = "1",
225
- "Energy Distribution" = "2",
226
- "Agriculture" = "15"
202
+ declare enum ProgrammeStageLegend {
203
+ AUTHORISED = "Authorised",
204
+ REJECTED = "Rejected",
205
+ AWAITING_AUTHORIZATION = "AwaitingAuthorization"
227
206
  }
207
+
228
208
  declare enum TypeOfMitigation {
229
209
  AGRICULTURE = "Agriculture",
230
210
  SOLAR = "Solar"
231
211
  }
212
+
213
+ declare enum CarbonSystemType {
214
+ REGISTRY = 0,
215
+ MRV = 1,
216
+ UNIFIED = 2
217
+ }
218
+
232
219
  declare const getStageEnumVal: (value: string) => string;
233
220
  declare const getCreditStageVal: (value: string) => string;
234
221
  declare const getStageTransferEnumVal: (value: string, transfer: ProgrammeTransfer) => string;
235
- declare const getStageTagType: (stage: ProgrammeStage) => "error" | "processing" | "default";
222
+ declare const getStageTagType: (stage: ProgrammeStageR | ProgrammeStageUnified) => "error" | "processing" | "default";
236
223
  declare const getStageTagTypeMRV: (stage: ProgrammeStageMRV) => "purple" | "error" | "processing" | "default";
237
224
  declare const getTransferStageTagType: (stage: CreditTransferStage, transfer: ProgrammeTransfer) => "orange" | "purple" | "error" | "processing" | "default" | "success";
238
225
  declare class UnitField {
@@ -240,16 +227,9 @@ declare class UnitField {
240
227
  value: any;
241
228
  constructor(unit: string, value: any);
242
229
  }
243
- declare enum CompanyRole {
244
- CERTIFIER = "Certifier",
245
- PROGRAMME_DEVELOPER = "ProgrammeDeveloper",
246
- MRV = "MRV",
247
- GOVERNMENT = "Government"
248
- }
249
230
  interface ProgrammeProperties {
250
231
  maxInternationalTransferAmount: string;
251
232
  creditingPeriodInYears: number;
252
- programmeCostUSD: number;
253
233
  sourceOfFunding: any;
254
234
  grantEquivalentAmount: number;
255
235
  carbonPriceUSDPerTon: number;
@@ -260,14 +240,26 @@ interface ProgrammeProperties {
260
240
  programmeMaterials: [];
261
241
  projectMaterial: [];
262
242
  }
243
+ interface ProgrammePropertiesR extends ProgrammeProperties {
244
+ programmeCostUSD: number;
245
+ estimatedProgrammeCostUSD: number;
246
+ }
247
+ interface ProgrammePropertiesT extends ProgrammeProperties {
248
+ estimatedProgrammeCostUSD: number;
249
+ }
250
+ interface ProgrammePropertiesU extends ProgrammeProperties {
251
+ estimatedProgrammeCostUSD: number;
252
+ programmeCostUSD: number;
253
+ }
263
254
  interface Programme {
264
255
  programmeId: string;
256
+ externalId: string;
265
257
  serialNo: string;
266
258
  title: string;
267
259
  sectoralScope: string;
268
260
  sector: string;
269
261
  countryCodeA2: string;
270
- currentStage: ProgrammeStage;
262
+ currentStage: ProgrammeStageR | ProgrammeStageMRV | ProgrammeStageUnified;
271
263
  startTime: number;
272
264
  endTime: number;
273
265
  creditChange: number;
@@ -294,31 +286,489 @@ interface Programme {
294
286
  txRef: string;
295
287
  typeOfMitigation: TypeOfMitigation;
296
288
  geographicalLocationCordintes: any;
297
- }
298
- declare const getGeneralFields: (programme: Programme) => {
299
- title: string;
300
- serialNo: string;
301
- currentStatus: ProgrammeStage;
302
- applicationType: string;
303
- sector: string;
304
- sectoralScope: string;
305
- startDate: DateTime;
306
- endDate: DateTime;
307
- buyerCountry: string;
308
- };
289
+ mitigationActions: any;
290
+ environmentalAssessmentRegistrationNo: any;
291
+ }
292
+ interface ProgrammeR extends Programme {
293
+ currentStage: ProgrammeStageR;
294
+ programmeProperties: ProgrammePropertiesR;
295
+ }
296
+ interface ProgrammeT extends Programme {
297
+ currentStage: ProgrammeStageMRV;
298
+ programmeProperties: ProgrammePropertiesT;
299
+ emissionReductionExpected: number;
300
+ emissionReductionAchieved: number;
301
+ }
302
+ interface ProgrammeU extends Programme {
303
+ currentStage: ProgrammeStageUnified;
304
+ programmeProperties: ProgrammePropertiesU;
305
+ emissionReductionExpected: number;
306
+ emissionReductionAchieved: number;
307
+ }
308
+ declare const getGeneralFields: (programme: Programme | ProgrammeU | ProgrammeR | ProgrammeT, system?: CarbonSystemType) => Record<string, any>;
309
309
  declare const addCommSep: (value: any) => string;
310
310
  declare const addCommSepRound: (value: any) => string;
311
311
  declare const addRoundNumber: (value: any) => number;
312
312
  declare const addSpaces: (text: string) => string;
313
- declare const getFinancialFields: (programme: Programme) => {
314
- programmeCost: string;
313
+ declare const getFinancialFields: (programme: ProgrammeU | ProgrammeR | ProgrammeT) => {
314
+ estimatedProgrammeCostUSD: string;
315
+ creditEst: string;
315
316
  financingType: string;
316
317
  grantEquivalent: UnitField;
317
- carbonPrice: string;
318
+ carbonPriceUSDPerTon: string;
318
319
  };
319
320
  declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
320
321
  declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
321
322
  declare const sumArray: (arrList: any[]) => any;
323
+ declare const getBase64: (file: RcFile) => Promise<string>;
324
+
325
+ interface ProgrammeIssueFormProps {
326
+ programme: Programme;
327
+ onCancel: any;
328
+ actionBtnText: string;
329
+ onFinish: any;
330
+ subText: string;
331
+ enableIssue: boolean;
332
+ translator: any;
333
+ }
334
+ declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
335
+
336
+ interface ProgrammeRetireFormProps {
337
+ programme: Programme;
338
+ onCancel: any;
339
+ actionBtnText: string;
340
+ onFinish: any;
341
+ subText?: string;
342
+ hideType: boolean;
343
+ myCompanyId?: number;
344
+ translator: any;
345
+ useConnection: any;
346
+ }
347
+ declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
348
+
349
+ interface ProgrammeRevokeFormProps {
350
+ programme: Programme;
351
+ onCancel: any;
352
+ actionBtnText: string;
353
+ onFinish: any;
354
+ subText: string;
355
+ showCertifiers: boolean;
356
+ translator: any;
357
+ }
358
+ declare const ProgrammeRevokeForm: FC<ProgrammeRevokeFormProps>;
359
+
360
+ interface ProgrammeTransferFormProps {
361
+ programme: Programme;
362
+ onCancel: any;
363
+ actionBtnText: string;
364
+ onFinish: any;
365
+ subText: string;
366
+ disableToCompany?: boolean;
367
+ toCompanyDefault?: any;
368
+ receiverLabelText: string;
369
+ userCompanyId: number | undefined;
370
+ companyRole: string;
371
+ translator: any;
372
+ useConnection: any;
373
+ ministryLevelPermission?: boolean;
374
+ }
375
+ declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
376
+
377
+ interface RejectDocumentationProps {
378
+ actionInfo: any;
379
+ onActionConfirmed: any;
380
+ onActionCanceled: any;
381
+ openModal: any;
382
+ errorMsg: any;
383
+ loading: any;
384
+ translator: any;
385
+ }
386
+ declare const RejectDocumentationConfirmationModel: FC<RejectDocumentationProps>;
387
+
388
+ declare enum CompanyManagementColumns {
389
+ logo = "logo",
390
+ name = "name",
391
+ taxId = "taxId",
392
+ companyRole = "companyRole",
393
+ programmeCount = "programmeCount",
394
+ creditBalance = "creditBalance",
395
+ companyState = "status"
396
+ }
397
+
398
+ declare enum UserManagementColumns {
399
+ logo = "logo",
400
+ name = "name",
401
+ email = "email",
402
+ phoneNo = "phoneNo",
403
+ company = "company",
404
+ companyRole = "companyRole",
405
+ role = "role",
406
+ actions = "actions"
407
+ }
408
+
409
+ declare enum ProgrammeManagementColumns {
410
+ title = "title",
411
+ company = "company",
412
+ sector = "sector",
413
+ currentStage = "currentStage",
414
+ creditIssued = "creditIssued",
415
+ creditBalance = "creditBalance",
416
+ creditTransferred = "creditTransferred",
417
+ certifierId = "certifierId",
418
+ serialNo = "serialNo",
419
+ emissionReductionExpected = "emissionReductionExpected",
420
+ emissionReductionAchieved = "emissionReductionAchieved",
421
+ emissionReductionAchievedandCreditIssued = "emissionReductionAchievedandCreditIssued"
422
+ }
423
+
424
+ declare enum InvestmentLevel {
425
+ NATIONAL = "National",
426
+ INTERNATIONAL = "International"
427
+ }
428
+ declare enum InvestmentStatus {
429
+ PENDING = "Pending",
430
+ APPROVED = "Approved",
431
+ REJECTED = "Rejected",
432
+ CANCELLED = "Cancelled"
433
+ }
434
+ declare const getInvestmentStatusEnumVal: (value: string) => string;
435
+ declare const getStatusTagType: (status: InvestmentStatus) => "error" | "processing" | "default" | "success";
436
+ declare enum InvestmentType {
437
+ PUBLIC = "Public",
438
+ PRIVATE = "Private"
439
+ }
440
+ declare enum InvestmentStream {
441
+ CLIMATE_FINANCE = "ClimateFinance",
442
+ CARBON_MARKET = "CarbonMarket"
443
+ }
444
+
445
+ declare enum MitigationTypes {
446
+ AGRICULTURE = "Agriculture",
447
+ BIOMASS_ENERGY = "BiomassEnergy",
448
+ CCS = "CCS",
449
+ CEMENT = "Cement",
450
+ COAL_MINE = "Coal/Mine",
451
+ EE_HOUSEHOLDS = "EEHouseholds",
452
+ EE_INDUSTRY = "EEIndustry",
453
+ EE_OWN_GENERATION = "EEOwnGeneration",
454
+ EE_SERVICE = "EEService",
455
+ EE_SUPPLY_SIDE = "EESupplySide",
456
+ ENERGY_DISTRIBUTION = "EnergyDistribution",
457
+ FORESTRY = "Forestry",
458
+ FOSSIL_FUEL = "FossilFuel",
459
+ FUGITIVE = "Fugitive",
460
+ GEOTHERMAL = "Geothermal",
461
+ HFC_PFCS_SF6 = "HFC_PFCs_SF6",
462
+ HYDRO = "Hydro",
463
+ LANDFILLS = "Landfills",
464
+ MARINE = "Marine",
465
+ METHANE_AVOIDANCE = "MethaneAvoidance",
466
+ N20 = "N20",
467
+ SOLAR = "Solar",
468
+ TRANSPORT = "Transport",
469
+ WIND = "Wind"
470
+ }
471
+ declare const mitigationTypeList: {
472
+ value: string;
473
+ label: string;
474
+ }[];
475
+ declare const sectorMitigationTypesListMapped: any;
476
+
477
+ declare enum ESGType {
478
+ AAA = "AAA",
479
+ AA = "AA",
480
+ A = "A",
481
+ AR = "A(R)",
482
+ BBB = "BBB",
483
+ BB = "BB",
484
+ B = "B",
485
+ BR = "B(R)",
486
+ B13 = "B13",
487
+ B13R = "B13(R)",
488
+ CCC = "CCC",
489
+ C = "C",
490
+ CR = "C(R)",
491
+ FI = "FI"
492
+ }
493
+
494
+ declare enum Instrument {
495
+ LOAN = "Loan",
496
+ RESULT_BASED = "ResultBased",
497
+ GRANT = "Grant",
498
+ EQUITY = "Equity",
499
+ GUARANTEE = "Guarantee",
500
+ INKIND = "In-Kind",
501
+ OTHER = "Other"
502
+ }
503
+
504
+ declare enum NdcActionStatus {
505
+ PENDING = "Pending",
506
+ APPROVED = "Approved"
507
+ }
508
+ declare const getNdcActionStatusEnumVal: (value: string) => string;
509
+ declare const getNdcStatusTagType: (status: NdcActionStatus) => "processing" | "default" | "success";
510
+
511
+ declare enum NdcActionTypes {
512
+ Mitigation = "mitigation",
513
+ Adaptation = "adaptation",
514
+ Enablement = "enablement",
515
+ CrossCutting = "crosscutting"
516
+ }
517
+ declare const ndcActionTypeList: {
518
+ value: string;
519
+ label: string;
520
+ }[];
521
+
522
+ declare enum Role {
523
+ Root = "Root",
524
+ Admin = "Admin",
525
+ Manager = "Manager",
526
+ ViewOnly = "ViewOnly"
527
+ }
528
+
529
+ declare enum SectoralScope {
530
+ "Energy Industries (Renewable – / Non-Renewable Sources)" = "1",
531
+ "Energy Distribution" = "2",
532
+ "Energy Demand" = "3",
533
+ "Manufacturing Industries" = "4",
534
+ "Chemical Industries" = "5",
535
+ "Construction" = "6",
536
+ "Transport" = "7",
537
+ "Mining/Mineral Production" = "8",
538
+ "Metal Production" = "9",
539
+ "Fugitive Emissions From Fuels (Solid, Oil and Gas)" = "10",
540
+ "Fugitive Emissions From Production and Consumption of Halocarbons and Sulphur Hexafluoride" = "11",
541
+ "Solvent Use" = "12",
542
+ "Waste Handling and Disposal" = "13",
543
+ "Afforestation and Reforestation" = "14",
544
+ "Agriculture" = "15"
545
+ }
546
+
547
+ declare enum TxType {
548
+ CREATE = "0",
549
+ REJECT = "1",
550
+ ISSUE = "2",
551
+ TRANSFER = "3",
552
+ CERTIFY = "4",
553
+ RETIRE = "5",
554
+ REVOKE = "6",
555
+ FREEZE = "7",
556
+ AUTH = "8",
557
+ UNFREEZE = "9",
558
+ OWNERSHIP_UPDATE = "12"
559
+ }
560
+
561
+ declare enum CompanyRole {
562
+ ACADEMICS = "Academics",
563
+ SERVICE_PROVIDER = "ServiceProvider",
564
+ MITIGATION_ACTIVITY_PARTNER = "MitigationActivityParticipant",
565
+ CARBON_CREDIT_BROKER = "CarbonCreditBroker",
566
+ VALIDATION_VERIFICATION_ENTITY = "ValidationVerificationEntities",
567
+ COMMERCIAL_BANKS = "CommercialBanks",
568
+ INVESTORS = "InvestorsFinanciers",
569
+ GOV_REGULATOR = "GovernmentRegulators",
570
+ OBSERVERS = "Observers",
571
+ CIVIL_SOCIETY_ORG = "CivilSocietyOrganization",
572
+ CERTIFIER = "Certifier",
573
+ INTERNAL_ORGANIZATION = "InternationalOrganization",
574
+ PROGRAMME_DEVELOPER = "ProgrammeDeveloper",
575
+ MRV = "MRV",
576
+ GOVERNMENT = "Government",
577
+ MINISTRY = "Ministry",
578
+ API = "API"
579
+ }
580
+
581
+ declare enum EnergyGenerationUnits {
582
+ Wh = "Wh/year/unit",
583
+ mWh = "mWh/year/unit",
584
+ kWh = "kWh/year/unit",
585
+ MWh = "MWh/year/unit",
586
+ GWh = "GWh/year/unit",
587
+ J = "J/year/unit",
588
+ KJ = "kJ/year/unit"
589
+ }
590
+ declare const energyGenerationUnitList: {
591
+ value: string;
592
+ label: string;
593
+ }[];
594
+
595
+ declare enum LandAreaUnits {
596
+ mm2 = "mm2",
597
+ cm2 = "cm2",
598
+ m2 = "m2",
599
+ ha = "ha",
600
+ km2 = "km2",
601
+ in2 = "in2",
602
+ ft2 = "ft2",
603
+ ac = "ac",
604
+ Mi2 = "Mi2"
605
+ }
606
+ declare const landAreaUnitList: {
607
+ value: string;
608
+ label: string;
609
+ }[];
610
+
611
+ declare const consumerGroupList: {
612
+ value: string;
613
+ label: string;
614
+ }[];
615
+
616
+ declare enum Sector {
617
+ Energy = "Energy",
618
+ Health = "Health",
619
+ Education = "Education",
620
+ Transport = "Transport",
621
+ Manufacturing = "Manufacturing",
622
+ Hospitality = "Hospitality",
623
+ Forestry = "Forestry",
624
+ Waste = "Waste",
625
+ Agriculture = "Agriculture",
626
+ Other = "Other"
627
+ }
628
+
629
+ declare enum RadioButtonStatus {
630
+ YES = "YES",
631
+ NO = "NO",
632
+ NA = "N/A"
633
+ }
634
+ declare enum RadioButtonStatus2 {
635
+ YES = "YES",
636
+ NO = "NO",
637
+ MAYBE = "MAYBE"
638
+ }
639
+ declare enum Titles {
640
+ Mr = "Mr",
641
+ Mrs = "Mrs"
642
+ }
643
+ declare const titleList: {
644
+ value: Titles;
645
+ label: string;
646
+ }[];
647
+ declare enum FormElementType {
648
+ Radio = 0,
649
+ Label = 1,
650
+ Input = 2
651
+ }
652
+
653
+ declare enum SdgGoals {
654
+ noPoverty = "No Poverty",
655
+ zeroHunger = "Zero Hunger",
656
+ gdHealth = "Good Health and Well-being",
657
+ qualityEducation = "Quality Education",
658
+ genderEq = "Gender Equality",
659
+ cleanWatr = "Clean Water and Sanitation",
660
+ affEnergy = "Affordable and Clean Energy",
661
+ decentWork = "Decent Work and Economic Growth",
662
+ industry = "Industry, Innovation and Infrastructure",
663
+ reducedInEq = "Reduced Inequalities",
664
+ sustainableCities = "Sustainable Cities and Communities",
665
+ responsibleConsumption = "Responsible Consumption and Production",
666
+ climateAction = "Climate Action",
667
+ lifeBelowWater = "Life Below Water",
668
+ lifeOnLand = "Life On Land",
669
+ peace = "Peace, Justice and Strong Institutions",
670
+ partnership = "Partnerships for the Goals"
671
+ }
672
+
673
+ declare enum DocType {
674
+ DESIGN_DOCUMENT = "0",
675
+ METHODOLOGY_DOCUMENT = "1",
676
+ MONITORING_REPORT = "2",
677
+ VERIFICATION_REPORT = "3",
678
+ ENVIRONMENTAL_IMPACT_ASSESSMENT = "7"
679
+ }
680
+
681
+ declare enum DocumentStatus {
682
+ PENDING = "Pending",
683
+ ACCEPTED = "Accepted",
684
+ REJECTED = "Rejected"
685
+ }
686
+
687
+ declare enum CompanyState {
688
+ SUSPENDED = 0,
689
+ ACTIVE = 1,
690
+ PENDING = 2,
691
+ REJECTED = 3
692
+ }
693
+
694
+ declare enum WidgetType {
695
+ PIE = "Pie",
696
+ MAP = "Map",
697
+ LIST = "List"
698
+ }
699
+
700
+ declare enum StatsCardsTypes {
701
+ PROGRAMMES_PENDING = "Programmes Pending",
702
+ TRANSFER_REQUEST_RECEIVED = "Pending Transfers Received",
703
+ PROGRAMMES_UNCERTIFIED = "Programmes Certifiable",
704
+ TRANSFER_REQUEST_SENT = "Pending Transfers Sent",
705
+ PROGRAMMES_CERTIFIED = "Programmes Certified",
706
+ CREDIT_BALANCE = "Credit Balance",
707
+ CREDIT_CERTIFIED = "Credits Certified",
708
+ PROGRAMMES = "Programmes",
709
+ CREDITS = "Credits",
710
+ CERTIFIED_CREDITS = "Certified Credits",
711
+ TOTAL_PROGRAMMES = "Total Programmes",
712
+ TOTAL_PROGRAMMES_SECTOR = "Total Programmes: Sector",
713
+ TOTAL_CREDITS = "Total Credits",
714
+ TOTAL_CREDITS_CERTIFIED = "Total Credits Certified",
715
+ PROGRAMME_LOCATIONS = "Programme Locations",
716
+ TRANSFER_LOCATIONS_INTERNATIONAL = "Transfer Locations International"
717
+ }
718
+ declare enum MrvStatsCardsTypes {
719
+ AGG_PROGRAMME_BY_SECTOR = "AGG_PROGRAMME_BY_SECTOR",
720
+ AGG_NDC_ACTION_BY_TYPE = "AGG_NDC_ACTION_BY_TYPE",
721
+ AGG_NDC_ACTION_BY_SECTOR = "AGG_NDC_ACTION_BY_SECTOR",
722
+ TOTAL_EMISSIONS = "TOTAL_EMISSIONS",
723
+ PROGRAMME_LOCATION = "PROGRAMME_LOCATION",
724
+ INVESTMENT_LOCATION = "INVESTMENT_LOCATION",
725
+ AGG_INVESTMENT_BY_TYPE = "AGG_INVESTMENT_BY_TYPE"
726
+ }
727
+ declare enum SystemNames {
728
+ CARBON_REGISTRY = "CARBON_REGISTRY_SYSTEM",
729
+ CARBON_TRANSPARENCY = "CARBON_TRANSPARENCY_SYSTEM"
730
+ }
731
+
732
+ declare enum Action {
733
+ Manage = "manage",
734
+ Create = "create",
735
+ Read = "read",
736
+ Update = "update",
737
+ Delete = "delete",
738
+ Approve = "approve",
739
+ Reject = "reject"
740
+ }
741
+
742
+ interface LoginProps {
743
+ email: string;
744
+ password: string;
745
+ }
746
+
747
+ type UserProps = {
748
+ id: string;
749
+ userRole: string;
750
+ companyId: number;
751
+ companyRole: string;
752
+ companyLogo: string;
753
+ companyName: string;
754
+ companyState: number;
755
+ };
756
+ interface UserContextProps {
757
+ userInfoState?: UserProps;
758
+ setUserInfo: (val: UserProps) => void;
759
+ removeUserInfo: () => void;
760
+ IsAuthenticated: (tkn?: any) => boolean;
761
+ isTokenExpired: boolean;
762
+ setIsTokenExpired: (val: boolean) => void;
763
+ }
764
+
765
+ interface userForgotPasswordProps {
766
+ email: string;
767
+ }
768
+
769
+ declare enum ConfigurationSettingsType {
770
+ isTransferFrozen = 0
771
+ }
322
772
 
323
773
  interface ProgrammeDeveloperCreation {
324
774
  companyName?: string;
@@ -378,6 +828,58 @@ type LayoutSiderProps = {
378
828
  collapsed?: boolean;
379
829
  };
380
830
 
831
+ interface AgricultureProperties {
832
+ landArea: number;
833
+ landAreaUnit: string;
834
+ }
835
+ interface SolarProperties {
836
+ energyGeneration: number;
837
+ energyGenerationUnit: string;
838
+ consumerGroup: BuildingType;
839
+ }
840
+ interface AdaptationProperties {
841
+ implementingAgency: string;
842
+ nationalPlanObjectives: string;
843
+ nationalPlanCoverage: string;
844
+ includedInNAP: any;
845
+ ghgEmissionsReduced: any;
846
+ ghgEmissionsAvoided: any;
847
+ }
848
+ interface CoBenefitsProperties {
849
+ }
850
+ interface EnablementProperties {
851
+ title: string;
852
+ type?: any[];
853
+ report?: string;
854
+ }
855
+ interface NdcFinancing {
856
+ userEstimatedCredits: number;
857
+ systemEstimatedCredits: number;
858
+ }
859
+ interface NdcAction {
860
+ programmeId: string;
861
+ programmeName: string;
862
+ action: NdcActionTypes;
863
+ methodology: string;
864
+ typeOfMitigation: MitigationTypes;
865
+ agricultureProperties?: AgricultureProperties;
866
+ solarProperties?: SolarProperties;
867
+ adaptationProperties: AdaptationProperties;
868
+ ndcFinancing?: NdcFinancing;
869
+ monitoringReport?: string;
870
+ coBenefitsProperties?: CoBenefitsProperties;
871
+ enablementProperties?: EnablementProperties;
872
+ constantVersion: string;
873
+ id?: string;
874
+ externalId?: string;
875
+ status: NdcActionStatus;
876
+ sector: string;
877
+ }
878
+
879
+ declare const dateTimeFormat = "dd LLLL yyyy @ HH:mm";
880
+ declare const dateFormat = "dd LLLL yyyy";
881
+ declare const creditUnit = "ITMO";
882
+
381
883
  declare class Company implements BaseEntity {
382
884
  companyId?: number;
383
885
  taxId?: string;
@@ -403,4 +905,107 @@ declare class User implements BaseEntity {
403
905
  companyState?: number;
404
906
  }
405
907
 
406
- export { AddNewCompanyComponent, AddNewUserComponent, BaseEntity, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, HeaderProps, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, ProfileIcon, ProfileIconProps, Programme, ProgrammeDeveloperCreation, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammeStage, ProgrammeStageMRV, ProgrammeTransfer, ProgrammeViewComponent, Response, RetireType, Role, RoleIcon, RoleIconProps, SectoralScope, StasticCard, StasticCardItemProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, addCommSep, addCommSepRound, addRoundNumber, addSpaces, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getTransferStageTagType, isBase64, sumArray, userForgotPasswordProps };
908
+ declare class ProgrammeEntity implements BaseEntity {
909
+ programmeId?: string;
910
+ serialNo?: string;
911
+ title?: string;
912
+ externalId?: string;
913
+ currentStage?: string;
914
+ typeOfMitigation?: string;
915
+ certifierId?: number[];
916
+ companyId?: number[];
917
+ }
918
+
919
+ declare class ProgrammeCertify implements BaseEntity {
920
+ programmeId?: string;
921
+ comment?: string;
922
+ }
923
+
924
+ interface TransferActionModelProps {
925
+ icon: any;
926
+ title: string;
927
+ transfer: ProgrammeTransfer;
928
+ onCancel: any;
929
+ actionBtnText: string;
930
+ onFinish: any;
931
+ subText: string;
932
+ disableToCompany?: boolean;
933
+ toCompanyDefault?: any;
934
+ openModal: boolean;
935
+ type: string;
936
+ remarkRequired: boolean;
937
+ translator: any;
938
+ }
939
+ declare const TransferActionModel: FC<TransferActionModelProps>;
940
+
941
+ interface NdcActionBodyProps {
942
+ data?: any;
943
+ progressIcon?: any;
944
+ programmeId?: any;
945
+ canUploadMonitorReport?: boolean;
946
+ programmeOwnerId?: any;
947
+ getProgrammeDocs?: any;
948
+ ministryLevelPermission?: boolean;
949
+ useConnection: any;
950
+ translator: any;
951
+ useUserContext: any;
952
+ }
953
+ declare const NdcActionBody: FC<NdcActionBodyProps>;
954
+
955
+ interface OrganisationStatusProps {
956
+ organisationStatus: number;
957
+ t: any;
958
+ }
959
+ declare const OrganisationStatus: (props: OrganisationStatusProps) => React.JSX.Element;
960
+
961
+ interface ProgrammeDocumentsProps {
962
+ data: any;
963
+ title: any;
964
+ icon: any;
965
+ programmeId: any;
966
+ programmeOwnerId: any[];
967
+ getDocumentDetails: any;
968
+ getProgrammeById: any;
969
+ ministryLevelPermission?: boolean;
970
+ useConnection: any;
971
+ useUserContext: any;
972
+ translator: any;
973
+ methodologyDocumentUpdated: any;
974
+ programmeStatus?: any;
975
+ }
976
+ declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
977
+
978
+ interface UserRoleIconProps {
979
+ role: string;
980
+ }
981
+ declare const UserRoleIcon: FC<UserRoleIconProps>;
982
+
983
+ interface TimelineBodyProps {
984
+ text: string;
985
+ remark?: string | null;
986
+ via?: string | null;
987
+ t: any;
988
+ }
989
+ declare const TimelineBody: FC<TimelineBodyProps>;
990
+
991
+ declare const AdminBGColor = "rgba(255, 166, 166, 0.42)";
992
+ declare const AdminColor = "#D12800";
993
+ declare const RootBGColor = "rgba(255, 0, 229, 0.15)";
994
+ declare const RootColor = "#DB00FF";
995
+ declare const ManagerBGColor = "rgba(96, 27, 209, 0.13)";
996
+ declare const ManagerColor = "#75009E";
997
+ declare const ViewBGColor = "rgba(176, 190, 197, 0.23)";
998
+ declare const ViewColor = "#707070";
999
+ declare const GovBGColor = "rgba(185, 226, 244, 0.56)";
1000
+ declare const GovColor = "#16B1FF";
1001
+ declare const DevBGColor = "rgba(254, 241, 173, 0.55)";
1002
+ declare const DevColor = "#FFA070";
1003
+ declare const MinBGColor = "rgba(198, 144, 251, 0.12)";
1004
+ declare const MinColor = "#9155fd";
1005
+ declare const CertBGColor = "rgba(128, 255, 0, 0.12)";
1006
+ declare const CertColor = "#519E4F";
1007
+ declare const TooltipColor = "#6ACDFF";
1008
+ declare const InvestmentBGColor = "rgba(151, 110, 215, 0.3)";
1009
+ declare const InvestmentColor = "#9155FD";
1010
+
1011
+ export { Action, AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, AgricultureProperties, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBGColor, InvestmentBody, InvestmentBodyProps, InvestmentColor, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, ManagerBGColor, ManagerColor, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MinBGColor, MinColor, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, RootBGColor, RootColor, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, StatsCardsTypes, SystemNames, TimelineBody, TimelineBodyProps, Titles, TooltipColor, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, userForgotPasswordProps };