platform-types 1.10.745 → 1.10.746
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/platform.d.ts +7 -1
- package/dist/store.d.ts +2 -0
- package/package.json +1 -1
package/dist/platform.d.ts
CHANGED
|
@@ -449,7 +449,13 @@ export interface TenantHealthEnvelope {
|
|
|
449
449
|
certBand: CertBand | null;
|
|
450
450
|
};
|
|
451
451
|
integrations: {
|
|
452
|
-
/**
|
|
452
|
+
/**
|
|
453
|
+
* Presence and expiry ONLY — never the OAuth tokens. Read from the nested
|
|
454
|
+
* `integrations.mercadopago` leaf only, never the legacy flat blob.
|
|
455
|
+
* `connected` means linked: a `userId` is present and the automatic
|
|
456
|
+
* revocation has not stamped `disconnectedAt`. It stays `true` after
|
|
457
|
+
* `oauthExpiresAt` passes — that epoch is what grades a lapsing grant.
|
|
458
|
+
*/
|
|
453
459
|
mercadopago: {
|
|
454
460
|
connected: boolean;
|
|
455
461
|
oauthExpiresAt: number | null;
|
package/dist/store.d.ts
CHANGED
|
@@ -1288,7 +1288,9 @@ declare global {
|
|
|
1288
1288
|
liveMode?: boolean;
|
|
1289
1289
|
/** @deprecated Never populated: the OAuth callback drops the token response's `public_key` and no other writer exists (sanitizers deliberately treat it as non-secret, but nothing writes it). */
|
|
1290
1290
|
publicKey?: string;
|
|
1291
|
+
/** @deprecated Never populated: no writer stamps it. Derive the connection from `userId`, `disconnectedAt` and `expiresAt`. */
|
|
1291
1292
|
status?: MercadopagoConnectionStatus;
|
|
1293
|
+
/** unix ms; set by the automatic revocation, which keeps `userId`. The tenant disconnect removes the whole leaf instead. */
|
|
1292
1294
|
disconnectedAt?: number;
|
|
1293
1295
|
lastTokenRefreshAt?: number;
|
|
1294
1296
|
tokenRefreshFailures?: number;
|