@a-cube-io/ereceipts-js-sdk 2.2.3 → 2.2.4

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/index.d.ts CHANGED
@@ -557,7 +557,8 @@ interface Receipt {
557
557
  documentDatetime?: string;
558
558
  isReturnable: boolean;
559
559
  isVoidable: boolean;
560
- pdfUrl?: string;
560
+ pdfUrl: string;
561
+ status: ReceiptStatus;
561
562
  parentReceiptUuid?: string;
562
563
  }
563
564
  interface ReceiptDetails extends Receipt {
@@ -1331,8 +1332,9 @@ interface ReceiptApiOutput {
1331
1332
  document_datetime?: string;
1332
1333
  is_returnable: boolean;
1333
1334
  is_voidable: boolean;
1334
- pdf_url?: string;
1335
+ pdf_url: string;
1335
1336
  parent_receipt_uuid?: string;
1337
+ status: 'ready' | 'sent';
1336
1338
  }
1337
1339
  interface ReceiptDetailsApiOutput extends ReceiptApiOutput {
1338
1340
  customer_lottery_code?: string;
package/dist/index.esm.js CHANGED
@@ -4360,6 +4360,7 @@ class ReceiptMapper {
4360
4360
  isReturnable: output.is_returnable,
4361
4361
  isVoidable: output.is_voidable,
4362
4362
  pdfUrl: output.pdf_url,
4363
+ status: output.status,
4363
4364
  parentReceiptUuid: output.parent_receipt_uuid,
4364
4365
  };
4365
4366
  }