test

{
   "dataType":"application/json",
   "dedup":1,
   "msgType":"push_driver_notification",
   "ttlMs":30000,
   "source":"cli-test",
   "priority":"medium",
   "background":false,
   "data":{
      "commitTsInNanos":1724189404389200000,
      "taskScopes":[
         {
            "blockingTasks":[
               
            ],
            "nonBlockingTasks":[
               {
                  "isCompleted":false,
                  "taskId":"cb3213bd-bcef-3e92-b7d4-7da630a12e49",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "deliveryInstructionsTaskData":{
                              "interactionInstruction":"Pick up in store",
                              "deliveryInstruction":"",
                              "addressFields":null,
                              "instructionHeader":"Note from business",
                              "additionalInstructions":null,
                              "sections":[
                                 {
                                    "header":"Note from business",
                                    "instructions":[
                                       "Pick up in store"
                                    ]
                                 }
                              ]
                           },
                           "type":"deliveryInstructionsTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"c04ab241-39fd-3b76-96f0-bce7cd26efe9",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "storefrontTaskData":{
                              "images":null
                           },
                           "type":"storefrontTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"d3279ebe-21bb-3e0a-918f-6457138da38f",
                  "driverTaskDataUnion":{
                     "coalescedTaskData":{
                        "coalescedDataUnion":{
                           "deliveryRatingCoalescedTaskData":{
                              "feedbacks":[
                                 {
                                    "id":"rush_long_wait_merchant",
                                    "description":"Long wait"
                                 },
                                 {
                                    "id":"rush_no_parking_merchant",
                                    "description":"No parking"
                                 },
                                 {
                                    "id":"rush_hard_to_find_merchant",
                                    "description":"Hard to find"
                                 },
                                 {
                                    "id":"rush_unprofessional_staff",
                                    "description":"Unprofessional staff"
                                 },
                                 {
                                    "id":"rush_poor_packaging",
                                    "description":"Poor packaging"
                                 },
                                 {
                                    "id":"rush_business_note_unclear",
                                    "description":"Business note unclear"
                                 }
                              ]
                           },
                           "type":"deliveryRatingCoalescedTaskData"
                        },
                        "source":"DEMAND_JOB",
                        "taskDataMap":{
                           "d16f4d41-1ea5-4e6f-aeb4-8fea2c015146":{
                              "deliveryRatingTaskData":{
                                 "waypointUUID":"979f9f04-2ee6-4c7b-91ef-9fdbee9a9104",
                                 "ratingEntity":{
                                    "subjectUUID":"83369c03-15fc-4480-b509-d0c31c106060",
                                    "ratingEntityType":"MERCHANT"
                                 }
                              },
                              "type":"deliveryRatingTaskData"
                           }
                        },
                        "taskDataType":"deliveryRatingTaskData"
                     },
                     "type":"coalescedTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"ad263021-5b28-3317-8455-71720b9e7284",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "orderDetailsTaskData":{
                              "items":[
                                 {
                                    "quantity":1,
                                    "description":"Beer",
                                    "options":null
                                 }
                              ],
                              "sender":{
                                 "businessName":"RI in SF",
                                 "contactName":"Pablo S."
                              },
                              "recipient":{
                                 "businessName":"",
                                 "contactName":"Pablo S."
                              },
                              "orderId":"2C270",
                              "orderIdSuffix":"",
                              "orderAppVariant":"UBEREATS",
                              "orderSecondarySuffix":"1 item"
                           },
                           "type":"orderDetailsTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"cd7a4fea-3645-3bdc-8c1d-313cee4d0695",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "contactTaskData":{
                              "contacts":[
                                 {
                                    "type":"SENDER",
                                    "voice":"+12583534689",
                                    "sms":"+12583534689",
                                    "title":"RI in SF",
                                    "isVoiceAnonymized":false,
                                    "isSmsAnonymized":false
                                 },
                                 {
                                    "type":"RECIPIENT",
                                    "voice":"+1628-333-7635",
                                    "sms":"+1628-333-7635",
                                    "title":"Pablo S.",
                                    "intercomTaskData":{
                                       "referenceId":"7c19170a-1cf9-4c58-b34d-2e6130e2c270",
                                       "memberUuids":[
                                          "20afc08c-7502-4a6b-b6f2-b81b2b790040",
                                          "07c93f89-b505-4ff6-a568-0e4f55560644"
                                       ],
                                       "threadType":"EATS_TRIP",
                                       "hasVoice":false,
                                       "hasPhoto":false
                                    },
                                    "isVoiceAnonymized":true,
                                    "isSmsAnonymized":true,
                                    "intercomPreferences":{
                                       "chatPreference":{
                                          "showChat":true
                                       },
                                       "callPreference":{
                                          "showCall":true
                                       }
                                    }
                                 }
                              ]
                           },
                           "type":"contactTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"b23ed4b8-fe6a-31d6-82db-003919824662",
                  "driverTaskDataUnion":{
                     "coalescedTaskData":{
                        "coalescedDataUnion":{
                           "isEmergencyLocationSharingAvailableCoalescedTaskData":{
                              "isEmergencyLocationSharingAvailable":true,
                              "isEmergencyContactTypeTextAvailable":false
                           },
                           "type":"isEmergencyLocationSharingAvailableCoalescedTaskData"
                        },
                        "source":"DEMAND_JOB",
                        "taskDataType":"isEmergencyLocationSharingAvailableTaskData"
                     },
                     "type":"coalescedTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"6d35fa74-754d-3016-8981-d0782c3e7e84",
                  "driverTaskDataUnion":{
                     "coalescedTaskData":{
                        "coalescedDataUnion":{
                           "autoForegroundCoalescedTaskData":{
                              "etaThresholdSec":15
                           },
                           "type":"autoForegroundCoalescedTaskData"
                        },
                        "source":"DEMAND_JOB",
                        "taskDataType":"autoForegroundTaskData"
                     },
                     "type":"coalescedTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"a15dd598-f53e-3a89-b9b1-352eab81fc87",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "cancelTaskData":{
                              "feedbacks":[
                                 {
                                    "id":"215",
                                    "description":"Can't find restaurant",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 },
                                 {
                                    "id":"219",
                                    "description":"Excessive wait time",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 },
                                 {
                                    "id":"1489017996",
                                    "description":"Order canceled",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 },
                                 {
                                    "id":"1488832040",
                                    "description":"Restaurant closed",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 },
                                 {
                                    "id":"1489017919",
                                    "description":"Someone else picked up order",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 },
                                 {
                                    "id":"217",
                                    "description":"Oversized item",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 },
                                 {
                                    "id":"221",
                                    "description":"Issue not listed",
                                    "followup":{
                                       "returnTrip":false,
                                       "title":"Cancel this delivery?"
                                    }
                                 }
                              ],
                              "waypointUUID":"979f9f04-2ee6-4c7b-91ef-9fdbee9a9104",
                              "globalProductType":"UBER_RUSH",
                              "entityName":"Pablo S.",
                              "feedbackSections":null,
                              "layoutUUID":"0739ddfc-a20d-37ef-af45-5f9d9ecbd2fd"
                           },
                           "type":"cancelTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"e7961b70-f373-38ef-abaf-17f5d1838858",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "helpChatTaskData":{
                              "contextId":"59c66681-d45d-43e3-aa3c-d61c4e531b0d",
                              "articleNodeId":"8949555a-8403-43b2-a14c-714b7efee988",
                              "jobUUID":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146",
                              "title":"Contact support"
                           },
                           "type":"helpChatTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"421527f3-2119-31c1-abde-41812616f7da",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "locationTaskData":{
                              "latitude":37.775448,
                              "longitude":-122.420364,
                              "title":"RI in SF",
                              "subtitle":"1455 Market Street San Francisco, CA, USA",
                              "eorLatitude":37.775448,
                              "eorLongitude":-122.420364,
                              "provider":"rooftop",
                              "relatedGeolocations":null
                           },
                           "type":"locationTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"030de521-53da-3049-9733-1619b43f639c",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "tripIssuesTaskData":{
                              "issues":[
                                 {
                                    "id":"prepickup_accepted_by_accident",
                                    "contentId":"content_accepted_by_accident",
                                    "actionId":"confirmation_accepted_by_accident_prepickup"
                                 },
                                 {
                                    "id":"prepickup_route_problem",
                                    "contentId":"content_route_problem",
                                    "actionId":"confirmation_route_problem_prepickup"
                                 },
                                 {
                                    "id":"prepickup_took_wrong_turn",
                                    "contentId":"content_took_wrong_turn",
                                    "actionId":"confirmation_took_wrong_turn_prepickup"
                                 },
                                 {
                                    "id":"prepickup_pickup_not_worth_it",
                                    "contentId":"content_pickup_not_worth_it",
                                    "actionId":"confirmation_pickup_not_worth_it_prepickup"
                                 },
                                 {
                                    "id":"prepickup_not_safe_to_pick_up",
                                    "contentId":"content_prepickup_not_safe_to_pick_up",
                                    "actionId":"confirmation_not_safe_to_pick_up_prepickup"
                                 },
                                 {
                                    "id":"prepickup_vehicle_issue",
                                    "contentId":"content_prepickup_vehicle_issue",
                                    "actionId":"confirmation_vehicle_issue_prepickup"
                                 },
                                 {
                                    "id":"prepickup_more_issues",
                                    "contentId":"content_more_issues",
                                    "actionId":"prepickup_issue_list_prepickup"
                                 }
                              ],
                              "dynamicContent":{
                                 "no_mask_medium_risk":{
                                    "text":{
                                       "text":{
                                          "text":"Excessive improper use of the \"No face cover or mask\" cancellation option could indicate misuse of our platform and may lead to an investigation of your account.",
                                          "type":"text"
                                       },
                                       "font":{
                                          "style":"PARAGRAPH_LARGE",
                                          "weight":"NORMAL"
                                       },
                                       "color":"CONTENT_NEGATIVE"
                                    },
                                    "type":"text"
                                 },
                                 "not_safe_to_pick_up_at_fault":{
                                    "text":{
                                       "text":{
                                          "text":"Misuse of safety cancellations could count against your Uber Pro status.",
                                          "type":"text"
                                       },
                                       "font":{
                                          "style":"PARAGRAPH_LARGE",
                                          "weight":"NORMAL"
                                       },
                                       "color":"CONTENT_NEGATIVE"
                                    },
                                    "type":"text"
                                 },
                                 "not_safe_to_pick_up_high_risk":{
                                    "text":{
                                       "text":{
                                          "text":"Excessively and improperly using the safety cancellation feature indicates misuse of the Uber platform and could lead to loss of access to your account.",
                                          "type":"text"
                                       },
                                       "font":{
                                          "style":"PARAGRAPH_LARGE",
                                          "weight":"NORMAL"
                                       },
                                       "color":"CONTENT_NEGATIVE"
                                    },
                                    "type":"text"
                                 },
                                 "not_safe_to_pick_up_medium_risk":{
                                    "text":{
                                       "text":{
                                          "text":"Excessive improper use of the safety cancellation option could indicate misuse of our platform and may to an investigation of your account.",
                                          "type":"text"
                                       },
                                       "font":{
                                          "style":"PARAGRAPH_LARGE",
                                          "weight":"NORMAL"
                                       },
                                       "color":"CONTENT_NEGATIVE"
                                    },
                                    "type":"text"
                                 }
                              }
                           },
                           "type":"tripIssuesTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"18075111-8662-396c-b444-1f0198c7d21a",
                  "driverTaskDataUnion":{
                     "coalescedTaskData":{
                        "coalescedDataUnion":{
                           "navigateCoalescedTaskData":{
                              "location":{
                                 "latitude":37.775448,
                                 "longitude":-122.420364,
                                 "title":"RI in SF",
                                 "subtitle":"1455 Market Street San Francisco, CA, USA",
                                 "eorLatitude":37.775448,
                                 "eorLongitude":-122.420364,
                                 "provider":"rooftop",
                                 "relatedGeolocations":null
                              },
                              "optimizeForPoolMatch":false,
                              "autoReroute":false,
                              "locationIsEditable":false,
                              "relativeEtaSec":305,
                              "locationIsVisible":true
                           },
                           "type":"navigateCoalescedTaskData"
                        },
                        "source":"DEMAND_JOB",
                        "taskDataType":"navigateTaskData"
                     },
                     "type":"coalescedTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"2d539d67-6d0a-3a76-bfec-7acbccfebf17",
                  "driverTaskDataUnion":{
                     "coalescedTaskData":{
                        "coalescedDataUnion":{
                           "beaconCoalescedTaskData":{
                              "beaconInstructions":[
                                 {
                                    "uframeHexColorValue":"#ffffff"
                                 }
                              ],
                              "beaconState":"PICKUP",
                              "beaconStateString":"pickupd16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"beaconCoalescedTaskData"
                        },
                        "source":"DEMAND_JOB",
                        "taskDataType":"getBeaconDataTaskData"
                     },
                     "type":"coalescedTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"a6c151ff-17f3-36f0-902d-5a741c6b7506",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "driverFavoriteTaskData":{
                              "favoriteSourceUUID":"07c93f89-b505-4ff6-a568-0e4f55560644",
                              "favoriteEntityUUID":"83369c03-15fc-4480-b509-d0c31c106060",
                              "favoriteType":"COURIER_FAVORITE_RESTAURANT",
                              "isFavorite":false,
                              "title":"Like this restaurant?",
                              "descriptionUnselect":"Star it for later",
                              "descriptionSelect":"Added to starred places"
                           },
                           "type":"driverFavoriteTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"1829b1c7-6464-3cc4-8922-d1a704a8eb5d",
                  "driverTaskDataUnion":{
                     "singleTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "taskDataUnion":{
                           "deliveryRemindersTaskData":{
                              "orderReminders":[
                                 {
                                    "callout":null,
                                    "description":null,
                                    "styledCallout":[
                                       {
                                          "text":"Expected by 2:53 PM",
                                          "color":"CONTENT_PRIMARY"
                                       }
                                    ],
                                    "styledDescription":null
                                 }
                              ],
                              "tripReminders":null
                           },
                           "type":"deliveryRemindersTaskData"
                        }
                     },
                     "type":"singleTaskData"
                  }
               },
               {
                  "isCompleted":false,
                  "taskId":"9f611f9d-5f58-39a9-a83c-48209b9086e3",
                  "driverTaskDataUnion":{
                     "flowTaskData":{
                        "taskSourceKeyOption":{
                           "taskSourceKey":{
                              "taskSource":"DEMAND_JOB",
                              "taskSourceUuid":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146"
                           },
                           "type":"taskSourceKey"
                        },
                        "type":"IMAGE_CAPTURE",
                        "taskData":{
                           "taskPresentationData":{
                              "displayMode":{
                                 "mode":"NATIVE"
                              },
                              "agendaPresentation":{
                                 "icon":{
                                    "icon":"CAMERA",
                                    "color":"CONTENT_PRIMARY"
                                 },
                                 "title":"Take a photo",
                                 "actionTitle":"Take photo"
                              },
                              "taskView":{
                                 "imageCaptureTaskView":{
                                    "imageCaptureMainView":{
                                       "imageCaptureInputView":{
                                          "addImageTitle":"Add photo",
                                          "addImageIcon":{
                                             "icon":"CAMERA",
                                             "color":"CONTENT_PRIMARY"
                                          },
                                          "viewImageTitle":"View photo",
                                          "viewImageIcon":{
                                             "icon":"PHOTO_LANDSCAPE",
                                             "color":"CONTENT_PRIMARY"
                                          },
                                          "retakeImageTitle":"Retake",
                                          "retakeImageIcon":{
                                             "icon":"ARROW_COUNTER_CLOCKWISE",
                                             "color":"CONTENT_PRIMARY"
                                          },
                                          "allowEmpty":true
                                       },
                                       "imageCaptureStateViews":{
                                          "imageUploadError":{
                                             "title":"Connection error.",
                                             "description":"driver_tasks.image_capture.shopper_pick_pack_add_item_widget_image_capture.states.upload.error.description",
                                             "textColor":"CONTENT_WARNING"
                                          },
                                          "imageVerifySuccess":{
                                             "title":"Photo added",
                                             "textColor":"CONTENT_POSITIVE"
                                          },
                                          "imageVerifyError":{
                                             "title":"Photo review",
                                             "description":"driver_tasks.image_capture.shopper_pick_pack_add_item_widget_image_capture.states.verify.error.description",
                                             "textColor":"CONTENT_PRIMARY"
                                          }
                                       }
                                    },
                                    "imageCaptureCameraView":{
                                       "captureImageTitle":"Take photo",
                                       "captureImageDescription":"Take a photo of the item you selected in the store. Please make sure it’s in front and clear.",
                                       "viewImageTitle":"View photo",
                                       "reviewImageTitle":"Review photo",
                                       "reviewImageDescription":"Take a photo of the item you selected in the store. Please make sure it’s in front and clear.",
                                       "cameraFlashState":"TORCH",
                                       "cameraSkipState":"NONE",
                                       "skipNudgeModalView":{
                                          "title":"",
                                          "description":"",
                                          "buttons":[
                                             {
                                                "text":"",
                                                "action":"OK",
                                                "style":"SECONDARY"
                                             },
                                             {
                                                "text":"",
                                                "action":"DISMISS",
                                                "style":"PRIMARY"
                                             }
                                          ]
                                       }
                                    },
                                    "imageCaptureUploadingView":{
                                       "taskBarView":{
                                          "actions":null
                                       },
                                       "taskHeaderView":{
                                          "title":"Submitting photo",
                                          "subtitle":"This shouldn't take long",
                                          "styledTitle":{
                                             "text":"Submitting photo",
                                             "font":{
                                                "style":"DISPLAY_X_SMALL",
                                                "weight":"NORMAL"
                                             },
                                             "color":"CONTENT_PRIMARY"
                                          },
                                          "styledSubtitle":{
                                             "text":"This shouldn't take long",
                                             "font":{
                                                "style":"PARAGRAPH_LARGE",
                                                "weight":"NORMAL"
                                             },
                                             "color":"CONTENT_SECONDARY"
                                          },
                                          "additionalInfoViewList":null
                                       },
                                       "image":{
                                          "urlImage":{
                                             "dayImageUrl":"https://d3ktknrqa34sgg.cloudfront.net/uploads/images/o9Wu7SOzeCFQL89my8UvSgtrOT1+VazLi74GsPWey7s=/2020-09-01/take_photo_scooter-c64a1fd0-ec8a-11ea-a7d6-afec42ac2301.png"
                                          },
                                          "type":"urlImage"
                                       },
                                       "contentView":{
                                          "image":{
                                             "urlImage":{
                                                "dayImageUrl":"https://d3ktknrqa34sgg.cloudfront.net/uploads/images/o9Wu7SOzeCFQL89my8UvSgtrOT1+VazLi74GsPWey7s=/2020-09-01/take_photo_scooter-c64a1fd0-ec8a-11ea-a7d6-afec42ac2301.png"
                                             },
                                             "type":"urlImage"
                                          },
                                          "labelList":null,
                                          "type":"image"
                                       }
                                    },
                                    "imageCapturePermissionsView":{
                                       "taskBarView":{
                                          "actions":null
                                       },
                                       "taskHeaderView":{
                                          "title":"Allow the app to access camera",
                                          "subtitle":"",
                                          "styledTitle":{
                                             "text":"Allow the app to access camera",
                                             "font":{
                                                "style":"DISPLAY_X_SMALL",
                                                "weight":"NORMAL"
                                             },
                                             "color":"CONTENT_PRIMARY"
                                          },
                                          "styledDescription":{
                                             "text":"Go to your device settings, find the Uber Driver app, and turn on camera access in order to continue.",
                                             "font":{
                                                "style":"PARAGRAPH_LARGE",
                                                "weight":"NORMAL"
                                             },
                                             "color":"CONTENT_PRIMARY"
                                          },
                                          "additionalInfoViewList":null
                                       },
                                       "image":{
                                          "urlImage":{
                                             "dayImageUrl":"https://d3ktknrqa34sgg.cloudfront.net/uploads/images/o9Wu7SOzeCFQL89my8UvSgtrOT1+VazLi74GsPWey7s=/2020-09-01/take_photo_scooter-c64a1fd0-ec8a-11ea-a7d6-afec42ac2301.png"
                                          },
                                          "type":"urlImage"
                                       },
                                       "contentView":{
                                          "image":{
                                             "urlImage":{
                                                "dayImageUrl":"https://d3ktknrqa34sgg.cloudfront.net/uploads/images/o9Wu7SOzeCFQL89my8UvSgtrOT1+VazLi74GsPWey7s=/2020-09-01/take_photo_scooter-c64a1fd0-ec8a-11ea-a7d6-afec42ac2301.png"
                                             },
                                             "type":"urlImage"
                                          },
                                          "labelList":null,
                                          "type":"image"
                                       }
                                    },
                                    "networkErrorView":{
                                       "title":"Something went wrong.",
                                       "description":"Check your network and try again.",
                                       "buttons":[
                                          {
                                             "text":"Ok",
                                             "action":"OK",
                                             "style":"PRIMARY"
                                          }
                                       ]
                                    },
                                    "imageCaptureWidgetViewModel":{
                                       "imageCaptureButtonViewModel":{
                                          "buttonViewModel":{
                                             "style":{
                                                "customStyle":{
                                                   "titleColor":{
                                                      "textColor":"CONTENT_PRIMARY",
                                                      "type":"textColor"
                                                   },
                                                   "backgroundColor":{
                                                      "backgroundColor":"BACKGROUND_PRIMARY",
                                                      "type":"backgroundColor"
                                                   },
                                                   "disabledTitleColor":{
                                                      "textColor":"CONTENT_STATE_DISABLED",
                                                      "type":"textColor"
                                                   },
                                                   "disabledBackgroundColor":{
                                                      "backgroundColor":"BACKGROUND_OVERLAY_DARK",
                                                      "type":"backgroundColor"
                                                   },
                                                   "selectedContentColor":{
                                                      "textColor":"CONTENT_INVERSE_PRIMARY",
                                                      "type":"textColor"
                                                   }
                                                },
                                                "type":"customStyle"
                                             },
                                             "buttonSize":"SMALL",
                                             "content":{
                                                "textContent":{
                                                   "shape":"PILL",
                                                   "leadingContent":{
                                                      "icon":{
                                                         "icon":"CAMERA"
                                                      },
                                                      "type":"icon"
                                                   },
                                                   "textContent":{
                                                      "richTextElements":[
                                                         {
                                                            "text":{
                                                               "text":{
                                                                  "text":"Take a photo",
                                                                  "font":{
                                                                     "style":"LABEL_SMALL",
                                                                     "weight":"NORMAL"
                                                                  }
                                                               },
                                                               "predefinedDecorations":null
                                                            },
                                                            "type":"text"
                                                         }
                                                      ]
                                                   }
                                                },
                                                "type":"textContent"
                                             }
                                          }
                                       },
                                       "uploadInProgressText":{
                                          "richTextElements":[
                                             {
                                                "text":{
                                                   "text":{
                                                      "text":"Uploading",
                                                      "font":{
                                                         "style":"PARAGRAPH_SMALL",
                                                         "weight":"NORMAL"
                                                      }
                                                   },
                                                   "predefinedDecorations":null
                                                },
                                                "type":"text"
                                             }
                                          ]
                                       },
                                       "uploadFailureText":{
                                          "richTextElements":[
                                             {
                                                "icon":{
                                                   "icon":{
                                                      "icon":"CIRCLE_EXCLAMATION_POINT",
                                                      "color":"CONTENT_NEGATIVE"
                                                   }
                                                },
                                                "type":"icon"
                                             },
                                             {
                                                "text":{
                                                   "text":{
                                                      "text":" Upload Failed",
                                                      "font":{
                                                         "style":"PARAGRAPH_SMALL",
                                                         "weight":"NORMAL"
                                                      },
                                                      "color":"CONTENT_NEGATIVE"
                                                   },
                                                   "predefinedDecorations":null
                                                },
                                                "type":"text"
                                             }
                                          ]
                                       },
                                       "uploadSuccessText":{
                                          "richTextElements":[
                                             {
                                                "icon":{
                                                   "icon":{
                                                      "icon":"CIRCLE_CHECK",
                                                      "color":"CONTENT_POSITIVE"
                                                   }
                                                },
                                                "type":"icon"
                                             },
                                             {
                                                "text":{
                                                   "text":{
                                                      "text":" Uploaded",
                                                      "font":{
                                                         "style":"PARAGRAPH_SMALL",
                                                         "weight":"NORMAL"
                                                      },
                                                      "color":"CONTENT_POSITIVE"
                                                   },
                                                   "predefinedDecorations":null
                                                },
                                                "type":"text"
                                             }
                                          ]
                                       },
                                       "spacerViewModelMap":{
                                          "NEGATIVE":{
                                             "border":{
                                                "borderWidth":{
                                                   "pointValue":2,
                                                   "type":"pointValue"
                                                },
                                                "borderColor":{
                                                   "borderColor":"NEGATIVE",
                                                   "type":"borderColor"
                                                }
                                             },
                                             "roundedCorners":{
                                                "cornerRadius":{
                                                   "fixed":{
                                                      "spacingValue":"SPACING_UNIT_1X",
                                                      "type":"spacingValue"
                                                   },
                                                   "type":"fixed"
                                                },
                                                "topLeading":true,
                                                "topTrailing":true,
                                                "bottomLeading":true,
                                                "bottomTrailing":true
                                             },
                                             "dimensions":{
                                                "width":{
                                                   "spacingValue":"SPACING_UNIT_8X",
                                                   "type":"spacingValue"
                                                },
                                                "height":{
                                                   "spacingValue":"SPACING_UNIT_8X",
                                                   "type":"spacingValue"
                                                }
                                             },
                                             "backgroundColor":"BACKGROUND_LIGHT_NEGATIVE"
                                          },
                                          "PRIMARY":{
                                             "border":{
                                                "borderWidth":{
                                                   "pointValue":2,
                                                   "type":"pointValue"
                                                },
                                                "borderColor":{
                                                   "borderColor":"TRANSPARENT",
                                                   "type":"borderColor"
                                                }
                                             },
                                             "roundedCorners":{
                                                "cornerRadius":{
                                                   "fixed":{
                                                      "spacingValue":"SPACING_UNIT_1X",
                                                      "type":"spacingValue"
                                                   },
                                                   "type":"fixed"
                                                },
                                                "topLeading":true,
                                                "topTrailing":true,
                                                "bottomLeading":true,
                                                "bottomTrailing":true
                                             },
                                             "dimensions":{
                                                "width":{
                                                   "spacingValue":"SPACING_UNIT_8X",
                                                   "type":"spacingValue"
                                                },
                                                "height":{
                                                   "spacingValue":"SPACING_UNIT_8X",
                                                   "type":"spacingValue"
                                                }
                                             },
                                             "backgroundColor":"BACKGROUND_TERTIARY"
                                          }
                                       },
                                       "progressBarViewModel":{
                                          "progress":0,
                                          "size":{
                                             "fixed":"MEDIUM",
                                             "type":"fixed"
                                          }
                                       },
                                       "retryUploadButtonViewModel":{
                                          "buttonViewModel":{
                                             "style":{
                                                "definedStyle":"SECONDARY",
                                                "type":"definedStyle"
                                             },
                                             "buttonSize":"SMALL",
                                             "content":{
                                                "iconContent":{
                                                   "shape":"CIRCLE",
                                                   "iconIllustration":{
                                                      "illustration":{
                                                         "icon":{
                                                            "icon":"ARROW_CIRCULAR",
                                                            "color":"CONTENT_PRIMARY"
                                                         },
                                                         "type":"icon"
                                                      }
                                                   }
                                                },
                                                "type":"iconContent"
                                             }
                                          }
                                       },
                                       "removeImageButtonViewModel":{
                                          "buttonViewModel":{
                                             "style":{
                                                "definedStyle":"SECONDARY",
                                                "type":"definedStyle"
                                             },
                                             "buttonSize":"SMALL",
                                             "content":{
                                                "iconContent":{
                                                   "shape":"CIRCLE",
                                                   "iconIllustration":{
                                                      "illustration":{
                                                         "icon":{
                                                            "icon":"TRASH_CAN",
                                                            "color":"CONTENT_PRIMARY"
                                                         },
                                                         "type":"icon"
                                                      }
                                                   }
                                                },
                                                "type":"iconContent"
                                             }
                                          }
                                       },
                                       "containerViewModelMap":{
                                          "ACTIVE":{
                                             "border":{
                                                "borderWidth":{
                                                   "pointValue":2,
                                                   "type":"pointValue"
                                                },
                                                "borderColor":{
                                                   "borderColor":"BORDER_OPAQUE",
                                                   "type":"borderColor"
                                                }
                                             },
                                             "roundedCorners":{
                                                "cornerRadius":{
                                                   "fixed":{
                                                      "spacingValue":"SPACING_UNIT_1_5X",
                                                      "type":"spacingValue"
                                                   },
                                                   "type":"fixed"
                                                },
                                                "topLeading":true,
                                                "topTrailing":true,
                                                "bottomLeading":true,
                                                "bottomTrailing":true
                                             },
                                             "backgroundColor":"BACKGROUND_PRIMARY"
                                          },
                                          "PRIMARY":{
                                             "roundedCorners":{
                                                "cornerRadius":{
                                                   "fixed":{
                                                      "spacingValue":"SPACING_UNIT_1_5X",
                                                      "type":"spacingValue"
                                                   },
                                                   "type":"fixed"
                                                },
                                                "topLeading":true,
                                                "topTrailing":true,
                                                "bottomLeading":true,
                                                "bottomTrailing":true
                                             },
                                             "backgroundColor":"BACKGROUND_TERTIARY"
                                          }
                                       },
                                       "title":{
                                          "richTextElements":[
                                             {
                                                "text":{
                                                   "text":{
                                                      "text":"Add a photo (Optional)",
                                                      "font":{
                                                         "style":"LABEL_LARGE",
                                                         "weight":"MEDIUM"
                                                      },
                                                      "color":"CONTENT_PRIMARY"
                                                   },
                                                   "predefinedDecorations":null
                                                },
                                                "type":"text"
                                             }
                                          ]
                                       }
                                    },
                                    "uploadStatusBanners":{
                                       
                                    }
                                 },
                                 "type":"imageCaptureTaskView"
                              }
                           },
                           "serverData":{
                              "jobUUID":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146",
                              "courierUUID":"07c93f89-b505-4ff6-a568-0e4f55560644",
                              "workflowUUID":"7c19170a-1cf9-4c58-b34d-2e6130e2c270",
                              "eaterUUID":"20afc08c-7502-4a6b-b6f2-b81b2b790040",
                              "cartUUID":"c424552d-6a2e-43a7-9470-549a4b7d45a2",
                              "taskId":"9f611f9d-5f58-39a9-a83c-48209b9086e3",
                              "useCase":"shopper_pick_pack_add_item_widget_image_capture",
                              "waypointUUID":"979f9f04-2ee6-4c7b-91ef-9fdbee9a9104",
                              "jobWaypointScope":"pickup",
                              "merchantUUID":"83369c03-15fc-4480-b509-d0c31c106060",
                              "marketplace":"rush"
                           },
                           "clientData":{
                              "imageCaptureClientData":{
                                 "fileUploadData":{
                                    "fileUploadEndpoint":"courier.custom-item-collect.terrablob",
                                    "fileUploadMaxSizeKB":250,
                                    "fileFormat":"JPEG",
                                    "uploadContext":{
                                       "tripUUID":"d16f4d41-1ea5-4e6f-aeb4-8fea2c015146",
                                       "useCase":"shopper_pick_pack_add_item_widget_image_capture",
                                       "workflowUUID":"7c19170a-1cf9-4c58-b34d-2e6130e2c270"
                                    },
                                    "serverSideEncryption":false,
     

Views: 7

Add a Comment: