@ukhomeoffice/cop-react-form-renderer 6.5.1-peter → 6.7.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CheckYourAnswers/Answer.js +12 -12
- package/dist/components/CheckYourAnswers/Answer.test.js +92 -127
- package/dist/components/CheckYourAnswers/CheckYourAnswers.js +101 -131
- package/dist/components/CheckYourAnswers/CheckYourAnswers.test.js +463 -769
- package/dist/components/CollectionPage/CollectionPage.js +73 -63
- package/dist/components/CollectionPage/CollectionPage.test.js +316 -366
- package/dist/components/CollectionSummary/BannerStrip.js +13 -13
- package/dist/components/CollectionSummary/BannerStrip.test.js +80 -76
- package/dist/components/CollectionSummary/CollectionSummary.js +97 -107
- package/dist/components/CollectionSummary/CollectionSummary.test.js +152 -142
- package/dist/components/CollectionSummary/Confirmation.js +14 -12
- package/dist/components/CollectionSummary/Confirmation.test.js +68 -63
- package/dist/components/CollectionSummary/RenderListView.js +45 -51
- package/dist/components/CollectionSummary/RenderListView.test.js +78 -77
- package/dist/components/CollectionSummary/SummaryCard.js +104 -135
- package/dist/components/CollectionSummary/SummaryCard.test.js +930 -962
- package/dist/components/CollectionSummary/SummaryCardDetails.js +72 -71
- package/dist/components/CollectionSummary/SummaryCardDetails.test.js +128 -135
- package/dist/components/CollectionSummary/SummaryCardValidationContext.js +30 -35
- package/dist/components/CollectionSummary/SummaryCardValidationContext.test.js +62 -74
- package/dist/components/FormComponent/Collection.js +74 -108
- package/dist/components/FormComponent/Collection.test.js +909 -1081
- package/dist/components/FormComponent/Container.js +40 -38
- package/dist/components/FormComponent/Container.test.js +314 -345
- package/dist/components/FormComponent/FormComponent.js +69 -72
- package/dist/components/FormComponent/FormComponent.test.js +353 -414
- package/dist/components/FormComponent/helpers/addLabel.js +4 -7
- package/dist/components/FormComponent/helpers/getComponentDisabled.js +1 -1
- package/dist/components/FormComponent/helpers/getComponentDisabled.test.js +7 -7
- package/dist/components/FormComponent/helpers/getComponentError.js +3 -5
- package/dist/components/FormComponent/helpers/getComponentError.test.js +14 -14
- package/dist/components/FormComponent/helpers/getComponentFieldSet.js +3 -4
- package/dist/components/FormComponent/helpers/getComponentFieldSet.test.js +6 -6
- package/dist/components/FormComponent/helpers/index.js +4 -4
- package/dist/components/FormPage/FormPage.js +65 -80
- package/dist/components/FormPage/FormPage.test.js +127 -163
- package/dist/components/FormRenderer/FormRenderer.js +143 -179
- package/dist/components/FormRenderer/FormRenderer.test.js +730 -1115
- package/dist/components/FormRenderer/handlers/cyaAction.js +2 -2
- package/dist/components/FormRenderer/handlers/getPageId.js +1 -3
- package/dist/components/FormRenderer/handlers/getPageId.test.js +14 -14
- package/dist/components/FormRenderer/handlers/handlers.test.js +32 -32
- package/dist/components/FormRenderer/handlers/index.js +1 -1
- package/dist/components/FormRenderer/handlers/navigate.js +3 -3
- package/dist/components/FormRenderer/handlers/submissionError.js +1 -1
- package/dist/components/FormRenderer/helpers/canActionProceed.js +1 -1
- package/dist/components/FormRenderer/helpers/canActionProceed.test.js +15 -15
- package/dist/components/FormRenderer/helpers/canCYASubmit.js +1 -3
- package/dist/components/FormRenderer/helpers/canCYASubmit.test.js +16 -20
- package/dist/components/FormRenderer/helpers/cleanHiddenNestedData.js +17 -22
- package/dist/components/FormRenderer/helpers/cleanHiddenNestedData.test.js +16 -16
- package/dist/components/FormRenderer/helpers/getCYA.js +3 -5
- package/dist/components/FormRenderer/helpers/getCYA.test.js +11 -11
- package/dist/components/FormRenderer/helpers/getFormState.js +5 -7
- package/dist/components/FormRenderer/helpers/getFormState.test.js +10 -10
- package/dist/components/FormRenderer/helpers/getNextPageId.js +13 -24
- package/dist/components/FormRenderer/helpers/getNextPageId.test.js +67 -67
- package/dist/components/FormRenderer/helpers/getPage.js +2 -4
- package/dist/components/FormRenderer/helpers/getPage.test.js +11 -11
- package/dist/components/FormRenderer/helpers/getRelevantPages.js +7 -9
- package/dist/components/FormRenderer/helpers/getRelevantPages.test.js +14 -14
- package/dist/components/FormRenderer/helpers/getSubmissionStatus.js +5 -5
- package/dist/components/FormRenderer/helpers/getSubmissionStatus.test.js +103 -97
- package/dist/components/FormRenderer/helpers/getUpdatedSectionStates.js +62 -60
- package/dist/components/FormRenderer/helpers/getUpdatedSectionStates.test.js +71 -78
- package/dist/components/FormRenderer/helpers/index.js +2 -4
- package/dist/components/FormRenderer/onCYAAction.js +59 -51
- package/dist/components/FormRenderer/onCYAAction.test.js +164 -152
- package/dist/components/FormRenderer/onPageAction.js +44 -47
- package/dist/components/FormRenderer/onPageAction.test.js +223 -213
- package/dist/components/FormRenderer/onTaskAction.js +9 -13
- package/dist/components/FormRenderer/onTaskAction.test.js +93 -88
- package/dist/components/PageActions/ActionButton.js +12 -15
- package/dist/components/PageActions/ActionButton.test.js +56 -78
- package/dist/components/PageActions/PageActions.js +10 -10
- package/dist/components/PageActions/PageActions.test.js +86 -115
- package/dist/components/SummaryList/GroupAction.js +9 -17
- package/dist/components/SummaryList/GroupAction.test.js +37 -33
- package/dist/components/SummaryList/RowAction.js +11 -16
- package/dist/components/SummaryList/RowAction.test.js +37 -33
- package/dist/components/SummaryList/SummaryList.js +21 -26
- package/dist/components/SummaryList/SummaryList.test.js +143 -166
- package/dist/components/SummaryList/SummaryListHeadingRow.js +6 -4
- package/dist/components/SummaryList/SummaryListRow.js +6 -4
- package/dist/components/SummaryList/SummaryListTitleRow.js +5 -3
- package/dist/components/SummaryList/helpers/getGroupActionAttributes.js +3 -5
- package/dist/components/SummaryList/helpers/getGroupActionAttributes.test.js +22 -22
- package/dist/components/SummaryList/helpers/getRowActionAttributes.js +3 -5
- package/dist/components/SummaryList/helpers/getRowActionAttributes.test.js +22 -22
- package/dist/components/SummaryList/helpers/index.js +1 -1
- package/dist/components/TaskList/Task.js +19 -29
- package/dist/components/TaskList/Task.test.js +83 -76
- package/dist/components/TaskList/TaskList.js +45 -71
- package/dist/components/TaskList/TaskList.test.js +113 -111
- package/dist/components/TaskList/TaskState.js +7 -5
- package/dist/components/TaskList/TaskState.test.js +52 -45
- package/dist/components/index.js +7 -7
- package/dist/context/HooksContext/HooksContext.js +57 -80
- package/dist/context/HooksContext/HooksContext.test.js +26 -35
- package/dist/context/HooksContext/index.js +3 -4
- package/dist/context/ValidationContext/ValidationContext.js +43 -94
- package/dist/context/ValidationContext/ValidationContext.test.js +56 -68
- package/dist/context/ValidationContext/index.js +3 -4
- package/dist/context/index.js +2 -2
- package/dist/hooks/index.js +9 -10
- package/dist/hooks/useAxios.js +14 -40
- package/dist/hooks/useGetRequest.js +61 -97
- package/dist/hooks/useHooks.js +1 -3
- package/dist/hooks/useRefData.js +26 -39
- package/dist/hooks/useValidation.js +1 -3
- package/dist/index.js +13 -14
- package/dist/models/CollectionLabels.js +1 -1
- package/dist/models/ComponentTypes.js +25 -25
- package/dist/models/EventTypes.js +4 -4
- package/dist/models/FormPages.js +4 -4
- package/dist/models/FormTypes.js +8 -8
- package/dist/models/HubFormats.js +3 -3
- package/dist/models/PageAction.js +44 -38
- package/dist/models/TaskStates.js +29 -28
- package/dist/models/index.js +9 -9
- package/dist/setupTests.js +30 -31
- package/dist/utils/CheckYourAnswers/getCYAAction.js +5 -5
- package/dist/utils/CheckYourAnswers/getCYAAction.test.js +52 -54
- package/dist/utils/CheckYourAnswers/getCYACollectionChangeAction.js +15 -25
- package/dist/utils/CheckYourAnswers/getCYACollectionChangeAction.test.js +33 -35
- package/dist/utils/CheckYourAnswers/getCYACollectionDeleteAction.js +17 -31
- package/dist/utils/CheckYourAnswers/getCYACollectionDeleteAction.test.js +42 -44
- package/dist/utils/CheckYourAnswers/getCYARow.js +6 -6
- package/dist/utils/CheckYourAnswers/getCYARow.test.js +86 -86
- package/dist/utils/CheckYourAnswers/getCYARowForGroup.js +18 -24
- package/dist/utils/CheckYourAnswers/getCYARowForGroup.test.js +15 -16
- package/dist/utils/CheckYourAnswers/getCYARowsForCollection.js +33 -36
- package/dist/utils/CheckYourAnswers/getCYARowsForCollection.test.js +58 -61
- package/dist/utils/CheckYourAnswers/getCYARowsForCollectionPage.js +83 -89
- package/dist/utils/CheckYourAnswers/getCYARowsForCollectionPage.test.js +164 -138
- package/dist/utils/CheckYourAnswers/getCYARowsForContainer.js +25 -20
- package/dist/utils/CheckYourAnswers/getCYARowsForContainer.test.js +103 -97
- package/dist/utils/CheckYourAnswers/getCYARowsForPage.js +13 -18
- package/dist/utils/CheckYourAnswers/getCYARowsForPage.test.js +70 -76
- package/dist/utils/CheckYourAnswers/getComponentRowForCYA.js +11 -11
- package/dist/utils/CheckYourAnswers/getComponentRowForCYA.test.js +7 -7
- package/dist/utils/CheckYourAnswers/index.js +1 -1
- package/dist/utils/CheckYourAnswers/showComponentCYA.js +4 -4
- package/dist/utils/CheckYourAnswers/showComponentCYA.test.js +25 -25
- package/dist/utils/CollectionPage/addCollectionPageEntry.js +2 -2
- package/dist/utils/CollectionPage/addCollectionPageEntry.test.js +5 -5
- package/dist/utils/CollectionPage/duplicateCollectionPageActiveEntry.js +2 -2
- package/dist/utils/CollectionPage/duplicateCollectionPageActiveEntry.test.js +17 -18
- package/dist/utils/CollectionPage/duplicateCollectionPageEntry.js +18 -20
- package/dist/utils/CollectionPage/duplicateCollectionPageEntry.test.js +55 -26
- package/dist/utils/CollectionPage/getCollectionPageActiveId.js +2 -2
- package/dist/utils/CollectionPage/getCollectionPageActiveId.test.js +10 -10
- package/dist/utils/CollectionPage/getCollectionPageActiveIndex.js +7 -11
- package/dist/utils/CollectionPage/getCollectionPageActiveIndex.test.js +22 -22
- package/dist/utils/CollectionPage/getCollectionPageData.js +8 -12
- package/dist/utils/CollectionPage/getCollectionPageData.test.js +19 -19
- package/dist/utils/CollectionPage/getErrorsForCollection.js +24 -24
- package/dist/utils/CollectionPage/getErrorsForCollection.test.js +20 -22
- package/dist/utils/CollectionPage/getQuickEditPage.js +36 -28
- package/dist/utils/CollectionPage/getQuickEditPage.test.js +26 -45
- package/dist/utils/CollectionPage/index.js +1 -1
- package/dist/utils/CollectionPage/mergeCollectionPages.js +31 -35
- package/dist/utils/CollectionPage/mergeCollectionPages.test.js +20 -20
- package/dist/utils/CollectionPage/removeCollectionPageEntry.js +4 -6
- package/dist/utils/CollectionPage/removeCollectionPageEntry.test.js +10 -10
- package/dist/utils/CollectionPage/setCollectionPageData.js +10 -16
- package/dist/utils/CollectionPage/setCollectionPageData.test.js +24 -24
- package/dist/utils/Component/addShowWhen.js +4 -8
- package/dist/utils/Component/addShowWhen.test.js +37 -37
- package/dist/utils/Component/applyToComponentTree.js +18 -18
- package/dist/utils/Component/applyToComponentTree.test.js +27 -32
- package/dist/utils/Component/cleanAttributes.js +10 -13
- package/dist/utils/Component/cleanAttributes.test.js +17 -18
- package/dist/utils/Component/elevateNestedComponents.js +5 -5
- package/dist/utils/Component/elevateNestedComponents.test.js +30 -30
- package/dist/utils/Component/getComponent.js +88 -94
- package/dist/utils/Component/getComponentTests/getComponent.autocomplete.test.js +18 -17
- package/dist/utils/Component/getComponentTests/getComponent.calculation.test.js +46 -59
- package/dist/utils/Component/getComponentTests/getComponent.checkboxes.test.js +39 -48
- package/dist/utils/Component/getComponentTests/getComponent.date.test.js +23 -33
- package/dist/utils/Component/getComponentTests/getComponent.details.test.js +20 -18
- package/dist/utils/Component/getComponentTests/getComponent.email.test.js +17 -22
- package/dist/utils/Component/getComponentTests/getComponent.file.test.js +20 -25
- package/dist/utils/Component/getComponentTests/getComponent.heading.test.js +10 -9
- package/dist/utils/Component/getComponentTests/getComponent.html.test.js +17 -15
- package/dist/utils/Component/getComponentTests/getComponent.insetText.test.js +9 -8
- package/dist/utils/Component/getComponentTests/getComponent.list.test.js +17 -15
- package/dist/utils/Component/getComponentTests/getComponent.multifile.test.js +22 -26
- package/dist/utils/Component/getComponentTests/getComponent.nested.test.js +155 -175
- package/dist/utils/Component/getComponentTests/getComponent.paragraph.test.js +17 -15
- package/dist/utils/Component/getComponentTests/getComponent.phoneNumber.test.js +17 -22
- package/dist/utils/Component/getComponentTests/getComponent.radios.test.js +57 -72
- package/dist/utils/Component/getComponentTests/getComponent.select.test.js +17 -22
- package/dist/utils/Component/getComponentTests/getComponent.text.test.js +17 -22
- package/dist/utils/Component/getComponentTests/getComponent.textArea.test.js +31 -38
- package/dist/utils/Component/getComponentTests/getComponent.time.test.js +20 -29
- package/dist/utils/Component/getComponentTests/getComponent.unknown.test.js +2 -2
- package/dist/utils/Component/getComponentTests/getComponent.warningText.test.js +9 -8
- package/dist/utils/Component/getDefaultValue.js +6 -8
- package/dist/utils/Component/getDefaultValue.test.js +12 -12
- package/dist/utils/Component/getDefaultValueFromConfig.js +22 -21
- package/dist/utils/Component/getDefaultValueFromConfig.test.js +31 -31
- package/dist/utils/Component/index.js +1 -1
- package/dist/utils/Component/isEditable.js +2 -4
- package/dist/utils/Component/isEditable.test.js +14 -15
- package/dist/utils/Component/optionIsSelected.js +1 -1
- package/dist/utils/Component/optionIsSelected.test.js +9 -9
- package/dist/utils/Component/setupContainerComponentsPath.js +27 -29
- package/dist/utils/Component/setupContainerComponentsPath.test.js +11 -11
- package/dist/utils/Component/showComponent.js +1 -1
- package/dist/utils/Component/showComponent.test.js +28 -28
- package/dist/utils/Component/wrapInFormGroup.js +2 -2
- package/dist/utils/Condition/index.js +1 -1
- package/dist/utils/Condition/meetsAllConditions.js +8 -8
- package/dist/utils/Condition/meetsAllConditions.test.js +20 -20
- package/dist/utils/Condition/meetsCondition.js +16 -25
- package/dist/utils/Condition/meetsCondition.test.js +402 -402
- package/dist/utils/Condition/meetsOneCondition.js +5 -5
- package/dist/utils/Condition/meetsOneCondition.test.js +16 -16
- package/dist/utils/Condition/setupConditions.js +13 -18
- package/dist/utils/Condition/setupConditions.test.js +7 -7
- package/dist/utils/Container/getEditableComponents.js +3 -5
- package/dist/utils/Container/getEditableComponents.test.js +43 -45
- package/dist/utils/Container/index.js +1 -1
- package/dist/utils/Container/setupNesting.js +16 -20
- package/dist/utils/Container/setupNesting.test.js +27 -30
- package/dist/utils/Container/showContainer.js +3 -7
- package/dist/utils/Container/showContainer.test.js +30 -30
- package/dist/utils/Data/applyFormula.js +38 -48
- package/dist/utils/Data/applyFormula.test.js +20 -20
- package/dist/utils/Data/getAutocompleteSource.js +18 -26
- package/dist/utils/Data/getAutocompleteSource.test.js +80 -86
- package/dist/utils/Data/getDataPath.js +18 -28
- package/dist/utils/Data/getDataPath.test.js +12 -12
- package/dist/utils/Data/getOptions.js +24 -30
- package/dist/utils/Data/getOptions.test.js +27 -27
- package/dist/utils/Data/getSourceData.js +6 -19
- package/dist/utils/Data/getSourceData.test.js +84 -80
- package/dist/utils/Data/index.js +1 -1
- package/dist/utils/Data/nestInRefdataOptions.js +9 -16
- package/dist/utils/Data/nestInRefdataOptions.test.js +16 -16
- package/dist/utils/Data/refDataToOptions.js +10 -13
- package/dist/utils/Data/refDataToOptions.test.js +19 -19
- package/dist/utils/Data/setDataItem.js +7 -8
- package/dist/utils/Data/setDataItem.test.js +37 -37
- package/dist/utils/Data/setupFormData.js +13 -21
- package/dist/utils/Data/setupFormData.test.js +51 -50
- package/dist/utils/Data/setupRefDataUrlForComponent.js +20 -26
- package/dist/utils/Data/setupRefDataUrlForComponent.test.js +24 -24
- package/dist/utils/FormPage/applyConditionalProperties.js +5 -9
- package/dist/utils/FormPage/applyConditionalProperties.test.js +15 -18
- package/dist/utils/FormPage/getConditionalText.js +3 -3
- package/dist/utils/FormPage/getConditionalText.test.js +29 -29
- package/dist/utils/FormPage/getFormPage.js +15 -16
- package/dist/utils/FormPage/getFormPage.test.js +47 -46
- package/dist/utils/FormPage/getFormPages.js +7 -12
- package/dist/utils/FormPage/getFormPages.test.js +20 -23
- package/dist/utils/FormPage/getPageActions.js +9 -15
- package/dist/utils/FormPage/getPageActions.test.js +32 -32
- package/dist/utils/FormPage/getParagraphFromText.js +5 -7
- package/dist/utils/FormPage/getParagraphFromText.test.js +6 -6
- package/dist/utils/FormPage/index.js +2 -4
- package/dist/utils/FormPage/showFormPage.js +3 -7
- package/dist/utils/FormPage/showFormPage.test.js +32 -32
- package/dist/utils/FormPage/showFormPageCYA.js +1 -1
- package/dist/utils/FormPage/showFormPageCYA.test.js +8 -8
- package/dist/utils/FormPage/useComponent.js +21 -28
- package/dist/utils/FormPage/useComponent.test.js +77 -79
- package/dist/utils/Format/formatData.js +1 -1
- package/dist/utils/Format/formatData.test.js +18 -18
- package/dist/utils/Format/formatDataForComponent.js +5 -6
- package/dist/utils/Format/formatDataForComponent.test.js +50 -78
- package/dist/utils/Format/formatDataForForm.js +6 -8
- package/dist/utils/Format/formatDataForForm.test.js +13 -16
- package/dist/utils/Format/formatDataForPage.js +4 -5
- package/dist/utils/Format/formatDataForPage.test.js +20 -25
- package/dist/utils/Format/index.js +1 -1
- package/dist/utils/Hub/getFormHub.js +1 -1
- package/dist/utils/Hub/getFormHub.test.js +28 -31
- package/dist/utils/Hub/index.js +1 -1
- package/dist/utils/Meta/constants.js +2 -2
- package/dist/utils/Meta/documents/getDocuments.js +1 -1
- package/dist/utils/Meta/documents/getDocuments.test.js +24 -16
- package/dist/utils/Meta/documents/index.js +1 -1
- package/dist/utils/Meta/documents/setDocumentsForField.js +14 -16
- package/dist/utils/Meta/documents/setDocumentsForField.test.js +68 -34
- package/dist/utils/Meta/index.js +1 -1
- package/dist/utils/Operate/checkValueIsTruthy.js +2 -2
- package/dist/utils/Operate/checkValueIsTruthy.test.js +16 -16
- package/dist/utils/Operate/getFirstOf.js +5 -5
- package/dist/utils/Operate/getFirstOf.test.js +31 -31
- package/dist/utils/Operate/getIndexOfMatchingValueIn.js +10 -10
- package/dist/utils/Operate/getIndexOfMatchingValueIn.test.js +46 -52
- package/dist/utils/Operate/index.js +1 -1
- package/dist/utils/Operate/persistValueInFormData.js +3 -3
- package/dist/utils/Operate/persistValueInFormData.test.js +22 -20
- package/dist/utils/Operate/runPageOperations.js +7 -7
- package/dist/utils/Operate/runPageOperations.test.js +35 -36
- package/dist/utils/Operate/setValueInFormData.js +2 -2
- package/dist/utils/Operate/setValueInFormData.test.js +16 -16
- package/dist/utils/Operate/shouldRun.js +6 -6
- package/dist/utils/Operate/shouldRun.test.js +21 -27
- package/dist/utils/Validate/additional/conditionallyRequired.js +4 -4
- package/dist/utils/Validate/additional/conditionallyRequired.test.js +18 -18
- package/dist/utils/Validate/additional/index.js +6 -6
- package/dist/utils/Validate/additional/index.test.js +12 -12
- package/dist/utils/Validate/additional/mustBeAfter.js +2 -2
- package/dist/utils/Validate/additional/mustBeAfter.test.js +40 -40
- package/dist/utils/Validate/additional/mustBeBefore.js +2 -2
- package/dist/utils/Validate/additional/mustBeBefore.test.js +28 -28
- package/dist/utils/Validate/additional/mustBeEarlierDateTime.js +7 -11
- package/dist/utils/Validate/additional/mustBeEarlierDateTime.test.js +37 -41
- package/dist/utils/Validate/additional/mustBeGreaterThan.js +2 -2
- package/dist/utils/Validate/additional/mustBeGreaterThan.test.js +18 -18
- package/dist/utils/Validate/additional/mustBeInTheFuture.js +2 -2
- package/dist/utils/Validate/additional/mustBeInTheFuture.test.js +12 -12
- package/dist/utils/Validate/additional/mustBeInThePast.js +3 -3
- package/dist/utils/Validate/additional/mustBeInThePast.test.js +12 -12
- package/dist/utils/Validate/additional/mustBeLessThan.js +2 -2
- package/dist/utils/Validate/additional/mustBeLessThan.test.js +17 -17
- package/dist/utils/Validate/additional/mustBeLongerThan.js +1 -1
- package/dist/utils/Validate/additional/mustBeLongerThan.test.js +16 -16
- package/dist/utils/Validate/additional/mustBeNumbersOnly.js +2 -2
- package/dist/utils/Validate/additional/mustBeNumbersOnly.test.js +20 -20
- package/dist/utils/Validate/additional/mustBeShorterThan.js +1 -1
- package/dist/utils/Validate/additional/mustBeShorterThan.test.js +16 -16
- package/dist/utils/Validate/additional/mustBeUniqueInCollection.js +8 -4
- package/dist/utils/Validate/additional/mustBeUniqueInCollection.test.js +64 -32
- package/dist/utils/Validate/additional/mustEnterAtLeastOne.js +2 -2
- package/dist/utils/Validate/additional/mustEnterAtLeastOne.test.js +14 -16
- package/dist/utils/Validate/additional/mustHaveLessThanDecimalPlaces.js +1 -1
- package/dist/utils/Validate/additional/mustHaveLessThanDecimalPlaces.test.js +12 -12
- package/dist/utils/Validate/additional/mustNotContainSql.js +3 -4
- package/dist/utils/Validate/additional/mustNotContainSql.test.js +14 -14
- package/dist/utils/Validate/additional/mustSelectOnlyOne.js +2 -2
- package/dist/utils/Validate/additional/mustSelectOnlyOne.test.js +28 -26
- package/dist/utils/Validate/additional/utils.js +9 -22
- package/dist/utils/Validate/index.js +1 -1
- package/dist/utils/Validate/validateCollection.js +19 -25
- package/dist/utils/Validate/validateCollection.test.js +74 -66
- package/dist/utils/Validate/validateComponent.js +17 -15
- package/dist/utils/Validate/validateComponent.test.js +167 -146
- package/dist/utils/Validate/validateContainer.js +15 -20
- package/dist/utils/Validate/validateContainer.test.js +58 -52
- package/dist/utils/Validate/validateDate.js +15 -21
- package/dist/utils/Validate/validateDate.test.js +31 -32
- package/dist/utils/Validate/validateEmail.js +6 -8
- package/dist/utils/Validate/validateEmail.test.js +25 -25
- package/dist/utils/Validate/validateMultifile.js +5 -7
- package/dist/utils/Validate/validateMultifile.test.js +17 -18
- package/dist/utils/Validate/validatePage.js +19 -22
- package/dist/utils/Validate/validatePage.test.js +215 -203
- package/dist/utils/Validate/validateRegex.js +3 -5
- package/dist/utils/Validate/validateRegex.test.js +14 -14
- package/dist/utils/Validate/validateRequired.js +4 -6
- package/dist/utils/Validate/validateRequired.test.js +18 -18
- package/dist/utils/Validate/validateTextArea.js +4 -6
- package/dist/utils/Validate/validateTextArea.test.js +20 -20
- package/dist/utils/Validate/validateTime.js +11 -18
- package/dist/utils/Validate/validateTime.test.js +16 -16
- package/dist/utils/index.js +7 -9
- package/package.json +2 -2
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/component-used-in-multiple-pages-data.json +0 -4
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/component-used-in-multiple-pages-form.json +0 -61
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-airpax-after.json +0 -429
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-airpax-before.json +0 -449
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-airpax-form.json +0 -15219
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-eab-2-data-after.json +0 -516
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-eab-2-data-before.json +0 -593
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-eab2-form.json +0 -15219
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-mandec-data-after.json +0 -84
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-mandec-data-before.json +0 -98
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/cop-mandec-form.json +0 -9158
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-collection-data-removed.json +0 -4
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-collections.json +0 -8
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-components-removed.json +0 -3
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-components.json +0 -5
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-entire-collection-removed.json +0 -3
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-nested-component-removed.json +0 -10
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/data-with-nested-components.json +0 -11
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/form-for-nested-components.json +0 -96
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/form-with-collections-delete-entire.json +0 -47
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/form-with-collections.json +0 -46
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/form-with-components.json +0 -48
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/test.json +0 -1605
- package/dist/components/FormRenderer/clear-uncompleted-routes/test-data/test2.json +0 -205
- package/dist/components/FormRenderer/helpers/clearOutUncompletedRoutes.js +0 -206
- package/dist/components/FormRenderer/helpers/clearOutUncompletedRoutes.test.js +0 -143
- package/dist/components/FormRenderer/helpers/deleteNodeByPath.js +0 -26
- package/dist/components/FormRenderer/helpers/deleteNodeByPath.test.js +0 -56
|
@@ -1,1605 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"environmentContext": {
|
|
3
|
-
"attachmentServiceUrl": "/files",
|
|
4
|
-
"privateUiUrl": "http://localhost:3000",
|
|
5
|
-
"referenceDataUrl": "/refdata",
|
|
6
|
-
"workflowUrl": "/camunda"
|
|
7
|
-
},
|
|
8
|
-
"extendedStaffDetailsContext": {
|
|
9
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
10
|
-
"linemanagerEmail": "kamran.mirza1@digital.homeoffice.gov.uk",
|
|
11
|
-
"name": "Peter Fajemisin",
|
|
12
|
-
"linemanagerApprovalStatus": "approved"
|
|
13
|
-
},
|
|
14
|
-
"keycloakContext": {
|
|
15
|
-
"accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJfQXJ5M2M5VU9saEJLaWRhR29oMkV3R2ZnaDJYQUNSVU1jTnpiOUhNRzl3In0.eyJleHAiOjE3MDc3Njk5NTcsImlhdCI6MTcwNzc2OTA1NywiYXV0aF90aW1lIjoxNzA3NzY4Nzk4LCJqdGkiOiJiODc2ZjljMi1kYzBkLTQ2MzAtOTMzYS0xYTFkZGY3ZTkxZWEiLCJpc3MiOiJodHRwczovL3Nzby1kZXYubm90cHJvZC5ob21lb2ZmaWNlLmdvdi51ay9hdXRoL3JlYWxtcy9jb3AtZGV2IiwiYXVkIjpbInByaXZhdGUtcG9saWN5LXNlcnZpY2UiLCJjYW11bmRhLXJlc3QtYXBpIiwicmVmZGF0YS1hcGkiLCJvcGVyYXRpb25hbC1kYXRhLWFwaSIsImFjY291bnQiXSwic3ViIjoiOGIyODJhOGYtMTVhNS00MGQ0LWJmMTItZGE1MWZhMWE4M2YzIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiY29wIiwibm9uY2UiOiIzZGIxMTJiNS1kYTQwLTQwMmQtOTNlNy00NDI2ZDIzNGI5MGEiLCJzZXNzaW9uX3N0YXRlIjoiYjE4NWMyNTUtNDllYy00YjZjLWJjMmQtMzdiYzU1NzRmODYzIiwiYWNyIjoiMCIsImFsbG93ZWQtb3JpZ2lucyI6WyIqIl0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJjb3BfYWRtaW4iLCJjb3BnZSIsInByb2Nlc3NfYWRtaW4iLCJmb3JtYnVpbGRlci1yZWFkb25seSIsImNhbXVuZGEtYWRtaW5zIiwiZm9ybWJ1aWxkZXItZWRpdCIsIm9mZmxpbmVfYWNjZXNzIiwiY2l2aWwiLCJiZnJvbGUiLCJzeXN0ZW11c2VyIiwidGFyZ2V0X3JlYWQiLCJ1bWFfYXV0aG9yaXphdGlvbiIsInRhcmdldF91cGRhdGUiXX0sInJlc291cmNlX2FjY2VzcyI6eyJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBjYW11bmRhLXJlc3QtYXBpIHByb2ZpbGUgZW1haWwiLCJzaWQiOiJiMTg1YzI1NS00OWVjLTRiNmMtYmMyZC0zN2JjNTU3NGY4NjMiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImxpbmVfbWFuYWdlcl9hcHByb3ZhbF9zdGF0dXMiOiJhcHByb3ZlZCIsImxpbmVfbWFuYWdlcl9lbWFpbCI6ImthbXJhbi5taXJ6YTFAZGlnaXRhbC5ob21lb2ZmaWNlLmdvdi51ayIsImdyb3VwcyI6WyIvQVAxVDAxUDEiLCIvQ09QIiwiL0NPUF9BRE1JTiIsIi9ETjAyRzUiLCIvYmZyb2xlIiwiL2NhbXVuZGEtYWRtaW4iLCIvY29wZ2UiLCIvcHJvY2Vzc19hZG1pbiJdLCJhY3RpdmUiOiJ5ZXMiLCJ0ZWFtX2lkIjoiZmU4NDYyMTctMGU5NS00MjNkLWJiNzctYmI2NDgwZDMxYzQ2IiwicHJlZmVycmVkX3VzZXJuYW1lIjoicGV0ZXIuZmFqZW1pc2luQGRpZ2l0YWwuaG9tZW9mZmljZS5nb3YudWsiLCJkYnJvbGUiOiJyZWFkb25seSIsImdpdmVuX25hbWUiOiJQZXRlciIsInJlZmRicm9sZSI6InJlZnJlYWRvbmx5IiwibG9jYXRpb25faWQiOjEyLCJncmFkZV9pZCI6IjFjMTQwMDExLTQ2YWQtNGE1ZC1hZjI1LWU4MGE2ZmNkY2RiYSIsInBob25lIjoiKzQ0NzgwOTI4NDAyOSIsIm5hbWUiOiJQZXRlciBGYWplbWlzaW4iLCJmYW1pbHlfbmFtZSI6IkZhamVtaXNpbiIsImFkZWxwaGlfbnVtYmVyIjoiMTcyNzI3IiwiZW1haWwiOiJwZXRlci5mYWplbWlzaW5AZGlnaXRhbC5ob21lb2ZmaWNlLmdvdi51ayIsInBvbGljeXNlcnZpY2UiOiJwb2xpY3lzZXJ2aWNlIn0.WGIk79j_b8GdXAzi_Z_2ohhQBt1sDus7fhbz7mKGE0ut0Yil5KKEnCvNrb9W_Un6KtewJByPMG9TT76FGZcGPZABcDLT0SWl4WkeflfCBcX_V8ko6s1KGxevoSNUxkoeOwJrxQYVUoZMbxvTWc2rD_uNQLLaOm9_m0Eo3epPGR8wF9_3k2ulU__FN42WtUsTkO9T1TLRoAv5sIXA7ImREOTkWCisbTDIbA260D1LkxWg4ZMw67y0A_hYagggTbvxw-cLsbmdYNNMB0K5489CcNxLPjCGP-GyHHVbDi4uVgvwTHP2cby2G1W6CMkGwPefflI2aaNQUfZYsOg78waXpQ",
|
|
16
|
-
"adelphi": "172727",
|
|
17
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
18
|
-
"familyName": "Fajemisin",
|
|
19
|
-
"givenName": "Peter",
|
|
20
|
-
"gradeId": "1c140011-46ad-4a5d-af25-e80a6fcdcdba",
|
|
21
|
-
"groups": [
|
|
22
|
-
"/AP1T01P1",
|
|
23
|
-
"/COP",
|
|
24
|
-
"/COP_ADMIN",
|
|
25
|
-
"/DN02G5",
|
|
26
|
-
"/bfrole",
|
|
27
|
-
"/camunda-admin",
|
|
28
|
-
"/copge",
|
|
29
|
-
"/process_admin"
|
|
30
|
-
],
|
|
31
|
-
"locationId": 12,
|
|
32
|
-
"phone": "+447809284029",
|
|
33
|
-
"realm": "cop-dev",
|
|
34
|
-
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJhNGU2MmU2YS1kZGQ1LTQzMDAtOGEzZC1mZmYzYmZiMTdiY2MifQ.eyJleHAiOjE3MDc3NzA4NTcsImlhdCI6MTcwNzc2OTA1NywianRpIjoiZjAyYmVkNTAtMDgwMi00N2I3LThkNjYtY2Y1NDFkMTBmOWViIiwiaXNzIjoiaHR0cHM6Ly9zc28tZGV2Lm5vdHByb2QuaG9tZW9mZmljZS5nb3YudWsvYXV0aC9yZWFsbXMvY29wLWRldiIsImF1ZCI6Imh0dHBzOi8vc3NvLWRldi5ub3Rwcm9kLmhvbWVvZmZpY2UuZ292LnVrL2F1dGgvcmVhbG1zL2NvcC1kZXYiLCJzdWIiOiI4YjI4MmE4Zi0xNWE1LTQwZDQtYmYxMi1kYTUxZmExYTgzZjMiLCJ0eXAiOiJSZWZyZXNoIiwiYXpwIjoiY29wIiwibm9uY2UiOiIzZGIxMTJiNS1kYTQwLTQwMmQtOTNlNy00NDI2ZDIzNGI5MGEiLCJzZXNzaW9uX3N0YXRlIjoiYjE4NWMyNTUtNDllYy00YjZjLWJjMmQtMzdiYzU1NzRmODYzIiwic2NvcGUiOiJvcGVuaWQgY2FtdW5kYS1yZXN0LWFwaSBwcm9maWxlIGVtYWlsIiwic2lkIjoiYjE4NWMyNTUtNDllYy00YjZjLWJjMmQtMzdiYzU1NzRmODYzIn0._cn1tdD56QhkvDwbtClO7cXHLy0K20hcqyto1xuyBzE",
|
|
35
|
-
"roles": [
|
|
36
|
-
"cop_admin",
|
|
37
|
-
"copge",
|
|
38
|
-
"process_admin",
|
|
39
|
-
"formbuilder-readonly",
|
|
40
|
-
"camunda-admins",
|
|
41
|
-
"formbuilder-edit",
|
|
42
|
-
"offline_access",
|
|
43
|
-
"civil",
|
|
44
|
-
"bfrole",
|
|
45
|
-
"systemuser",
|
|
46
|
-
"target_read",
|
|
47
|
-
"uma_authorization",
|
|
48
|
-
"target_update"
|
|
49
|
-
],
|
|
50
|
-
"sessionId": "b185c255-49ec-4b6c-bc2d-37bc5574f863",
|
|
51
|
-
"subject": "8b282a8f-15a5-40d4-bf12-da51fa1a83f3",
|
|
52
|
-
"url": "https://sso-dev.notprod.homeoffice.gov.uk/auth"
|
|
53
|
-
},
|
|
54
|
-
"shiftDetailsContext": {
|
|
55
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
56
|
-
"location": {
|
|
57
|
-
"id": 12,
|
|
58
|
-
"name": "2 Marsham Street",
|
|
59
|
-
"description": null,
|
|
60
|
-
"unlocodeid": null,
|
|
61
|
-
"addressid": "dbcbb8fd-1d93-45f2-81a2-b0a0327ea1b9",
|
|
62
|
-
"geolat": "51.495927",
|
|
63
|
-
"geolong": "-0.129887",
|
|
64
|
-
"icaoid": null,
|
|
65
|
-
"bflocationtypeid": "73c2f30a-0e7d-4e90-af5c-de42dca9dfb0",
|
|
66
|
-
"code": "MARSH",
|
|
67
|
-
"countryoflegalsystem": "England",
|
|
68
|
-
"ukcountry": "England",
|
|
69
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
70
|
-
"validto": null,
|
|
71
|
-
"updatedby": null
|
|
72
|
-
},
|
|
73
|
-
"locationid": 12,
|
|
74
|
-
"phone": "+447809284029",
|
|
75
|
-
"roles": [
|
|
76
|
-
"cop_admin",
|
|
77
|
-
"copge",
|
|
78
|
-
"process_admin",
|
|
79
|
-
"formbuilder-readonly",
|
|
80
|
-
"camunda-admins",
|
|
81
|
-
"formbuilder-edit",
|
|
82
|
-
"offline_access",
|
|
83
|
-
"civil",
|
|
84
|
-
"bfrole",
|
|
85
|
-
"systemuser",
|
|
86
|
-
"target_read",
|
|
87
|
-
"uma_authorization",
|
|
88
|
-
"target_update"
|
|
89
|
-
],
|
|
90
|
-
"team": {
|
|
91
|
-
"id": "63b89034-8b74-4fc8-9a98-ea514383a0dd",
|
|
92
|
-
"displayname": "Aberdeen Commodity team",
|
|
93
|
-
"code": "DN02G5",
|
|
94
|
-
"grouptypeid": 1,
|
|
95
|
-
"branchid": 22,
|
|
96
|
-
"keycloakgrouppath": "/DN02G5",
|
|
97
|
-
"locationid": null,
|
|
98
|
-
"name": "DN02G5",
|
|
99
|
-
"selfmanaged": false,
|
|
100
|
-
"teamid": "fe846217-0e95-423d-bb77-bb6480d31c46"
|
|
101
|
-
},
|
|
102
|
-
"teamid": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
103
|
-
"currentGroup": {
|
|
104
|
-
"id": "63b89034-8b74-4fc8-9a98-ea514383a0dd",
|
|
105
|
-
"displayname": "Aberdeen Commodity team",
|
|
106
|
-
"code": "DN02G5",
|
|
107
|
-
"grouptypeid": 1,
|
|
108
|
-
"branchid": 22,
|
|
109
|
-
"keycloakgrouppath": "/DN02G5",
|
|
110
|
-
"locationid": null,
|
|
111
|
-
"name": "DN02G5",
|
|
112
|
-
"selfmanaged": false,
|
|
113
|
-
"teamid": "fe846217-0e95-423d-bb77-bb6480d31c46"
|
|
114
|
-
},
|
|
115
|
-
"groups": [
|
|
116
|
-
"/AP1T01P1",
|
|
117
|
-
"/COP",
|
|
118
|
-
"/COP_ADMIN",
|
|
119
|
-
"/DN02G5",
|
|
120
|
-
"/bfrole",
|
|
121
|
-
"/camunda-admin",
|
|
122
|
-
"/copge",
|
|
123
|
-
"/process_admin"
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
"staffDetailsDataContext": {
|
|
127
|
-
"adelphi": "172727",
|
|
128
|
-
"defaultlocation": {
|
|
129
|
-
"id": 12,
|
|
130
|
-
"name": "2 Marsham Street",
|
|
131
|
-
"description": null,
|
|
132
|
-
"unlocodeid": null,
|
|
133
|
-
"addressid": "dbcbb8fd-1d93-45f2-81a2-b0a0327ea1b9",
|
|
134
|
-
"geolat": "51.495927",
|
|
135
|
-
"geolong": "-0.129887",
|
|
136
|
-
"icaoid": null,
|
|
137
|
-
"bflocationtypeid": "73c2f30a-0e7d-4e90-af5c-de42dca9dfb0",
|
|
138
|
-
"code": "MARSH",
|
|
139
|
-
"countryoflegalsystem": "England",
|
|
140
|
-
"ukcountry": "England",
|
|
141
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
142
|
-
"validto": null,
|
|
143
|
-
"updatedby": null
|
|
144
|
-
},
|
|
145
|
-
"defaultlocationid": 12,
|
|
146
|
-
"defaultteam": {
|
|
147
|
-
"id": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
148
|
-
"name": "Aberdeen Commodity team",
|
|
149
|
-
"code": "DN02G5",
|
|
150
|
-
"description": null,
|
|
151
|
-
"costcentrecode": "DN02G5",
|
|
152
|
-
"parentteamid": "cf576f61-26cd-4862-92e1-2d5cfc050c2d",
|
|
153
|
-
"regionalintel": false,
|
|
154
|
-
"bffunctiontypeid": "63d59d5c-e1d0-4f16-9607-7aa2613cc695",
|
|
155
|
-
"ministryid": "1",
|
|
156
|
-
"departmentid": "1",
|
|
157
|
-
"directorateid": "2",
|
|
158
|
-
"branchid": "22",
|
|
159
|
-
"divisionid": "11",
|
|
160
|
-
"commandid": "38",
|
|
161
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
162
|
-
"validto": null,
|
|
163
|
-
"updatedby": null
|
|
164
|
-
},
|
|
165
|
-
"defaultteamid": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
166
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
167
|
-
"firstname": "Peter",
|
|
168
|
-
"gradeid": "1c140011-46ad-4a5d-af25-e80a6fcdcdba",
|
|
169
|
-
"locationid": 12,
|
|
170
|
-
"phone": "+447809284029",
|
|
171
|
-
"surname": "Fajemisin",
|
|
172
|
-
"teamid": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
173
|
-
"areYouACivilServant": "yes"
|
|
174
|
-
},
|
|
175
|
-
"processContext": {
|
|
176
|
-
"cop-addABorderEvent": {
|
|
177
|
-
"id": "35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
178
|
-
"businessKey": "DEV-20240212-1174",
|
|
179
|
-
"modeOfTransport": {
|
|
180
|
-
"id": 2,
|
|
181
|
-
"mode": "Scheduled Air Passenger",
|
|
182
|
-
"modecode": "airpass",
|
|
183
|
-
"crossingtype": [
|
|
184
|
-
"air"
|
|
185
|
-
],
|
|
186
|
-
"value": "Scheduled Air Passenger",
|
|
187
|
-
"label": "Scheduled Air Passenger"
|
|
188
|
-
},
|
|
189
|
-
"port": {
|
|
190
|
-
"id": 3415,
|
|
191
|
-
"name": "Luton",
|
|
192
|
-
"sea": false,
|
|
193
|
-
"air": true,
|
|
194
|
-
"land": false,
|
|
195
|
-
"rail": false,
|
|
196
|
-
"countryid": 234,
|
|
197
|
-
"iata": "LTN",
|
|
198
|
-
"value": "3415",
|
|
199
|
-
"label": "Luton"
|
|
200
|
-
},
|
|
201
|
-
"formStatus": {
|
|
202
|
-
"tasks": {
|
|
203
|
-
"undefined": {},
|
|
204
|
-
"Enter event details": {
|
|
205
|
-
"complete": true,
|
|
206
|
-
"currentPage": "eventDetailsCya"
|
|
207
|
-
},
|
|
208
|
-
"Enter item and storage details": {
|
|
209
|
-
"complete": true,
|
|
210
|
-
"currentPage": "whatHappensNext"
|
|
211
|
-
},
|
|
212
|
-
"search-and-interception-details-airpax": {
|
|
213
|
-
"complete": true,
|
|
214
|
-
"currentPage": "search-cya"
|
|
215
|
-
},
|
|
216
|
-
"People details": {
|
|
217
|
-
"complete": false,
|
|
218
|
-
"currentPage": "people"
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
"taskPage": "people"
|
|
222
|
-
},
|
|
223
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43",
|
|
224
|
-
"links": [
|
|
225
|
-
{
|
|
226
|
-
"method": "GET",
|
|
227
|
-
"href": "https://blue.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
228
|
-
"rel": "self"
|
|
229
|
-
}
|
|
230
|
-
],
|
|
231
|
-
"definitionId": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74",
|
|
232
|
-
"caseInstanceId": null,
|
|
233
|
-
"ended": false,
|
|
234
|
-
"suspended": false,
|
|
235
|
-
"tenantId": null,
|
|
236
|
-
"whatHappened": "itemsOnAPerson",
|
|
237
|
-
"eventDateTime": {
|
|
238
|
-
"eventDate": "12-02-2024",
|
|
239
|
-
"eventTime": "10:10"
|
|
240
|
-
},
|
|
241
|
-
"centaurReference": "E1111111",
|
|
242
|
-
"leadOfficerEmail": {
|
|
243
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
244
|
-
"label": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
245
|
-
"value": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
246
|
-
"defaultteamid": "fe846217-0e95-423d-bb77-bb6480d31c46"
|
|
247
|
-
},
|
|
248
|
-
"officerEmails": [],
|
|
249
|
-
"operationOrExercise": "no",
|
|
250
|
-
"operationOrExerciseName": "To delete",
|
|
251
|
-
"itemsActiveId": "1707768868458",
|
|
252
|
-
"itemsNumberedIndex": 1,
|
|
253
|
-
"items": [
|
|
254
|
-
{
|
|
255
|
-
"id": "1707768868458",
|
|
256
|
-
"sealNumber": "werty7564321",
|
|
257
|
-
"itemCategory": {
|
|
258
|
-
"id": 6,
|
|
259
|
-
"category": "Alcohol",
|
|
260
|
-
"description": "Beers, Wines, Spirits etc.",
|
|
261
|
-
"validfrom": "2023-01-10T00:00:01.000Z",
|
|
262
|
-
"validto": null,
|
|
263
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
264
|
-
"synonyms": [
|
|
265
|
-
"'Beer'",
|
|
266
|
-
"'Wines'",
|
|
267
|
-
"'Spirits'"
|
|
268
|
-
],
|
|
269
|
-
"value": "6",
|
|
270
|
-
"label": "Alcohol"
|
|
271
|
-
},
|
|
272
|
-
"itemSubCategory": {
|
|
273
|
-
"id": 1800,
|
|
274
|
-
"name": "Beer",
|
|
275
|
-
"description": null,
|
|
276
|
-
"itemcategoriesid": 6,
|
|
277
|
-
"cites": false,
|
|
278
|
-
"poao": false,
|
|
279
|
-
"cbrn": false,
|
|
280
|
-
"document": false,
|
|
281
|
-
"tobacco": false,
|
|
282
|
-
"alcohol": true,
|
|
283
|
-
"weapons": false,
|
|
284
|
-
"firearms": false,
|
|
285
|
-
"ipr": false,
|
|
286
|
-
"strategic": false,
|
|
287
|
-
"avtc": false,
|
|
288
|
-
"oils": false,
|
|
289
|
-
"commodity": false,
|
|
290
|
-
"good": false,
|
|
291
|
-
"plant": false,
|
|
292
|
-
"animal": false,
|
|
293
|
-
"drugs": false,
|
|
294
|
-
"financial": false,
|
|
295
|
-
"indecent": false,
|
|
296
|
-
"vehicle": false,
|
|
297
|
-
"medical": false,
|
|
298
|
-
"unitid": 4,
|
|
299
|
-
"seizureqty": null,
|
|
300
|
-
"ienqty": null,
|
|
301
|
-
"validfrom": "2023-02-22T00:00:01.000Z",
|
|
302
|
-
"validto": null,
|
|
303
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
304
|
-
"uof": false,
|
|
305
|
-
"epmscode": 1137,
|
|
306
|
-
"epmscategory": "AHL",
|
|
307
|
-
"unitarray": [
|
|
308
|
-
4,
|
|
309
|
-
7
|
|
310
|
-
],
|
|
311
|
-
"categoryarray": [
|
|
312
|
-
6
|
|
313
|
-
],
|
|
314
|
-
"lethalfirearm": null,
|
|
315
|
-
"nonlethalfirearm": null,
|
|
316
|
-
"value": "1800",
|
|
317
|
-
"label": "Beer"
|
|
318
|
-
},
|
|
319
|
-
"seizedOrDetained": "seized",
|
|
320
|
-
"legalReasonForSeizing": {
|
|
321
|
-
"id": 1,
|
|
322
|
-
"epmsvalue": 2,
|
|
323
|
-
"reason": "CEMA",
|
|
324
|
-
"description": "Customs and excise management act 1979",
|
|
325
|
-
"validfrom": "2022-09-21T00:00:01.000Z",
|
|
326
|
-
"validto": null,
|
|
327
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
328
|
-
"value": "1",
|
|
329
|
-
"label": "Customs and excise management act 1979"
|
|
330
|
-
},
|
|
331
|
-
"abvDetails": {
|
|
332
|
-
"abv": "10"
|
|
333
|
-
},
|
|
334
|
-
"detectionTechnologies": [
|
|
335
|
-
{
|
|
336
|
-
"id": "1707768879009",
|
|
337
|
-
"detectionTechnology": {
|
|
338
|
-
"id": 5,
|
|
339
|
-
"name": "Automatic Number Plate Recognition",
|
|
340
|
-
"value": "5",
|
|
341
|
-
"label": "Automatic Number Plate Recognition"
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
],
|
|
345
|
-
"searchTechniques": [
|
|
346
|
-
{
|
|
347
|
-
"id": "1707768879009",
|
|
348
|
-
"searchTechnique": {
|
|
349
|
-
"id": 27,
|
|
350
|
-
"type": "Baggage",
|
|
351
|
-
"value": "27",
|
|
352
|
-
"label": "Baggage"
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"concealmentMethods": [
|
|
357
|
-
{
|
|
358
|
-
"id": "1707768879013",
|
|
359
|
-
"concealmentMethod": {
|
|
360
|
-
"id": 24,
|
|
361
|
-
"method": "Air filter",
|
|
362
|
-
"value": "24",
|
|
363
|
-
"label": "Air filter"
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
],
|
|
367
|
-
"brandText": "To delete",
|
|
368
|
-
"unitOfMeasure": {
|
|
369
|
-
"id": 12,
|
|
370
|
-
"unit": "Litres (l)",
|
|
371
|
-
"validfrom": "2023-02-21T00:00:01.000Z",
|
|
372
|
-
"validto": null,
|
|
373
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
374
|
-
"code": 4,
|
|
375
|
-
"epmsid": 5,
|
|
376
|
-
"decimal": true,
|
|
377
|
-
"shortname": "l",
|
|
378
|
-
"value": "12",
|
|
379
|
-
"label": "Litres (l)"
|
|
380
|
-
},
|
|
381
|
-
"quantity": "10",
|
|
382
|
-
"itemDescription": "descroptn",
|
|
383
|
-
"willTheItemBeStored": "yes",
|
|
384
|
-
"storageLocation": {
|
|
385
|
-
"value": "LTNFZ",
|
|
386
|
-
"label": "Freezers"
|
|
387
|
-
},
|
|
388
|
-
"shouldThisItemBeDestroyed": "yes",
|
|
389
|
-
"instructionsToThePropertyOfficer": "To delete",
|
|
390
|
-
"specialHandlingInstructions": "yes",
|
|
391
|
-
"type": [
|
|
392
|
-
{
|
|
393
|
-
"id": 1,
|
|
394
|
-
"epmsvalue": 2,
|
|
395
|
-
"description": "Bulky Item",
|
|
396
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
397
|
-
"validto": null,
|
|
398
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
399
|
-
"value": "Bulky Item",
|
|
400
|
-
"label": "Bulky Item"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"id": 9,
|
|
404
|
-
"epmsvalue": 10,
|
|
405
|
-
"description": "Contaminated",
|
|
406
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
407
|
-
"validto": null,
|
|
408
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
409
|
-
"value": "Contaminated",
|
|
410
|
-
"label": "Contaminated"
|
|
411
|
-
}
|
|
412
|
-
],
|
|
413
|
-
"hasAnotherAgencyAdoptedTheItem": "yes",
|
|
414
|
-
"agency": {
|
|
415
|
-
"id": 181,
|
|
416
|
-
"name": "3rd Country Unit",
|
|
417
|
-
"abbreviatedname": "3RDCNTRY",
|
|
418
|
-
"seizure": false,
|
|
419
|
-
"intelligence": true,
|
|
420
|
-
"disclosure": true,
|
|
421
|
-
"referralfrom": true,
|
|
422
|
-
"referralto": true,
|
|
423
|
-
"validfrom": "2020-11-26T00:01:00.000Z",
|
|
424
|
-
"validto": null,
|
|
425
|
-
"updatedby": null,
|
|
426
|
-
"international": false,
|
|
427
|
-
"epmsagencyid": 9,
|
|
428
|
-
"value": "181",
|
|
429
|
-
"label": "3rd Country Unit"
|
|
430
|
-
},
|
|
431
|
-
"epmsOfficerEmails": {
|
|
432
|
-
"value": "Abedul.hussain8@homeoffice.gov.uk",
|
|
433
|
-
"label": "Abedul.hussain8@homeoffice.gov.uk"
|
|
434
|
-
},
|
|
435
|
-
"agencyReferenceCode": "To delete",
|
|
436
|
-
"didTheyAdopt": "yes",
|
|
437
|
-
"constructedOrAdapted": "yes",
|
|
438
|
-
"constructedDescription": "To delete",
|
|
439
|
-
"doYouHavePhotosOfTheItemToAdd": "yes",
|
|
440
|
-
"photos": [
|
|
441
|
-
{
|
|
442
|
-
"name": "smiley.jpg",
|
|
443
|
-
"extension": "jpg",
|
|
444
|
-
"type": "image/jpeg",
|
|
445
|
-
"file": {},
|
|
446
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b"
|
|
447
|
-
}
|
|
448
|
-
],
|
|
449
|
-
"whatDoThePhotosShow": [
|
|
450
|
-
{
|
|
451
|
-
"label": "Concealment",
|
|
452
|
-
"value": "concealment"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"label": "Item identification eg drug test",
|
|
456
|
-
"value": "itemIdentification"
|
|
457
|
-
}
|
|
458
|
-
]
|
|
459
|
-
}
|
|
460
|
-
],
|
|
461
|
-
"lockup": {
|
|
462
|
-
"value": "LTN",
|
|
463
|
-
"label": "Luton Airport Lockup",
|
|
464
|
-
"hidden": true
|
|
465
|
-
},
|
|
466
|
-
"meta": {
|
|
467
|
-
"documents": [
|
|
468
|
-
{
|
|
469
|
-
"name": "smiley.jpg",
|
|
470
|
-
"extension": "jpg",
|
|
471
|
-
"type": "image/jpeg",
|
|
472
|
-
"file": {},
|
|
473
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b",
|
|
474
|
-
"indexInField": 0,
|
|
475
|
-
"field": "items[0].photos",
|
|
476
|
-
"size": 6495
|
|
477
|
-
}
|
|
478
|
-
]
|
|
479
|
-
},
|
|
480
|
-
"photosUploadSpinner": false,
|
|
481
|
-
"photosNextPage": "seals",
|
|
482
|
-
"epmsSubmitted": true,
|
|
483
|
-
"whenWasTheSelectionDecidedRadio": "beforeArrival",
|
|
484
|
-
"whoDecidedSelection": "borderForceOfficer",
|
|
485
|
-
"intelligenceReferenceNumber": "To delete",
|
|
486
|
-
"controlStrategies": [
|
|
487
|
-
{
|
|
488
|
-
"id": "1707769001041",
|
|
489
|
-
"controlStrategy": {
|
|
490
|
-
"id": 16,
|
|
491
|
-
"strategy": "Alcohol",
|
|
492
|
-
"priority": "C",
|
|
493
|
-
"code": "ALCOHOL",
|
|
494
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
495
|
-
"validto": null,
|
|
496
|
-
"updatedby": null,
|
|
497
|
-
"value": "ALCOHOL",
|
|
498
|
-
"label": "Alcohol"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
],
|
|
502
|
-
"whyWasPassengerStopped": "dsadasdasdsa",
|
|
503
|
-
"peopleActiveId": "0",
|
|
504
|
-
"peopleNumberedIndex": 1,
|
|
505
|
-
"form": {
|
|
506
|
-
"formVersionId": "fbf7d816ac6dbcc0f9e7cdeef11b1b3c3399c904",
|
|
507
|
-
"title": "Add a border event",
|
|
508
|
-
"name": "cop-addABorderEvent",
|
|
509
|
-
"submissionDate": "2024-02-12T20:17:09.907Z",
|
|
510
|
-
"submittedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
511
|
-
"submittingUsersName": "Peter",
|
|
512
|
-
"submissionTeam": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
513
|
-
"draftForm": true,
|
|
514
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43"
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
"borderProcessKey": "handleEventAtBorder2",
|
|
518
|
-
"userInitiator": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
519
|
-
"initiatedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
520
|
-
"status": "DRAFT",
|
|
521
|
-
"variables": {
|
|
522
|
-
"cop-addABorderEvent": {
|
|
523
|
-
"id": "35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
524
|
-
"businessKey": "DEV-20240212-1174",
|
|
525
|
-
"modeOfTransport": {
|
|
526
|
-
"id": 2,
|
|
527
|
-
"mode": "Scheduled Air Passenger",
|
|
528
|
-
"modecode": "airpass",
|
|
529
|
-
"crossingtype": [
|
|
530
|
-
"air"
|
|
531
|
-
],
|
|
532
|
-
"value": "Scheduled Air Passenger",
|
|
533
|
-
"label": "Scheduled Air Passenger"
|
|
534
|
-
},
|
|
535
|
-
"port": {
|
|
536
|
-
"id": 3415,
|
|
537
|
-
"name": "Luton",
|
|
538
|
-
"sea": false,
|
|
539
|
-
"air": true,
|
|
540
|
-
"land": false,
|
|
541
|
-
"rail": false,
|
|
542
|
-
"countryid": 234,
|
|
543
|
-
"iata": "LTN",
|
|
544
|
-
"value": "3415",
|
|
545
|
-
"label": "Luton"
|
|
546
|
-
},
|
|
547
|
-
"formStatus": {
|
|
548
|
-
"tasks": {
|
|
549
|
-
"undefined": {},
|
|
550
|
-
"Enter event details": {
|
|
551
|
-
"complete": true,
|
|
552
|
-
"currentPage": "eventDetailsCya"
|
|
553
|
-
},
|
|
554
|
-
"Enter item and storage details": {
|
|
555
|
-
"complete": true,
|
|
556
|
-
"currentPage": "whatHappensNext"
|
|
557
|
-
},
|
|
558
|
-
"search-and-interception-details-airpax": {
|
|
559
|
-
"complete": true,
|
|
560
|
-
"currentPage": "search-cya"
|
|
561
|
-
},
|
|
562
|
-
"People details": {
|
|
563
|
-
"complete": false,
|
|
564
|
-
"currentPage": "people"
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
"taskPage": "people"
|
|
568
|
-
},
|
|
569
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43",
|
|
570
|
-
"links": [
|
|
571
|
-
{
|
|
572
|
-
"method": "GET",
|
|
573
|
-
"href": "https://blue.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
574
|
-
"rel": "self"
|
|
575
|
-
}
|
|
576
|
-
],
|
|
577
|
-
"definitionId": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74",
|
|
578
|
-
"caseInstanceId": null,
|
|
579
|
-
"ended": false,
|
|
580
|
-
"suspended": false,
|
|
581
|
-
"tenantId": null,
|
|
582
|
-
"whatHappened": "itemsOnAPerson",
|
|
583
|
-
"eventDateTime": {
|
|
584
|
-
"eventDate": "12-02-2024",
|
|
585
|
-
"eventTime": "10:10"
|
|
586
|
-
},
|
|
587
|
-
"centaurReference": "E1111111",
|
|
588
|
-
"leadOfficerEmail": {
|
|
589
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
590
|
-
"label": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
591
|
-
"value": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
592
|
-
"defaultteamid": "fe846217-0e95-423d-bb77-bb6480d31c46"
|
|
593
|
-
},
|
|
594
|
-
"officerEmails": [],
|
|
595
|
-
"operationOrExercise": "no",
|
|
596
|
-
"operationOrExerciseName": "To delete",
|
|
597
|
-
"itemsActiveId": "1707768868458",
|
|
598
|
-
"itemsNumberedIndex": 1,
|
|
599
|
-
"items": [
|
|
600
|
-
{
|
|
601
|
-
"id": "1707768868458",
|
|
602
|
-
"sealNumber": "werty7564321",
|
|
603
|
-
"itemCategory": {
|
|
604
|
-
"id": 6,
|
|
605
|
-
"category": "Alcohol",
|
|
606
|
-
"description": "Beers, Wines, Spirits etc.",
|
|
607
|
-
"validfrom": "2023-01-10T00:00:01.000Z",
|
|
608
|
-
"validto": null,
|
|
609
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
610
|
-
"synonyms": [
|
|
611
|
-
"'Beer'",
|
|
612
|
-
"'Wines'",
|
|
613
|
-
"'Spirits'"
|
|
614
|
-
],
|
|
615
|
-
"value": "6",
|
|
616
|
-
"label": "Alcohol"
|
|
617
|
-
},
|
|
618
|
-
"itemSubCategory": {
|
|
619
|
-
"id": 1800,
|
|
620
|
-
"name": "Beer",
|
|
621
|
-
"description": null,
|
|
622
|
-
"itemcategoriesid": 6,
|
|
623
|
-
"cites": false,
|
|
624
|
-
"poao": false,
|
|
625
|
-
"cbrn": false,
|
|
626
|
-
"document": false,
|
|
627
|
-
"tobacco": false,
|
|
628
|
-
"alcohol": true,
|
|
629
|
-
"weapons": false,
|
|
630
|
-
"firearms": false,
|
|
631
|
-
"ipr": false,
|
|
632
|
-
"strategic": false,
|
|
633
|
-
"avtc": false,
|
|
634
|
-
"oils": false,
|
|
635
|
-
"commodity": false,
|
|
636
|
-
"good": false,
|
|
637
|
-
"plant": false,
|
|
638
|
-
"animal": false,
|
|
639
|
-
"drugs": false,
|
|
640
|
-
"financial": false,
|
|
641
|
-
"indecent": false,
|
|
642
|
-
"vehicle": false,
|
|
643
|
-
"medical": false,
|
|
644
|
-
"unitid": 4,
|
|
645
|
-
"seizureqty": null,
|
|
646
|
-
"ienqty": null,
|
|
647
|
-
"validfrom": "2023-02-22T00:00:01.000Z",
|
|
648
|
-
"validto": null,
|
|
649
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
650
|
-
"uof": false,
|
|
651
|
-
"epmscode": 1137,
|
|
652
|
-
"epmscategory": "AHL",
|
|
653
|
-
"unitarray": [
|
|
654
|
-
4,
|
|
655
|
-
7
|
|
656
|
-
],
|
|
657
|
-
"categoryarray": [
|
|
658
|
-
6
|
|
659
|
-
],
|
|
660
|
-
"lethalfirearm": null,
|
|
661
|
-
"nonlethalfirearm": null,
|
|
662
|
-
"value": "1800",
|
|
663
|
-
"label": "Beer"
|
|
664
|
-
},
|
|
665
|
-
"seizedOrDetained": "seized",
|
|
666
|
-
"legalReasonForSeizing": {
|
|
667
|
-
"id": 1,
|
|
668
|
-
"epmsvalue": 2,
|
|
669
|
-
"reason": "CEMA",
|
|
670
|
-
"description": "Customs and excise management act 1979",
|
|
671
|
-
"validfrom": "2022-09-21T00:00:01.000Z",
|
|
672
|
-
"validto": null,
|
|
673
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
674
|
-
"value": "1",
|
|
675
|
-
"label": "Customs and excise management act 1979"
|
|
676
|
-
},
|
|
677
|
-
"abvDetails": {
|
|
678
|
-
"abv": "10"
|
|
679
|
-
},
|
|
680
|
-
"detectionTechnologies": [
|
|
681
|
-
{
|
|
682
|
-
"id": "1707768879009",
|
|
683
|
-
"detectionTechnology": {
|
|
684
|
-
"id": 5,
|
|
685
|
-
"name": "Automatic Number Plate Recognition",
|
|
686
|
-
"value": "5",
|
|
687
|
-
"label": "Automatic Number Plate Recognition"
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
],
|
|
691
|
-
"searchTechniques": [
|
|
692
|
-
{
|
|
693
|
-
"id": "1707768879009",
|
|
694
|
-
"searchTechnique": {
|
|
695
|
-
"id": 27,
|
|
696
|
-
"type": "Baggage",
|
|
697
|
-
"value": "27",
|
|
698
|
-
"label": "Baggage"
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
],
|
|
702
|
-
"concealmentMethods": [
|
|
703
|
-
{
|
|
704
|
-
"id": "1707768879013",
|
|
705
|
-
"concealmentMethod": {
|
|
706
|
-
"id": 24,
|
|
707
|
-
"method": "Air filter",
|
|
708
|
-
"value": "24",
|
|
709
|
-
"label": "Air filter"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
],
|
|
713
|
-
"brandText": "To delete",
|
|
714
|
-
"unitOfMeasure": {
|
|
715
|
-
"id": 12,
|
|
716
|
-
"unit": "Litres (l)",
|
|
717
|
-
"validfrom": "2023-02-21T00:00:01.000Z",
|
|
718
|
-
"validto": null,
|
|
719
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
720
|
-
"code": 4,
|
|
721
|
-
"epmsid": 5,
|
|
722
|
-
"decimal": true,
|
|
723
|
-
"shortname": "l",
|
|
724
|
-
"value": "12",
|
|
725
|
-
"label": "Litres (l)"
|
|
726
|
-
},
|
|
727
|
-
"quantity": "10",
|
|
728
|
-
"itemDescription": "descroptn",
|
|
729
|
-
"willTheItemBeStored": "yes",
|
|
730
|
-
"storageLocation": {
|
|
731
|
-
"value": "LTNFZ",
|
|
732
|
-
"label": "Freezers"
|
|
733
|
-
},
|
|
734
|
-
"shouldThisItemBeDestroyed": "yes",
|
|
735
|
-
"instructionsToThePropertyOfficer": "To delete",
|
|
736
|
-
"specialHandlingInstructions": "yes",
|
|
737
|
-
"type": [
|
|
738
|
-
{
|
|
739
|
-
"id": 1,
|
|
740
|
-
"epmsvalue": 2,
|
|
741
|
-
"description": "Bulky Item",
|
|
742
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
743
|
-
"validto": null,
|
|
744
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
745
|
-
"value": "Bulky Item",
|
|
746
|
-
"label": "Bulky Item"
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"id": 9,
|
|
750
|
-
"epmsvalue": 10,
|
|
751
|
-
"description": "Contaminated",
|
|
752
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
753
|
-
"validto": null,
|
|
754
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
755
|
-
"value": "Contaminated",
|
|
756
|
-
"label": "Contaminated"
|
|
757
|
-
}
|
|
758
|
-
],
|
|
759
|
-
"hasAnotherAgencyAdoptedTheItem": "yes",
|
|
760
|
-
"agency": {
|
|
761
|
-
"id": 181,
|
|
762
|
-
"name": "3rd Country Unit",
|
|
763
|
-
"abbreviatedname": "3RDCNTRY",
|
|
764
|
-
"seizure": false,
|
|
765
|
-
"intelligence": true,
|
|
766
|
-
"disclosure": true,
|
|
767
|
-
"referralfrom": true,
|
|
768
|
-
"referralto": true,
|
|
769
|
-
"validfrom": "2020-11-26T00:01:00.000Z",
|
|
770
|
-
"validto": null,
|
|
771
|
-
"updatedby": null,
|
|
772
|
-
"international": false,
|
|
773
|
-
"epmsagencyid": 9,
|
|
774
|
-
"value": "181",
|
|
775
|
-
"label": "3rd Country Unit"
|
|
776
|
-
},
|
|
777
|
-
"epmsOfficerEmails": {
|
|
778
|
-
"value": "Abedul.hussain8@homeoffice.gov.uk",
|
|
779
|
-
"label": "Abedul.hussain8@homeoffice.gov.uk"
|
|
780
|
-
},
|
|
781
|
-
"agencyReferenceCode": "To delete",
|
|
782
|
-
"didTheyAdopt": "yes",
|
|
783
|
-
"constructedOrAdapted": "yes",
|
|
784
|
-
"constructedDescription": "To delete",
|
|
785
|
-
"doYouHavePhotosOfTheItemToAdd": "yes",
|
|
786
|
-
"photos": [
|
|
787
|
-
{
|
|
788
|
-
"name": "smiley.jpg",
|
|
789
|
-
"extension": "jpg",
|
|
790
|
-
"type": "image/jpeg",
|
|
791
|
-
"file": {},
|
|
792
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b"
|
|
793
|
-
}
|
|
794
|
-
],
|
|
795
|
-
"whatDoThePhotosShow": [
|
|
796
|
-
{
|
|
797
|
-
"label": "Concealment",
|
|
798
|
-
"value": "concealment"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"label": "Item identification eg drug test",
|
|
802
|
-
"value": "itemIdentification"
|
|
803
|
-
}
|
|
804
|
-
]
|
|
805
|
-
}
|
|
806
|
-
],
|
|
807
|
-
"lockup": {
|
|
808
|
-
"value": "LTN",
|
|
809
|
-
"label": "Luton Airport Lockup",
|
|
810
|
-
"hidden": true
|
|
811
|
-
},
|
|
812
|
-
"meta": {
|
|
813
|
-
"documents": [
|
|
814
|
-
{
|
|
815
|
-
"name": "smiley.jpg",
|
|
816
|
-
"extension": "jpg",
|
|
817
|
-
"type": "image/jpeg",
|
|
818
|
-
"file": {},
|
|
819
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b",
|
|
820
|
-
"indexInField": 0,
|
|
821
|
-
"field": "items[0].photos",
|
|
822
|
-
"size": 6495
|
|
823
|
-
}
|
|
824
|
-
]
|
|
825
|
-
},
|
|
826
|
-
"photosUploadSpinner": false,
|
|
827
|
-
"photosNextPage": "seals",
|
|
828
|
-
"epmsSubmitted": true,
|
|
829
|
-
"whenWasTheSelectionDecidedRadio": "beforeArrival",
|
|
830
|
-
"whoDecidedSelection": "borderForceOfficer",
|
|
831
|
-
"intelligenceReferenceNumber": "To delete",
|
|
832
|
-
"controlStrategies": [
|
|
833
|
-
{
|
|
834
|
-
"id": "1707769001041",
|
|
835
|
-
"controlStrategy": {
|
|
836
|
-
"id": 16,
|
|
837
|
-
"strategy": "Alcohol",
|
|
838
|
-
"priority": "C",
|
|
839
|
-
"code": "ALCOHOL",
|
|
840
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
841
|
-
"validto": null,
|
|
842
|
-
"updatedby": null,
|
|
843
|
-
"value": "ALCOHOL",
|
|
844
|
-
"label": "Alcohol"
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
],
|
|
848
|
-
"whyWasPassengerStopped": "dsadasdasdsa",
|
|
849
|
-
"peopleActiveId": "0",
|
|
850
|
-
"peopleNumberedIndex": 1,
|
|
851
|
-
"form": {
|
|
852
|
-
"formVersionId": "fbf7d816ac6dbcc0f9e7cdeef11b1b3c3399c904",
|
|
853
|
-
"title": "Add a border event",
|
|
854
|
-
"name": "cop-addABorderEvent",
|
|
855
|
-
"submissionDate": "2024-02-12T20:17:09.907Z",
|
|
856
|
-
"submittedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
857
|
-
"submittingUsersName": "Peter",
|
|
858
|
-
"submissionTeam": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
859
|
-
"draftForm": true,
|
|
860
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43"
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
"borderProcessKey": "handleEventAtBorder2",
|
|
864
|
-
"userInitiator": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
865
|
-
"initiatedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
866
|
-
"status": "DRAFT"
|
|
867
|
-
},
|
|
868
|
-
"instance": {
|
|
869
|
-
"caseInstanceId": null,
|
|
870
|
-
"businessKey": "DEV-20240212-1174",
|
|
871
|
-
"ended": false,
|
|
872
|
-
"tenantId": null,
|
|
873
|
-
"links": [],
|
|
874
|
-
"id": "35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
875
|
-
"suspended": false,
|
|
876
|
-
"definitionId": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74"
|
|
877
|
-
},
|
|
878
|
-
"definition": {
|
|
879
|
-
"resource": "collect-event-at-border-2.bpmn",
|
|
880
|
-
"startableInTasklist": true,
|
|
881
|
-
"description": "Previously called ‘Collect event at border’. Use at all ports, including Luton and Stansted.",
|
|
882
|
-
"historyTimeToLive": null,
|
|
883
|
-
"versionTag": null,
|
|
884
|
-
"version": 9,
|
|
885
|
-
"suspended": false,
|
|
886
|
-
"diagram": null,
|
|
887
|
-
"deploymentId": "11388834-b48d-11ee-8088-52b814b55f74",
|
|
888
|
-
"name": "Add border event",
|
|
889
|
-
"tenantId": null,
|
|
890
|
-
"id": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74",
|
|
891
|
-
"category": "http://bpmn.io/schema/bpmn",
|
|
892
|
-
"key": "cop-addABorderEvent"
|
|
893
|
-
}
|
|
894
|
-
},
|
|
895
|
-
"taskContext": {
|
|
896
|
-
"owner": null,
|
|
897
|
-
"processDefinitionId": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74",
|
|
898
|
-
"processInstanceId": "35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
899
|
-
"caseExecutionId": null,
|
|
900
|
-
"variables": {
|
|
901
|
-
"cop-addABorderEvent": {
|
|
902
|
-
"id": "35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
903
|
-
"businessKey": "DEV-20240212-1174",
|
|
904
|
-
"modeOfTransport": {
|
|
905
|
-
"id": 2,
|
|
906
|
-
"mode": "Scheduled Air Passenger",
|
|
907
|
-
"modecode": "airpass",
|
|
908
|
-
"crossingtype": [
|
|
909
|
-
"air"
|
|
910
|
-
],
|
|
911
|
-
"value": "Scheduled Air Passenger",
|
|
912
|
-
"label": "Scheduled Air Passenger"
|
|
913
|
-
},
|
|
914
|
-
"port": {
|
|
915
|
-
"id": 3415,
|
|
916
|
-
"name": "Luton",
|
|
917
|
-
"sea": false,
|
|
918
|
-
"air": true,
|
|
919
|
-
"land": false,
|
|
920
|
-
"rail": false,
|
|
921
|
-
"countryid": 234,
|
|
922
|
-
"iata": "LTN",
|
|
923
|
-
"value": "3415",
|
|
924
|
-
"label": "Luton"
|
|
925
|
-
},
|
|
926
|
-
"formStatus": {
|
|
927
|
-
"tasks": {
|
|
928
|
-
"undefined": {},
|
|
929
|
-
"Enter event details": {
|
|
930
|
-
"complete": true,
|
|
931
|
-
"currentPage": "eventDetailsCya"
|
|
932
|
-
},
|
|
933
|
-
"Enter item and storage details": {
|
|
934
|
-
"complete": true,
|
|
935
|
-
"currentPage": "whatHappensNext"
|
|
936
|
-
},
|
|
937
|
-
"search-and-interception-details-airpax": {
|
|
938
|
-
"complete": true,
|
|
939
|
-
"currentPage": "search-cya"
|
|
940
|
-
},
|
|
941
|
-
"People details": {
|
|
942
|
-
"complete": false,
|
|
943
|
-
"currentPage": "people"
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
"taskPage": "people"
|
|
947
|
-
},
|
|
948
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43",
|
|
949
|
-
"links": [
|
|
950
|
-
{
|
|
951
|
-
"method": "GET",
|
|
952
|
-
"href": "https://blue.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
953
|
-
"rel": "self"
|
|
954
|
-
}
|
|
955
|
-
],
|
|
956
|
-
"definitionId": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74",
|
|
957
|
-
"caseInstanceId": null,
|
|
958
|
-
"ended": false,
|
|
959
|
-
"suspended": false,
|
|
960
|
-
"tenantId": null,
|
|
961
|
-
"whatHappened": "itemsOnAPerson",
|
|
962
|
-
"eventDateTime": {
|
|
963
|
-
"eventDate": "12-02-2024",
|
|
964
|
-
"eventTime": "10:10"
|
|
965
|
-
},
|
|
966
|
-
"centaurReference": "E1111111",
|
|
967
|
-
"leadOfficerEmail": {
|
|
968
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
969
|
-
"label": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
970
|
-
"value": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
971
|
-
"defaultteamid": "fe846217-0e95-423d-bb77-bb6480d31c46"
|
|
972
|
-
},
|
|
973
|
-
"officerEmails": [],
|
|
974
|
-
"operationOrExercise": "no",
|
|
975
|
-
"operationOrExerciseName": "To delete",
|
|
976
|
-
"itemsActiveId": "1707768868458",
|
|
977
|
-
"itemsNumberedIndex": 1,
|
|
978
|
-
"items": [
|
|
979
|
-
{
|
|
980
|
-
"id": "1707768868458",
|
|
981
|
-
"sealNumber": "werty7564321",
|
|
982
|
-
"itemCategory": {
|
|
983
|
-
"id": 6,
|
|
984
|
-
"category": "Alcohol",
|
|
985
|
-
"description": "Beers, Wines, Spirits etc.",
|
|
986
|
-
"validfrom": "2023-01-10T00:00:01.000Z",
|
|
987
|
-
"validto": null,
|
|
988
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
989
|
-
"synonyms": [
|
|
990
|
-
"'Beer'",
|
|
991
|
-
"'Wines'",
|
|
992
|
-
"'Spirits'"
|
|
993
|
-
],
|
|
994
|
-
"value": "6",
|
|
995
|
-
"label": "Alcohol"
|
|
996
|
-
},
|
|
997
|
-
"itemSubCategory": {
|
|
998
|
-
"id": 1800,
|
|
999
|
-
"name": "Beer",
|
|
1000
|
-
"description": null,
|
|
1001
|
-
"itemcategoriesid": 6,
|
|
1002
|
-
"cites": false,
|
|
1003
|
-
"poao": false,
|
|
1004
|
-
"cbrn": false,
|
|
1005
|
-
"document": false,
|
|
1006
|
-
"tobacco": false,
|
|
1007
|
-
"alcohol": true,
|
|
1008
|
-
"weapons": false,
|
|
1009
|
-
"firearms": false,
|
|
1010
|
-
"ipr": false,
|
|
1011
|
-
"strategic": false,
|
|
1012
|
-
"avtc": false,
|
|
1013
|
-
"oils": false,
|
|
1014
|
-
"commodity": false,
|
|
1015
|
-
"good": false,
|
|
1016
|
-
"plant": false,
|
|
1017
|
-
"animal": false,
|
|
1018
|
-
"drugs": false,
|
|
1019
|
-
"financial": false,
|
|
1020
|
-
"indecent": false,
|
|
1021
|
-
"vehicle": false,
|
|
1022
|
-
"medical": false,
|
|
1023
|
-
"unitid": 4,
|
|
1024
|
-
"seizureqty": null,
|
|
1025
|
-
"ienqty": null,
|
|
1026
|
-
"validfrom": "2023-02-22T00:00:01.000Z",
|
|
1027
|
-
"validto": null,
|
|
1028
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1029
|
-
"uof": false,
|
|
1030
|
-
"epmscode": 1137,
|
|
1031
|
-
"epmscategory": "AHL",
|
|
1032
|
-
"unitarray": [
|
|
1033
|
-
4,
|
|
1034
|
-
7
|
|
1035
|
-
],
|
|
1036
|
-
"categoryarray": [
|
|
1037
|
-
6
|
|
1038
|
-
],
|
|
1039
|
-
"lethalfirearm": null,
|
|
1040
|
-
"nonlethalfirearm": null,
|
|
1041
|
-
"value": "1800",
|
|
1042
|
-
"label": "Beer"
|
|
1043
|
-
},
|
|
1044
|
-
"seizedOrDetained": "seized",
|
|
1045
|
-
"legalReasonForSeizing": {
|
|
1046
|
-
"id": 1,
|
|
1047
|
-
"epmsvalue": 2,
|
|
1048
|
-
"reason": "CEMA",
|
|
1049
|
-
"description": "Customs and excise management act 1979",
|
|
1050
|
-
"validfrom": "2022-09-21T00:00:01.000Z",
|
|
1051
|
-
"validto": null,
|
|
1052
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1053
|
-
"value": "1",
|
|
1054
|
-
"label": "Customs and excise management act 1979"
|
|
1055
|
-
},
|
|
1056
|
-
"abvDetails": {
|
|
1057
|
-
"abv": "10"
|
|
1058
|
-
},
|
|
1059
|
-
"detectionTechnologies": [
|
|
1060
|
-
{
|
|
1061
|
-
"id": "1707768879009",
|
|
1062
|
-
"detectionTechnology": {
|
|
1063
|
-
"id": 5,
|
|
1064
|
-
"name": "Automatic Number Plate Recognition",
|
|
1065
|
-
"value": "5",
|
|
1066
|
-
"label": "Automatic Number Plate Recognition"
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
],
|
|
1070
|
-
"searchTechniques": [
|
|
1071
|
-
{
|
|
1072
|
-
"id": "1707768879009",
|
|
1073
|
-
"searchTechnique": {
|
|
1074
|
-
"id": 27,
|
|
1075
|
-
"type": "Baggage",
|
|
1076
|
-
"value": "27",
|
|
1077
|
-
"label": "Baggage"
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
],
|
|
1081
|
-
"concealmentMethods": [
|
|
1082
|
-
{
|
|
1083
|
-
"id": "1707768879013",
|
|
1084
|
-
"concealmentMethod": {
|
|
1085
|
-
"id": 24,
|
|
1086
|
-
"method": "Air filter",
|
|
1087
|
-
"value": "24",
|
|
1088
|
-
"label": "Air filter"
|
|
1089
|
-
}
|
|
1090
|
-
}
|
|
1091
|
-
],
|
|
1092
|
-
"brandText": "To delete",
|
|
1093
|
-
"unitOfMeasure": {
|
|
1094
|
-
"id": 12,
|
|
1095
|
-
"unit": "Litres (l)",
|
|
1096
|
-
"validfrom": "2023-02-21T00:00:01.000Z",
|
|
1097
|
-
"validto": null,
|
|
1098
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1099
|
-
"code": 4,
|
|
1100
|
-
"epmsid": 5,
|
|
1101
|
-
"decimal": true,
|
|
1102
|
-
"shortname": "l",
|
|
1103
|
-
"value": "12",
|
|
1104
|
-
"label": "Litres (l)"
|
|
1105
|
-
},
|
|
1106
|
-
"quantity": "10",
|
|
1107
|
-
"itemDescription": "descroptn",
|
|
1108
|
-
"willTheItemBeStored": "yes",
|
|
1109
|
-
"storageLocation": {
|
|
1110
|
-
"value": "LTNFZ",
|
|
1111
|
-
"label": "Freezers"
|
|
1112
|
-
},
|
|
1113
|
-
"shouldThisItemBeDestroyed": "yes",
|
|
1114
|
-
"instructionsToThePropertyOfficer": "To delete",
|
|
1115
|
-
"specialHandlingInstructions": "yes",
|
|
1116
|
-
"type": [
|
|
1117
|
-
{
|
|
1118
|
-
"id": 1,
|
|
1119
|
-
"epmsvalue": 2,
|
|
1120
|
-
"description": "Bulky Item",
|
|
1121
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
1122
|
-
"validto": null,
|
|
1123
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1124
|
-
"value": "Bulky Item",
|
|
1125
|
-
"label": "Bulky Item"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"id": 9,
|
|
1129
|
-
"epmsvalue": 10,
|
|
1130
|
-
"description": "Contaminated",
|
|
1131
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
1132
|
-
"validto": null,
|
|
1133
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1134
|
-
"value": "Contaminated",
|
|
1135
|
-
"label": "Contaminated"
|
|
1136
|
-
}
|
|
1137
|
-
],
|
|
1138
|
-
"hasAnotherAgencyAdoptedTheItem": "yes",
|
|
1139
|
-
"agency": {
|
|
1140
|
-
"id": 181,
|
|
1141
|
-
"name": "3rd Country Unit",
|
|
1142
|
-
"abbreviatedname": "3RDCNTRY",
|
|
1143
|
-
"seizure": false,
|
|
1144
|
-
"intelligence": true,
|
|
1145
|
-
"disclosure": true,
|
|
1146
|
-
"referralfrom": true,
|
|
1147
|
-
"referralto": true,
|
|
1148
|
-
"validfrom": "2020-11-26T00:01:00.000Z",
|
|
1149
|
-
"validto": null,
|
|
1150
|
-
"updatedby": null,
|
|
1151
|
-
"international": false,
|
|
1152
|
-
"epmsagencyid": 9,
|
|
1153
|
-
"value": "181",
|
|
1154
|
-
"label": "3rd Country Unit"
|
|
1155
|
-
},
|
|
1156
|
-
"epmsOfficerEmails": {
|
|
1157
|
-
"value": "Abedul.hussain8@homeoffice.gov.uk",
|
|
1158
|
-
"label": "Abedul.hussain8@homeoffice.gov.uk"
|
|
1159
|
-
},
|
|
1160
|
-
"agencyReferenceCode": "To delete",
|
|
1161
|
-
"didTheyAdopt": "yes",
|
|
1162
|
-
"constructedOrAdapted": "yes",
|
|
1163
|
-
"constructedDescription": "To delete",
|
|
1164
|
-
"doYouHavePhotosOfTheItemToAdd": "yes",
|
|
1165
|
-
"photos": [
|
|
1166
|
-
{
|
|
1167
|
-
"name": "smiley.jpg",
|
|
1168
|
-
"extension": "jpg",
|
|
1169
|
-
"type": "image/jpeg",
|
|
1170
|
-
"file": {},
|
|
1171
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b"
|
|
1172
|
-
}
|
|
1173
|
-
],
|
|
1174
|
-
"whatDoThePhotosShow": [
|
|
1175
|
-
{
|
|
1176
|
-
"label": "Concealment",
|
|
1177
|
-
"value": "concealment"
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
"label": "Item identification eg drug test",
|
|
1181
|
-
"value": "itemIdentification"
|
|
1182
|
-
}
|
|
1183
|
-
]
|
|
1184
|
-
}
|
|
1185
|
-
],
|
|
1186
|
-
"lockup": {
|
|
1187
|
-
"value": "LTN",
|
|
1188
|
-
"label": "Luton Airport Lockup",
|
|
1189
|
-
"hidden": true
|
|
1190
|
-
},
|
|
1191
|
-
"meta": {
|
|
1192
|
-
"documents": [
|
|
1193
|
-
{
|
|
1194
|
-
"name": "smiley.jpg",
|
|
1195
|
-
"extension": "jpg",
|
|
1196
|
-
"type": "image/jpeg",
|
|
1197
|
-
"file": {},
|
|
1198
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b",
|
|
1199
|
-
"indexInField": 0,
|
|
1200
|
-
"field": "items[0].photos",
|
|
1201
|
-
"size": 6495
|
|
1202
|
-
}
|
|
1203
|
-
]
|
|
1204
|
-
},
|
|
1205
|
-
"photosUploadSpinner": false,
|
|
1206
|
-
"photosNextPage": "seals",
|
|
1207
|
-
"epmsSubmitted": true,
|
|
1208
|
-
"whenWasTheSelectionDecidedRadio": "beforeArrival",
|
|
1209
|
-
"whoDecidedSelection": "borderForceOfficer",
|
|
1210
|
-
"intelligenceReferenceNumber": "To delete",
|
|
1211
|
-
"controlStrategies": [
|
|
1212
|
-
{
|
|
1213
|
-
"id": "1707769001041",
|
|
1214
|
-
"controlStrategy": {
|
|
1215
|
-
"id": 16,
|
|
1216
|
-
"strategy": "Alcohol",
|
|
1217
|
-
"priority": "C",
|
|
1218
|
-
"code": "ALCOHOL",
|
|
1219
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
1220
|
-
"validto": null,
|
|
1221
|
-
"updatedby": null,
|
|
1222
|
-
"value": "ALCOHOL",
|
|
1223
|
-
"label": "Alcohol"
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
],
|
|
1227
|
-
"whyWasPassengerStopped": "dsadasdasdsa",
|
|
1228
|
-
"peopleActiveId": "0",
|
|
1229
|
-
"peopleNumberedIndex": 1,
|
|
1230
|
-
"form": {
|
|
1231
|
-
"formVersionId": "fbf7d816ac6dbcc0f9e7cdeef11b1b3c3399c904",
|
|
1232
|
-
"title": "Add a border event",
|
|
1233
|
-
"name": "cop-addABorderEvent",
|
|
1234
|
-
"submissionDate": "2024-02-12T20:17:09.907Z",
|
|
1235
|
-
"submittedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1236
|
-
"submittingUsersName": "Peter",
|
|
1237
|
-
"submissionTeam": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
1238
|
-
"draftForm": true,
|
|
1239
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43"
|
|
1240
|
-
}
|
|
1241
|
-
},
|
|
1242
|
-
"borderProcessKey": "handleEventAtBorder2",
|
|
1243
|
-
"userInitiator": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1244
|
-
"initiatedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1245
|
-
"status": "DRAFT"
|
|
1246
|
-
},
|
|
1247
|
-
"caseDefinitionId": null,
|
|
1248
|
-
"formKey": "cop-addABorderEvent",
|
|
1249
|
-
"created": "2024-02-12T20:13:38.580+0000",
|
|
1250
|
-
"parentTaskId": null,
|
|
1251
|
-
"caseInstanceId": null,
|
|
1252
|
-
"description": null,
|
|
1253
|
-
"priority": 50,
|
|
1254
|
-
"camundaFormRef": null,
|
|
1255
|
-
"suspended": false,
|
|
1256
|
-
"delegationState": null,
|
|
1257
|
-
"followUp": null,
|
|
1258
|
-
"executionId": "35675f02-c9e3-11ee-a4c1-aae7e2936d13",
|
|
1259
|
-
"taskDefinitionKey": "collectRecordBorderEventForm",
|
|
1260
|
-
"due": null,
|
|
1261
|
-
"name": "Record Border Event",
|
|
1262
|
-
"tenantId": null,
|
|
1263
|
-
"id": "3567ad24-c9e3-11ee-a4c1-aae7e2936d13",
|
|
1264
|
-
"assignee": "peter.fajemisin@digital.homeoffice.gov.uk"
|
|
1265
|
-
},
|
|
1266
|
-
"id": "35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
1267
|
-
"businessKey": "DEV-20240212-1174",
|
|
1268
|
-
"modeOfTransport": {
|
|
1269
|
-
"id": 2,
|
|
1270
|
-
"mode": "Scheduled Air Passenger",
|
|
1271
|
-
"modecode": "airpass",
|
|
1272
|
-
"crossingtype": [
|
|
1273
|
-
"air"
|
|
1274
|
-
],
|
|
1275
|
-
"value": "Scheduled Air Passenger",
|
|
1276
|
-
"label": "Scheduled Air Passenger"
|
|
1277
|
-
},
|
|
1278
|
-
"port": {
|
|
1279
|
-
"id": 3415,
|
|
1280
|
-
"name": "Luton",
|
|
1281
|
-
"sea": false,
|
|
1282
|
-
"air": true,
|
|
1283
|
-
"land": false,
|
|
1284
|
-
"rail": false,
|
|
1285
|
-
"countryid": 234,
|
|
1286
|
-
"iata": "LTN",
|
|
1287
|
-
"value": "3415",
|
|
1288
|
-
"label": "Luton"
|
|
1289
|
-
},
|
|
1290
|
-
"formStatus": {
|
|
1291
|
-
"tasks": {
|
|
1292
|
-
"undefined": {},
|
|
1293
|
-
"Enter event details": {
|
|
1294
|
-
"complete": true,
|
|
1295
|
-
"currentPage": "eventDetailsCya"
|
|
1296
|
-
},
|
|
1297
|
-
"Enter item and storage details": {
|
|
1298
|
-
"complete": true,
|
|
1299
|
-
"currentPage": "whatHappensNext"
|
|
1300
|
-
},
|
|
1301
|
-
"search-and-interception-details-airpax": {
|
|
1302
|
-
"complete": true,
|
|
1303
|
-
"currentPage": "search-cya"
|
|
1304
|
-
},
|
|
1305
|
-
"People details": {
|
|
1306
|
-
"complete": false,
|
|
1307
|
-
"currentPage": "people"
|
|
1308
|
-
}
|
|
1309
|
-
},
|
|
1310
|
-
"taskPage": "people"
|
|
1311
|
-
},
|
|
1312
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43",
|
|
1313
|
-
"links": [
|
|
1314
|
-
{
|
|
1315
|
-
"method": "GET",
|
|
1316
|
-
"href": "https://blue.dev.cop.homeoffice.gov.uk/camunda/engine-rest/process-instance/35533ab0-c9e3-11ee-a4c1-aae7e2936d13",
|
|
1317
|
-
"rel": "self"
|
|
1318
|
-
}
|
|
1319
|
-
],
|
|
1320
|
-
"definitionId": "cop-addABorderEvent:9:113b6e67-b48d-11ee-8088-52b814b55f74",
|
|
1321
|
-
"caseInstanceId": null,
|
|
1322
|
-
"ended": false,
|
|
1323
|
-
"suspended": false,
|
|
1324
|
-
"tenantId": null,
|
|
1325
|
-
"whatHappened": "itemsOnAPerson",
|
|
1326
|
-
"eventDateTime": {
|
|
1327
|
-
"eventDate": "12-02-2024",
|
|
1328
|
-
"eventTime": "10:10"
|
|
1329
|
-
},
|
|
1330
|
-
"centaurReference": "E1111111",
|
|
1331
|
-
"leadOfficerEmail": {
|
|
1332
|
-
"email": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1333
|
-
"label": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1334
|
-
"value": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1335
|
-
"defaultteamid": "fe846217-0e95-423d-bb77-bb6480d31c46"
|
|
1336
|
-
},
|
|
1337
|
-
"officerEmails": [],
|
|
1338
|
-
"operationOrExercise": "no",
|
|
1339
|
-
"operationOrExerciseName": "To delete",
|
|
1340
|
-
"itemsActiveId": "1707768868458",
|
|
1341
|
-
"itemsNumberedIndex": 1,
|
|
1342
|
-
"items": [
|
|
1343
|
-
{
|
|
1344
|
-
"id": "1707768868458",
|
|
1345
|
-
"sealNumber": "werty7564321",
|
|
1346
|
-
"itemCategory": {
|
|
1347
|
-
"id": 6,
|
|
1348
|
-
"category": "Alcohol",
|
|
1349
|
-
"description": "Beers, Wines, Spirits etc.",
|
|
1350
|
-
"validfrom": "2023-01-10T00:00:01.000Z",
|
|
1351
|
-
"validto": null,
|
|
1352
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1353
|
-
"synonyms": [
|
|
1354
|
-
"'Beer'",
|
|
1355
|
-
"'Wines'",
|
|
1356
|
-
"'Spirits'"
|
|
1357
|
-
],
|
|
1358
|
-
"value": "6",
|
|
1359
|
-
"label": "Alcohol"
|
|
1360
|
-
},
|
|
1361
|
-
"itemSubCategory": {
|
|
1362
|
-
"id": 1800,
|
|
1363
|
-
"name": "Beer",
|
|
1364
|
-
"description": null,
|
|
1365
|
-
"itemcategoriesid": 6,
|
|
1366
|
-
"cites": false,
|
|
1367
|
-
"poao": false,
|
|
1368
|
-
"cbrn": false,
|
|
1369
|
-
"document": false,
|
|
1370
|
-
"tobacco": false,
|
|
1371
|
-
"alcohol": true,
|
|
1372
|
-
"weapons": false,
|
|
1373
|
-
"firearms": false,
|
|
1374
|
-
"ipr": false,
|
|
1375
|
-
"strategic": false,
|
|
1376
|
-
"avtc": false,
|
|
1377
|
-
"oils": false,
|
|
1378
|
-
"commodity": false,
|
|
1379
|
-
"good": false,
|
|
1380
|
-
"plant": false,
|
|
1381
|
-
"animal": false,
|
|
1382
|
-
"drugs": false,
|
|
1383
|
-
"financial": false,
|
|
1384
|
-
"indecent": false,
|
|
1385
|
-
"vehicle": false,
|
|
1386
|
-
"medical": false,
|
|
1387
|
-
"unitid": 4,
|
|
1388
|
-
"seizureqty": null,
|
|
1389
|
-
"ienqty": null,
|
|
1390
|
-
"validfrom": "2023-02-22T00:00:01.000Z",
|
|
1391
|
-
"validto": null,
|
|
1392
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1393
|
-
"uof": false,
|
|
1394
|
-
"epmscode": 1137,
|
|
1395
|
-
"epmscategory": "AHL",
|
|
1396
|
-
"unitarray": [
|
|
1397
|
-
4,
|
|
1398
|
-
7
|
|
1399
|
-
],
|
|
1400
|
-
"categoryarray": [
|
|
1401
|
-
6
|
|
1402
|
-
],
|
|
1403
|
-
"lethalfirearm": null,
|
|
1404
|
-
"nonlethalfirearm": null,
|
|
1405
|
-
"value": "1800",
|
|
1406
|
-
"label": "Beer"
|
|
1407
|
-
},
|
|
1408
|
-
"seizedOrDetained": "seized",
|
|
1409
|
-
"legalReasonForSeizing": {
|
|
1410
|
-
"id": 1,
|
|
1411
|
-
"epmsvalue": 2,
|
|
1412
|
-
"reason": "CEMA",
|
|
1413
|
-
"description": "Customs and excise management act 1979",
|
|
1414
|
-
"validfrom": "2022-09-21T00:00:01.000Z",
|
|
1415
|
-
"validto": null,
|
|
1416
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1417
|
-
"value": "1",
|
|
1418
|
-
"label": "Customs and excise management act 1979"
|
|
1419
|
-
},
|
|
1420
|
-
"abvDetails": {
|
|
1421
|
-
"abv": "10"
|
|
1422
|
-
},
|
|
1423
|
-
"detectionTechnologies": [
|
|
1424
|
-
{
|
|
1425
|
-
"id": "1707768879009",
|
|
1426
|
-
"detectionTechnology": {
|
|
1427
|
-
"id": 5,
|
|
1428
|
-
"name": "Automatic Number Plate Recognition",
|
|
1429
|
-
"value": "5",
|
|
1430
|
-
"label": "Automatic Number Plate Recognition"
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
],
|
|
1434
|
-
"searchTechniques": [
|
|
1435
|
-
{
|
|
1436
|
-
"id": "1707768879009",
|
|
1437
|
-
"searchTechnique": {
|
|
1438
|
-
"id": 27,
|
|
1439
|
-
"type": "Baggage",
|
|
1440
|
-
"value": "27",
|
|
1441
|
-
"label": "Baggage"
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
|
-
],
|
|
1445
|
-
"concealmentMethods": [
|
|
1446
|
-
{
|
|
1447
|
-
"id": "1707768879013",
|
|
1448
|
-
"concealmentMethod": {
|
|
1449
|
-
"id": 24,
|
|
1450
|
-
"method": "Air filter",
|
|
1451
|
-
"value": "24",
|
|
1452
|
-
"label": "Air filter"
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
],
|
|
1456
|
-
"brandText": "To delete",
|
|
1457
|
-
"unitOfMeasure": {
|
|
1458
|
-
"id": 12,
|
|
1459
|
-
"unit": "Litres (l)",
|
|
1460
|
-
"validfrom": "2023-02-21T00:00:01.000Z",
|
|
1461
|
-
"validto": null,
|
|
1462
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1463
|
-
"code": 4,
|
|
1464
|
-
"epmsid": 5,
|
|
1465
|
-
"decimal": true,
|
|
1466
|
-
"shortname": "l",
|
|
1467
|
-
"value": "12",
|
|
1468
|
-
"label": "Litres (l)"
|
|
1469
|
-
},
|
|
1470
|
-
"quantity": "10",
|
|
1471
|
-
"itemDescription": "descroptn",
|
|
1472
|
-
"willTheItemBeStored": "yes",
|
|
1473
|
-
"storageLocation": {
|
|
1474
|
-
"value": "LTNFZ",
|
|
1475
|
-
"label": "Freezers"
|
|
1476
|
-
},
|
|
1477
|
-
"shouldThisItemBeDestroyed": "yes",
|
|
1478
|
-
"instructionsToThePropertyOfficer": "To delete",
|
|
1479
|
-
"specialHandlingInstructions": "yes",
|
|
1480
|
-
"type": [
|
|
1481
|
-
{
|
|
1482
|
-
"id": 1,
|
|
1483
|
-
"epmsvalue": 2,
|
|
1484
|
-
"description": "Bulky Item",
|
|
1485
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
1486
|
-
"validto": null,
|
|
1487
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1488
|
-
"value": "Bulky Item",
|
|
1489
|
-
"label": "Bulky Item"
|
|
1490
|
-
},
|
|
1491
|
-
{
|
|
1492
|
-
"id": 9,
|
|
1493
|
-
"epmsvalue": 10,
|
|
1494
|
-
"description": "Contaminated",
|
|
1495
|
-
"validfrom": "2022-08-18T00:00:01.000Z",
|
|
1496
|
-
"validto": null,
|
|
1497
|
-
"updatedby": "Mohammed Abdul Odud",
|
|
1498
|
-
"value": "Contaminated",
|
|
1499
|
-
"label": "Contaminated"
|
|
1500
|
-
}
|
|
1501
|
-
],
|
|
1502
|
-
"hasAnotherAgencyAdoptedTheItem": "yes",
|
|
1503
|
-
"agency": {
|
|
1504
|
-
"id": 181,
|
|
1505
|
-
"name": "3rd Country Unit",
|
|
1506
|
-
"abbreviatedname": "3RDCNTRY",
|
|
1507
|
-
"seizure": false,
|
|
1508
|
-
"intelligence": true,
|
|
1509
|
-
"disclosure": true,
|
|
1510
|
-
"referralfrom": true,
|
|
1511
|
-
"referralto": true,
|
|
1512
|
-
"validfrom": "2020-11-26T00:01:00.000Z",
|
|
1513
|
-
"validto": null,
|
|
1514
|
-
"updatedby": null,
|
|
1515
|
-
"international": false,
|
|
1516
|
-
"epmsagencyid": 9,
|
|
1517
|
-
"value": "181",
|
|
1518
|
-
"label": "3rd Country Unit"
|
|
1519
|
-
},
|
|
1520
|
-
"epmsOfficerEmails": {
|
|
1521
|
-
"value": "Abedul.hussain8@homeoffice.gov.uk",
|
|
1522
|
-
"label": "Abedul.hussain8@homeoffice.gov.uk"
|
|
1523
|
-
},
|
|
1524
|
-
"agencyReferenceCode": "To delete",
|
|
1525
|
-
"didTheyAdopt": "yes",
|
|
1526
|
-
"constructedOrAdapted": "yes",
|
|
1527
|
-
"constructedDescription": "To delete",
|
|
1528
|
-
"doYouHavePhotosOfTheItemToAdd": "yes",
|
|
1529
|
-
"photos": [
|
|
1530
|
-
{
|
|
1531
|
-
"name": "smiley.jpg",
|
|
1532
|
-
"extension": "jpg",
|
|
1533
|
-
"type": "image/jpeg",
|
|
1534
|
-
"file": {},
|
|
1535
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b"
|
|
1536
|
-
}
|
|
1537
|
-
],
|
|
1538
|
-
"whatDoThePhotosShow": [
|
|
1539
|
-
{
|
|
1540
|
-
"label": "Concealment",
|
|
1541
|
-
"value": "concealment"
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
"label": "Item identification eg drug test",
|
|
1545
|
-
"value": "itemIdentification"
|
|
1546
|
-
}
|
|
1547
|
-
]
|
|
1548
|
-
}
|
|
1549
|
-
],
|
|
1550
|
-
"lockup": {
|
|
1551
|
-
"value": "LTN",
|
|
1552
|
-
"label": "Luton Airport Lockup",
|
|
1553
|
-
"hidden": true
|
|
1554
|
-
},
|
|
1555
|
-
"meta": {
|
|
1556
|
-
"documents": [
|
|
1557
|
-
{
|
|
1558
|
-
"name": "smiley.jpg",
|
|
1559
|
-
"extension": "jpg",
|
|
1560
|
-
"type": "image/jpeg",
|
|
1561
|
-
"file": {},
|
|
1562
|
-
"url": "https://cop-file-upload-service.dev.cop.homeoffice.gov.uk/files/DEV-20240212-1174/clean/da005aec-34cd-43e1-99a5-eaa9c4d6284b",
|
|
1563
|
-
"indexInField": 0,
|
|
1564
|
-
"field": "items[0].photos",
|
|
1565
|
-
"size": 6495
|
|
1566
|
-
}
|
|
1567
|
-
]
|
|
1568
|
-
},
|
|
1569
|
-
"photosUploadSpinner": false,
|
|
1570
|
-
"photosNextPage": "seals",
|
|
1571
|
-
"epmsSubmitted": true,
|
|
1572
|
-
"whenWasTheSelectionDecidedRadio": "beforeArrival",
|
|
1573
|
-
"whoDecidedSelection": "borderForceOfficer",
|
|
1574
|
-
"intelligenceReferenceNumber": "To delete",
|
|
1575
|
-
"controlStrategies": [
|
|
1576
|
-
{
|
|
1577
|
-
"id": "1707769001041",
|
|
1578
|
-
"controlStrategy": {
|
|
1579
|
-
"id": 16,
|
|
1580
|
-
"strategy": "Alcohol",
|
|
1581
|
-
"priority": "C",
|
|
1582
|
-
"code": "ALCOHOL",
|
|
1583
|
-
"validfrom": "2019-01-01T00:01:00.000Z",
|
|
1584
|
-
"validto": null,
|
|
1585
|
-
"updatedby": null,
|
|
1586
|
-
"value": "ALCOHOL",
|
|
1587
|
-
"label": "Alcohol"
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
],
|
|
1591
|
-
"whyWasPassengerStopped": "dsadasdasdsa",
|
|
1592
|
-
"peopleActiveId": "0",
|
|
1593
|
-
"peopleNumberedIndex": 1,
|
|
1594
|
-
"form": {
|
|
1595
|
-
"formVersionId": "fbf7d816ac6dbcc0f9e7cdeef11b1b3c3399c904",
|
|
1596
|
-
"title": "Add a border event",
|
|
1597
|
-
"name": "cop-addABorderEvent",
|
|
1598
|
-
"submissionDate": "2024-02-12T20:17:09.907Z",
|
|
1599
|
-
"submittedBy": "peter.fajemisin@digital.homeoffice.gov.uk",
|
|
1600
|
-
"submittingUsersName": "Peter",
|
|
1601
|
-
"submissionTeam": "fe846217-0e95-423d-bb77-bb6480d31c46",
|
|
1602
|
-
"draftForm": true,
|
|
1603
|
-
"formInstanceId": "98379cec-5c46-4425-82b9-3f06fb44cc43"
|
|
1604
|
-
}
|
|
1605
|
-
}
|