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