@nomalism-com/types 0.14.6 → 0.14.8

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.
@@ -84,7 +84,8 @@ export interface IProviderPaymentRequest {
84
84
  export interface IPaymentsNotExportedResponse {
85
85
  iban: string;
86
86
  payment_ids: string[];
87
- documents: {
87
+ npf_dh: {
88
+ id: string;
88
89
  name: string;
89
90
  pdf_link: string | null;
90
91
  total: number;
@@ -92,7 +93,7 @@ export interface IPaymentsNotExportedResponse {
92
93
  provider: string;
93
94
  value: number;
94
95
  }
95
- export type IExportPaymentsRequest = Pick<IPaymentsNotExportedResponse, 'provider'>;
96
+ export type IExportPaymentsRequest = Pick<IPaymentsNotExportedResponse, 'provider' | 'value'>;
96
97
  export type IBatchType = 'national' | 'international' | 'null';
97
98
  export interface IPaymentsBatchResponse {
98
99
  batch_id: string;
@@ -100,7 +101,7 @@ export interface IPaymentsBatchResponse {
100
101
  batch_type: IBatchType | null;
101
102
  multimedia_id: string | null;
102
103
  times_downloaded: number;
103
- documents: {
104
+ npf_dh: {
104
105
  name: string;
105
106
  pdf_link: string | null;
106
107
  total: number;
@@ -50,6 +50,7 @@ exports.providerPaymentBody = joi_1.default
50
50
  .items(joi_1.default.object().keys(providerPaymentBodyKeys))
51
51
  .messages(messages_1.messages);
52
52
  var exportPaymentsBodyKeys = {
53
+ value: joi_1.default.number().positive().required(),
53
54
  provider: joi_1.default.string().required(),
54
55
  };
55
56
  exports.exportPaymentsBody = joi_1.default
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.14.6",
12
+ "version": "0.14.8",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [