-
Notifications
You must be signed in to change notification settings - Fork 7
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
Entities #58
Open
cdworak
wants to merge
291
commits into
v2
Choose a base branch
from
entities
base: v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+16,955
−1,921
Open
Entities #58
Changes from 1 commit
Commits
Show all changes
291 commits
Select commit
Hold shift + click to select a range
975df06
Add event entity support R=cdworak,usaha,bharvey (#69)
278d7ca
Updated entity code to accomodate varying Google Attributes fields (#77)
d928a6b
CustomFieldService -> LocationCustomFieldService; double pointer support
cdworak eecffe1
**Date to **string
cdworak d97d1ab
Add LocationType variables
xzou 02e0161
added cf endpoint location entitytype
byronharvey24 026f0fb
hours: Strip leading 0's
cdworak 3d51ed9
add external first party reviews create endpoint
byronharvey24 8f29470
Merge branch 'createReviewsEndpoint' into entities
byronharvey24 a58dc3f
Add lastLoginDate to Users struct PC-43487 (#84)
alexisgrow 976bb56
update reviews service to handle response
byronharvey24 9f7df51
Merge branch 'reviewsUpdates' into entities
byronharvey24 5916716
Add GetCountryCode() to LocationEntity
xzou 2da3d76
customfield_service helpers, add restuarant entity
cdworak 27a272a
Update variables for healthcare professional and healthcare facility
xzou 41976c6
Return Hours reference from SetClosedAllWeek (#89)
bhainesva 350d8e8
add healthcare_professional entity
cdworak 497c648
unorderedstrings: if both nil, not diff
cdworak b84ec9e
entity_diff: prevent diff from returning too early
cdworak 318c71c
Add LocationType Event
cdworak d45e0aa
Update searchID param to searchIDs (#96)
bhainesva 9360a79
Create review diff, update pointers, and add getter to entities
byronharvey24 281c05b
CustomFieldService: stop adding duplicates for multioption select ids
alexisgrow 2a4c54c
modify healthcare professional entity
cdworak 23cf225
Update hours helper struct serialize to return NullRegularHours()
xzou 55f27ca
export helper functions (#103)
cdworak 23f3b9c
add entity ACL function to users_service (#100)
alexisgrow dd356f0
Replace LanguageProfile with Entity (#104)
bhainesva 526070b
Add delete operation to entity service (#105)
byronharvey24 601c633
Add methods to DayHours; null check *Hours in GetDayHours
xzou abd2797
language profile upsert: add id param
cdworak 3f00a53
add support for LanguageProfile:ListAll (#107)
bhainesva e9714ae
yext-go changes for MBE ETL Implementation (#108)
02b446f
Update generic diff function name (#109)
fd8d030
Add methods to get the names of set multi-option and single-option va…
xzou 5623455
Set field on generic entity (#111)
cdworak 68b5b34
entity_unmarshal: handle null day hours (and other null values in obj…
cdworak 13881f0
entity_service: Add filters functionality
xzou 1d8549c
entity_unmarshal: Check if type is struct before calling NumField()
xzou 4dd13fa
entity: update json tag of specialties to specialities to match Yext …
cdworak 6094a59
Lat long (#116)
tbirdsall 15195c9
Degrees Fix (#117)
pshah28 d9b8b68
customfield_service: handle null option value (#118)
cdworak 2956ec3
Change type of logos from **Image to **Photo
xzou 133538f
Add support for fields param (#119)
bhainesva 77ed347
entity_diff: handle double pointer to nil (aka null)
cdworak 5b1c20a
Add Get NPI for Healthcare Professional Entity
creotutar 7e96640
unordered strings equal: Update null checking for interface (#122)
alexisgrow 569a37b
Hours: allow for Closed or closed (#124)
cdworak 547bf13
Add geomodifier to location entity (#127)
pshah28 c72be6b
SetLabelsWithUnorderedStrings: handle nil J=PC-43989
cdworak e9a8a52
Register healthcare professional entity and add Get functions
cdworak 23afbb1
get and set custom field values by field name
cdworak 864fce5
updating gender to **string
cdworak af2d590
Comment labels
byronharvey24 27e6419
Add and register ATM entity
xzou 7243539
Merge branch 'entities' of github.com:yext/yext-go into commentLabels
byronharvey24 9c8a2c5
Remove references to upper-snake-case entity types
xzou 628e0ad
Merge branch 'entities' of github.com:yext/yext-go into commentLabels
byronharvey24 266822e
add healthcare facility entity (#136)
pshah28 6517472
Merge branch 'commentLabels' into entities
byronharvey24 4b51b45
Added custom field type tests to entity differ (#140)
the-nemz aa98311
Add getters for VideoUrl (#141)
the-nemz 24f0309
Diff() for RawEntity
cdworak 59974c0
Add constant for Yext hours format
xzou 9df5ae7
Add and register Hotel entity (#138)
xzou 1c07385
J=PC-59368 Add image width, height and thumbnails fields for images (…
bjulian5 2e8b9a1
Adding breakfast field values (#149)
Zavoky 42749aa
add google fields to hotel entity (#145)
pshah28 b3dbf63
add GetMultiOptionIds for error handling (#151)
pshah28 bec3ff3
Add wifi profile field values (#152)
Zavoky 5ba2b25
Added Insurances Accepted field to healthcare facility (#153)
jesuyedavid 6780be3
return diff on nil fields (#154)
pshah28 d1d6359
reorder attributes of location entity
cdworak 41ac027
Add performers field to event entity (#148)
AidanFitzgerald ff88d9e
hours: unspecified all week (#157)
jesuyedavid 96b9590
Adding more hotel profile fields (#156)
Zavoky d9806fe
Changing to single pointer strings (#158)
Zavoky 9c6067c
added reviewLanguage and transactionId to reviews struct
AidanFitzgerald 10afc2b
added more fields to reviews struct
AidanFitzgerald dde8202
Fixing bicycle values (#161)
Zavoky 5d75f4d
Updates alongside account syncer implementation (#162)
5c9cd62
RawEntityClient (#163)
cdworak 6584331
customfield create: preserve id (#164)
cdworak fa6f110
Adding linked location field to events (#165)
Zavoky bfa9961
add GetUnorderedStrings helper (#167)
pshah28 3939888
Add invitationId to Review struct (#169)
etseff 7b08de6
Improve error messaging for ETLs J=PC-65697 (#170)
a529c70
Adding timezone field (#171)
Zavoky 8caeee3
add ReservationUrl to Healthcare Professional entity (#173)
AidanFitzgerald 34f0219
Create helper function for converting string slice to EntityType slic…
73a926b
raw entity: get and set helpers
cdworak 3c0a763
Remove WheelchairAccessbile (same as MobilityAccessible)
cdworak c393182
hotel: add all inclusive options
cdworak 320d33a
Delete entity ID before upsert (#178)
Zavoky 745ccf3
language profile service: handle nil meta
cdworak 825b6b4
update yext menu fields (#180)
jesuyedavid 932decb
hours: rename to location_hours to signify that is legacy format (#181)
cdworak 41ba405
changing calorie type to *int
Zavoky 8dd92f7
add job entity (#182)
jesuyedavid c4a2913
Adding Facebook cover & profile fields (#183)
Zavoky f418b8a
Add Geomodifier to Restaurant Entity Definition (#184)
c2890ba
add facebookcta field and constants
AidanFitzgerald 1f22402
-J=PC-63853 changes to entity_registry and unmarshal needed for hybri…
AidanFitzgerald 52495f8
fix unnecessary double ifs
AidanFitzgerald e36a72d
Merge branch 'entities-hhm' into entities
AidanFitzgerald a4ebb0f
prevent hours parsing panic and return error (#190)
pshah28 a99fefe
analytics_service: Always return the response and error (#191)
54fa1ab
Add definition for FAQ entity type
f0ab5c5
add reopen date to hours (#192)
pshah28 4006991
Add format param
cdworak 4e22daa
adding fields to analytics request (#194)
Zavoky 7d01629
Analytics fields (#195)
Zavoky 61b3abf
add education type constants for healthcareprofessionals
AidanFitzgerald 92ac743
customfields: adding validation field (#197)
nsiskind 68baaf1
customfield.go : update custom field validation min/max val to float6…
nsiskind 6477c9c
feat(healthcare): add telehealth url field to providers and facilities
nirmalpatel94 364d21a
feat(hotel): add indoor and outdoor pool fields to hotel entities
nirmalpatel94 22f540b
feat(healthcare): add getter for display url for telehealth url field
nirmalpatel94 4aadec8
fix(healthcare): fix telehealth type definition
nirmalpatel94 f0b7598
entity location: add 'black owned business' and 'pickup and delivery …
stephh2 77b9fc6
feat(jobs): add Location profile field to job struct
nirmalpatel94 996299e
fix(jobs): fix api name for application url
nirmalpatel94 8cc4799
feat(entity): add service area places (#205)
wenright b0c69b5
feat(hotel): added pools to hotel entities (#206)
danielwuhoo eacd1b4
adding 'accepting new patients' and 'covid 19 info url' (#207)
Zavoky 4b36f35
feat(entity): adds RemoveEntry for rawEntity (#208)
AidanFitzgerald 00c254d
feat(entity-location): add SourceUrl as an exposed string for struct …
christianterence b0928c3
feat: add drive-through hours profile field
xzou 1a0eed2
entity_location: add cta yext type (#212)
nsiskind 3e22583
Update analytics review fields to match what was changed in this CR h…
c907e2d
feat(entity_service): add rich text format field
nirmalpatel94 428ec1d
Remove publisherSuggestionType, searchTerm, searchType, and foursquar…
5198a92
adds accessHours profile field to locations
AidanFitzgerald 8ad7007
adds funcs for getting all option names for option select fields
AidanFitzgerald 564248b
adds new func to determine if raw entity is zero value
AidanFitzgerald 33c9444
add tests and support for []interface{}
AidanFitzgerald 4f9ae0f
fixes bug in rawEntityIsZeroValue
AidanFitzgerald 95af150
adds helpArticle entity type (#220)
nsiskind 8ff78e5
location_customfield: add ToDate function for yext.Date (#221)
nsiskind 403fbb7
helparticle: add landing page URL field (#222)
nsiskind 74b5acc
Add Activity Logs and update some Analytics Report (#223)
zxu10 4cee729
adds DigitalGuestRoomKeys field to hotel entity struct (#224)
AidanFitzgerald 3285b96
add activitylogservice to client.go (#225)
zxu10 9adcff2
update actordetails to activity log (#226)
zxu10 7739778
Add google place id (#227)
JamesJMH 9a2ed94
update activity log and analytics data for att J=PC-134030 TEST=manua…
zxu10 79597c6
healthcare professional: implements setValidDegrees method
dba56c6
fix activity log email (#230)
zxu10 2d3fba5
Add googlePlaceId for healthcare professionals (#231)
JamesJMH ffaee4a
fix page views api name and add cumulative rating get function (#233)
zxu10 3be7855
add npi for healthcare facilities (#234)
JamesJMH 6461473
feat: adds profile field "Impressum" to location entity struct (#235)
a2fb31e
add competitor field to analytics data (#236)
zxu10 031738f
feat(entity): add new entity type "Financial Professional"
aliang97 d47f26d
adds covid fields to hotel entity type
AidanFitzgerald a816811
Added delivery hours field to restaurant entity
John-Nguyen c649951
adds googleMyBusinessLabels to healthcare professional and facility (…
marclanepitt 4588a60
feat(location_entity): adds timezone field to entity (#242)
f697650
add verbose response logging when we encounter a failure in our Do (#…
marclanepitt 9beb496
entity_location: make GoogleWebsiteOverride a **string (#245)
nsiskind b877477
Googlewebsite fix (#247)
nsiskind 30a0a61
add request body to err message for debugging request failures (#246)
marclanepitt 8fc75ed
fix, update formatted string to use string (#248)
marclanepitt 9bf6c56
additions to valid degrees & job field (#244)
Zavoky 95cd994
print dump response error (#249)
marclanepitt ea92ee0
fix typo in hiringOrganization json
jpjamipark de8e69b
Add analytics clicks event and update page views event (#252)
stephh2 75e59d1
Add Entity ID metric to analytics data struct (#253)
stephh2 14300f9
client.go error logging (#251)
Zavoky 877ad62
price: add price object (#255)
nsiskind 5a7e005
retry network request on connection reset from server (#256)
marclanepitt 70155e7
feat(reviews): add reviews update endpoint
jpjamipark 3c2b347
Add label ids as review request param
stephh2 247a84f
feat: add service for admin apis (#254)
danielwuhoo f8b7e7c
nil platform bool != zero value (#259)
Zavoky 2db3bf0
Revert "nil platform bool != zero value (#259)"
Zavoky f0cc464
feat: add services service for add requests (#260)
danielwuhoo ac7e78d
feat: add FAQ fields to locationEntity
jpjamipark 577ac06
add 'strip unsupported formats' (#262)
Zavoky 424d01c
review-service: add UpdateLabels, externalId (#263)
cdworak 22522e0
review: removing duplicate external id (#264)
cdworak 91bd932
review-service: add external id to update object (#265)
cdworak c03f9c1
add new answers values to analytics structs
jpjamipark 2041c5e
add Entity struct to Reviewer struct (#267)
cblair28 29de764
add pre processing option ot menu list data (#268)
marclanepitt e2dbfc9
custom-field-service: add translations field to options (#269)
sri-jayakumar e9c26a7
update service existinglocationaddresponse type for agreementid (#271)
marclanepitt ce987ac
add rendered option for entity language profiles (#270)
mtusman 482a7d9
adds GoogleMyBusinessLabels field to location entities (#272)
AidanFitzgerald 82bffe9
adds pickupdelivery field
AidanFitzgerald 692866c
added employmentType field to job entities
Zavoky e8b1aef
added pickuphours to location entity
Zavoky 4f4205a
rnd: add progress bar to show entity loading from API progress (#273)
jesuyedavid ce8dd24
fix(entity_service): add nil check
nirmalpatel94 c1083c9
entity_service: add hide progress bar option (#275)
jesuyedavid 6e9dd4f
Add Geomodifier to Healthcare Professional entity
hoosRed 6b03300
making a user's createdDate field accessible (#277)
NathanielGE f640e47
add brunch hours and drive-through hours to restaurant entity (#279)
JohnCho92 db2df01
added option to consider nil booleans as non-zero values (#281)
Zavoky 9acb0b1
updated logic for **bools found in pointers
Zavoky 781b27d
Entities facebookusername (#282)
AidanFitzgerald 40db20f
add Slug to Healthcare Professional entity (#283)
JohnCho92 6f5d988
add Slug to Healthcare Facility entity (#284)
JohnCho92 28266ec
PC-182867: add google entity relationship location entity field (#285)
c1716a4
Update Financial Professional Field types for DisclosureLink AndroidA…
nsiskind c2ef04b
add invitationId to ReviewCreateInvitationResponse struct (#287)
mtusman 379d11f
change isclosed from **bool to bool to treat nil and false the same (…
cdworak 35ffb59
Listings (#289)
nsiskind 25a07c0
adds entity_product.go for product entity type (#291)
AidanFitzgerald c2a0816
modify AnalyticsData struct (#292)
mtusman 71542db
Adding Google Place ID & Facebook Store ID
Zavoky 8778db6
adds PrimaryPhoto field to products (#293)
AidanFitzgerald d0c7b05
add createreviewliveapi to review service (#294)
jesuyedavid 8e8aa17
add support for listing impressions metric (#295)
mtusman f7f2a27
add rankTrackingCompetitors to location entity
matthewleifer cec6d5a
add timezone field for restaurant entities (#297)
AidanFitzgerald 148e145
feat(custom): amend pr comments:wq
kyled526 c79eb98
add facebook location descriptor and username fields for restaurant e…
JohnCho92 34f39de
feat: add custom unmarshalling for newer V param's custom fields
nirmalpatel94 9bfb0c1
migrate custom field endpoint to optionally use the configuration end…
mtusman 1d0529b
feat: add config option to use EU host domain for yextapis.com (#302)
kunal-p ae2f67f
fix: update AnalyticsFilters FolderId name and type
junpark1213 ffd40cc
fix: update click metric to new click count metric
junpark1213 39bb0ba
feat(hotel & restaurant): add additional fields to base struct (#304)
stephh2 257a54d
add product lists to financial professional entities (#306)
399f2ae
fix: remove deprecated metrics
junpark1213 51f8fc3
fix(restaurant): add DineInHours to base struct
dgurland 8d50bfc
feat(reviews): add new review api fields
nirmalpatel94 f6d684a
feat(custom): add nonbinary gender to healthcare professional entity …
Jeffrey-Rhoads17 36f22ff
feat(custom): change supported format struct for richtextv2 field (#311)
2018lwang 70869ee
feat: add notifyUser field to user
jknutsonn 7c11c04
feat(entity_service): add convertRichTextToHTML param (#313)
dkang3021 919a4bf
feat(hotel+restaurant): add addl fields (#314)
peteros086 d47ec01
fix(custom): allow for multiple data types of IDs from Review Update …
Jeffrey-Rhoads17 2e0a927
Revert "feat(hotel+restaurant): add addl fields (#314)" (#316)
Jeffrey-Rhoads17 d453c8d
feat(hotel+restaurant): add addl fields (#317)
Jeffrey-Rhoads17 2c02c9d
Revert "feat(hotel+restaurant): add addl fields (#317)" (#318)
peteros086 d5e98d6
feat(assets): add folderids field
matthewleifer db1616c
feat(entities): add timestamp field to entity-meta
fsc8494 d818783
feat(entities): add getter function for timestamp field
fsc8494 c68fa76
feat(entities): add GetTimestampAsTime function
fsc8494 bcdcdca
Revert "feat(entities): add GetTimestampAsTime function"
fsc8494 3696c38
feat(license): add license service (#323)
stephh2 c64ffde
feat(license): fix passing opts to tokenListHelper (#324)
kaneleeyext 75ab0d0
feat(healthcare-professional): Add YextDisplayCoordinate property and…
tritpham c880e4a
license-service: list license assignments in single object (#326)
stephh2 16a7daa
entity: add CreatedTimestamp field to entityMeta struct (#327)
ajgist 19383a4
client: add optional Update-Operation-Id header to API requests (#328)
Jared-Hood 5256e02
fix(custom): add option for list CF types and proper fallback for CFT…
Jeffrey-Rhoads17 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably also move these functions under BaseEntity