@nomalism-com/types 0.9.467 → 0.9.469

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.
@@ -138,6 +138,7 @@ export interface ICreateFromHeaderRequest {
138
138
  email?: string;
139
139
  maturity_date?: ICreateFromHeaderMaturityDate;
140
140
  return_reason?: string;
141
+ provider_ref?: string;
141
142
  }
142
143
  export interface IUpdateRequest {
143
144
  external_data?: unknown;
@@ -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
- name: string;
63
+ document_description: string;
64
+ document_name: string;
63
65
  user?: {
64
66
  user_name: string;
65
67
  provider_id: string;
@@ -75,7 +75,7 @@ export type Providers = {
75
75
  user_id: string;
76
76
  preferential_contact_id: string | null;
77
77
  number: number;
78
- nif: string;
78
+ nif: string | null;
79
79
  country_id: string | null;
80
80
  language_id: string | null;
81
81
  support_language_id: string | null;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.467",
12
+ "version": "0.9.469",
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.60.1",
43
- "@typescript-eslint/parser": "^5.60.1",
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",