-
Notifications
You must be signed in to change notification settings - Fork 0
Fetch recipients from Forms API #1336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
47665a0
Fetch recipients from Forms API when creating cover sheet containing …
akgagnat 023192c
Handlebars - default value if forms-api-url is not defined
akgagnat 3a1dc57
Form settings fetches recipients from the new forms api
akgagnat adf0fc1
Merge branch 'feature/mottaksadresse-v2' into feature/fetch-recipient…
akgagnat d2a1c07
Forgot to add RecipientsProvider
akgagnat 822cf3e
FIX cypress tests fetching recipients
akgagnat 0986be6
Verify that no form refers to the recipient to be deleted.
akgagnat 6bfcb39
Merge branch 'master' into feature/fetch-recipients-from-forms-api
akgagnat b706db9
Delete pages for maintenance of mottaksadresser through the formio api
akgagnat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
[ | ||
{ | ||
"recipientId": "6173f82ea9a3430003fac933", | ||
"name": "NAV Skanning sykmelding del A ", | ||
"poBoxAddress": "Postboks 1411 Sentrum ", | ||
"postalCode": "0109", | ||
"postalName": "Oslo", | ||
"createdAt": "2021-10-23T13:55:26.568+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2021-10-25T19:14:21.371+02:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "6177bea68e0d00000370f2ef", | ||
"name": "NAV Pensjon", | ||
"poBoxAddress": "Postboks 6600 Etterstad", | ||
"postalCode": "0607", | ||
"postalName": "Oslo", | ||
"createdAt": "2021-10-26T10:39:02.454+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2021-10-26T10:39:02.455+02:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "61af4b3a1127300003cb8d31", | ||
"name": "NAV Familie- og pensjonsytelser Oslo 2", | ||
"poBoxAddress": "Postboks 6600 Etterstad", | ||
"postalCode": "0607", | ||
"postalName": "Oslo", | ||
"createdAt": "2021-12-07T12:53:30.409+01:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2021-12-07T12:53:30.41+01:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "61c09f91ec962a0003c65014", | ||
"name": "NAV Skanning bidrag", | ||
"poBoxAddress": "PB 6215 Etterstad", | ||
"postalCode": "0603", | ||
"postalName": "Oslo", | ||
"createdAt": "2021-12-20T16:21:53.673+01:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2021-12-20T16:21:53.685+01:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "6246de1afd03d2caeeda2825", | ||
"name": "NAV Arbeid og ytelser lønnsgaranti", | ||
"poBoxAddress": "Postboks 6683 St. Olavs Plass", | ||
"postalCode": "0129", | ||
"postalName": "Oslo", | ||
"createdAt": "2022-04-01T13:12:26.434+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2022-04-01T13:12:26.438+02:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "62bc3f3f4a6e0d0bbc83bf30", | ||
"name": "NAV Økonomi pensjon", | ||
"poBoxAddress": "Postboks 6600 Etterstad", | ||
"postalCode": "0607", | ||
"postalName": "Oslo", | ||
"createdAt": "2022-06-29T14:02:07.432+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2022-06-29T14:02:07.433+02:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "6536331ef0f518e1e5cf0a30", | ||
"name": "NAV skanning", | ||
"poBoxAddress": "Postboks 1402", | ||
"postalCode": "0109", | ||
"postalName": "Oslo", | ||
"createdAt": "2023-10-23T10:47:26.101+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2023-10-23T10:47:26.103+02:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "65aa418f3ad9b63ae4a0d5a9", | ||
"name": "NAV Registerforvaltning - Tipsmottaket", | ||
"poBoxAddress": "Postboks 4330", | ||
"postalCode": "2308", | ||
"postalName": "Hamar", | ||
"createdAt": "2024-01-19T10:31:59.353+01:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2024-01-19T10:31:59.355+01:00", | ||
"changedBy": "IMPORT" | ||
}, | ||
{ | ||
"recipientId": "6173f7e7a9a3430003fac931", | ||
"name": "NAV Økonomi Stønad", | ||
"poBoxAddress": "Postboks 354", | ||
"postalCode": "8601", | ||
"postalName": "MO I RANA", | ||
"createdAt": "2021-10-23T13:54:15.537+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2024-10-16T12:18:09.155434+02:00", | ||
"changedBy": "Lars Olav Torvik" | ||
}, | ||
{ | ||
"recipientId": "90ead851-04e1-4f64-83e7-2e45a93a649d", | ||
"name": "NAV Test 3", | ||
"poBoxAddress": "Postboks 3", | ||
"postalCode": "0591", | ||
"postalName": "Oslo", | ||
"createdAt": "2024-10-10T21:10:51.218632+02:00", | ||
"createdBy": "Ann Katrin Gagnat", | ||
"changedAt": "2024-10-16T13:51:04.336741+02:00", | ||
"changedBy": "Ann Katrin Gagnat" | ||
}, | ||
{ | ||
"recipientId": "6177c7998e0d00000370f2f1", | ||
"name": "NAV Registerforvaltning 2", | ||
"poBoxAddress": "Tipsmottaket", | ||
"postalCode": "2308", | ||
"postalName": "Hamar", | ||
"createdAt": "2021-10-26T11:17:13.075+02:00", | ||
"createdBy": "IMPORT", | ||
"changedAt": "2024-10-18T10:29:09.889821+02:00", | ||
"changedBy": "Ann Katrin Gagnat" | ||
} | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Recipient } from '@navikt/skjemadigitalisering-shared-domain'; | ||
|
||
const recipients: Recipient[] = [ | ||
{ | ||
recipientId: '1', | ||
name: 'NAV alternativ skanning', | ||
poBoxAddress: 'Postboks 3', | ||
postalCode: '0591', | ||
postalName: 'Oslo', | ||
}, | ||
{ | ||
recipientId: '2', | ||
name: 'NAV skanning Molde', | ||
poBoxAddress: 'Storgata 1', | ||
postalCode: '6400', | ||
postalName: 'Molde', | ||
}, | ||
]; | ||
|
||
export default recipients; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.