@nomalism-com/types 0.9.468 → 0.9.470
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.
|
@@ -121,6 +121,7 @@ var createFromHeaderBodyKeys = {
|
|
|
121
121
|
.optional(),
|
|
122
122
|
maturity_date: joi_1.default.object().keys(createFromHeaderMaturityDate).optional(),
|
|
123
123
|
return_reason: joi_1.default.string().optional(),
|
|
124
|
+
provider_ref: joi_1.default.string().optional(),
|
|
124
125
|
};
|
|
125
126
|
exports.createFromHeaderBody = joi_1.default
|
|
126
127
|
.object()
|
|
@@ -41,6 +41,7 @@ export interface ICurrentAccountNotes {
|
|
|
41
41
|
export interface IFindCurrentAccountByOwnerIdResponse {
|
|
42
42
|
payment_date: string;
|
|
43
43
|
emission_date: string;
|
|
44
|
+
document_description: string;
|
|
44
45
|
document_name: string;
|
|
45
46
|
debit: number | null;
|
|
46
47
|
credit: number | null;
|
|
@@ -59,7 +60,8 @@ export type IPaymentOrigin = 'CC Fornecedor' | 'CC Cliente' | 'CC Fornecedor (De
|
|
|
59
60
|
export interface IUnpaidPurchasesResponse extends Pick<Entity, 'date' | 'debit' | 'credit'> {
|
|
60
61
|
document_header: Pick<DocumentHeader, 'emission_date' | 'pdf_link' | 'id'>;
|
|
61
62
|
origin: IPaymentOrigin;
|
|
62
|
-
|
|
63
|
+
document_description: string;
|
|
64
|
+
document_name: string;
|
|
63
65
|
user?: {
|
|
64
66
|
user_name: string;
|
|
65
67
|
provider_id: string;
|
|
@@ -1017,7 +1017,8 @@ export type DocumentLineLifecycle = {
|
|
|
1017
1017
|
};
|
|
1018
1018
|
export type SettledMaterialEntrance = {
|
|
1019
1019
|
id: string;
|
|
1020
|
-
|
|
1020
|
+
document_description: string;
|
|
1021
|
+
document_name: string;
|
|
1021
1022
|
total: number;
|
|
1022
1023
|
saldo: number;
|
|
1023
1024
|
data_vencimento: Date;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.9.
|
|
12
|
+
"version": "0.9.470",
|
|
13
13
|
"main": "./dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/convert-units": "^2.3.6",
|
|
41
41
|
"@types/node": "^18.16.19",
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
43
|
-
"@typescript-eslint/parser": "^5.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.61.0",
|
|
43
|
+
"@typescript-eslint/parser": "^5.61.0",
|
|
44
44
|
"concurrently": "^8.2.0",
|
|
45
45
|
"eslint": "^8.44.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|