From 15459f6bfd1797268e97d424e8844369d7ff786f Mon Sep 17 00:00:00 2001 From: Gabriel Padureanu Date: Fri, 10 Feb 2023 14:35:07 +0100 Subject: [PATCH 1/3] fix: suggest grids based on subtype --- src/routes/suggestions/find.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/suggestions/find.ts b/src/routes/suggestions/find.ts index 0290de03..973f51e4 100644 --- a/src/routes/suggestions/find.ts +++ b/src/routes/suggestions/find.ts @@ -7,7 +7,8 @@ const suggestionTypes = [ 'commandType.name', 'deviceType.name', 'edge.name', - 'grid.name', + 'pinGrid.name', + 'pinGroupGrid.name', 'issue.title', 'pinGroup.name', 'pin.name', From 335d3972f5b11a14dcdeb855e25de5824660bd31 Mon Sep 17 00:00:00 2001 From: GitHub Actions Documentation Bot <> Date: Fri, 10 Feb 2023 13:36:51 +0000 Subject: [PATCH 2/3] chore: Documentation updated by github actions --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.html b/docs/index.html index 53846d54..d60e9809 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4450,7 +4450,7 @@

Headers

{
  • "hashId": "b45zo0",
  • "email": "info@acme.com",
  • "name": "John Doe",
  • "timezone": "Europe/Amsterdam",
  • "locale": "en",
  • "phone": "string",
  • "company": "string",
  • "rights": [
    ],
  • "twoFactorAuthenticationEnabled": true
}

userEnvironmentSettings

notificationLevel
required
number or null <float>
Enum: 0 1 2

The user is subscribed to every issue created on locations in this environment (0), when the issue gets serious (1) or when the issue gets critical (2). If null, the user is not autmatically subscribed to new issues.

defaultAnalyticsPanelHashId
required
string or null
{
  • "notificationLevel": 0,
  • "defaultAnalyticsPanelHashId": "7usgt"
}

userSubscription

hashId
required
string
objectType
required
string
Enum: "supplierReportType" "deviceType" "supplierWebhook" "supplierCertificate"
objectHashId
required
string
lastNotification
required
string or null <date-time>
alertsSinceLastNotification
required
integer
createdAt
required
string <date-time>
{
  • "hashId": "dfa1p",
  • "objectType": "deviceType",
  • "objectHashId": "wasd2",
  • "lastNotification": "2020-01-31T11:17Z",
  • "alertsSinceLastNotification": 0,
  • "createdAt": "2019-12-31T15:23Z"
}

webRequest

hashId
required
string
incoming
required
boolean
createdAt
required
string <date-time>
required
object
required
object or null
{
  • "hashId": "1a532q",
  • "incoming": true,
  • "createdAt": "2019-12-31T15:23Z",
  • "request": {
    },
  • "response": {
    }
}