sinfactura-types 1.6.50 → 1.6.52
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/afip.d.ts +13 -0
- package/dist/product.d.ts +15 -0
- package/package.json +1 -1
package/dist/afip.d.ts
CHANGED
|
@@ -78,6 +78,19 @@ declare global {
|
|
|
78
78
|
errorConstancia?: AfipErrorConstancia;
|
|
79
79
|
errorRegimenGeneral?: AfipErrorRegimenGeneral;
|
|
80
80
|
}
|
|
81
|
+
interface PadronIdentity {
|
|
82
|
+
cuit: string;
|
|
83
|
+
razonSocial: string;
|
|
84
|
+
tipoPersona: "FISICA" | "JURIDICA";
|
|
85
|
+
estadoClave: string;
|
|
86
|
+
docType: number;
|
|
87
|
+
condFiscal?: number;
|
|
88
|
+
condFiscalName?: string;
|
|
89
|
+
address?: string;
|
|
90
|
+
city?: string;
|
|
91
|
+
province?: string;
|
|
92
|
+
postalCode?: string;
|
|
93
|
+
}
|
|
81
94
|
/**
|
|
82
95
|
* Cached AFIP/ARCA platform-wide health snapshot (api#1213). One DDB row
|
|
83
96
|
* (PK 'AFIP_HEALTH', SK 'current') overwritten every ~5 min by the
|
package/dist/product.d.ts
CHANGED
|
@@ -45,6 +45,21 @@ declare global {
|
|
|
45
45
|
cost: number;
|
|
46
46
|
prices?: PriceSlot[];
|
|
47
47
|
channels?: Record<string, ProductChannelMapping>;
|
|
48
|
+
barcodes?: ProductBarcode[];
|
|
49
|
+
barcodePrimary?: string;
|
|
50
|
+
variantGroupId?: string;
|
|
51
|
+
variantAttributes?: {
|
|
52
|
+
id: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}[];
|
|
55
|
+
model?: string;
|
|
56
|
+
}
|
|
57
|
+
interface ProductBarcode {
|
|
58
|
+
value: string;
|
|
59
|
+
type: 'EAN13' | 'EAN8' | 'UPC' | 'GTIN14' | 'CODE128' | 'internal';
|
|
60
|
+
isPrimary?: boolean;
|
|
61
|
+
packSize?: number;
|
|
62
|
+
source?: 'manual' | 'import' | 'generated';
|
|
48
63
|
}
|
|
49
64
|
type ProductChannelStatus = 'linked' | 'pending' | 'paused' | 'rejected' | 'unlinked';
|
|
50
65
|
interface ProductChannelMapping {
|