[ 'addressbook' => $this->addressBook->uuid, 'sync_token' => $this->syncToken, $this->merge(function () { $localSyncToken = SyncToken::where('account_id', $this->account_id)->find($this->localSyncToken); return [ 'local_sync_token' => new SyncTokenResource($localSyncToken), ]; }), ], ]; } }