diff --git a/modules/mobile/app/models/mobile/v0/adapters/lighthouse_individual_claims.rb b/modules/mobile/app/models/mobile/v0/adapters/lighthouse_individual_claims.rb index 45ca2750fe1..c10a2778381 100644 --- a/modules/mobile/app/models/mobile/v0/adapters/lighthouse_individual_claims.rb +++ b/modules/mobile/app/models/mobile/v0/adapters/lighthouse_individual_claims.rb @@ -135,7 +135,8 @@ def create_events_for_documents(attributes) tracked_item_id: document['trackedItemId'], upload_date: document['uploadDate'], file_type: document['documentTypeLabel'], - filename: document['originalFileName'] + filename: document['originalFileName'], + document_id: document['documentId'] ) end end @@ -173,7 +174,8 @@ def create_documents(documents) # no document type field available document_type: nil, filename: document['originalFileName'], - upload_date: document['uploadDate'] + upload_date: document['uploadDate'], + document_id: document['documentId'] } ClaimDocument.new(document_hash) end diff --git a/modules/mobile/app/models/mobile/v0/claim_document.rb b/modules/mobile/app/models/mobile/v0/claim_document.rb index 62dd677ae78..c5650b9e677 100644 --- a/modules/mobile/app/models/mobile/v0/claim_document.rb +++ b/modules/mobile/app/models/mobile/v0/claim_document.rb @@ -10,6 +10,7 @@ class ClaimDocument < Common::Resource attribute :document_type, Types::Nil attribute :filename, Types::String attribute :upload_date, Types::Date + attribute :document_id, Types::String end end end diff --git a/modules/mobile/app/models/mobile/v0/claim_event_timeline.rb b/modules/mobile/app/models/mobile/v0/claim_event_timeline.rb index 278cba8018d..0fdb63aa897 100644 --- a/modules/mobile/app/models/mobile/v0/claim_event_timeline.rb +++ b/modules/mobile/app/models/mobile/v0/claim_event_timeline.rb @@ -24,6 +24,7 @@ class ClaimEventTimeline < Common::Resource attribute :file_type, Types::String.optional.default(nil) attribute :document_type, Types::String.optional.default(nil) attribute :filename, Types::String.optional.default(nil) + attribute :document_id, Types::String.optional.default(nil) end end end diff --git a/modules/mobile/docs/index.html b/modules/mobile/docs/index.html index a005c77e4a4..21b961a325f 100755 --- a/modules/mobile/docs/index.html +++ b/modules/mobile/docs/index.html @@ -12,7 +12,7 @@ margin: 0; } -