@pimia/sdk 0.17.0 → 0.18.0

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/client.d.ts CHANGED
@@ -231,6 +231,7 @@ export declare class PimiaClient {
231
231
  tax_included: string;
232
232
  discount_per_item: string | null;
233
233
  notes: string | null;
234
+ operation_nature: string | null;
234
235
  discount_type: string | null;
235
236
  discount: number;
236
237
  discount_val: number;
@@ -277,6 +278,17 @@ export declare class PimiaClient {
277
278
  qr_data: string | null;
278
279
  hash: string | null;
279
280
  aeat_csv: string | null;
281
+ fiscal: {
282
+ country: string;
283
+ driver: string;
284
+ status: string;
285
+ external_status: string | null;
286
+ external_status_code: string | null;
287
+ external_id: string | null;
288
+ receipt: string | null;
289
+ error: string | null;
290
+ submitted_at: string | null;
291
+ } | null;
280
292
  is_credit_note: boolean;
281
293
  rectified_invoice_id: number | null;
282
294
  rectified_invoice_number?: string | null;
@@ -318,6 +330,7 @@ export declare class PimiaClient {
318
330
  tax_included: string;
319
331
  discount_per_item: string | null;
320
332
  notes: string | null;
333
+ operation_nature: string | null;
321
334
  discount_type: string | null;
322
335
  discount: number;
323
336
  discount_val: number;
@@ -364,6 +377,17 @@ export declare class PimiaClient {
364
377
  qr_data: string | null;
365
378
  hash: string | null;
366
379
  aeat_csv: string | null;
380
+ fiscal: {
381
+ country: string;
382
+ driver: string;
383
+ status: string;
384
+ external_status: string | null;
385
+ external_status_code: string | null;
386
+ external_id: string | null;
387
+ receipt: string | null;
388
+ error: string | null;
389
+ submitted_at: string | null;
390
+ } | null;
367
391
  is_credit_note: boolean;
368
392
  rectified_invoice_id: number | null;
369
393
  rectified_invoice_number?: string | null;
@@ -432,6 +456,7 @@ export declare class PimiaClient {
432
456
  base_due_amount: number | null;
433
457
  prefix: string | null;
434
458
  tax_id: string | null;
459
+ registration_number: string | null;
435
460
  notes: string | null;
436
461
  external_ref: string | null;
437
462
  iban: string | null;
@@ -511,6 +536,7 @@ export declare class PimiaClient {
511
536
  tax_included: string;
512
537
  discount_per_item: string | null;
513
538
  notes: string | null;
539
+ operation_nature: string | null;
514
540
  discount_type: string | null;
515
541
  discount: number;
516
542
  discount_val: number;
@@ -557,6 +583,17 @@ export declare class PimiaClient {
557
583
  qr_data: string | null;
558
584
  hash: string | null;
559
585
  aeat_csv: string | null;
586
+ fiscal: {
587
+ country: string;
588
+ driver: string;
589
+ status: string;
590
+ external_status: string | null;
591
+ external_status_code: string | null;
592
+ external_id: string | null;
593
+ receipt: string | null;
594
+ error: string | null;
595
+ submitted_at: string | null;
596
+ } | null;
560
597
  is_credit_note: boolean;
561
598
  rectified_invoice_id: number | null;
562
599
  rectified_invoice_number?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimia/sdk",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Cliente TypeScript de la API de Pimia para apps de partner: OAuth con PKCE, rotación de refresh persistida, reintentos de rate limit y tipos generados del OpenAPI.",
5
5
  "license": "MIT",
6
6
  "author": "Pimia (https://pimia.es)",