sinfactura-types 1.10.2 → 1.10.3
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/userActivity.d.ts +20 -1
- package/package.json +1 -1
package/dist/userActivity.d.ts
CHANGED
|
@@ -443,7 +443,26 @@ declare global {
|
|
|
443
443
|
from_status: ProductChannelStatus;
|
|
444
444
|
to_status: ProductChannelStatus;
|
|
445
445
|
}
|
|
446
|
-
|
|
446
|
+
interface PrintRuleCreatedEvent extends UserActivityEventBase {
|
|
447
|
+
event: 'Print Rule Created';
|
|
448
|
+
use_case: PrintUseCase;
|
|
449
|
+
agent_id: string;
|
|
450
|
+
printer_id: string;
|
|
451
|
+
}
|
|
452
|
+
interface PrintRuleEditedEvent extends UserActivityEventBase {
|
|
453
|
+
event: 'Print Rule Edited';
|
|
454
|
+
use_case: PrintUseCase;
|
|
455
|
+
agent_id: string;
|
|
456
|
+
printer_id: string;
|
|
457
|
+
fields_changed: string[];
|
|
458
|
+
}
|
|
459
|
+
interface PrintRuleDeletedEvent extends UserActivityEventBase {
|
|
460
|
+
event: 'Print Rule Deleted';
|
|
461
|
+
use_case: PrintUseCase;
|
|
462
|
+
agent_id: string;
|
|
463
|
+
printer_id: string;
|
|
464
|
+
}
|
|
465
|
+
type UserActivityEvent = UserLoggedInEvent | UserLoggedOutEvent | UserPasswordChangedEvent | UserSuspendedEvent | TwoFactorEnrolledEvent | TwoFactorDisabledEvent | TwoFactorResetEvent | TwoFactorRecoveryCodesGeneratedEvent | StorePaletteChangedEvent | StoreSettingsUpdatedEvent | PlanChangedEvent | InvoiceCreatedEvent | OrderCreatedEvent | OrderCancelledEvent | OrderEditedEvent | OrderReturnedEvent | ProductPriceChangedEvent | CustomerCreatedEvent | CustomerEditedEvent | CashDrawerOpenedEvent | CashDrawerClosedEvent | TenantImpersonatedEvent | SecretRotatedEvent | UserCreatedEvent | UserUpdatedEvent | ProductCreatedEvent | ProductUpdatedEvent | StockIncomeCreatedEvent | CategoryCreatedEvent | CategoryUpdatedEvent | BrandCreatedEvent | BrandUpdatedEvent | SupplierCreatedEvent | SupplierUpdatedEvent | SupplierInvoiceCreatedEvent | SupplierAccountCreatedEvent | SupplierAccountUpdatedEvent | AccountCreatedEvent | AccountDeletedEvent | BasketUpdatedEvent | BasketDeletedEvent | CashDrawerMovementEvent | PaymentCreatedEvent | PaymentLinkedEvent | PaymentUnlinkedEvent | PaymentLinkageUpdatedEvent | NotificationReadEvent | LogDeletedEvent | PlanCreatedEvent | StoreMaintenanceToggledEvent | PlatformMaintenanceToggledEvent | TenantCreatedEvent | LiteralUpdatedEvent | SupportTicketCreatedEvent | SupportTicketUpdatedEvent | AuditTrailViewedEvent | ReportViewedEvent | CustomerPiiViewedEvent | CashDrawerUiOpenedEvent | CashDrawerUiClosedEvent | ExportInitiatedEvent | ImpersonationUiStartedEvent | ImpersonationUiEndedEvent | PaymentViewedEvent | InvoiceViewedEvent | CustomerDetailViewedEvent | SupplierAccountViewedEvent | SearchPerformedEvent | ActionDeniedEvent | TwoFactorChallengeShownEvent | TwoFactorCodeValidationFailedEvent | TwoFactorEnrollmentStartedEvent | TwoFactorRecoveryCodesRevealedEvent | TwoFactorResetInitiatedEvent | IntegrationTokenRefreshedEvent | WaitlistConvertedEvent | PlatformConfigUpdatedEvent | MlChannelStatusChangedEvent | PrintRuleCreatedEvent | PrintRuleEditedEvent | PrintRuleDeletedEvent;
|
|
447
466
|
}
|
|
448
467
|
/**
|
|
449
468
|
* Canonical whitelist of UI-only `UserActivityEvent` variant names — the 8
|