package model // SimStatusQueueStartMessage asks the Worker to scan the card table and run a // full status synchronization. The Admin service does not perform upstream // calls for this path. A nil Scope (or one whose channels normalize to empty) // is a full sync. type SimStatusQueueStartMessage struct { RunID string `json:"runId"` Operation string `json:"operation"` TriggeredAt string `json:"triggeredAt"` Scope *SyncScope `json:"scope,omitempty"` } // SimStatusQueueTaskMessage is the card-level form used by business actions. // The complete card routing information is carried so the Worker can enqueue // it without doing a synchronous Admin lookup. type SimStatusQueueTaskMessage struct { RequestID string `json:"requestId"` RunID string `json:"runId"` Operation string `json:"operation"` CardID int64 `json:"cardId"` ICCID string `json:"iccid"` MSISDN string `json:"msisdn"` IMSI string `json:"imsi"` ChanKey string `json:"chanKey"` TempKey string `json:"tempKey"` Operator int `json:"operator"` }