From 3a1d9b258d335ed4a0ebe812e2f5ebfd9c58f826 Mon Sep 17 00:00:00 2001 From: Mohamad Choupan Date: Sat, 21 Dec 2024 20:31:10 +0330 Subject: [PATCH] feat: update ui spec for all integrations --- .../ui-specs/aws-cloud-account.json | 28 ++++++++++++++-- .../ui-specs/azure-subscription.json | 28 ++++++++++++++-- .../ui-specs/cloudflare-account.json | 31 +++++++++++++++--- .../ui-specs/cohereai-project.json | 28 ++++++++++++++-- .../ui-specs/digitalocean-team.json | 28 ++++++++++++++-- .../ui-specs/doppler-account.json | 28 ++++++++++++++-- .../ui-specs/entraid-directory.json | 28 ++++++++++++++-- .../ui-specs/github-account.json | 32 ++++++++++++++++--- .../ui-specs/google-workspace-account.json | 28 ++++++++++++++-- .../ui-specs/linode-account.json | 28 ++++++++++++++-- .../ui-specs/oci_repository.json | 28 ++++++++++++++-- .../ui-specs/openai-integration.json | 28 ++++++++++++++-- .../ui-specs/render-account.json | 28 ++++++++++++++-- 13 files changed, 329 insertions(+), 42 deletions(-) diff --git a/services/integration/integration-type/ui-specs/aws-cloud-account.json b/services/integration/integration-type/ui-specs/aws-cloud-account.json index 921bd1a14..771a7fe5c 100644 --- a/services/integration/integration-type/ui-specs/aws-cloud-account.json +++ b/services/integration/integration-type/ui-specs/aws-cloud-account.json @@ -284,7 +284,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -296,15 +295,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -323,6 +334,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/azure-subscription.json b/services/integration/integration-type/ui-specs/azure-subscription.json index 99926e260..4aa2b94cf 100644 --- a/services/integration/integration-type/ui-specs/azure-subscription.json +++ b/services/integration/integration-type/ui-specs/azure-subscription.json @@ -307,7 +307,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -319,15 +318,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -346,6 +357,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/cloudflare-account.json b/services/integration/integration-type/ui-specs/cloudflare-account.json index 9ea3fe5fd..c5c68423f 100644 --- a/services/integration/integration-type/ui-specs/cloudflare-account.json +++ b/services/integration/integration-type/ui-specs/cloudflare-account.json @@ -195,16 +195,28 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, - "info": "Current state of the Cloudflare Zone integration.", + "detail_order": 4, + "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { "value": "ACTIVE", @@ -218,10 +230,21 @@ }, { "value": "ARCHIVED", - "label": "Archived", + "label": "Pending", "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/cohereai-project.json b/services/integration/integration-type/ui-specs/cohereai-project.json index a8e8841af..4fc045454 100644 --- a/services/integration/integration-type/ui-specs/cohereai-project.json +++ b/services/integration/integration-type/ui-specs/cohereai-project.json @@ -115,7 +115,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -127,15 +126,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -154,6 +165,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/digitalocean-team.json b/services/integration/integration-type/ui-specs/digitalocean-team.json index ddb4b7e23..89d08e08d 100644 --- a/services/integration/integration-type/ui-specs/digitalocean-team.json +++ b/services/integration/integration-type/ui-specs/digitalocean-team.json @@ -104,7 +104,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -116,15 +115,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -143,6 +154,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/doppler-account.json b/services/integration/integration-type/ui-specs/doppler-account.json index 9b51ae467..5e62faa84 100644 --- a/services/integration/integration-type/ui-specs/doppler-account.json +++ b/services/integration/integration-type/ui-specs/doppler-account.json @@ -104,7 +104,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -116,15 +115,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -143,6 +154,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/entraid-directory.json b/services/integration/integration-type/ui-specs/entraid-directory.json index f579c2a79..6c643b3f1 100644 --- a/services/integration/integration-type/ui-specs/entraid-directory.json +++ b/services/integration/integration-type/ui-specs/entraid-directory.json @@ -307,7 +307,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -319,15 +318,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -346,6 +357,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/github-account.json b/services/integration/integration-type/ui-specs/github-account.json index 87d79c5c7..54dbc0b2b 100644 --- a/services/integration/integration-type/ui-specs/github-account.json +++ b/services/integration/integration-type/ui-specs/github-account.json @@ -182,16 +182,28 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, - "info": "Current state of the GitHub Organization integration.", + "detail_order": 4, + "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { "value": "ACTIVE", @@ -205,12 +217,22 @@ }, { "value": "ARCHIVED", - "label": "Archived", + "label": "Pending", "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } - ] } }, diff --git a/services/integration/integration-type/ui-specs/google-workspace-account.json b/services/integration/integration-type/ui-specs/google-workspace-account.json index 0672c0599..b31e9b392 100644 --- a/services/integration/integration-type/ui-specs/google-workspace-account.json +++ b/services/integration/integration-type/ui-specs/google-workspace-account.json @@ -120,7 +120,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -132,15 +131,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -159,6 +170,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/linode-account.json b/services/integration/integration-type/ui-specs/linode-account.json index c54a5977a..2d61513df 100644 --- a/services/integration/integration-type/ui-specs/linode-account.json +++ b/services/integration/integration-type/ui-specs/linode-account.json @@ -104,7 +104,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -116,15 +115,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -143,6 +154,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/oci_repository.json b/services/integration/integration-type/ui-specs/oci_repository.json index 8e442dfe1..859ce6d62 100644 --- a/services/integration/integration-type/ui-specs/oci_repository.json +++ b/services/integration/integration-type/ui-specs/oci_repository.json @@ -162,7 +162,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -174,15 +173,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -201,6 +212,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/openai-integration.json b/services/integration/integration-type/ui-specs/openai-integration.json index b9f3d238c..84c5b26c5 100644 --- a/services/integration/integration-type/ui-specs/openai-integration.json +++ b/services/integration/integration-type/ui-specs/openai-integration.json @@ -145,7 +145,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -157,15 +156,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -184,6 +195,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] } diff --git a/services/integration/integration-type/ui-specs/render-account.json b/services/integration/integration-type/ui-specs/render-account.json index 98a73e8d4..e32156ccb 100644 --- a/services/integration/integration-type/ui-specs/render-account.json +++ b/services/integration/integration-type/ui-specs/render-account.json @@ -104,7 +104,6 @@ "detail": true, "detail_order": 1 }, - { "name": "provider_id", "label": "Provider ID", @@ -116,15 +115,27 @@ "detail": true, "detail_order": 2 }, + { + "name": "credential_id", + "label": "Credential ID", + "fieldType": "text", + "order": 3, + "sortable": true, + "filterable": true, + "info": "Credential ID.", + "detail": true, + "detail_order": 3 + }, + { "name": "state", "label": "State", "fieldType": "status", - "order": 3, + "order": 4, "sortable": true, "filterable": true, "detail": true, - "detail_order": 3, + "detail_order": 4, "info": "Current state of the Azure Subscription integration.", "statusOptions": [ { @@ -143,6 +154,17 @@ "color": "blue" } ] + }, + { + "name": "last_check", + "label": "Last Check", + "fieldType": "date", + "order": 5, + "sortable": true, + "filterable": true, + "info": "Timestamp when the integration was last checked.", + "detail": true, + "detail_order": 5 } ] }