{"openapi":"3.1.0","info":{"title":"Palenca","description":"Palenca API","version":"2.0.0"},"paths":{"/v1/users":{"post":{"tags":["v1","users"],"summary":"Create User","operationId":"create_user_v1_users_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/CreateUserParams"}],"title":"Params","default":{}}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/{user_id}":{"get":{"tags":["v1","users"],"summary":"Retrieve User","operationId":"retrieve_user_v1_users__user_id__get","parameters":[{"required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserRetrievalDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v1","users"],"summary":"Delete User","operationId":"delete_user_v1_users__user_id__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/search":{"post":{"tags":["v1","users"],"summary":"List Users","operationId":"list_users_v1_users_search_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchUsersParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserRetrievalListDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/{user_id}/accounts":{"get":{"tags":["v1","users"],"summary":"Retrieve User Accounts","operationId":"retrieve_user_accounts_v1_users__user_id__accounts_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountListDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","accounts"],"summary":"Create User Account","operationId":"create_user_account_v1_users__user_id__accounts_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"},{"required":false,"schema":{"type":"string","title":"X-Source"},"name":"x-source","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountBase"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/accounts":{"post":{"tags":["v1","users"],"summary":"Create User And Account","operationId":"create_user_and_account_v1_users_accounts_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"},{"required":false,"schema":{"type":"string","title":"X-Source"},"name":"x-source","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CreateUserAndAccountParams"},{"$ref":"#/components/schemas/CreateUnifiedAccountParams"}],"title":"Params"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataWithExternalIDBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataWithExternalIDBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/earnings/aggregated":{"post":{"tags":["v1","users"],"summary":"Get Users Earnings Aggregated","operationId":"get_users_earnings_aggregated_v1_users_earnings_aggregated_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EarningsAggregatedParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_EarningsAggregatedResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/users/consent":{"post":{"tags":["v1","users"],"summary":"Store User Consent","operationId":"store_user_consent_v1_users_consent_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoreUserConsentParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/last_login":{"patch":{"tags":["v1","accounts"],"summary":"Update Account Last Login","operationId":"update_account_last_login_v1_accounts__account_id__last_login_patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLoginParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/last-login":{"get":{"tags":["v1","accounts"],"summary":"Get Account Last Login","operationId":"get_account_last_login_v1_accounts__account_id__last_login_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts":{"get":{"tags":["v1","accounts"],"summary":"Get Accounts By Gov Id","operationId":"get_accounts_by_gov_id_v1_accounts_get","parameters":[{"required":true,"schema":{"type":"string","title":"Gov Id"},"name":"gov_id","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountsDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","accounts"],"summary":"Create Account","operationId":"create_account_v1_accounts_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"},{"required":false,"schema":{"type":"string","title":"X-Source"},"name":"x-source","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/validate":{"post":{"tags":["v1","accounts"],"summary":"Validate Account","operationId":"validate_account_v1_accounts__account_id__validate_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateAccountParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/resend-otp":{"post":{"tags":["v1","accounts"],"summary":"Resend Otp","operationId":"resend_otp_v1_accounts__account_id__resend_otp_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResendOtpParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/manage-manual-login":{"post":{"tags":["v1","accounts"],"summary":"Manage Manual Login","operationId":"manage_manual_login_v1_accounts__account_id__manage_manual_login_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManageManualLoginParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/no-earnings-gig":{"get":{"tags":["v1","accounts"],"summary":"Get Gig Accounts Without Earnings","operationId":"get_gig_accounts_without_earnings_v1_accounts_no_earnings_gig_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/logins":{"get":{"tags":["v1","accounts"],"summary":"Get Logins","operationId":"get_logins_v1_accounts_logins_get","parameters":[{"required":false,"schema":{"type":"integer","title":"Page","default":1},"name":"page","in":"query"},{"required":false,"schema":{"type":"integer","title":"Items Per Page","default":100},"name":"items_per_page","in":"query"},{"required":false,"schema":{"type":"string","title":"Order By","default":"-created_at"},"name":"order_by","in":"query"},{"required":false,"schema":{"type":"string","title":"Query"},"name":"query","in":"query"},{"required":false,"schema":{"type":"string","format":"uuid","title":"Bulk Id"},"name":"bulk_id","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/LoginStatus"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"From Date"},"name":"from_date","in":"query"},{"required":false,"schema":{"type":"string","title":"To Date"},"name":"to_date","in":"query"},{"required":false,"schema":{"type":"string","title":"Date Field","default":"created_at"},"name":"date_field","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountsDataConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/find-by-identifier":{"get":{"tags":["v1","accounts"],"summary":"Find Account By Identifier","operationId":"find_account_by_identifier_v1_accounts_find_by_identifier_get","parameters":[{"required":true,"schema":{"type":"string","title":"Identifier"},"name":"identifier","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/PlatformCode"},"name":"platform","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Account","operationId":"retrieve_account_v1_accounts__account_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"boolean","title":"Add User Id","default":false},"name":"add_user_id","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"},{"required":false,"schema":{"type":"string","title":"Accept-Language"},"name":"accept-language","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v1","accounts"],"summary":"Delete Account","operationId":"delete_account_v1_accounts__account_id__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/profile":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Account Profile","operationId":"retrieve_account_profile_v1_accounts__account_id__profile_get","parameters":[{"required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ProfileDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/employment":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Account Employment","operationId":"retrieve_account_employment_v1_accounts__account_id__employment_get","parameters":[{"required":true,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePaginationResponse_EmploymentDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/earnings/search":{"post":{"tags":["v1","accounts"],"summary":"Retrieve Account Earnings","operationId":"retrieve_account_earnings_v1_accounts__account_id__earnings_search_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEarningsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePaginationResponse_EarningsDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/events/search":{"post":{"tags":["v1","accounts"],"summary":"Retrieve Account Events","operationId":"retrieve_account_events_v1_accounts__account_id__events_search_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEventsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePaginationResponse_EventsDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/raw_events/search":{"post":{"tags":["v1","accounts"],"summary":"Retrieve Raw Account Events","operationId":"retrieve_raw_account_events_v1_accounts__account_id__raw_events_search_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRawEventsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePaginationResponse_RawEventsDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/refresh-earnings":{"post":{"tags":["v1","accounts"],"summary":"Refresh Earnings","operationId":"refresh_earnings_v1_accounts_refresh_earnings_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/refresh-events":{"post":{"tags":["v1","accounts"],"summary":"Refresh Events","operationId":"refresh_events_v1_accounts_refresh_events_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/restore":{"post":{"tags":["v1","accounts"],"summary":"Restore Account Info","operationId":"restore_account_info_v1_accounts__account_id__restore_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/insights":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Account Insights","operationId":"retrieve_account_insights_v1_accounts__account_id__insights_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/authenticate":{"post":{"tags":["v1","accounts"],"summary":"Authenticate Account","operationId":"authenticate_account_v1_accounts__account_id__authenticate_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/worker":{"put":{"tags":["v1","accounts"],"summary":"Update Account","operationId":"update_account_v1_accounts__account_id__worker_put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccountWorkerParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/insights-gig":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Gig Account Insights","operationId":"retrieve_gig_account_insights_v1_accounts__account_id__insights_gig_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/logins/failed/retry":{"post":{"tags":["v1","accounts"],"summary":"Retry Account Failed Login","operationId":"retry_account_failed_login_v1_accounts__account_id__logins_failed_retry_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/retry":{"post":{"tags":["v1","accounts"],"summary":"Retry Account Login","operationId":"retry_account_login_v1_accounts__account_id__retry_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/earnings":{"post":{"tags":["v1","accounts"],"summary":"Create Account Earnings","operationId":"create_account_earnings_v1_accounts__account_id__earnings_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEarningsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ProfileDataBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ProfileDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/profiles":{"post":{"tags":["v1","accounts"],"summary":"Create Account Profile","operationId":"create_account_profile_v1_accounts__account_id__profiles_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProfileParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ProfileDataBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ProfileDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/insights-pdfs":{"post":{"tags":["v1","accounts"],"summary":"Create Account Pdf Insights","operationId":"create_account_pdf_insights_v1_accounts__account_id__insights_pdfs_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/clinic":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Account Clinic","operationId":"retrieve_account_clinic_v1_accounts__account_id__clinic_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/raw-data":{"get":{"tags":["v1","accounts"],"summary":"Get Raw Data","operationId":"get_raw_data_v1_accounts__account_id__raw_data_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/user":{"get":{"tags":["v1","accounts"],"summary":"Retrieve Users Accounts","operationId":"retrieve_users_accounts_v1_accounts__account_id__user_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_UserRetrievalDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v1","accounts"],"summary":"Reassign Account User","operationId":"reassign_account_user_v1_accounts__account_id__user_patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReassignAccountUserRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ReassignAccountUserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/consignados":{"get":{"tags":["v1","accounts"],"summary":"Get Consignados","operationId":"get_consignados_v1_accounts__account_id__consignados_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/backfill-worker-role":{"post":{"tags":["v1","accounts"],"summary":"Backfill Worker Role","operationId":"backfill_worker_role_v1_accounts__account_id__backfill_worker_role_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/resend-webhook":{"post":{"tags":["v1","accounts"],"summary":"Resend Webhook","operationId":"resend_webhook_v1_accounts__account_id__resend_webhook_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/widgets":{"get":{"tags":["v1","widgets"],"summary":"Get Widgets","operationId":"get_widgets_v1_widgets_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","widgets"],"summary":"Create Widget","operationId":"create_widget_v1_widgets_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__widgets__CreateWidgetParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/widgets/{widget_id}":{"get":{"tags":["v1","widgets"],"summary":"Get Widget","operationId":"get_widget_v1_widgets__widget_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["v1","widgets"],"summary":"Update Widget","operationId":"update_widget_v1_widgets__widget_id__put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__widgets__UpdateWidgetParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/widgets/{widget_id}/setup":{"get":{"tags":["v1","widgets"],"summary":"Get Widget Setup","operationId":"get_widget_setup_v1_widgets__widget_id__setup_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetSetupDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks":{"get":{"tags":["v1","webhooks"],"summary":"List Webhooks","operationId":"list_webhooks_v1_webhooks_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhooksDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","webhooks"],"summary":"Create Webhook","operationId":"create_webhook_v1_webhooks_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/{webhook_id}":{"get":{"tags":["v1","webhooks"],"summary":"Retrieve Webhook","operationId":"retrieve_webhook_v1_webhooks__webhook_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["v1","webhooks"],"summary":"Update Webhook","operationId":"update_webhook_v1_webhooks__webhook_id__put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v1","webhooks"],"summary":"Delete Webhook","operationId":"delete_webhook_v1_webhooks__webhook_id__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhooks/timeout":{"post":{"tags":["v1","webhooks"],"summary":"Send Webhook Timeout","operationId":"send_webhook_timeout_v1_webhooks_timeout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendWebhookTimeoutParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/countries":{"get":{"tags":["v1","countries"],"summary":"List Countries","operationId":"list_countries_v1_countries_get","parameters":[{"required":false,"schema":{"type":"boolean","title":"Only Active","default":true},"name":"only_active","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_app.api.schemas.responses.CountryDataResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/countries/{country_id}":{"patch":{"tags":["v1","countries"],"summary":"Update Country","operationId":"update_country_v1_countries__country_id__patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Country Id"},"name":"country_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCountryParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CountryDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/platforms":{"get":{"tags":["v1","platforms"],"summary":"List Platforms","operationId":"list_platforms_v1_platforms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_app.api.schemas.responses.PlatformDataResponse__"}}}}}},"post":{"tags":["v1","platforms"],"summary":"Create Platform","operationId":"create_platform_v1_platforms_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlatformParams"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_app.api.schemas.responses.PlatformDataResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/platforms/status":{"get":{"tags":["v1","platforms"],"summary":"Get Platforms Status","operationId":"get_platforms_status_v1_platforms_status_get","parameters":[{"required":false,"schema":{"type":"string","title":"Category"},"name":"category","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/CountryCode"},"name":"country","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_app.api.schemas.responses.PlatformDataResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/platforms/{platform_id}":{"get":{"tags":["v1","platforms"],"summary":"Get Platform","operationId":"get_platform_v1_platforms__platform_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Platform Id"},"name":"platform_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_PlatformDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v1","platforms"],"summary":"Update Platform","operationId":"update_platform_v1_platforms__platform_id__patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Platform Id"},"name":"platform_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePlatformParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_PlatformDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/platforms/search":{"post":{"tags":["v1","platforms"],"summary":"Search Platforms","operationId":"search_platforms_v1_platforms_search_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchPlatformsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_list_app.api.schemas.responses.PlatformDataResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/from_api_key":{"get":{"tags":["v1","companies"],"summary":"Get Company From Api Key","operationId":"get_company_from_api_key_v1_companies_from_api_key_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies":{"get":{"tags":["v1","companies"],"summary":"List Companies","operationId":"list_companies_v1_companies_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ListCompaniesDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","companies"],"summary":"Create Company","operationId":"create_company_v1_companies_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__companies__CreateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/search":{"post":{"tags":["v1","companies"],"summary":"Search Company","operationId":"search_company_v1_companies_search_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchCompaniesParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{company_id}":{"get":{"tags":["v1","companies"],"summary":"Get Company","operationId":"get_company_v1_companies__company_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/companies/{company_id}/widgets":{"get":{"tags":["v1","companies"],"summary":"Get Company Widgets","operationId":"get_company_widgets_v1_companies__company_id__widgets_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/link/authorize":{"post":{"tags":["v1","link"],"summary":"Authorize Link","operationId":"authorize_link_v1_link_authorize_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizeLinkParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_NoneType_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cron-jobs/balances":{"post":{"tags":["v1","cron-jobs"],"summary":"Update Balances","operationId":"update_balances_v1_cron_jobs_balances_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCutoffsAndBalancesParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cron-jobs/cutoffs":{"post":{"tags":["v1","cron-jobs"],"summary":"Update Balances","operationId":"update_balances_v1_cron_jobs_cutoffs_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCutoffsAndBalancesParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cron-jobs/imss/retry/weeks":{"post":{"tags":["v1","cron-jobs"],"summary":"Retry Get Weeks","operationId":"retry_get_weeks_v1_cron_jobs_imss_retry_weeks_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}}}}},"/v1/logins/manual-incomplete":{"get":{"tags":["v1","logins"],"summary":"Manual Logins","operationId":"manual_logins_v1_logins_manual_incomplete_get","parameters":[{"description":"Platform code to filter the logins","required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/PlatformCode"}],"description":"Platform code to filter the logins"},"name":"platform","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/logins/{login_id}":{"get":{"tags":["v1","logins"],"summary":"Get Login","operationId":"get_login_v1_logins__login_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Login Id"},"name":"login_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"},{"required":false,"schema":{"type":"string","title":"Accept-Language"},"name":"accept-language","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/logins":{"get":{"tags":["v1","logins"],"summary":"Get Logins For Account","operationId":"get_logins_for_account_v1_accounts__account_id__logins_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"},{"required":false,"schema":{"type":"string","title":"Accept-Language"},"name":"accept-language","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ListLoginBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/logins/{login_id}/send-webhook":{"post":{"tags":["v1","logins"],"summary":"Send Login Webhook","operationId":"send_login_webhook_v1_logins__login_id__send_webhook_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Login Id"},"name":"login_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ListLoginBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/logins/search":{"post":{"tags":["v1","logins"],"summary":"List Users","operationId":"list_users_v1_logins_search_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchLoginsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ListLoginBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/insights/reports/{account_id}":{"post":{"tags":["v1","insights-report","insights"],"summary":"Send Report Content","operationId":"send_report_content_v1_insights_reports__account_id__post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/insights/{account_id}/extended":{"get":{"tags":["v1","insights-report","insights"],"summary":"Compute Buro Insights","operationId":"compute_buro_insights_v1_insights__account_id__extended_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/insights/{account_id}/extended/pdf":{"get":{"tags":["v1","insights-report","insights"],"summary":"Compute Buro Insights For Pdf","operationId":"compute_buro_insights_for_pdf_v1_insights__account_id__extended_pdf_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/imss/email":{"post":{"tags":["v1","imss","v1"],"summary":"Manage Employment Email Flow","operationId":"manage_employment_email_flow_v1_imss_email_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmploymentEmailParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/imss/web-scraping":{"post":{"tags":["v1","imss","v1"],"summary":"Trigger Imss Web Scraping Process","operationId":"trigger_imss_web_scraping_process_v1_imss_web_scraping_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImssWebScrapingParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/imss/retry-login/{account_id}":{"post":{"tags":["v1","imss","v1"],"summary":"Retry Login","operationId":"retry_login_v1_imss_retry_login__account_id__post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups":{"get":{"tags":["v1","groups"],"summary":"Get Groups","operationId":"get_groups_v1_groups_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","groups"],"summary":"Create Group","operationId":"create_group_v1_groups_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__groups__CreateGroupParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/{group_id}/companies":{"post":{"tags":["v1","groups"],"summary":"Add Company In Group","operationId":"add_company_in_group_v1_groups__group_id__companies_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__companies__CreateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/{group_id}/companies/{company_id}":{"get":{"tags":["v1","groups"],"summary":"Read Company In Group","operationId":"read_company_in_group_v1_groups__group_id__companies__company_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v1","groups"],"summary":"Delete Company In Group","operationId":"delete_company_in_group_v1_groups__group_id__companies__company_id__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["v1","groups"],"summary":"Edit Company In Group","operationId":"edit_company_in_group_v1_groups__group_id__companies__company_id__patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__admin__UpdateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/{group_id}":{"get":{"tags":["v1","groups"],"summary":"Get Group","operationId":"get_group_v1_groups__group_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["v1","groups"],"summary":"Delete Group","operationId":"delete_group_v1_groups__group_id__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/delete-accounts":{"post":{"tags":["v1","groups"],"summary":"Delete Accounts","operationId":"delete_accounts_v1_groups_delete_accounts_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountsForCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/groups/{group_id}/usages/search":{"post":{"tags":["v1","groups"],"summary":"Get Usage","operationId":"get_usage_v1_groups__group_id__usages_search_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchUsageParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/accounts/{account_id}":{"get":{"tags":["v1","internal","internal/accounts"],"summary":"Retrieve Account By Id","operationId":"retrieve_account_by_id_v1_internal_accounts__account_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Accept-Language"},"name":"accept-language","in":"header"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/accounts/{account_id}/employment":{"get":{"tags":["v1","internal","internal/accounts"],"summary":"Retrieve Account Employment By Account Id","operationId":"retrieve_account_employment_by_account_id_v1_internal_accounts__account_id__employment_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","internal","internal/accounts"],"summary":"Store Profile Insights","operationId":"store_profile_insights_v1_internal_accounts__account_id__employment_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmploymentDataParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/companies/{company_id}/users/{user_id}/accounts":{"get":{"tags":["v1","internal","internal/accounts"],"summary":"Retrieve Accounts By User Id","operationId":"retrieve_accounts_by_user_id_v1_internal_companies__company_id__users__user_id__accounts_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"User Id"},"name":"user_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/companies/{company_id}/accounts/{account_id}/retry":{"post":{"tags":["v1","internal","internal/accounts"],"summary":"Retry Account","operationId":"retry_account_v1_internal_companies__company_id__accounts__account_id__retry_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RetryLoginOptions"}],"title":"Retry Options","default":{"force_retry":false}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/accounts/{account_id}/last_login":{"patch":{"tags":["v1","internal","internal/accounts"],"summary":"Update Account Last Login","operationId":"update_account_last_login_v1_internal_accounts__account_id__last_login_patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLoginParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/insights/accounts/{account_id}":{"post":{"tags":["v1","internal","internal/insights"],"summary":"Store Insights","operationId":"store_insights_v1_internal_insights_accounts__account_id__post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_InsightsReport_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/insights/companies/{company_id}/accounts/{account_id}/debug":{"get":{"tags":["v1","internal","internal/insights"],"summary":"Debug Insights","operationId":"debug_insights_v1_internal_insights_companies__company_id__accounts__account_id__debug_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/bulks/{bulk_id}/employment-files":{"get":{"tags":["v1","internal","internal/bulks"],"summary":"List Employment Files By Bulk Id","operationId":"list_employment_files_by_bulk_id_v1_internal_bulks__bulk_id__employment_files_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Bulk Id"},"name":"bulk_id","in":"path"},{"required":false,"schema":{"type":"integer","title":"Page","default":1},"name":"page","in":"query"},{"required":false,"schema":{"type":"integer","title":"Items Per Page","default":100},"name":"items_per_page","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePaginationResponse_EmploymentsFilesBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/bulks/{bulk_id}/identifier/{identifier}":{"delete":{"tags":["v1","internal","internal/bulks"],"summary":"Delete Bulk Account By Identifier","operationId":"delete_bulk_account_by_identifier_v1_internal_bulks__bulk_id__identifier__identifier__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Bulk Id"},"name":"bulk_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Identifier"},"name":"identifier","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/groups":{"get":{"tags":["v1","internal","internal/groups"],"summary":"Get Companies Groups","operationId":"get_companies_groups_v1_internal_groups_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ListGroupsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["v1","internal","internal/groups"],"summary":"Create Companies Group","operationId":"create_companies_group_v1_internal_groups_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__internal__groups__CreateGroupParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_GroupResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/groups/{group_id}":{"get":{"tags":["v1","internal","internal/groups"],"summary":"Get Companies Group","operationId":"get_companies_group_v1_internal_groups__group_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_GroupResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["v1","internal","internal/groups"],"summary":"Update Companies Group","operationId":"update_companies_group_v1_internal_groups__group_id__put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Group Id"},"name":"group_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_GroupResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/companies":{"get":{"tags":["v1","internal","internal/companies"],"summary":"Get Companies","operationId":"get_companies_v1_internal_companies_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ListCompaniesResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/companies/{company_id}":{"patch":{"tags":["v1","internal","internal/companies"],"summary":"Update Company","operationId":"update_company_v1_internal_companies__company_id__patch","parameters":[{"required":true,"schema":{"type":"string","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__internal__companies__UpdateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/indriver/reprocess-events":{"post":{"tags":["v1","internal","internal/indriver"],"summary":"Reprocess inDriver events for accounts in a timeframe","description":"Reprocesses events for all inDriver accounts created in the specified month/year. This will extract events from earnings data that may have been missed. Deduplication ensures no duplicate events are created.","operationId":"reprocess_indriver_events_v1_internal_indriver_reprocess_events_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReprocessEventsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ReprocessEventsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/status-history/bulk":{"post":{"tags":["v1","internal","internal/status-history"],"summary":"Save Status History Bulk","operationId":"save_status_history_bulk_v1_internal_status_history_bulk_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkStatusHistoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/users/accounts":{"post":{"tags":["v1","internal"],"summary":"Create User And Account Internal","operationId":"create_user_and_account_internal_v1_internal_users_accounts_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserAndAccountInternalParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataWithExternalIDBaseResponse_"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataWithExternalIDBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/accounts/{account_id}/duplicate":{"post":{"tags":["v1","internal"],"summary":"Duplicate Account Data","operationId":"duplicate_account_data_v1_internal_accounts__account_id__duplicate_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/companies/{company_id}/widgets/migrate":{"post":{"tags":["v1","internal"],"summary":"Migrate Widget Settings For Company","operationId":"migrate_widget_settings_for_company_v1_internal_companies__company_id__widgets_migrate_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/bulk/{bulk_id}/identifier/{identifier}/retry":{"post":{"tags":["v1","internal"],"summary":"Retry Account From Bulk","operationId":"retry_account_from_bulk_v1_internal_bulk__bulk_id__identifier__identifier__retry_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Bulk Id"},"name":"bulk_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Identifier"},"name":"identifier","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/internal/logins/retry-invalid-captcha":{"post":{"tags":["v1","internal"],"summary":"Retry Invalid Captcha Logins","operationId":"retry_invalid_captcha_logins_v1_internal_logins_retry_invalid_captcha_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/cpf/validate":{"post":{"tags":["v1","cpf","v1"],"summary":"Validate Cpf","operationId":"validate_cpf_v1_cpf_validate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateCPFParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"boolean","title":"Response Validate Cpf V1 Cpf Validate Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/consents/{gov_id}":{"get":{"tags":["v1","consents","v1"],"summary":"Get Consents By Gov Id","operationId":"get_consents_by_gov_id_v1_consents__gov_id__get","parameters":[{"required":true,"schema":{"type":"string","title":"Gov Id"},"name":"gov_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/consents/search":{"post":{"tags":["v1","consents","v1"],"summary":"Search Consents","operationId":"search_consents_v1_consents_search_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchConsentsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/create-token":{"post":{"tags":["v1","argyle","v1"],"summary":"Create Argyle Account","operationId":"create_argyle_account_v1_argyle_create_token_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/CreateUserArgyleParams"}],"title":"Params","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/refresh-token":{"post":{"tags":["v1","argyle","v1"],"summary":"Refresh Argyle Token","operationId":"refresh_argyle_token_v1_argyle_refresh_token_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshArgyleTokenParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/argyle-webhook":{"post":{"tags":["v1","argyle","v1"],"summary":"Webhook Argyle","operationId":"webhook_argyle_v1_argyle_argyle_webhook_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/argyle-webhook-90-days":{"post":{"tags":["v1","argyle","v1"],"summary":"Webhook Argyle 90 Days","operationId":"webhook_argyle_90_days_v1_argyle_argyle_webhook_90_days_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/process-webhook":{"post":{"tags":["v1","argyle","v1"],"summary":"Process Webhook","operationId":"process_webhook_v1_argyle_process_webhook_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/analyze-event-duplicates":{"post":{"tags":["v1","argyle","v1"],"summary":"Analyze Event Duplicates","operationId":"analyze_event_duplicates_v1_argyle_analyze_event_duplicates_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/cleanup-duplicate-events":{"post":{"tags":["v1","argyle","v1"],"summary":"Cleanup Duplicate Events","operationId":"cleanup_duplicate_events_v1_argyle_cleanup_duplicate_events_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/clean-save-by-account-id":{"post":{"tags":["v1","argyle","v1"],"summary":"Clean Save By Account Id","operationId":"clean_save_by_account_id_v1_argyle_clean_save_by_account_id_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/process-login-error":{"post":{"tags":["v1","argyle","v1"],"summary":"Process Login Error","operationId":"process_login_error_v1_argyle_process_login_error_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/{account_id}/retrieve-earnings":{"post":{"tags":["v1","argyle","v1"],"summary":"Retrieve Account Earnings","operationId":"retrieve_account_earnings_v1_argyle__account_id__retrieve_earnings_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/{account_id}/raw-data":{"get":{"tags":["v1","argyle","v1"],"summary":"Raw Argyle Data","operationId":"raw_argyle_data_v1_argyle__account_id__raw_data_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/{account_id}/process-refresh":{"post":{"tags":["v1","argyle","v1"],"summary":"Process Refresh","operationId":"process_refresh_v1_argyle__account_id__process_refresh_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/{account_id}/refresh-argyle-uber":{"post":{"tags":["v1","argyle","v1"],"summary":"Refresh Argyle Uber","operationId":"refresh_argyle_uber_v1_argyle__account_id__refresh_argyle_uber_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/debug-data":{"post":{"tags":["v1","argyle","v1"],"summary":"Get Debug Data","operationId":"get_debug_data_v1_argyle_debug_data_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DebugDataArgyleParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/find-by-identifier":{"get":{"tags":["v1","argyle","v1"],"summary":"Find Argyle Account By Identifier","operationId":"find_argyle_account_by_identifier_v1_argyle_find_by_identifier_get","parameters":[{"required":true,"schema":{"type":"string","title":"Identifier"},"name":"identifier","in":"query"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"query"},{"required":true,"schema":{"$ref":"#/components/schemas/PlatformCode"},"name":"platform","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/uber-intercept/step1":{"post":{"tags":["v1","argyle","v1"],"summary":"Uber Intercept Step1","operationId":"uber_intercept_step1_v1_argyle_uber_intercept_step1_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/uber-intercept/step2":{"post":{"tags":["v1","argyle","v1"],"summary":"Uber Intercept Step2","operationId":"uber_intercept_step2_v1_argyle_uber_intercept_step2_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/argyle/uber-intercept/step3":{"post":{"tags":["v1","argyle","v1"],"summary":"Uber Intercept Step3","operationId":"uber_intercept_step3_v1_argyle_uber_intercept_step3_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/uber-direct-api/create-token":{"post":{"tags":["v1","uber-direct-api","v1"],"summary":"Create Uber Account","operationId":"create_uber_account_v1_uber_direct_api_create_token_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/CreateUberApiParams"}],"title":"Params","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/uber-direct-api/exchange-code":{"get":{"tags":["v1","uber-direct-api","v1"],"summary":"Exchange Code","operationId":"exchange_code_v1_uber_direct_api_exchange_code_get","parameters":[{"required":true,"schema":{"type":"string","title":"Code"},"name":"code","in":"query"},{"required":true,"schema":{"type":"string","title":"State"},"name":"state","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/uber-direct-api/{account_id}/clean-save":{"post":{"tags":["v1","uber-direct-api","v1"],"summary":"Clean Save Account","operationId":"clean_save_account_v1_uber_direct_api__account_id__clean_save_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/uber-direct-api/{account_id}/refresh-account-without-login":{"post":{"tags":["v1","uber-direct-api","v1"],"summary":"Refresh Account Without Login","operationId":"refresh_account_without_login_v1_uber_direct_api__account_id__refresh_account_without_login_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/uber-direct-api/{account_id}/process-batch-job":{"post":{"tags":["v1","uber-direct-api","v1"],"summary":"Process Batch Job","operationId":"process_batch_job_v1_uber_direct_api__account_id__process_batch_job_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessBatchJobParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/uber/income-distribution/recover/custom-range":{"post":{"tags":["v1","uber-income-distribution"],"summary":"Recover Uber Income Distribution Custom Range","description":"Recover income distribution data for Uber accounts within a custom date range.\n\nParameters:\n- start_date: Start date in YYYY-MM-DD format\n- end_date: End date in YYYY-MM-DD format","operationId":"recover_uber_income_distribution_custom_range_v1_uber_income_distribution_recover_custom_range_post","parameters":[{"description":"Start date in YYYY-MM-DD format","required":true,"schema":{"type":"string","title":"Start Date","description":"Start date in YYYY-MM-DD format"},"name":"start_date","in":"query"},{"description":"End date in YYYY-MM-DD format","required":true,"schema":{"type":"string","title":"End Date","description":"End date in YYYY-MM-DD format"},"name":"end_date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rappi/income-distribution/recover/custom-range":{"post":{"tags":["v1","rappi-income-distribution"],"summary":"Recover Rappi Income Distribution Custom Range","description":"Recover income distribution data for Rappi accounts within a custom date range.","operationId":"recover_rappi_income_distribution_custom_range_v1_rappi_income_distribution_recover_custom_range_post","parameters":[{"description":"Start date in YYYY-MM-DD format","required":true,"schema":{"type":"string","title":"Start Date","description":"Start date in YYYY-MM-DD format"},"name":"start_date","in":"query"},{"description":"End date in YYYY-MM-DD format","required":true,"schema":{"type":"string","title":"End Date","description":"End date in YYYY-MM-DD format"},"name":"end_date","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/rappi/start-location/recover/last-two-weeks":{"post":{"tags":["v1","rappi-start-location-recovery"],"summary":"Recover Rappi Start Location Last Two Weeks","description":"Recover start_location for Rappi accounts that have delivery events with a missing\nstart_location in the last `days` (default 14). Re-parses stored earnings payloads and\nrefreshes start_location on the existing event rows.","operationId":"recover_rappi_start_location_last_two_weeks_v1_rappi_start_location_recover_last_two_weeks_post","parameters":[{"description":"Lookback window in days (default 14)","required":false,"schema":{"type":"integer","maximum":60.0,"minimum":1.0,"title":"Days","description":"Lookback window in days (default 14)","default":14},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/hola-majo/finsus-notification":{"post":{"tags":["v1","finsus","v1"],"summary":"Finsus Notification","operationId":"finsus_notification_v1_hola_majo_finsus_notification_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/health/{platform_code}":{"get":{"tags":["v1","health"],"summary":"Get Platform Health","operationId":"get_platform_health_v1_health__platform_code__get","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/PlatformCode"},"name":"platform_code","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/status-history":{"get":{"tags":["v1","status-history"],"summary":"Get Status History","operationId":"get_status_history_v1_status_history_get","parameters":[{"required":false,"schema":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Days","default":90},"name":"days","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/clean-save":{"post":{"tags":["v1"],"summary":"Clean Save Account","operationId":"clean_save_account_v1_accounts__account_id__clean_save_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/clean-save-uber-direct-api":{"post":{"tags":["v1"],"summary":"Clean Save Account Uber Direct Api","operationId":"clean_save_account_uber_direct_api_v1_accounts__account_id__clean_save_uber_direct_api_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/clean-save-uber-webscraping":{"post":{"tags":["v1"],"summary":"Clean Save Account Uber Webscraping","operationId":"clean_save_account_uber_webscraping_v1_accounts__account_id__clean_save_uber_webscraping_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/clean-save-earnings":{"post":{"tags":["v1"],"summary":"Clean Save Account Earnings","operationId":"clean_save_account_earnings_v1_accounts__account_id__clean_save_earnings_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/clean-save-events":{"post":{"tags":["v1"],"summary":"Clean Save Account Events","operationId":"clean_save_account_events_v1_accounts__account_id__clean_save_events_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/refresh":{"post":{"tags":["v1"],"summary":"Refresh Accounts Logins","operationId":"refresh_accounts_logins_v1_accounts_refresh_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshAccountsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/refresh-login":{"post":{"tags":["v1"],"summary":"Refresh Account Login","operationId":"refresh_account_login_v1_accounts__account_id__refresh_login_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/refresh":{"post":{"tags":["v1"],"summary":"Refresh Account","operationId":"refresh_account_v1_accounts__account_id__refresh_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/refresh-earnings":{"post":{"tags":["v1"],"summary":"Refresh Earnings","operationId":"refresh_earnings_v1_accounts__account_id__refresh_earnings_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshEarningsParams"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/refresh-events":{"post":{"tags":["v1"],"summary":"Refresh Events","operationId":"refresh_events_v1_accounts__account_id__refresh_events_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshEarningsParams"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/get-earnings":{"post":{"tags":["v1"],"summary":"Get Earnings","operationId":"get_earnings_v1_accounts__account_id__get_earnings_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEarningsParams"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/get-remaining-data":{"post":{"tags":["v1"],"summary":"Get Remaining Data","operationId":"get_remaining_data_v1_accounts__account_id__get_remaining_data_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/get-earnings":{"post":{"tags":["v1"],"summary":"Get Daily Earnings","operationId":"get_daily_earnings_v1_get_earnings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetDailyEarningsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/accounts/{account_id}/refresh-cdt-mei-earnings":{"post":{"tags":["v1"],"summary":"Refresh Cdt Mei Earnings","operationId":"refresh_cdt_mei_earnings_v1_accounts__account_id__refresh_cdt_mei_earnings_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/widgets/{widget_id}":{"get":{"tags":["admin"],"summary":"Get Widget","operationId":"get_widget_admin_widgets__widget_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["admin"],"summary":"Update Company Widget","operationId":"update_company_widget_admin_widgets__widget_id__patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__admin__UpdateWidgetParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/companies/{company_id}/widgets":{"post":{"tags":["admin"],"summary":"Create Company Widget","operationId":"create_company_widget_admin_companies__company_id__widgets_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__admin__CreateWidgetParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataPrivate_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/companies":{"post":{"tags":["admin"],"summary":"Create Company","operationId":"create_company_admin_companies_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCompanyWithWidgetsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataPrivate_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/companies/{company_id}":{"patch":{"tags":["admin"],"summary":"Update Company","operationId":"update_company_admin_companies__company_id__patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__admin__UpdateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataPrivate_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}":{"get":{"tags":["console","console/companies"],"summary":"Get Company","operationId":"get_company_console_companies__company_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataPrivate_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["console","console/companies"],"summary":"Update Company","operationId":"update_company_console_companies__company_id__patch","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__companies__UpdateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataPrivate_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies":{"post":{"tags":["console","console/companies"],"summary":"Create Company","operationId":"create_company_console_companies_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__companies__CreateCompanyParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_CompanyDataPrivate_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/widgets/{widget_id}":{"get":{"tags":["console","console/widgets"],"summary":"Get Widget","operationId":"get_widget_console_companies__company_id__widgets__widget_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["console","console/widgets"],"summary":"Update Company Widget","operationId":"update_company_widget_console_companies__company_id__widgets__widget_id__put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Widget Id"},"name":"widget_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__admin__UpdateWidgetParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/widgets/accounts/{account_id}":{"get":{"tags":["console","console/widgets"],"summary":"Get Widget Id","operationId":"get_widget_id_console_companies__company_id__widgets_accounts__account_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/widgets":{"get":{"tags":["console","console/widgets"],"summary":"List Company Widgets","operationId":"list_company_widgets_console_companies__company_id__widgets_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetsConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console","console/widgets"],"summary":"Create Company Widget","operationId":"create_company_widget_console_companies__company_id__widgets_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__api__schemas__admin__CreateWidgetParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WidgetConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/webhooks/events":{"get":{"tags":["console","console/webhooks"],"summary":"List Webhook Topics","operationId":"list_webhook_topics_console_webhooks_events_get","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhooksDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/webhooks":{"get":{"tags":["console","console/webhooks"],"summary":"List Webhooks","operationId":"list_webhooks_console_companies__company_id__webhooks_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhooksDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["console","console/webhooks"],"summary":"Create Webhook","operationId":"create_webhook_console_companies__company_id__webhooks_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/webhooks/{webhook_id}":{"put":{"tags":["console","console/webhooks"],"summary":"Update Webhook","operationId":"update_webhook_console_companies__company_id__webhooks__webhook_id__put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["console","console/webhooks"],"summary":"Delete Webhook","operationId":"delete_webhook_console_companies__company_id__webhooks__webhook_id__delete","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/webhooks/{webhook_id}/status":{"put":{"tags":["console","console/webhooks"],"summary":"Update Webhook Status","operationId":"update_webhook_status_console_companies__company_id__webhooks__webhook_id__status_put","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/webhooks/{webhook_id}/logs":{"get":{"tags":["console","console/webhooks"],"summary":"Get Webhook","operationId":"get_webhook_console_companies__company_id__webhooks__webhook_id__logs_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":false,"schema":{"$ref":"#/components/schemas/WebhookLogStatus"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"From Date"},"name":"from_date","in":"query"},{"required":false,"schema":{"type":"string","title":"To Date"},"name":"to_date","in":"query"},{"required":false,"schema":{"type":"string","title":"Date Field","default":"created_at"},"name":"date_field","in":"query"},{"required":false,"schema":{"type":"string","title":"Order By","default":"-created_at"},"name":"order_by","in":"query"},{"required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/WebhookActions"},{"type":"string"}],"title":"Event"},"name":"event","in":"query"},{"required":false,"schema":{"type":"integer","title":"Items Per Page","default":500},"name":"items_per_page","in":"query"},{"required":false,"schema":{"type":"integer","title":"Page","default":1},"name":"page","in":"query"},{"required":false,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BasePaginationResponse_WebhookDetailsConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/webhooks/{webhook_id}/logs/{log_id}/retry":{"post":{"tags":["console","console/webhooks"],"summary":"Retry Webhook Events","operationId":"retry_webhook_events_console_companies__company_id__webhooks__webhook_id__logs__log_id__retry_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"},"name":"webhook_id","in":"path"},{"required":true,"schema":{"type":"string","title":"Log Id"},"name":"log_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_WebhookDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}":{"get":{"tags":["console","console/accounts"],"summary":"Get Account","operationId":"get_account_console_companies__company_id__accounts__account_id__get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"Accept-Language"},"name":"accept-language","in":"header"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountsDataConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts":{"get":{"tags":["console","console/accounts"],"summary":"List Accounts","operationId":"list_accounts_console_companies__company_id__accounts_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"integer","title":"Page","default":1},"name":"page","in":"query"},{"required":false,"schema":{"type":"integer","title":"Items Per Page","default":100},"name":"items_per_page","in":"query"},{"required":false,"schema":{"type":"string","title":"Order By","default":"-created_at"},"name":"order_by","in":"query"},{"required":false,"schema":{"type":"string","title":"Query"},"name":"query","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/LoginStatus"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"From Date"},"name":"from_date","in":"query"},{"required":false,"schema":{"type":"string","title":"To Date"},"name":"to_date","in":"query"},{"required":false,"schema":{"type":"string","title":"Date Field","default":"created_at"},"name":"date_field","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountsDataConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}/profile":{"get":{"tags":["console","console/accounts"],"summary":"Get Profile","operationId":"get_profile_console_companies__company_id__accounts__account_id__profile_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_ProfileDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}/employment":{"get":{"tags":["console","console/accounts"],"summary":"Get Employment","operationId":"get_employment_console_companies__company_id__accounts__account_id__employment_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_EmploymentDataBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}/earnings":{"get":{"tags":["console","console/accounts"],"summary":"Get Earnings Without Duplicates","operationId":"get_earnings_without_duplicates_console_companies__company_id__accounts__account_id__earnings_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/DateRange"}],"default":"month"},"name":"date_range","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_EarningsDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/logins":{"get":{"tags":["console","console/accounts"],"summary":"List Logins","operationId":"list_logins_console_companies__company_id__logins_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":false,"schema":{"type":"integer","title":"Page","default":1},"name":"page","in":"query"},{"required":false,"schema":{"type":"integer","title":"Items Per Page","default":100},"name":"items_per_page","in":"query"},{"required":false,"schema":{"type":"string","title":"Order By","default":"-created_at"},"name":"order_by","in":"query"},{"required":false,"schema":{"type":"string","title":"Query"},"name":"query","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/LoginStatus"},"name":"status","in":"query"},{"required":false,"schema":{"type":"string","title":"From Date"},"name":"from_date","in":"query"},{"required":false,"schema":{"type":"string","title":"To Date"},"name":"to_date","in":"query"},{"required":false,"schema":{"type":"string","title":"Date Field","default":"created_at"},"name":"date_field","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/LoginSourceCode"},"name":"source","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/PlatformCode"},"name":"platform","in":"query"},{"required":false,"schema":{"type":"string","title":"Exclude Platforms"},"name":"exclude_platforms","in":"query"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountsDataConsoleResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}/logins":{"get":{"tags":["console","console/accounts"],"summary":"Get Logins","operationId":"get_logins_console_companies__company_id__accounts__account_id__logins_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_AccountLoginsDataResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/accounts/{account_id}/refresh":{"post":{"tags":["console","console/accounts"],"summary":"Refresh Account","operationId":"refresh_account_console_companies_accounts__account_id__refresh_post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/accounts/retry/{account_id}":{"post":{"tags":["console","console/accounts"],"summary":"Retry Imss Login","operationId":"retry_imss_login_console_companies_accounts_retry__account_id__post","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}/earnings/exists":{"get":{"tags":["console","console/accounts"],"summary":"Does Account Have Earnings","operationId":"does_account_have_earnings_console_companies__company_id__accounts__account_id__earnings_exists_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/companies/{company_id}/accounts/{account_id}/raw-data":{"get":{"tags":["console","console/accounts"],"summary":"Get Raw Data","operationId":"get_raw_data_console_companies__company_id__accounts__account_id__raw_data_get","parameters":[{"required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"},"name":"company_id","in":"path"},{"required":true,"schema":{"type":"string","format":"uuid","title":"Account Id"},"name":"account_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/status/{status_details}":{"get":{"tags":["console","console/status"],"summary":"Get Status","operationId":"get_status_console_status__status_details__get","parameters":[{"required":true,"schema":{"$ref":"#/components/schemas/StatusDetails"},"name":"status_details","in":"path"},{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_StatusResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/insights/graphs/benchmarks":{"post":{"tags":["console","console/insights","insights"],"summary":"Send Platform Benchmarks","operationId":"send_platform_benchmarks_console_insights_graphs_benchmarks_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformBenchmarksParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/insights/graphs/employment/salary-progression":{"post":{"tags":["console","console/insights","insights"],"summary":"Get Account Salary Progression Over Time","operationId":"get_account_salary_progression_over_time_console_insights_graphs_employment_salary_progression_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualAccountInsightsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/insights/graphs/gig/earning-detail":{"post":{"tags":["console","console/insights","insights"],"summary":"Get Account Earning Detail","operationId":"get_account_earning_detail_console_insights_graphs_gig_earning_detail_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndividualAccountInsightsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console/insights/extended":{"post":{"tags":["console","console/insights","insights"],"summary":"Compute Extended Insights","operationId":"compute_extended_insights_console_insights_extended_post","parameters":[{"required":false,"schema":{"type":"string","title":"X-Api-Key"},"name":"x-api-key","in":"header"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeExtendedInsightsParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/employments-history":{"post":{"tags":["v1"],"summary":"Create Employment History","operationId":"create_employment_history_v1_employments_history_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmploymentHistoryParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseResponse_EmploymentHistoryBaseResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/employment-file":{"post":{"tags":["v1"],"summary":"Read Employment File","operationId":"read_employment_file_v1_employment_file_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadEmploymentFileParams"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/employment-files":{"post":{"tags":["v1"],"summary":"Create Employment File","operationId":"create_employment_file_v1_employment_files_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEmploymentFileParams"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ping":{"get":{"summary":"Ping","operationId":"ping_ping_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Ping Ping Get"}}}}}}},"/pong":{"get":{"summary":"Pong","operationId":"pong_pong_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/version":{"get":{"summary":"Version","operationId":"version_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Version Version Get"}}}}}}},"/check-platform-health":{"post":{"summary":"Check Platform Health","operationId":"check_platform_health_check_platform_health_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AcceptedLanguage":{"enum":["en","es","pt"],"title":"AcceptedLanguage","description":"An enumeration."},"AccountBaseResponse":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"worker_id":{"type":"string","title":"Worker Id"},"gov_id":{"type":"string","title":"Gov Id"},"last_successful_connection":{"type":"string","format":"date-time","title":"Last Successful Connection"},"warning":{"$ref":"#/components/schemas/AccountWarning"},"status":{"$ref":"#/components/schemas/LoginStatus"},"status_details":{"$ref":"#/components/schemas/StatusDetails"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"},"next_step":{"$ref":"#/components/schemas/LoginTypes"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["account_id"],"title":"AccountBaseResponse"},"AccountConsoleResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"status":{"$ref":"#/components/schemas/LoginStatus"},"identifier":{"type":"string","title":"Identifier"},"worker_id":{"type":"string","title":"Worker Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"warning":{"$ref":"#/components/schemas/AccountWarning"},"status_details":{"$ref":"#/components/schemas/StatusDetails"},"last_successful_connection":{"type":"string","format":"date-time","title":"Last Successful Connection"},"message":{"type":"string","title":"Message"},"recommendation":{"type":"string","title":"Recommendation"},"source":{"$ref":"#/components/schemas/SourceCode"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"gov_id":{"type":"string","title":"Gov Id"}},"type":"object","required":["id","user_id"],"title":"AccountConsoleResponse"},"AccountDataBaseResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"next_step":{"$ref":"#/components/schemas/LoginTypes"},"methods":{"items":{"$ref":"#/components/schemas/LoginTypes"},"type":"array","default":[]},"alternative_methods":{"items":{"$ref":"#/components/schemas/LoginTypes"},"type":"array","default":[]},"hint":{"type":"string","title":"Hint"}},"type":"object","title":"AccountDataBaseResponse","example":{"user_id":"9334389a-c93c-4183-9894-ea8eb72f82e8","country":"mx","platform":"uber"}},"AccountDataWithExternalIDBaseResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"next_step":{"$ref":"#/components/schemas/LoginTypes"},"methods":{"items":{"$ref":"#/components/schemas/LoginTypes"},"type":"array","default":[]},"alternative_methods":{"items":{"$ref":"#/components/schemas/LoginTypes"},"type":"array","default":[]},"hint":{"type":"string","title":"Hint"},"external_id":{"type":"string","title":"External Id"}},"type":"object","title":"AccountDataWithExternalIDBaseResponse","example":{"user_id":"9334389a-c93c-4183-9894-ea8eb72f82e8","country":"mx","platform":"uber"}},"AccountListDataResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"accounts":{"items":{"$ref":"#/components/schemas/AccountBaseResponse"},"type":"array","title":"Accounts"}},"type":"object","required":["user_id","accounts"],"title":"AccountListDataResponse"},"AccountLoginsDataResponse":{"properties":{"logins":{"items":{"$ref":"#/components/schemas/LoginConsoleDataResponse"},"type":"array","title":"Logins"}},"type":"object","required":["logins"],"title":"AccountLoginsDataResponse"},"AccountWarning":{"enum":["banned","not_registered","profile_unavailable","needs_auth","no_employment_records","missing_social_security_number","social_security_number_mismatch","curp_has_inconsistencies","curp_not_in_platform","zero_quoted_weeks","rpci_backup_process","web_scraping_backup_process","rider_account","fleet_account","onboarding","didi_auth_app","didi_auth_web","invalid_captcha","incomplete_profile_data","id_mismatch"],"title":"AccountWarning","description":"An enumeration."},"AccountsDataConsoleResponse":{"properties":{"accounts":{"items":{"$ref":"#/components/schemas/AccountConsoleResponse"},"type":"array","title":"Accounts"}},"type":"object","required":["accounts"],"title":"AccountsDataConsoleResponse"},"AccountsDataResponse":{"properties":{"accounts":{"items":{"$ref":"#/components/schemas/AccountBaseResponse"},"type":"array","title":"Accounts"}},"type":"object","required":["accounts"],"title":"AccountsDataResponse"},"AuthorizeLinkParams":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"}},"type":"object","required":["connect_flow_id"],"title":"AuthorizeLinkParams","example":{"widget_id":"b679c2fb-a096-4c26-a902-245f9bce66d9"}},"BasePaginationResponse_EarningsDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EarningsDataBaseResponse"},"pagination":{"$ref":"#/components/schemas/PaginationBaseResponse"}},"type":"object","title":"BasePaginationResponse[EarningsDataBaseResponse]","example":{"success":true,"data":{},"error":{},"pagination":{}}},"BasePaginationResponse_EmploymentDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EmploymentDataBaseResponse"},"pagination":{"$ref":"#/components/schemas/PaginationBaseResponse"}},"type":"object","title":"BasePaginationResponse[EmploymentDataBaseResponse]","example":{"success":true,"data":{},"error":{},"pagination":{}}},"BasePaginationResponse_EmploymentsFilesBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EmploymentsFilesBaseResponse"},"pagination":{"$ref":"#/components/schemas/PaginationBaseResponse"}},"type":"object","title":"BasePaginationResponse[EmploymentsFilesBaseResponse]","example":{"success":true,"data":{},"error":{},"pagination":{}}},"BasePaginationResponse_EventsDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EventsDataBaseResponse"},"pagination":{"$ref":"#/components/schemas/PaginationBaseResponse"}},"type":"object","title":"BasePaginationResponse[EventsDataBaseResponse]","example":{"success":true,"data":{},"error":{},"pagination":{}}},"BasePaginationResponse_RawEventsDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/RawEventsDataBaseResponse"},"pagination":{"$ref":"#/components/schemas/PaginationBaseResponse"}},"type":"object","title":"BasePaginationResponse[RawEventsDataBaseResponse]","example":{"success":true,"data":{},"error":{},"pagination":{}}},"BasePaginationResponse_WebhookDetailsConsoleResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WebhookDetailsConsoleResponse"},"pagination":{"$ref":"#/components/schemas/PaginationBaseResponse"}},"type":"object","title":"BasePaginationResponse[WebhookDetailsConsoleResponse]","example":{"success":true,"data":{},"error":{},"pagination":{}}},"BaseResponse":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"title":"Data"}},"type":"object","title":"BaseResponse","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountBaseResponse"}},"type":"object","title":"BaseResponse[AccountBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountDataBaseResponse"}},"type":"object","title":"BaseResponse[AccountDataBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountDataWithExternalIDBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountDataWithExternalIDBaseResponse"}},"type":"object","title":"BaseResponse[AccountDataWithExternalIDBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountListDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountListDataResponse"}},"type":"object","title":"BaseResponse[AccountListDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountLoginsDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountLoginsDataResponse"}},"type":"object","title":"BaseResponse[AccountLoginsDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountsDataConsoleResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountsDataConsoleResponse"}},"type":"object","title":"BaseResponse[AccountsDataConsoleResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_AccountsDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/AccountsDataResponse"}},"type":"object","title":"BaseResponse[AccountsDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_CompanyDataPrivate_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/CompanyDataPrivate"}},"type":"object","title":"BaseResponse[CompanyDataPrivate]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_CompanyDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/CompanyDataResponse"}},"type":"object","title":"BaseResponse[CompanyDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_CompanyResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/CompanyResponse"}},"type":"object","title":"BaseResponse[CompanyResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_CountryDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/CountryDataResponse"}},"type":"object","title":"BaseResponse[CountryDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_EarningsAggregatedResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EarningsAggregatedResponse"}},"type":"object","title":"BaseResponse[EarningsAggregatedResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_EarningsDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EarningsDataResponse"}},"type":"object","title":"BaseResponse[EarningsDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_EmploymentDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EmploymentDataBaseResponse"}},"type":"object","title":"BaseResponse[EmploymentDataBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_EmploymentHistoryBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/EmploymentHistoryBaseResponse"}},"type":"object","title":"BaseResponse[EmploymentHistoryBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_GroupResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/GroupResponse"}},"type":"object","title":"BaseResponse[GroupResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_InsightsReport_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/InsightsReport"}},"type":"object","title":"BaseResponse[InsightsReport]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ListCompaniesDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ListCompaniesDataResponse"}},"type":"object","title":"BaseResponse[ListCompaniesDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ListCompaniesResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ListCompaniesResponse"}},"type":"object","title":"BaseResponse[ListCompaniesResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ListGroupsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ListGroupsResponse"}},"type":"object","title":"BaseResponse[ListGroupsResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ListLoginBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ListLoginBaseResponse"}},"type":"object","title":"BaseResponse[ListLoginBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_NoneType_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"type":"null","title":"Data"}},"type":"object","title":"BaseResponse[NoneType]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_PlatformDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/PlatformDataResponse"}},"type":"object","title":"BaseResponse[PlatformDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ProfileDataBaseResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ProfileDataBaseResponse"}},"type":"object","title":"BaseResponse[ProfileDataBaseResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ReassignAccountUserResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ReassignAccountUserResponse"}},"type":"object","title":"BaseResponse[ReassignAccountUserResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_ReprocessEventsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/ReprocessEventsResponse"}},"type":"object","title":"BaseResponse[ReprocessEventsResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_StatusResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/StatusResponse"}},"type":"object","title":"BaseResponse[StatusResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_UserDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/UserDataResponse"}},"type":"object","title":"BaseResponse[UserDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_UserRetrievalDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/UserRetrievalDataResponse"}},"type":"object","title":"BaseResponse[UserRetrievalDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_UserRetrievalListDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/UserRetrievalListDataResponse"}},"type":"object","title":"BaseResponse[UserRetrievalListDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_WebhookDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WebhookDataResponse"}},"type":"object","title":"BaseResponse[WebhookDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_WebhooksDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WebhooksDataResponse"}},"type":"object","title":"BaseResponse[WebhooksDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_WidgetConsoleResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WidgetConsoleResponse"}},"type":"object","title":"BaseResponse[WidgetConsoleResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_WidgetDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WidgetDataResponse"}},"type":"object","title":"BaseResponse[WidgetDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_WidgetSetupDataResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WidgetSetupDataResponse"}},"type":"object","title":"BaseResponse[WidgetSetupDataResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_WidgetsConsoleResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"$ref":"#/components/schemas/WidgetsConsoleResponse"}},"type":"object","title":"BaseResponse[WidgetsConsoleResponse]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_dict_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"type":"object","title":"Data"}},"type":"object","title":"BaseResponse[dict]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_list_app.api.schemas.responses.CountryDataResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"items":{"$ref":"#/components/schemas/CountryDataResponse"},"type":"array","title":"Data"}},"type":"object","title":"BaseResponse[list[app.api.schemas.responses.CountryDataResponse]]","example":{"success":true,"data":{},"error":{}}},"BaseResponse_list_app.api.schemas.responses.PlatformDataResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"error":{"$ref":"#/components/schemas/ErrorResponse"},"data":{"items":{"$ref":"#/components/schemas/PlatformDataResponse"},"type":"array","title":"Data"}},"type":"object","title":"BaseResponse[list[app.api.schemas.responses.PlatformDataResponse]]","example":{"success":true,"data":{},"error":{}}},"BulkStatusHistoryRequest":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/StatusHistoryEntry"},"type":"array","title":"Entries"}},"type":"object","required":["entries"],"title":"BulkStatusHistoryRequest"},"CivilStatus":{"enum":["single","married"],"title":"CivilStatus","description":"An enumeration."},"Company":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"client_id":{"type":"string","title":"Client Id"},"logo":{"type":"string","title":"Logo"},"status":{"$ref":"#/components/schemas/CompanyStatus"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"priority":{"$ref":"#/components/schemas/CompanyPriority"},"website":{"type":"string","title":"Website"},"public_api_key":{"type":"string","title":"Public Api Key"},"private_api_key":{"type":"string","title":"Private Api Key"},"public_encryption_key":{"type":"string","title":"Public Encryption Key"},"private_encryption_key":{"type":"string","title":"Private Encryption Key"},"require_encryption":{"type":"boolean","title":"Require Encryption","default":false},"owner":{"type":"string","title":"Owner"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"retries_enabled":{"type":"boolean","title":"Retries Enabled","default":false},"group_id":{"type":"string","format":"uuid","title":"Group Id"},"data_controller":{"type":"boolean","title":"Data Controller","default":true},"widget_advanced_customization":{"type":"boolean","title":"Widget Advanced Customization","default":false}},"type":"object","required":["display_name","company_name","priority","public_api_key","private_api_key"],"title":"Company"},"CompanyDataPrivate":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"client_id":{"type":"string","title":"Client Id"},"logo":{"type":"string","title":"Logo"},"status":{"$ref":"#/components/schemas/CompanyStatus"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"priority":{"$ref":"#/components/schemas/CompanyPriority"},"website":{"type":"string","title":"Website"},"public_api_key":{"type":"string","title":"Public Api Key"},"private_api_key":{"type":"string","title":"Private Api Key"},"public_encryption_key":{"type":"string","title":"Public Encryption Key"},"private_encryption_key":{"type":"string","title":"Private Encryption Key"},"require_encryption":{"type":"boolean","title":"Require Encryption","default":false},"owner":{"type":"string","title":"Owner"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"retries_enabled":{"type":"boolean","title":"Retries Enabled","default":false},"group_id":{"type":"string","format":"uuid","title":"Group Id"},"data_controller":{"type":"boolean","title":"Data Controller","default":true},"widget_advanced_customization":{"type":"boolean","title":"Widget Advanced Customization","default":false}},"type":"object","required":["display_name","company_name","priority","public_api_key","private_api_key"],"title":"CompanyDataPrivate","example":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","client_id":"c2644819-1879-4219-93ab-86b54fb83467","logo":"https://palenca.com/logo.png","display_name":"Palenca","status":"demo","company_name":"palenca","website":"https://palenca.com","public_api_key":"2b4712e7-b318-4beb-bf8e-fa7c8f7b4037","private_api_key":"2b4712e7-b318-4beb-bf8e-fa7c8f7b4037"}},"CompanyDataResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"client_id":{"type":"string","title":"Client Id"},"logo":{"type":"string","title":"Logo"},"status":{"$ref":"#/components/schemas/CompanyStatus"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"priority":{"$ref":"#/components/schemas/CompanyPriority"},"website":{"type":"string","title":"Website"},"public_api_key":{"type":"string","title":"Public Api Key"},"private_api_key":{"type":"string","title":"Private Api Key"},"public_encryption_key":{"type":"string","title":"Public Encryption Key"},"private_encryption_key":{"type":"string","title":"Private Encryption Key"},"require_encryption":{"type":"boolean","title":"Require Encryption","default":false},"owner":{"type":"string","title":"Owner"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"retries_enabled":{"type":"boolean","title":"Retries Enabled","default":false},"group_id":{"type":"string","format":"uuid","title":"Group Id"},"data_controller":{"type":"boolean","title":"Data Controller","default":true},"widget_advanced_customization":{"type":"boolean","title":"Widget Advanced Customization","default":false}},"type":"object","required":["display_name","company_name","priority","public_api_key","private_api_key"],"title":"CompanyDataResponse","example":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","client_id":"c2644819-1879-4219-93ab-86b54fb83467","logo":"https://palenca.com/logo.png","display_name":"Palenca","company_name":"palenca","website":"https://palenca.com","priority":"low","public_api_key":"2b4712e7-b318-4beb-bf8e-fa7c8f7b4037"}},"CompanyPriority":{"enum":["highest","high","medium","low","lowest"],"title":"CompanyPriority","description":"An enumeration."},"CompanyResponse":{"properties":{"company":{"$ref":"#/components/schemas/CompanyDataResponse"}},"type":"object","required":["company"],"title":"CompanyResponse"},"CompanyStatus":{"enum":["internal_test","active","demo","pilot","sandbox","read_permissions_disabled","write_permissions_disabled","suspended"],"title":"CompanyStatus","description":"An enumeration."},"ComputeExtendedInsightsParams":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"company_id":{"type":"string","format":"uuid","title":"Company Id"}},"type":"object","required":["account_id","company_id"],"title":"ComputeExtendedInsightsParams"},"Cookie":{"properties":{"name":{"type":"string","title":"Name"},"value":{"type":"string","title":"Value"},"domain":{"type":"string","title":"Domain"}},"type":"object","title":"Cookie"},"CountryCode":{"enum":["mx","co","br","ar","cl","pe","us","cr","pa","ec","bo","ve","sv","do"],"title":"CountryCode","description":"An enumeration."},"CountryDataResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"alpha_2":{"$ref":"#/components/schemas/CountryCode"},"alpha_3":{"type":"string","title":"Alpha 3"},"name":{"type":"string","title":"Name"},"currency":{"type":"string","title":"Currency"},"calling_code":{"type":"string","title":"Calling Code"},"timezone":{"type":"string","title":"Timezone"},"flag":{"type":"string","title":"Flag"},"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","required":["id","alpha_2","alpha_3","name","currency","calling_code","timezone"],"title":"CountryDataResponse","example":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","alpha_2":"mx","alpha_3":"mex","name":"Mexico","currency":"MXN","calling_code":"52","timezone":"America/Mexico_City","flag":"https://cdn.palenca.com/flags/mx.svg"}},"CreateAccountBase":{"properties":{"encrypted_data":{"type":"string","title":"Encrypted Data"},"encrypted_symmetric_key":{"type":"string","title":"Encrypted Symmetric Key"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"identifier_type":{"$ref":"#/components/schemas/IdentifierTypes"},"password":{"type":"string","title":"Password"},"worker_id":{"type":"string","title":"Worker Id"},"phone_number":{"type":"string","title":"Phone Number"},"method":{"$ref":"#/components/schemas/LoginTypes"},"email":{"type":"string","title":"Email"},"bulk_id":{"type":"string","format":"uuid","title":"Bulk Id"},"gov_id":{"type":"string","title":"Gov Id"},"hcaptcha_response":{"type":"string","title":"Hcaptcha Response"}},"type":"object","title":"CreateAccountBase","example":{"country":"mx","platform":"uber","identifier":"user@example.com","identifier_type":"email","password":"s3cur3p4s5w0rd"}},"CreateAccountParams":{"properties":{"encrypted_data":{"type":"string","title":"Encrypted Data"},"encrypted_symmetric_key":{"type":"string","title":"Encrypted Symmetric Key"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"identifier_type":{"$ref":"#/components/schemas/IdentifierTypes"},"password":{"type":"string","title":"Password"},"worker_id":{"type":"string","title":"Worker Id"},"phone_number":{"type":"string","title":"Phone Number"},"method":{"$ref":"#/components/schemas/LoginTypes"},"email":{"type":"string","title":"Email"},"bulk_id":{"type":"string","format":"uuid","title":"Bulk Id"},"gov_id":{"type":"string","title":"Gov Id"},"hcaptcha_response":{"type":"string","title":"Hcaptcha Response"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"source":{"$ref":"#/components/schemas/SourceCode"}},"type":"object","title":"CreateAccountParams","example":{"country":"mx","platform":"uber","identifier":"user@example.com","identifier_type":"email","password":"s3cur3p4s5w0rd"}},"CreateCompanyWithWidgetsParams":{"properties":{"company":{"$ref":"#/components/schemas/app__api__schemas__admin__CreateCompanyParams"},"widget":{"$ref":"#/components/schemas/app__api__schemas__admin__CreateWidgetParams"}},"type":"object","required":["company","widget"],"title":"CreateCompanyWithWidgetsParams"},"CreateEarningParam":{"properties":{"amount":{"type":"number","title":"Amount"},"currency":{"$ref":"#/components/schemas/CurrencyCode"},"earning_date":{"type":"string","format":"date-time","title":"Earning Date"},"cash_amount":{"type":"number","title":"Cash Amount"},"count_trips":{"type":"integer","title":"Count Trips"}},"type":"object","required":["amount","currency","earning_date"],"title":"CreateEarningParam"},"CreateEarningsParams":{"properties":{"earnings":{"items":{"$ref":"#/components/schemas/CreateEarningParam"},"type":"array","title":"Earnings"},"is_manual":{"type":"boolean","title":"Is Manual","default":false}},"type":"object","required":["earnings"],"title":"CreateEarningsParams"},"CreateEmploymentEventsParams":{"properties":{"employment_events":{"items":{"$ref":"#/components/schemas/EmploymentEventInput"},"type":"array","title":"Employment Events"}},"type":"object","title":"CreateEmploymentEventsParams"},"CreateEmploymentFileParams":{"properties":{"url":{"type":"string","title":"Url"},"file_type":{"$ref":"#/components/schemas/EmploymentFilesType"},"employment_info_id":{"type":"string","format":"uuid","title":"Employment Info Id"},"account_id":{"type":"string","format":"uuid","title":"Account Id"}},"type":"object","title":"CreateEmploymentFileParams"},"CreateEmploymentHistoryParams":{"properties":{"account_id":{"type":"string","title":"Account Id"},"jobs":{"items":{"$ref":"#/components/schemas/Job"},"type":"array","title":"Jobs"},"quoted_weeks":{"type":"integer","title":"Quoted Weeks"},"discounted_weeks":{"type":"integer","title":"Discounted Weeks"},"reintegrated_weeks":{"type":"integer","title":"Reintegrated Weeks"},"account_warning":{"$ref":"#/components/schemas/AccountWarning"}},"type":"object","required":["account_id"],"title":"CreateEmploymentHistoryParams"},"CreatePlatformParams":{"properties":{"code":{"$ref":"#/components/schemas/PlatformCode"},"name":{"type":"string","title":"Name"},"logo":{"type":"string","title":"Logo"},"is_active":{"type":"boolean","title":"Is Active"},"category":{"$ref":"#/components/schemas/PlatformCategory"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array"}},"type":"object","required":["code","name","logo","is_active","category","countries"],"title":"CreatePlatformParams"},"CreateProfileParams":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"phone":{"type":"string","title":"Phone"},"email":{"type":"string","title":"Email"},"address":{"type":"string","title":"Address"},"city_name":{"type":"string","title":"City Name"},"birthday":{"type":"string","format":"date","title":"Birthday"},"picture_url":{"type":"string","title":"Picture Url"},"is_manual":{"type":"boolean","title":"Is Manual","default":false}},"type":"object","required":["first_name","last_name"],"title":"CreateProfileParams","example":{"first_name":"Ongtuan","last_name":"Engullen"}},"CreateUberApiParams":{"properties":{"user_id":{"type":"string","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"gov_id":{"type":"string","title":"Gov Id"},"redirect_url":{"type":"string","title":"Redirect Url"}},"type":"object","title":"CreateUberApiParams","example":{"user_id":"2b0956a2-58e7-4e97-804d-2852d40f05d7","country":"mx","platform":"uber"}},"CreateUnifiedAccountParams":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"external_id":{"type":"string","title":"External Id"},"user_id":{"type":"string","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"anyOf":[{"$ref":"#/components/schemas/PlatformCode"},{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array"}],"title":"Platform"},"identifier":{"type":"string","title":"Identifier"},"bulk_id":{"type":"string","format":"uuid","title":"Bulk Id"},"source":{"allOf":[{"$ref":"#/components/schemas/SourceCode"}],"default":"api"},"gov_id":{"type":"string","title":"Gov Id"}},"type":"object","required":["country","platform","identifier"],"title":"CreateUnifiedAccountParams","example":{"widget_id":"2b0956a2-58e7-4e97-804d-2852d40f05d7","external_id":"1234567890"}},"CreateUserAndAccountInternalParams":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"external_id":{"type":"string","title":"External Id"},"user_id":{"type":"string","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"bulk_id":{"type":"string","format":"uuid","title":"Bulk Id"},"source":{"allOf":[{"$ref":"#/components/schemas/SourceCode"}],"default":"api"},"gov_id":{"type":"string","title":"Gov Id"},"company_id":{"type":"string","format":"uuid","title":"Company Id"}},"type":"object","required":["country","platform","identifier","company_id"],"title":"CreateUserAndAccountInternalParams","example":{"widget_id":"2b0956a2-58e7-4e97-804d-2852d40f05d7","external_id":"1234567890"}},"CreateUserAndAccountParams":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"external_id":{"type":"string","title":"External Id"},"user_id":{"type":"string","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"bulk_id":{"type":"string","format":"uuid","title":"Bulk Id"},"source":{"allOf":[{"$ref":"#/components/schemas/SourceCode"}],"default":"api"},"gov_id":{"type":"string","title":"Gov Id"}},"type":"object","required":["country","platform","identifier"],"title":"CreateUserAndAccountParams","example":{"widget_id":"2b0956a2-58e7-4e97-804d-2852d40f05d7","external_id":"1234567890"}},"CreateUserArgyleParams":{"properties":{"user_id":{"type":"string","title":"User Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"identifier":{"type":"string","title":"Identifier"},"gov_id":{"type":"string","title":"Gov Id"},"redirect_url":{"type":"string","title":"Redirect Url"}},"type":"object","title":"CreateUserArgyleParams","example":{"user_id":"2b0956a2-58e7-4e97-804d-2852d40f05d7","country":"mx","platform":"uber"}},"CreateUserParams":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"external_id":{"type":"string","title":"External Id"},"user_id":{"type":"string","title":"User Id"}},"type":"object","title":"CreateUserParams","example":{"widget_id":"2b0956a2-58e7-4e97-804d-2852d40f05d7","external_id":"1234567890"}},"CreateWebhookParams":{"properties":{"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"},"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"is_sandbox":{"type":"boolean","title":"Is Sandbox"},"sign_request":{"type":"boolean","title":"Sign Request","default":false},"events":{"items":{},"type":"array","title":"Events","default":["*"]}},"type":"object","required":["url","name","connect_flow_id","is_sandbox"],"title":"CreateWebhookParams","example":{"url":"https://domain.com/webhook","name":"My webhook","is_sandbox":true,"sign_request":false,"widget_id":"b679c2fb-a096-4c26-a902-245f9bce66d9","events":["*"]}},"CurrencyCode":{"enum":["mxn","usd","cop","clp","ars","pen","brl","crc","pab","bob","ves","dop","brr"],"title":"CurrencyCode","description":"An enumeration."},"DateRange":{"enum":["month","week"],"title":"DateRange","description":"An enumeration."},"DebugDataArgyleParams":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"identifier":{"type":"string","title":"Identifier"},"data_types":{"items":{"$ref":"#/components/schemas/DebugDataType"},"type":"array"}},"type":"object","required":["account_id","user_id"],"title":"DebugDataArgyleParams","example":{"account_id":"f1932f34-2658-4f3e-8069-0aeeb77dd14e","user_id":"db48d579-c10d-4ed6-b857-1b1b7f4502c0","data_types":["token","webhooks"]}},"DebugDataType":{"enum":["token","account","data","webhooks"],"title":"DebugDataType","description":"An enumeration."},"DeleteAccountsForCompanyParams":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"options":{"allOf":[{"$ref":"#/components/schemas/OptionsSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Company Id"}},"type":"object","required":["start_date","end_date","company_id"],"title":"DeleteAccountsForCompanyParams"},"EarningConsoleDataResponse":{"properties":{"date":{"type":"string","title":"Date"},"currency":{"$ref":"#/components/schemas/CurrencyCode"},"gross_pay":{"type":"number","title":"Gross Pay"},"taxes":{"type":"number","title":"Taxes"},"deductions":{"type":"number","title":"Deductions"},"net_pay":{"type":"number","title":"Net Pay"},"trips":{"type":"integer","title":"Trips"},"to_date":{"type":"string","format":"date-time","title":"To Date"},"from_date":{"type":"string","format":"date-time","title":"From Date"},"earnings":{"items":{"$ref":"#/components/schemas/EarningDetailConsoleResponse"},"type":"array","title":"Earnings"}},"type":"object","title":"EarningConsoleDataResponse"},"EarningDetailConsoleResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"amount":{"type":"number","title":"Amount"},"currency":{"$ref":"#/components/schemas/CurrencyCode"},"earning_date":{"type":"string","format":"date-time","title":"Earning Date"},"cash_amount":{"type":"number","title":"Cash Amount"},"count_trips":{"type":"integer","title":"Count Trips"},"employer":{"type":"string","title":"Employer"},"debt":{"type":"number","title":"Debt"},"metadata":{"type":"object","title":"Metadata"}},"type":"object","required":["account_id","amount","currency","earning_date"],"title":"EarningDetailConsoleResponse","currency":"mxn","cash_amount":10.0,"count_trips":2,"earning_date":"2022-05-02","amount":100.0},"EarningsAggregatedDetailItem":{"properties":{"platform":{"$ref":"#/components/schemas/PlatformCode"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"amount":{"type":"number","title":"Amount"},"count_trips":{"type":"integer","title":"Count Trips"}},"type":"object","required":["platform","account_id","amount"],"title":"EarningsAggregatedDetailItem"},"EarningsAggregatedEarningItem":{"properties":{"earning_date":{"type":"string","format":"date","title":"Earning Date"},"amount":{"type":"number","title":"Amount"},"currency":{"type":"string","title":"Currency"},"count_trips":{"type":"integer","title":"Count Trips"},"details":{"items":{"$ref":"#/components/schemas/EarningsAggregatedDetailItem"},"type":"array","title":"Details"},"currency_note":{"type":"string","title":"Currency Note"}},"type":"object","required":["earning_date","amount","currency"],"title":"EarningsAggregatedEarningItem"},"EarningsAggregatedOptions":{"properties":{"details":{"type":"boolean","title":"Details","default":false}},"type":"object","title":"EarningsAggregatedOptions"},"EarningsAggregatedParams":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"external_id":{"type":"string","title":"External Id"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"},"options":{"allOf":[{"$ref":"#/components/schemas/EarningsAggregatedOptions"}],"title":"Options","default":{"details":false}}},"type":"object","required":["start_date","end_date"],"title":"EarningsAggregatedParams"},"EarningsAggregatedPlatformItem":{"properties":{"platform":{"$ref":"#/components/schemas/PlatformCode"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"last_successful_connection":{"type":"string","format":"date","title":"Last Successful Connection"}},"type":"object","required":["platform","account_id"],"title":"EarningsAggregatedPlatformItem"},"EarningsAggregatedResponse":{"properties":{"platforms_count":{"type":"integer","title":"Platforms Count"},"platforms":{"items":{"$ref":"#/components/schemas/EarningsAggregatedPlatformItem"},"type":"array","title":"Platforms"},"earnings":{"items":{"$ref":"#/components/schemas/EarningsAggregatedEarningItem"},"type":"array","title":"Earnings"}},"type":"object","required":["platforms_count","platforms","earnings"],"title":"EarningsAggregatedResponse"},"EarningsBaseResponse":{"properties":{"amount":{"type":"number","title":"Amount"},"currency":{"$ref":"#/components/schemas/CurrencyCode"},"earning_date":{"type":"string","format":"date","title":"Earning Date"},"cash_amount":{"type":"number","title":"Cash Amount"},"count_trips":{"type":"integer","title":"Count Trips"}},"type":"object","title":"EarningsBaseResponse"},"EarningsDataBaseResponse":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"earnings":{"items":{"anyOf":[{"$ref":"#/components/schemas/EarningsBaseResponse"},{"$ref":"#/components/schemas/EarningsWithEmployerResponse"}]},"type":"array","title":"Earnings"}},"type":"object","required":["account_id"],"title":"EarningsDataBaseResponse"},"EarningsDataResponse":{"properties":{"earnings":{"items":{"$ref":"#/components/schemas/EarningConsoleDataResponse"},"type":"array","title":"Earnings"},"income_last_month":{"type":"number","title":"Income Last Month"},"income_last_three_months":{"type":"number","title":"Income Last Three Months"}},"type":"object","required":["earnings"],"title":"EarningsDataResponse"},"EarningsWithEmployerResponse":{"properties":{"amount":{"type":"number","title":"Amount"},"currency":{"$ref":"#/components/schemas/CurrencyCode"},"earning_date":{"type":"string","format":"date","title":"Earning Date"},"cash_amount":{"type":"number","title":"Cash Amount"},"count_trips":{"type":"integer","title":"Count Trips"},"employer":{"type":"string","title":"Employer"}},"type":"object","title":"EarningsWithEmployerResponse"},"EmploymentDataBaseResponse":{"properties":{"platform":{"$ref":"#/components/schemas/PlatformCode"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"external_id":{"type":"string","title":"External Id"},"employment_info":{"$ref":"#/components/schemas/EmploymentInfoBaseResponse"},"employment_history":{"items":{"$ref":"#/components/schemas/EmploymentHistoryBaseResponse"},"type":"array","title":"Employment History"}},"type":"object","required":["platform","account_id"],"title":"EmploymentDataBaseResponse"},"EmploymentDataParams":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"worker":{"$ref":"#/components/schemas/WorkerParams"},"id_info":{"$ref":"#/components/schemas/IdInfoParams"},"profile":{"$ref":"#/components/schemas/ProfileParams"}},"type":"object","title":"EmploymentDataParams"},"EmploymentEmailParams":{"properties":{"account_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}],"title":"Account Id"},"curp":{"type":"string","title":"Curp"},"nss":{"type":"string","title":"Nss"},"email":{"type":"string","title":"Email"},"attempts":{"type":"integer","title":"Attempts","default":0}},"type":"object","required":["account_id","curp","nss","email"],"title":"EmploymentEmailParams"},"EmploymentEventInput":{"properties":{"employer":{"type":"string","title":"Employer"},"event_type":{"type":"string","title":"Event Type"},"event_date":{"type":"string","title":"Event Date"},"base_salary":{"type":"number","title":"Base Salary"},"employer_registration":{"type":"string","title":"Employer Registration"}},"type":"object","required":["event_type","event_date","base_salary"],"title":"EmploymentEventInput"},"EmploymentFilesType":{"enum":["imss_employment_record","imss_rpci_pdf","buro_insights_employment_record","issste_employment_file","end_of_rights_pdf"],"title":"EmploymentFilesType","description":"An enumeration."},"EmploymentHistoryBaseResponse":{"properties":{"employer":{"type":"string","title":"Employer"},"employer_registration":{"type":"string","title":"Employer Registration"},"start_date":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date"},{"type":"string","format":"date-time"}],"title":"End Date"},"job_title":{"type":"string","title":"Job Title"},"job_title_code":{"type":"string","title":"Job Title Code"},"federal_entity":{"type":"string","title":"Federal Entity"}},"type":"object","title":"EmploymentHistoryBaseResponse"},"EmploymentHistoryStatus":{"enum":["empty","partial","complete"],"title":"EmploymentHistoryStatus","description":"An enumeration."},"EmploymentInfoBaseResponse":{"properties":{"id_type":{"$ref":"#/components/schemas/IdType"},"quoted_weeks":{"type":"integer","title":"Quoted Weeks"},"discounted_weeks":{"type":"integer","title":"Discounted Weeks"},"reintegrated_weeks":{"type":"integer","title":"Reintegrated Weeks"},"end_of_rights":{"type":"string","title":"End Of Rights"},"status":{"$ref":"#/components/schemas/EmploymentStatus"},"employment_files":{"items":{"$ref":"#/components/schemas/EmploymentsFilesBaseResponse"},"type":"array","title":"Employment Files"},"employment_history_status":{"$ref":"#/components/schemas/EmploymentHistoryStatus"}},"type":"object","title":"EmploymentInfoBaseResponse"},"EmploymentStatus":{"enum":["retired","employed","unemployed","unknown","potentially_retired","voluntary_contributions","banned","active"],"title":"EmploymentStatus","description":"An enumeration."},"EmploymentsFilesBaseResponse":{"properties":{"url":{"type":"string","title":"Url"},"file_type":{"$ref":"#/components/schemas/EmploymentFilesType"},"account_id":{"type":"string","format":"uuid","title":"Account Id"}},"type":"object","title":"EmploymentsFilesBaseResponse"},"ErrorDetailResponse":{"properties":{"message":{"type":"string","title":"Message"},"location":{"type":"string","title":"Location"}},"type":"object","title":"ErrorDetailResponse"},"ErrorResponse":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"errors":{"items":{"$ref":"#/components/schemas/ErrorDetailResponse"},"type":"array","title":"Errors"}},"type":"object","title":"ErrorResponse"},"EventType":{"enum":["delivery","ride","bonus","adjustment","debt"],"title":"EventType","description":"An enumeration."},"EventsBaseResponse":{"properties":{"event_id":{"type":"string","title":"Event Id"},"type":{"$ref":"#/components/schemas/EventType"},"timezone":{"type":"string","title":"Timezone"},"start_date":{"type":"string","format":"date-time","title":"Start Date"},"amount":{"type":"number","title":"Amount"},"currency":{"$ref":"#/components/schemas/CurrencyCode"},"duration_sec":{"type":"integer","title":"Duration Sec"},"distance_km":{"type":"number","title":"Distance Km"},"start_location":{"type":"string","title":"Start Location"},"end_location":{"type":"string","title":"End Location"},"payment_method":{"$ref":"#/components/schemas/PaymentMethod"},"cash_amount":{"type":"number","title":"Cash Amount"},"additional_timestamps":{"items":{"type":"object"},"type":"array","title":"Additional Timestamps"}},"type":"object","title":"EventsBaseResponse"},"EventsDataBaseResponse":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"events":{"items":{"$ref":"#/components/schemas/EventsBaseResponse"},"type":"array","title":"Events"}},"type":"object","required":["account_id"],"title":"EventsDataBaseResponse"},"Gender":{"enum":["male","female","other"],"title":"Gender","description":"An enumeration."},"GetDailyEarningsParams":{"properties":{"platform":{"$ref":"#/components/schemas/PlatformCode"}},"type":"object","required":["platform"],"title":"GetDailyEarningsParams"},"GetEarningsParams":{"properties":{"weeks":{"type":"integer","title":"Weeks"},"offset":{"type":"integer","title":"Offset"},"offset_days":{"type":"integer","title":"Offset Days"},"date_threshold":{"type":"string","title":"Date Threshold"},"offset_start":{"type":"integer","title":"Offset Start","default":0},"offset_stop":{"type":"integer","title":"Offset Stop","default":2},"trips_loop_round":{"type":"integer","title":"Trips Loop Round","default":10},"first_journey_id":{"type":"string","title":"First Journey Id"},"first_day_offset":{"type":"integer","title":"First Day Offset"},"last_day_offset":{"type":"integer","title":"Last Day Offset"},"days_to_fetch":{"type":"integer","title":"Days To Fetch"},"start_offset_days":{"type":"integer","title":"Start Offset Days"},"login_id":{"type":"string","format":"uuid","title":"Login Id"}},"type":"object","title":"GetEarningsParams"},"GroupAdminResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"client_id":{"type":"string","title":"Client Id"},"logo":{"type":"string","title":"Logo"},"status":{"$ref":"#/components/schemas/CompanyStatus"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"priority":{"$ref":"#/components/schemas/CompanyPriority"},"website":{"type":"string","title":"Website"},"public_api_key":{"type":"string","title":"Public Api Key"},"private_api_key":{"type":"string","title":"Private Api Key"},"public_encryption_key":{"type":"string","title":"Public Encryption Key"},"private_encryption_key":{"type":"string","title":"Private Encryption Key"},"require_encryption":{"type":"boolean","title":"Require Encryption","default":false},"owner":{"type":"string","title":"Owner"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"retries_enabled":{"type":"boolean","title":"Retries Enabled","default":false},"group_id":{"type":"string","format":"uuid","title":"Group Id"},"data_controller":{"type":"boolean","title":"Data Controller","default":true},"widget_advanced_customization":{"type":"boolean","title":"Widget Advanced Customization","default":false}},"type":"object","required":["display_name","company_name","priority","public_api_key","private_api_key"],"title":"GroupAdminResponse"},"GroupResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"admin":{"$ref":"#/components/schemas/GroupAdminResponse"},"companies":{"items":{"$ref":"#/components/schemas/Company"},"type":"array","title":"Companies","default":[]},"privacy_url":{"type":"string","title":"Privacy Url"}},"type":"object","required":["id","name","admin"],"title":"GroupResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IdInfoBaseResponse":{"properties":{"type":{"$ref":"#/components/schemas/IdType"},"name":{"type":"string","title":"Name"},"value":{"type":"string","title":"Value"}},"type":"object","title":"IdInfoBaseResponse"},"IdInfoParams":{"properties":{"type":{"$ref":"#/components/schemas/IdType"},"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["type","id","name"],"title":"IdInfoParams"},"IdType":{"enum":["tax","passport","national","social_security_number","individual_taxpayer_registry"],"title":"IdType","description":"An enumeration."},"IdentifierTypes":{"enum":["email","phone","rfc"],"title":"IdentifierTypes","description":"An enumeration."},"ImssWebScrapingParams":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"curp":{"type":"string","title":"Curp"},"nss":{"type":"string","title":"Nss"},"email":{"type":"string","title":"Email"}},"type":"object","title":"ImssWebScrapingParams"},"IndividualAccountInsightsParams":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"}},"type":"object","required":["account_id"],"title":"IndividualAccountInsightsParams"},"InsightsReport":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"success":{"type":"boolean","title":"Success","default":false},"warning":{"type":"string","title":"Warning"},"status":{"type":"string","title":"Status"},"last_base_salary":{"type":"number","title":"Last Base Salary"},"last_employment_duration":{"type":"integer","title":"Last Employment Duration"},"current_situation_duration":{"type":"integer","title":"Current Situation Duration"},"total_worked_weeks":{"type":"integer","title":"Total Worked Weeks"},"total_unique_employers":{"type":"integer","title":"Total Unique Employers"},"ratio_employers_per_year":{"type":"number","title":"Ratio Employers Per Year"},"total_weeks_unemployed":{"type":"integer","title":"Total Weeks Unemployed"},"max_unemployed_duration":{"type":"integer","title":"Max Unemployed Duration"},"current_employer_modifications":{"type":"integer","title":"Current Employer Modifications"},"median_progression":{"type":"number","title":"Median Progression"},"employer_change_modifications_positive_progression":{"type":"number","title":"Employer Change Modifications Positive Progression"},"employer_change_modifications_negative_progression":{"type":"number","title":"Employer Change Modifications Negative Progression"},"snapshots_1_year_ago":{"type":"number","title":"Snapshots 1 Year Ago"},"snapshots_3_years_ago":{"type":"number","title":"Snapshots 3 Years Ago"},"snapshots_5_years_ago":{"type":"number","title":"Snapshots 5 Years Ago"}},"type":"object","required":["account_id"],"title":"InsightsReport"},"InsightsStatus":{"enum":["computed_not_saved","incomplete","success","error"],"title":"InsightsStatus","description":"An enumeration."},"InsightsStatusDetails":{"enum":["empty_employment_events","empty_employment_history","login_not_success","timeout_request","lambda_error","pending"],"title":"InsightsStatusDetails","description":"An enumeration."},"Job":{"properties":{"employer":{"type":"string","title":"Employer"},"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"federal_entity":{"type":"string","title":"Federal Entity"},"base_salary":{"type":"number","title":"Base Salary"},"monthly_salary":{"type":"number","title":"Monthly Salary"},"employer_registration":{"type":"string","title":"Employer Registration"}},"type":"object","required":["employer","start_date","end_date","federal_entity","base_salary","monthly_salary"],"title":"Job"},"ListCompaniesDataResponse":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/ListCompanyDataResponse"},"type":"array","title":"Companies"}},"type":"object","required":["companies"],"title":"ListCompaniesDataResponse"},"ListCompaniesResponse":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/CompanyDataResponse"},"type":"array","title":"Companies"}},"type":"object","required":["companies"],"title":"ListCompaniesResponse"},"ListCompanyDataResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"widgets_ids":{"items":{"type":"string"},"type":"array","title":"Widgets Ids"},"company_name":{"type":"string","title":"Company Name"},"display_name":{"type":"string","title":"Display Name"},"private_api_key":{"type":"string","title":"Private Api Key"}},"type":"object","required":["id","widgets_ids","company_name","display_name","private_api_key"],"title":"ListCompanyDataResponse"},"ListGroupsResponse":{"properties":{"groups":{"items":{"$ref":"#/components/schemas/GroupResponse"},"type":"array","title":"Groups"}},"type":"object","required":["groups"],"title":"ListGroupsResponse"},"ListLoginBaseResponse":{"properties":{"logins":{"items":{"$ref":"#/components/schemas/LoginBaseResponse"},"type":"array","title":"Logins","default":[]}},"type":"object","title":"ListLoginBaseResponse"},"LoginBaseResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"bulk_id":{"type":"string","format":"uuid","title":"Bulk Id"},"status":{"$ref":"#/components/schemas/LoginStatus"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"source":{"$ref":"#/components/schemas/LoginSourceCode"},"status_details":{"$ref":"#/components/schemas/StatusDetails"},"authenticated_at":{"type":"string","format":"date-time","title":"Authenticated At"},"message":{"type":"string","title":"Message"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"recommendation":{"type":"string","title":"Recommendation"},"automatic_retry":{"type":"boolean","title":"Automatic Retry"},"has_insights":{"type":"boolean","title":"Has Insights"},"insights_status":{"$ref":"#/components/schemas/InsightsStatus"},"insights_status_details":{"$ref":"#/components/schemas/InsightsStatusDetails"},"account_id":{"type":"string","format":"uuid","title":"Account Id"}},"type":"object","title":"LoginBaseResponse"},"LoginConsoleDataResponse":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"widget_id":{"type":"string","format":"uuid","title":"Widget Id"},"source":{"$ref":"#/components/schemas/LoginSourceCode"},"status":{"$ref":"#/components/schemas/LoginStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","title":"LoginConsoleDataResponse"},"LoginSourceCode":{"enum":["widget","api","legacy","refresh","connect","bulk_upload","console","platform_retry","refresh_earnings","refresh_events","refresh_profile"],"title":"LoginSourceCode","description":"An enumeration."},"LoginStatus":{"enum":["created","success","retry","incomplete","error","pending","requires_auth","profile_unavailable","error_credentials","error_otp","pending_for_data","validation_pending","password_validation_pending"],"title":"LoginStatus","description":"An enumeration."},"LoginTypes":{"enum":["curp","otp","totp","pilot","email_otp","credentials","phone_voice_otp","phone_whatsapp_otp"],"title":"LoginTypes","description":"An enumeration."},"ManageManualLoginParams":{"properties":{"access_token":{"type":"string","title":"Access Token"},"worker_id":{"type":"string","title":"Worker Id"},"should_send_email":{"type":"boolean","title":"Should Send Email","default":true}},"type":"object","required":["access_token"],"title":"ManageManualLoginParams"},"OptionsSearchParams":{"properties":{"items_per_page":{"type":"integer","title":"Items Per Page","default":100},"page":{"type":"integer","title":"Page","default":1}},"type":"object","title":"OptionsSearchParams"},"PaginationBaseResponse":{"properties":{"page":{"type":"integer","title":"Page"},"items_per_page":{"type":"integer","title":"Items Per Page"},"total_items":{"type":"integer","title":"Total Items"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","title":"PaginationBaseResponse"},"PaginationSearchParams":{"properties":{"items_per_page":{"type":"integer","title":"Items Per Page","default":100},"page":{"type":"integer","title":"Page","default":1}},"type":"object","title":"PaginationSearchParams"},"PaymentMethod":{"enum":["cash","card","online_bank"],"title":"PaymentMethod","description":"An enumeration."},"PlatformBenchmarksParams":{"properties":{"platform":{"$ref":"#/components/schemas/PlatformCode"},"country":{"$ref":"#/components/schemas/CountryCode"}},"type":"object","required":["platform","country"],"title":"PlatformBenchmarksParams"},"PlatformCategory":{"enum":["gig","employment"],"title":"PlatformCategory","description":"An enumeration."},"PlatformCode":{"enum":["uber","didi","imss","rappi","osmos","pemex","picap","ifood","issste","cabify","workday","indriver","uber_eats","didi_food","pedidos_ya","noventa_nove","mensajeros_urbanos","rapiboy","nueve_nueve_minutos","carteira_trabalho","mercado_pago","nom_gob_cdmx","nom_salud_cdmx","nom_sep_cdmx","nom_sep_qro","nom_gob_hidalgo","nom_sep_durango","nom_ayto_cancun","nom_sep_qroo","nom_gob_qroo","nom_salud_qroo","nom_sep_campeche","nom_gob_oaxaca","nom_sep_oaxaca","nom_pensiones_jal","nom_gob_nl","nom_gob_tamps","nom_salud_tamps","nom_fiscalia_tamps","nom_gob_sonora","nom_sep_sonora","nom_salud_sonora","nom_sep_bcsur","nom_gob_edomex","nom_sep_edomex","nom_gob_tabasco","nom_salud_sonora2","nom_com_soc_qroo","nom_pemex","mc_price_shoes","mc_avon","mc_mary_kay","mc_betterware","nominativa","microempreendedor_individual","runa","grupo_tress","beat","clip","worky","cornershop"],"title":"PlatformCode","description":"An enumeration."},"PlatformDataResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"code":{"$ref":"#/components/schemas/PlatformCode"},"name":{"type":"string","title":"Name"},"logo":{"type":"string","title":"Logo"},"is_active":{"type":"boolean","title":"Is Active"},"category":{"$ref":"#/components/schemas/PlatformCategory"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array"},"status":{"$ref":"#/components/schemas/PlatformStatus"}},"type":"object","required":["id","code","name","logo","is_active","category","countries"],"title":"PlatformDataResponse","example":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","code":"uber","name":"Uber","logo":"https://palenca.com/logo.png","is_active":true,"category":"gig","status":"available"}},"PlatformStatus":{"enum":["up","down","degraded","maintenance","deprecated"],"title":"PlatformStatus","description":"An enumeration."},"ProcessBatchJobParams":{"properties":{"access_token":{"type":"string","title":"Access Token"},"offset":{"type":"integer","title":"Offset","default":50}},"type":"object","required":["access_token"],"title":"ProcessBatchJobParams"},"ProfileDataBaseResponse":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"external_id":{"type":"string","title":"External Id"},"profile":{"$ref":"#/components/schemas/ProfileResponse"},"ids_info":{"items":{"$ref":"#/components/schemas/IdInfoBaseResponse"},"type":"array","title":"Ids Info"}},"type":"object","required":["account_id"],"title":"ProfileDataBaseResponse"},"ProfileParams":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"account_id":{"type":"string","format":"uuid","title":"Account Id"},"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"phone":{"type":"string","title":"Phone"},"email":{"type":"string","title":"Email"},"address":{"type":"string","title":"Address"},"city_name":{"type":"string","title":"City Name"},"birthday":{"type":"string","format":"date","title":"Birthday"},"civil_status":{"$ref":"#/components/schemas/CivilStatus"},"gender":{"$ref":"#/components/schemas/Gender"},"worker_role":{"$ref":"#/components/schemas/WorkerRole"},"picture_url":{"type":"string","title":"Picture Url"}},"type":"object","required":["account_id","first_name","last_name"],"title":"ProfileParams"},"ProfileResponse":{"properties":{"first_name":{"type":"string","title":"First Name"},"last_name":{"type":"string","title":"Last Name"},"email":{"type":"string","title":"Email"},"birthday":{"type":"string","format":"date","title":"Birthday"}},"type":"object","title":"ProfileResponse"},"RawEventsDataBaseResponse":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"raw_events":{"items":{"type":"object"},"type":"array","title":"Raw Events","default":[]}},"type":"object","required":["account_id"],"title":"RawEventsDataBaseResponse"},"ReadEmploymentFileParams":{"properties":{"employment_history":{"$ref":"#/components/schemas/CreateEmploymentHistoryParams"},"employment_events":{"$ref":"#/components/schemas/CreateEmploymentEventsParams"}},"type":"object","required":["employment_history","employment_events"],"title":"ReadEmploymentFileParams"},"ReassignAccountUserRequest":{"properties":{"smart":{"type":"boolean","title":"Smart"},"external_id":{"type":"string","title":"External Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"}},"type":"object","title":"ReassignAccountUserRequest"},"ReassignAccountUserResponse":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"new_user_id":{"type":"string","format":"uuid","title":"New User Id"},"old_user_id":{"type":"string","format":"uuid","title":"Old User Id"},"old_user_deleted":{"type":"boolean","title":"Old User Deleted"}},"type":"object","required":["account_id","new_user_id","old_user_id","old_user_deleted"],"title":"ReassignAccountUserResponse"},"RefreshAccountsParams":{"properties":{"platform":{"$ref":"#/components/schemas/PlatformCode"},"items":{"items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"string"}]},"type":"array","title":"Items"}},"type":"object","required":["platform","items"],"title":"RefreshAccountsParams"},"RefreshArgyleTokenParams":{"properties":{"argyle_user_id":{"type":"string","title":"Argyle User Id"}},"type":"object","required":["argyle_user_id"],"title":"RefreshArgyleTokenParams","example":{"argyle_user_id":"018e1234-5678-9abc-def0-123456789abc"}},"RefreshEarningsParams":{"properties":{"offset":{"type":"integer","title":"Offset","default":0},"end_days_offset":{"type":"integer","title":"End Days Offset","default":10}},"type":"object","title":"RefreshEarningsParams"},"ReprocessEventsRequest":{"properties":{"year":{"type":"integer","maximum":2030.0,"minimum":2020.0,"title":"Year","description":"Year (e.g., 2024)"},"month":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Month","description":"Month (1-12)"}},"type":"object","required":["year","month"],"title":"ReprocessEventsRequest"},"ReprocessEventsResponse":{"properties":{"total_accounts":{"type":"integer","title":"Total Accounts"},"processed":{"type":"integer","title":"Processed"},"errors":{"type":"integer","title":"Errors"},"error_details":{"items":{"type":"object"},"type":"array","title":"Error Details","default":[]}},"type":"object","required":["total_accounts","processed","errors"],"title":"ReprocessEventsResponse"},"ResendOtpParams":{"properties":{"phone_number":{"type":"string","title":"Phone Number"}},"type":"object","required":["phone_number"],"title":"ResendOtpParams","example":{"phone_number":"5511999998888"}},"RetryLoginOptions":{"properties":{"force_retry":{"type":"boolean","title":"Force Retry","default":false}},"type":"object","title":"RetryLoginOptions"},"SearchCompaniesParams":{"properties":{"statuses":{"items":{"$ref":"#/components/schemas/CompanyStatus"},"type":"array"},"q":{"type":"string","title":"Q"},"options":{"allOf":[{"$ref":"#/components/schemas/PaginationSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","title":"SearchCompaniesParams"},"SearchConsentsParams":{"properties":{"options":{"allOf":[{"$ref":"#/components/schemas/OptionsSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","title":"SearchConsentsParams"},"SearchEarningsParams":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"options":{"allOf":[{"$ref":"#/components/schemas/OptionsSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","required":["start_date","end_date"],"title":"SearchEarningsParams"},"SearchEventsParams":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"options":{"allOf":[{"$ref":"#/components/schemas/OptionsSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","required":["start_date","end_date"],"title":"SearchEventsParams"},"SearchLoginsParams":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"options":{"allOf":[{"$ref":"#/components/schemas/PaginationSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","required":["start_date","end_date"],"title":"SearchLoginsParams"},"SearchPlatformsParams":{"properties":{"q":{"type":"string","title":"Q"},"options":{"allOf":[{"$ref":"#/components/schemas/PaginationSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","title":"SearchPlatformsParams"},"SearchRawEventsParams":{"properties":{"options":{"allOf":[{"$ref":"#/components/schemas/OptionsSearchParams"}],"title":"Options","default":{"items_per_page":5,"page":1}}},"type":"object","title":"SearchRawEventsParams"},"SearchUsageParams":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"options":{"allOf":[{"$ref":"#/components/schemas/OptionsSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}},"company_id":{"type":"string","format":"uuid","title":"Company Id"}},"type":"object","required":["start_date","end_date"],"title":"SearchUsageParams"},"SearchUsersParams":{"properties":{"start_date":{"type":"string","title":"Start Date"},"end_date":{"type":"string","title":"End Date"},"external_id":{"type":"string","title":"External Id"},"options":{"allOf":[{"$ref":"#/components/schemas/PaginationSearchParams"}],"title":"Options","default":{"items_per_page":100,"page":1}}},"type":"object","required":["start_date","end_date"],"title":"SearchUsersParams"},"SendWebhookTimeoutParams":{"properties":{"account_id":{"type":"string","format":"uuid","title":"Account Id"},"webhook_id":{"type":"string","format":"uuid","title":"Webhook Id"}},"type":"object","required":["account_id","webhook_id"],"title":"SendWebhookTimeoutParams"},"SourceCode":{"enum":["widget","api","legacy","bulk_upload","console"],"title":"SourceCode","description":"An enumeration."},"StatusDetails":{"enum":["bad_request","banned","invalid_credentials","too_many_requests","service_unavailable","request_timeout","access_forbidden","platform_error","invalid_otp","expired_otp","invalid_nss","invalid_phone","invalid_email","lambda_error","phone_or_code_missing","password_missing","not_registered","login_refused","unknown","invalid_otp_session","invalid_otp_auth_key","needs_auth","requires_auth","curp_not_found","could_not_send_otp","profile_unavailable","no_employment_records","account_setup_incomplete","identity_verification_failed","gov_id_not_in_data_source","gov_id_has_inconsistencies","mfa_deactivation_required","access_token_not_generated","two_factor_auth_required","captcha_bypass_error","invalid_identifier","account_blocked","proxy_error","invalid_captcha","invalid_gov_id","device_authorization_required","max_retries_exceeded","task_create_fail","invalid_cpf","invalid_in_auth_session_id","unable_to_get_uber_metrics","email_otp_validation_pending","login_not_available","invalid_password","unknown_login_type","email_not_validated","already_connected","missing_social_security_number","social_security_number_mismatch","zero_quoted_weeks","proxy_max_retries_exceeded","curp_not_found_in_renapo","nss_not_found_in_imss","renapo_unavailable","service_degradation","server_error","db_constraint_violation","api_forbidden","auth_token_expired","network_max_retries_exceeded","api_service_unavailable_02","api_service_unavailable_08","lambda_timeout","api_service_unavailable","auth_max_attempts_exceeded","browser_navigation_timeout","render_invalid_html","browser_connection_timeout","parser_invalid_pdf","aws_s3_upload_fail","network_connectivity_issues","auth_invalid_token","server_not_found","api_server_error","network_ssl_error","auth_forbidden","api_bad_gateway","api_server_timeout","system_platform_error","api_rate_limit_exceeded","api_renapo_unavailable","user_gov_id_has_inconsistencies","user_ssn_missing","user_curp_not_found_in_renapo","rpci_timeout","pending_data_extraction","employment_info_in_imss","pending_for_data","validation_pending","password_validation_pending","validation_time_expired","curp_has_inconsistencies","curp_not_in_platform","platform_unavailable","failed_refresh","invalid_schema_response","not_available_in_platform","user_curp_not_in_platform","user_gov_id_not_in_data_source","account_not_found","profile_not_found","unable_to_get_rappi_metrics","captcha_required","captcha_detected","didi_rate_limited","device_risk","cell_rate_limited","resend_limit","didi_rejected","incomplete_profile"],"title":"StatusDetails","description":"An enumeration."},"StatusHistoryEntry":{"properties":{"platform_code":{"type":"string","title":"Platform Code"},"status":{"type":"string","title":"Status"}},"type":"object","required":["platform_code","status"],"title":"StatusHistoryEntry"},"StatusResponse":{"properties":{"status_details":{"type":"string","title":"Status Details"},"status":{"type":"string","title":"Status"},"code":{"type":"string","title":"Code"},"message":{"$ref":"#/components/schemas/TranslationsResponse"},"recommendation":{"$ref":"#/components/schemas/TranslationsResponse"}},"type":"object","required":["message","recommendation"],"title":"StatusResponse"},"StoreUserConsentParams":{"properties":{"company_id":{"type":"string","format":"uuid","title":"Company Id"},"widget_id":{"type":"string","format":"uuid","title":"Widget Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"external_id":{"type":"string","title":"External Id"},"gov_id":{"type":"string","title":"Gov Id"},"account_id":{"type":"string","title":"Account Id"},"ip_address":{"type":"string","title":"Ip Address"},"timestamp":{"type":"string","title":"Timestamp","default":"2026-07-19T00:04:52.330355+00:00"},"consent_method":{"$ref":"#/components/schemas/WidgetConsentMethod"},"consent_version":{"type":"string","title":"Consent Version"},"consent_language":{"$ref":"#/components/schemas/AcceptedLanguage"},"country":{"type":"string","title":"Country"},"platform":{"$ref":"#/components/schemas/PlatformCode"},"company_name":{"type":"string","title":"Company Name"},"browser":{"type":"string","title":"Browser"},"device":{"type":"string","title":"Device"}},"type":"object","required":["company_id","widget_id","user_id"],"title":"StoreUserConsentParams"},"TranslationsResponse":{"properties":{"en":{"type":"string","title":"En"},"es":{"type":"string","title":"Es"},"pt":{"type":"string","title":"Pt"}},"type":"object","title":"TranslationsResponse"},"UpdateAccountWorkerParams":{"properties":{"worker_id":{"type":"string","title":"Worker Id"}},"type":"object","title":"UpdateAccountWorkerParams"},"UpdateCountryParams":{"properties":{"is_active":{"type":"boolean","title":"Is Active","default":true}},"type":"object","title":"UpdateCountryParams"},"UpdateCutoffsAndBalancesParams":{"properties":{"country":{"type":"string","title":"Country"}},"type":"object","required":["country"],"title":"UpdateCutoffsAndBalancesParams"},"UpdateGroupParams":{"properties":{"name":{"type":"string","title":"Name"},"admin_id":{"type":"string","format":"uuid","title":"Admin Id"},"companies":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Companies"},"privacy_url":{"type":"string","title":"Privacy Url"}},"type":"object","required":["name","admin_id","companies"],"title":"UpdateGroupParams"},"UpdateLoginParams":{"properties":{"status":{"$ref":"#/components/schemas/LoginStatus"},"status_details":{"$ref":"#/components/schemas/StatusDetails"},"insights_status":{"$ref":"#/components/schemas/InsightsStatus"},"insights_status_details":{"$ref":"#/components/schemas/InsightsStatusDetails"},"should_notify_webhook":{"type":"boolean","title":"Should Notify Webhook","default":false},"login_id":{"type":"string","format":"uuid","title":"Login Id"}},"type":"object","title":"UpdateLoginParams"},"UpdatePlatformParams":{"properties":{"name":{"type":"string","title":"Name"},"logo":{"type":"string","title":"Logo"},"is_active":{"type":"boolean","title":"Is Active"},"category":{"$ref":"#/components/schemas/PlatformCategory"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array"},"status":{"$ref":"#/components/schemas/PlatformStatus"}},"type":"object","title":"UpdatePlatformParams"},"UpdateWebhookParams":{"properties":{"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"},"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"is_sandbox":{"type":"boolean","title":"Is Sandbox"},"sign_request":{"type":"boolean","title":"Sign Request"},"is_active":{"type":"boolean","title":"Is Active"},"events":{"items":{},"type":"array","title":"Events","default":["*"]}},"type":"object","title":"UpdateWebhookParams","example":{"url":"https://domain.com/webhook","name":"My webhook","is_sandbox":true,"is_active":true,"sign_request":false,"widget_id":"b679c2fb-a096-4c26-a902-245f9bce66d9"}},"UserDataResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"external_id":{"type":"string","title":"External Id"}},"type":"object","required":["user_id"],"title":"UserDataResponse"},"UserRetrievalDataResponse":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"external_id":{"type":"string","title":"External Id"},"widget_id":{"type":"string","format":"uuid","title":"Widget Id"}},"type":"object","required":["user_id","widget_id"],"title":"UserRetrievalDataResponse"},"UserRetrievalListDataResponse":{"properties":{"users":{"items":{"$ref":"#/components/schemas/UserRetrievalDataResponse"},"type":"array","title":"Users"}},"type":"object","title":"UserRetrievalListDataResponse"},"ValidateAccountParams":{"properties":{"encrypted_data":{"type":"string","title":"Encrypted Data"},"encrypted_symmetric_key":{"type":"string","title":"Encrypted Symmetric Key"},"otp_code":{"type":"string","title":"Otp Code"},"alternative_method":{"$ref":"#/components/schemas/LoginTypes"},"username":{"type":"string","title":"Username"},"password":{"type":"string","title":"Password"},"cookies":{"items":{"$ref":"#/components/schemas/Cookie"},"type":"array","title":"Cookies","default":[]}},"type":"object","title":"ValidateAccountParams","example":{"otp_code":"12345"}},"ValidateCPFParams":{"properties":{"cpf":{"type":"string","title":"Cpf"}},"type":"object","required":["cpf"],"title":"ValidateCPFParams"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookActions":{"enum":["user.created","user.deleted","account.created","account.connected","account.requires_auth","account.needs_auth","profile.updated","employment.created","employment.updated","earnings.updated","events.updated","clean_save.finished","login.created","login.success","login.error","login.incomplete","login.retry","login.failed_refresh"],"title":"WebhookActions","description":"An enumeration."},"WebhookConsoleResponse":{"$id":"9334389a-c93c-4183-9894-ea8eb72f82e8","properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"},"events":{"items":{},"type":"array","title":"Events"},"widget_id":{"type":"string","format":"uuid","title":"Widget Id"},"is_sandbox":{"type":"boolean","title":"Is Sandbox"},"sign_request":{"type":"boolean","title":"Sign Request"},"private_key":{"type":"string","title":"Private Key"},"is_active":{"type":"boolean","title":"Is Active","default":true},"auth_required":{"type":"boolean","title":"Auth Required","default":false},"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"}},"type":"object","required":["company_id","url","name","events","is_sandbox","sign_request"],"title":"WebhookConsoleResponse","private_key":"68d5110194d1f0c5fd062893d5e2e374","url":"https://webhook.palenca.com","is_sandbox":false,"is_active":true,"updated_at":"2022-05-02T03:36:02.436Z","company_id":"fcee4e50-c32a-4cc7-bc88-4d885ce47242","created_at":"2022-05-02T03:36:02.436Z","events":["*"],"sign_request":false},"WebhookDataResponse":{"properties":{"connect_flow_id":{"type":"string","format":"uuid","title":"Connect Flow Id"},"webhook_id":{"type":"string","format":"uuid","title":"Webhook Id"},"url":{"type":"string","title":"Url"},"name":{"type":"string","title":"Name"},"widget_id":{"type":"string","format":"uuid","title":"Widget Id"},"is_sandbox":{"type":"boolean","title":"Is Sandbox"},"is_active":{"type":"boolean","title":"Is Active","default":true},"sign_request":{"type":"boolean","title":"Sign Request"},"private_key":{"type":"string","title":"Private Key"}},"type":"object","required":["webhook_id","url","name","is_sandbox"],"title":"WebhookDataResponse"},"WebhookDetailsConsoleResponse":{"properties":{"webhook":{"$ref":"#/components/schemas/WebhookConsoleResponse"},"logs":{"items":{"$ref":"#/components/schemas/WebhookLogConsoleResponse"},"type":"array","title":"Logs"}},"type":"object","required":["webhook","logs"],"title":"WebhookDetailsConsoleResponse"},"WebhookLogConsoleResponse":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"action":{"type":"string","title":"Action"},"status":{"type":"integer","title":"Status"},"request_body":{"type":"object","title":"Request Body"},"response_body":{"type":"object","title":"Response Body"},"entity":{"type":"string","title":"Entity"},"entity_id":{"type":"string","title":"Entity Id"},"environment":{"type":"string","title":"Environment"},"webhook_id":{"type":"string","title":"Webhook Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","title":"WebhookLogConsoleResponse","webhook":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","company_id":"fcee4e50-c32a-4cc7-bc88-4d885ce47242","url":"https://webhook.palenca.com","is_sandbox":false,"events":["*"],"created_at":"2022-05-02T03:36:02.436Z","updated_at":"2022-05-02T03:36:02.436Z"},"logs":[{"created_at":"2023-03-31T20:32:12.295904+00:00","updated_at":"2023-03-31T20:32:12.295927+00:00","id":"8c069c49-efdf-4230-aa43-2d40f269497f","url":"https://webhook.site/96bc26e2-bf38-4cd1-8432-4e5a13fe5d60","name":"testing webhook","events":["*"],"widget_id":"15574004-c4d6-4e59-bcba-f335993b1400","is_sandbox":true}]},"WebhookLogStatus":{"enum":["success","failed"],"title":"WebhookLogStatus","description":"An enumeration."},"WebhooksDataResponse":{"properties":{"webhooks":{"items":{"$ref":"#/components/schemas/WebhookDataResponse"},"type":"array","title":"Webhooks"}},"type":"object","required":["webhooks"],"title":"WebhooksDataResponse"},"WidgetConsentMethod":{"enum":["tap_accept_button","tap_continue_button","tap_accept_checkbox"],"title":"WidgetConsentMethod","description":"An enumeration."},"WidgetConsoleResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platforms":{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array","default":[]},"is_sandbox":{"type":"boolean","title":"Is Sandbox","default":false},"hide_logo":{"type":"boolean","title":"Hide Logo","default":false},"hide_whatsapp":{"type":"boolean","title":"Hide Whatsapp","default":false},"hide_consent":{"type":"boolean","title":"Hide Consent","default":false},"hide_privacy_url":{"type":"boolean","title":"Hide Privacy Url","default":true},"hide_redirect_url":{"type":"boolean","title":"Hide Redirect Url","default":true},"hide_label":{"type":"boolean","title":"Hide Label","default":false},"require_gov_id":{"type":"boolean","title":"Require Gov Id","default":false},"persist_session":{"type":"boolean","title":"Persist Session","default":false},"font_family":{"type":"string","title":"Font Family"},"primary_color":{"type":"string","title":"Primary Color"},"background_color":{"type":"string","title":"Background Color"},"text_field_style":{"type":"string","title":"Text Field Style"},"border_radius":{"type":"string","title":"Border Radius"},"custom_privacy_url":{"type":"string","title":"Custom Privacy Url"},"redirect_url":{"type":"string","title":"Redirect Url"},"whatsapp_number":{"type":"string","title":"Whatsapp Number"},"webhook_url":{"type":"string","title":"Webhook Url"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","default":[]},"widget_type":{"$ref":"#/components/schemas/WidgetType"},"widget_internal_type":{"$ref":"#/components/schemas/WidgetInternalType"},"settings":{"type":"object","title":"Settings","default":{}}},"type":"object","required":["company_id"],"title":"WidgetConsoleResponse","example":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","company_id":"fcee4e50-c32a-4cc7-bc88-4d885ce47242","country":"mx","platform":["uber"],"is_sandbox":false,"hide_logo":false,"hide_whatsapp":false,"hide_consent":false,"hide_privacy_url":false,"hide_redirect_url":false,"require_gov_id":false,"persist_session":false,"font_family":"Nunito","primary_color":"#ea4c89","border_radius":"0px","custom_privacy_url":"https://palenca.com/privacy","redirect_url":"https://companydomain.com/","whatsapp_number":"+525539043015","webhook_url":"https://webhooks.palenca.com/example","created_at":"2022-05-02T03:36:02.436Z","updated_at":"2022-05-02T03:36:02.436Z","widget_type":"income_verification","settings":{}}},"WidgetDataResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"country":{"$ref":"#/components/schemas/CountryCode"},"platforms":{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array","default":[]},"is_sandbox":{"type":"boolean","title":"Is Sandbox","default":false},"hide_logo":{"type":"boolean","title":"Hide Logo","default":false},"hide_whatsapp":{"type":"boolean","title":"Hide Whatsapp","default":false},"hide_consent":{"type":"boolean","title":"Hide Consent","default":false},"hide_privacy_url":{"type":"boolean","title":"Hide Privacy Url","default":true},"hide_redirect_url":{"type":"boolean","title":"Hide Redirect Url","default":true},"hide_label":{"type":"boolean","title":"Hide Label","default":false},"require_gov_id":{"type":"boolean","title":"Require Gov Id","default":false},"persist_session":{"type":"boolean","title":"Persist Session","default":false},"font_family":{"type":"string","title":"Font Family"},"primary_color":{"type":"string","title":"Primary Color"},"background_color":{"type":"string","title":"Background Color"},"text_field_style":{"type":"string","title":"Text Field Style"},"border_radius":{"type":"string","title":"Border Radius"},"custom_privacy_url":{"type":"string","title":"Custom Privacy Url"},"redirect_url":{"type":"string","title":"Redirect Url"},"whatsapp_number":{"type":"string","title":"Whatsapp Number"},"webhook_url":{"type":"string","title":"Webhook Url"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","default":[]},"widget_type":{"$ref":"#/components/schemas/WidgetType"},"widget_internal_type":{"$ref":"#/components/schemas/WidgetInternalType"},"settings":{"type":"object","title":"Settings","default":{}}},"type":"object","required":["company_id"],"title":"WidgetDataResponse","example":{"id":"9334389a-c93c-4183-9894-ea8eb72f82e8","company_id":"fcee4e50-c32a-4cc7-bc88-4d885ce47242","country":"mx","platform":["uber"],"is_sandbox":false,"hide_logo":false,"hide_whatsapp":false,"hide_consent":false,"hide_privacy_url":false,"hide_redirect_url":false,"require_gov_id":false,"persist_session":false,"font_family":"Nunito","primary_color":"#ea4c89","border_radius":"0px","custom_privacy_url":"https://palenca.com/privacy","redirect_url":"https://mycustomredirection.com/privacy","whatsapp_number":"+525539043015","webhook_url":"https://webhooks.palenca.com/example","settings":{}}},"WidgetInternalType":{"enum":["default_api_calls"],"title":"WidgetInternalType","description":"An enumeration."},"WidgetSetupDataResponse":{"properties":{"company":{"$ref":"#/components/schemas/CompanyDataResponse"},"widget":{"$ref":"#/components/schemas/WidgetDataResponse"},"platforms":{"items":{"$ref":"#/components/schemas/PlatformDataResponse"},"type":"array","title":"Platforms"},"countries":{"items":{"$ref":"#/components/schemas/CountryDataResponse"},"type":"array","title":"Countries"},"group":{"$ref":"#/components/schemas/GroupResponse"}},"type":"object","required":["company","widget","platforms","countries"],"title":"WidgetSetupDataResponse"},"WidgetType":{"enum":["income_verification"],"title":"WidgetType","description":"An enumeration."},"WidgetsConsoleResponse":{"properties":{"widgets":{"items":{"$ref":"#/components/schemas/WidgetConsoleResponse"},"type":"array","title":"Widgets"}},"type":"object","required":["widgets"],"title":"WidgetsConsoleResponse"},"WorkerParams":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"WorkerParams"},"WorkerRole":{"enum":["driver","courier","both"],"title":"WorkerRole","description":"An enumeration."},"app__api__schemas__admin__CreateCompanyParams":{"properties":{"logo":{"type":"string","title":"Logo"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"website":{"type":"string","title":"Website"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"priority":{"allOf":[{"$ref":"#/components/schemas/CompanyPriority"}],"default":"low"},"owner":{"type":"string","title":"Owner"},"status":{"$ref":"#/components/schemas/CompanyStatus"},"data_controller":{"type":"boolean","title":"Data Controller","default":true}},"type":"object","required":["logo","display_name","company_name"],"title":"CreateCompanyParams"},"app__api__schemas__admin__CreateWidgetParams":{"properties":{"name":{"type":"string","title":"Name"},"platforms":{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array"},"is_sandbox":{"type":"boolean","title":"Is Sandbox","default":false},"hide_logo":{"type":"boolean","title":"Hide Logo","default":false},"hide_whatsapp":{"type":"boolean","title":"Hide Whatsapp","default":false},"hide_consent":{"type":"boolean","title":"Hide Consent","default":false},"hide_privacy_url":{"type":"boolean","title":"Hide Privacy Url","default":true},"hide_redirect_url":{"type":"boolean","title":"Hide Redirect Url","default":true},"hide_label":{"type":"boolean","title":"Hide Label","default":false},"require_gov_id":{"type":"boolean","title":"Require Gov Id","default":false},"persist_session":{"type":"boolean","title":"Persist Session","default":false},"font_family":{"type":"string","title":"Font Family"},"primary_color":{"type":"string","title":"Primary Color"},"background_color":{"type":"string","title":"Background Color"},"text_field_style":{"type":"string","title":"Text Field Style"},"border_radius":{"type":"string","title":"Border Radius"},"redirect_url":{"type":"string","title":"Redirect Url"},"custom_privacy_url":{"type":"string","title":"Custom Privacy Url"},"whatsapp_number":{"type":"string","title":"Whatsapp Number"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","default":[]},"widget_type":{"allOf":[{"$ref":"#/components/schemas/WidgetType"}],"default":"income_verification"},"settings":{"type":"object","title":"Settings","default":{}}},"type":"object","title":"CreateWidgetParams"},"app__api__schemas__admin__UpdateCompanyParams":{"properties":{"logo":{"type":"string","title":"Logo"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"website":{"type":"string","title":"Website"},"priority":{"allOf":[{"$ref":"#/components/schemas/CompanyPriority"}],"default":"low"},"user":{"type":"string","title":"User"},"status":{"$ref":"#/components/schemas/CompanyStatus"},"owner":{"type":"string","title":"Owner"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"data_controller":{"type":"boolean","title":"Data Controller","default":true},"widget_advanced_customization":{"type":"boolean","title":"Widget Advanced Customization","default":false}},"type":"object","title":"UpdateCompanyParams"},"app__api__schemas__admin__UpdateWidgetParams":{"properties":{"name":{"type":"string","title":"Name"},"webhook_id":{"type":"string","format":"uuid","title":"Webhook Id"},"platforms":{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array"},"is_sandbox":{"type":"boolean","title":"Is Sandbox"},"hide_logo":{"type":"boolean","title":"Hide Logo"},"hide_whatsapp":{"type":"boolean","title":"Hide Whatsapp"},"hide_consent":{"type":"boolean","title":"Hide Consent"},"hide_privacy_url":{"type":"boolean","title":"Hide Privacy Url"},"hide_redirect_url":{"type":"boolean","title":"Hide Redirect Url"},"hide_label":{"type":"boolean","title":"Hide Label"},"require_gov_id":{"type":"boolean","title":"Require Gov Id"},"persist_session":{"type":"boolean","title":"Persist Session"},"font_family":{"type":"string","title":"Font Family"},"primary_color":{"type":"string","title":"Primary Color"},"background_color":{"type":"string","title":"Background Color"},"text_field_style":{"type":"string","title":"Text Field Style"},"border_radius":{"type":"string","title":"Border Radius"},"custom_privacy_url":{"type":"string","title":"Custom Privacy Url"},"redirect_url":{"type":"string","title":"Redirect Url"},"whatsapp_number":{"type":"string","title":"Whatsapp Number"},"webhook_url":{"type":"string","title":"Webhook Url"},"widget_type":{"$ref":"#/components/schemas/WidgetType"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array"},"settings":{"type":"object","title":"Settings","default":{}}},"type":"object","title":"UpdateWidgetParams"},"app__api__schemas__companies__CreateCompanyParams":{"properties":{"client_id":{"type":"string","title":"Client Id"},"logo":{"type":"string","title":"Logo"},"priority":{"allOf":[{"$ref":"#/components/schemas/CompanyPriority"}],"default":"low"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"website":{"type":"string","title":"Website"},"public_api_key":{"type":"string","title":"Public Api Key"},"private_api_key":{"type":"string","title":"Private Api Key"},"public_encryption_key":{"type":"string","title":"Public Encryption Key"},"private_encryption_key":{"type":"string","title":"Private Encryption Key"},"require_encryption":{"type":"boolean","title":"Require Encryption","default":false},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"status":{"anyOf":[{"$ref":"#/components/schemas/CompanyStatus"},{"type":"string"}],"title":"Status"},"data_controller":{"type":"boolean","title":"Data Controller","default":true}},"type":"object","required":["display_name","company_name","website"],"title":"CreateCompanyParams","example":{"logo":"https://palenca.com/logo.png","display_name":"Palenca","company_name":"palenca","website":"https://palenca.com"}},"app__api__schemas__companies__UpdateCompanyParams":{"properties":{"logo":{"type":"string","title":"Logo"},"display_name":{"type":"string","title":"Display Name"},"company_name":{"type":"string","title":"Company Name"},"website":{"type":"string","title":"Website"},"refresh":{"type":"boolean","title":"Refresh","default":false},"refresh_frequency":{"type":"integer","title":"Refresh Frequency"},"require_encryption":{"type":"boolean","title":"Require Encryption","default":false},"data_controller":{"type":"boolean","title":"Data Controller","default":true},"status":{"$ref":"#/components/schemas/CompanyStatus"}},"type":"object","title":"UpdateCompanyParams"},"app__api__schemas__groups__CreateGroupParams":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"CreateGroupParams"},"app__api__schemas__internal__companies__UpdateCompanyParams":{"properties":{"widget_advanced_customization":{"type":"boolean","title":"Widget Advanced Customization"}},"type":"object","required":["widget_advanced_customization"],"title":"UpdateCompanyParams"},"app__api__schemas__internal__groups__CreateGroupParams":{"properties":{"name":{"type":"string","title":"Name"},"admin_id":{"type":"string","format":"uuid","title":"Admin Id"},"companies":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Companies"},"privacy_url":{"type":"string","title":"Privacy Url"}},"type":"object","required":["name","admin_id","companies"],"title":"CreateGroupParams"},"app__api__schemas__widgets__CreateWidgetParams":{"properties":{"name":{"type":"string","title":"Name"},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","default":[]},"platforms":{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array","default":[]},"is_sandbox":{"type":"boolean","title":"Is Sandbox","default":false},"require_gov_id":{"type":"boolean","title":"Require Gov Id","default":false}},"type":"object","title":"CreateWidgetParams"},"app__api__schemas__widgets__UpdateWidgetParams":{"properties":{"name":{"type":"string","title":"Name"},"require_gov_id":{"type":"boolean","title":"Require Gov Id","default":false},"countries":{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","default":[]},"platforms":{"items":{"$ref":"#/components/schemas/PlatformCode"},"type":"array","default":[]},"hide_logo":{"type":"boolean","title":"Hide Logo"},"hide_whatsapp":{"type":"boolean","title":"Hide Whatsapp"},"hide_consent":{"type":"boolean","title":"Hide Consent"},"font_family":{"type":"string","title":"Font Family"},"primary_color":{"type":"string","title":"Primary Color"},"border_radius":{"type":"string","title":"Border Radius"},"custom_privacy_url":{"type":"string","title":"Custom Privacy Url"},"whatsapp_number":{"type":"string","title":"Whatsapp Number"}},"type":"object","title":"UpdateWidgetParams"}}}}