sinfactura-types 1.10.652 → 1.10.653
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/cjs/socket.js +2 -1
- package/dist/socket.d.ts +12 -2
- package/dist/socket.js +2 -1
- package/package.json +1 -1
package/dist/cjs/socket.js
CHANGED
|
@@ -584,7 +584,8 @@ exports.SOCKET_ACTIONS = [
|
|
|
584
584
|
// ML will still restate; a consumer must not render one as final.
|
|
585
585
|
'mercadolibre_settlement_period',
|
|
586
586
|
// BE → the store's OPERATOR sockets when an avanzado custom domain's provisioning state
|
|
587
|
-
// moves,
|
|
587
|
+
// moves, a teardown removes it (`provisioning: null`), or a revoke lands (`status: 'REVOKED'`)
|
|
588
|
+
// (`CustomDomainSocketPayload`). Status only: the row's
|
|
588
589
|
// `verificationToken` is an ownership credential and is never re-sent here.
|
|
589
590
|
'customDomain',
|
|
590
591
|
// BE → all store users on every purchase-order write: create, update, cancel,
|
package/dist/socket.d.ts
CHANGED
|
@@ -43,8 +43,10 @@ export interface CustomDomainSocketPayload {
|
|
|
43
43
|
/**
|
|
44
44
|
* The attempt as it now stands, or `null` when a teardown (a deprovision, a
|
|
45
45
|
* revoke, the grace-expiry sweep) removed it — whatever state it was in.
|
|
46
|
-
* Merge the `null` over a cached row: the attempt is gone
|
|
47
|
-
* be provisioned again
|
|
46
|
+
* Merge the `null` over a cached row: the attempt is gone. Whether the host
|
|
47
|
+
* can be provisioned again depends on `status`: absent (a deprovision, the
|
|
48
|
+
* grace sweep), the row is still VERIFIED and it can; `'REVOKED'`, the host
|
|
49
|
+
* is gone from the store and must not be offered for publishing.
|
|
48
50
|
*/
|
|
49
51
|
provisioning: {
|
|
50
52
|
state: DomainProvisioningState;
|
|
@@ -69,6 +71,14 @@ export interface CustomDomainSocketPayload {
|
|
|
69
71
|
* still type-checks.
|
|
70
72
|
*/
|
|
71
73
|
deactivatesAt?: number | null;
|
|
74
|
+
/**
|
|
75
|
+
* The row's status, sent only when the frame follows a status change: a
|
|
76
|
+
* revoke posts ONE frame after its REVOKED write lands —
|
|
77
|
+
* `{ provisioning: null, deactivatesAt: null, status: 'REVOKED' }` — never the
|
|
78
|
+
* bare teardown frame before it. Absent means the status did not move; keep
|
|
79
|
+
* the cached one.
|
|
80
|
+
*/
|
|
81
|
+
status?: DomainStatus;
|
|
72
82
|
}
|
|
73
83
|
/**
|
|
74
84
|
* `data` of the BULK-IMPORT `customers` frame: "drop your cached customer list
|
package/dist/socket.js
CHANGED
|
@@ -581,7 +581,8 @@ export const SOCKET_ACTIONS = [
|
|
|
581
581
|
// ML will still restate; a consumer must not render one as final.
|
|
582
582
|
'mercadolibre_settlement_period',
|
|
583
583
|
// BE → the store's OPERATOR sockets when an avanzado custom domain's provisioning state
|
|
584
|
-
// moves,
|
|
584
|
+
// moves, a teardown removes it (`provisioning: null`), or a revoke lands (`status: 'REVOKED'`)
|
|
585
|
+
// (`CustomDomainSocketPayload`). Status only: the row's
|
|
585
586
|
// `verificationToken` is an ownership credential and is never re-sent here.
|
|
586
587
|
'customDomain',
|
|
587
588
|
// BE → all store users on every purchase-order write: create, update, cancel,
|