|
| 1 | +{ |
| 2 | + "documentationUrl": "https://docs.airbyte.com/integrations/sources/amazon-seller-partner", |
| 3 | + "changelogUrl": "https://docs.airbyte.com/integrations/sources/amazon-seller-partner", |
| 4 | + "connectionSpecification": { |
| 5 | + "title": "Amazon Seller Partner Spec", |
| 6 | + "type": "object", |
| 7 | + "required": [ |
| 8 | + "aws_environment", |
| 9 | + "region", |
| 10 | + "account_type", |
| 11 | + "lwa_app_id", |
| 12 | + "lwa_client_secret", |
| 13 | + "refresh_token" |
| 14 | + ], |
| 15 | + "additionalProperties": true, |
| 16 | + "properties": { |
| 17 | + "auth_type": { |
| 18 | + "title": "Auth Type", |
| 19 | + "const": "oauth2.0", |
| 20 | + "order": 0, |
| 21 | + "type": "string" |
| 22 | + }, |
| 23 | + "aws_environment": { |
| 24 | + "title": "AWS Environment", |
| 25 | + "description": "Select the AWS Environment.", |
| 26 | + "enum": ["PRODUCTION", "SANDBOX"], |
| 27 | + "default": "PRODUCTION", |
| 28 | + "type": "string", |
| 29 | + "order": 1 |
| 30 | + }, |
| 31 | + "region": { |
| 32 | + "title": "AWS Region", |
| 33 | + "description": "Select the AWS Region.", |
| 34 | + "enum": [ |
| 35 | + "AE", |
| 36 | + "AU", |
| 37 | + "BE", |
| 38 | + "BR", |
| 39 | + "CA", |
| 40 | + "DE", |
| 41 | + "EG", |
| 42 | + "ES", |
| 43 | + "FR", |
| 44 | + "GB", |
| 45 | + "IN", |
| 46 | + "IT", |
| 47 | + "JP", |
| 48 | + "MX", |
| 49 | + "NL", |
| 50 | + "PL", |
| 51 | + "SA", |
| 52 | + "SE", |
| 53 | + "SG", |
| 54 | + "TR", |
| 55 | + "UK", |
| 56 | + "US" |
| 57 | + ], |
| 58 | + "default": "US", |
| 59 | + "type": "string", |
| 60 | + "order": 2 |
| 61 | + }, |
| 62 | + "account_type": { |
| 63 | + "title": "AWS Seller Partner Account Type", |
| 64 | + "description": "Type of the Account you're going to authorize the Airbyte application by", |
| 65 | + "enum": ["Seller", "Vendor"], |
| 66 | + "default": "Seller", |
| 67 | + "type": "string", |
| 68 | + "order": 3 |
| 69 | + }, |
| 70 | + "lwa_app_id": { |
| 71 | + "title": "LWA Client Id", |
| 72 | + "description": "Your Login with Amazon Client ID.", |
| 73 | + "order": 4, |
| 74 | + "airbyte_secret": true, |
| 75 | + "type": "string" |
| 76 | + }, |
| 77 | + "lwa_client_secret": { |
| 78 | + "title": "LWA Client Secret", |
| 79 | + "description": "Your Login with Amazon Client Secret.", |
| 80 | + "airbyte_secret": true, |
| 81 | + "order": 5, |
| 82 | + "type": "string" |
| 83 | + }, |
| 84 | + "refresh_token": { |
| 85 | + "title": "Refresh Token", |
| 86 | + "description": "The Refresh Token obtained via OAuth flow authorization.", |
| 87 | + "airbyte_secret": true, |
| 88 | + "order": 6, |
| 89 | + "type": "string" |
| 90 | + }, |
| 91 | + "replication_start_date": { |
| 92 | + "title": "Start Date", |
| 93 | + "description": "UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. If start date is not provided, the date 2 years ago from today will be used.", |
| 94 | + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", |
| 95 | + "examples": ["2017-01-25T00:00:00Z"], |
| 96 | + "order": 7, |
| 97 | + "type": "string", |
| 98 | + "format": "date-time" |
| 99 | + }, |
| 100 | + "replication_end_date": { |
| 101 | + "title": "End Date", |
| 102 | + "description": "UTC date and time in the format 2017-01-25T00:00:00Z. Any data after this date will not be replicated.", |
| 103 | + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$|^$", |
| 104 | + "examples": ["2017-01-25T00:00:00Z"], |
| 105 | + "order": 8, |
| 106 | + "type": "string", |
| 107 | + "format": "date-time" |
| 108 | + }, |
| 109 | + "period_in_days": { |
| 110 | + "title": "Period In Days", |
| 111 | + "type": "integer", |
| 112 | + "description": "For syncs spanning a large date range, this option is used to request data in a smaller fixed window to improve sync reliability. This time window can be configured granularly by day.", |
| 113 | + "default": 90, |
| 114 | + "minimum": 1, |
| 115 | + "order": 9 |
| 116 | + }, |
| 117 | + "report_options_list": { |
| 118 | + "title": "Report Options", |
| 119 | + "description": "Additional information passed to reports. This varies by report type.", |
| 120 | + "order": 10, |
| 121 | + "type": "array", |
| 122 | + "items": { |
| 123 | + "type": "object", |
| 124 | + "title": "Report Options", |
| 125 | + "required": ["stream_name", "options_list"], |
| 126 | + "properties": { |
| 127 | + "stream_name": { |
| 128 | + "title": "Stream Name", |
| 129 | + "type": "string", |
| 130 | + "order": 0, |
| 131 | + "enum": [ |
| 132 | + "GET_AFN_INVENTORY_DATA", |
| 133 | + "GET_AFN_INVENTORY_DATA_BY_COUNTRY", |
| 134 | + "GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL", |
| 135 | + "GET_FBA_ESTIMATED_FBA_FEES_TXT_DATA", |
| 136 | + "GET_FBA_FULFILLMENT_CUSTOMER_RETURNS_DATA", |
| 137 | + "GET_FBA_FULFILLMENT_CUSTOMER_SHIPMENT_PROMOTION_DATA", |
| 138 | + "GET_FBA_FULFILLMENT_CUSTOMER_SHIPMENT_REPLACEMENT_DATA", |
| 139 | + "GET_FBA_FULFILLMENT_REMOVAL_ORDER_DETAIL_DATA", |
| 140 | + "GET_FBA_FULFILLMENT_REMOVAL_SHIPMENT_DETAIL_DATA", |
| 141 | + "GET_FBA_INVENTORY_PLANNING_DATA", |
| 142 | + "GET_FBA_MYI_UNSUPPRESSED_INVENTORY_DATA", |
| 143 | + "GET_FBA_REIMBURSEMENTS_DATA", |
| 144 | + "GET_FBA_SNS_FORECAST_DATA", |
| 145 | + "GET_FBA_SNS_PERFORMANCE_DATA", |
| 146 | + "GET_FBA_STORAGE_FEE_CHARGES_DATA", |
| 147 | + "GET_FLAT_FILE_ACTIONABLE_ORDER_DATA_SHIPPING", |
| 148 | + "GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL", |
| 149 | + "GET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL", |
| 150 | + "GET_FLAT_FILE_ARCHIVED_ORDERS_DATA_BY_ORDER_DATE", |
| 151 | + "GET_FLAT_FILE_OPEN_LISTINGS_DATA", |
| 152 | + "GET_FLAT_FILE_RETURNS_DATA_BY_RETURN_DATE", |
| 153 | + "GET_LEDGER_DETAIL_VIEW_DATA", |
| 154 | + "GET_LEDGER_SUMMARY_VIEW_DATA", |
| 155 | + "GET_MERCHANT_CANCELLED_LISTINGS_DATA", |
| 156 | + "GET_MERCHANT_LISTINGS_ALL_DATA", |
| 157 | + "GET_MERCHANT_LISTINGS_DATA", |
| 158 | + "GET_MERCHANT_LISTINGS_DATA_BACK_COMPAT", |
| 159 | + "GET_MERCHANT_LISTINGS_INACTIVE_DATA", |
| 160 | + "GET_MERCHANTS_LISTINGS_FYP_REPORT", |
| 161 | + "GET_ORDER_REPORT_DATA_SHIPPING", |
| 162 | + "GET_RESTOCK_INVENTORY_RECOMMENDATIONS_REPORT", |
| 163 | + "GET_SELLER_FEEDBACK_DATA", |
| 164 | + "GET_STRANDED_INVENTORY_UI_DATA", |
| 165 | + "GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE", |
| 166 | + "GET_XML_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL", |
| 167 | + "GET_XML_BROWSE_TREE_DATA", |
| 168 | + "GET_BRAND_ANALYTICS_MARKET_BASKET_REPORT", |
| 169 | + "GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT", |
| 170 | + "GET_BRAND_ANALYTICS_REPEAT_PURCHASE_REPORT", |
| 171 | + "GET_SALES_AND_TRAFFIC_REPORT", |
| 172 | + "GET_VENDOR_SALES_REPORT", |
| 173 | + "GET_VENDOR_INVENTORY_REPORT", |
| 174 | + "GET_VENDOR_NET_PURE_PRODUCT_MARGIN_REPORT", |
| 175 | + "GET_VENDOR_TRAFFIC_REPORT" |
| 176 | + ] |
| 177 | + }, |
| 178 | + "options_list": { |
| 179 | + "title": "List of options", |
| 180 | + "description": "List of options", |
| 181 | + "type": "array", |
| 182 | + "items": { |
| 183 | + "type": "object", |
| 184 | + "required": ["option_name", "option_value"], |
| 185 | + "properties": { |
| 186 | + "option_name": { |
| 187 | + "title": "Name", |
| 188 | + "type": "string", |
| 189 | + "order": 0 |
| 190 | + }, |
| 191 | + "option_value": { |
| 192 | + "title": "Value", |
| 193 | + "type": "string", |
| 194 | + "order": 1 |
| 195 | + } |
| 196 | + } |
| 197 | + } |
| 198 | + } |
| 199 | + } |
| 200 | + } |
| 201 | + } |
| 202 | + } |
| 203 | + }, |
| 204 | + "advanced_auth": { |
| 205 | + "auth_flow_type": "oauth2.0", |
| 206 | + "predicate_key": ["auth_type"], |
| 207 | + "predicate_value": "oauth2.0", |
| 208 | + "oauth_config_specification": { |
| 209 | + "oauth_user_input_from_connector_config_specification": { |
| 210 | + "type": "object", |
| 211 | + "properties": { |
| 212 | + "region": { |
| 213 | + "type": "string", |
| 214 | + "path_in_connector_config": ["region"] |
| 215 | + }, |
| 216 | + "account_type": { |
| 217 | + "type": "string", |
| 218 | + "path_in_connector_config": ["account_type"] |
| 219 | + } |
| 220 | + } |
| 221 | + }, |
| 222 | + "complete_oauth_output_specification": { |
| 223 | + "type": "object", |
| 224 | + "additionalProperties": false, |
| 225 | + "properties": { |
| 226 | + "refresh_token": { |
| 227 | + "type": "string", |
| 228 | + "path_in_connector_config": ["refresh_token"] |
| 229 | + } |
| 230 | + } |
| 231 | + }, |
| 232 | + "complete_oauth_server_input_specification": { |
| 233 | + "type": "object", |
| 234 | + "additionalProperties": false, |
| 235 | + "properties": { |
| 236 | + "lwa_app_id": { |
| 237 | + "type": "string" |
| 238 | + }, |
| 239 | + "lwa_client_secret": { |
| 240 | + "type": "string" |
| 241 | + } |
| 242 | + } |
| 243 | + }, |
| 244 | + "complete_oauth_server_output_specification": { |
| 245 | + "type": "object", |
| 246 | + "additionalProperties": false, |
| 247 | + "properties": { |
| 248 | + "lwa_app_id": { |
| 249 | + "type": "string", |
| 250 | + "path_in_connector_config": ["lwa_app_id"] |
| 251 | + }, |
| 252 | + "lwa_client_secret": { |
| 253 | + "type": "string", |
| 254 | + "path_in_connector_config": ["lwa_client_secret"] |
| 255 | + } |
| 256 | + } |
| 257 | + } |
| 258 | + } |
| 259 | + } |
| 260 | +} |
0 commit comments