Smithery

connected_accounts.create

Initiates a new connection to an external service for a user. For OAuth-based toolkits, this returns a redirect URL to complete authentication. For API key-based toolkits, provide the credentials directly in the request body. Use the `user_id` field to associate the connection with a specific user in your system. **Deprecated for Composio-managed OAuth:** For Composio-managed auth configs on OAuth1, OAuth2, or DCR_OAUTH schemes, this endpoint is being retired and will start returning `400 BadRequest` on **2026-05-08** for new organizations and **2026-07-03** for all remaining organizations. Migrate those calls to `POST /api/v3/connected_accounts/link`. Custom auth configs and non-OAuth schemes (API key, bearer, basic) continue to be supported here. Responses on the retiring path carry a `Deprecation` header (RFC 9745) and a `Sunset` header (RFC 8594) for client-side detection.

Remote smithery/composio

Other tools also called connected_accounts.create? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "connection": {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "deprecated": true,
          "description": "DEPRECATED: This parameter will be removed in a future version. Please use state instead.",
          "additionalProperties": {
            "nullable": true
          }
        },
        "alias": {
          "type": "string",
          "description": "A human-readable alias for this connected account. Must be unique per entity and toolkit within the project."
        },
        "state": {
          "oneOf": [
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "oauth_token",
                        "authUri",
                        "oauth_token_secret",
                        "redirectUrl"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "authUri": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "callbackUrl": {
                          "type": "string"
                        },
                        "oauth_token": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "oauth_token_secret": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "oauth_token",
                        "oauth_token_secret"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "oauth_token": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "callback_url": {
                          "type": "string"
                        },
                        "consumer_key": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "oauth_verifier": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "oauth_token_secret": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "oauth_token",
                        "oauth_token_secret"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "oauth_token": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "callback_url": {
                          "type": "string"
                        },
                        "consumer_key": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "oauth_verifier": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "oauth_token_secret": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "OAUTH1"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "redirectUrl"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "callback_url": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "code_verifier": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "finalRedirectUri": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "webhook_signature": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "access_token"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "scope": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "id_token": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expires_in": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "token_type": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "authed_user": {
                          "type": "object",
                          "properties": {
                            "scope": {
                              "type": "string"
                            },
                            "access_token": {
                              "type": "string"
                            }
                          },
                          "description": "for slack user scopes"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "access_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "refresh_token": {
                          "type": "string",
                          "nullable": true
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "extra_token_data": {
                          "type": "object",
                          "additionalProperties": {
                            "nullable": true
                          }
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "webhook_signature": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "access_token"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "scope": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "id_token": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expires_in": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "token_type": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "authed_user": {
                          "type": "object",
                          "properties": {
                            "scope": {
                              "type": "string"
                            },
                            "access_token": {
                              "type": "string"
                            }
                          },
                          "description": "for slack user scopes"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "access_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "refresh_token": {
                          "type": "string",
                          "nullable": true
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "extra_token_data": {
                          "type": "object",
                          "additionalProperties": {
                            "nullable": true
                          }
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "webhook_signature": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "REVOKED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "revoked_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "OAUTH2"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_key": {
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "bearer_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "basic_encoded": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "generic_api_key": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_key": {
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "bearer_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "basic_encoded": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "generic_api_key": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "API_KEY"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "username"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "password": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "username"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "password": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "BASIC"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "token"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "token": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "token"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "token": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "BEARER_TOKEN"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "redirectUrl"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        },
                        "composio_link_redirect_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "credentials_json"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "credentials_json": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "credentials_json"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "credentials_json": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "GOOGLE_SERVICE_ACCOUNT"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "NO_AUTH"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "CALCOM_AUTH"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "redirectUrl"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "sessionId",
                        "devKey"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "devKey": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "sessionId": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "sessionId",
                        "devKey"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "devKey": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "sessionId": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "BILLCOM_AUTH"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "username",
                        "password"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "password": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "username",
                        "password"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "password": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "username",
                        "password"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "password": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "username",
                        "password"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "password": {
                          "type": "string"
                        },
                        "username": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "BASIC_WITH_JWT"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "application_id",
                        "installation_id",
                        "private_key"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "private_key": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "application_id": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "installation_id": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "application_id",
                        "installation_id",
                        "private_key"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "private_key": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "application_id": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "installation_id": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "SERVICE_ACCOUNT"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "SAML"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "client_id",
                        "redirectUrl"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "client_id": {
                          "type": "string",
                          "description": "Dynamically registered client ID"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "redirectUrl": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "callback_url": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "client_secret": {
                          "type": "string",
                          "description": "Dynamically registered client secret"
                        },
                        "code_verifier": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "finalRedirectUri": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "client_id_issued_at": {
                          "type": "number"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        },
                        "client_secret_expires_at": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "client_id",
                        "access_token"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "scope": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "id_token": {
                          "type": "string"
                        },
                        "client_id": {
                          "type": "string",
                          "description": "Dynamically registered client ID"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expires_in": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "token_type": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "access_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "client_secret": {
                          "type": "string",
                          "description": "Dynamically registered client secret"
                        },
                        "refresh_token": {
                          "type": "string",
                          "nullable": true
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "client_id_issued_at": {
                          "type": "number"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        },
                        "client_secret_expires_at": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "client_id",
                        "access_token"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "scope": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "id_token": {
                          "type": "string"
                        },
                        "client_id": {
                          "type": "string",
                          "description": "Dynamically registered client ID"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expires_in": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "token_type": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "access_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "client_secret": {
                          "type": "string",
                          "description": "Dynamically registered client secret"
                        },
                        "refresh_token": {
                          "type": "string",
                          "nullable": true
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "client_id_issued_at": {
                          "type": "number"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        },
                        "client_secret_expires_at": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "state_prefix": {
                          "type": "string",
                          "maxLength": 40,
                          "description": "The oauth2 state prefix for the connection"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "long_redirect_url": {
                          "type": "boolean",
                          "description": "Whether to return the redirect url without shortening"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "DCR_OAUTH"
                  ],
                  "type": "string"
                }
              }
            },
            {
              "type": "object",
              "required": [
                "authScheme",
                "val"
              ],
              "properties": {
                "val": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIALIZING"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INITIATED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "access_token",
                        "client_id",
                        "client_secret"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "scope": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "client_id": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expires_at": {
                          "type": "string"
                        },
                        "expires_in": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "token_type": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "access_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "client_secret": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status",
                        "access_token",
                        "client_id",
                        "client_secret"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "scope": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "INACTIVE"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "client_id": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expires_at": {
                          "type": "string"
                        },
                        "expires_in": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "string"
                            },
                            {
                              "nullable": true
                            }
                          ]
                        },
                        "token_type": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "access_token": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "client_secret": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "error": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "FAILED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "error_description": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    },
                    {
                      "type": "object",
                      "required": [
                        "status"
                      ],
                      "properties": {
                        "dc": {
                          "type": "string"
                        },
                        "shop": {
                          "type": "string"
                        },
                        "domain": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "EXPIRED"
                          ],
                          "type": "string"
                        },
                        "api_url": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "base_url": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "site_name": {
                          "type": "string"
                        },
                        "subdomain": {
                          "type": "string"
                        },
                        "account_id": {
                          "type": "string"
                        },
                        "expired_at": {
                          "type": "string"
                        },
                        "account_url": {
                          "type": "string"
                        },
                        "your-domain": {
                          "type": "string"
                        },
                        "your_server": {
                          "type": "string"
                        },
                        "instanceName": {
                          "type": "string"
                        },
                        "COMPANYDOMAIN": {
                          "type": "string"
                        },
                        "proxy_password": {
                          "type": "string"
                        },
                        "proxy_username": {
                          "type": "string"
                        },
                        "server_location": {
                          "type": "string"
                        },
                        "instanceEndpoint": {
                          "type": "string"
                        },
                        "form_api_base_url": {
                          "type": "string"
                        },
                        "borneo_dashboard_url": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": {
                        "nullable": true
                      }
                    }
                  ]
                },
                "authScheme": {
                  "enum": [
                    "S2S_OAUTH2"
                  ],
                  "type": "string"
                }
              }
            }
          ],
          "description": "The state of the connected account"
        },
        "user_id": {
          "type": "string",
          "default": "default",
          "description": "The user id of the connected account"
        },
        "callback_url": {
          "type": "string",
          "format": "uri",
          "description": "The URL to redirect to after connection completion"
        },
        "experimental": {
          "type": "object",
          "properties": {
            "account_type": {
              "enum": [
                "PRIVATE",
                "SHARED"
              ],
              "type": "string",
              "description": "Sharing model for this connected account. PRIVATE (default) is usable only by the owning user_id. SHARED is reachable from a tool-router session ONLY when explicitly pinned in the session config — at most one SHARED connection per toolkit per session. Sessions never use a SHARED connection implicitly.",
              "x-experimental": true
            },
            "acl_config_for_shared": {
              "type": "object",
              "properties": {
                "allow_all_users": {
                  "type": "boolean",
                  "description": "Wildcard \"any user_id in the project\" allow toggle. Only valid on SHARED connections."
                },
                "allowed_user_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "maxItems": 1000,
                  "description": "Explicit allow list of user_ids who can use this SHARED connection."
                },
                "not_allowed_user_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "maxItems": 1000,
                  "description": "Explicit deny list. Wins on conflict with allow_all_users and allowed_user_ids."
                }
              },
              "description": "Access control for SHARED connections. Resolution rule (only fires when caller != creator): user in not_allowed_user_ids → DENY; allow_all_users=true → ALLOW; user in allowed_user_ids → ALLOW; else DENY. Default state (omitted or {}) is deny-by-default — only the creator can use.",
              "x-experimental": true
            }
          },
          "description": "Experimental features - not stable, may be modified or removed in future versions.",
          "x-experimental": true
        },
        "redirect_uri": {
          "type": "string",
          "format": "uri",
          "deprecated": true,
          "description": "DEPRECATED: This parameter will be removed in a future version. Please use callback_url instead."
        },
        "deprecated_is_v1_rerouted": {
          "type": "boolean",
          "default": false,
          "deprecated": true,
          "description": "DEPRECATED: This parameter will be removed in a future version."
        }
      },
      "description": "body parameter"
    },
    "auth_config": {
      "type": "object",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "authConfigId",
          "description": "The auth config id of the app (must be a valid auth config id)"
        }
      },
      "description": "body parameter"
    },
    "validate_credentials": {
      "type": "boolean",
      "default": false,
      "description": "[EXPERIMENTAL] Whether to validate the provided credentials, validates only for API Key Auth scheme",
      "x-experimental": true
    }
  }
}