@devries-cameron20 / composio Mirror · read-only / commits / f607a5bb3
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 12:00 UTC

fix(docs): normalize complex union schemas in OpenAPI spec

The backend API spec contains anyOf/oneOf with many object variants (e.g., connection_data with 68 variants, custom_connection_data with 10). This caused fumadocs-openapi to render them as "object | object | object..." This fix: - Merges similar object schemas into a single object - Combines enum values from all variants (e.g., authScheme now shows all 10 auth types) - Recursively merges nested properties Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Sushmithamallesh committed Jan 30, 2026 at 11:40 UTC f607a5bb37f13e33dc6c8096a9c3b7c03b6a118e
2 files changed +5070 -37232
docs/public/openapi.json
+4973 -37232
@@ -2604,6424 +2604,152 @@
2604 "description": "The updated at of the connection"
2605 },
2606 "state": {
2607 - "oneOf": [
2608 - {
2609 - "type": "object",
2610 - "properties": {
2611 - "authScheme": {
2612 - "type": "string",
2613 - "enum": [
2614 - "OAUTH1"
2615 - ]
2616 - },
2617 - "val": {
2618 - "oneOf": [
2619 - {
2620 - "type": "object",
2621 - "properties": {
2622 - "subdomain": {
2623 - "type": "string"
2624 - },
2625 - "your-domain": {
2626 - "type": "string"
2627 - },
2628 - "region": {
2629 - "type": "string"
2630 - },
2631 - "shop": {
2632 - "type": "string"
2633 - },
2634 - "account_url": {
2635 - "type": "string"
2636 - },
2637 - "COMPANYDOMAIN": {
2638 - "type": "string"
2639 - },
2640 - "extension": {
2641 - "type": "string"
2642 - },
2643 - "form_api_base_url": {
2644 - "type": "string"
2645 - },
2646 - "instanceEndpoint": {
2647 - "type": "string"
2648 - },
2649 - "api_url": {
2650 - "type": "string"
2651 - },
2652 - "borneo_dashboard_url": {
2653 - "type": "string"
2654 - },
2655 - "proxy_username": {
2656 - "type": "string"
2657 - },
2658 - "proxy_password": {
2659 - "type": "string"
2660 - },
2661 - "domain": {
2662 - "type": "string"
2663 - },
2664 - "version": {
2665 - "type": "string"
2666 - },
2667 - "dc": {
2668 - "type": "string"
2669 - },
2670 - "site_name": {
2671 - "type": "string"
2672 - },
2673 - "instanceName": {
2674 - "type": "string"
2675 - },
2676 - "account_id": {
2677 - "type": "string"
2678 - },
2679 - "your_server": {
2680 - "type": "string"
2681 - },
2682 - "server_location": {
2683 - "type": "string"
2684 - },
2685 - "base_url": {
2686 - "type": "string"
2687 - },
2688 - "status": {
2689 - "type": "string",
2690 - "enum": [
2691 - "INITIALIZING"
2692 - ]
2693 - }
2694 - },
2695 - "required": [
2696 - "status"
2697 - ],
2698 - "additionalProperties": {}
2699 - },
2700 - {
2701 - "type": "object",
2702 - "properties": {
2703 - "subdomain": {
2704 - "type": "string"
2705 - },
2706 - "your-domain": {
2707 - "type": "string"
2708 - },
2709 - "region": {
2710 - "type": "string"
2711 - },
2712 - "shop": {
2713 - "type": "string"
2714 - },
2715 - "account_url": {
2716 - "type": "string"
2717 - },
2718 - "COMPANYDOMAIN": {
2719 - "type": "string"
2720 - },
2721 - "extension": {
2722 - "type": "string"
2723 - },
2724 - "form_api_base_url": {
2725 - "type": "string"
2726 - },
2727 - "instanceEndpoint": {
2728 - "type": "string"
2729 - },
2730 - "api_url": {
2731 - "type": "string"
2732 - },
2733 - "borneo_dashboard_url": {
2734 - "type": "string"
2735 - },
2736 - "proxy_username": {
2737 - "type": "string"
2738 - },
2739 - "proxy_password": {
2740 - "type": "string"
2741 - },
2742 - "domain": {
2743 - "type": "string"
2744 - },
2745 - "version": {
2746 - "type": "string"
2747 - },
2748 - "dc": {
2749 - "type": "string"
2750 - },
2751 - "site_name": {
2752 - "type": "string"
2753 - },
2754 - "instanceName": {
2755 - "type": "string"
2756 - },
2757 - "account_id": {
2758 - "type": "string"
2759 - },
2760 - "your_server": {
2761 - "type": "string"
2762 - },
2763 - "server_location": {
2764 - "type": "string"
2765 - },
2766 - "base_url": {
2767 - "type": "string"
2768 - },
2769 - "status": {
2770 - "type": "string",
2771 - "enum": [
2772 - "INITIATED"
2773 - ]
2774 - },
2775 - "oauth_token": {
2776 - "type": "string"
2777 - },
2778 - "authUri": {
2779 - "type": "string"
2780 - },
2781 - "oauth_token_secret": {
2782 - "type": "string"
2783 - },
2784 - "redirectUrl": {
2785 - "type": "string"
2786 - },
2787 - "callbackUrl": {
2788 - "type": "string"
2789 - }
2790 - },
2791 - "required": [
2792 - "status",
2793 - "oauth_token",
2794 - "authUri",
2795 - "oauth_token_secret",
2796 - "redirectUrl"
2797 - ],
2798 - "additionalProperties": {}
2799 - },
2800 - {
2801 - "type": "object",
2802 - "properties": {
2803 - "subdomain": {
2804 - "type": "string"
2805 - },
2806 - "your-domain": {
2807 - "type": "string"
2808 - },
2809 - "region": {
2810 - "type": "string"
2811 - },
2812 - "shop": {
2813 - "type": "string"
2814 - },
2815 - "account_url": {
2816 - "type": "string"
2817 - },
2818 - "COMPANYDOMAIN": {
2819 - "type": "string"
2820 - },
2821 - "extension": {
2822 - "type": "string"
2823 - },
2824 - "form_api_base_url": {
2825 - "type": "string"
2826 - },
2827 - "instanceEndpoint": {
2828 - "type": "string"
2829 - },
2830 - "api_url": {
2831 - "type": "string"
2832 - },
2833 - "borneo_dashboard_url": {
2834 - "type": "string"
2835 - },
2836 - "proxy_username": {
2837 - "type": "string"
2838 - },
2839 - "proxy_password": {
2840 - "type": "string"
2841 - },
2842 - "domain": {
2843 - "type": "string"
2844 - },
2845 - "version": {
2846 - "type": "string"
2847 - },
2848 - "dc": {
2849 - "type": "string"
2850 - },
2851 - "site_name": {
2852 - "type": "string"
2853 - },
2854 - "instanceName": {
2855 - "type": "string"
2856 - },
2857 - "account_id": {
2858 - "type": "string"
2859 - },
2860 - "your_server": {
2861 - "type": "string"
2862 - },
2863 - "server_location": {
2864 - "type": "string"
2865 - },
2866 - "base_url": {
2867 - "type": "string"
2868 - },
2869 - "status": {
2870 - "type": "string",
2871 - "enum": [
2872 - "ACTIVE"
2873 - ]
2874 - },
2875 - "oauth_token": {
2876 - "type": "string"
2877 - },
2878 - "oauth_token_secret": {
2879 - "type": "string"
2880 - },
2881 - "oauth_verifier": {
2882 - "type": "string"
2883 - },
2884 - "consumer_key": {
2885 - "type": "string"
2886 - },
2887 - "redirectUrl": {
2888 - "type": "string"
2889 - },
2890 - "callback_url": {
2891 - "type": "string"
2892 - }
2893 - },
2894 - "required": [
2895 - "status",
2896 - "oauth_token",
2897 - "oauth_token_secret"
2898 - ],
2899 - "additionalProperties": {}
2900 - },
2901 - {
2902 - "type": "object",
2903 - "properties": {
2904 - "subdomain": {
2905 - "type": "string"
2906 - },
2907 - "your-domain": {
2908 - "type": "string"
2909 - },
2910 - "region": {
2911 - "type": "string"
2912 - },
2913 - "shop": {
2914 - "type": "string"
2915 - },
2916 - "account_url": {
2917 - "type": "string"
2918 - },
2919 - "COMPANYDOMAIN": {
2920 - "type": "string"
2921 - },
2922 - "extension": {
2923 - "type": "string"
2924 - },
2925 - "form_api_base_url": {
2926 - "type": "string"
2927 - },
2928 - "instanceEndpoint": {
2929 - "type": "string"
2930 - },
2931 - "api_url": {
2932 - "type": "string"
2933 - },
2934 - "borneo_dashboard_url": {
2935 - "type": "string"
2936 - },
2937 - "proxy_username": {
2938 - "type": "string"
2939 - },
2940 - "proxy_password": {
2941 - "type": "string"
2942 - },
2943 - "domain": {
2944 - "type": "string"
2945 - },
2946 - "version": {
2947 - "type": "string"
2948 - },
2949 - "dc": {
2950 - "type": "string"
2951 - },
2952 - "site_name": {
2953 - "type": "string"
2954 - },
2955 - "instanceName": {
2956 - "type": "string"
2957 - },
2958 - "account_id": {
2959 - "type": "string"
2960 - },
2961 - "your_server": {
2962 - "type": "string"
2963 - },
2964 - "server_location": {
2965 - "type": "string"
2966 - },
2967 - "base_url": {
2968 - "type": "string"
2969 - },
2970 - "status": {
2971 - "type": "string",
2972 - "enum": [
2973 - "FAILED"
2974 - ]
2975 - },
2976 - "error": {
2977 - "type": "string"
2978 - },
2979 - "error_description": {
2980 - "type": "string"
2981 - }
2982 - },
2983 - "required": [
2984 - "status"
2985 - ],
2986 - "additionalProperties": {}
2987 - },
2988 - {
2989 - "type": "object",
2990 - "properties": {
2991 - "subdomain": {
2992 - "type": "string"
2993 - },
2994 - "your-domain": {
2995 - "type": "string"
2996 - },
2997 - "region": {
2998 - "type": "string"
2999 - },
3000 - "shop": {
3001 - "type": "string"
3002 - },
3003 - "account_url": {
3004 - "type": "string"
3005 - },
3006 - "COMPANYDOMAIN": {
3007 - "type": "string"
3008 - },
3009 - "extension": {
3010 - "type": "string"
3011 - },
3012 - "form_api_base_url": {
3013 - "type": "string"
3014 - },
3015 - "instanceEndpoint": {
3016 - "type": "string"
3017 - },
3018 - "api_url": {
3019 - "type": "string"
3020 - },
3021 - "borneo_dashboard_url": {
3022 - "type": "string"
3023 - },
3024 - "proxy_username": {
3025 - "type": "string"
3026 - },
3027 - "proxy_password": {
3028 - "type": "string"
3029 - },
3030 - "domain": {
3031 - "type": "string"
3032 - },
3033 - "version": {
3034 - "type": "string"
3035 - },
3036 - "dc": {
3037 - "type": "string"
3038 - },
3039 - "site_name": {
3040 - "type": "string"
3041 - },
3042 - "instanceName": {
3043 - "type": "string"
3044 - },
3045 - "account_id": {
3046 - "type": "string"
3047 - },
3048 - "your_server": {
3049 - "type": "string"
3050 - },
3051 - "server_location": {
3052 - "type": "string"
3053 - },
3054 - "base_url": {
3055 - "type": "string"
3056 - },
3057 - "status": {
3058 - "type": "string",
3059 - "enum": [
3060 - "EXPIRED"
3061 - ]
3062 - },
3063 - "expired_at": {
3064 - "type": "string"
3065 - }
3066 - },
3067 - "required": [
3068 - "status"
3069 - ],
3070 - "additionalProperties": {}
3071 - },
3072 - {
3073 - "type": "object",
3074 - "properties": {
3075 - "subdomain": {
3076 - "type": "string"
3077 - },
3078 - "your-domain": {
3079 - "type": "string"
3080 - },
3081 - "region": {
3082 - "type": "string"
3083 - },
3084 - "shop": {
3085 - "type": "string"
3086 - },
3087 - "account_url": {
3088 - "type": "string"
3089 - },
3090 - "COMPANYDOMAIN": {
3091 - "type": "string"
3092 - },
3093 - "extension": {
3094 - "type": "string"
3095 - },
3096 - "form_api_base_url": {
3097 - "type": "string"
3098 - },
3099 - "instanceEndpoint": {
3100 - "type": "string"
3101 - },
3102 - "api_url": {
3103 - "type": "string"
3104 - },
3105 - "borneo_dashboard_url": {
3106 - "type": "string"
3107 - },
3108 - "proxy_username": {
3109 - "type": "string"
3110 - },
3111 - "proxy_password": {
3112 - "type": "string"
3113 - },
3114 - "domain": {
3115 - "type": "string"
3116 - },
3117 - "version": {
3118 - "type": "string"
3119 - },
3120 - "dc": {
3121 - "type": "string"
3122 - },
3123 - "site_name": {
3124 - "type": "string"
3125 - },
3126 - "instanceName": {
3127 - "type": "string"
3128 - },
3129 - "account_id": {
3130 - "type": "string"
3131 - },
3132 - "your_server": {
3133 - "type": "string"
3134 - },
3135 - "server_location": {
3136 - "type": "string"
3137 - },
3138 - "base_url": {
3139 - "type": "string"
3140 - },
3141 - "status": {
3142 - "type": "string",
3143 - "enum": [
3144 - "INACTIVE"
3145 - ]
3146 - },
3147 - "oauth_token": {
3148 - "type": "string"
3149 - },
3150 - "oauth_token_secret": {
3151 - "type": "string"
3152 - },
3153 - "oauth_verifier": {
3154 - "type": "string"
3155 - },
3156 - "consumer_key": {
3157 - "type": "string"
3158 - },
3159 - "redirectUrl": {
3160 - "type": "string"
3161 - },
3162 - "callback_url": {
3163 - "type": "string"
3164 - }
3165 - },
3166 - "required": [
3167 - "status",
3168 - "oauth_token",
3169 - "oauth_token_secret"
3170 - ],
3171 - "additionalProperties": {}
3172 - }
3173 - ]
3174 - }
3175 - },
3176 - "required": [
3177 - "authScheme",
3178 - "val"
2607 + "description": "The state of the connection",
2608 + "type": "object",
2609 + "properties": {
2610 + "authScheme": {
2611 + "type": "string",
2612 + "enum": [
2613 + "OAUTH1",
2614 + "OAUTH2",
2615 + "API_KEY",
2616 + "BASIC",
2617 + "BEARER_TOKEN",
2618 + "GOOGLE_SERVICE_ACCOUNT",
2619 + "NO_AUTH",
2620 + "CALCOM_AUTH",
2621 + "BILLCOM_AUTH",
2622 + "BASIC_WITH_JWT",
2623 + "SERVICE_ACCOUNT",
2624 + "SAML",
2625 + "DCR_OAUTH"
2626 ]
2627 },
3181 - {
2628 + "val": {
2629 "type": "object",
2630 "properties": {
3184 - "authScheme": {
3185 - "type": "string",
3186 - "enum": [
3187 - "OAUTH2"
3188 - ]
2631 + "subdomain": {
2632 + "type": "string"
2633 },
3190 - "val": {
3191 - "oneOf": [
3192 - {
3193 - "type": "object",
3194 - "properties": {
3195 - "subdomain": {
3196 - "type": "string"
3197 - },
3198 - "your-domain": {
3199 - "type": "string"
3200 - },
3201 - "region": {
3202 - "type": "string"
3203 - },
3204 - "shop": {
3205 - "type": "string"
3206 - },
3207 - "account_url": {
3208 - "type": "string"
3209 - },
3210 - "COMPANYDOMAIN": {
3211 - "type": "string"
3212 - },
3213 - "extension": {
3214 - "type": "string"
3215 - },
3216 - "form_api_base_url": {
3217 - "type": "string"
3218 - },
3219 - "instanceEndpoint": {
3220 - "type": "string"
3221 - },
3222 - "api_url": {
3223 - "type": "string"
3224 - },
3225 - "borneo_dashboard_url": {
3226 - "type": "string"
3227 - },
3228 - "proxy_username": {
3229 - "type": "string"
3230 - },
3231 - "proxy_password": {
3232 - "type": "string"
3233 - },
3234 - "domain": {
3235 - "type": "string"
3236 - },
3237 - "version": {
3238 - "type": "string"
3239 - },
3240 - "dc": {
3241 - "type": "string"
3242 - },
3243 - "site_name": {
3244 - "type": "string"
3245 - },
3246 - "instanceName": {
3247 - "type": "string"
3248 - },
3249 - "account_id": {
3250 - "type": "string"
3251 - },
3252 - "your_server": {
3253 - "type": "string"
3254 - },
3255 - "server_location": {
3256 - "type": "string"
3257 - },
3258 - "base_url": {
3259 - "type": "string"
3260 - },
3261 - "status": {
3262 - "type": "string",
3263 - "enum": [
3264 - "INITIALIZING"
3265 - ]
3266 - },
3267 - "state_prefix": {
3268 - "type": "string",
3269 - "maxLength": 40,
3270 - "description": "The oauth2 state prefix for the connection"
3271 - },
3272 - "long_redirect_url": {
3273 - "type": "boolean",
3274 - "description": "Whether to return the redirect url without shortening"
3275 - }
3276 - },
3277 - "required": [
3278 - "status"
3279 - ],
3280 - "additionalProperties": {}
3281 - },
3282 - {
3283 - "type": "object",
3284 - "properties": {
3285 - "subdomain": {
3286 - "type": "string"
3287 - },
3288 - "your-domain": {
3289 - "type": "string"
3290 - },
3291 - "region": {
3292 - "type": "string"
3293 - },
3294 - "shop": {
3295 - "type": "string"
3296 - },
3297 - "account_url": {
3298 - "type": "string"
3299 - },
3300 - "COMPANYDOMAIN": {
3301 - "type": "string"
3302 - },
3303 - "extension": {
3304 - "type": "string"
3305 - },
3306 - "form_api_base_url": {
3307 - "type": "string"
3308 - },
3309 - "instanceEndpoint": {
3310 - "type": "string"
3311 - },
3312 - "api_url": {
3313 - "type": "string"
3314 - },
3315 - "borneo_dashboard_url": {
3316 - "type": "string"
3317 - },
3318 - "proxy_username": {
3319 - "type": "string"
3320 - },
3321 - "proxy_password": {
3322 - "type": "string"
3323 - },
3324 - "domain": {
3325 - "type": "string"
3326 - },
3327 - "version": {
3328 - "type": "string"
3329 - },
3330 - "dc": {
3331 - "type": "string"
3332 - },
3333 - "site_name": {
3334 - "type": "string"
3335 - },
3336 - "instanceName": {
3337 - "type": "string"
3338 - },
3339 - "account_id": {
3340 - "type": "string"
3341 - },
3342 - "your_server": {
3343 - "type": "string"
3344 - },
3345 - "server_location": {
3346 - "type": "string"
3347 - },
3348 - "base_url": {
3349 - "type": "string"
3350 - },
3351 - "status": {
3352 - "type": "string",
3353 - "enum": [
3354 - "INITIATED"
3355 - ]
3356 - },
3357 - "state_prefix": {
3358 - "type": "string",
3359 - "maxLength": 40,
3360 - "description": "The oauth2 state prefix for the connection"
3361 - },
3362 - "long_redirect_url": {
3363 - "type": "boolean",
3364 - "description": "Whether to return the redirect url without shortening"
3365 - },
3366 - "code_verifier": {
3367 - "type": "string"
3368 - },
3369 - "redirectUrl": {
3370 - "type": "string"
3371 - },
3372 - "callback_url": {
3373 - "type": "string"
3374 - },
3375 - "finalRedirectUri": {
3376 - "type": "string"
3377 - },
3378 - "webhook_signature": {
3379 - "type": "string"
3380 - }
3381 - },
3382 - "required": [
3383 - "status",
3384 - "redirectUrl"
3385 - ],
3386 - "additionalProperties": {}
3387 - },
3388 - {
3389 - "type": "object",
3390 - "properties": {
3391 - "subdomain": {
3392 - "type": "string"
3393 - },
3394 - "your-domain": {
3395 - "type": "string"
3396 - },
3397 - "region": {
3398 - "type": "string"
3399 - },
3400 - "shop": {
3401 - "type": "string"
3402 - },
3403 - "account_url": {
3404 - "type": "string"
3405 - },
3406 - "COMPANYDOMAIN": {
3407 - "type": "string"
3408 - },
3409 - "extension": {
3410 - "type": "string"
3411 - },
3412 - "form_api_base_url": {
3413 - "type": "string"
3414 - },
3415 - "instanceEndpoint": {
3416 - "type": "string"
3417 - },
3418 - "api_url": {
3419 - "type": "string"
3420 - },
3421 - "borneo_dashboard_url": {
3422 - "type": "string"
3423 - },
3424 - "proxy_username": {
3425 - "type": "string"
3426 - },
3427 - "proxy_password": {
3428 - "type": "string"
3429 - },
3430 - "domain": {
3431 - "type": "string"
3432 - },
3433 - "version": {
3434 - "type": "string"
3435 - },
3436 - "dc": {
3437 - "type": "string"
3438 - },
3439 - "site_name": {
3440 - "type": "string"
3441 - },
3442 - "instanceName": {
3443 - "type": "string"
3444 - },
3445 - "account_id": {
3446 - "type": "string"
3447 - },
3448 - "your_server": {
3449 - "type": "string"
3450 - },
3451 - "server_location": {
3452 - "type": "string"
3453 - },
3454 - "base_url": {
3455 - "type": "string"
3456 - },
3457 - "status": {
3458 - "type": "string",
3459 - "enum": [
3460 - "ACTIVE"
3461 - ]
3462 - },
3463 - "state_prefix": {
3464 - "type": "string",
3465 - "maxLength": 40,
3466 - "description": "The oauth2 state prefix for the connection"
3467 - },
3468 - "long_redirect_url": {
3469 - "type": "boolean",
3470 - "description": "Whether to return the redirect url without shortening"
3471 - },
3472 - "access_token": {
3473 - "type": "string"
3474 - },
3475 - "id_token": {
3476 - "type": "string"
3477 - },
3478 - "token_type": {
3479 - "type": "string"
3480 - },
3481 - "refresh_token": {
3482 - "type": "string",
3483 - "nullable": true
3484 - },
3485 - "expires_in": {
3486 - "anyOf": [
3487 - {
3488 - "type": "number"
3489 - },
3490 - {
3491 - "type": "string"
3492 - },
3493 - {
3494 - "nullable": true,
3495 - "type": "object"
3496 - }
3497 - ]
3498 - },
3499 - "scope": {
3500 - "anyOf": [
3501 - {
3502 - "type": "string"
3503 - },
3504 - {
3505 - "type": "array",
3506 - "items": {
3507 - "type": "string"
3508 - }
3509 - },
3510 - {
3511 - "nullable": true,
3512 - "type": "object"
3513 - }
3514 - ]
3515 - },
3516 - "webhook_signature": {
3517 - "type": "string"
3518 - },
3519 - "authed_user": {
3520 - "type": "object",
3521 - "properties": {
3522 - "access_token": {
3523 - "type": "string"
3524 - },
3525 - "scope": {
3526 - "type": "string"
3527 - }
3528 - },
3529 - "description": "for slack user scopes"
3530 - }
3531 - },
3532 - "required": [
3533 - "status",
3534 - "access_token"
3535 - ],
3536 - "additionalProperties": {}
3537 - },
3538 - {
3539 - "type": "object",
3540 - "properties": {
3541 - "subdomain": {
3542 - "type": "string"
3543 - },
3544 - "your-domain": {
3545 - "type": "string"
3546 - },
3547 - "region": {
3548 - "type": "string"
3549 - },
3550 - "shop": {
3551 - "type": "string"
3552 - },
3553 - "account_url": {
3554 - "type": "string"
3555 - },
3556 - "COMPANYDOMAIN": {
3557 - "type": "string"
3558 - },
3559 - "extension": {
3560 - "type": "string"
3561 - },
3562 - "form_api_base_url": {
3563 - "type": "string"
3564 - },
3565 - "instanceEndpoint": {
3566 - "type": "string"
3567 - },
3568 - "api_url": {
3569 - "type": "string"
3570 - },
3571 - "borneo_dashboard_url": {
3572 - "type": "string"
3573 - },
3574 - "proxy_username": {
3575 - "type": "string"
3576 - },
3577 - "proxy_password": {
3578 - "type": "string"
3579 - },
3580 - "domain": {
3581 - "type": "string"
3582 - },
3583 - "version": {
3584 - "type": "string"
3585 - },
3586 - "dc": {
3587 - "type": "string"
3588 - },
3589 - "site_name": {
3590 - "type": "string"
3591 - },
3592 - "instanceName": {
3593 - "type": "string"
3594 - },
3595 - "account_id": {
3596 - "type": "string"
3597 - },
3598 - "your_server": {
3599 - "type": "string"
3600 - },
3601 - "server_location": {
3602 - "type": "string"
3603 - },
3604 - "base_url": {
3605 - "type": "string"
3606 - },
3607 - "status": {
3608 - "type": "string",
3609 - "enum": [
3610 - "INACTIVE"
3611 - ]
3612 - },
3613 - "state_prefix": {
3614 - "type": "string",
3615 - "maxLength": 40,
3616 - "description": "The oauth2 state prefix for the connection"
3617 - },
3618 - "long_redirect_url": {
3619 - "type": "boolean",
3620 - "description": "Whether to return the redirect url without shortening"
3621 - },
3622 - "access_token": {
3623 - "type": "string"
3624 - },
3625 - "id_token": {
3626 - "type": "string"
3627 - },
3628 - "token_type": {
3629 - "type": "string"
3630 - },
3631 - "refresh_token": {
3632 - "type": "string",
3633 - "nullable": true
3634 - },
3635 - "expires_in": {
3636 - "anyOf": [
3637 - {
3638 - "type": "number"
3639 - },
3640 - {
3641 - "type": "string"
3642 - },
3643 - {
3644 - "nullable": true,
3645 - "type": "object"
3646 - }
3647 - ]
3648 - },
3649 - "scope": {
3650 - "anyOf": [
3651 - {
3652 - "type": "string"
3653 - },
3654 - {
3655 - "type": "array",
3656 - "items": {
3657 - "type": "string"
3658 - }
3659 - },
3660 - {
3661 - "nullable": true,
3662 - "type": "object"
3663 - }
3664 - ]
3665 - },
3666 - "webhook_signature": {
3667 - "type": "string"
3668 - },
3669 - "authed_user": {
3670 - "type": "object",
3671 - "properties": {
3672 - "access_token": {
3673 - "type": "string"
3674 - },
3675 - "scope": {
3676 - "type": "string"
3677 - }
3678 - },
3679 - "description": "for slack user scopes"
3680 - }
3681 - },
3682 - "required": [
3683 - "status",
3684 - "access_token"
3685 - ],
3686 - "additionalProperties": {}
3687 - },
3688 - {
3689 - "type": "object",
3690 - "properties": {
3691 - "subdomain": {
3692 - "type": "string"
3693 - },
3694 - "your-domain": {
3695 - "type": "string"
3696 - },
3697 - "region": {
3698 - "type": "string"
3699 - },
3700 - "shop": {
3701 - "type": "string"
3702 - },
3703 - "account_url": {
3704 - "type": "string"
3705 - },
3706 - "COMPANYDOMAIN": {
3707 - "type": "string"
3708 - },
3709 - "extension": {
3710 - "type": "string"
3711 - },
3712 - "form_api_base_url": {
3713 - "type": "string"
3714 - },
3715 - "instanceEndpoint": {
3716 - "type": "string"
3717 - },
3718 - "api_url": {
3719 - "type": "string"
3720 - },
3721 - "borneo_dashboard_url": {
3722 - "type": "string"
3723 - },
3724 - "proxy_username": {
3725 - "type": "string"
3726 - },
3727 - "proxy_password": {
3728 - "type": "string"
3729 - },
3730 - "domain": {
3731 - "type": "string"
3732 - },
3733 - "version": {
3734 - "type": "string"
3735 - },
3736 - "dc": {
3737 - "type": "string"
3738 - },
3739 - "site_name": {
3740 - "type": "string"
3741 - },
3742 - "instanceName": {
3743 - "type": "string"
3744 - },
3745 - "account_id": {
3746 - "type": "string"
3747 - },
3748 - "your_server": {
3749 - "type": "string"
3750 - },
3751 - "server_location": {
3752 - "type": "string"
3753 - },
3754 - "base_url": {
3755 - "type": "string"
3756 - },
3757 - "status": {
3758 - "type": "string",
3759 - "enum": [
3760 - "FAILED"
3761 - ]
3762 - },
3763 - "state_prefix": {
3764 - "type": "string",
3765 - "maxLength": 40,
3766 - "description": "The oauth2 state prefix for the connection"
3767 - },
3768 - "long_redirect_url": {
3769 - "type": "boolean",
3770 - "description": "Whether to return the redirect url without shortening"
3771 - },
3772 - "error": {
3773 - "type": "string"
3774 - },
3775 - "error_description": {
3776 - "type": "string"
3777 - }
3778 - },
3779 - "required": [
3780 - "status"
3781 - ],
3782 - "additionalProperties": {}
3783 - },
3784 - {
3785 - "type": "object",
3786 - "properties": {
3787 - "subdomain": {
3788 - "type": "string"
3789 - },
3790 - "your-domain": {
3791 - "type": "string"
3792 - },
3793 - "region": {
3794 - "type": "string"
3795 - },
3796 - "shop": {
3797 - "type": "string"
3798 - },
3799 - "account_url": {
3800 - "type": "string"
3801 - },
3802 - "COMPANYDOMAIN": {
3803 - "type": "string"
3804 - },
3805 - "extension": {
3806 - "type": "string"
3807 - },
3808 - "form_api_base_url": {
3809 - "type": "string"
3810 - },
3811 - "instanceEndpoint": {
3812 - "type": "string"
3813 - },
3814 - "api_url": {
3815 - "type": "string"
3816 - },
3817 - "borneo_dashboard_url": {
3818 - "type": "string"
3819 - },
3820 - "proxy_username": {
3821 - "type": "string"
3822 - },
3823 - "proxy_password": {
3824 - "type": "string"
3825 - },
3826 - "domain": {
3827 - "type": "string"
3828 - },
3829 - "version": {
3830 - "type": "string"
3831 - },
3832 - "dc": {
3833 - "type": "string"
3834 - },
3835 - "site_name": {
3836 - "type": "string"
3837 - },
3838 - "instanceName": {
3839 - "type": "string"
3840 - },
3841 - "account_id": {
3842 - "type": "string"
3843 - },
3844 - "your_server": {
3845 - "type": "string"
3846 - },
3847 - "server_location": {
3848 - "type": "string"
3849 - },
3850 - "base_url": {
3851 - "type": "string"
3852 - },
3853 - "status": {
3854 - "type": "string",
3855 - "enum": [
3856 - "EXPIRED"
3857 - ]
3858 - },
3859 - "state_prefix": {
3860 - "type": "string",
3861 - "maxLength": 40,
3862 - "description": "The oauth2 state prefix for the connection"
3863 - },
3864 - "long_redirect_url": {
3865 - "type": "boolean",
3866 - "description": "Whether to return the redirect url without shortening"
3867 - },
3868 - "expired_at": {
3869 - "type": "string"
3870 - }
3871 - },
3872 - "required": [
3873 - "status"
3874 - ],
3875 - "additionalProperties": {}
3876 - }
3877 - ]
3878 - }
3879 - },
3880 - "required": [
3881 - "authScheme",
3882 - "val"
3883 - ]
3884 - },
3885 - {
3886 - "type": "object",
3887 - "properties": {
3888 - "authScheme": {
3889 - "type": "string",
3890 - "enum": [
3891 - "API_KEY"
3892 - ]
2634 + "your-domain": {
2635 + "type": "string"
2636 },
3894 - "val": {
3895 - "oneOf": [
3896 - {
3897 - "type": "object",
3898 - "properties": {
3899 - "subdomain": {
3900 - "type": "string"
3901 - },
3902 - "your-domain": {
3903 - "type": "string"
3904 - },
3905 - "region": {
3906 - "type": "string"
3907 - },
3908 - "shop": {
3909 - "type": "string"
3910 - },
3911 - "account_url": {
3912 - "type": "string"
3913 - },
3914 - "COMPANYDOMAIN": {
3915 - "type": "string"
3916 - },
3917 - "extension": {
3918 - "type": "string"
3919 - },
3920 - "form_api_base_url": {
3921 - "type": "string"
3922 - },
3923 - "instanceEndpoint": {
3924 - "type": "string"
3925 - },
3926 - "api_url": {
3927 - "type": "string"
3928 - },
3929 - "borneo_dashboard_url": {
3930 - "type": "string"
3931 - },
3932 - "proxy_username": {
3933 - "type": "string"
3934 - },
3935 - "proxy_password": {
3936 - "type": "string"
3937 - },
3938 - "domain": {
3939 - "type": "string"
3940 - },
3941 - "version": {
3942 - "type": "string"
3943 - },
3944 - "dc": {
3945 - "type": "string"
3946 - },
3947 - "site_name": {
3948 - "type": "string"
3949 - },
3950 - "instanceName": {
3951 - "type": "string"
3952 - },
3953 - "account_id": {
3954 - "type": "string"
3955 - },
3956 - "your_server": {
3957 - "type": "string"
3958 - },
3959 - "server_location": {
3960 - "type": "string"
3961 - },
3962 - "base_url": {
3963 - "type": "string"
3964 - },
3965 - "status": {
3966 - "type": "string",
3967 - "enum": [
3968 - "INITIALIZING"
3969 - ]
3970 - }
3971 - },
3972 - "required": [
3973 - "status"
3974 - ],
3975 - "additionalProperties": {}
3976 - },
3977 - {
3978 - "type": "object",
3979 - "properties": {
3980 - "subdomain": {
3981 - "type": "string"
3982 - },
3983 - "your-domain": {
3984 - "type": "string"
3985 - },
3986 - "region": {
3987 - "type": "string"
3988 - },
3989 - "shop": {
3990 - "type": "string"
3991 - },
3992 - "account_url": {
3993 - "type": "string"
3994 - },
3995 - "COMPANYDOMAIN": {
3996 - "type": "string"
3997 - },
3998 - "extension": {
3999 - "type": "string"
4000 - },
4001 - "form_api_base_url": {
4002 - "type": "string"
4003 - },
4004 - "instanceEndpoint": {
4005 - "type": "string"
4006 - },
4007 - "api_url": {
4008 - "type": "string"
4009 - },
4010 - "borneo_dashboard_url": {
4011 - "type": "string"
4012 - },
4013 - "proxy_username": {
4014 - "type": "string"
4015 - },
4016 - "proxy_password": {
4017 - "type": "string"
4018 - },
4019 - "domain": {
4020 - "type": "string"
4021 - },
4022 - "version": {
4023 - "type": "string"
4024 - },
4025 - "dc": {
4026 - "type": "string"
4027 - },
4028 - "site_name": {
4029 - "type": "string"
4030 - },
4031 - "instanceName": {
4032 - "type": "string"
4033 - },
4034 - "account_id": {
4035 - "type": "string"
4036 - },
4037 - "your_server": {
4038 - "type": "string"
4039 - },
4040 - "server_location": {
4041 - "type": "string"
4042 - },
4043 - "base_url": {
4044 - "type": "string"
4045 - },
4046 - "status": {
4047 - "type": "string",
4048 - "enum": [
4049 - "INITIATED"
4050 - ]
4051 - }
4052 - },
4053 - "required": [
4054 - "status"
4055 - ],
4056 - "additionalProperties": {}
4057 - },
4058 - {
4059 - "type": "object",
4060 - "properties": {
4061 - "subdomain": {
4062 - "type": "string"
4063 - },
4064 - "your-domain": {
4065 - "type": "string"
4066 - },
4067 - "region": {
4068 - "type": "string"
4069 - },
4070 - "shop": {
4071 - "type": "string"
4072 - },
4073 - "account_url": {
4074 - "type": "string"
4075 - },
4076 - "COMPANYDOMAIN": {
4077 - "type": "string"
4078 - },
4079 - "extension": {
4080 - "type": "string"
4081 - },
4082 - "form_api_base_url": {
4083 - "type": "string"
4084 - },
4085 - "instanceEndpoint": {
4086 - "type": "string"
4087 - },
4088 - "api_url": {
4089 - "type": "string"
4090 - },
4091 - "borneo_dashboard_url": {
4092 - "type": "string"
4093 - },
4094 - "proxy_username": {
4095 - "type": "string"
4096 - },
4097 - "proxy_password": {
4098 - "type": "string"
4099 - },
4100 - "domain": {
4101 - "type": "string"
4102 - },
4103 - "version": {
4104 - "type": "string"
4105 - },
4106 - "dc": {
4107 - "type": "string"
4108 - },
4109 - "site_name": {
4110 - "type": "string"
4111 - },
4112 - "instanceName": {
4113 - "type": "string"
4114 - },
4115 - "account_id": {
4116 - "type": "string"
4117 - },
4118 - "your_server": {
4119 - "type": "string"
4120 - },
4121 - "server_location": {
4122 - "type": "string"
4123 - },
4124 - "base_url": {
4125 - "type": "string"
4126 - },
4127 - "status": {
4128 - "type": "string",
4129 - "enum": [
4130 - "ACTIVE"
4131 - ]
4132 - },
4133 - "generic_api_key": {
4134 - "type": "string"
4135 - },
4136 - "api_key": {
4137 - "type": "string"
4138 - },
4139 - "bearer_token": {
4140 - "type": "string"
4141 - },
4142 - "basic_encoded": {
4143 - "type": "string"
4144 - }
4145 - },
4146 - "required": [
4147 - "status"
4148 - ],
4149 - "additionalProperties": {}
4150 - },
4151 - {
4152 - "type": "object",
4153 - "properties": {
4154 - "subdomain": {
4155 - "type": "string"
4156 - },
4157 - "your-domain": {
4158 - "type": "string"
4159 - },
4160 - "region": {
4161 - "type": "string"
4162 - },
4163 - "shop": {
4164 - "type": "string"
4165 - },
4166 - "account_url": {
4167 - "type": "string"
4168 - },
4169 - "COMPANYDOMAIN": {
4170 - "type": "string"
4171 - },
4172 - "extension": {
4173 - "type": "string"
4174 - },
4175 - "form_api_base_url": {
4176 - "type": "string"
4177 - },
4178 - "instanceEndpoint": {
4179 - "type": "string"
4180 - },
4181 - "api_url": {
4182 - "type": "string"
4183 - },
4184 - "borneo_dashboard_url": {
4185 - "type": "string"
4186 - },
4187 - "proxy_username": {
4188 - "type": "string"
4189 - },
4190 - "proxy_password": {
4191 - "type": "string"
4192 - },
4193 - "domain": {
4194 - "type": "string"
4195 - },
4196 - "version": {
4197 - "type": "string"
4198 - },
4199 - "dc": {
4200 - "type": "string"
4201 - },
4202 - "site_name": {
4203 - "type": "string"
4204 - },
4205 - "instanceName": {
4206 - "type": "string"
4207 - },
4208 - "account_id": {
4209 - "type": "string"
4210 - },
4211 - "your_server": {
4212 - "type": "string"
4213 - },
4214 - "server_location": {
4215 - "type": "string"
4216 - },
4217 - "base_url": {
4218 - "type": "string"
4219 - },
4220 - "status": {
4221 - "type": "string",
4222 - "enum": [
4223 - "INACTIVE"
4224 - ]
4225 - },
4226 - "generic_api_key": {
4227 - "type": "string"
4228 - },
4229 - "api_key": {
4230 - "type": "string"
4231 - },
4232 - "bearer_token": {
4233 - "type": "string"
4234 - },
4235 - "basic_encoded": {
4236 - "type": "string"
4237 - }
4238 - },
4239 - "required": [
4240 - "status"
4241 - ],
4242 - "additionalProperties": {}
4243 - }
4244 - ]
4245 - }
4246 - },
4247 - "required": [
4248 - "authScheme",
4249 - "val"
4250 - ]
4251 - },
4252 - {
4253 - "type": "object",
4254 - "properties": {
4255 - "authScheme": {
4256 - "type": "string",
4257 - "enum": [
4258 - "BASIC"
4259 - ]
2637 + "region": {
2638 + "type": "string"
2639 },
4261 - "val": {
4262 - "oneOf": [
4263 - {
4264 - "type": "object",
4265 - "properties": {
4266 - "subdomain": {
4267 - "type": "string"
4268 - },
4269 - "your-domain": {
4270 - "type": "string"
4271 - },
4272 - "region": {
4273 - "type": "string"
4274 - },
4275 - "shop": {
4276 - "type": "string"
4277 - },
4278 - "account_url": {
4279 - "type": "string"
4280 - },
4281 - "COMPANYDOMAIN": {
4282 - "type": "string"
4283 - },
4284 - "extension": {
4285 - "type": "string"
4286 - },
4287 - "form_api_base_url": {
4288 - "type": "string"
4289 - },
4290 - "instanceEndpoint": {
4291 - "type": "string"
4292 - },
4293 - "api_url": {
4294 - "type": "string"
4295 - },
4296 - "borneo_dashboard_url": {
4297 - "type": "string"
4298 - },
4299 - "proxy_username": {
4300 - "type": "string"
4301 - },
4302 - "proxy_password": {
4303 - "type": "string"
4304 - },
4305 - "domain": {
4306 - "type": "string"
4307 - },
4308 - "version": {
4309 - "type": "string"
4310 - },
4311 - "dc": {
4312 - "type": "string"
4313 - },
4314 - "site_name": {
4315 - "type": "string"
4316 - },
4317 - "instanceName": {
4318 - "type": "string"
4319 - },
4320 - "account_id": {
4321 - "type": "string"
4322 - },
4323 - "your_server": {
4324 - "type": "string"
4325 - },
4326 - "server_location": {
4327 - "type": "string"
4328 - },
4329 - "base_url": {
4330 - "type": "string"
4331 - },
4332 - "status": {
4333 - "type": "string",
4334 - "enum": [
4335 - "INITIALIZING"
4336 - ]
4337 - }
4338 - },
4339 - "required": [
4340 - "status"
4341 - ],
4342 - "additionalProperties": {}
4343 - },
4344 - {
4345 - "type": "object",
4346 - "properties": {
4347 - "subdomain": {
4348 - "type": "string"
4349 - },
4350 - "your-domain": {
4351 - "type": "string"
4352 - },
4353 - "region": {
4354 - "type": "string"
4355 - },
4356 - "shop": {
4357 - "type": "string"
4358 - },
4359 - "account_url": {
4360 - "type": "string"
4361 - },
4362 - "COMPANYDOMAIN": {
4363 - "type": "string"
4364 - },
4365 - "extension": {
4366 - "type": "string"
4367 - },
4368 - "form_api_base_url": {
4369 - "type": "string"
4370 - },
4371 - "instanceEndpoint": {
4372 - "type": "string"
4373 - },
4374 - "api_url": {
4375 - "type": "string"
4376 - },
4377 - "borneo_dashboard_url": {
4378 - "type": "string"
4379 - },
4380 - "proxy_username": {
4381 - "type": "string"
4382 - },
4383 - "proxy_password": {
4384 - "type": "string"
4385 - },
4386 - "domain": {
4387 - "type": "string"
4388 - },
4389 - "version": {
4390 - "type": "string"
4391 - },
4392 - "dc": {
4393 - "type": "string"
4394 - },
4395 - "site_name": {
4396 - "type": "string"
4397 - },
4398 - "instanceName": {
4399 - "type": "string"
4400 - },
4401 - "account_id": {
4402 - "type": "string"
4403 - },
4404 - "your_server": {
4405 - "type": "string"
4406 - },
4407 - "server_location": {
4408 - "type": "string"
4409 - },
4410 - "base_url": {
4411 - "type": "string"
4412 - },
4413 - "status": {
4414 - "type": "string",
4415 - "enum": [
4416 - "INITIATED"
4417 - ]
4418 - }
4419 - },
4420 - "required": [
4421 - "status"
4422 - ],
4423 - "additionalProperties": {}
4424 - },
4425 - {
4426 - "type": "object",
4427 - "properties": {
4428 - "subdomain": {
4429 - "type": "string"
4430 - },
4431 - "your-domain": {
4432 - "type": "string"
4433 - },
4434 - "region": {
4435 - "type": "string"
4436 - },
4437 - "shop": {
4438 - "type": "string"
4439 - },
4440 - "account_url": {
4441 - "type": "string"
4442 - },
4443 - "COMPANYDOMAIN": {
4444 - "type": "string"
4445 - },
4446 - "extension": {
4447 - "type": "string"
4448 - },
4449 - "form_api_base_url": {
4450 - "type": "string"
4451 - },
4452 - "instanceEndpoint": {
4453 - "type": "string"
4454 - },
4455 - "api_url": {
4456 - "type": "string"
4457 - },
4458 - "borneo_dashboard_url": {
4459 - "type": "string"
4460 - },
4461 - "proxy_username": {
4462 - "type": "string"
4463 - },
4464 - "proxy_password": {
4465 - "type": "string"
4466 - },
4467 - "domain": {
4468 - "type": "string"
4469 - },
4470 - "version": {
4471 - "type": "string"
4472 - },
4473 - "dc": {
4474 - "type": "string"
4475 - },
4476 - "site_name": {
4477 - "type": "string"
4478 - },
4479 - "instanceName": {
4480 - "type": "string"
4481 - },
4482 - "account_id": {
4483 - "type": "string"
4484 - },
4485 - "your_server": {
4486 - "type": "string"
4487 - },
4488 - "server_location": {
4489 - "type": "string"
4490 - },
4491 - "base_url": {
4492 - "type": "string"
4493 - },
4494 - "status": {
4495 - "type": "string",
4496 - "enum": [
4497 - "ACTIVE"
4498 - ]
4499 - },
4500 - "username": {
4501 - "type": "string"
4502 - },
4503 - "password": {
4504 - "type": "string"
4505 - }
4506 - },
4507 - "required": [
4508 - "status",
4509 - "username"
4510 - ],
4511 - "additionalProperties": {}
4512 - },
4513 - {
4514 - "type": "object",
4515 - "properties": {
4516 - "subdomain": {
4517 - "type": "string"
4518 - },
4519 - "your-domain": {
4520 - "type": "string"
4521 - },
4522 - "region": {
4523 - "type": "string"
4524 - },
4525 - "shop": {
4526 - "type": "string"
4527 - },
4528 - "account_url": {
4529 - "type": "string"
4530 - },
4531 - "COMPANYDOMAIN": {
4532 - "type": "string"
4533 - },
4534 - "extension": {
4535 - "type": "string"
4536 - },
4537 - "form_api_base_url": {
4538 - "type": "string"
4539 - },
4540 - "instanceEndpoint": {
4541 - "type": "string"
4542 - },
4543 - "api_url": {
4544 - "type": "string"
4545 - },
4546 - "borneo_dashboard_url": {
4547 - "type": "string"
4548 - },
4549 - "proxy_username": {
4550 - "type": "string"
4551 - },
4552 - "proxy_password": {
4553 - "type": "string"
4554 - },
4555 - "domain": {
4556 - "type": "string"
4557 - },
4558 - "version": {
4559 - "type": "string"
4560 - },
4561 - "dc": {
4562 - "type": "string"
4563 - },
4564 - "site_name": {
4565 - "type": "string"
4566 - },
4567 - "instanceName": {
4568 - "type": "string"
4569 - },
4570 - "account_id": {
4571 - "type": "string"
4572 - },
4573 - "your_server": {
4574 - "type": "string"
4575 - },
4576 - "server_location": {
4577 - "type": "string"
4578 - },
4579 - "base_url": {
4580 - "type": "string"
4581 - },
4582 - "status": {
4583 - "type": "string",
4584 - "enum": [
4585 - "INACTIVE"
4586 - ]
4587 - },
4588 - "username": {
4589 - "type": "string"
4590 - },
4591 - "password": {
4592 - "type": "string"
4593 - }
4594 - },
4595 - "required": [
4596 - "status",
4597 - "username"
4598 - ],
4599 - "additionalProperties": {}
4600 - }
4601 - ]
4602 - }
4603 - },
4604 - "required": [
4605 - "authScheme",
4606 - "val"
4607 - ]
4608 - },
4609 - {
4610 - "type": "object",
4611 - "properties": {
4612 - "authScheme": {
4613 - "type": "string",
4614 - "enum": [
4615 - "BEARER_TOKEN"
4616 - ]
2640 + "shop": {
2641 + "type": "string"
2642 },
4618 - "val": {
4619 - "oneOf": [
4620 - {
4621 - "type": "object",
4622 - "properties": {
4623 - "subdomain": {
4624 - "type": "string"
4625 - },
4626 - "your-domain": {
4627 - "type": "string"
4628 - },
4629 - "region": {
4630 - "type": "string"
4631 - },
4632 - "shop": {
4633 - "type": "string"
4634 - },
4635 - "account_url": {
4636 - "type": "string"
4637 - },
4638 - "COMPANYDOMAIN": {
4639 - "type": "string"
4640 - },
4641 - "extension": {
4642 - "type": "string"
4643 - },
4644 - "form_api_base_url": {
4645 - "type": "string"
4646 - },
4647 - "instanceEndpoint": {
4648 - "type": "string"
4649 - },
4650 - "api_url": {
4651 - "type": "string"
4652 - },
4653 - "borneo_dashboard_url": {
4654 - "type": "string"
4655 - },
4656 - "proxy_username": {
4657 - "type": "string"
4658 - },
4659 - "proxy_password": {
4660 - "type": "string"
4661 - },
4662 - "domain": {
4663 - "type": "string"
4664 - },
4665 - "version": {
4666 - "type": "string"
4667 - },
4668 - "dc": {
4669 - "type": "string"
4670 - },
4671 - "site_name": {
4672 - "type": "string"
4673 - },
4674 - "instanceName": {
4675 - "type": "string"
4676 - },
4677 - "account_id": {
4678 - "type": "string"
4679 - },
4680 - "your_server": {
4681 - "type": "string"
4682 - },
4683 - "server_location": {
4684 - "type": "string"
4685 - },
4686 - "base_url": {
4687 - "type": "string"
4688 - },
4689 - "status": {
4690 - "type": "string",
4691 - "enum": [
4692 - "INITIALIZING"
4693 - ]
4694 - }
4695 - },
4696 - "required": [
4697 - "status"
4698 - ],
4699 - "additionalProperties": {}
4700 - },
4701 - {
4702 - "type": "object",
4703 - "properties": {
4704 - "subdomain": {
4705 - "type": "string"
4706 - },
4707 - "your-domain": {
4708 - "type": "string"
4709 - },
4710 - "region": {
4711 - "type": "string"
4712 - },
4713 - "shop": {
4714 - "type": "string"
4715 - },
4716 - "account_url": {
4717 - "type": "string"
4718 - },
4719 - "COMPANYDOMAIN": {
4720 - "type": "string"
4721 - },
4722 - "extension": {
4723 - "type": "string"
4724 - },
4725 - "form_api_base_url": {
4726 - "type": "string"
4727 - },
4728 - "instanceEndpoint": {
4729 - "type": "string"
4730 - },
4731 - "api_url": {
4732 - "type": "string"
4733 - },
4734 - "borneo_dashboard_url": {
4735 - "type": "string"
4736 - },
4737 - "proxy_username": {
4738 - "type": "string"
4739 - },
4740 - "proxy_password": {
4741 - "type": "string"
4742 - },
4743 - "domain": {
4744 - "type": "string"
4745 - },
4746 - "version": {
4747 - "type": "string"
4748 - },
4749 - "dc": {
4750 - "type": "string"
4751 - },
4752 - "site_name": {
4753 - "type": "string"
4754 - },
4755 - "instanceName": {
4756 - "type": "string"
4757 - },
4758 - "account_id": {
4759 - "type": "string"
4760 - },
4761 - "your_server": {
4762 - "type": "string"
4763 - },
4764 - "server_location": {
4765 - "type": "string"
4766 - },
4767 - "base_url": {
4768 - "type": "string"
4769 - },
4770 - "status": {
4771 - "type": "string",
4772 - "enum": [
4773 - "INITIATED"
4774 - ]
4775 - }
4776 - },
4777 - "required": [
4778 - "status"
4779 - ],
4780 - "additionalProperties": {}
4781 - },
4782 - {
4783 - "type": "object",
4784 - "properties": {
4785 - "subdomain": {
4786 - "type": "string"
4787 - },
4788 - "your-domain": {
4789 - "type": "string"
4790 - },
4791 - "region": {
4792 - "type": "string"
4793 - },
4794 - "shop": {
4795 - "type": "string"
4796 - },
4797 - "account_url": {
4798 - "type": "string"
4799 - },
4800 - "COMPANYDOMAIN": {
4801 - "type": "string"
4802 - },
4803 - "extension": {
4804 - "type": "string"
4805 - },
4806 - "form_api_base_url": {
4807 - "type": "string"
4808 - },
4809 - "instanceEndpoint": {
4810 - "type": "string"
4811 - },
4812 - "api_url": {
4813 - "type": "string"
4814 - },
4815 - "borneo_dashboard_url": {
4816 - "type": "string"
4817 - },
4818 - "proxy_username": {
4819 - "type": "string"
4820 - },
4821 - "proxy_password": {
4822 - "type": "string"
4823 - },
4824 - "domain": {
4825 - "type": "string"
4826 - },
4827 - "version": {
4828 - "type": "string"
4829 - },
4830 - "dc": {
4831 - "type": "string"
4832 - },
4833 - "site_name": {
4834 - "type": "string"
4835 - },
4836 - "instanceName": {
4837 - "type": "string"
4838 - },
4839 - "account_id": {
4840 - "type": "string"
4841 - },
4842 - "your_server": {
4843 - "type": "string"
4844 - },
4845 - "server_location": {
4846 - "type": "string"
4847 - },
4848 - "base_url": {
4849 - "type": "string"
4850 - },
4851 - "status": {
4852 - "type": "string",
4853 - "enum": [
4854 - "ACTIVE"
4855 - ]
4856 - },
4857 - "token": {
4858 - "type": "string"
4859 - }
4860 - },
4861 - "required": [
4862 - "status",
4863 - "token"
4864 - ],
4865 - "additionalProperties": {}
4866 - },
4867 - {
4868 - "type": "object",
4869 - "properties": {
4870 - "subdomain": {
4871 - "type": "string"
4872 - },
4873 - "your-domain": {
4874 - "type": "string"
4875 - },
4876 - "region": {
4877 - "type": "string"
4878 - },
4879 - "shop": {
4880 - "type": "string"
4881 - },
4882 - "account_url": {
4883 - "type": "string"
4884 - },
4885 - "COMPANYDOMAIN": {
4886 - "type": "string"
4887 - },
4888 - "extension": {
4889 - "type": "string"
4890 - },
4891 - "form_api_base_url": {
4892 - "type": "string"
4893 - },
4894 - "instanceEndpoint": {
4895 - "type": "string"
4896 - },
4897 - "api_url": {
4898 - "type": "string"
4899 - },
4900 - "borneo_dashboard_url": {
4901 - "type": "string"
4902 - },
4903 - "proxy_username": {
4904 - "type": "string"
4905 - },
4906 - "proxy_password": {
4907 - "type": "string"
4908 - },
4909 - "domain": {
4910 - "type": "string"
4911 - },
4912 - "version": {
4913 - "type": "string"
4914 - },
4915 - "dc": {
4916 - "type": "string"
4917 - },
4918 - "site_name": {
4919 - "type": "string"
4920 - },
4921 - "instanceName": {
4922 - "type": "string"
4923 - },
4924 - "account_id": {
4925 - "type": "string"
4926 - },
4927 - "your_server": {
4928 - "type": "string"
4929 - },
4930 - "server_location": {
4931 - "type": "string"
4932 - },
4933 - "base_url": {
4934 - "type": "string"
4935 - },
4936 - "status": {
4937 - "type": "string",
4938 - "enum": [
4939 - "INACTIVE"
4940 - ]
4941 - },
4942 - "token": {
4943 - "type": "string"
4944 - }
4945 - },
4946 - "required": [
4947 - "status",
4948 - "token"
4949 - ],
4950 - "additionalProperties": {}
4951 - }
4952 - ]
4953 - }
4954 - },
4955 - "required": [
4956 - "authScheme",
4957 - "val"
4958 - ]
4959 - },
4960 - {
4961 - "type": "object",
4962 - "properties": {
4963 - "authScheme": {
4964 - "type": "string",
4965 - "enum": [
4966 - "GOOGLE_SERVICE_ACCOUNT"
4967 - ]
2643 + "account_url": {
2644 + "type": "string"
2645 },
4969 - "val": {
4970 - "oneOf": [
4971 - {
4972 - "type": "object",
4973 - "properties": {
4974 - "subdomain": {
4975 - "type": "string"
4976 - },
4977 - "your-domain": {
4978 - "type": "string"
4979 - },
4980 - "region": {
4981 - "type": "string"
4982 - },
4983 - "shop": {
4984 - "type": "string"
4985 - },
4986 - "account_url": {
4987 - "type": "string"
4988 - },
4989 - "COMPANYDOMAIN": {
4990 - "type": "string"
4991 - },
4992 - "extension": {
4993 - "type": "string"
4994 - },
4995 - "form_api_base_url": {
4996 - "type": "string"
4997 - },
4998 - "instanceEndpoint": {
4999 - "type": "string"
5000 - },
5001 - "api_url": {
5002 - "type": "string"
5003 - },
5004 - "borneo_dashboard_url": {
5005 - "type": "string"
5006 - },
5007 - "proxy_username": {
5008 - "type": "string"
5009 - },
5010 - "proxy_password": {
5011 - "type": "string"
5012 - },
5013 - "domain": {
5014 - "type": "string"
5015 - },
5016 - "version": {
5017 - "type": "string"
5018 - },
5019 - "dc": {
5020 - "type": "string"
5021 - },
5022 - "site_name": {
5023 - "type": "string"
5024 - },
5025 - "instanceName": {
5026 - "type": "string"
5027 - },
5028 - "account_id": {
5029 - "type": "string"
5030 - },
5031 - "your_server": {
5032 - "type": "string"
5033 - },
5034 - "server_location": {
5035 - "type": "string"
5036 - },
5037 - "base_url": {
5038 - "type": "string"
5039 - },
5040 - "status": {
5041 - "type": "string",
5042 - "enum": [
5043 - "INITIALIZING"
5044 - ]
5045 - }
5046 - },
5047 - "required": [
5048 - "status"
5049 - ],
5050 - "additionalProperties": {}
5051 - },
5052 - {
5053 - "type": "object",
5054 - "properties": {
5055 - "subdomain": {
5056 - "type": "string"
5057 - },
5058 - "your-domain": {
5059 - "type": "string"
5060 - },
5061 - "region": {
5062 - "type": "string"
5063 - },
5064 - "shop": {
5065 - "type": "string"
5066 - },
5067 - "account_url": {
5068 - "type": "string"
5069 - },
5070 - "COMPANYDOMAIN": {
5071 - "type": "string"
5072 - },
5073 - "extension": {
5074 - "type": "string"
5075 - },
5076 - "form_api_base_url": {
5077 - "type": "string"
5078 - },
5079 - "instanceEndpoint": {
5080 - "type": "string"
5081 - },
5082 - "api_url": {
5083 - "type": "string"
5084 - },
5085 - "borneo_dashboard_url": {
5086 - "type": "string"
5087 - },
5088 - "proxy_username": {
5089 - "type": "string"
5090 - },
5091 - "proxy_password": {
5092 - "type": "string"
5093 - },
5094 - "domain": {
5095 - "type": "string"
5096 - },
5097 - "version": {
5098 - "type": "string"
5099 - },
5100 - "dc": {
5101 - "type": "string"
5102 - },
5103 - "site_name": {
5104 - "type": "string"
5105 - },
5106 - "instanceName": {
5107 - "type": "string"
5108 - },
5109 - "account_id": {
5110 - "type": "string"
5111 - },
5112 - "your_server": {
5113 - "type": "string"
5114 - },
5115 - "server_location": {
5116 - "type": "string"
5117 - },
5118 - "base_url": {
5119 - "type": "string"
5120 - },
5121 - "status": {
5122 - "type": "string",
5123 - "enum": [
5124 - "INITIATED"
5125 - ]
5126 - },
5127 - "redirectUrl": {
5128 - "type": "string"
5129 - },
5130 - "composio_link_redirect_url": {
5131 - "type": "string"
5132 - }
5133 - },
5134 - "required": [
5135 - "status",
5136 - "redirectUrl"
5137 - ],
5138 - "additionalProperties": {}
5139 - },
5140 - {
5141 - "type": "object",
5142 - "properties": {
5143 - "subdomain": {
5144 - "type": "string"
5145 - },
5146 - "your-domain": {
5147 - "type": "string"
5148 - },
5149 - "region": {
5150 - "type": "string"
5151 - },
5152 - "shop": {
5153 - "type": "string"
5154 - },
5155 - "account_url": {
5156 - "type": "string"
5157 - },
5158 - "COMPANYDOMAIN": {
5159 - "type": "string"
5160 - },
5161 - "extension": {
5162 - "type": "string"
5163 - },
5164 - "form_api_base_url": {
5165 - "type": "string"
5166 - },
5167 - "instanceEndpoint": {
5168 - "type": "string"
5169 - },
5170 - "api_url": {
5171 - "type": "string"
5172 - },
5173 - "borneo_dashboard_url": {
5174 - "type": "string"
5175 - },
5176 - "proxy_username": {
5177 - "type": "string"
5178 - },
5179 - "proxy_password": {
5180 - "type": "string"
5181 - },
5182 - "domain": {
5183 - "type": "string"
5184 - },
5185 - "version": {
5186 - "type": "string"
5187 - },
5188 - "dc": {
5189 - "type": "string"
5190 - },
5191 - "site_name": {
5192 - "type": "string"
5193 - },
5194 - "instanceName": {
5195 - "type": "string"
5196 - },
5197 - "account_id": {
5198 - "type": "string"
5199 - },
5200 - "your_server": {
5201 - "type": "string"
5202 - },
5203 - "server_location": {
5204 - "type": "string"
5205 - },
5206 - "base_url": {
5207 - "type": "string"
5208 - },
5209 - "status": {
5210 - "type": "string",
5211 - "enum": [
5212 - "ACTIVE"
5213 - ]
5214 - },
5215 - "credentials_json": {
5216 - "type": "string"
5217 - }
5218 - },
5219 - "required": [
5220 - "status",
5221 - "credentials_json"
5222 - ],
5223 - "additionalProperties": {}
5224 - },
5225 - {
5226 - "type": "object",
5227 - "properties": {
5228 - "subdomain": {
5229 - "type": "string"
5230 - },
5231 - "your-domain": {
5232 - "type": "string"
5233 - },
5234 - "region": {
5235 - "type": "string"
5236 - },
5237 - "shop": {
5238 - "type": "string"
5239 - },
5240 - "account_url": {
5241 - "type": "string"
5242 - },
5243 - "COMPANYDOMAIN": {
5244 - "type": "string"
5245 - },
5246 - "extension": {
5247 - "type": "string"
5248 - },
5249 - "form_api_base_url": {
5250 - "type": "string"
5251 - },
5252 - "instanceEndpoint": {
5253 - "type": "string"
5254 - },
5255 - "api_url": {
5256 - "type": "string"
5257 - },
5258 - "borneo_dashboard_url": {
5259 - "type": "string"
5260 - },
5261 - "proxy_username": {
5262 - "type": "string"
5263 - },
5264 - "proxy_password": {
5265 - "type": "string"
5266 - },
5267 - "domain": {
5268 - "type": "string"
5269 - },
5270 - "version": {
5271 - "type": "string"
5272 - },
5273 - "dc": {
5274 - "type": "string"
5275 - },
5276 - "site_name": {
5277 - "type": "string"
5278 - },
5279 - "instanceName": {
5280 - "type": "string"
5281 - },
5282 - "account_id": {
5283 - "type": "string"
5284 - },
5285 - "your_server": {
5286 - "type": "string"
5287 - },
5288 - "server_location": {
5289 - "type": "string"
5290 - },
5291 - "base_url": {
5292 - "type": "string"
5293 - },
5294 - "status": {
5295 - "type": "string",
5296 - "enum": [
5297 - "INACTIVE"
5298 - ]
5299 - },
5300 - "credentials_json": {
5301 - "type": "string"
5302 - }
5303 - },
5304 - "required": [
5305 - "status",
5306 - "credentials_json"
5307 - ],
5308 - "additionalProperties": {}
5309 - }
5310 - ]
5311 - }
5312 - },
5313 - "required": [
5314 - "authScheme",
5315 - "val"
5316 - ]
5317 - },
5318 - {
5319 - "type": "object",
5320 - "properties": {
5321 - "authScheme": {
5322 - "type": "string",
5323 - "enum": [
5324 - "NO_AUTH"
5325 - ]
2646 + "COMPANYDOMAIN": {
2647 + "type": "string"
2648 },
5327 - "val": {
5328 - "oneOf": [
5329 - {
5330 - "type": "object",
5331 - "properties": {
5332 - "subdomain": {
5333 - "type": "string"
5334 - },
5335 - "your-domain": {
5336 - "type": "string"
5337 - },
5338 - "region": {
5339 - "type": "string"
5340 - },
5341 - "shop": {
5342 - "type": "string"
5343 - },
5344 - "account_url": {
5345 - "type": "string"
5346 - },
5347 - "COMPANYDOMAIN": {
5348 - "type": "string"
5349 - },
5350 - "extension": {
5351 - "type": "string"
5352 - },
5353 - "form_api_base_url": {
5354 - "type": "string"
5355 - },
5356 - "instanceEndpoint": {
5357 - "type": "string"
5358 - },
5359 - "api_url": {
5360 - "type": "string"
5361 - },
5362 - "borneo_dashboard_url": {
5363 - "type": "string"
5364 - },
5365 - "proxy_username": {
5366 - "type": "string"
5367 - },
5368 - "proxy_password": {
5369 - "type": "string"
5370 - },
5371 - "domain": {
5372 - "type": "string"
5373 - },
5374 - "version": {
5375 - "type": "string"
5376 - },
5377 - "dc": {
5378 - "type": "string"
5379 - },
5380 - "site_name": {
5381 - "type": "string"
5382 - },
5383 - "instanceName": {
5384 - "type": "string"
5385 - },
5386 - "account_id": {
5387 - "type": "string"
5388 - },
5389 - "your_server": {
5390 - "type": "string"
5391 - },
5392 - "server_location": {
5393 - "type": "string"
5394 - },
5395 - "base_url": {
5396 - "type": "string"
5397 - },
5398 - "status": {
5399 - "type": "string",
5400 - "enum": [
5401 - "INITIALIZING"
5402 - ]
5403 - }
5404 - },
5405 - "required": [
5406 - "status"
5407 - ],
5408 - "additionalProperties": {}
5409 - },
5410 - {
5411 - "type": "object",
5412 - "properties": {
5413 - "subdomain": {
5414 - "type": "string"
5415 - },
5416 - "your-domain": {
5417 - "type": "string"
5418 - },
5419 - "region": {
5420 - "type": "string"
5421 - },
5422 - "shop": {
5423 - "type": "string"
5424 - },
5425 - "account_url": {
5426 - "type": "string"
5427 - },
5428 - "COMPANYDOMAIN": {
5429 - "type": "string"
5430 - },
5431 - "extension": {
5432 - "type": "string"
5433 - },
5434 - "form_api_base_url": {
5435 - "type": "string"
5436 - },
5437 - "instanceEndpoint": {
5438 - "type": "string"
5439 - },
5440 - "api_url": {
5441 - "type": "string"
5442 - },
5443 - "borneo_dashboard_url": {
5444 - "type": "string"
5445 - },
5446 - "proxy_username": {
5447 - "type": "string"
5448 - },
5449 - "proxy_password": {
5450 - "type": "string"
5451 - },
5452 - "domain": {
5453 - "type": "string"
5454 - },
5455 - "version": {
5456 - "type": "string"
5457 - },
5458 - "dc": {
5459 - "type": "string"
5460 - },
5461 - "site_name": {
5462 - "type": "string"
5463 - },
5464 - "instanceName": {
5465 - "type": "string"
5466 - },
5467 - "account_id": {
5468 - "type": "string"
5469 - },
5470 - "your_server": {
5471 - "type": "string"
5472 - },
5473 - "server_location": {
5474 - "type": "string"
5475 - },
5476 - "base_url": {
5477 - "type": "string"
5478 - },
5479 - "status": {
5480 - "type": "string",
5481 - "enum": [
5482 - "INITIATED"
5483 - ]
5484 - }
5485 - },
5486 - "required": [
5487 - "status"
5488 - ],
5489 - "additionalProperties": {}
5490 - },
5491 - {
5492 - "type": "object",
5493 - "properties": {
5494 - "subdomain": {
5495 - "type": "string"
5496 - },
5497 - "your-domain": {
5498 - "type": "string"
5499 - },
5500 - "region": {
5501 - "type": "string"
5502 - },
5503 - "shop": {
5504 - "type": "string"
5505 - },
5506 - "account_url": {
5507 - "type": "string"
5508 - },
5509 - "COMPANYDOMAIN": {
5510 - "type": "string"
5511 - },
5512 - "extension": {
5513 - "type": "string"
5514 - },
5515 - "form_api_base_url": {
5516 - "type": "string"
5517 - },
5518 - "instanceEndpoint": {
5519 - "type": "string"
5520 - },
5521 - "api_url": {
5522 - "type": "string"
5523 - },
5524 - "borneo_dashboard_url": {
5525 - "type": "string"
5526 - },
5527 - "proxy_username": {
5528 - "type": "string"
5529 - },
5530 - "proxy_password": {
5531 - "type": "string"
5532 - },
5533 - "domain": {
5534 - "type": "string"
5535 - },
5536 - "version": {
5537 - "type": "string"
5538 - },
5539 - "dc": {
5540 - "type": "string"
5541 - },
5542 - "site_name": {
5543 - "type": "string"
5544 - },
5545 - "instanceName": {
5546 - "type": "string"
5547 - },
5548 - "account_id": {
5549 - "type": "string"
5550 - },
5551 - "your_server": {
5552 - "type": "string"
5553 - },
5554 - "server_location": {
5555 - "type": "string"
5556 - },
5557 - "base_url": {
5558 - "type": "string"
5559 - },
5560 - "status": {
5561 - "type": "string",
5562 - "enum": [
5563 - "ACTIVE"
5564 - ]
5565 - }
5566 - },
5567 - "required": [
5568 - "status"
5569 - ],
5570 - "additionalProperties": {}
5571 - },
5572 - {
5573 - "type": "object",
5574 - "properties": {
5575 - "subdomain": {
5576 - "type": "string"
5577 - },
5578 - "your-domain": {
5579 - "type": "string"
5580 - },
5581 - "region": {
5582 - "type": "string"
5583 - },
5584 - "shop": {
5585 - "type": "string"
5586 - },
5587 - "account_url": {
5588 - "type": "string"
5589 - },
5590 - "COMPANYDOMAIN": {
5591 - "type": "string"
5592 - },
5593 - "extension": {
5594 - "type": "string"
5595 - },
5596 - "form_api_base_url": {
5597 - "type": "string"
5598 - },
5599 - "instanceEndpoint": {
5600 - "type": "string"
5601 - },
5602 - "api_url": {
5603 - "type": "string"
5604 - },
5605 - "borneo_dashboard_url": {
5606 - "type": "string"
5607 - },
5608 - "proxy_username": {
5609 - "type": "string"
5610 - },
5611 - "proxy_password": {
5612 - "type": "string"
5613 - },
5614 - "domain": {
5615 - "type": "string"
5616 - },
5617 - "version": {
5618 - "type": "string"
5619 - },
5620 - "dc": {
5621 - "type": "string"
5622 - },
5623 - "site_name": {
5624 - "type": "string"
5625 - },
5626 - "instanceName": {
5627 - "type": "string"
5628 - },
5629 - "account_id": {
5630 - "type": "string"
5631 - },
5632 - "your_server": {
5633 - "type": "string"
5634 - },
5635 - "server_location": {
5636 - "type": "string"
5637 - },
5638 - "base_url": {
5639 - "type": "string"
5640 - },
5641 - "status": {
5642 - "type": "string",
5643 - "enum": [
5644 - "INACTIVE"
5645 - ]
5646 - }
5647 - },
5648 - "required": [
5649 - "status"
5650 - ],
5651 - "additionalProperties": {}
5652 - },
5653 - {
5654 - "type": "object",
5655 - "properties": {
5656 - "subdomain": {
5657 - "type": "string"
5658 - },
5659 - "your-domain": {
5660 - "type": "string"
5661 - },
5662 - "region": {
5663 - "type": "string"
5664 - },
5665 - "shop": {
5666 - "type": "string"
5667 - },
5668 - "account_url": {
5669 - "type": "string"
5670 - },
5671 - "COMPANYDOMAIN": {
5672 - "type": "string"
5673 - },
5674 - "extension": {
5675 - "type": "string"
5676 - },
5677 - "form_api_base_url": {
5678 - "type": "string"
5679 - },
5680 - "instanceEndpoint": {
5681 - "type": "string"
5682 - },
5683 - "api_url": {
5684 - "type": "string"
5685 - },
5686 - "borneo_dashboard_url": {
5687 - "type": "string"
5688 - },
5689 - "proxy_username": {
5690 - "type": "string"
5691 - },
5692 - "proxy_password": {
5693 - "type": "string"
5694 - },
5695 - "domain": {
5696 - "type": "string"
5697 - },
5698 - "version": {
5699 - "type": "string"
5700 - },
5701 - "dc": {
5702 - "type": "string"
5703 - },
5704 - "site_name": {
5705 - "type": "string"
5706 - },
5707 - "instanceName": {
5708 - "type": "string"
5709 - },
5710 - "account_id": {
5711 - "type": "string"
5712 - },
5713 - "your_server": {
5714 - "type": "string"
5715 - },
5716 - "server_location": {
5717 - "type": "string"
5718 - },
5719 - "base_url": {
5720 - "type": "string"
5721 - },
5722 - "status": {
5723 - "type": "string",
5724 - "enum": [
5725 - "FAILED"
5726 - ]
5727 - },
5728 - "error": {
5729 - "type": "string"
5730 - },
5731 - "error_description": {
5732 - "type": "string"
5733 - }
5734 - },
5735 - "required": [
5736 - "status"
5737 - ],
5738 - "additionalProperties": {}
5739 - },
5740 - {
5741 - "type": "object",
5742 - "properties": {
5743 - "subdomain": {
5744 - "type": "string"
5745 - },
5746 - "your-domain": {
5747 - "type": "string"
5748 - },
5749 - "region": {
5750 - "type": "string"
5751 - },
5752 - "shop": {
5753 - "type": "string"
5754 - },
5755 - "account_url": {
5756 - "type": "string"
5757 - },
5758 - "COMPANYDOMAIN": {
5759 - "type": "string"
5760 - },
5761 - "extension": {
5762 - "type": "string"
5763 - },
5764 - "form_api_base_url": {
5765 - "type": "string"
5766 - },
5767 - "instanceEndpoint": {
5768 - "type": "string"
5769 - },
5770 - "api_url": {
5771 - "type": "string"
5772 - },
5773 - "borneo_dashboard_url": {
5774 - "type": "string"
5775 - },
5776 - "proxy_username": {
5777 - "type": "string"
5778 - },
5779 - "proxy_password": {
5780 - "type": "string"
5781 - },
5782 - "domain": {
5783 - "type": "string"
5784 - },
5785 - "version": {
5786 - "type": "string"
5787 - },
5788 - "dc": {
5789 - "type": "string"
5790 - },
5791 - "site_name": {
5792 - "type": "string"
5793 - },
5794 - "instanceName": {
5795 - "type": "string"
5796 - },
5797 - "account_id": {
5798 - "type": "string"
5799 - },
5800 - "your_server": {
5801 - "type": "string"
5802 - },
5803 - "server_location": {
5804 - "type": "string"
5805 - },
5806 - "base_url": {
5807 - "type": "string"
5808 - },
5809 - "status": {
5810 - "type": "string",
5811 - "enum": [
5812 - "EXPIRED"
5813 - ]
5814 - },
5815 - "expired_at": {
5816 - "type": "string"
5817 - }
5818 - },
5819 - "required": [
5820 - "status"
5821 - ],
5822 - "additionalProperties": {}
5823 - }
5824 - ]
5825 - }
5826 - },
5827 - "required": [
5828 - "authScheme",
5829 - "val"
5830 - ]
5831 - },
5832 - {
5833 - "type": "object",
5834 - "properties": {
5835 - "authScheme": {
2649 + "extension": {
2650 + "type": "string"
2651 + },
2652 + "form_api_base_url": {
2653 + "type": "string"
2654 + },
2655 + "instanceEndpoint": {
2656 + "type": "string"
2657 + },
2658 + "api_url": {
2659 + "type": "string"
2660 + },
2661 + "borneo_dashboard_url": {
2662 + "type": "string"
2663 + },
2664 + "proxy_username": {
2665 + "type": "string"
2666 + },
2667 + "proxy_password": {
2668 + "type": "string"
2669 + },
2670 + "domain": {
2671 + "type": "string"
2672 + },
2673 + "version": {
2674 + "type": "string"
2675 + },
2676 + "dc": {
2677 + "type": "string"
2678 + },
2679 + "site_name": {
2680 + "type": "string"
2681 + },
2682 + "instanceName": {
2683 + "type": "string"
2684 + },
2685 + "account_id": {
2686 + "type": "string"
2687 + },
2688 + "your_server": {
2689 + "type": "string"
2690 + },
2691 + "server_location": {
2692 + "type": "string"
2693 + },
2694 + "base_url": {
2695 + "type": "string"
2696 + },
2697 + "status": {
2698 "type": "string",
2699 "enum": [
5838 - "CALCOM_AUTH"
2700 + "INITIALIZING",
2701 + "INITIATED",
2702 + "ACTIVE",
2703 + "FAILED",
2704 + "EXPIRED",
2705 + "INACTIVE"
2706 ]
2707 },
5841 - "val": {
5842 - "oneOf": [
5843 - {
5844 - "type": "object",
5845 - "properties": {
5846 - "subdomain": {
5847 - "type": "string"
5848 - },
5849 - "your-domain": {
5850 - "type": "string"
5851 - },
5852 - "region": {
5853 - "type": "string"
5854 - },
5855 - "shop": {
5856 - "type": "string"
5857 - },
5858 - "account_url": {
5859 - "type": "string"
5860 - },
5861 - "COMPANYDOMAIN": {
5862 - "type": "string"
5863 - },
5864 - "extension": {
5865 - "type": "string"
5866 - },
5867 - "form_api_base_url": {
5868 - "type": "string"
5869 - },
5870 - "instanceEndpoint": {
5871 - "type": "string"
5872 - },
5873 - "api_url": {
5874 - "type": "string"
5875 - },
5876 - "borneo_dashboard_url": {
5877 - "type": "string"
5878 - },
5879 - "proxy_username": {
5880 - "type": "string"
5881 - },
5882 - "proxy_password": {
5883 - "type": "string"
5884 - },
5885 - "domain": {
5886 - "type": "string"
5887 - },
5888 - "version": {
5889 - "type": "string"
5890 - },
5891 - "dc": {
5892 - "type": "string"
5893 - },
5894 - "site_name": {
5895 - "type": "string"
5896 - },
5897 - "instanceName": {
5898 - "type": "string"
5899 - },
5900 - "account_id": {
5901 - "type": "string"
5902 - },
5903 - "your_server": {
5904 - "type": "string"
5905 - },
5906 - "server_location": {
5907 - "type": "string"
5908 - },
5909 - "base_url": {
5910 - "type": "string"
5911 - },
5912 - "status": {
5913 - "type": "string",
5914 - "enum": [
5915 - "INITIALIZING"
5916 - ]
5917 - }
5918 - },
5919 - "required": [
5920 - "status"
5921 - ],
5922 - "additionalProperties": {}
5923 - },
5924 - {
5925 - "type": "object",
5926 - "properties": {
5927 - "subdomain": {
5928 - "type": "string"
5929 - },
5930 - "your-domain": {
5931 - "type": "string"
5932 - },
5933 - "region": {
5934 - "type": "string"
5935 - },
5936 - "shop": {
5937 - "type": "string"
5938 - },
5939 - "account_url": {
5940 - "type": "string"
5941 - },
5942 - "COMPANYDOMAIN": {
5943 - "type": "string"
5944 - },
5945 - "extension": {
5946 - "type": "string"
5947 - },
5948 - "form_api_base_url": {
5949 - "type": "string"
5950 - },
5951 - "instanceEndpoint": {
5952 - "type": "string"
5953 - },
5954 - "api_url": {
5955 - "type": "string"
5956 - },
5957 - "borneo_dashboard_url": {
5958 - "type": "string"
5959 - },
5960 - "proxy_username": {
5961 - "type": "string"
5962 - },
5963 - "proxy_password": {
5964 - "type": "string"
5965 - },
5966 - "domain": {
5967 - "type": "string"
5968 - },
5969 - "version": {
5970 - "type": "string"
5971 - },
5972 - "dc": {
5973 - "type": "string"
5974 - },
5975 - "site_name": {
5976 - "type": "string"
5977 - },
5978 - "instanceName": {
5979 - "type": "string"
5980 - },
5981 - "account_id": {
5982 - "type": "string"
5983 - },
5984 - "your_server": {
5985 - "type": "string"
5986 - },
5987 - "server_location": {
5988 - "type": "string"
5989 - },
5990 - "base_url": {
5991 - "type": "string"
5992 - },
5993 - "status": {
5994 - "type": "string",
5995 - "enum": [
5996 - "INITIATED"
5997 - ]
5998 - }
5999 - },
6000 - "required": [
6001 - "status"
6002 - ],
6003 - "additionalProperties": {}
6004 - },
6005 - {
6006 - "type": "object",
6007 - "properties": {
6008 - "subdomain": {
6009 - "type": "string"
6010 - },
6011 - "your-domain": {
6012 - "type": "string"
6013 - },
6014 - "region": {
6015 - "type": "string"
6016 - },
6017 - "shop": {
6018 - "type": "string"
6019 - },
6020 - "account_url": {
6021 - "type": "string"
6022 - },
6023 - "COMPANYDOMAIN": {
6024 - "type": "string"
6025 - },
6026 - "extension": {
6027 - "type": "string"
6028 - },
6029 - "form_api_base_url": {
6030 - "type": "string"
6031 - },
6032 - "instanceEndpoint": {
6033 - "type": "string"
6034 - },
6035 - "api_url": {
6036 - "type": "string"
6037 - },
6038 - "borneo_dashboard_url": {
6039 - "type": "string"
6040 - },
6041 - "proxy_username": {
6042 - "type": "string"
6043 - },
6044 - "proxy_password": {
6045 - "type": "string"
6046 - },
6047 - "domain": {
6048 - "type": "string"
6049 - },
6050 - "version": {
6051 - "type": "string"
6052 - },
6053 - "dc": {
6054 - "type": "string"
6055 - },
6056 - "site_name": {
6057 - "type": "string"
6058 - },
6059 - "instanceName": {
6060 - "type": "string"
6061 - },
6062 - "account_id": {
6063 - "type": "string"
6064 - },
6065 - "your_server": {
6066 - "type": "string"
6067 - },
6068 - "server_location": {
6069 - "type": "string"
6070 - },
6071 - "base_url": {
6072 - "type": "string"
6073 - },
6074 - "status": {
6075 - "type": "string",
6076 - "enum": [
6077 - "ACTIVE"
6078 - ]
6079 - }
6080 - },
6081 - "required": [
6082 - "status"
6083 - ],
6084 - "additionalProperties": {}
6085 - },
6086 - {
6087 - "type": "object",
6088 - "properties": {
6089 - "subdomain": {
6090 - "type": "string"
6091 - },
6092 - "your-domain": {
6093 - "type": "string"
6094 - },
6095 - "region": {
6096 - "type": "string"
6097 - },
6098 - "shop": {
6099 - "type": "string"
6100 - },
6101 - "account_url": {
6102 - "type": "string"
6103 - },
6104 - "COMPANYDOMAIN": {
6105 - "type": "string"
6106 - },
6107 - "extension": {
6108 - "type": "string"
6109 - },
6110 - "form_api_base_url": {
6111 - "type": "string"
6112 - },
6113 - "instanceEndpoint": {
6114 - "type": "string"
6115 - },
6116 - "api_url": {
6117 - "type": "string"
6118 - },
6119 - "borneo_dashboard_url": {
6120 - "type": "string"
6121 - },
6122 - "proxy_username": {
6123 - "type": "string"
6124 - },
6125 - "proxy_password": {
6126 - "type": "string"
6127 - },
6128 - "domain": {
6129 - "type": "string"
6130 - },
6131 - "version": {
6132 - "type": "string"
6133 - },
6134 - "dc": {
6135 - "type": "string"
6136 - },
6137 - "site_name": {
6138 - "type": "string"
6139 - },
6140 - "instanceName": {
6141 - "type": "string"
6142 - },
6143 - "account_id": {
6144 - "type": "string"
6145 - },
6146 - "your_server": {
6147 - "type": "string"
6148 - },
6149 - "server_location": {
6150 - "type": "string"
6151 - },
6152 - "base_url": {
6153 - "type": "string"
6154 - },
6155 - "status": {
6156 - "type": "string",
6157 - "enum": [
6158 - "INACTIVE"
6159 - ]
6160 - }
6161 - },
6162 - "required": [
6163 - "status"
6164 - ],
6165 - "additionalProperties": {}
6166 - },
6167 - {
6168 - "type": "object",
6169 - "properties": {
6170 - "subdomain": {
6171 - "type": "string"
6172 - },
6173 - "your-domain": {
6174 - "type": "string"
6175 - },
6176 - "region": {
6177 - "type": "string"
6178 - },
6179 - "shop": {
6180 - "type": "string"
6181 - },
6182 - "account_url": {
6183 - "type": "string"
6184 - },
6185 - "COMPANYDOMAIN": {
6186 - "type": "string"
6187 - },
6188 - "extension": {
6189 - "type": "string"
6190 - },
6191 - "form_api_base_url": {
6192 - "type": "string"
6193 - },
6194 - "instanceEndpoint": {
6195 - "type": "string"
6196 - },
6197 - "api_url": {
6198 - "type": "string"
6199 - },
6200 - "borneo_dashboard_url": {
6201 - "type": "string"
6202 - },
6203 - "proxy_username": {
6204 - "type": "string"
6205 - },
6206 - "proxy_password": {
6207 - "type": "string"
6208 - },
6209 - "domain": {
6210 - "type": "string"
6211 - },
6212 - "version": {
6213 - "type": "string"
6214 - },
6215 - "dc": {
6216 - "type": "string"
6217 - },
6218 - "site_name": {
6219 - "type": "string"
6220 - },
6221 - "instanceName": {
6222 - "type": "string"
6223 - },
6224 - "account_id": {
6225 - "type": "string"
6226 - },
6227 - "your_server": {
6228 - "type": "string"
6229 - },
6230 - "server_location": {
6231 - "type": "string"
6232 - },
6233 - "base_url": {
6234 - "type": "string"
6235 - },
6236 - "status": {
6237 - "type": "string",
6238 - "enum": [
6239 - "FAILED"
6240 - ]
6241 - },
6242 - "error": {
6243 - "type": "string"
6244 - },
6245 - "error_description": {
6246 - "type": "string"
6247 - }
6248 - },
6249 - "required": [
6250 - "status"
6251 - ],
6252 - "additionalProperties": {}
6253 - },
6254 - {
6255 - "type": "object",
6256 - "properties": {
6257 - "subdomain": {
6258 - "type": "string"
6259 - },
6260 - "your-domain": {
6261 - "type": "string"
6262 - },
6263 - "region": {
6264 - "type": "string"
6265 - },
6266 - "shop": {
6267 - "type": "string"
6268 - },
6269 - "account_url": {
6270 - "type": "string"
6271 - },
6272 - "COMPANYDOMAIN": {
6273 - "type": "string"
6274 - },
6275 - "extension": {
6276 - "type": "string"
6277 - },
6278 - "form_api_base_url": {
6279 - "type": "string"
6280 - },
6281 - "instanceEndpoint": {
6282 - "type": "string"
6283 - },
6284 - "api_url": {
6285 - "type": "string"
6286 - },
6287 - "borneo_dashboard_url": {
6288 - "type": "string"
6289 - },
6290 - "proxy_username": {
6291 - "type": "string"
6292 - },
6293 - "proxy_password": {
6294 - "type": "string"
6295 - },
6296 - "domain": {
6297 - "type": "string"
6298 - },
6299 - "version": {
6300 - "type": "string"
6301 - },
6302 - "dc": {
6303 - "type": "string"
6304 - },
6305 - "site_name": {
6306 - "type": "string"
6307 - },
6308 - "instanceName": {
6309 - "type": "string"
6310 - },
6311 - "account_id": {
6312 - "type": "string"
6313 - },
6314 - "your_server": {
6315 - "type": "string"
6316 - },
6317 - "server_location": {
6318 - "type": "string"
6319 - },
6320 - "base_url": {
6321 - "type": "string"
6322 - },
6323 - "status": {
6324 - "type": "string",
6325 - "enum": [
6326 - "EXPIRED"
6327 - ]
6328 - },
6329 - "expired_at": {
6330 - "type": "string"
6331 - }
6332 - },
6333 - "required": [
6334 - "status"
6335 - ],
6336 - "additionalProperties": {}
6337 - }
6338 - ]
2708 + "oauth_token": {
2709 + "type": "string"
2710 + },
2711 + "authUri": {
2712 + "type": "string"
2713 + },
2714 + "oauth_token_secret": {
2715 + "type": "string"
2716 + },
2717 + "redirectUrl": {
2718 + "type": "string"
2719 + },
2720 + "callbackUrl": {
2721 + "type": "string"
2722 + },
2723 + "oauth_verifier": {
2724 + "type": "string"
2725 + },
2726 + "consumer_key": {
2727 + "type": "string"
2728 + },
2729 + "callback_url": {
2730 + "type": "string"
2731 + },
2732 + "error": {
2733 + "type": "string"
2734 + },
2735 + "error_description": {
2736 + "type": "string"
2737 + },
2738 + "expired_at": {
2739 + "type": "string"
2740 }
2741 },
2742 "required": [
6342 - "authScheme",
6343 - "val"
6344 - ]
6345 - },
6346 - {
6347 - "type": "object",
6348 - "properties": {
6349 - "authScheme": {
6350 - "type": "string",
6351 - "enum": [
6352 - "BILLCOM_AUTH"
6353 - ]
6354 - },
6355 - "val": {
6356 - "oneOf": [
6357 - {
6358 - "type": "object",
6359 - "properties": {
6360 - "subdomain": {
6361 - "type": "string"
6362 - },
6363 - "your-domain": {
6364 - "type": "string"
6365 - },
6366 - "region": {
6367 - "type": "string"
6368 - },
6369 - "shop": {
6370 - "type": "string"
6371 - },
6372 - "account_url": {
6373 - "type": "string"
6374 - },
6375 - "COMPANYDOMAIN": {
6376 - "type": "string"
6377 - },
6378 - "extension": {
6379 - "type": "string"
6380 - },
6381 - "form_api_base_url": {
6382 - "type": "string"
6383 - },
6384 - "instanceEndpoint": {
6385 - "type": "string"
6386 - },
6387 - "api_url": {
6388 - "type": "string"
6389 - },
6390 - "borneo_dashboard_url": {
6391 - "type": "string"
6392 - },
6393 - "proxy_username": {
6394 - "type": "string"
6395 - },
6396 - "proxy_password": {
6397 - "type": "string"
6398 - },
6399 - "domain": {
6400 - "type": "string"
6401 - },
6402 - "version": {
6403 - "type": "string"
6404 - },
6405 - "dc": {
6406 - "type": "string"
6407 - },
6408 - "site_name": {
6409 - "type": "string"
6410 - },
6411 - "instanceName": {
6412 - "type": "string"
6413 - },
6414 - "account_id": {
6415 - "type": "string"
6416 - },
6417 - "your_server": {
6418 - "type": "string"
6419 - },
6420 - "server_location": {
6421 - "type": "string"
6422 - },
6423 - "base_url": {
6424 - "type": "string"
6425 - },
6426 - "status": {
6427 - "type": "string",
6428 - "enum": [
6429 - "INITIALIZING"
6430 - ]
6431 - }
6432 - },
6433 - "required": [
6434 - "status"
6435 - ],
6436 - "additionalProperties": {}
6437 - },
6438 - {
6439 - "type": "object",
6440 - "properties": {
6441 - "subdomain": {
6442 - "type": "string"
6443 - },
6444 - "your-domain": {
6445 - "type": "string"
6446 - },
6447 - "region": {
6448 - "type": "string"
6449 - },
6450 - "shop": {
6451 - "type": "string"
6452 - },
6453 - "account_url": {
6454 - "type": "string"
6455 - },
6456 - "COMPANYDOMAIN": {
6457 - "type": "string"
6458 - },
6459 - "extension": {
6460 - "type": "string"
6461 - },
6462 - "form_api_base_url": {
6463 - "type": "string"
6464 - },
6465 - "instanceEndpoint": {
6466 - "type": "string"
6467 - },
6468 - "api_url": {
6469 - "type": "string"
6470 - },
6471 - "borneo_dashboard_url": {
6472 - "type": "string"
6473 - },
6474 - "proxy_username": {
6475 - "type": "string"
6476 - },
6477 - "proxy_password": {
6478 - "type": "string"
6479 - },
6480 - "domain": {
6481 - "type": "string"
6482 - },
6483 - "version": {
6484 - "type": "string"
6485 - },
6486 - "dc": {
6487 - "type": "string"
6488 - },
6489 - "site_name": {
6490 - "type": "string"
6491 - },
6492 - "instanceName": {
6493 - "type": "string"
6494 - },
6495 - "account_id": {
6496 - "type": "string"
6497 - },
6498 - "your_server": {
6499 - "type": "string"
6500 - },
6501 - "server_location": {
6502 - "type": "string"
6503 - },
6504 - "base_url": {
6505 - "type": "string"
6506 - },
6507 - "status": {
6508 - "type": "string",
6509 - "enum": [
6510 - "INITIATED"
6511 - ]
6512 - },
6513 - "redirectUrl": {
6514 - "type": "string"
6515 - }
6516 - },
6517 - "required": [
6518 - "status",
6519 - "redirectUrl"
6520 - ],
6521 - "additionalProperties": {}
6522 - },
6523 - {
6524 - "type": "object",
6525 - "properties": {
6526 - "subdomain": {
6527 - "type": "string"
6528 - },
6529 - "your-domain": {
6530 - "type": "string"
6531 - },
6532 - "region": {
6533 - "type": "string"
6534 - },
6535 - "shop": {
6536 - "type": "string"
6537 - },
6538 - "account_url": {
6539 - "type": "string"
6540 - },
6541 - "COMPANYDOMAIN": {
6542 - "type": "string"
6543 - },
6544 - "extension": {
6545 - "type": "string"
6546 - },
6547 - "form_api_base_url": {
6548 - "type": "string"
6549 - },
6550 - "instanceEndpoint": {
6551 - "type": "string"
6552 - },
6553 - "api_url": {
6554 - "type": "string"
6555 - },
6556 - "borneo_dashboard_url": {
6557 - "type": "string"
6558 - },
6559 - "proxy_username": {
6560 - "type": "string"
6561 - },
6562 - "proxy_password": {
6563 - "type": "string"
6564 - },
6565 - "domain": {
6566 - "type": "string"
6567 - },
6568 - "version": {
6569 - "type": "string"
6570 - },
6571 - "dc": {
6572 - "type": "string"
6573 - },
6574 - "site_name": {
6575 - "type": "string"
6576 - },
6577 - "instanceName": {
6578 - "type": "string"
6579 - },
6580 - "account_id": {
6581 - "type": "string"
6582 - },
6583 - "your_server": {
6584 - "type": "string"
6585 - },
6586 - "server_location": {
6587 - "type": "string"
6588 - },
6589 - "base_url": {
6590 - "type": "string"
6591 - },
6592 - "status": {
6593 - "type": "string",
6594 - "enum": [
6595 - "ACTIVE"
6596 - ]
6597 - },
6598 - "sessionId": {
6599 - "type": "string"
6600 - },
6601 - "devKey": {
6602 - "type": "string"
6603 - }
6604 - },
6605 - "required": [
6606 - "status",
6607 - "sessionId",
6608 - "devKey"
6609 - ],
6610 - "additionalProperties": {}
6611 - },
6612 - {
6613 - "type": "object",
6614 - "properties": {
6615 - "subdomain": {
6616 - "type": "string"
6617 - },
6618 - "your-domain": {
6619 - "type": "string"
6620 - },
6621 - "region": {
6622 - "type": "string"
6623 - },
6624 - "shop": {
6625 - "type": "string"
6626 - },
6627 - "account_url": {
6628 - "type": "string"
6629 - },
6630 - "COMPANYDOMAIN": {
6631 - "type": "string"
6632 - },
6633 - "extension": {
6634 - "type": "string"
6635 - },
6636 - "form_api_base_url": {
6637 - "type": "string"
6638 - },
6639 - "instanceEndpoint": {
6640 - "type": "string"
6641 - },
6642 - "api_url": {
6643 - "type": "string"
6644 - },
6645 - "borneo_dashboard_url": {
6646 - "type": "string"
6647 - },
6648 - "proxy_username": {
6649 - "type": "string"
6650 - },
6651 - "proxy_password": {
6652 - "type": "string"
6653 - },
6654 - "domain": {
6655 - "type": "string"
6656 - },
6657 - "version": {
6658 - "type": "string"
6659 - },
6660 - "dc": {
6661 - "type": "string"
6662 - },
6663 - "site_name": {
6664 - "type": "string"
6665 - },
6666 - "instanceName": {
6667 - "type": "string"
6668 - },
6669 - "account_id": {
6670 - "type": "string"
6671 - },
6672 - "your_server": {
6673 - "type": "string"
6674 - },
6675 - "server_location": {
6676 - "type": "string"
6677 - },
6678 - "base_url": {
6679 - "type": "string"
6680 - },
6681 - "status": {
6682 - "type": "string",
6683 - "enum": [
6684 - "INACTIVE"
6685 - ]
6686 - },
6687 - "sessionId": {
6688 - "type": "string"
6689 - },
6690 - "devKey": {
6691 - "type": "string"
6692 - }
6693 - },
6694 - "required": [
6695 - "status",
6696 - "sessionId",
6697 - "devKey"
6698 - ],
6699 - "additionalProperties": {}
6700 - },
6701 - {
6702 - "type": "object",
6703 - "properties": {
6704 - "subdomain": {
6705 - "type": "string"
6706 - },
6707 - "your-domain": {
6708 - "type": "string"
6709 - },
6710 - "region": {
6711 - "type": "string"
6712 - },
6713 - "shop": {
6714 - "type": "string"
6715 - },
6716 - "account_url": {
6717 - "type": "string"
6718 - },
6719 - "COMPANYDOMAIN": {
6720 - "type": "string"
6721 - },
6722 - "extension": {
6723 - "type": "string"
6724 - },
6725 - "form_api_base_url": {
6726 - "type": "string"
6727 - },
6728 - "instanceEndpoint": {
6729 - "type": "string"
6730 - },
6731 - "api_url": {
6732 - "type": "string"
6733 - },
6734 - "borneo_dashboard_url": {
6735 - "type": "string"
6736 - },
6737 - "proxy_username": {
6738 - "type": "string"
6739 - },
6740 - "proxy_password": {
6741 - "type": "string"
6742 - },
6743 - "domain": {
6744 - "type": "string"
6745 - },
6746 - "version": {
6747 - "type": "string"
6748 - },
6749 - "dc": {
6750 - "type": "string"
6751 - },
6752 - "site_name": {
6753 - "type": "string"
6754 - },
6755 - "instanceName": {
6756 - "type": "string"
6757 - },
6758 - "account_id": {
6759 - "type": "string"
6760 - },
6761 - "your_server": {
6762 - "type": "string"
6763 - },
6764 - "server_location": {
6765 - "type": "string"
6766 - },
6767 - "base_url": {
6768 - "type": "string"
6769 - },
6770 - "status": {
6771 - "type": "string",
6772 - "enum": [
6773 - "FAILED"
6774 - ]
6775 - },
6776 - "error": {
6777 - "type": "string"
6778 - },
6779 - "error_description": {
6780 - "type": "string"
6781 - }
6782 - },
6783 - "required": [
6784 - "status"
6785 - ],
6786 - "additionalProperties": {}
6787 - },
6788 - {
6789 - "type": "object",
6790 - "properties": {
6791 - "subdomain": {
6792 - "type": "string"
6793 - },
6794 - "your-domain": {
6795 - "type": "string"
6796 - },
6797 - "region": {
6798 - "type": "string"
6799 - },
6800 - "shop": {
6801 - "type": "string"
6802 - },
6803 - "account_url": {
6804 - "type": "string"
6805 - },
6806 - "COMPANYDOMAIN": {
6807 - "type": "string"
6808 - },
6809 - "extension": {
6810 - "type": "string"
6811 - },
6812 - "form_api_base_url": {
6813 - "type": "string"
6814 - },
6815 - "instanceEndpoint": {
6816 - "type": "string"
6817 - },
6818 - "api_url": {
6819 - "type": "string"
6820 - },
6821 - "borneo_dashboard_url": {
6822 - "type": "string"
6823 - },
6824 - "proxy_username": {
6825 - "type": "string"
6826 - },
6827 - "proxy_password": {
6828 - "type": "string"
6829 - },
6830 - "domain": {
6831 - "type": "string"
6832 - },
6833 - "version": {
6834 - "type": "string"
6835 - },
6836 - "dc": {
6837 - "type": "string"
6838 - },
6839 - "site_name": {
6840 - "type": "string"
6841 - },
6842 - "instanceName": {
6843 - "type": "string"
6844 - },
6845 - "account_id": {
6846 - "type": "string"
6847 - },
6848 - "your_server": {
6849 - "type": "string"
6850 - },
6851 - "server_location": {
6852 - "type": "string"
6853 - },
6854 - "base_url": {
6855 - "type": "string"
6856 - },
6857 - "status": {
6858 - "type": "string",
6859 - "enum": [
6860 - "EXPIRED"
6861 - ]
6862 - },
6863 - "expired_at": {
6864 - "type": "string"
6865 - }
6866 - },
6867 - "required": [
6868 - "status"
6869 - ],
6870 - "additionalProperties": {}
6871 - }
6872 - ]
6873 - }
6874 - },
6875 - "required": [
6876 - "authScheme",
6877 - "val"
6878 - ]
6879 - },
6880 - {
6881 - "type": "object",
6882 - "properties": {
6883 - "authScheme": {
6884 - "type": "string",
6885 - "enum": [
6886 - "BASIC_WITH_JWT"
6887 - ]
6888 - },
6889 - "val": {
6890 - "oneOf": [
6891 - {
6892 - "type": "object",
6893 - "properties": {
6894 - "subdomain": {
6895 - "type": "string"
6896 - },
6897 - "your-domain": {
6898 - "type": "string"
6899 - },
6900 - "region": {
6901 - "type": "string"
6902 - },
6903 - "shop": {
6904 - "type": "string"
6905 - },
6906 - "account_url": {
6907 - "type": "string"
6908 - },
6909 - "COMPANYDOMAIN": {
6910 - "type": "string"
6911 - },
6912 - "extension": {
6913 - "type": "string"
6914 - },
6915 - "form_api_base_url": {
6916 - "type": "string"
6917 - },
6918 - "instanceEndpoint": {
6919 - "type": "string"
6920 - },
6921 - "api_url": {
6922 - "type": "string"
6923 - },
6924 - "borneo_dashboard_url": {
6925 - "type": "string"
6926 - },
6927 - "proxy_username": {
6928 - "type": "string"
6929 - },
6930 - "proxy_password": {
6931 - "type": "string"
6932 - },
6933 - "domain": {
6934 - "type": "string"
6935 - },
6936 - "version": {
6937 - "type": "string"
6938 - },
6939 - "dc": {
6940 - "type": "string"
6941 - },
6942 - "site_name": {
6943 - "type": "string"
6944 - },
6945 - "instanceName": {
6946 - "type": "string"
6947 - },
6948 - "account_id": {
6949 - "type": "string"
6950 - },
6951 - "your_server": {
6952 - "type": "string"
6953 - },
6954 - "server_location": {
6955 - "type": "string"
6956 - },
6957 - "base_url": {
6958 - "type": "string"
6959 - },
6960 - "status": {
6961 - "type": "string",
6962 - "enum": [
6963 - "INITIALIZING"
6964 - ]
6965 - }
6966 - },
6967 - "required": [
6968 - "status"
6969 - ],
6970 - "additionalProperties": {}
6971 - },
6972 - {
6973 - "type": "object",
6974 - "properties": {
6975 - "subdomain": {
6976 - "type": "string"
6977 - },
6978 - "your-domain": {
6979 - "type": "string"
6980 - },
6981 - "region": {
6982 - "type": "string"
6983 - },
6984 - "shop": {
6985 - "type": "string"
6986 - },
6987 - "account_url": {
6988 - "type": "string"
6989 - },
6990 - "COMPANYDOMAIN": {
6991 - "type": "string"
6992 - },
6993 - "extension": {
6994 - "type": "string"
6995 - },
6996 - "form_api_base_url": {
6997 - "type": "string"
6998 - },
6999 - "instanceEndpoint": {
7000 - "type": "string"
7001 - },
7002 - "api_url": {
7003 - "type": "string"
7004 - },
7005 - "borneo_dashboard_url": {
7006 - "type": "string"
7007 - },
7008 - "proxy_username": {
7009 - "type": "string"
7010 - },
7011 - "proxy_password": {
7012 - "type": "string"
7013 - },
7014 - "domain": {
7015 - "type": "string"
7016 - },
7017 - "version": {
7018 - "type": "string"
7019 - },
7020 - "dc": {
7021 - "type": "string"
7022 - },
7023 - "site_name": {
7024 - "type": "string"
7025 - },
7026 - "instanceName": {
7027 - "type": "string"
7028 - },
7029 - "account_id": {
7030 - "type": "string"
7031 - },
7032 - "your_server": {
7033 - "type": "string"
7034 - },
7035 - "server_location": {
7036 - "type": "string"
7037 - },
7038 - "base_url": {
7039 - "type": "string"
7040 - },
7041 - "status": {
7042 - "type": "string",
7043 - "enum": [
7044 - "INITIATED"
7045 - ]
7046 - }
7047 - },
7048 - "required": [
7049 - "status"
7050 - ],
7051 - "additionalProperties": {}
7052 - },
7053 - {
7054 - "type": "object",
7055 - "properties": {
7056 - "subdomain": {
7057 - "type": "string"
7058 - },
7059 - "your-domain": {
7060 - "type": "string"
7061 - },
7062 - "region": {
7063 - "type": "string"
7064 - },
7065 - "shop": {
7066 - "type": "string"
7067 - },
7068 - "account_url": {
7069 - "type": "string"
7070 - },
7071 - "COMPANYDOMAIN": {
7072 - "type": "string"
7073 - },
7074 - "extension": {
7075 - "type": "string"
7076 - },
7077 - "form_api_base_url": {
7078 - "type": "string"
7079 - },
7080 - "instanceEndpoint": {
7081 - "type": "string"
7082 - },
7083 - "api_url": {
7084 - "type": "string"
7085 - },
7086 - "borneo_dashboard_url": {
7087 - "type": "string"
7088 - },
7089 - "proxy_username": {
7090 - "type": "string"
7091 - },
7092 - "proxy_password": {
7093 - "type": "string"
7094 - },
7095 - "domain": {
7096 - "type": "string"
7097 - },
7098 - "version": {
7099 - "type": "string"
7100 - },
7101 - "dc": {
7102 - "type": "string"
7103 - },
7104 - "site_name": {
7105 - "type": "string"
7106 - },
7107 - "instanceName": {
7108 - "type": "string"
7109 - },
7110 - "account_id": {
7111 - "type": "string"
7112 - },
7113 - "your_server": {
7114 - "type": "string"
7115 - },
7116 - "server_location": {
7117 - "type": "string"
7118 - },
7119 - "base_url": {
7120 - "type": "string"
7121 - },
7122 - "status": {
7123 - "type": "string",
7124 - "enum": [
7125 - "ACTIVE"
7126 - ]
7127 - },
7128 - "username": {
7129 - "type": "string"
7130 - },
7131 - "password": {
7132 - "type": "string"
7133 - }
7134 - },
7135 - "required": [
7136 - "status",
7137 - "username",
7138 - "password"
7139 - ],
7140 - "additionalProperties": {}
7141 - },
7142 - {
7143 - "type": "object",
7144 - "properties": {
7145 - "subdomain": {
7146 - "type": "string"
7147 - },
7148 - "your-domain": {
7149 - "type": "string"
7150 - },
7151 - "region": {
7152 - "type": "string"
7153 - },
7154 - "shop": {
7155 - "type": "string"
7156 - },
7157 - "account_url": {
7158 - "type": "string"
7159 - },
7160 - "COMPANYDOMAIN": {
7161 - "type": "string"
7162 - },
7163 - "extension": {
7164 - "type": "string"
7165 - },
7166 - "form_api_base_url": {
7167 - "type": "string"
7168 - },
7169 - "instanceEndpoint": {
7170 - "type": "string"
7171 - },
7172 - "api_url": {
7173 - "type": "string"
7174 - },
7175 - "borneo_dashboard_url": {
7176 - "type": "string"
7177 - },
7178 - "proxy_username": {
7179 - "type": "string"
7180 - },
7181 - "proxy_password": {
7182 - "type": "string"
7183 - },
7184 - "domain": {
7185 - "type": "string"
7186 - },
7187 - "version": {
7188 - "type": "string"
7189 - },
7190 - "dc": {
7191 - "type": "string"
7192 - },
7193 - "site_name": {
7194 - "type": "string"
7195 - },
7196 - "instanceName": {
7197 - "type": "string"
7198 - },
7199 - "account_id": {
7200 - "type": "string"
7201 - },
7202 - "your_server": {
7203 - "type": "string"
7204 - },
7205 - "server_location": {
7206 - "type": "string"
7207 - },
7208 - "base_url": {
7209 - "type": "string"
7210 - },
7211 - "status": {
7212 - "type": "string",
7213 - "enum": [
7214 - "INACTIVE"
7215 - ]
7216 - },
7217 - "username": {
7218 - "type": "string"
7219 - },
7220 - "password": {
7221 - "type": "string"
7222 - }
7223 - },
7224 - "required": [
7225 - "status",
7226 - "username",
7227 - "password"
7228 - ],
7229 - "additionalProperties": {}
7230 - },
7231 - {
7232 - "type": "object",
7233 - "properties": {
7234 - "subdomain": {
7235 - "type": "string"
7236 - },
7237 - "your-domain": {
7238 - "type": "string"
7239 - },
7240 - "region": {
7241 - "type": "string"
7242 - },
7243 - "shop": {
7244 - "type": "string"
7245 - },
7246 - "account_url": {
7247 - "type": "string"
7248 - },
7249 - "COMPANYDOMAIN": {
7250 - "type": "string"
7251 - },
7252 - "extension": {
7253 - "type": "string"
7254 - },
7255 - "form_api_base_url": {
7256 - "type": "string"
7257 - },
7258 - "instanceEndpoint": {
7259 - "type": "string"
7260 - },
7261 - "api_url": {
7262 - "type": "string"
7263 - },
7264 - "borneo_dashboard_url": {
7265 - "type": "string"
7266 - },
7267 - "proxy_username": {
7268 - "type": "string"
7269 - },
7270 - "proxy_password": {
7271 - "type": "string"
7272 - },
7273 - "domain": {
7274 - "type": "string"
7275 - },
7276 - "version": {
7277 - "type": "string"
7278 - },
7279 - "dc": {
7280 - "type": "string"
7281 - },
7282 - "site_name": {
7283 - "type": "string"
7284 - },
7285 - "instanceName": {
7286 - "type": "string"
7287 - },
7288 - "account_id": {
7289 - "type": "string"
7290 - },
7291 - "your_server": {
7292 - "type": "string"
7293 - },
7294 - "server_location": {
7295 - "type": "string"
7296 - },
7297 - "base_url": {
7298 - "type": "string"
7299 - },
7300 - "status": {
7301 - "type": "string",
7302 - "enum": [
7303 - "FAILED"
7304 - ]
7305 - },
7306 - "username": {
7307 - "type": "string"
7308 - },
7309 - "password": {
7310 - "type": "string"
7311 - },
7312 - "error": {
7313 - "type": "string"
7314 - },
7315 - "error_description": {
7316 - "type": "string"
7317 - }
7318 - },
7319 - "required": [
7320 - "status",
7321 - "username",
7322 - "password"
7323 - ],
7324 - "additionalProperties": {}
7325 - },
7326 - {
7327 - "type": "object",
7328 - "properties": {
7329 - "subdomain": {
7330 - "type": "string"
7331 - },
7332 - "your-domain": {
7333 - "type": "string"
7334 - },
7335 - "region": {
7336 - "type": "string"
7337 - },
7338 - "shop": {
7339 - "type": "string"
7340 - },
7341 - "account_url": {
7342 - "type": "string"
7343 - },
7344 - "COMPANYDOMAIN": {
7345 - "type": "string"
7346 - },
7347 - "extension": {
7348 - "type": "string"
7349 - },
7350 - "form_api_base_url": {
7351 - "type": "string"
7352 - },
7353 - "instanceEndpoint": {
7354 - "type": "string"
7355 - },
7356 - "api_url": {
7357 - "type": "string"
7358 - },
7359 - "borneo_dashboard_url": {
7360 - "type": "string"
7361 - },
7362 - "proxy_username": {
7363 - "type": "string"
7364 - },
7365 - "proxy_password": {
7366 - "type": "string"
7367 - },
7368 - "domain": {
7369 - "type": "string"
7370 - },
7371 - "version": {
7372 - "type": "string"
7373 - },
7374 - "dc": {
7375 - "type": "string"
7376 - },
7377 - "site_name": {
7378 - "type": "string"
7379 - },
7380 - "instanceName": {
7381 - "type": "string"
7382 - },
7383 - "account_id": {
7384 - "type": "string"
7385 - },
7386 - "your_server": {
7387 - "type": "string"
7388 - },
7389 - "server_location": {
7390 - "type": "string"
7391 - },
7392 - "base_url": {
7393 - "type": "string"
7394 - },
7395 - "status": {
7396 - "type": "string",
7397 - "enum": [
7398 - "EXPIRED"
7399 - ]
7400 - },
7401 - "username": {
7402 - "type": "string"
7403 - },
7404 - "password": {
7405 - "type": "string"
7406 - },
7407 - "expired_at": {
7408 - "type": "string"
7409 - }
7410 - },
7411 - "required": [
7412 - "status",
7413 - "username",
7414 - "password"
7415 - ],
7416 - "additionalProperties": {}
7417 - }
7418 - ]
7419 - }
7420 - },
7421 - "required": [
7422 - "authScheme",
7423 - "val"
7424 - ]
7425 - },
7426 - {
7427 - "type": "object",
7428 - "properties": {
7429 - "authScheme": {
7430 - "type": "string",
7431 - "enum": [
7432 - "SERVICE_ACCOUNT"
7433 - ]
7434 - },
7435 - "val": {
7436 - "oneOf": [
7437 - {
7438 - "type": "object",
7439 - "properties": {
7440 - "subdomain": {
7441 - "type": "string"
7442 - },
7443 - "your-domain": {
7444 - "type": "string"
7445 - },
7446 - "region": {
7447 - "type": "string"
7448 - },
7449 - "shop": {
7450 - "type": "string"
7451 - },
7452 - "account_url": {
7453 - "type": "string"
7454 - },
7455 - "COMPANYDOMAIN": {
7456 - "type": "string"
7457 - },
7458 - "extension": {
7459 - "type": "string"
7460 - },
7461 - "form_api_base_url": {
7462 - "type": "string"
7463 - },
7464 - "instanceEndpoint": {
7465 - "type": "string"
7466 - },
7467 - "api_url": {
7468 - "type": "string"
7469 - },
7470 - "borneo_dashboard_url": {
7471 - "type": "string"
7472 - },
7473 - "proxy_username": {
7474 - "type": "string"
7475 - },
7476 - "proxy_password": {
7477 - "type": "string"
7478 - },
7479 - "domain": {
7480 - "type": "string"
7481 - },
7482 - "version": {
7483 - "type": "string"

This file is too large to show in full.

docs/scripts/fetch-openapi.mjs
+97
@@ -108,6 +108,103 @@ async function fetchAndFilterSpec() {
108 console.log(`Removed ${removedCount} endpoints/operations`);
109 console.log(`Final spec has ${Object.keys(filteredPaths).length} paths`);
110
111 + // Normalize overly complex anyOf/oneOf schemas (e.g., connection_data with 68 object variants)
112 + // Merges similar object schemas into a single object with all properties
113 + let unionNormalizedCount = 0;
114 +
115 + // Helper to merge two property schemas, combining enums if present
116 + const mergePropertySchemas = (existing, incoming) => {
117 + if (!existing) return JSON.parse(JSON.stringify(incoming));
118 +
119 + const merged = JSON.parse(JSON.stringify(existing));
120 +
121 + // Merge enum values if both have enums
122 + if (existing.enum && incoming.enum) {
123 + const enumSet = new Set([...existing.enum, ...incoming.enum]);
124 + merged.enum = [...enumSet];
125 + }
126 +
127 + // Recursively merge nested properties for objects
128 + if (existing.properties && incoming.properties) {
129 + merged.properties = { ...existing.properties };
130 + for (const [key, val] of Object.entries(incoming.properties)) {
131 + merged.properties[key] = mergePropertySchemas(merged.properties[key], val);
132 + }
133 + }
134 +
135 + return merged;
136 + };
137 +
138 + const normalizeUnionSchemas = (obj) => {
139 + if (!obj || typeof obj !== 'object') return;
140 +
141 + // Check for anyOf or oneOf with many similar object schemas
142 + for (const unionKey of ['anyOf', 'oneOf']) {
143 + if (obj[unionKey] && Array.isArray(obj[unionKey]) && obj[unionKey].length > 5) {
144 + const objectSchemas = obj[unionKey].filter(
145 + (schema) => schema.type === 'object' && schema.properties
146 + );
147 +
148 + // If most variants are objects, merge them
149 + if (objectSchemas.length > 5 && objectSchemas.length >= obj[unionKey].length * 0.8) {
150 + const mergedProperties = {};
151 + const allRequired = new Set();
152 +
153 + // Collect all properties from all variants, merging enums
154 + for (const schema of objectSchemas) {
155 + for (const [propName, propSchema] of Object.entries(schema.properties || {})) {
156 + mergedProperties[propName] = mergePropertySchemas(mergedProperties[propName], propSchema);
157 + }
158 + // Track required fields (only if required in ALL variants)
159 + if (schema.required) {
160 + for (const req of schema.required) {
161 + allRequired.add(req);
162 + }
163 + }
164 + }
165 +
166 + // Check which fields are required in ALL object schemas
167 + const universallyRequired = [];
168 + for (const req of allRequired) {
169 + const requiredInAll = objectSchemas.every(
170 + (schema) => schema.required && schema.required.includes(req)
171 + );
172 + if (requiredInAll) {
173 + universallyRequired.push(req);
174 + }
175 + }
176 +
177 + // Replace union with merged object schema
178 + delete obj[unionKey];
179 + obj.type = 'object';
180 + obj.properties = mergedProperties;
181 + if (universallyRequired.length > 0) {
182 + obj.required = universallyRequired;
183 + }
184 + obj.additionalProperties = true;
185 +
186 + unionNormalizedCount++;
187 + console.log(
188 + ` Merged ${unionKey} with ${objectSchemas.length} object variants into single object with ${Object.keys(mergedProperties).length} properties`
189 + );
190 + }
191 + }
192 + }
193 +
194 + // Recurse into all properties
195 + for (const val of Object.values(obj)) {
196 + if (Array.isArray(val)) {
197 + val.forEach((item) => normalizeUnionSchemas(item));
198 + } else {
199 + normalizeUnionSchemas(val);
200 + }
201 + }
202 + };
203 + normalizeUnionSchemas(spec);
204 + if (unionNormalizedCount > 0) {
205 + console.log(`Normalized ${unionNormalizedCount} complex union schemas`);
206 + }
207 +
208 // Fix invalid OpenAPI 3.0: "nullable: true" without "type" is invalid
209 // See: https://swagger.io/docs/specification/data-models/data-types/#null
210 let nullableFixCount = 0;