import { storage } from "cloudly-storage"; import { isly } from "isly"; export type Audit = storage.AuditLogger.Entry; export declare namespace Audit { type Type = { [K in keyof typeof Resource.value]: (typeof Resource.value)[K][number]; }; type Resource = keyof typeof Resource.value; namespace Resource { const value: { readonly rule: readonly ["change", "add", "remove"]; readonly user: readonly ["login", "change"]; readonly settlements: readonly ["archive", "collect", "create", "inspect", "payout", "remove", "expect", "issue", "create-entry", "replace-entry"]; readonly marqeta: readonly ["gateway-create", "gateway-update", "hook-register", "hook-update", "product-create", "user-create"]; readonly account: readonly ["buffer", "counterpart-remove", "counterpart-replace", "listener-create", "listener-remove", "rail-create", "rail-remove", "rail-replace", "rule-create", "rule-remove", "rule-replace", "create", "status", "operation", "remove", "update"]; readonly label: readonly ["create", "remove", "replace"]; readonly transaction: readonly ["operation", "cancel", "system", "update", "note"]; readonly organization: readonly ["group-replace", "listener-create", "listener-remove", "rule-create", "rule-remove", "rule-replace", "create", "remove", "update", "inactivate"]; readonly route: readonly ["create"]; readonly clearbank: readonly ["assessmentFailed", "validationFailed"]; }; const keys: (keyof typeof value)[]; const type: isly.Type<"clearbank" | "rule" | "account" | "transaction" | "organization" | "settlements" | "user" | "marqeta" | "label" | "route">; } }