-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ag|#1] add phone parsing logic to parsing service
side-effects: * add phone numbers to fixtures * provide mock responses for phone number API requests
- Loading branch information
1 parent
90c4b8e
commit c7e95f3
Showing
8 changed files
with
96 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
@@ -1,7 +1,12 @@ | ||
declare interface VanPhone { | ||
///////////// | ||
actionKitId?: number, | ||
vanId?: number, | ||
id?: number, | ||
///////////// | ||
phoneNumber: string, | ||
phoneType?: "H" | "W" | "C" | "M" | "F" | ||
ext?: string, | ||
isPreferred?: string, | ||
isPreferred?: boolean, | ||
phoneOptInStatus?: string, | ||
} |
This file contains 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 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 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 |
---|---|---|
|
@@ -69,7 +69,15 @@ export const vanEventTree: VanEvent[] = [ | |
email: "[email protected]", | ||
type: "P", | ||
}], | ||
phones: [], | ||
phones: [{ | ||
actionKitId: 568, | ||
phoneNumber: "6151234567", | ||
phoneType: "H", | ||
}, { | ||
actionKitId: 569, | ||
phoneNumber: "3041234567", | ||
phoneType: "M", | ||
}], | ||
// region: "", | ||
// source: "website", | ||
}, | ||
|
This file contains 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 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