@nomalism-com/types 1.3.63 → 1.3.64
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/modules/document/providerCreditNoteFromReturn/interfaces.d.ts +1 -1
- package/dist/modules/document/providerFinancialCreditNote/interfaces.d.ts +1 -1
- package/dist/modules/document/providerServiceInvoice/interfaces.d.ts +1 -1
- package/dist/modules/supply/documentHeader/interfaces.d.ts +1 -1
- package/dist/shared/entities/stock.d.ts +2 -14
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ export interface ICreateProviderCreditNoteFromReturnDocumentHeaders {
|
|
|
26
26
|
}
|
|
27
27
|
export interface ICreateProviderCreditNoteFromReturnRequest {
|
|
28
28
|
emission_date: Date;
|
|
29
|
-
|
|
29
|
+
external_reference: string;
|
|
30
30
|
observations: string;
|
|
31
31
|
document_headers: ICreateProviderCreditNoteFromReturnDocumentHeaders[];
|
|
32
32
|
acerto: number;
|
|
@@ -16,7 +16,7 @@ export interface IValueByVatTax {
|
|
|
16
16
|
export interface ICreateProviderFinancialCreditNoteRequest {
|
|
17
17
|
provider_id?: string;
|
|
18
18
|
nif?: string;
|
|
19
|
-
|
|
19
|
+
external_reference: string;
|
|
20
20
|
account_code?: string | null;
|
|
21
21
|
auto_pay?: boolean;
|
|
22
22
|
emission_date: Date;
|
|
@@ -7,7 +7,7 @@ export interface IValueByVatTax {
|
|
|
7
7
|
export interface ICreateProviderServiceInvoiceRequest {
|
|
8
8
|
provider_id?: string;
|
|
9
9
|
nif?: string;
|
|
10
|
-
|
|
10
|
+
external_reference: string;
|
|
11
11
|
account_code?: string | null;
|
|
12
12
|
auto_pay?: boolean;
|
|
13
13
|
emission_date: Date;
|
|
@@ -116,7 +116,7 @@ export interface IDeliveryAdresses {
|
|
|
116
116
|
export interface ICreateFromHeaderRequest {
|
|
117
117
|
document_type_id: number;
|
|
118
118
|
document_set_id?: string;
|
|
119
|
-
|
|
119
|
+
external_reference?: string;
|
|
120
120
|
emission_date?: Date;
|
|
121
121
|
account_code?: string | null;
|
|
122
122
|
from_header: string[];
|
|
@@ -8,7 +8,7 @@ import { IQueryParameterDatatype } from "../../modules/stock/queryParameter/inte
|
|
|
8
8
|
import { ISavedEmPickingData } from "../../modules/stock/savedEmPicking/interfaces";
|
|
9
9
|
import { ITagType } from "../../modules/stock/tag/interface";
|
|
10
10
|
import { ITaskStatusDataType } from "../../modules/stock/task/interface";
|
|
11
|
-
import type {
|
|
11
|
+
import type { ITaxEntry } from "../../modules/supply/documentHeader/interfaces";
|
|
12
12
|
import { IData, IDataDocumentoPago, IDataPagamento, type IImportedFromSheets, IPromotions } from "../../modules/supply/documentLine/interfaces";
|
|
13
13
|
import { IDocumentLineNoteType } from "../../modules/supply/documentLineNote/interfaces";
|
|
14
14
|
import { IDocumentTypeCodeType, IDocumentTypeUserType } from "../../modules/supply/documentType/interfaces";
|
|
@@ -256,13 +256,9 @@ export type DocumentHeader = {
|
|
|
256
256
|
from_document_header_id: string | null;
|
|
257
257
|
document_type_id: number;
|
|
258
258
|
document_number: number;
|
|
259
|
-
document_set_id: string;
|
|
260
259
|
pdf_link: string | null;
|
|
261
260
|
google_sheet_id: string | null;
|
|
262
261
|
emission_date: Date;
|
|
263
|
-
source_billing: string;
|
|
264
|
-
hash_control: string | null;
|
|
265
|
-
copy_from_document: string | null;
|
|
266
262
|
chat_document_header_id: string;
|
|
267
263
|
owner_id: string;
|
|
268
264
|
owner_number: number;
|
|
@@ -311,18 +307,11 @@ export type DocumentHeader = {
|
|
|
311
307
|
is_prepared: boolean;
|
|
312
308
|
is_rejected: boolean;
|
|
313
309
|
is_archived: boolean;
|
|
314
|
-
is_void: boolean;
|
|
315
|
-
is_void_reason: string | null;
|
|
316
310
|
is_force_adjudicated: boolean;
|
|
317
311
|
confirmed: boolean;
|
|
318
312
|
origin_id: string | null;
|
|
319
313
|
who_handles: string | null;
|
|
320
314
|
warning: string | null;
|
|
321
|
-
sequence_number: number | null;
|
|
322
|
-
tenant_nif: string;
|
|
323
|
-
atcud: string | null;
|
|
324
|
-
hash: string | null;
|
|
325
|
-
hash_data?: IRsaHashData;
|
|
326
315
|
project_info?: ProjectInfo;
|
|
327
316
|
paired_with: string | null;
|
|
328
317
|
comercial_discount_value: number | null;
|
|
@@ -331,8 +320,7 @@ export type DocumentHeader = {
|
|
|
331
320
|
taxes_value: number | null;
|
|
332
321
|
taxes: ITaxEntry[];
|
|
333
322
|
document_name: string;
|
|
334
|
-
|
|
335
|
-
qrcode: string | null;
|
|
323
|
+
external_reference: string | null;
|
|
336
324
|
seller: string | null;
|
|
337
325
|
created_at: Date;
|
|
338
326
|
updated_at: Date;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.64",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|