@shipstatic/types 0.7.1 → 0.7.2
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 +1 -1
- package/package.json +1 -1
- package/src/index.ts +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -643,7 +643,7 @@ export interface KeysResource {
|
|
|
643
643
|
* All activity event types logged in the system.
|
|
644
644
|
* Uses dot notation consistently: {resource}.{action}
|
|
645
645
|
*/
|
|
646
|
-
export type ActivityEvent = 'account.create' | 'account.update' | 'account.delete' | 'account.key.generate' | 'account.plan.paid' | 'account.plan.transition' | 'account.suspended' | 'deployment.create' | 'deployment.update' | 'deployment.delete' | 'deployment.claim' | 'domain.create' | 'domain.update' | 'domain.delete' | 'domain.verify' | 'token.create' | 'token.consume' | 'admin.account.plan.update' | 'admin.account.ref.update' | 'admin.account.billing.update' | 'admin.account.labels.update' | 'admin.deployment.delete' | 'admin.domain.delete' | 'admin.billing.sync' | 'admin.billing.terminated' | 'admin.impersonate' | 'billing.active' | 'billing.canceled' | 'billing.paused' | 'billing.expired' | 'billing.paid' | 'billing.trialing' | 'billing.scheduled_cancel' | 'billing.unpaid' | 'billing.update' | 'billing.past_due' | 'refund.created' | 'dispute.created';
|
|
646
|
+
export type ActivityEvent = 'account.create' | 'account.update' | 'account.delete' | 'account.key.generate' | 'account.plan.paid' | 'account.plan.transition' | 'account.suspended' | 'deployment.create' | 'deployment.update' | 'deployment.delete' | 'deployment.claim' | 'domain.create' | 'domain.update' | 'domain.delete' | 'domain.verify' | 'token.create' | 'token.consume' | 'admin.account.plan.update' | 'admin.account.ref.update' | 'admin.account.billing.update' | 'admin.account.labels.update' | 'admin.deployment.delete' | 'admin.domain.delete' | 'admin.billing.sync' | 'admin.billing.terminated' | 'admin.impersonate' | 'billing.active' | 'billing.canceled' | 'billing.paused' | 'billing.expired' | 'billing.paid' | 'billing.trialing' | 'billing.scheduled_cancel' | 'billing.unpaid' | 'billing.update' | 'billing.past_due' | 'refund.created' | 'dispute.created' | 'billing.sync' | 'billing.stale' | 'billing.race';
|
|
647
647
|
/**
|
|
648
648
|
* Activity events visible to users in the dashboard
|
|
649
649
|
*/
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -978,7 +978,11 @@ export type ActivityEvent =
|
|
|
978
978
|
| 'billing.update'
|
|
979
979
|
| 'billing.past_due'
|
|
980
980
|
| 'refund.created'
|
|
981
|
-
| 'dispute.created'
|
|
981
|
+
| 'dispute.created'
|
|
982
|
+
// Billing operational events (admin/debug only, not user-visible)
|
|
983
|
+
| 'billing.sync' // Outbound: unit count pushed to payment provider
|
|
984
|
+
| 'billing.stale' // Dropped: webhook predates last known state
|
|
985
|
+
| 'billing.race'; // Dropped: concurrent webhook already updated state
|
|
982
986
|
|
|
983
987
|
/**
|
|
984
988
|
* Activity events visible to users in the dashboard
|