@etainabl/nodejs-sdk 1.3.132 → 1.3.134

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1025,44 +1025,60 @@ interface InvoiceValues<DateType = Date | string> {
1025
1025
  totalWasteCost?: number;
1026
1026
  totalDaily?: number;
1027
1027
  totalLevy?: number;
1028
- totalKva?: number;
1029
1028
  totalCCL?: number;
1029
+ totalMisc?: number;
1030
1030
  totalFeedInTariff?: number;
1031
1031
  totalLatePayment?: number;
1032
+ totalKva?: number;
1032
1033
  totalUnits?: number;
1033
1034
  totalWaterVolume?: number;
1034
1035
  totalWasteVolume?: number;
1036
+ capacity?: number;
1035
1037
  netTotalCost?: number;
1036
1038
  totalTax?: number;
1037
1039
  totalCost?: number;
1038
- meteredConsumption?: string;
1039
- correctedConsumption?: string;
1040
- correctionFactor?: string;
1041
- calorificValue?: string;
1042
- readFactor?: string;
1043
- capacity?: number;
1040
+ meteredConsumption?: number;
1041
+ correctedConsumption?: number;
1042
+ correctionFactor?: number;
1043
+ calorificValue?: number;
1044
+ readFactor?: number;
1044
1045
  sewerageReturnPercentage?: number;
1045
1046
  type?: string;
1046
1047
  startRead?: string;
1047
1048
  endRead?: string;
1049
+ supplierName?: string;
1050
+ supplierVatNumber?: string;
1051
+ recipient?: string;
1052
+ invoiceDueDate?: Date;
1053
+ invoiceStartDate?: Date;
1054
+ invoiceEndDate?: Date;
1055
+ startReadType?: string;
1056
+ endReadType?: string;
1057
+ isFinal?: boolean;
1058
+ units?: ETNUnit;
1059
+ supplyAddress?: string;
1060
+ contractEndDate?: Date;
1061
+ contractNoticeDate?: Date;
1062
+ invoiceValuesComment?: string;
1063
+ meterValuesComment?: string;
1048
1064
  }
1049
1065
  interface InvoiceRate {
1050
1066
  id: string;
1051
- consumption?: string;
1052
- cost?: string;
1053
- endDate?: Date | null;
1054
- endRead?: string | null;
1055
- endReadType?: string | null;
1056
- endReadRegister?: string | null;
1057
- endReadUnit?: string | null;
1058
- rateName?: string | null;
1059
- startDate?: Date | null;
1060
- startRead?: string | null;
1061
- startReadType?: string | null;
1062
- startReadRegister?: string | null;
1063
- startReadUnit?: string | null;
1064
- type: InvoiceRateType;
1065
- unitRate?: string | null;
1067
+ rateName: string | null;
1068
+ contractRateName: string | null;
1069
+ consumption: number | null;
1070
+ unitRate: number | null;
1071
+ cost: number | null;
1072
+ startRead: string | null;
1073
+ startReadType: string | null;
1074
+ endRead: string | null;
1075
+ endReadType: string | null;
1076
+ register: string | null;
1077
+ units: string | null;
1078
+ type: InvoiceRateType | null;
1079
+ startDate: Date | null;
1080
+ endDate: Date | null;
1081
+ comment: string | null;
1066
1082
  }
1067
1083
  type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
1068
1084
  type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
package/dist/index.d.ts CHANGED
@@ -1025,44 +1025,60 @@ interface InvoiceValues<DateType = Date | string> {
1025
1025
  totalWasteCost?: number;
1026
1026
  totalDaily?: number;
1027
1027
  totalLevy?: number;
1028
- totalKva?: number;
1029
1028
  totalCCL?: number;
1029
+ totalMisc?: number;
1030
1030
  totalFeedInTariff?: number;
1031
1031
  totalLatePayment?: number;
1032
+ totalKva?: number;
1032
1033
  totalUnits?: number;
1033
1034
  totalWaterVolume?: number;
1034
1035
  totalWasteVolume?: number;
1036
+ capacity?: number;
1035
1037
  netTotalCost?: number;
1036
1038
  totalTax?: number;
1037
1039
  totalCost?: number;
1038
- meteredConsumption?: string;
1039
- correctedConsumption?: string;
1040
- correctionFactor?: string;
1041
- calorificValue?: string;
1042
- readFactor?: string;
1043
- capacity?: number;
1040
+ meteredConsumption?: number;
1041
+ correctedConsumption?: number;
1042
+ correctionFactor?: number;
1043
+ calorificValue?: number;
1044
+ readFactor?: number;
1044
1045
  sewerageReturnPercentage?: number;
1045
1046
  type?: string;
1046
1047
  startRead?: string;
1047
1048
  endRead?: string;
1049
+ supplierName?: string;
1050
+ supplierVatNumber?: string;
1051
+ recipient?: string;
1052
+ invoiceDueDate?: Date;
1053
+ invoiceStartDate?: Date;
1054
+ invoiceEndDate?: Date;
1055
+ startReadType?: string;
1056
+ endReadType?: string;
1057
+ isFinal?: boolean;
1058
+ units?: ETNUnit;
1059
+ supplyAddress?: string;
1060
+ contractEndDate?: Date;
1061
+ contractNoticeDate?: Date;
1062
+ invoiceValuesComment?: string;
1063
+ meterValuesComment?: string;
1048
1064
  }
1049
1065
  interface InvoiceRate {
1050
1066
  id: string;
1051
- consumption?: string;
1052
- cost?: string;
1053
- endDate?: Date | null;
1054
- endRead?: string | null;
1055
- endReadType?: string | null;
1056
- endReadRegister?: string | null;
1057
- endReadUnit?: string | null;
1058
- rateName?: string | null;
1059
- startDate?: Date | null;
1060
- startRead?: string | null;
1061
- startReadType?: string | null;
1062
- startReadRegister?: string | null;
1063
- startReadUnit?: string | null;
1064
- type: InvoiceRateType;
1065
- unitRate?: string | null;
1067
+ rateName: string | null;
1068
+ contractRateName: string | null;
1069
+ consumption: number | null;
1070
+ unitRate: number | null;
1071
+ cost: number | null;
1072
+ startRead: string | null;
1073
+ startReadType: string | null;
1074
+ endRead: string | null;
1075
+ endReadType: string | null;
1076
+ register: string | null;
1077
+ units: string | null;
1078
+ type: InvoiceRateType | null;
1079
+ startDate: Date | null;
1080
+ endDate: Date | null;
1081
+ comment: string | null;
1066
1082
  }
1067
1083
  type InvoiceStatus = 'processing' | 'pending' | 'uploading' | 'queued' | 'captured' | 'error' | 'completed';
1068
1084
  type FinancialStatus = 'approved' | 'new' | 'not-approved' | 'paid' | 'sent-for-payment';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etainabl/nodejs-sdk",
3
- "version": "1.3.132",
3
+ "version": "1.3.134",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",