platform-types 1.10.863 → 1.10.864
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/subscription.d.ts +10 -2
- package/package.json +1 -1
package/dist/subscription.d.ts
CHANGED
|
@@ -733,7 +733,9 @@ declare global {
|
|
|
733
733
|
* is `PPPP-NNNNNNNN` (point of sale and comprobante number, zero-padded);
|
|
734
734
|
* `issuedAt` is Unix ms. A factura is written by the platform's
|
|
735
735
|
* self-billing for a MercadoPago charge approved on or after its go-live;
|
|
736
|
-
*
|
|
736
|
+
* a credit note — one full Nota de Crédito against that factura — for a
|
|
737
|
+
* refund or chargeback of a charge whose factura was issued (a partial
|
|
738
|
+
* refund owes none).
|
|
737
739
|
*/
|
|
738
740
|
type PlatformFiscalDoc = null | {
|
|
739
741
|
status: 'pending';
|
|
@@ -753,7 +755,13 @@ declare global {
|
|
|
753
755
|
* `expiresAt` (Unix ms, about 5 minutes). Fetch it on click, never cache it.
|
|
754
756
|
* `404 PLATFORM_FISCAL_DOC_NOT_FOUND` when the payment or its document does
|
|
755
757
|
* not exist; `409 PLATFORM_FISCAL_DOC_PENDING` while it is still pending.
|
|
756
|
-
*
|
|
758
|
+
*
|
|
759
|
+
* `{paymentId}` is the MercadoPago payment id — `InvoiceSummary.providerPaymentId`
|
|
760
|
+
* for a subscription row, `StoreMessagePackPurchase.paymentId` for a pack —
|
|
761
|
+
* never `InvoiceSummary.id`. The route looks it up only under the token's
|
|
762
|
+
* store: its subscription payment row under `mercadopago#{paymentId}`, then
|
|
763
|
+
* its pack payment row under the same key; a foreign or unknown id is the
|
|
764
|
+
* same `404`.
|
|
757
765
|
*/
|
|
758
766
|
interface PlatformFiscalDocPdf {
|
|
759
767
|
url: string;
|