Skip to content
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

feat(n8n Google My Business Node): New node #10504

Merged
merged 44 commits into from
Oct 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
fd4252e
WIP: Add Google My Business node
valentina98 Aug 19, 2024
860c3e9
WIP: Fixing descriptions
valentina98 Aug 21, 2024
d898564
More fixes of the descriptions and add preSend/postReceive functions
valentina98 Aug 21, 2024
a123c39
Add the authentication and request defaults
valentina98 Aug 21, 2024
84b3d07
Remove unneeded preAuthentication
valentina98 Aug 26, 2024
fcdeafb
Remove unneeded Authorization
valentina98 Aug 26, 2024
5097157
Use routing where possible and fix descriptions
valentina98 Aug 26, 2024
e705c80
Refactor presend and postreceive
valentina98 Aug 28, 2024
891e455
Fix review endpoints
valentina98 Aug 28, 2024
eaffaac
Remove deprecated option
valentina98 Aug 29, 2024
726ee81
Fix loadOptions
valentina98 Aug 29, 2024
6cd0ad7
Fix property name
valentina98 Sep 1, 2024
589649c
Implement pagination
valentina98 Sep 2, 2024
22ea05a
Remove unused properties
valentina98 Sep 4, 2024
a02f915
Remove simplify
valentina98 Sep 4, 2024
23aaecb
Add missing parameter for loadoptions
valentina98 Sep 12, 2024
075edaa
Use resourceLocator instead of loadOptions; adjust descriptions
valentina98 Sep 16, 2024
c2f0b0f
Add a delete reply endpoint
valentina98 Sep 16, 2024
d4d8eaf
Add maximum page sizes to listSearch methods, add links to documentat…
valentina98 Sep 16, 2024
88db747
Fix regex, urls, and add update mask
valentina98 Sep 17, 2024
c420c05
Add a trigger node
valentina98 Sep 17, 2024
27facee
Add unit tests
valentina98 Sep 20, 2024
0e282e3
Change "name" to "id"
valentina98 Sep 20, 2024
e08f9d7
Change back "id" to "name"
valentina98 Sep 23, 2024
6600b4d
Fix resource locators and language option according to feedback
valentina98 Sep 24, 2024
f85fa2b
Fix "By ID", add hint and return all, adjust pagination and descriptions
valentina98 Sep 26, 2024
23053c3
Add a workaround for a routing bug
valentina98 Sep 26, 2024
b1513ab
Return the last review when triggered manually
valentina98 Sep 26, 2024
8f167da
Fix errors
valentina98 Sep 27, 2024
51d57ed
Fix parameter
valentina98 Sep 27, 2024
df7e5d1
WIP: Issue with post properties
valentina98 Sep 27, 2024
034f4a5
Fix required fields for post create
valentina98 Sep 27, 2024
093fd02
Adjust descriptions, add notice, clean up
valentina98 Sep 27, 2024
663338e
Update tests, fix pagination and displayOptions
valentina98 Sep 27, 2024
4a719f0
Fix format check issues
valentina98 Sep 28, 2024
8691a99
Hide limit when returnAll, add ellipsis
valentina98 Oct 8, 2024
48749af
Merge remote-tracking branch 'upstream/master' into node-google-my-bu…
valentina98 Oct 8, 2024
fae0a26
Fix ts and eslint issues
valentina98 Oct 8, 2024
3757203
Remove unspecified alert type
valentina98 Oct 8, 2024
e6c96a5
Fix test after hiding "limit"
valentina98 Oct 8, 2024
fc38cd0
Remove unused function
valentina98 Oct 8, 2024
c6314ac
Remove elipsis and clipping (handled by CSS)
valentina98 Oct 9, 2024
c2c1895
Fixes after code review
valentina98 Oct 16, 2024
787d98c
Merge remote-tracking branch 'upstream/master' into node-google-my-bu…
valentina98 Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unspecified alert type
  • Loading branch information
valentina98 committed Oct 8, 2024
commit 3757203bb16ff8efca7626414fabefdd9d06d0ee
30 changes: 1 addition & 29 deletions packages/nodes-base/nodes/Google/MyBusiness/PostDescription.ts
Original file line number Diff line number Diff line change
@@ -369,18 +369,13 @@ export const postFields: INodeProperties[] = [
name: 'alertType',
required: true,
type: 'options',
default: 'ALERT_TYPE_UNSPECIFIED',
default: 'COVID_19',
description: 'The sub-type of the alert',
displayOptions: { show: { resource: ['post'], operation: ['create'], postType: ['ALERT'] } },
routing: {
send: { type: 'body', property: 'alertType' },
},
options: [
{
name: 'Alert Type Unspecified',
value: 'ALERT_TYPE_UNSPECIFIED',
description: 'Sub-type unspecified',
},
{
name: 'Covid 19',
value: 'COVID_19',
@@ -989,29 +984,6 @@ export const postFields: INodeProperties[] = [
'The language code of the post content. <a href="https://cloud.google.com/translate/docs/languages" target="_blank">More info</a>.',
routing: { send: { type: 'body', property: 'languageCode' } },
},
{
displayName: 'Alert Type',
name: 'alertType',
type: 'options',
default: 'ALERT_TYPE_UNSPECIFIED',
description: 'The sub-type of the alert',
// displayOptions: { show: { postType: ['ALERT'] } },
routing: {
send: { type: 'body', property: 'alertType' },
},
options: [
{
name: 'Alert Type Unspecified',
value: 'ALERT_TYPE_UNSPECIFIED',
description: 'Sub-type unspecified',
},
{
name: 'Covid 19',
value: 'COVID_19',
description: 'This alert is related to the 2019 Coronavirus Disease pandemic',
},
],
},
{
displayName: 'Call to Action Type',
name: 'callToActionType',