From a958823c921146209815573beaafbb73c6cb826e Mon Sep 17 00:00:00 2001 From: NamSor SAS Date: Mon, 1 Feb 2021 09:36:29 +0100 Subject: [PATCH] Minor update --- README.md | 122 ++++----- docs/AdminApi.md | 104 -------- docs/{DeployUIOut.md => BatchCorridorIn.md} | 5 +- docs/BatchCorridorOut.md | 10 + docs/BatchNameGeoIn.md | 10 + docs/BatchNameIn.md | 10 + docs/BatchProperNounCategorizedOut.md | 10 + docs/CorridorIn.md | 12 + docs/CorridorOut.md | 15 ++ docs/FirstLastNameDiasporaedOut.md | 2 + docs/FirstLastNameGenderedOut.md | 2 + docs/FirstLastNameOriginedOut.md | 2 + docs/FirstLastNameOut.md | 2 + docs/FirstLastNamePhoneCodedOut.md | 2 + docs/FirstLastNameUSRaceEthnicityOut.md | 2 + docs/GeneralApi.md | 120 ++++++++- docs/MatchPersonalFirstLastNameIn.md | 1 - docs/NameGeoIn.md | 12 + docs/NameIn.md | 11 + docs/NameMatchCandidatesOut.md | 2 + docs/NameMatchedOut.md | 2 + docs/PersonalApi.md | 120 +++++++++ docs/PersonalNameGenderedOut.md | 2 + docs/PersonalNameGeoOut.md | 2 + docs/PersonalNameParsedOut.md | 2 + docs/ProperNounCategorizedOut.md | 2 + docs/RomanizedNameOut.md | 2 + openapi_client/__init__.py | 14 +- openapi_client/api/admin_api.py | 174 +------------ openapi_client/api/chinese_api.py | 2 +- openapi_client/api/general_api.py | 210 ++++++++++++++- openapi_client/api/japanese_api.py | 2 +- openapi_client/api/personal_api.py | 230 ++++++++++++++++- openapi_client/api/social_api.py | 2 +- openapi_client/api_client.py | 4 +- openapi_client/configuration.py | 6 +- openapi_client/models/__init__.py | 12 +- .../models/api_billing_period_usage_out.py | 2 +- openapi_client/models/api_classifier_out.py | 2 +- .../models/api_classifier_taxonomy_out.py | 2 +- .../models/api_classifiers_status_out.py | 2 +- openapi_client/models/api_counter_v2_out.py | 2 +- openapi_client/models/api_key_out.py | 2 +- openapi_client/models/api_period_usage_out.py | 2 +- openapi_client/models/api_plan_out.py | 2 +- .../models/api_plan_subscription_out.py | 2 +- openapi_client/models/api_plans_out.py | 2 +- openapi_client/models/api_service_out.py | 2 +- openapi_client/models/api_services_out.py | 2 +- .../models/api_usage_aggregated_out.py | 2 +- openapi_client/models/batch_corridor_in.py | 113 ++++++++ openapi_client/models/batch_corridor_out.py | 113 ++++++++ .../batch_first_last_name_diasporaed_out.py | 2 +- .../models/batch_first_last_name_gender_in.py | 2 +- .../batch_first_last_name_gendered_out.py | 2 +- .../models/batch_first_last_name_geo_in.py | 2 +- .../batch_first_last_name_geo_zipped_in.py | 2 +- .../models/batch_first_last_name_in.py | 2 +- .../batch_first_last_name_origined_out.py | 2 +- .../batch_first_last_name_phone_coded_out.py | 2 +- ...tch_first_last_name_phone_number_geo_in.py | 2 +- .../batch_first_last_name_phone_number_in.py | 2 +- ...h_first_last_name_us_race_ethnicity_out.py | 2 +- ...batch_match_personal_first_last_name_in.py | 2 +- openapi_client/models/batch_name_geo_in.py | 113 ++++++++ openapi_client/models/batch_name_in.py | 113 ++++++++ .../models/batch_name_match_candidates_out.py | 2 +- .../models/batch_name_matched_out.py | 2 +- .../models/batch_parsed_full_name_geo_in.py | 2 +- .../models/batch_parsed_full_name_in.py | 2 +- .../batch_personal_name_gendered_out.py | 2 +- .../models/batch_personal_name_geo_in.py | 2 +- .../models/batch_personal_name_geo_out.py | 2 +- .../models/batch_personal_name_in.py | 2 +- .../models/batch_personal_name_parsed_out.py | 2 +- .../batch_proper_noun_categorized_out.py | 113 ++++++++ openapi_client/models/billing_history_out.py | 2 +- openapi_client/models/billing_info_in_out.py | 2 +- openapi_client/models/cache_metrics_out.py | 2 +- .../models/classifier_metrics_out.py | 2 +- openapi_client/models/corridor_in.py | 165 ++++++++++++ openapi_client/models/corridor_out.py | 243 ++++++++++++++++++ openapi_client/models/currencies_out.py | 2 +- .../models/expected_class_metrics_out.py | 2 +- openapi_client/models/feedback_loop_out.py | 2 +- .../models/first_last_name_diasporaed_out.py | 60 ++++- .../models/first_last_name_gender_in.py | 2 +- .../models/first_last_name_gendered_out.py | 60 ++++- .../models/first_last_name_geo_in.py | 2 +- .../models/first_last_name_geo_zipped_in.py | 2 +- openapi_client/models/first_last_name_in.py | 2 +- .../models/first_last_name_origined_out.py | 60 ++++- openapi_client/models/first_last_name_out.py | 60 ++++- .../models/first_last_name_phone_coded_out.py | 60 ++++- .../first_last_name_phone_number_geo_in.py | 2 +- .../models/first_last_name_phone_number_in.py | 2 +- .../first_last_name_us_race_ethnicity_out.py | 60 ++++- openapi_client/models/inline_object.py | 2 +- openapi_client/models/invoice_item_out.py | 2 +- openapi_client/models/invoice_out.py | 2 +- .../match_personal_first_last_name_in.py | 34 +-- openapi_client/models/nam_sor_counter_out.py | 2 +- openapi_client/models/name_geo_in.py | 165 ++++++++++++ .../models/{deploy_ui_out.py => name_in.py} | 70 ++--- .../models/name_match_candidate_out.py | 2 +- .../models/name_match_candidates_out.py | 60 ++++- openapi_client/models/name_matched_out.py | 60 ++++- .../models/parsed_full_name_geo_in.py | 2 +- openapi_client/models/parsed_full_name_in.py | 2 +- .../models/personal_name_gendered_out.py | 60 ++++- openapi_client/models/personal_name_geo_in.py | 2 +- .../models/personal_name_geo_out.py | 60 ++++- openapi_client/models/personal_name_in.py | 2 +- .../models/personal_name_parsed_out.py | 60 ++++- .../models/proper_noun_categorized_out.py | 60 ++++- openapi_client/models/romanized_name_out.py | 60 ++++- openapi_client/models/software_version_out.py | 2 +- .../models/source_detailed_metrics_out.py | 2 +- openapi_client/models/source_metrics_out.py | 2 +- openapi_client/models/stripe_card_out.py | 2 +- openapi_client/models/stripe_customer_out.py | 2 +- openapi_client/models/system_metrics_out.py | 2 +- openapi_client/models/user_info_out.py | 2 +- openapi_client/rest.py | 2 +- run-python.bash | 2 +- setup.py | 4 +- test/test_admin_api.py | 16 +- test/test_api_billing_period_usage_out.py | 2 +- test/test_api_classifier_out.py | 2 +- test/test_api_classifier_taxonomy_out.py | 2 +- test/test_api_classifiers_status_out.py | 2 +- test/test_api_counter_v2_out.py | 2 +- test/test_api_key_out.py | 2 +- test/test_api_period_usage_out.py | 2 +- test/test_api_plan_out.py | 2 +- test/test_api_plan_subscription_out.py | 2 +- test/test_api_plans_out.py | 2 +- test/test_api_service_out.py | 2 +- test/test_api_services_out.py | 2 +- test/test_api_usage_aggregated_out.py | 2 +- test/test_batch_corridor_in.py | 40 +++ test/test_batch_corridor_out.py | 40 +++ ...st_batch_first_last_name_diasporaed_out.py | 2 +- test/test_batch_first_last_name_gender_in.py | 2 +- ...test_batch_first_last_name_gendered_out.py | 2 +- test/test_batch_first_last_name_geo_in.py | 2 +- ...est_batch_first_last_name_geo_zipped_in.py | 2 +- test/test_batch_first_last_name_in.py | 2 +- ...test_batch_first_last_name_origined_out.py | 2 +- ...t_batch_first_last_name_phone_coded_out.py | 2 +- ...tch_first_last_name_phone_number_geo_in.py | 2 +- ...t_batch_first_last_name_phone_number_in.py | 2 +- ...h_first_last_name_us_race_ethnicity_out.py | 2 +- ...batch_match_personal_first_last_name_in.py | 2 +- test/test_batch_name_geo_in.py | 40 +++ ...deploy_ui_out.py => test_batch_name_in.py} | 14 +- test/test_batch_name_match_candidates_out.py | 2 +- test/test_batch_name_matched_out.py | 2 +- test/test_batch_parsed_full_name_geo_in.py | 2 +- test/test_batch_parsed_full_name_in.py | 2 +- test/test_batch_personal_name_gendered_out.py | 2 +- test/test_batch_personal_name_geo_in.py | 2 +- test/test_batch_personal_name_geo_out.py | 2 +- test/test_batch_personal_name_in.py | 2 +- test/test_batch_personal_name_parsed_out.py | 2 +- .../test_batch_proper_noun_categorized_out.py | 40 +++ test/test_billing_history_out.py | 2 +- test/test_billing_info_in_out.py | 2 +- test/test_cache_metrics_out.py | 2 +- test/test_chinese_api.py | 2 +- test/test_classifier_metrics_out.py | 2 +- test/test_corridor_in.py | 40 +++ test/test_corridor_out.py | 40 +++ test/test_currencies_out.py | 2 +- test/test_expected_class_metrics_out.py | 2 +- test/test_feedback_loop_out.py | 2 +- test/test_first_last_name_diasporaed_out.py | 2 +- test/test_first_last_name_gender_in.py | 2 +- test/test_first_last_name_gendered_out.py | 2 +- test/test_first_last_name_geo_in.py | 2 +- test/test_first_last_name_geo_zipped_in.py | 2 +- test/test_first_last_name_in.py | 2 +- test/test_first_last_name_origined_out.py | 2 +- test/test_first_last_name_out.py | 2 +- test/test_first_last_name_phone_coded_out.py | 2 +- ...est_first_last_name_phone_number_geo_in.py | 2 +- test/test_first_last_name_phone_number_in.py | 2 +- ...t_first_last_name_us_race_ethnicity_out.py | 2 +- test/test_general_api.py | 20 +- test/test_inline_object.py | 2 +- test/test_invoice_item_out.py | 2 +- test/test_invoice_out.py | 2 +- test/test_japanese_api.py | 2 +- .../test_match_personal_first_last_name_in.py | 2 +- test/test_nam_sor_counter_out.py | 2 +- test/test_name_geo_in.py | 40 +++ test/test_name_in.py | 40 +++ test/test_name_match_candidate_out.py | 2 +- test/test_name_match_candidates_out.py | 2 +- test/test_name_matched_out.py | 2 +- test/test_parsed_full_name_geo_in.py | 2 +- test/test_parsed_full_name_in.py | 2 +- test/test_personal_api.py | 16 +- test/test_personal_name_gendered_out.py | 2 +- test/test_personal_name_geo_in.py | 2 +- test/test_personal_name_geo_out.py | 2 +- test/test_personal_name_in.py | 2 +- test/test_personal_name_parsed_out.py | 2 +- test/test_proper_noun_categorized_out.py | 2 +- test/test_romanized_name_out.py | 2 +- test/test_social_api.py | 2 +- test/test_software_version_out.py | 2 +- test/test_source_detailed_metrics_out.py | 2 +- test/test_source_metrics_out.py | 2 +- test/test_stripe_card_out.py | 2 +- test/test_stripe_customer_out.py | 2 +- test/test_system_metrics_out.py | 2 +- test/test_user_info_out.py | 2 +- 218 files changed, 3285 insertions(+), 661 deletions(-) rename docs/{DeployUIOut.md => BatchCorridorIn.md} (73%) create mode 100644 docs/BatchCorridorOut.md create mode 100644 docs/BatchNameGeoIn.md create mode 100644 docs/BatchNameIn.md create mode 100644 docs/BatchProperNounCategorizedOut.md create mode 100644 docs/CorridorIn.md create mode 100644 docs/CorridorOut.md create mode 100644 docs/NameGeoIn.md create mode 100644 docs/NameIn.md create mode 100644 openapi_client/models/batch_corridor_in.py create mode 100644 openapi_client/models/batch_corridor_out.py create mode 100644 openapi_client/models/batch_name_geo_in.py create mode 100644 openapi_client/models/batch_name_in.py create mode 100644 openapi_client/models/batch_proper_noun_categorized_out.py create mode 100644 openapi_client/models/corridor_in.py create mode 100644 openapi_client/models/corridor_out.py create mode 100644 openapi_client/models/name_geo_in.py rename openapi_client/models/{deploy_ui_out.py => name_in.py} (63%) create mode 100644 test/test_batch_corridor_in.py create mode 100644 test/test_batch_corridor_out.py create mode 100644 test/test_batch_name_geo_in.py rename test/{test_deploy_ui_out.py => test_batch_name_in.py} (72%) create mode 100644 test/test_batch_proper_noun_categorized_out.py create mode 100644 test/test_corridor_in.py create mode 100644 test/test_corridor_out.py create mode 100644 test/test_name_geo_in.py create mode 100644 test/test_name_in.py diff --git a/README.md b/README.md index 03ab7fe..5a23e6e 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,13 @@ -# openapi-client Python SDK for NamSor classifies personal names by gender, country of origin, or ethnicity. +# openapi-client NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 2.0.11 -- Package version: 2.0.11 +- API version: 2.0.12 +- Package version: 2.0.12 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://www.namsor.com/](http://www.namsor.com/) -Refer to the [NamSor API Doc](https://v2.namsor.com/NamSorAPIv2/apidoc.html) for detailed API documentation. - -Also, have a look at the Wiki [NamSor Wiki Doc](https://github.com/namsor/namsor-tools-v2/wiki/NamSor-Tools-V2) for release notes and taxonomies. - ## Requirements. Python 2.7 and 3.4+ @@ -58,38 +54,24 @@ from pprint import pprint # Configure API key authorization: api_key configuration = openapi_client.Configuration() -configuration.api_key['X-API-KEY'] = '' +configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['X-API-KEY'] = 'Bearer' # create an instance of the API class -api_instance = openapi_client.PersonalApi(openapi_client.ApiClient(configuration)) -batch_first_last_name_in = openapi_client.BatchFirstLastNameIn() # BatchFirstLastNameIn | A list of personal names (optional) -name1 = openapi_client.FirstLastNameIn(); -name1.id='1' -name1.first_name='John' -name1.last_name='Smith' -name2 = openapi_client.FirstLastNameIn(); -name2.id='2' -name2.first_name='Elena' -name2.last_name='Rossini' -batch_first_last_name_in.personal_names = [name1, name2] +api_instance = openapi_client.AdminApi(openapi_client.ApiClient(configuration)) +api_key = 'api_key_example' # str | +usage_credits = 56 # int | +user_message = 'user_message_example' # str | + try: - # Infer the likely origin of up to 1000 names, detecting automatically the cultural context. - api_response = api_instance.gender_batch(batch_first_last_name_in=batch_first_last_name_in) + # Add usage credits to an API Key. + api_response = api_instance.add_credits(api_key, usage_credits, user_message) pprint(api_response) except ApiException as e: - print("Exception when calling PersonalApi->gender_batch: %s\n" % e) -``` - -## Documentation For Authorization - -## api_key - -- **Type**: API key -- **API key parameter name**: X-API-KEY -- **Location**: HTTP header + print("Exception when calling AdminApi->add_credits: %s\n" % e) +``` ## Documentation for API Endpoints @@ -97,32 +79,6 @@ All URIs are relative to *https://v2.namsor.com/NamSorAPIv2* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*PersonalApi* | [**gender**](docs/PersonalApi.md#gender) | **GET** /api2/json/gender/{firstName}/{lastName} | Infer the likely gender of a name. -*PersonalApi* | [**gender_batch**](docs/PersonalApi.md#gender_batch) | **POST** /api2/json/genderBatch | Infer the likely gender of up to 100 names, detecting automatically the cultural context. -*PersonalApi* | [**gender_full**](docs/PersonalApi.md#gender_full) | **GET** /api2/json/genderFull/{fullName} | Infer the likely gender of a full name, ex. John H. Smith -*PersonalApi* | [**gender_full_batch**](docs/PersonalApi.md#gender_full_batch) | **POST** /api2/json/genderFullBatch | Infer the likely gender of up to 100 full names, detecting automatically the cultural context. -*PersonalApi* | [**gender_full_geo**](docs/PersonalApi.md#gender_full_geo) | **GET** /api2/json/genderFullGeo/{fullName}/{countryIso2} | Infer the likely gender of a full name, given a local context (ISO2 country code). -*PersonalApi* | [**gender_full_geo_batch**](docs/PersonalApi.md#gender_full_geo_batch) | **POST** /api2/json/genderFullGeoBatch | Infer the likely gender of up to 100 full names, with a given cultural context (country ISO2 code). -*PersonalApi* | [**gender_geo**](docs/PersonalApi.md#gender_geo) | **GET** /api2/json/genderGeo/{firstName}/{lastName}/{countryIso2} | Infer the likely gender of a name, given a local context (ISO2 country code). -*PersonalApi* | [**gender_geo_batch**](docs/PersonalApi.md#gender_geo_batch) | **POST** /api2/json/genderGeoBatch | Infer the likely gender of up to 100 names, each given a local context (ISO2 country code). -*PersonalApi* | [**country**](docs/PersonalApi.md#country) | **GET** /api2/json/country/{personalNameFull} | [USES 10 UNITS PER NAME] Infer the likely country of residence of a personal full name, or one surname. Assumes names as they are in the country of residence OR the country of origin. -*PersonalApi* | [**country_batch**](docs/PersonalApi.md#country_batch) | **POST** /api2/json/countryBatch | [USES 10 UNITS PER NAME] Infer the likely country of residence of up to 100 personal full names, or surnames. Assumes names as they are in the country of residence OR the country of origin. -*PersonalApi* | [**origin**](docs/PersonalApi.md#origin) | **GET** /api2/json/origin/{firstName}/{lastName} | [USES 10 UNITS PER NAME] Infer the likely country of origin of a personal name. Assumes names as they are in the country of origin. For US, CA, AU, NZ and other melting-pots : use 'diaspora' instead. -*PersonalApi* | [**origin_batch**](docs/PersonalApi.md#origin_batch) | **POST** /api2/json/originBatch | [USES 10 UNITS PER NAME] Infer the likely country of origin of up to 100 names, detecting automatically the cultural context. -*PersonalApi* | [**diaspora**](docs/PersonalApi.md#diaspora) | **GET** /api2/json/diaspora/{countryIso2}/{firstName}/{lastName} | [USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of a personal name, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.) -*PersonalApi* | [**diaspora_batch**](docs/PersonalApi.md#diaspora_batch) | **POST** /api2/json/diasporaBatch | [USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of up to 100 personal names, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.) -*PersonalApi* | [**us_race_ethnicity**](docs/PersonalApi.md#us_race_ethnicity) | **GET** /api2/json/usRaceEthnicity/{firstName}/{lastName} | [USES 10 UNITS PER NAME] Infer a US resident's likely race/ethnicity according to US Census taxonomy W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). -*PersonalApi* | [**us_race_ethnicity_batch**](docs/PersonalApi.md#us_race_ethnicity_batch) | **POST** /api2/json/usRaceEthnicityBatch | [USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy. -*PersonalApi* | [**us_race_ethnicity_zip5**](docs/PersonalApi.md#us_race_ethnicity_zip5) | **GET** /api2/json/usRaceEthnicityZIP5/{firstName}/{lastName}/{zip5Code} | [USES 10 UNITS PER NAME] Infer a US resident's likely race/ethnicity according to US Census taxonomy, using (optional) ZIP5 code info. Output is W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). -*PersonalApi* | [**us_zip_race_ethnicity_batch**](docs/PersonalApi.md#us_zip_race_ethnicity_batch) | **POST** /api2/json/usZipRaceEthnicityBatch | [USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy, with (optional) ZIP code. -*PersonalApi* | [**parse_name**](docs/PersonalApi.md#parse_name) | **GET** /api2/json/parseName/{nameFull} | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. -*PersonalApi* | [**parse_name_batch**](docs/PersonalApi.md#parse_name_batch) | **POST** /api2/json/parseNameBatch | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. -*PersonalApi* | [**parse_name_geo**](docs/PersonalApi.md#parse_name_geo) | **GET** /api2/json/parseName/{nameFull}/{countryIso2} | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. For better accuracy, provide a geographic context. -*PersonalApi* | [**parse_name_geo_batch**](docs/PersonalApi.md#parse_name_geo_batch) | **POST** /api2/json/parseNameGeoBatch | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. Giving a local context improves precision. -*PersonalApi* | [**parsed_gender_batch**](docs/PersonalApi.md#parsed_gender_batch) | **POST** /api2/json/parsedGenderBatch | Infer the likely gender of up to 100 fully parsed names, detecting automatically the cultural context. -*PersonalApi* | [**parsed_gender_geo_batch**](docs/PersonalApi.md#parsed_gender_geo_batch) | **POST** /api2/json/parsedGenderGeoBatch | Infer the likely gender of up to 100 fully parsed names, detecting automatically the cultural context. -*GeneralApi* | [**name_type**](docs/GeneralApi.md#name_type) | **GET** /api2/json/nameType/{properNoun} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) -*GeneralApi* | [**name_type1**](docs/GeneralApi.md#name_type1) | **GET** /api2/json/nameType/{properNoun}/{countryIso2} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) *AdminApi* | [**add_credits**](docs/AdminApi.md#add_credits) | **GET** /api2/json/addCredits/{apiKey}/{usageCredits}/{userMessage} | Add usage credits to an API Key. *AdminApi* | [**anonymize**](docs/AdminApi.md#anonymize) | **GET** /api2/json/anonymize/{source}/{anonymized} | Activate/deactivate anonymization for a source. *AdminApi* | [**api_status**](docs/AdminApi.md#api_status) | **GET** /api2/json/apiStatus | Prints the current status of the classifiers. @@ -144,8 +100,6 @@ Class | Method | HTTP request | Description *AdminApi* | [**namsor_counter**](docs/AdminApi.md#namsor_counter) | **GET** /api2/json/namsorCounter | Get the overall API counter *AdminApi* | [**payment_info**](docs/AdminApi.md#payment_info) | **GET** /api2/json/paymentInfo/{token} | Get the Stripe payment information associated with the current google auth session token. *AdminApi* | [**procure_key**](docs/AdminApi.md#procure_key) | **GET** /api2/json/procureKey/{token} | Procure an API Key (sent via Email), based on an auth token. Keep your API Key secret. -*AdminApi* | [**redeploy_ui**](docs/AdminApi.md#redeploy_ui) | **GET** /api2/json/redeployUI/{live} | Redeploy UI from current dev branch. -*AdminApi* | [**redeploy_ui1**](docs/AdminApi.md#redeploy_ui1) | **GET** /api2/json/redeployUI | Redeploy UI from current dev branch. *AdminApi* | [**remove_user_account**](docs/AdminApi.md#remove_user_account) | **GET** /api2/json/removeUserAccount/{token} | Remove the user account. *AdminApi* | [**remove_user_account_on_behalf**](docs/AdminApi.md#remove_user_account_on_behalf) | **GET** /api2/json/removeUserAccountOnBehalf/{apiKey} | Remove (on behalf) a user account. *AdminApi* | [**shutdown**](docs/AdminApi.md#shutdown) | **GET** /api2/json/shutdown | Stop learning and shutdown system. @@ -177,6 +131,10 @@ Class | Method | HTTP request | Description *ChineseApi* | [**parse_chinese_name_batch**](docs/ChineseApi.md#parse_chinese_name_batch) | **POST** /api2/json/parseChineseNameBatch | Infer the likely first/last name structure of a name, ex. 王晓明 -> 王(surname) 晓明(given name). *ChineseApi* | [**pinyin_chinese_name**](docs/ChineseApi.md#pinyin_chinese_name) | **GET** /api2/json/pinyinChineseName/{chineseName} | Romanize the Chinese name to Pinyin, ex. 王晓明 -> Wang (surname) Xiaoming (given name) *ChineseApi* | [**pinyin_chinese_name_batch**](docs/ChineseApi.md#pinyin_chinese_name_batch) | **POST** /api2/json/pinyinChineseNameBatch | Romanize a list of Chinese name to Pinyin, ex. 王晓明 -> Wang (surname) Xiaoming (given name). +*GeneralApi* | [**name_type**](docs/GeneralApi.md#name_type) | **GET** /api2/json/nameType/{properNoun} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) +*GeneralApi* | [**name_type_batch**](docs/GeneralApi.md#name_type_batch) | **POST** /api2/json/nameTypeBatch | Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) +*GeneralApi* | [**name_type_geo**](docs/GeneralApi.md#name_type_geo) | **GET** /api2/json/nameTypeGeo/{properNoun}/{countryIso2} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) +*GeneralApi* | [**name_type_geo_batch**](docs/GeneralApi.md#name_type_geo_batch) | **POST** /api2/json/nameTypeGeoBatch | Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) *JapaneseApi* | [**gender_japanese_name_full**](docs/JapaneseApi.md#gender_japanese_name_full) | **GET** /api2/json/genderJapaneseNameFull/{japaneseName} | Infer the likely gender of a Japanese full name ex. 王晓明 *JapaneseApi* | [**gender_japanese_name_full_batch**](docs/JapaneseApi.md#gender_japanese_name_full_batch) | **POST** /api2/json/genderJapaneseNameFullBatch | Infer the likely gender of up to 100 full names *JapaneseApi* | [**gender_japanese_name_pinyin**](docs/JapaneseApi.md#gender_japanese_name_pinyin) | **GET** /api2/json/genderJapaneseName/{japaneseSurname}/{japaneseGivenName} | Infer the likely gender of a Japanese name in LATIN (Pinyin). @@ -190,6 +148,32 @@ Class | Method | HTTP request | Description *JapaneseApi* | [**japanese_name_match_feedback_loop**](docs/JapaneseApi.md#japanese_name_match_feedback_loop) | **GET** /api2/json/japaneseNameMatchFeedbackLoop/{japaneseSurnameLatin}/{japaneseGivenNameLatin}/{japaneseName} | [CREDITS 1 UNIT] Feedback loop to better perform matching Japanese name in KANJI ex. 山本 早苗 with a romanized name ex. Yamamoto Sanae *JapaneseApi* | [**parse_japanese_name**](docs/JapaneseApi.md#parse_japanese_name) | **GET** /api2/json/parseJapaneseName/{japaneseName} | Infer the likely first/last name structure of a name, ex. 山本 早苗 or Yamamoto Sanae *JapaneseApi* | [**parse_japanese_name_batch**](docs/JapaneseApi.md#parse_japanese_name_batch) | **POST** /api2/json/parseJapaneseNameBatch | Infer the likely first/last name structure of a name, ex. 山本 早苗 or Yamamoto Sanae +*PersonalApi* | [**corridor**](docs/PersonalApi.md#corridor) | **GET** /api2/json/corridor/{countryIso2From}/{firstNameFrom}/{lastNameFrom}/{countryIso2To}/{firstNameTo}/{lastNameTo} | [USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) +*PersonalApi* | [**corridor_batch**](docs/PersonalApi.md#corridor_batch) | **POST** /api2/json/corridorBatch | [USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) +*PersonalApi* | [**country**](docs/PersonalApi.md#country) | **GET** /api2/json/country/{personalNameFull} | [USES 10 UNITS PER NAME] Infer the likely country of residence of a personal full name, or one surname. Assumes names as they are in the country of residence OR the country of origin. +*PersonalApi* | [**country_batch**](docs/PersonalApi.md#country_batch) | **POST** /api2/json/countryBatch | [USES 10 UNITS PER NAME] Infer the likely country of residence of up to 100 personal full names, or surnames. Assumes names as they are in the country of residence OR the country of origin. +*PersonalApi* | [**diaspora**](docs/PersonalApi.md#diaspora) | **GET** /api2/json/diaspora/{countryIso2}/{firstName}/{lastName} | [USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of a personal name, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.) +*PersonalApi* | [**diaspora_batch**](docs/PersonalApi.md#diaspora_batch) | **POST** /api2/json/diasporaBatch | [USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of up to 100 personal names, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.) +*PersonalApi* | [**gender**](docs/PersonalApi.md#gender) | **GET** /api2/json/gender/{firstName}/{lastName} | Infer the likely gender of a name. +*PersonalApi* | [**gender_batch**](docs/PersonalApi.md#gender_batch) | **POST** /api2/json/genderBatch | Infer the likely gender of up to 100 names, detecting automatically the cultural context. +*PersonalApi* | [**gender_full**](docs/PersonalApi.md#gender_full) | **GET** /api2/json/genderFull/{fullName} | Infer the likely gender of a full name, ex. John H. Smith +*PersonalApi* | [**gender_full_batch**](docs/PersonalApi.md#gender_full_batch) | **POST** /api2/json/genderFullBatch | Infer the likely gender of up to 100 full names, detecting automatically the cultural context. +*PersonalApi* | [**gender_full_geo**](docs/PersonalApi.md#gender_full_geo) | **GET** /api2/json/genderFullGeo/{fullName}/{countryIso2} | Infer the likely gender of a full name, given a local context (ISO2 country code). +*PersonalApi* | [**gender_full_geo_batch**](docs/PersonalApi.md#gender_full_geo_batch) | **POST** /api2/json/genderFullGeoBatch | Infer the likely gender of up to 100 full names, with a given cultural context (country ISO2 code). +*PersonalApi* | [**gender_geo**](docs/PersonalApi.md#gender_geo) | **GET** /api2/json/genderGeo/{firstName}/{lastName}/{countryIso2} | Infer the likely gender of a name, given a local context (ISO2 country code). +*PersonalApi* | [**gender_geo_batch**](docs/PersonalApi.md#gender_geo_batch) | **POST** /api2/json/genderGeoBatch | Infer the likely gender of up to 100 names, each given a local context (ISO2 country code). +*PersonalApi* | [**origin**](docs/PersonalApi.md#origin) | **GET** /api2/json/origin/{firstName}/{lastName} | [USES 10 UNITS PER NAME] Infer the likely country of origin of a personal name. Assumes names as they are in the country of origin. For US, CA, AU, NZ and other melting-pots : use 'diaspora' instead. +*PersonalApi* | [**origin_batch**](docs/PersonalApi.md#origin_batch) | **POST** /api2/json/originBatch | [USES 10 UNITS PER NAME] Infer the likely country of origin of up to 100 names, detecting automatically the cultural context. +*PersonalApi* | [**parse_name**](docs/PersonalApi.md#parse_name) | **GET** /api2/json/parseName/{nameFull} | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. +*PersonalApi* | [**parse_name_batch**](docs/PersonalApi.md#parse_name_batch) | **POST** /api2/json/parseNameBatch | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. +*PersonalApi* | [**parse_name_geo**](docs/PersonalApi.md#parse_name_geo) | **GET** /api2/json/parseName/{nameFull}/{countryIso2} | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. For better accuracy, provide a geographic context. +*PersonalApi* | [**parse_name_geo_batch**](docs/PersonalApi.md#parse_name_geo_batch) | **POST** /api2/json/parseNameGeoBatch | Infer the likely first/last name structure of a name, ex. John Smith or SMITH, John or SMITH; John. Giving a local context improves precision. +*PersonalApi* | [**parsed_gender_batch**](docs/PersonalApi.md#parsed_gender_batch) | **POST** /api2/json/parsedGenderBatch | Infer the likely gender of up to 100 fully parsed names, detecting automatically the cultural context. +*PersonalApi* | [**parsed_gender_geo_batch**](docs/PersonalApi.md#parsed_gender_geo_batch) | **POST** /api2/json/parsedGenderGeoBatch | Infer the likely gender of up to 100 fully parsed names, detecting automatically the cultural context. +*PersonalApi* | [**us_race_ethnicity**](docs/PersonalApi.md#us_race_ethnicity) | **GET** /api2/json/usRaceEthnicity/{firstName}/{lastName} | [USES 10 UNITS PER NAME] Infer a US resident's likely race/ethnicity according to US Census taxonomy W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). +*PersonalApi* | [**us_race_ethnicity_batch**](docs/PersonalApi.md#us_race_ethnicity_batch) | **POST** /api2/json/usRaceEthnicityBatch | [USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy. +*PersonalApi* | [**us_race_ethnicity_zip5**](docs/PersonalApi.md#us_race_ethnicity_zip5) | **GET** /api2/json/usRaceEthnicityZIP5/{firstName}/{lastName}/{zip5Code} | [USES 10 UNITS PER NAME] Infer a US resident's likely race/ethnicity according to US Census taxonomy, using (optional) ZIP5 code info. Output is W_NL (white, non latino), HL (hispano latino), A (asian, non latino), B_NL (black, non latino). +*PersonalApi* | [**us_zip_race_ethnicity_batch**](docs/PersonalApi.md#us_zip_race_ethnicity_batch) | **POST** /api2/json/usZipRaceEthnicityBatch | [USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy, with (optional) ZIP code. *SocialApi* | [**phone_code**](docs/SocialApi.md#phone_code) | **GET** /api2/json/phoneCode/{firstName}/{lastName}/{phoneNumber} | [USES 11 UNITS PER NAME] Infer the likely country and phone prefix, given a personal name and formatted / unformatted phone number. *SocialApi* | [**phone_code_batch**](docs/SocialApi.md#phone_code_batch) | **POST** /api2/json/phoneCodeBatch | [USES 11 UNITS PER NAME] Infer the likely country and phone prefix, of up to 100 personal names, detecting automatically the local context given a name and formatted / unformatted phone number. *SocialApi* | [**phone_code_geo**](docs/SocialApi.md#phone_code_geo) | **GET** /api2/json/phoneCodeGeo/{firstName}/{lastName}/{phoneNumber}/{countryIso2} | [USES 11 UNITS PER NAME] Infer the likely phone prefix, given a personal name and formatted / unformatted phone number, with a local context (ISO2 country of residence). @@ -212,6 +196,8 @@ Class | Method | HTTP request | Description - [APIServiceOut](docs/APIServiceOut.md) - [APIServicesOut](docs/APIServicesOut.md) - [APIUsageAggregatedOut](docs/APIUsageAggregatedOut.md) + - [BatchCorridorIn](docs/BatchCorridorIn.md) + - [BatchCorridorOut](docs/BatchCorridorOut.md) - [BatchFirstLastNameDiasporaedOut](docs/BatchFirstLastNameDiasporaedOut.md) - [BatchFirstLastNameGenderIn](docs/BatchFirstLastNameGenderIn.md) - [BatchFirstLastNameGenderedOut](docs/BatchFirstLastNameGenderedOut.md) @@ -224,6 +210,8 @@ Class | Method | HTTP request | Description - [BatchFirstLastNamePhoneNumberIn](docs/BatchFirstLastNamePhoneNumberIn.md) - [BatchFirstLastNameUSRaceEthnicityOut](docs/BatchFirstLastNameUSRaceEthnicityOut.md) - [BatchMatchPersonalFirstLastNameIn](docs/BatchMatchPersonalFirstLastNameIn.md) + - [BatchNameGeoIn](docs/BatchNameGeoIn.md) + - [BatchNameIn](docs/BatchNameIn.md) - [BatchNameMatchCandidatesOut](docs/BatchNameMatchCandidatesOut.md) - [BatchNameMatchedOut](docs/BatchNameMatchedOut.md) - [BatchParsedFullNameGeoIn](docs/BatchParsedFullNameGeoIn.md) @@ -233,12 +221,14 @@ Class | Method | HTTP request | Description - [BatchPersonalNameGeoOut](docs/BatchPersonalNameGeoOut.md) - [BatchPersonalNameIn](docs/BatchPersonalNameIn.md) - [BatchPersonalNameParsedOut](docs/BatchPersonalNameParsedOut.md) + - [BatchProperNounCategorizedOut](docs/BatchProperNounCategorizedOut.md) - [BillingHistoryOut](docs/BillingHistoryOut.md) - [BillingInfoInOut](docs/BillingInfoInOut.md) - [CacheMetricsOut](docs/CacheMetricsOut.md) - [ClassifierMetricsOut](docs/ClassifierMetricsOut.md) + - [CorridorIn](docs/CorridorIn.md) + - [CorridorOut](docs/CorridorOut.md) - [CurrenciesOut](docs/CurrenciesOut.md) - - [DeployUIOut](docs/DeployUIOut.md) - [ExpectedClassMetricsOut](docs/ExpectedClassMetricsOut.md) - [FeedbackLoopOut](docs/FeedbackLoopOut.md) - [FirstLastNameDiasporaedOut](docs/FirstLastNameDiasporaedOut.md) @@ -258,6 +248,8 @@ Class | Method | HTTP request | Description - [InvoiceOut](docs/InvoiceOut.md) - [MatchPersonalFirstLastNameIn](docs/MatchPersonalFirstLastNameIn.md) - [NamSorCounterOut](docs/NamSorCounterOut.md) + - [NameGeoIn](docs/NameGeoIn.md) + - [NameIn](docs/NameIn.md) - [NameMatchCandidateOut](docs/NameMatchCandidateOut.md) - [NameMatchCandidatesOut](docs/NameMatchCandidatesOut.md) - [NameMatchedOut](docs/NameMatchedOut.md) @@ -279,6 +271,16 @@ Class | Method | HTTP request | Description - [UserInfoOut](docs/UserInfoOut.md) +## Documentation For Authorization + + +## api_key + +- **Type**: API key +- **API key parameter name**: X-API-KEY +- **Location**: HTTP header + + ## Author contact@namsor.com diff --git a/docs/AdminApi.md b/docs/AdminApi.md index 3530540..dd0c369 100644 --- a/docs/AdminApi.md +++ b/docs/AdminApi.md @@ -25,8 +25,6 @@ Method | HTTP request | Description [**namsor_counter**](AdminApi.md#namsor_counter) | **GET** /api2/json/namsorCounter | Get the overall API counter [**payment_info**](AdminApi.md#payment_info) | **GET** /api2/json/paymentInfo/{token} | Get the Stripe payment information associated with the current google auth session token. [**procure_key**](AdminApi.md#procure_key) | **GET** /api2/json/procureKey/{token} | Procure an API Key (sent via Email), based on an auth token. Keep your API Key secret. -[**redeploy_ui**](AdminApi.md#redeploy_ui) | **GET** /api2/json/redeployUI/{live} | Redeploy UI from current dev branch. -[**redeploy_ui1**](AdminApi.md#redeploy_ui1) | **GET** /api2/json/redeployUI | Redeploy UI from current dev branch. [**remove_user_account**](AdminApi.md#remove_user_account) | **GET** /api2/json/removeUserAccount/{token} | Remove the user account. [**remove_user_account_on_behalf**](AdminApi.md#remove_user_account_on_behalf) | **GET** /api2/json/removeUserAccountOnBehalf/{apiKey} | Remove (on behalf) a user account. [**shutdown**](AdminApi.md#shutdown) | **GET** /api2/json/shutdown | Stop learning and shutdown system. @@ -1146,108 +1144,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **redeploy_ui** -> redeploy_ui(live) - -Redeploy UI from current dev branch. - -### Example - -* Api Key Authentication (api_key): -```python -from __future__ import print_function -import time -import openapi_client -from openapi_client.rest import ApiException -from pprint import pprint - -# Configure API key authorization: api_key -configuration = openapi_client.Configuration() -configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['X-API-KEY'] = 'Bearer' - -# create an instance of the API class -api_instance = openapi_client.AdminApi(openapi_client.ApiClient(configuration)) -live = True # bool | - -try: - # Redeploy UI from current dev branch. - api_instance.redeploy_ui(live) -except ApiException as e: - print("Exception when calling AdminApi->redeploy_ui: %s\n" % e) -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **live** | **bool**| | - -### Return type - -void (empty response body) - -### Authorization - -[api_key](../README.md#api_key) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **redeploy_ui1** -> redeploy_ui1() - -Redeploy UI from current dev branch. - -### Example - -* Api Key Authentication (api_key): -```python -from __future__ import print_function -import time -import openapi_client -from openapi_client.rest import ApiException -from pprint import pprint - -# Configure API key authorization: api_key -configuration = openapi_client.Configuration() -configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['X-API-KEY'] = 'Bearer' - -# create an instance of the API class -api_instance = openapi_client.AdminApi(openapi_client.ApiClient(configuration)) - -try: - # Redeploy UI from current dev branch. - api_instance.redeploy_ui1() -except ApiException as e: - print("Exception when calling AdminApi->redeploy_ui1: %s\n" % e) -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -[api_key](../README.md#api_key) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - # **remove_user_account** > APIPlanSubscriptionOut remove_user_account(token) diff --git a/docs/DeployUIOut.md b/docs/BatchCorridorIn.md similarity index 73% rename from docs/DeployUIOut.md rename to docs/BatchCorridorIn.md index 84c81ba..1c7fbe2 100644 --- a/docs/DeployUIOut.md +++ b/docs/BatchCorridorIn.md @@ -1,10 +1,9 @@ -# DeployUIOut +# BatchCorridorIn ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**error_message** | **str** | | [optional] -**succeeded** | **bool** | | [optional] +**corridor_from_to** | [**list[CorridorIn]**](CorridorIn.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BatchCorridorOut.md b/docs/BatchCorridorOut.md new file mode 100644 index 0000000..a680d7b --- /dev/null +++ b/docs/BatchCorridorOut.md @@ -0,0 +1,10 @@ +# BatchCorridorOut + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**corridor_from_to** | [**list[CorridorOut]**](CorridorOut.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BatchNameGeoIn.md b/docs/BatchNameGeoIn.md new file mode 100644 index 0000000..85f000c --- /dev/null +++ b/docs/BatchNameGeoIn.md @@ -0,0 +1,10 @@ +# BatchNameGeoIn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**proper_nouns** | [**list[NameGeoIn]**](NameGeoIn.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BatchNameIn.md b/docs/BatchNameIn.md new file mode 100644 index 0000000..f8408f6 --- /dev/null +++ b/docs/BatchNameIn.md @@ -0,0 +1,10 @@ +# BatchNameIn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**proper_nouns** | [**list[NameIn]**](NameIn.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BatchProperNounCategorizedOut.md b/docs/BatchProperNounCategorizedOut.md new file mode 100644 index 0000000..dba2086 --- /dev/null +++ b/docs/BatchProperNounCategorizedOut.md @@ -0,0 +1,10 @@ +# BatchProperNounCategorizedOut + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**proper_nouns** | [**list[ProperNounCategorizedOut]**](ProperNounCategorizedOut.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CorridorIn.md b/docs/CorridorIn.md new file mode 100644 index 0000000..546b7c5 --- /dev/null +++ b/docs/CorridorIn.md @@ -0,0 +1,12 @@ +# CorridorIn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**first_last_name_geo_from** | [**FirstLastNameGeoIn**](FirstLastNameGeoIn.md) | | [optional] +**first_last_name_geo_to** | [**FirstLastNameGeoIn**](FirstLastNameGeoIn.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CorridorOut.md b/docs/CorridorOut.md new file mode 100644 index 0000000..8f26087 --- /dev/null +++ b/docs/CorridorOut.md @@ -0,0 +1,15 @@ +# CorridorOut + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**first_last_name_gendered_out** | [**FirstLastNameGenderedOut**](FirstLastNameGenderedOut.md) | | [optional] +**first_last_name_origined_out** | [**FirstLastNameOriginedOut**](FirstLastNameOriginedOut.md) | | [optional] +**first_last_name_diasporaed_out** | [**FirstLastNameDiasporaedOut**](FirstLastNameDiasporaedOut.md) | | [optional] +**script** | **str** | | [optional] +**category** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FirstLastNameDiasporaedOut.md b/docs/FirstLastNameDiasporaedOut.md index b82f76e..476fd4d 100644 --- a/docs/FirstLastNameDiasporaedOut.md +++ b/docs/FirstLastNameDiasporaedOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] @@ -12,6 +13,7 @@ Name | Type | Description | Notes **lifted** | **bool** | | [optional] **country_iso2** | **str** | | [optional] **ethnicities_top** | **list[str]** | List ethnicities (top 10) | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FirstLastNameGenderedOut.md b/docs/FirstLastNameGenderedOut.md index 7d592f6..05c7de2 100644 --- a/docs/FirstLastNameGenderedOut.md +++ b/docs/FirstLastNameGenderedOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] @@ -10,6 +11,7 @@ Name | Type | Description | Notes **gender_scale** | **float** | Compatibility to NamSor_v1 Gender Scale M[-1..U..+1]F value | [optional] **score** | **float** | | [optional] **probability_calibrated** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FirstLastNameOriginedOut.md b/docs/FirstLastNameOriginedOut.md index 5c4a121..338f462 100644 --- a/docs/FirstLastNameOriginedOut.md +++ b/docs/FirstLastNameOriginedOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **sub_region_origin** | **str** | Most likely region of Origin (based on countryOrigin ISO2 code) | [optional] **probability_calibrated** | **float** | | [optional] **probability_alt_calibrated** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FirstLastNameOut.md b/docs/FirstLastNameOut.md index a8f8af5..951e613 100644 --- a/docs/FirstLastNameOut.md +++ b/docs/FirstLastNameOut.md @@ -3,9 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FirstLastNamePhoneCodedOut.md b/docs/FirstLastNamePhoneCodedOut.md index 3b5c682..67cea85 100644 --- a/docs/FirstLastNamePhoneCodedOut.md +++ b/docs/FirstLastNamePhoneCodedOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] @@ -18,6 +19,7 @@ Name | Type | Description | Notes **verified** | **bool** | | [optional] **score** | **float** | | [optional] **country_iso2** | **str** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/FirstLastNameUSRaceEthnicityOut.md b/docs/FirstLastNameUSRaceEthnicityOut.md index 6350dc4..9d30f05 100644 --- a/docs/FirstLastNameUSRaceEthnicityOut.md +++ b/docs/FirstLastNameUSRaceEthnicityOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] @@ -12,6 +13,7 @@ Name | Type | Description | Notes **race_ethnicities_top** | **list[str]** | List 'race'/ethnicities | [optional] **probability_calibrated** | **float** | | [optional] **probability_alt_calibrated** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GeneralApi.md b/docs/GeneralApi.md index 17200e3..dfda120 100644 --- a/docs/GeneralApi.md +++ b/docs/GeneralApi.md @@ -5,7 +5,9 @@ All URIs are relative to *https://v2.namsor.com/NamSorAPIv2* Method | HTTP request | Description ------------- | ------------- | ------------- [**name_type**](GeneralApi.md#name_type) | **GET** /api2/json/nameType/{properNoun} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) -[**name_type1**](GeneralApi.md#name_type1) | **GET** /api2/json/nameType/{properNoun}/{countryIso2} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) +[**name_type_batch**](GeneralApi.md#name_type_batch) | **POST** /api2/json/nameTypeBatch | Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) +[**name_type_geo**](GeneralApi.md#name_type_geo) | **GET** /api2/json/nameTypeGeo/{properNoun}/{countryIso2} | Infer the likely type of a proper noun (personal name, brand name, place name etc.) +[**name_type_geo_batch**](GeneralApi.md#name_type_geo_batch) | **POST** /api2/json/nameTypeGeoBatch | Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # **name_type** @@ -62,8 +64,62 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **name_type1** -> ProperNounCategorizedOut name_type1(proper_noun, country_iso2) +# **name_type_batch** +> BatchProperNounCategorizedOut name_type_batch(batch_name_in=batch_name_in) + +Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) + +### Example + +* Api Key Authentication (api_key): +```python +from __future__ import print_function +import time +import openapi_client +from openapi_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = openapi_client.Configuration() +configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-API-KEY'] = 'Bearer' + +# create an instance of the API class +api_instance = openapi_client.GeneralApi(openapi_client.ApiClient(configuration)) +batch_name_in = openapi_client.BatchNameIn() # BatchNameIn | A list of proper names (optional) + +try: + # Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) + api_response = api_instance.name_type_batch(batch_name_in=batch_name_in) + pprint(api_response) +except ApiException as e: + print("Exception when calling GeneralApi->name_type_batch: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **batch_name_in** | [**BatchNameIn**](BatchNameIn.md)| A list of proper names | [optional] + +### Return type + +[**BatchProperNounCategorizedOut**](BatchProperNounCategorizedOut.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **name_type_geo** +> ProperNounCategorizedOut name_type_geo(proper_noun, country_iso2) Infer the likely type of a proper noun (personal name, brand name, place name etc.) @@ -90,10 +146,10 @@ country_iso2 = 'country_iso2_example' # str | try: # Infer the likely type of a proper noun (personal name, brand name, place name etc.) - api_response = api_instance.name_type1(proper_noun, country_iso2) + api_response = api_instance.name_type_geo(proper_noun, country_iso2) pprint(api_response) except ApiException as e: - print("Exception when calling GeneralApi->name_type1: %s\n" % e) + print("Exception when calling GeneralApi->name_type_geo: %s\n" % e) ``` ### Parameters @@ -118,3 +174,57 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **name_type_geo_batch** +> BatchProperNounCategorizedOut name_type_geo_batch(batch_name_geo_in=batch_name_geo_in) + +Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) + +### Example + +* Api Key Authentication (api_key): +```python +from __future__ import print_function +import time +import openapi_client +from openapi_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = openapi_client.Configuration() +configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-API-KEY'] = 'Bearer' + +# create an instance of the API class +api_instance = openapi_client.GeneralApi(openapi_client.ApiClient(configuration)) +batch_name_geo_in = openapi_client.BatchNameGeoIn() # BatchNameGeoIn | A list of proper names (optional) + +try: + # Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) + api_response = api_instance.name_type_geo_batch(batch_name_geo_in=batch_name_geo_in) + pprint(api_response) +except ApiException as e: + print("Exception when calling GeneralApi->name_type_geo_batch: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **batch_name_geo_in** | [**BatchNameGeoIn**](BatchNameGeoIn.md)| A list of proper names | [optional] + +### Return type + +[**BatchProperNounCategorizedOut**](BatchProperNounCategorizedOut.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/MatchPersonalFirstLastNameIn.md b/docs/MatchPersonalFirstLastNameIn.md index 641f2ed..9e461de 100644 --- a/docs/MatchPersonalFirstLastNameIn.md +++ b/docs/MatchPersonalFirstLastNameIn.md @@ -6,7 +6,6 @@ Name | Type | Description | Notes **id** | **str** | | [optional] **name1** | [**FirstLastNameIn**](FirstLastNameIn.md) | | [optional] **name2** | [**PersonalNameIn**](PersonalNameIn.md) | | [optional] -**name** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NameGeoIn.md b/docs/NameGeoIn.md new file mode 100644 index 0000000..bc050ca --- /dev/null +++ b/docs/NameGeoIn.md @@ -0,0 +1,12 @@ +# NameGeoIn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | | [optional] +**country_iso2** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NameIn.md b/docs/NameIn.md new file mode 100644 index 0000000..298058f --- /dev/null +++ b/docs/NameIn.md @@ -0,0 +1,11 @@ +# NameIn + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] +**name** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NameMatchCandidatesOut.md b/docs/NameMatchCandidatesOut.md index 4b570da..fe4a8cc 100644 --- a/docs/NameMatchCandidatesOut.md +++ b/docs/NameMatchCandidatesOut.md @@ -3,10 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **first_name** | **str** | | [optional] **last_name** | **str** | | [optional] **match_candidates** | [**list[NameMatchCandidateOut]**](NameMatchCandidateOut.md) | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/NameMatchedOut.md b/docs/NameMatchedOut.md index 14b0c66..6a270dd 100644 --- a/docs/NameMatchedOut.md +++ b/docs/NameMatchedOut.md @@ -3,9 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **match_status** | **str** | | [optional] **score** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonalApi.md b/docs/PersonalApi.md index 4ebdf7e..653b3b5 100644 --- a/docs/PersonalApi.md +++ b/docs/PersonalApi.md @@ -4,6 +4,8 @@ All URIs are relative to *https://v2.namsor.com/NamSorAPIv2* Method | HTTP request | Description ------------- | ------------- | ------------- +[**corridor**](PersonalApi.md#corridor) | **GET** /api2/json/corridor/{countryIso2From}/{firstNameFrom}/{lastNameFrom}/{countryIso2To}/{firstNameTo}/{lastNameTo} | [USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) +[**corridor_batch**](PersonalApi.md#corridor_batch) | **POST** /api2/json/corridorBatch | [USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) [**country**](PersonalApi.md#country) | **GET** /api2/json/country/{personalNameFull} | [USES 10 UNITS PER NAME] Infer the likely country of residence of a personal full name, or one surname. Assumes names as they are in the country of residence OR the country of origin. [**country_batch**](PersonalApi.md#country_batch) | **POST** /api2/json/countryBatch | [USES 10 UNITS PER NAME] Infer the likely country of residence of up to 100 personal full names, or surnames. Assumes names as they are in the country of residence OR the country of origin. [**diaspora**](PersonalApi.md#diaspora) | **GET** /api2/json/diaspora/{countryIso2}/{firstName}/{lastName} | [USES 20 UNITS PER NAME] Infer the likely ethnicity/diaspora of a personal name, given a country of residence ISO2 code (ex. US, CA, AU, NZ etc.) @@ -30,6 +32,124 @@ Method | HTTP request | Description [**us_zip_race_ethnicity_batch**](PersonalApi.md#us_zip_race_ethnicity_batch) | **POST** /api2/json/usZipRaceEthnicityBatch | [USES 10 UNITS PER NAME] Infer up-to 100 US resident's likely race/ethnicity according to US Census taxonomy, with (optional) ZIP code. +# **corridor** +> CorridorOut corridor(country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to) + +[USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) + +### Example + +* Api Key Authentication (api_key): +```python +from __future__ import print_function +import time +import openapi_client +from openapi_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = openapi_client.Configuration() +configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-API-KEY'] = 'Bearer' + +# create an instance of the API class +api_instance = openapi_client.PersonalApi(openapi_client.ApiClient(configuration)) +country_iso2_from = 'country_iso2_from_example' # str | +first_name_from = 'first_name_from_example' # str | +last_name_from = 'last_name_from_example' # str | +country_iso2_to = 'country_iso2_to_example' # str | +first_name_to = 'first_name_to_example' # str | +last_name_to = 'last_name_to_example' # str | + +try: + # [USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) + api_response = api_instance.corridor(country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to) + pprint(api_response) +except ApiException as e: + print("Exception when calling PersonalApi->corridor: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **country_iso2_from** | **str**| | + **first_name_from** | **str**| | + **last_name_from** | **str**| | + **country_iso2_to** | **str**| | + **first_name_to** | **str**| | + **last_name_to** | **str**| | + +### Return type + +[**CorridorOut**](CorridorOut.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **corridor_batch** +> BatchCorridorOut corridor_batch(batch_corridor_in=batch_corridor_in) + +[USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) + +### Example + +* Api Key Authentication (api_key): +```python +from __future__ import print_function +import time +import openapi_client +from openapi_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: api_key +configuration = openapi_client.Configuration() +configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['X-API-KEY'] = 'Bearer' + +# create an instance of the API class +api_instance = openapi_client.PersonalApi(openapi_client.ApiClient(configuration)) +batch_corridor_in = openapi_client.BatchCorridorIn() # BatchCorridorIn | A list of name pairs, with country code (nameFrom -> nameTo). (optional) + +try: + # [USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) + api_response = api_instance.corridor_batch(batch_corridor_in=batch_corridor_in) + pprint(api_response) +except ApiException as e: + print("Exception when calling PersonalApi->corridor_batch: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **batch_corridor_in** | [**BatchCorridorIn**](BatchCorridorIn.md)| A list of name pairs, with country code (nameFrom -> nameTo). | [optional] + +### Return type + +[**BatchCorridorOut**](BatchCorridorOut.md) + +### Authorization + +[api_key](../README.md#api_key) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **country** > PersonalNameGeoOut country(personal_name_full) diff --git a/docs/PersonalNameGenderedOut.md b/docs/PersonalNameGenderedOut.md index 2087d13..04c726f 100644 --- a/docs/PersonalNameGenderedOut.md +++ b/docs/PersonalNameGenderedOut.md @@ -3,12 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] **likely_gender** | **str** | Most likely gender | [optional] **gender_scale** | **float** | Compatibility to NamSor_v1 Gender Scale M[-1..U..+1]F value | [optional] **score** | **float** | | [optional] **probability_calibrated** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonalNameGeoOut.md b/docs/PersonalNameGeoOut.md index adf844f..150c829 100644 --- a/docs/PersonalNameGeoOut.md +++ b/docs/PersonalNameGeoOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] **score** | **float** | | [optional] @@ -14,6 +15,7 @@ Name | Type | Description | Notes **countries_top** | **list[str]** | List countries (top 10) | [optional] **probability_calibrated** | **float** | | [optional] **probability_alt_calibrated** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonalNameParsedOut.md b/docs/PersonalNameParsedOut.md index f23c2a9..63fa228 100644 --- a/docs/PersonalNameParsedOut.md +++ b/docs/PersonalNameParsedOut.md @@ -3,12 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] **name_parser_type** | **str** | | [optional] **name_parser_type_alt** | **str** | | [optional] **first_last_name** | [**FirstLastNameOut**](FirstLastNameOut.md) | | [optional] **score** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProperNounCategorizedOut.md b/docs/ProperNounCategorizedOut.md index 1b38fe5..49b9d73 100644 --- a/docs/ProperNounCategorizedOut.md +++ b/docs/ProperNounCategorizedOut.md @@ -3,11 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] **common_type** | **str** | | [optional] **common_type_alt** | **str** | | [optional] **score** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/RomanizedNameOut.md b/docs/RomanizedNameOut.md index 0f28597..8dcfaec 100644 --- a/docs/RomanizedNameOut.md +++ b/docs/RomanizedNameOut.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **str** | | [optional] **id** | **str** | | [optional] **latin_name** | **str** | | [optional] **original_name** | **str** | | [optional] @@ -11,6 +12,7 @@ Name | Type | Description | Notes **source_script** | **str** | | [optional] **target_script** | **str** | | [optional] **score** | **float** | | [optional] +**category** | **str** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/openapi_client/__init__.py b/openapi_client/__init__.py index 8824f8d..72ddadf 100644 --- a/openapi_client/__init__.py +++ b/openapi_client/__init__.py @@ -7,7 +7,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "2.0.11" +__version__ = "2.0.12" # import apis into sdk package from openapi_client.api.admin_api import AdminApi @@ -42,6 +42,8 @@ from openapi_client.models.api_service_out import APIServiceOut from openapi_client.models.api_services_out import APIServicesOut from openapi_client.models.api_usage_aggregated_out import APIUsageAggregatedOut +from openapi_client.models.batch_corridor_in import BatchCorridorIn +from openapi_client.models.batch_corridor_out import BatchCorridorOut from openapi_client.models.batch_first_last_name_diasporaed_out import BatchFirstLastNameDiasporaedOut from openapi_client.models.batch_first_last_name_gender_in import BatchFirstLastNameGenderIn from openapi_client.models.batch_first_last_name_gendered_out import BatchFirstLastNameGenderedOut @@ -54,6 +56,8 @@ from openapi_client.models.batch_first_last_name_phone_number_in import BatchFirstLastNamePhoneNumberIn from openapi_client.models.batch_first_last_name_us_race_ethnicity_out import BatchFirstLastNameUSRaceEthnicityOut from openapi_client.models.batch_match_personal_first_last_name_in import BatchMatchPersonalFirstLastNameIn +from openapi_client.models.batch_name_geo_in import BatchNameGeoIn +from openapi_client.models.batch_name_in import BatchNameIn from openapi_client.models.batch_name_match_candidates_out import BatchNameMatchCandidatesOut from openapi_client.models.batch_name_matched_out import BatchNameMatchedOut from openapi_client.models.batch_parsed_full_name_geo_in import BatchParsedFullNameGeoIn @@ -63,12 +67,14 @@ from openapi_client.models.batch_personal_name_geo_out import BatchPersonalNameGeoOut from openapi_client.models.batch_personal_name_in import BatchPersonalNameIn from openapi_client.models.batch_personal_name_parsed_out import BatchPersonalNameParsedOut +from openapi_client.models.batch_proper_noun_categorized_out import BatchProperNounCategorizedOut from openapi_client.models.billing_history_out import BillingHistoryOut from openapi_client.models.billing_info_in_out import BillingInfoInOut from openapi_client.models.cache_metrics_out import CacheMetricsOut from openapi_client.models.classifier_metrics_out import ClassifierMetricsOut +from openapi_client.models.corridor_in import CorridorIn +from openapi_client.models.corridor_out import CorridorOut from openapi_client.models.currencies_out import CurrenciesOut -from openapi_client.models.deploy_ui_out import DeployUIOut from openapi_client.models.expected_class_metrics_out import ExpectedClassMetricsOut from openapi_client.models.feedback_loop_out import FeedbackLoopOut from openapi_client.models.first_last_name_diasporaed_out import FirstLastNameDiasporaedOut @@ -88,6 +94,8 @@ from openapi_client.models.invoice_out import InvoiceOut from openapi_client.models.match_personal_first_last_name_in import MatchPersonalFirstLastNameIn from openapi_client.models.nam_sor_counter_out import NamSorCounterOut +from openapi_client.models.name_geo_in import NameGeoIn +from openapi_client.models.name_in import NameIn from openapi_client.models.name_match_candidate_out import NameMatchCandidateOut from openapi_client.models.name_match_candidates_out import NameMatchCandidatesOut from openapi_client.models.name_matched_out import NameMatchedOut diff --git a/openapi_client/api/admin_api.py b/openapi_client/api/admin_api.py index 0dcd164..a126702 100644 --- a/openapi_client/api/admin_api.py +++ b/openapi_client/api/admin_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -1947,178 +1947,6 @@ def procure_key_with_http_info(self, token, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def redeploy_ui(self, live, **kwargs): # noqa: E501 - """Redeploy UI from current dev branch. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.redeploy_ui(live, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param bool live: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.redeploy_ui_with_http_info(live, **kwargs) # noqa: E501 - else: - (data) = self.redeploy_ui_with_http_info(live, **kwargs) # noqa: E501 - return data - - def redeploy_ui_with_http_info(self, live, **kwargs): # noqa: E501 - """Redeploy UI from current dev branch. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.redeploy_ui_with_http_info(live, async_req=True) - >>> result = thread.get() - - :param async_req bool - :param bool live: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = ['live'] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method redeploy_ui" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - # verify the required parameter 'live' is set - if ('live' not in local_var_params or - local_var_params['live'] is None): - raise ValueError("Missing the required parameter `live` when calling `redeploy_ui`") # noqa: E501 - - collection_formats = {} - - path_params = {} - if 'live' in local_var_params: - path_params['live'] = local_var_params['live'] # noqa: E501 - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = ['api_key'] # noqa: E501 - - return self.api_client.call_api( - '/api2/json/redeployUI/{live}', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - - def redeploy_ui1(self, **kwargs): # noqa: E501 - """Redeploy UI from current dev branch. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.redeploy_ui1(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('async_req'): - return self.redeploy_ui1_with_http_info(**kwargs) # noqa: E501 - else: - (data) = self.redeploy_ui1_with_http_info(**kwargs) # noqa: E501 - return data - - def redeploy_ui1_with_http_info(self, **kwargs): # noqa: E501 - """Redeploy UI from current dev branch. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - >>> thread = api.redeploy_ui1_with_http_info(async_req=True) - >>> result = thread.get() - - :param async_req bool - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - local_var_params = locals() - - all_params = [] # noqa: E501 - all_params.append('async_req') - all_params.append('_return_http_data_only') - all_params.append('_preload_content') - all_params.append('_request_timeout') - - for key, val in six.iteritems(local_var_params['kwargs']): - if key not in all_params: - raise TypeError( - "Got an unexpected keyword argument '%s'" - " to method redeploy_ui1" % key - ) - local_var_params[key] = val - del local_var_params['kwargs'] - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - # Authentication setting - auth_settings = ['api_key'] # noqa: E501 - - return self.api_client.call_api( - '/api2/json/redeployUI', 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, # noqa: E501 - auth_settings=auth_settings, - async_req=local_var_params.get('async_req'), - _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 - _preload_content=local_var_params.get('_preload_content', True), - _request_timeout=local_var_params.get('_request_timeout'), - collection_formats=collection_formats) - def remove_user_account(self, token, **kwargs): # noqa: E501 """Remove the user account. # noqa: E501 diff --git a/openapi_client/api/chinese_api.py b/openapi_client/api/chinese_api.py index 479aeb0..796f6c4 100644 --- a/openapi_client/api/chinese_api.py +++ b/openapi_client/api/chinese_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/api/general_api.py b/openapi_client/api/general_api.py index 337e575..0349086 100644 --- a/openapi_client/api/general_api.py +++ b/openapi_client/api/general_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -127,12 +127,106 @@ def name_type_with_http_info(self, proper_noun, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def name_type1(self, proper_noun, country_iso2, **kwargs): # noqa: E501 + def name_type_batch(self, **kwargs): # noqa: E501 + """Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.name_type_batch(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param BatchNameIn batch_name_in: A list of proper names + :return: BatchProperNounCategorizedOut + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.name_type_batch_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.name_type_batch_with_http_info(**kwargs) # noqa: E501 + return data + + def name_type_batch_with_http_info(self, **kwargs): # noqa: E501 + """Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.name_type_batch_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param BatchNameIn batch_name_in: A list of proper names + :return: BatchProperNounCategorizedOut + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['batch_name_in'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method name_type_batch" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'batch_name_in' in local_var_params: + body_params = local_var_params['batch_name_in'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api2/json/nameTypeBatch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='BatchProperNounCategorizedOut', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def name_type_geo(self, proper_noun, country_iso2, **kwargs): # noqa: E501 """Infer the likely type of a proper noun (personal name, brand name, place name etc.) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.name_type1(proper_noun, country_iso2, async_req=True) + >>> thread = api.name_type_geo(proper_noun, country_iso2, async_req=True) >>> result = thread.get() :param async_req bool @@ -144,17 +238,17 @@ def name_type1(self, proper_noun, country_iso2, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.name_type1_with_http_info(proper_noun, country_iso2, **kwargs) # noqa: E501 + return self.name_type_geo_with_http_info(proper_noun, country_iso2, **kwargs) # noqa: E501 else: - (data) = self.name_type1_with_http_info(proper_noun, country_iso2, **kwargs) # noqa: E501 + (data) = self.name_type_geo_with_http_info(proper_noun, country_iso2, **kwargs) # noqa: E501 return data - def name_type1_with_http_info(self, proper_noun, country_iso2, **kwargs): # noqa: E501 + def name_type_geo_with_http_info(self, proper_noun, country_iso2, **kwargs): # noqa: E501 """Infer the likely type of a proper noun (personal name, brand name, place name etc.) # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.name_type1_with_http_info(proper_noun, country_iso2, async_req=True) + >>> thread = api.name_type_geo_with_http_info(proper_noun, country_iso2, async_req=True) >>> result = thread.get() :param async_req bool @@ -177,18 +271,18 @@ def name_type1_with_http_info(self, proper_noun, country_iso2, **kwargs): # noq if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method name_type1" % key + " to method name_type_geo" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'proper_noun' is set if ('proper_noun' not in local_var_params or local_var_params['proper_noun'] is None): - raise ValueError("Missing the required parameter `proper_noun` when calling `name_type1`") # noqa: E501 + raise ValueError("Missing the required parameter `proper_noun` when calling `name_type_geo`") # noqa: E501 # verify the required parameter 'country_iso2' is set if ('country_iso2' not in local_var_params or local_var_params['country_iso2'] is None): - raise ValueError("Missing the required parameter `country_iso2` when calling `name_type1`") # noqa: E501 + raise ValueError("Missing the required parameter `country_iso2` when calling `name_type_geo`") # noqa: E501 collection_formats = {} @@ -214,7 +308,7 @@ def name_type1_with_http_info(self, proper_noun, country_iso2, **kwargs): # noq auth_settings = ['api_key'] # noqa: E501 return self.api_client.call_api( - '/api2/json/nameType/{properNoun}/{countryIso2}', 'GET', + '/api2/json/nameTypeGeo/{properNoun}/{countryIso2}', 'GET', path_params, query_params, header_params, @@ -228,3 +322,97 @@ def name_type1_with_http_info(self, proper_noun, country_iso2, **kwargs): # noq _preload_content=local_var_params.get('_preload_content', True), _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + + def name_type_geo_batch(self, **kwargs): # noqa: E501 + """Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.name_type_geo_batch(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param BatchNameGeoIn batch_name_geo_in: A list of proper names + :return: BatchProperNounCategorizedOut + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.name_type_geo_batch_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.name_type_geo_batch_with_http_info(**kwargs) # noqa: E501 + return data + + def name_type_geo_batch_with_http_info(self, **kwargs): # noqa: E501 + """Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.name_type_geo_batch_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param BatchNameGeoIn batch_name_geo_in: A list of proper names + :return: BatchProperNounCategorizedOut + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['batch_name_geo_in'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method name_type_geo_batch" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'batch_name_geo_in' in local_var_params: + body_params = local_var_params['batch_name_geo_in'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api2/json/nameTypeGeoBatch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='BatchProperNounCategorizedOut', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openapi_client/api/japanese_api.py b/openapi_client/api/japanese_api.py index e4b4104..96ef44f 100644 --- a/openapi_client/api/japanese_api.py +++ b/openapi_client/api/japanese_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/api/personal_api.py b/openapi_client/api/personal_api.py index 5380bdd..9d9adcc 100644 --- a/openapi_client/api/personal_api.py +++ b/openapi_client/api/personal_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -33,6 +33,234 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def corridor(self, country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to, **kwargs): # noqa: E501 + """[USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.corridor(country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str country_iso2_from: (required) + :param str first_name_from: (required) + :param str last_name_from: (required) + :param str country_iso2_to: (required) + :param str first_name_to: (required) + :param str last_name_to: (required) + :return: CorridorOut + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.corridor_with_http_info(country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to, **kwargs) # noqa: E501 + else: + (data) = self.corridor_with_http_info(country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to, **kwargs) # noqa: E501 + return data + + def corridor_with_http_info(self, country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to, **kwargs): # noqa: E501 + """[USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.corridor_with_http_info(country_iso2_from, first_name_from, last_name_from, country_iso2_to, first_name_to, last_name_to, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str country_iso2_from: (required) + :param str first_name_from: (required) + :param str last_name_from: (required) + :param str country_iso2_to: (required) + :param str first_name_to: (required) + :param str last_name_to: (required) + :return: CorridorOut + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['country_iso2_from', 'first_name_from', 'last_name_from', 'country_iso2_to', 'first_name_to', 'last_name_to'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method corridor" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'country_iso2_from' is set + if ('country_iso2_from' not in local_var_params or + local_var_params['country_iso2_from'] is None): + raise ValueError("Missing the required parameter `country_iso2_from` when calling `corridor`") # noqa: E501 + # verify the required parameter 'first_name_from' is set + if ('first_name_from' not in local_var_params or + local_var_params['first_name_from'] is None): + raise ValueError("Missing the required parameter `first_name_from` when calling `corridor`") # noqa: E501 + # verify the required parameter 'last_name_from' is set + if ('last_name_from' not in local_var_params or + local_var_params['last_name_from'] is None): + raise ValueError("Missing the required parameter `last_name_from` when calling `corridor`") # noqa: E501 + # verify the required parameter 'country_iso2_to' is set + if ('country_iso2_to' not in local_var_params or + local_var_params['country_iso2_to'] is None): + raise ValueError("Missing the required parameter `country_iso2_to` when calling `corridor`") # noqa: E501 + # verify the required parameter 'first_name_to' is set + if ('first_name_to' not in local_var_params or + local_var_params['first_name_to'] is None): + raise ValueError("Missing the required parameter `first_name_to` when calling `corridor`") # noqa: E501 + # verify the required parameter 'last_name_to' is set + if ('last_name_to' not in local_var_params or + local_var_params['last_name_to'] is None): + raise ValueError("Missing the required parameter `last_name_to` when calling `corridor`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'country_iso2_from' in local_var_params: + path_params['countryIso2From'] = local_var_params['country_iso2_from'] # noqa: E501 + if 'first_name_from' in local_var_params: + path_params['firstNameFrom'] = local_var_params['first_name_from'] # noqa: E501 + if 'last_name_from' in local_var_params: + path_params['lastNameFrom'] = local_var_params['last_name_from'] # noqa: E501 + if 'country_iso2_to' in local_var_params: + path_params['countryIso2To'] = local_var_params['country_iso2_to'] # noqa: E501 + if 'first_name_to' in local_var_params: + path_params['firstNameTo'] = local_var_params['first_name_to'] # noqa: E501 + if 'last_name_to' in local_var_params: + path_params['lastNameTo'] = local_var_params['last_name_to'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api2/json/corridor/{countryIso2From}/{firstNameFrom}/{lastNameFrom}/{countryIso2To}/{firstNameTo}/{lastNameTo}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='CorridorOut', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def corridor_batch(self, **kwargs): # noqa: E501 + """[USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.corridor_batch(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param BatchCorridorIn batch_corridor_in: A list of name pairs, with country code (nameFrom -> nameTo). + :return: BatchCorridorOut + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.corridor_batch_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.corridor_batch_with_http_info(**kwargs) # noqa: E501 + return data + + def corridor_batch_with_http_info(self, **kwargs): # noqa: E501 + """[USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.corridor_batch_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param BatchCorridorIn batch_corridor_in: A list of name pairs, with country code (nameFrom -> nameTo). + :return: BatchCorridorOut + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['batch_corridor_in'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method corridor_batch" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'batch_corridor_in' in local_var_params: + body_params = local_var_params['batch_corridor_in'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['api_key'] # noqa: E501 + + return self.api_client.call_api( + '/api2/json/corridorBatch', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='BatchCorridorOut', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def country(self, personal_name_full, **kwargs): # noqa: E501 """[USES 10 UNITS PER NAME] Infer the likely country of residence of a personal full name, or one surname. Assumes names as they are in the country of residence OR the country of origin. # noqa: E501 diff --git a/openapi_client/api/social_api.py b/openapi_client/api/social_api.py index 0c4a776..5688b11 100644 --- a/openapi_client/api/social_api.py +++ b/openapi_client/api/social_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/api_client.py b/openapi_client/api_client.py index d211b05..0099018 100644 --- a/openapi_client/api_client.py +++ b/openapi_client/api_client.py @@ -4,7 +4,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/2.0.11/python' + self.user_agent = 'OpenAPI-Generator/2.0.12/python' def __del__(self): if self._pool: diff --git a/openapi_client/configuration.py b/openapi_client/configuration.py index be9452a..2186c47 100644 --- a/openapi_client/configuration.py +++ b/openapi_client/configuration.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -231,6 +231,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 2.0.11\n"\ - "SDK Package Version: 2.0.11".\ + "Version of the API: 2.0.12\n"\ + "SDK Package Version: 2.0.12".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openapi_client/models/__init__.py b/openapi_client/models/__init__.py index 26b5536..9b787a9 100644 --- a/openapi_client/models/__init__.py +++ b/openapi_client/models/__init__.py @@ -6,7 +6,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -28,6 +28,8 @@ from openapi_client.models.api_service_out import APIServiceOut from openapi_client.models.api_services_out import APIServicesOut from openapi_client.models.api_usage_aggregated_out import APIUsageAggregatedOut +from openapi_client.models.batch_corridor_in import BatchCorridorIn +from openapi_client.models.batch_corridor_out import BatchCorridorOut from openapi_client.models.batch_first_last_name_diasporaed_out import BatchFirstLastNameDiasporaedOut from openapi_client.models.batch_first_last_name_gender_in import BatchFirstLastNameGenderIn from openapi_client.models.batch_first_last_name_gendered_out import BatchFirstLastNameGenderedOut @@ -40,6 +42,8 @@ from openapi_client.models.batch_first_last_name_phone_number_in import BatchFirstLastNamePhoneNumberIn from openapi_client.models.batch_first_last_name_us_race_ethnicity_out import BatchFirstLastNameUSRaceEthnicityOut from openapi_client.models.batch_match_personal_first_last_name_in import BatchMatchPersonalFirstLastNameIn +from openapi_client.models.batch_name_geo_in import BatchNameGeoIn +from openapi_client.models.batch_name_in import BatchNameIn from openapi_client.models.batch_name_match_candidates_out import BatchNameMatchCandidatesOut from openapi_client.models.batch_name_matched_out import BatchNameMatchedOut from openapi_client.models.batch_parsed_full_name_geo_in import BatchParsedFullNameGeoIn @@ -49,12 +53,14 @@ from openapi_client.models.batch_personal_name_geo_out import BatchPersonalNameGeoOut from openapi_client.models.batch_personal_name_in import BatchPersonalNameIn from openapi_client.models.batch_personal_name_parsed_out import BatchPersonalNameParsedOut +from openapi_client.models.batch_proper_noun_categorized_out import BatchProperNounCategorizedOut from openapi_client.models.billing_history_out import BillingHistoryOut from openapi_client.models.billing_info_in_out import BillingInfoInOut from openapi_client.models.cache_metrics_out import CacheMetricsOut from openapi_client.models.classifier_metrics_out import ClassifierMetricsOut +from openapi_client.models.corridor_in import CorridorIn +from openapi_client.models.corridor_out import CorridorOut from openapi_client.models.currencies_out import CurrenciesOut -from openapi_client.models.deploy_ui_out import DeployUIOut from openapi_client.models.expected_class_metrics_out import ExpectedClassMetricsOut from openapi_client.models.feedback_loop_out import FeedbackLoopOut from openapi_client.models.first_last_name_diasporaed_out import FirstLastNameDiasporaedOut @@ -74,6 +80,8 @@ from openapi_client.models.invoice_out import InvoiceOut from openapi_client.models.match_personal_first_last_name_in import MatchPersonalFirstLastNameIn from openapi_client.models.nam_sor_counter_out import NamSorCounterOut +from openapi_client.models.name_geo_in import NameGeoIn +from openapi_client.models.name_in import NameIn from openapi_client.models.name_match_candidate_out import NameMatchCandidateOut from openapi_client.models.name_match_candidates_out import NameMatchCandidatesOut from openapi_client.models.name_matched_out import NameMatchedOut diff --git a/openapi_client/models/api_billing_period_usage_out.py b/openapi_client/models/api_billing_period_usage_out.py index c1ed8ab..19d905c 100644 --- a/openapi_client/models/api_billing_period_usage_out.py +++ b/openapi_client/models/api_billing_period_usage_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_classifier_out.py b/openapi_client/models/api_classifier_out.py index 2953563..e2ea569 100644 --- a/openapi_client/models/api_classifier_out.py +++ b/openapi_client/models/api_classifier_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_classifier_taxonomy_out.py b/openapi_client/models/api_classifier_taxonomy_out.py index 4ba030f..7915aa3 100644 --- a/openapi_client/models/api_classifier_taxonomy_out.py +++ b/openapi_client/models/api_classifier_taxonomy_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_classifiers_status_out.py b/openapi_client/models/api_classifiers_status_out.py index 0297e95..0710b74 100644 --- a/openapi_client/models/api_classifiers_status_out.py +++ b/openapi_client/models/api_classifiers_status_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_counter_v2_out.py b/openapi_client/models/api_counter_v2_out.py index e4c3357..b177a9d 100644 --- a/openapi_client/models/api_counter_v2_out.py +++ b/openapi_client/models/api_counter_v2_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_key_out.py b/openapi_client/models/api_key_out.py index a664f40..a492646 100644 --- a/openapi_client/models/api_key_out.py +++ b/openapi_client/models/api_key_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_period_usage_out.py b/openapi_client/models/api_period_usage_out.py index 669636f..31bafa5 100644 --- a/openapi_client/models/api_period_usage_out.py +++ b/openapi_client/models/api_period_usage_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_plan_out.py b/openapi_client/models/api_plan_out.py index d7bea1d..bfa280b 100644 --- a/openapi_client/models/api_plan_out.py +++ b/openapi_client/models/api_plan_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_plan_subscription_out.py b/openapi_client/models/api_plan_subscription_out.py index fdddfd0..dc7b729 100644 --- a/openapi_client/models/api_plan_subscription_out.py +++ b/openapi_client/models/api_plan_subscription_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_plans_out.py b/openapi_client/models/api_plans_out.py index 17bc693..25a63a7 100644 --- a/openapi_client/models/api_plans_out.py +++ b/openapi_client/models/api_plans_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_service_out.py b/openapi_client/models/api_service_out.py index 7946178..c2392fe 100644 --- a/openapi_client/models/api_service_out.py +++ b/openapi_client/models/api_service_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_services_out.py b/openapi_client/models/api_services_out.py index d6d812e..9d942b5 100644 --- a/openapi_client/models/api_services_out.py +++ b/openapi_client/models/api_services_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/api_usage_aggregated_out.py b/openapi_client/models/api_usage_aggregated_out.py index b5204d6..2921917 100644 --- a/openapi_client/models/api_usage_aggregated_out.py +++ b/openapi_client/models/api_usage_aggregated_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_corridor_in.py b/openapi_client/models/batch_corridor_in.py new file mode 100644 index 0000000..3609a7c --- /dev/null +++ b/openapi_client/models/batch_corridor_in.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class BatchCorridorIn(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'corridor_from_to': 'list[CorridorIn]' + } + + attribute_map = { + 'corridor_from_to': 'corridorFromTo' + } + + def __init__(self, corridor_from_to=None): # noqa: E501 + """BatchCorridorIn - a model defined in OpenAPI""" # noqa: E501 + + self._corridor_from_to = None + self.discriminator = None + + if corridor_from_to is not None: + self.corridor_from_to = corridor_from_to + + @property + def corridor_from_to(self): + """Gets the corridor_from_to of this BatchCorridorIn. # noqa: E501 + + + :return: The corridor_from_to of this BatchCorridorIn. # noqa: E501 + :rtype: list[CorridorIn] + """ + return self._corridor_from_to + + @corridor_from_to.setter + def corridor_from_to(self, corridor_from_to): + """Sets the corridor_from_to of this BatchCorridorIn. + + + :param corridor_from_to: The corridor_from_to of this BatchCorridorIn. # noqa: E501 + :type: list[CorridorIn] + """ + + self._corridor_from_to = corridor_from_to + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BatchCorridorIn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/batch_corridor_out.py b/openapi_client/models/batch_corridor_out.py new file mode 100644 index 0000000..373c55e --- /dev/null +++ b/openapi_client/models/batch_corridor_out.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class BatchCorridorOut(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'corridor_from_to': 'list[CorridorOut]' + } + + attribute_map = { + 'corridor_from_to': 'corridorFromTo' + } + + def __init__(self, corridor_from_to=None): # noqa: E501 + """BatchCorridorOut - a model defined in OpenAPI""" # noqa: E501 + + self._corridor_from_to = None + self.discriminator = None + + if corridor_from_to is not None: + self.corridor_from_to = corridor_from_to + + @property + def corridor_from_to(self): + """Gets the corridor_from_to of this BatchCorridorOut. # noqa: E501 + + + :return: The corridor_from_to of this BatchCorridorOut. # noqa: E501 + :rtype: list[CorridorOut] + """ + return self._corridor_from_to + + @corridor_from_to.setter + def corridor_from_to(self, corridor_from_to): + """Sets the corridor_from_to of this BatchCorridorOut. + + + :param corridor_from_to: The corridor_from_to of this BatchCorridorOut. # noqa: E501 + :type: list[CorridorOut] + """ + + self._corridor_from_to = corridor_from_to + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BatchCorridorOut): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/batch_first_last_name_diasporaed_out.py b/openapi_client/models/batch_first_last_name_diasporaed_out.py index e2267ad..29ba18e 100644 --- a/openapi_client/models/batch_first_last_name_diasporaed_out.py +++ b/openapi_client/models/batch_first_last_name_diasporaed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_gender_in.py b/openapi_client/models/batch_first_last_name_gender_in.py index 382ce48..d553315 100644 --- a/openapi_client/models/batch_first_last_name_gender_in.py +++ b/openapi_client/models/batch_first_last_name_gender_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_gendered_out.py b/openapi_client/models/batch_first_last_name_gendered_out.py index e495196..f6b22dc 100644 --- a/openapi_client/models/batch_first_last_name_gendered_out.py +++ b/openapi_client/models/batch_first_last_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_geo_in.py b/openapi_client/models/batch_first_last_name_geo_in.py index 1b91a42..5df184b 100644 --- a/openapi_client/models/batch_first_last_name_geo_in.py +++ b/openapi_client/models/batch_first_last_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_geo_zipped_in.py b/openapi_client/models/batch_first_last_name_geo_zipped_in.py index b804b78..9dbc4fc 100644 --- a/openapi_client/models/batch_first_last_name_geo_zipped_in.py +++ b/openapi_client/models/batch_first_last_name_geo_zipped_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_in.py b/openapi_client/models/batch_first_last_name_in.py index dcbd613..8f3826d 100644 --- a/openapi_client/models/batch_first_last_name_in.py +++ b/openapi_client/models/batch_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_origined_out.py b/openapi_client/models/batch_first_last_name_origined_out.py index 640cef6..074ba9e 100644 --- a/openapi_client/models/batch_first_last_name_origined_out.py +++ b/openapi_client/models/batch_first_last_name_origined_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_phone_coded_out.py b/openapi_client/models/batch_first_last_name_phone_coded_out.py index 6dae652..836f778 100644 --- a/openapi_client/models/batch_first_last_name_phone_coded_out.py +++ b/openapi_client/models/batch_first_last_name_phone_coded_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_phone_number_geo_in.py b/openapi_client/models/batch_first_last_name_phone_number_geo_in.py index cc586a3..202a7b1 100644 --- a/openapi_client/models/batch_first_last_name_phone_number_geo_in.py +++ b/openapi_client/models/batch_first_last_name_phone_number_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_phone_number_in.py b/openapi_client/models/batch_first_last_name_phone_number_in.py index d99b70f..e0bc9f7 100644 --- a/openapi_client/models/batch_first_last_name_phone_number_in.py +++ b/openapi_client/models/batch_first_last_name_phone_number_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_first_last_name_us_race_ethnicity_out.py b/openapi_client/models/batch_first_last_name_us_race_ethnicity_out.py index 65f32ac..4b404fc 100644 --- a/openapi_client/models/batch_first_last_name_us_race_ethnicity_out.py +++ b/openapi_client/models/batch_first_last_name_us_race_ethnicity_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_match_personal_first_last_name_in.py b/openapi_client/models/batch_match_personal_first_last_name_in.py index d71d996..1781b18 100644 --- a/openapi_client/models/batch_match_personal_first_last_name_in.py +++ b/openapi_client/models/batch_match_personal_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_name_geo_in.py b/openapi_client/models/batch_name_geo_in.py new file mode 100644 index 0000000..53e2c75 --- /dev/null +++ b/openapi_client/models/batch_name_geo_in.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class BatchNameGeoIn(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'proper_nouns': 'list[NameGeoIn]' + } + + attribute_map = { + 'proper_nouns': 'properNouns' + } + + def __init__(self, proper_nouns=None): # noqa: E501 + """BatchNameGeoIn - a model defined in OpenAPI""" # noqa: E501 + + self._proper_nouns = None + self.discriminator = None + + if proper_nouns is not None: + self.proper_nouns = proper_nouns + + @property + def proper_nouns(self): + """Gets the proper_nouns of this BatchNameGeoIn. # noqa: E501 + + + :return: The proper_nouns of this BatchNameGeoIn. # noqa: E501 + :rtype: list[NameGeoIn] + """ + return self._proper_nouns + + @proper_nouns.setter + def proper_nouns(self, proper_nouns): + """Sets the proper_nouns of this BatchNameGeoIn. + + + :param proper_nouns: The proper_nouns of this BatchNameGeoIn. # noqa: E501 + :type: list[NameGeoIn] + """ + + self._proper_nouns = proper_nouns + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BatchNameGeoIn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/batch_name_in.py b/openapi_client/models/batch_name_in.py new file mode 100644 index 0000000..1f5718d --- /dev/null +++ b/openapi_client/models/batch_name_in.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class BatchNameIn(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'proper_nouns': 'list[NameIn]' + } + + attribute_map = { + 'proper_nouns': 'properNouns' + } + + def __init__(self, proper_nouns=None): # noqa: E501 + """BatchNameIn - a model defined in OpenAPI""" # noqa: E501 + + self._proper_nouns = None + self.discriminator = None + + if proper_nouns is not None: + self.proper_nouns = proper_nouns + + @property + def proper_nouns(self): + """Gets the proper_nouns of this BatchNameIn. # noqa: E501 + + + :return: The proper_nouns of this BatchNameIn. # noqa: E501 + :rtype: list[NameIn] + """ + return self._proper_nouns + + @proper_nouns.setter + def proper_nouns(self, proper_nouns): + """Sets the proper_nouns of this BatchNameIn. + + + :param proper_nouns: The proper_nouns of this BatchNameIn. # noqa: E501 + :type: list[NameIn] + """ + + self._proper_nouns = proper_nouns + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BatchNameIn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/batch_name_match_candidates_out.py b/openapi_client/models/batch_name_match_candidates_out.py index 14a640d..399b105 100644 --- a/openapi_client/models/batch_name_match_candidates_out.py +++ b/openapi_client/models/batch_name_match_candidates_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_name_matched_out.py b/openapi_client/models/batch_name_matched_out.py index 2b2d9ac..2c35dd4 100644 --- a/openapi_client/models/batch_name_matched_out.py +++ b/openapi_client/models/batch_name_matched_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_parsed_full_name_geo_in.py b/openapi_client/models/batch_parsed_full_name_geo_in.py index a2062b3..5d80964 100644 --- a/openapi_client/models/batch_parsed_full_name_geo_in.py +++ b/openapi_client/models/batch_parsed_full_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_parsed_full_name_in.py b/openapi_client/models/batch_parsed_full_name_in.py index 879cdb9..7463e74 100644 --- a/openapi_client/models/batch_parsed_full_name_in.py +++ b/openapi_client/models/batch_parsed_full_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_personal_name_gendered_out.py b/openapi_client/models/batch_personal_name_gendered_out.py index 5d03c6b..93a8dc7 100644 --- a/openapi_client/models/batch_personal_name_gendered_out.py +++ b/openapi_client/models/batch_personal_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_personal_name_geo_in.py b/openapi_client/models/batch_personal_name_geo_in.py index 6eba58b..e022f0e 100644 --- a/openapi_client/models/batch_personal_name_geo_in.py +++ b/openapi_client/models/batch_personal_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_personal_name_geo_out.py b/openapi_client/models/batch_personal_name_geo_out.py index c92eac2..42643b8 100644 --- a/openapi_client/models/batch_personal_name_geo_out.py +++ b/openapi_client/models/batch_personal_name_geo_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_personal_name_in.py b/openapi_client/models/batch_personal_name_in.py index d868cb9..150dc3c 100644 --- a/openapi_client/models/batch_personal_name_in.py +++ b/openapi_client/models/batch_personal_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_personal_name_parsed_out.py b/openapi_client/models/batch_personal_name_parsed_out.py index 471178a..b109876 100644 --- a/openapi_client/models/batch_personal_name_parsed_out.py +++ b/openapi_client/models/batch_personal_name_parsed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/batch_proper_noun_categorized_out.py b/openapi_client/models/batch_proper_noun_categorized_out.py new file mode 100644 index 0000000..bf03d41 --- /dev/null +++ b/openapi_client/models/batch_proper_noun_categorized_out.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class BatchProperNounCategorizedOut(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'proper_nouns': 'list[ProperNounCategorizedOut]' + } + + attribute_map = { + 'proper_nouns': 'properNouns' + } + + def __init__(self, proper_nouns=None): # noqa: E501 + """BatchProperNounCategorizedOut - a model defined in OpenAPI""" # noqa: E501 + + self._proper_nouns = None + self.discriminator = None + + if proper_nouns is not None: + self.proper_nouns = proper_nouns + + @property + def proper_nouns(self): + """Gets the proper_nouns of this BatchProperNounCategorizedOut. # noqa: E501 + + + :return: The proper_nouns of this BatchProperNounCategorizedOut. # noqa: E501 + :rtype: list[ProperNounCategorizedOut] + """ + return self._proper_nouns + + @proper_nouns.setter + def proper_nouns(self, proper_nouns): + """Sets the proper_nouns of this BatchProperNounCategorizedOut. + + + :param proper_nouns: The proper_nouns of this BatchProperNounCategorizedOut. # noqa: E501 + :type: list[ProperNounCategorizedOut] + """ + + self._proper_nouns = proper_nouns + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, BatchProperNounCategorizedOut): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/billing_history_out.py b/openapi_client/models/billing_history_out.py index dd64b9d..1892f3a 100644 --- a/openapi_client/models/billing_history_out.py +++ b/openapi_client/models/billing_history_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/billing_info_in_out.py b/openapi_client/models/billing_info_in_out.py index 13830e7..f226532 100644 --- a/openapi_client/models/billing_info_in_out.py +++ b/openapi_client/models/billing_info_in_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/cache_metrics_out.py b/openapi_client/models/cache_metrics_out.py index 14ef23c..c05f406 100644 --- a/openapi_client/models/cache_metrics_out.py +++ b/openapi_client/models/cache_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/classifier_metrics_out.py b/openapi_client/models/classifier_metrics_out.py index b9e5552..eb66ab6 100644 --- a/openapi_client/models/classifier_metrics_out.py +++ b/openapi_client/models/classifier_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/corridor_in.py b/openapi_client/models/corridor_in.py new file mode 100644 index 0000000..6d7ba6c --- /dev/null +++ b/openapi_client/models/corridor_in.py @@ -0,0 +1,165 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CorridorIn(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'first_last_name_geo_from': 'FirstLastNameGeoIn', + 'first_last_name_geo_to': 'FirstLastNameGeoIn' + } + + attribute_map = { + 'id': 'id', + 'first_last_name_geo_from': 'firstLastNameGeoFrom', + 'first_last_name_geo_to': 'firstLastNameGeoTo' + } + + def __init__(self, id=None, first_last_name_geo_from=None, first_last_name_geo_to=None): # noqa: E501 + """CorridorIn - a model defined in OpenAPI""" # noqa: E501 + + self._id = None + self._first_last_name_geo_from = None + self._first_last_name_geo_to = None + self.discriminator = None + + if id is not None: + self.id = id + if first_last_name_geo_from is not None: + self.first_last_name_geo_from = first_last_name_geo_from + if first_last_name_geo_to is not None: + self.first_last_name_geo_to = first_last_name_geo_to + + @property + def id(self): + """Gets the id of this CorridorIn. # noqa: E501 + + + :return: The id of this CorridorIn. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CorridorIn. + + + :param id: The id of this CorridorIn. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def first_last_name_geo_from(self): + """Gets the first_last_name_geo_from of this CorridorIn. # noqa: E501 + + + :return: The first_last_name_geo_from of this CorridorIn. # noqa: E501 + :rtype: FirstLastNameGeoIn + """ + return self._first_last_name_geo_from + + @first_last_name_geo_from.setter + def first_last_name_geo_from(self, first_last_name_geo_from): + """Sets the first_last_name_geo_from of this CorridorIn. + + + :param first_last_name_geo_from: The first_last_name_geo_from of this CorridorIn. # noqa: E501 + :type: FirstLastNameGeoIn + """ + + self._first_last_name_geo_from = first_last_name_geo_from + + @property + def first_last_name_geo_to(self): + """Gets the first_last_name_geo_to of this CorridorIn. # noqa: E501 + + + :return: The first_last_name_geo_to of this CorridorIn. # noqa: E501 + :rtype: FirstLastNameGeoIn + """ + return self._first_last_name_geo_to + + @first_last_name_geo_to.setter + def first_last_name_geo_to(self, first_last_name_geo_to): + """Sets the first_last_name_geo_to of this CorridorIn. + + + :param first_last_name_geo_to: The first_last_name_geo_to of this CorridorIn. # noqa: E501 + :type: FirstLastNameGeoIn + """ + + self._first_last_name_geo_to = first_last_name_geo_to + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CorridorIn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/corridor_out.py b/openapi_client/models/corridor_out.py new file mode 100644 index 0000000..3900307 --- /dev/null +++ b/openapi_client/models/corridor_out.py @@ -0,0 +1,243 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class CorridorOut(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'first_last_name_gendered_out': 'FirstLastNameGenderedOut', + 'first_last_name_origined_out': 'FirstLastNameOriginedOut', + 'first_last_name_diasporaed_out': 'FirstLastNameDiasporaedOut', + 'script': 'str', + 'category': 'str' + } + + attribute_map = { + 'id': 'id', + 'first_last_name_gendered_out': 'FirstLastNameGenderedOut', + 'first_last_name_origined_out': 'FirstLastNameOriginedOut', + 'first_last_name_diasporaed_out': 'FirstLastNameDiasporaedOut', + 'script': 'script', + 'category': 'category' + } + + def __init__(self, id=None, first_last_name_gendered_out=None, first_last_name_origined_out=None, first_last_name_diasporaed_out=None, script=None, category=None): # noqa: E501 + """CorridorOut - a model defined in OpenAPI""" # noqa: E501 + + self._id = None + self._first_last_name_gendered_out = None + self._first_last_name_origined_out = None + self._first_last_name_diasporaed_out = None + self._script = None + self._category = None + self.discriminator = None + + if id is not None: + self.id = id + if first_last_name_gendered_out is not None: + self.first_last_name_gendered_out = first_last_name_gendered_out + if first_last_name_origined_out is not None: + self.first_last_name_origined_out = first_last_name_origined_out + if first_last_name_diasporaed_out is not None: + self.first_last_name_diasporaed_out = first_last_name_diasporaed_out + if script is not None: + self.script = script + if category is not None: + self.category = category + + @property + def id(self): + """Gets the id of this CorridorOut. # noqa: E501 + + + :return: The id of this CorridorOut. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this CorridorOut. + + + :param id: The id of this CorridorOut. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def first_last_name_gendered_out(self): + """Gets the first_last_name_gendered_out of this CorridorOut. # noqa: E501 + + + :return: The first_last_name_gendered_out of this CorridorOut. # noqa: E501 + :rtype: FirstLastNameGenderedOut + """ + return self._first_last_name_gendered_out + + @first_last_name_gendered_out.setter + def first_last_name_gendered_out(self, first_last_name_gendered_out): + """Sets the first_last_name_gendered_out of this CorridorOut. + + + :param first_last_name_gendered_out: The first_last_name_gendered_out of this CorridorOut. # noqa: E501 + :type: FirstLastNameGenderedOut + """ + + self._first_last_name_gendered_out = first_last_name_gendered_out + + @property + def first_last_name_origined_out(self): + """Gets the first_last_name_origined_out of this CorridorOut. # noqa: E501 + + + :return: The first_last_name_origined_out of this CorridorOut. # noqa: E501 + :rtype: FirstLastNameOriginedOut + """ + return self._first_last_name_origined_out + + @first_last_name_origined_out.setter + def first_last_name_origined_out(self, first_last_name_origined_out): + """Sets the first_last_name_origined_out of this CorridorOut. + + + :param first_last_name_origined_out: The first_last_name_origined_out of this CorridorOut. # noqa: E501 + :type: FirstLastNameOriginedOut + """ + + self._first_last_name_origined_out = first_last_name_origined_out + + @property + def first_last_name_diasporaed_out(self): + """Gets the first_last_name_diasporaed_out of this CorridorOut. # noqa: E501 + + + :return: The first_last_name_diasporaed_out of this CorridorOut. # noqa: E501 + :rtype: FirstLastNameDiasporaedOut + """ + return self._first_last_name_diasporaed_out + + @first_last_name_diasporaed_out.setter + def first_last_name_diasporaed_out(self, first_last_name_diasporaed_out): + """Sets the first_last_name_diasporaed_out of this CorridorOut. + + + :param first_last_name_diasporaed_out: The first_last_name_diasporaed_out of this CorridorOut. # noqa: E501 + :type: FirstLastNameDiasporaedOut + """ + + self._first_last_name_diasporaed_out = first_last_name_diasporaed_out + + @property + def script(self): + """Gets the script of this CorridorOut. # noqa: E501 + + + :return: The script of this CorridorOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this CorridorOut. + + + :param script: The script of this CorridorOut. # noqa: E501 + :type: str + """ + + self._script = script + + @property + def category(self): + """Gets the category of this CorridorOut. # noqa: E501 + + + :return: The category of this CorridorOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this CorridorOut. + + + :param category: The category of this CorridorOut. # noqa: E501 + :type: str + """ + + self._category = category + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, CorridorOut): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/currencies_out.py b/openapi_client/models/currencies_out.py index 1595832..519b3d3 100644 --- a/openapi_client/models/currencies_out.py +++ b/openapi_client/models/currencies_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/expected_class_metrics_out.py b/openapi_client/models/expected_class_metrics_out.py index 9f7064b..481cd10 100644 --- a/openapi_client/models/expected_class_metrics_out.py +++ b/openapi_client/models/expected_class_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/feedback_loop_out.py b/openapi_client/models/feedback_loop_out.py index e4b653a..deaddef 100644 --- a/openapi_client/models/feedback_loop_out.py +++ b/openapi_client/models/feedback_loop_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_diasporaed_out.py b/openapi_client/models/first_last_name_diasporaed_out.py index bd75ece..9775c73 100644 --- a/openapi_client/models/first_last_name_diasporaed_out.py +++ b/openapi_client/models/first_last_name_diasporaed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,6 +32,7 @@ class FirstLastNameDiasporaedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', 'last_name': 'str', @@ -40,10 +41,12 @@ class FirstLastNameDiasporaedOut(object): 'ethnicity': 'str', 'lifted': 'bool', 'country_iso2': 'str', - 'ethnicities_top': 'list[str]' + 'ethnicities_top': 'list[str]', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', 'last_name': 'lastName', @@ -52,12 +55,14 @@ class FirstLastNameDiasporaedOut(object): 'ethnicity': 'ethnicity', 'lifted': 'lifted', 'country_iso2': 'countryIso2', - 'ethnicities_top': 'ethnicitiesTop' + 'ethnicities_top': 'ethnicitiesTop', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None, score=None, ethnicity_alt=None, ethnicity=None, lifted=None, country_iso2=None, ethnicities_top=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, score=None, ethnicity_alt=None, ethnicity=None, lifted=None, country_iso2=None, ethnicities_top=None, category=None): # noqa: E501 """FirstLastNameDiasporaedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None @@ -67,8 +72,11 @@ def __init__(self, id=None, first_name=None, last_name=None, score=None, ethnici self._lifted = None self._country_iso2 = None self._ethnicities_top = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: @@ -87,6 +95,29 @@ def __init__(self, id=None, first_name=None, last_name=None, score=None, ethnici self.country_iso2 = country_iso2 if ethnicities_top is not None: self.ethnicities_top = ethnicities_top + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this FirstLastNameDiasporaedOut. # noqa: E501 + + + :return: The script of this FirstLastNameDiasporaedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this FirstLastNameDiasporaedOut. + + + :param script: The script of this FirstLastNameDiasporaedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -281,6 +312,27 @@ def ethnicities_top(self, ethnicities_top): self._ethnicities_top = ethnicities_top + @property + def category(self): + """Gets the category of this FirstLastNameDiasporaedOut. # noqa: E501 + + + :return: The category of this FirstLastNameDiasporaedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FirstLastNameDiasporaedOut. + + + :param category: The category of this FirstLastNameDiasporaedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/first_last_name_gender_in.py b/openapi_client/models/first_last_name_gender_in.py index b5867b9..eafc122 100644 --- a/openapi_client/models/first_last_name_gender_in.py +++ b/openapi_client/models/first_last_name_gender_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_gendered_out.py b/openapi_client/models/first_last_name_gendered_out.py index fc60b3a..f1ef2e9 100644 --- a/openapi_client/models/first_last_name_gendered_out.py +++ b/openapi_client/models/first_last_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,28 +32,33 @@ class FirstLastNameGenderedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', 'last_name': 'str', 'likely_gender': 'str', 'gender_scale': 'float', 'score': 'float', - 'probability_calibrated': 'float' + 'probability_calibrated': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', 'last_name': 'lastName', 'likely_gender': 'likelyGender', 'gender_scale': 'genderScale', 'score': 'score', - 'probability_calibrated': 'probabilityCalibrated' + 'probability_calibrated': 'probabilityCalibrated', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None, likely_gender=None, gender_scale=None, score=None, probability_calibrated=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, likely_gender=None, gender_scale=None, score=None, probability_calibrated=None, category=None): # noqa: E501 """FirstLastNameGenderedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None @@ -61,8 +66,11 @@ def __init__(self, id=None, first_name=None, last_name=None, likely_gender=None, self._gender_scale = None self._score = None self._probability_calibrated = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: @@ -77,6 +85,29 @@ def __init__(self, id=None, first_name=None, last_name=None, likely_gender=None, self.score = score if probability_calibrated is not None: self.probability_calibrated = probability_calibrated + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this FirstLastNameGenderedOut. # noqa: E501 + + + :return: The script of this FirstLastNameGenderedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this FirstLastNameGenderedOut. + + + :param script: The script of this FirstLastNameGenderedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -235,6 +266,27 @@ def probability_calibrated(self, probability_calibrated): self._probability_calibrated = probability_calibrated + @property + def category(self): + """Gets the category of this FirstLastNameGenderedOut. # noqa: E501 + + + :return: The category of this FirstLastNameGenderedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FirstLastNameGenderedOut. + + + :param category: The category of this FirstLastNameGenderedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/first_last_name_geo_in.py b/openapi_client/models/first_last_name_geo_in.py index 3691e99..6f4d9b7 100644 --- a/openapi_client/models/first_last_name_geo_in.py +++ b/openapi_client/models/first_last_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_geo_zipped_in.py b/openapi_client/models/first_last_name_geo_zipped_in.py index bbfc98a..0b22ebc 100644 --- a/openapi_client/models/first_last_name_geo_zipped_in.py +++ b/openapi_client/models/first_last_name_geo_zipped_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_in.py b/openapi_client/models/first_last_name_in.py index e7554ec..b324f81 100644 --- a/openapi_client/models/first_last_name_in.py +++ b/openapi_client/models/first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_origined_out.py b/openapi_client/models/first_last_name_origined_out.py index 435c8d4..d109b35 100644 --- a/openapi_client/models/first_last_name_origined_out.py +++ b/openapi_client/models/first_last_name_origined_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,6 +32,7 @@ class FirstLastNameOriginedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', 'last_name': 'str', @@ -43,10 +44,12 @@ class FirstLastNameOriginedOut(object): 'top_region_origin': 'str', 'sub_region_origin': 'str', 'probability_calibrated': 'float', - 'probability_alt_calibrated': 'float' + 'probability_alt_calibrated': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', 'last_name': 'lastName', @@ -58,12 +61,14 @@ class FirstLastNameOriginedOut(object): 'top_region_origin': 'topRegionOrigin', 'sub_region_origin': 'subRegionOrigin', 'probability_calibrated': 'probabilityCalibrated', - 'probability_alt_calibrated': 'probabilityAltCalibrated' + 'probability_alt_calibrated': 'probabilityAltCalibrated', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None, country_origin=None, country_origin_alt=None, countries_origin_top=None, score=None, region_origin=None, top_region_origin=None, sub_region_origin=None, probability_calibrated=None, probability_alt_calibrated=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, country_origin=None, country_origin_alt=None, countries_origin_top=None, score=None, region_origin=None, top_region_origin=None, sub_region_origin=None, probability_calibrated=None, probability_alt_calibrated=None, category=None): # noqa: E501 """FirstLastNameOriginedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None @@ -76,8 +81,11 @@ def __init__(self, id=None, first_name=None, last_name=None, country_origin=None self._sub_region_origin = None self._probability_calibrated = None self._probability_alt_calibrated = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: @@ -102,6 +110,29 @@ def __init__(self, id=None, first_name=None, last_name=None, country_origin=None self.probability_calibrated = probability_calibrated if probability_alt_calibrated is not None: self.probability_alt_calibrated = probability_alt_calibrated + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this FirstLastNameOriginedOut. # noqa: E501 + + + :return: The script of this FirstLastNameOriginedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this FirstLastNameOriginedOut. + + + :param script: The script of this FirstLastNameOriginedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -369,6 +400,27 @@ def probability_alt_calibrated(self, probability_alt_calibrated): self._probability_alt_calibrated = probability_alt_calibrated + @property + def category(self): + """Gets the category of this FirstLastNameOriginedOut. # noqa: E501 + + + :return: The category of this FirstLastNameOriginedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FirstLastNameOriginedOut. + + + :param category: The category of this FirstLastNameOriginedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/first_last_name_out.py b/openapi_client/models/first_last_name_out.py index fffb358..2251c37 100644 --- a/openapi_client/models/first_last_name_out.py +++ b/openapi_client/models/first_last_name_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,31 +32,62 @@ class FirstLastNameOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', - 'last_name': 'str' + 'last_name': 'str', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', - 'last_name': 'lastName' + 'last_name': 'lastName', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, category=None): # noqa: E501 """FirstLastNameOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: self.first_name = first_name if last_name is not None: self.last_name = last_name + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this FirstLastNameOut. # noqa: E501 + + + :return: The script of this FirstLastNameOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this FirstLastNameOut. + + + :param script: The script of this FirstLastNameOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -121,6 +152,27 @@ def last_name(self, last_name): self._last_name = last_name + @property + def category(self): + """Gets the category of this FirstLastNameOut. # noqa: E501 + + + :return: The category of this FirstLastNameOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FirstLastNameOut. + + + :param category: The category of this FirstLastNameOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/first_last_name_phone_coded_out.py b/openapi_client/models/first_last_name_phone_coded_out.py index 5771794..2894f53 100644 --- a/openapi_client/models/first_last_name_phone_coded_out.py +++ b/openapi_client/models/first_last_name_phone_coded_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,6 +32,7 @@ class FirstLastNamePhoneCodedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', 'last_name': 'str', @@ -46,10 +47,12 @@ class FirstLastNamePhoneCodedOut(object): 'phone_number': 'str', 'verified': 'bool', 'score': 'float', - 'country_iso2': 'str' + 'country_iso2': 'str', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', 'last_name': 'lastName', @@ -64,12 +67,14 @@ class FirstLastNamePhoneCodedOut(object): 'phone_number': 'phoneNumber', 'verified': 'verified', 'score': 'score', - 'country_iso2': 'countryIso2' + 'country_iso2': 'countryIso2', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None, international_phone_number_verified=None, phone_country_iso2_verified=None, phone_country_code=None, phone_country_code_alt=None, phone_country_iso2=None, phone_country_iso2_alt=None, origin_country_iso2=None, origin_country_iso2_alt=None, phone_number=None, verified=None, score=None, country_iso2=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, international_phone_number_verified=None, phone_country_iso2_verified=None, phone_country_code=None, phone_country_code_alt=None, phone_country_iso2=None, phone_country_iso2_alt=None, origin_country_iso2=None, origin_country_iso2_alt=None, phone_number=None, verified=None, score=None, country_iso2=None, category=None): # noqa: E501 """FirstLastNamePhoneCodedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None @@ -85,8 +90,11 @@ def __init__(self, id=None, first_name=None, last_name=None, international_phone self._verified = None self._score = None self._country_iso2 = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: @@ -117,6 +125,29 @@ def __init__(self, id=None, first_name=None, last_name=None, international_phone self.score = score if country_iso2 is not None: self.country_iso2 = country_iso2 + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this FirstLastNamePhoneCodedOut. # noqa: E501 + + + :return: The script of this FirstLastNamePhoneCodedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this FirstLastNamePhoneCodedOut. + + + :param script: The script of this FirstLastNamePhoneCodedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -433,6 +464,27 @@ def country_iso2(self, country_iso2): self._country_iso2 = country_iso2 + @property + def category(self): + """Gets the category of this FirstLastNamePhoneCodedOut. # noqa: E501 + + + :return: The category of this FirstLastNamePhoneCodedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FirstLastNamePhoneCodedOut. + + + :param category: The category of this FirstLastNamePhoneCodedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/first_last_name_phone_number_geo_in.py b/openapi_client/models/first_last_name_phone_number_geo_in.py index 6e63b50..cd8910f 100644 --- a/openapi_client/models/first_last_name_phone_number_geo_in.py +++ b/openapi_client/models/first_last_name_phone_number_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_phone_number_in.py b/openapi_client/models/first_last_name_phone_number_in.py index fd32bfd..c649603 100644 --- a/openapi_client/models/first_last_name_phone_number_in.py +++ b/openapi_client/models/first_last_name_phone_number_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/first_last_name_us_race_ethnicity_out.py b/openapi_client/models/first_last_name_us_race_ethnicity_out.py index e1044ed..f890bce 100644 --- a/openapi_client/models/first_last_name_us_race_ethnicity_out.py +++ b/openapi_client/models/first_last_name_us_race_ethnicity_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,6 +32,7 @@ class FirstLastNameUSRaceEthnicityOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', 'last_name': 'str', @@ -40,10 +41,12 @@ class FirstLastNameUSRaceEthnicityOut(object): 'score': 'float', 'race_ethnicities_top': 'list[str]', 'probability_calibrated': 'float', - 'probability_alt_calibrated': 'float' + 'probability_alt_calibrated': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', 'last_name': 'lastName', @@ -52,12 +55,14 @@ class FirstLastNameUSRaceEthnicityOut(object): 'score': 'score', 'race_ethnicities_top': 'raceEthnicitiesTop', 'probability_calibrated': 'probabilityCalibrated', - 'probability_alt_calibrated': 'probabilityAltCalibrated' + 'probability_alt_calibrated': 'probabilityAltCalibrated', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None, race_ethnicity_alt=None, race_ethnicity=None, score=None, race_ethnicities_top=None, probability_calibrated=None, probability_alt_calibrated=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, race_ethnicity_alt=None, race_ethnicity=None, score=None, race_ethnicities_top=None, probability_calibrated=None, probability_alt_calibrated=None, category=None): # noqa: E501 """FirstLastNameUSRaceEthnicityOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None @@ -67,8 +72,11 @@ def __init__(self, id=None, first_name=None, last_name=None, race_ethnicity_alt= self._race_ethnicities_top = None self._probability_calibrated = None self._probability_alt_calibrated = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: @@ -87,6 +95,29 @@ def __init__(self, id=None, first_name=None, last_name=None, race_ethnicity_alt= self.probability_calibrated = probability_calibrated if probability_alt_calibrated is not None: self.probability_alt_calibrated = probability_alt_calibrated + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this FirstLastNameUSRaceEthnicityOut. # noqa: E501 + + + :return: The script of this FirstLastNameUSRaceEthnicityOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this FirstLastNameUSRaceEthnicityOut. + + + :param script: The script of this FirstLastNameUSRaceEthnicityOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -297,6 +328,27 @@ def probability_alt_calibrated(self, probability_alt_calibrated): self._probability_alt_calibrated = probability_alt_calibrated + @property + def category(self): + """Gets the category of this FirstLastNameUSRaceEthnicityOut. # noqa: E501 + + + :return: The category of this FirstLastNameUSRaceEthnicityOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this FirstLastNameUSRaceEthnicityOut. + + + :param category: The category of this FirstLastNameUSRaceEthnicityOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/inline_object.py b/openapi_client/models/inline_object.py index ad0ddbf..ee20698 100644 --- a/openapi_client/models/inline_object.py +++ b/openapi_client/models/inline_object.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/invoice_item_out.py b/openapi_client/models/invoice_item_out.py index 6a19c26..bd04d7b 100644 --- a/openapi_client/models/invoice_item_out.py +++ b/openapi_client/models/invoice_item_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/invoice_out.py b/openapi_client/models/invoice_out.py index c2d3a64..ba258b2 100644 --- a/openapi_client/models/invoice_out.py +++ b/openapi_client/models/invoice_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/match_personal_first_last_name_in.py b/openapi_client/models/match_personal_first_last_name_in.py index c8109b2..177edd3 100644 --- a/openapi_client/models/match_personal_first_last_name_in.py +++ b/openapi_client/models/match_personal_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -34,24 +34,21 @@ class MatchPersonalFirstLastNameIn(object): openapi_types = { 'id': 'str', 'name1': 'FirstLastNameIn', - 'name2': 'PersonalNameIn', - 'name': 'str' + 'name2': 'PersonalNameIn' } attribute_map = { 'id': 'id', 'name1': 'name1', - 'name2': 'name2', - 'name': 'name' + 'name2': 'name2' } - def __init__(self, id=None, name1=None, name2=None, name=None): # noqa: E501 + def __init__(self, id=None, name1=None, name2=None): # noqa: E501 """MatchPersonalFirstLastNameIn - a model defined in OpenAPI""" # noqa: E501 self._id = None self._name1 = None self._name2 = None - self._name = None self.discriminator = None if id is not None: @@ -60,8 +57,6 @@ def __init__(self, id=None, name1=None, name2=None, name=None): # noqa: E501 self.name1 = name1 if name2 is not None: self.name2 = name2 - if name is not None: - self.name = name @property def id(self): @@ -126,27 +121,6 @@ def name2(self, name2): self._name2 = name2 - @property - def name(self): - """Gets the name of this MatchPersonalFirstLastNameIn. # noqa: E501 - - - :return: The name of this MatchPersonalFirstLastNameIn. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this MatchPersonalFirstLastNameIn. - - - :param name: The name of this MatchPersonalFirstLastNameIn. # noqa: E501 - :type: str - """ - - self._name = name - def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/nam_sor_counter_out.py b/openapi_client/models/nam_sor_counter_out.py index 390184d..9b172ff 100644 --- a/openapi_client/models/nam_sor_counter_out.py +++ b/openapi_client/models/nam_sor_counter_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/name_geo_in.py b/openapi_client/models/name_geo_in.py new file mode 100644 index 0000000..4d44c75 --- /dev/null +++ b/openapi_client/models/name_geo_in.py @@ -0,0 +1,165 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class NameGeoIn(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'id': 'str', + 'name': 'str', + 'country_iso2': 'str' + } + + attribute_map = { + 'id': 'id', + 'name': 'name', + 'country_iso2': 'countryIso2' + } + + def __init__(self, id=None, name=None, country_iso2=None): # noqa: E501 + """NameGeoIn - a model defined in OpenAPI""" # noqa: E501 + + self._id = None + self._name = None + self._country_iso2 = None + self.discriminator = None + + if id is not None: + self.id = id + if name is not None: + self.name = name + if country_iso2 is not None: + self.country_iso2 = country_iso2 + + @property + def id(self): + """Gets the id of this NameGeoIn. # noqa: E501 + + + :return: The id of this NameGeoIn. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this NameGeoIn. + + + :param id: The id of this NameGeoIn. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def name(self): + """Gets the name of this NameGeoIn. # noqa: E501 + + + :return: The name of this NameGeoIn. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this NameGeoIn. + + + :param name: The name of this NameGeoIn. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def country_iso2(self): + """Gets the country_iso2 of this NameGeoIn. # noqa: E501 + + + :return: The country_iso2 of this NameGeoIn. # noqa: E501 + :rtype: str + """ + return self._country_iso2 + + @country_iso2.setter + def country_iso2(self, country_iso2): + """Sets the country_iso2 of this NameGeoIn. + + + :param country_iso2: The country_iso2 of this NameGeoIn. # noqa: E501 + :type: str + """ + + self._country_iso2 = country_iso2 + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, NameGeoIn): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openapi_client/models/deploy_ui_out.py b/openapi_client/models/name_in.py similarity index 63% rename from openapi_client/models/deploy_ui_out.py rename to openapi_client/models/name_in.py index b86ca0f..ef8d28c 100644 --- a/openapi_client/models/deploy_ui_out.py +++ b/openapi_client/models/name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -17,7 +17,7 @@ import six -class DeployUIOut(object): +class NameIn(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -32,68 +32,68 @@ class DeployUIOut(object): and the value is json key in definition. """ openapi_types = { - 'error_message': 'str', - 'succeeded': 'bool' + 'id': 'str', + 'name': 'str' } attribute_map = { - 'error_message': 'errorMessage', - 'succeeded': 'succeeded' + 'id': 'id', + 'name': 'name' } - def __init__(self, error_message=None, succeeded=None): # noqa: E501 - """DeployUIOut - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, id=None, name=None): # noqa: E501 + """NameIn - a model defined in OpenAPI""" # noqa: E501 - self._error_message = None - self._succeeded = None + self._id = None + self._name = None self.discriminator = None - if error_message is not None: - self.error_message = error_message - if succeeded is not None: - self.succeeded = succeeded + if id is not None: + self.id = id + if name is not None: + self.name = name @property - def error_message(self): - """Gets the error_message of this DeployUIOut. # noqa: E501 + def id(self): + """Gets the id of this NameIn. # noqa: E501 - :return: The error_message of this DeployUIOut. # noqa: E501 + :return: The id of this NameIn. # noqa: E501 :rtype: str """ - return self._error_message + return self._id - @error_message.setter - def error_message(self, error_message): - """Sets the error_message of this DeployUIOut. + @id.setter + def id(self, id): + """Sets the id of this NameIn. - :param error_message: The error_message of this DeployUIOut. # noqa: E501 + :param id: The id of this NameIn. # noqa: E501 :type: str """ - self._error_message = error_message + self._id = id @property - def succeeded(self): - """Gets the succeeded of this DeployUIOut. # noqa: E501 + def name(self): + """Gets the name of this NameIn. # noqa: E501 - :return: The succeeded of this DeployUIOut. # noqa: E501 - :rtype: bool + :return: The name of this NameIn. # noqa: E501 + :rtype: str """ - return self._succeeded + return self._name - @succeeded.setter - def succeeded(self, succeeded): - """Sets the succeeded of this DeployUIOut. + @name.setter + def name(self, name): + """Sets the name of this NameIn. - :param succeeded: The succeeded of this DeployUIOut. # noqa: E501 - :type: bool + :param name: The name of this NameIn. # noqa: E501 + :type: str """ - self._succeeded = succeeded + self._name = name def to_dict(self): """Returns the model properties as a dict""" @@ -129,7 +129,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DeployUIOut): + if not isinstance(other, NameIn): return False return self.__dict__ == other.__dict__ diff --git a/openapi_client/models/name_match_candidate_out.py b/openapi_client/models/name_match_candidate_out.py index 1094052..878ca37 100644 --- a/openapi_client/models/name_match_candidate_out.py +++ b/openapi_client/models/name_match_candidate_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/name_match_candidates_out.py b/openapi_client/models/name_match_candidates_out.py index d6609ca..b4eab34 100644 --- a/openapi_client/models/name_match_candidates_out.py +++ b/openapi_client/models/name_match_candidates_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,28 +32,36 @@ class NameMatchCandidatesOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'first_name': 'str', 'last_name': 'str', - 'match_candidates': 'list[NameMatchCandidateOut]' + 'match_candidates': 'list[NameMatchCandidateOut]', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'first_name': 'firstName', 'last_name': 'lastName', - 'match_candidates': 'matchCandidates' + 'match_candidates': 'matchCandidates', + 'category': 'category' } - def __init__(self, id=None, first_name=None, last_name=None, match_candidates=None): # noqa: E501 + def __init__(self, script=None, id=None, first_name=None, last_name=None, match_candidates=None, category=None): # noqa: E501 """NameMatchCandidatesOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._first_name = None self._last_name = None self._match_candidates = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if first_name is not None: @@ -62,6 +70,29 @@ def __init__(self, id=None, first_name=None, last_name=None, match_candidates=No self.last_name = last_name if match_candidates is not None: self.match_candidates = match_candidates + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this NameMatchCandidatesOut. # noqa: E501 + + + :return: The script of this NameMatchCandidatesOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this NameMatchCandidatesOut. + + + :param script: The script of this NameMatchCandidatesOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -147,6 +178,27 @@ def match_candidates(self, match_candidates): self._match_candidates = match_candidates + @property + def category(self): + """Gets the category of this NameMatchCandidatesOut. # noqa: E501 + + + :return: The category of this NameMatchCandidatesOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this NameMatchCandidatesOut. + + + :param category: The category of this NameMatchCandidatesOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/name_matched_out.py b/openapi_client/models/name_matched_out.py index ad4ca2c..0213382 100644 --- a/openapi_client/models/name_matched_out.py +++ b/openapi_client/models/name_matched_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,31 +32,62 @@ class NameMatchedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'match_status': 'str', - 'score': 'float' + 'score': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'match_status': 'matchStatus', - 'score': 'score' + 'score': 'score', + 'category': 'category' } - def __init__(self, id=None, match_status=None, score=None): # noqa: E501 + def __init__(self, script=None, id=None, match_status=None, score=None, category=None): # noqa: E501 """NameMatchedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._match_status = None self._score = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if match_status is not None: self.match_status = match_status if score is not None: self.score = score + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this NameMatchedOut. # noqa: E501 + + + :return: The script of this NameMatchedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this NameMatchedOut. + + + :param script: The script of this NameMatchedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -121,6 +152,27 @@ def score(self, score): self._score = score + @property + def category(self): + """Gets the category of this NameMatchedOut. # noqa: E501 + + + :return: The category of this NameMatchedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this NameMatchedOut. + + + :param category: The category of this NameMatchedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/parsed_full_name_geo_in.py b/openapi_client/models/parsed_full_name_geo_in.py index 1b0c789..fdac235 100644 --- a/openapi_client/models/parsed_full_name_geo_in.py +++ b/openapi_client/models/parsed_full_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/parsed_full_name_in.py b/openapi_client/models/parsed_full_name_in.py index 16f5ac9..babd1e0 100644 --- a/openapi_client/models/parsed_full_name_in.py +++ b/openapi_client/models/parsed_full_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/personal_name_gendered_out.py b/openapi_client/models/personal_name_gendered_out.py index 5bae116..fbeb786 100644 --- a/openapi_client/models/personal_name_gendered_out.py +++ b/openapi_client/models/personal_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,34 +32,42 @@ class PersonalNameGenderedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'name': 'str', 'likely_gender': 'str', 'gender_scale': 'float', 'score': 'float', - 'probability_calibrated': 'float' + 'probability_calibrated': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'name': 'name', 'likely_gender': 'likelyGender', 'gender_scale': 'genderScale', 'score': 'score', - 'probability_calibrated': 'probabilityCalibrated' + 'probability_calibrated': 'probabilityCalibrated', + 'category': 'category' } - def __init__(self, id=None, name=None, likely_gender=None, gender_scale=None, score=None, probability_calibrated=None): # noqa: E501 + def __init__(self, script=None, id=None, name=None, likely_gender=None, gender_scale=None, score=None, probability_calibrated=None, category=None): # noqa: E501 """PersonalNameGenderedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._name = None self._likely_gender = None self._gender_scale = None self._score = None self._probability_calibrated = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if name is not None: @@ -72,6 +80,29 @@ def __init__(self, id=None, name=None, likely_gender=None, gender_scale=None, sc self.score = score if probability_calibrated is not None: self.probability_calibrated = probability_calibrated + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this PersonalNameGenderedOut. # noqa: E501 + + + :return: The script of this PersonalNameGenderedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this PersonalNameGenderedOut. + + + :param script: The script of this PersonalNameGenderedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -209,6 +240,27 @@ def probability_calibrated(self, probability_calibrated): self._probability_calibrated = probability_calibrated + @property + def category(self): + """Gets the category of this PersonalNameGenderedOut. # noqa: E501 + + + :return: The category of this PersonalNameGenderedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this PersonalNameGenderedOut. + + + :param category: The category of this PersonalNameGenderedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/personal_name_geo_in.py b/openapi_client/models/personal_name_geo_in.py index d0e41c0..b57f55a 100644 --- a/openapi_client/models/personal_name_geo_in.py +++ b/openapi_client/models/personal_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/personal_name_geo_out.py b/openapi_client/models/personal_name_geo_out.py index 50d62b3..427d550 100644 --- a/openapi_client/models/personal_name_geo_out.py +++ b/openapi_client/models/personal_name_geo_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,6 +32,7 @@ class PersonalNameGeoOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'name': 'str', 'score': 'float', @@ -42,10 +43,12 @@ class PersonalNameGeoOut(object): 'sub_region': 'str', 'countries_top': 'list[str]', 'probability_calibrated': 'float', - 'probability_alt_calibrated': 'float' + 'probability_alt_calibrated': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'name': 'name', 'score': 'score', @@ -56,12 +59,14 @@ class PersonalNameGeoOut(object): 'sub_region': 'subRegion', 'countries_top': 'countriesTop', 'probability_calibrated': 'probabilityCalibrated', - 'probability_alt_calibrated': 'probabilityAltCalibrated' + 'probability_alt_calibrated': 'probabilityAltCalibrated', + 'category': 'category' } - def __init__(self, id=None, name=None, score=None, country=None, country_alt=None, region=None, top_region=None, sub_region=None, countries_top=None, probability_calibrated=None, probability_alt_calibrated=None): # noqa: E501 + def __init__(self, script=None, id=None, name=None, score=None, country=None, country_alt=None, region=None, top_region=None, sub_region=None, countries_top=None, probability_calibrated=None, probability_alt_calibrated=None, category=None): # noqa: E501 """PersonalNameGeoOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._name = None self._score = None @@ -73,8 +78,11 @@ def __init__(self, id=None, name=None, score=None, country=None, country_alt=Non self._countries_top = None self._probability_calibrated = None self._probability_alt_calibrated = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if name is not None: @@ -97,6 +105,29 @@ def __init__(self, id=None, name=None, score=None, country=None, country_alt=Non self.probability_calibrated = probability_calibrated if probability_alt_calibrated is not None: self.probability_alt_calibrated = probability_alt_calibrated + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this PersonalNameGeoOut. # noqa: E501 + + + :return: The script of this PersonalNameGeoOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this PersonalNameGeoOut. + + + :param script: The script of this PersonalNameGeoOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -331,6 +362,27 @@ def probability_alt_calibrated(self, probability_alt_calibrated): self._probability_alt_calibrated = probability_alt_calibrated + @property + def category(self): + """Gets the category of this PersonalNameGeoOut. # noqa: E501 + + + :return: The category of this PersonalNameGeoOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this PersonalNameGeoOut. + + + :param category: The category of this PersonalNameGeoOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/personal_name_in.py b/openapi_client/models/personal_name_in.py index 3038d02..cb12ad9 100644 --- a/openapi_client/models/personal_name_in.py +++ b/openapi_client/models/personal_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/personal_name_parsed_out.py b/openapi_client/models/personal_name_parsed_out.py index d45c249..5ba16a6 100644 --- a/openapi_client/models/personal_name_parsed_out.py +++ b/openapi_client/models/personal_name_parsed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,34 +32,42 @@ class PersonalNameParsedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'name': 'str', 'name_parser_type': 'str', 'name_parser_type_alt': 'str', 'first_last_name': 'FirstLastNameOut', - 'score': 'float' + 'score': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'name': 'name', 'name_parser_type': 'nameParserType', 'name_parser_type_alt': 'nameParserTypeAlt', 'first_last_name': 'firstLastName', - 'score': 'score' + 'score': 'score', + 'category': 'category' } - def __init__(self, id=None, name=None, name_parser_type=None, name_parser_type_alt=None, first_last_name=None, score=None): # noqa: E501 + def __init__(self, script=None, id=None, name=None, name_parser_type=None, name_parser_type_alt=None, first_last_name=None, score=None, category=None): # noqa: E501 """PersonalNameParsedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._name = None self._name_parser_type = None self._name_parser_type_alt = None self._first_last_name = None self._score = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if name is not None: @@ -72,6 +80,29 @@ def __init__(self, id=None, name=None, name_parser_type=None, name_parser_type_a self.first_last_name = first_last_name if score is not None: self.score = score + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this PersonalNameParsedOut. # noqa: E501 + + + :return: The script of this PersonalNameParsedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this PersonalNameParsedOut. + + + :param script: The script of this PersonalNameParsedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -199,6 +230,27 @@ def score(self, score): self._score = score + @property + def category(self): + """Gets the category of this PersonalNameParsedOut. # noqa: E501 + + + :return: The category of this PersonalNameParsedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this PersonalNameParsedOut. + + + :param category: The category of this PersonalNameParsedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/proper_noun_categorized_out.py b/openapi_client/models/proper_noun_categorized_out.py index 3e61996..97ca33e 100644 --- a/openapi_client/models/proper_noun_categorized_out.py +++ b/openapi_client/models/proper_noun_categorized_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,31 +32,39 @@ class ProperNounCategorizedOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'name': 'str', 'common_type': 'str', 'common_type_alt': 'str', - 'score': 'float' + 'score': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'name': 'name', 'common_type': 'commonType', 'common_type_alt': 'commonTypeAlt', - 'score': 'score' + 'score': 'score', + 'category': 'category' } - def __init__(self, id=None, name=None, common_type=None, common_type_alt=None, score=None): # noqa: E501 + def __init__(self, script=None, id=None, name=None, common_type=None, common_type_alt=None, score=None, category=None): # noqa: E501 """ProperNounCategorizedOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._name = None self._common_type = None self._common_type_alt = None self._score = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if name is not None: @@ -67,6 +75,29 @@ def __init__(self, id=None, name=None, common_type=None, common_type_alt=None, s self.common_type_alt = common_type_alt if score is not None: self.score = score + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this ProperNounCategorizedOut. # noqa: E501 + + + :return: The script of this ProperNounCategorizedOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this ProperNounCategorizedOut. + + + :param script: The script of this ProperNounCategorizedOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -173,6 +204,27 @@ def score(self, score): self._score = score + @property + def category(self): + """Gets the category of this ProperNounCategorizedOut. # noqa: E501 + + + :return: The category of this ProperNounCategorizedOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this ProperNounCategorizedOut. + + + :param category: The category of this ProperNounCategorizedOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/romanized_name_out.py b/openapi_client/models/romanized_name_out.py index 1b15420..1f07b8d 100644 --- a/openapi_client/models/romanized_name_out.py +++ b/openapi_client/models/romanized_name_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -32,6 +32,7 @@ class RomanizedNameOut(object): and the value is json key in definition. """ openapi_types = { + 'script': 'str', 'id': 'str', 'latin_name': 'str', 'original_name': 'str', @@ -39,10 +40,12 @@ class RomanizedNameOut(object): 'target_language': 'str', 'source_script': 'str', 'target_script': 'str', - 'score': 'float' + 'score': 'float', + 'category': 'str' } attribute_map = { + 'script': 'script', 'id': 'id', 'latin_name': 'latinName', 'original_name': 'originalName', @@ -50,12 +53,14 @@ class RomanizedNameOut(object): 'target_language': 'targetLanguage', 'source_script': 'sourceScript', 'target_script': 'targetScript', - 'score': 'score' + 'score': 'score', + 'category': 'category' } - def __init__(self, id=None, latin_name=None, original_name=None, source_language=None, target_language=None, source_script=None, target_script=None, score=None): # noqa: E501 + def __init__(self, script=None, id=None, latin_name=None, original_name=None, source_language=None, target_language=None, source_script=None, target_script=None, score=None, category=None): # noqa: E501 """RomanizedNameOut - a model defined in OpenAPI""" # noqa: E501 + self._script = None self._id = None self._latin_name = None self._original_name = None @@ -64,8 +69,11 @@ def __init__(self, id=None, latin_name=None, original_name=None, source_language self._source_script = None self._target_script = None self._score = None + self._category = None self.discriminator = None + if script is not None: + self.script = script if id is not None: self.id = id if latin_name is not None: @@ -82,6 +90,29 @@ def __init__(self, id=None, latin_name=None, original_name=None, source_language self.target_script = target_script if score is not None: self.score = score + if category is not None: + self.category = category + + @property + def script(self): + """Gets the script of this RomanizedNameOut. # noqa: E501 + + + :return: The script of this RomanizedNameOut. # noqa: E501 + :rtype: str + """ + return self._script + + @script.setter + def script(self, script): + """Sets the script of this RomanizedNameOut. + + + :param script: The script of this RomanizedNameOut. # noqa: E501 + :type: str + """ + + self._script = script @property def id(self): @@ -251,6 +282,27 @@ def score(self, score): self._score = score + @property + def category(self): + """Gets the category of this RomanizedNameOut. # noqa: E501 + + + :return: The category of this RomanizedNameOut. # noqa: E501 + :rtype: str + """ + return self._category + + @category.setter + def category(self, category): + """Sets the category of this RomanizedNameOut. + + + :param category: The category of this RomanizedNameOut. # noqa: E501 + :type: str + """ + + self._category = category + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/openapi_client/models/software_version_out.py b/openapi_client/models/software_version_out.py index 54d6a30..959f37b 100644 --- a/openapi_client/models/software_version_out.py +++ b/openapi_client/models/software_version_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/source_detailed_metrics_out.py b/openapi_client/models/source_detailed_metrics_out.py index 36266c2..b682832 100644 --- a/openapi_client/models/source_detailed_metrics_out.py +++ b/openapi_client/models/source_detailed_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/source_metrics_out.py b/openapi_client/models/source_metrics_out.py index 3618e2f..e945533 100644 --- a/openapi_client/models/source_metrics_out.py +++ b/openapi_client/models/source_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/stripe_card_out.py b/openapi_client/models/stripe_card_out.py index 1996963..c50e41f 100644 --- a/openapi_client/models/stripe_card_out.py +++ b/openapi_client/models/stripe_card_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/stripe_customer_out.py b/openapi_client/models/stripe_customer_out.py index c56e423..0474061 100644 --- a/openapi_client/models/stripe_customer_out.py +++ b/openapi_client/models/stripe_customer_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/system_metrics_out.py b/openapi_client/models/system_metrics_out.py index d3454f5..d8237be 100644 --- a/openapi_client/models/system_metrics_out.py +++ b/openapi_client/models/system_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/models/user_info_out.py b/openapi_client/models/user_info_out.py index 19ff7f7..0185cdd 100644 --- a/openapi_client/models/user_info_out.py +++ b/openapi_client/models/user_info_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/openapi_client/rest.py b/openapi_client/rest.py index 69fce14..0caa333 100644 --- a/openapi_client/rest.py +++ b/openapi_client/rest.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/run-python.bash b/run-python.bash index 3dc89eb..582ca56 100755 --- a/run-python.bash +++ b/run-python.bash @@ -2,7 +2,7 @@ echo update openapi-generator ./bin/utils/openapi-generator-cli.sh rm -Rf ./namsor/client/python/* echo run openapi-generator -java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate --git-repo-id namsor-python-sdk2 --git-user-id namsor --skip-validate-spec -i https://v2.namsor.com/NamSorAPIv2/api2/openapi.json -g python -o namsor/client/python --additional-properties packageVersion=2.0.11 +java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate --git-repo-id namsor-python-sdk2 --git-user-id namsor --skip-validate-spec -i https://v2.namsor.com/NamSorAPIv2/api2/openapi.json -g python -o namsor/client/python --additional-properties packageVersion=2.0.12 #~/dropbox_uploader.sh upload namsor-sdk2-1.0.0.jar namsor-sdk2-1.0.0.jar #~/dropbox_uploader.sh upload namsor-sdk2-1.0.0-javadoc.jar namsor-sdk2-1.0.0-javadoc.jar #~/dropbox_uploader.sh upload namsor-sdk2-1.0.0-sources.jar namsor-sdk2-1.0.0-sources.jar diff --git a/setup.py b/setup.py index d211297..665c928 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openapi-client" -VERSION = "2.0.11" +VERSION = "2.0.12" # To install the library, run the following # # python setup.py install diff --git a/test/test_admin_api.py b/test/test_admin_api.py index 8a5d4a0..b75af34 100644 --- a/test/test_admin_api.py +++ b/test/test_admin_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -176,20 +176,6 @@ def test_procure_key(self): """ pass - def test_redeploy_ui(self): - """Test case for redeploy_ui - - Redeploy UI from current dev branch. # noqa: E501 - """ - pass - - def test_redeploy_ui1(self): - """Test case for redeploy_ui1 - - Redeploy UI from current dev branch. # noqa: E501 - """ - pass - def test_remove_user_account(self): """Test case for remove_user_account diff --git a/test/test_api_billing_period_usage_out.py b/test/test_api_billing_period_usage_out.py index ecf1e98..27022f7 100644 --- a/test/test_api_billing_period_usage_out.py +++ b/test/test_api_billing_period_usage_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_classifier_out.py b/test/test_api_classifier_out.py index cfc6d8f..e04203f 100644 --- a/test/test_api_classifier_out.py +++ b/test/test_api_classifier_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_classifier_taxonomy_out.py b/test/test_api_classifier_taxonomy_out.py index 094244a..d5f0464 100644 --- a/test/test_api_classifier_taxonomy_out.py +++ b/test/test_api_classifier_taxonomy_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_classifiers_status_out.py b/test/test_api_classifiers_status_out.py index e4e31da..3521802 100644 --- a/test/test_api_classifiers_status_out.py +++ b/test/test_api_classifiers_status_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_counter_v2_out.py b/test/test_api_counter_v2_out.py index 7b0512d..e5bb753 100644 --- a/test/test_api_counter_v2_out.py +++ b/test/test_api_counter_v2_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_key_out.py b/test/test_api_key_out.py index 1bb7520..7695c5b 100644 --- a/test/test_api_key_out.py +++ b/test/test_api_key_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_period_usage_out.py b/test/test_api_period_usage_out.py index 4443d9c..7a2b341 100644 --- a/test/test_api_period_usage_out.py +++ b/test/test_api_period_usage_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_plan_out.py b/test/test_api_plan_out.py index 52d7595..12d2c6c 100644 --- a/test/test_api_plan_out.py +++ b/test/test_api_plan_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_plan_subscription_out.py b/test/test_api_plan_subscription_out.py index c980a90..9a811c1 100644 --- a/test/test_api_plan_subscription_out.py +++ b/test/test_api_plan_subscription_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_plans_out.py b/test/test_api_plans_out.py index 59ace85..b31321a 100644 --- a/test/test_api_plans_out.py +++ b/test/test_api_plans_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_service_out.py b/test/test_api_service_out.py index 21d8494..ff98a71 100644 --- a/test/test_api_service_out.py +++ b/test/test_api_service_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_services_out.py b/test/test_api_services_out.py index b7adf7b..917edb3 100644 --- a/test/test_api_services_out.py +++ b/test/test_api_services_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_api_usage_aggregated_out.py b/test/test_api_usage_aggregated_out.py index c271c75..369244f 100644 --- a/test/test_api_usage_aggregated_out.py +++ b/test/test_api_usage_aggregated_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_corridor_in.py b/test/test_batch_corridor_in.py new file mode 100644 index 0000000..1f94b10 --- /dev/null +++ b/test/test_batch_corridor_in.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.batch_corridor_in import BatchCorridorIn # noqa: E501 +from openapi_client.rest import ApiException + + +class TestBatchCorridorIn(unittest.TestCase): + """BatchCorridorIn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBatchCorridorIn(self): + """Test BatchCorridorIn""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.batch_corridor_in.BatchCorridorIn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_batch_corridor_out.py b/test/test_batch_corridor_out.py new file mode 100644 index 0000000..205be37 --- /dev/null +++ b/test/test_batch_corridor_out.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.batch_corridor_out import BatchCorridorOut # noqa: E501 +from openapi_client.rest import ApiException + + +class TestBatchCorridorOut(unittest.TestCase): + """BatchCorridorOut unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBatchCorridorOut(self): + """Test BatchCorridorOut""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.batch_corridor_out.BatchCorridorOut() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_batch_first_last_name_diasporaed_out.py b/test/test_batch_first_last_name_diasporaed_out.py index 8426594..89e43b3 100644 --- a/test/test_batch_first_last_name_diasporaed_out.py +++ b/test/test_batch_first_last_name_diasporaed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_gender_in.py b/test/test_batch_first_last_name_gender_in.py index f2a3ea6..d2436c0 100644 --- a/test/test_batch_first_last_name_gender_in.py +++ b/test/test_batch_first_last_name_gender_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_gendered_out.py b/test/test_batch_first_last_name_gendered_out.py index 5a280dd..b56eeb0 100644 --- a/test/test_batch_first_last_name_gendered_out.py +++ b/test/test_batch_first_last_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_geo_in.py b/test/test_batch_first_last_name_geo_in.py index 94a0e7d..17d8e43 100644 --- a/test/test_batch_first_last_name_geo_in.py +++ b/test/test_batch_first_last_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_geo_zipped_in.py b/test/test_batch_first_last_name_geo_zipped_in.py index 31a0d7c..94e159b 100644 --- a/test/test_batch_first_last_name_geo_zipped_in.py +++ b/test/test_batch_first_last_name_geo_zipped_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_in.py b/test/test_batch_first_last_name_in.py index fc0b286..e47e258 100644 --- a/test/test_batch_first_last_name_in.py +++ b/test/test_batch_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_origined_out.py b/test/test_batch_first_last_name_origined_out.py index fd202cf..27ecf63 100644 --- a/test/test_batch_first_last_name_origined_out.py +++ b/test/test_batch_first_last_name_origined_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_phone_coded_out.py b/test/test_batch_first_last_name_phone_coded_out.py index cb33d3d..ca40df8 100644 --- a/test/test_batch_first_last_name_phone_coded_out.py +++ b/test/test_batch_first_last_name_phone_coded_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_phone_number_geo_in.py b/test/test_batch_first_last_name_phone_number_geo_in.py index 8058d23..5ce92cf 100644 --- a/test/test_batch_first_last_name_phone_number_geo_in.py +++ b/test/test_batch_first_last_name_phone_number_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_phone_number_in.py b/test/test_batch_first_last_name_phone_number_in.py index 1f86bde..60e1d53 100644 --- a/test/test_batch_first_last_name_phone_number_in.py +++ b/test/test_batch_first_last_name_phone_number_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_first_last_name_us_race_ethnicity_out.py b/test/test_batch_first_last_name_us_race_ethnicity_out.py index 9716f9d..5169da7 100644 --- a/test/test_batch_first_last_name_us_race_ethnicity_out.py +++ b/test/test_batch_first_last_name_us_race_ethnicity_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_match_personal_first_last_name_in.py b/test/test_batch_match_personal_first_last_name_in.py index 17a12f3..e35a0bf 100644 --- a/test/test_batch_match_personal_first_last_name_in.py +++ b/test/test_batch_match_personal_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_name_geo_in.py b/test/test_batch_name_geo_in.py new file mode 100644 index 0000000..4876707 --- /dev/null +++ b/test/test_batch_name_geo_in.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.batch_name_geo_in import BatchNameGeoIn # noqa: E501 +from openapi_client.rest import ApiException + + +class TestBatchNameGeoIn(unittest.TestCase): + """BatchNameGeoIn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBatchNameGeoIn(self): + """Test BatchNameGeoIn""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.batch_name_geo_in.BatchNameGeoIn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_deploy_ui_out.py b/test/test_batch_name_in.py similarity index 72% rename from test/test_deploy_ui_out.py rename to test/test_batch_name_in.py index f01d4fa..6092d6b 100644 --- a/test/test_deploy_ui_out.py +++ b/test/test_batch_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -16,12 +16,12 @@ import unittest import openapi_client -from openapi_client.models.deploy_ui_out import DeployUIOut # noqa: E501 +from openapi_client.models.batch_name_in import BatchNameIn # noqa: E501 from openapi_client.rest import ApiException -class TestDeployUIOut(unittest.TestCase): - """DeployUIOut unit test stubs""" +class TestBatchNameIn(unittest.TestCase): + """BatchNameIn unit test stubs""" def setUp(self): pass @@ -29,10 +29,10 @@ def setUp(self): def tearDown(self): pass - def testDeployUIOut(self): - """Test DeployUIOut""" + def testBatchNameIn(self): + """Test BatchNameIn""" # FIXME: construct object with mandatory attributes with example values - # model = openapi_client.models.deploy_ui_out.DeployUIOut() # noqa: E501 + # model = openapi_client.models.batch_name_in.BatchNameIn() # noqa: E501 pass diff --git a/test/test_batch_name_match_candidates_out.py b/test/test_batch_name_match_candidates_out.py index 6766d04..0d91458 100644 --- a/test/test_batch_name_match_candidates_out.py +++ b/test/test_batch_name_match_candidates_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_name_matched_out.py b/test/test_batch_name_matched_out.py index 0bfd598..0f07c8b 100644 --- a/test/test_batch_name_matched_out.py +++ b/test/test_batch_name_matched_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_parsed_full_name_geo_in.py b/test/test_batch_parsed_full_name_geo_in.py index 6a9d6e2..a86265c 100644 --- a/test/test_batch_parsed_full_name_geo_in.py +++ b/test/test_batch_parsed_full_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_parsed_full_name_in.py b/test/test_batch_parsed_full_name_in.py index 2744853..dcecdb5 100644 --- a/test/test_batch_parsed_full_name_in.py +++ b/test/test_batch_parsed_full_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_personal_name_gendered_out.py b/test/test_batch_personal_name_gendered_out.py index cd8ee78..f298da6 100644 --- a/test/test_batch_personal_name_gendered_out.py +++ b/test/test_batch_personal_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_personal_name_geo_in.py b/test/test_batch_personal_name_geo_in.py index 7b5a2ae..194b5b9 100644 --- a/test/test_batch_personal_name_geo_in.py +++ b/test/test_batch_personal_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_personal_name_geo_out.py b/test/test_batch_personal_name_geo_out.py index de66f0a..10402e7 100644 --- a/test/test_batch_personal_name_geo_out.py +++ b/test/test_batch_personal_name_geo_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_personal_name_in.py b/test/test_batch_personal_name_in.py index 5aaec02..ed1df0a 100644 --- a/test/test_batch_personal_name_in.py +++ b/test/test_batch_personal_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_personal_name_parsed_out.py b/test/test_batch_personal_name_parsed_out.py index c0aaa87..6ebeaaf 100644 --- a/test/test_batch_personal_name_parsed_out.py +++ b/test/test_batch_personal_name_parsed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_batch_proper_noun_categorized_out.py b/test/test_batch_proper_noun_categorized_out.py new file mode 100644 index 0000000..58f3ab7 --- /dev/null +++ b/test/test_batch_proper_noun_categorized_out.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.batch_proper_noun_categorized_out import BatchProperNounCategorizedOut # noqa: E501 +from openapi_client.rest import ApiException + + +class TestBatchProperNounCategorizedOut(unittest.TestCase): + """BatchProperNounCategorizedOut unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBatchProperNounCategorizedOut(self): + """Test BatchProperNounCategorizedOut""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.batch_proper_noun_categorized_out.BatchProperNounCategorizedOut() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_billing_history_out.py b/test/test_billing_history_out.py index 205fd1f..13431b9 100644 --- a/test/test_billing_history_out.py +++ b/test/test_billing_history_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_billing_info_in_out.py b/test/test_billing_info_in_out.py index 84a53ab..c3022b6 100644 --- a/test/test_billing_info_in_out.py +++ b/test/test_billing_info_in_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_cache_metrics_out.py b/test/test_cache_metrics_out.py index b1b8643..e48ecec 100644 --- a/test/test_cache_metrics_out.py +++ b/test/test_cache_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_chinese_api.py b/test/test_chinese_api.py index 35b9f4c..dc20aaa 100644 --- a/test/test_chinese_api.py +++ b/test/test_chinese_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_classifier_metrics_out.py b/test/test_classifier_metrics_out.py index 89acc9a..4bfb68b 100644 --- a/test/test_classifier_metrics_out.py +++ b/test/test_classifier_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_corridor_in.py b/test/test_corridor_in.py new file mode 100644 index 0000000..a25edce --- /dev/null +++ b/test/test_corridor_in.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.corridor_in import CorridorIn # noqa: E501 +from openapi_client.rest import ApiException + + +class TestCorridorIn(unittest.TestCase): + """CorridorIn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCorridorIn(self): + """Test CorridorIn""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.corridor_in.CorridorIn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_corridor_out.py b/test/test_corridor_out.py new file mode 100644 index 0000000..63c8c4f --- /dev/null +++ b/test/test_corridor_out.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.corridor_out import CorridorOut # noqa: E501 +from openapi_client.rest import ApiException + + +class TestCorridorOut(unittest.TestCase): + """CorridorOut unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCorridorOut(self): + """Test CorridorOut""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.corridor_out.CorridorOut() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_currencies_out.py b/test/test_currencies_out.py index bd02e68..de2b6eb 100644 --- a/test/test_currencies_out.py +++ b/test/test_currencies_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_expected_class_metrics_out.py b/test/test_expected_class_metrics_out.py index b55cef0..1ca0cc2 100644 --- a/test/test_expected_class_metrics_out.py +++ b/test/test_expected_class_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_feedback_loop_out.py b/test/test_feedback_loop_out.py index b58a383..a5bf20f 100644 --- a/test/test_feedback_loop_out.py +++ b/test/test_feedback_loop_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_diasporaed_out.py b/test/test_first_last_name_diasporaed_out.py index 674fab8..5ba586f 100644 --- a/test/test_first_last_name_diasporaed_out.py +++ b/test/test_first_last_name_diasporaed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_gender_in.py b/test/test_first_last_name_gender_in.py index 0efbf23..bd42e3b 100644 --- a/test/test_first_last_name_gender_in.py +++ b/test/test_first_last_name_gender_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_gendered_out.py b/test/test_first_last_name_gendered_out.py index 857df0e..01ba586 100644 --- a/test/test_first_last_name_gendered_out.py +++ b/test/test_first_last_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_geo_in.py b/test/test_first_last_name_geo_in.py index d3ec3db..264f2fd 100644 --- a/test/test_first_last_name_geo_in.py +++ b/test/test_first_last_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_geo_zipped_in.py b/test/test_first_last_name_geo_zipped_in.py index f615171..2aadbc6 100644 --- a/test/test_first_last_name_geo_zipped_in.py +++ b/test/test_first_last_name_geo_zipped_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_in.py b/test/test_first_last_name_in.py index 08faaed..aada703 100644 --- a/test/test_first_last_name_in.py +++ b/test/test_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_origined_out.py b/test/test_first_last_name_origined_out.py index f8ff49a..a18ae9c 100644 --- a/test/test_first_last_name_origined_out.py +++ b/test/test_first_last_name_origined_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_out.py b/test/test_first_last_name_out.py index ded41e5..53c1c44 100644 --- a/test/test_first_last_name_out.py +++ b/test/test_first_last_name_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_phone_coded_out.py b/test/test_first_last_name_phone_coded_out.py index 4d23e6d..e476e1a 100644 --- a/test/test_first_last_name_phone_coded_out.py +++ b/test/test_first_last_name_phone_coded_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_phone_number_geo_in.py b/test/test_first_last_name_phone_number_geo_in.py index 957d53d..7c53e88 100644 --- a/test/test_first_last_name_phone_number_geo_in.py +++ b/test/test_first_last_name_phone_number_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_phone_number_in.py b/test/test_first_last_name_phone_number_in.py index ad2f3b3..83dc281 100644 --- a/test/test_first_last_name_phone_number_in.py +++ b/test/test_first_last_name_phone_number_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_first_last_name_us_race_ethnicity_out.py b/test/test_first_last_name_us_race_ethnicity_out.py index 5c7986f..fa5e4f4 100644 --- a/test/test_first_last_name_us_race_ethnicity_out.py +++ b/test/test_first_last_name_us_race_ethnicity_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_general_api.py b/test/test_general_api.py index 4661e2c..d65cc6d 100644 --- a/test/test_general_api.py +++ b/test/test_general_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -36,13 +36,27 @@ def test_name_type(self): """ pass - def test_name_type1(self): - """Test case for name_type1 + def test_name_type_batch(self): + """Test case for name_type_batch + + Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # noqa: E501 + """ + pass + + def test_name_type_geo(self): + """Test case for name_type_geo Infer the likely type of a proper noun (personal name, brand name, place name etc.) # noqa: E501 """ pass + def test_name_type_geo_batch(self): + """Test case for name_type_geo_batch + + Infer the likely common type of up to 100 proper nouns (personal name, brand name, place name etc.) # noqa: E501 + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/test/test_inline_object.py b/test/test_inline_object.py index cbff618..4cbf55e 100644 --- a/test/test_inline_object.py +++ b/test/test_inline_object.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_invoice_item_out.py b/test/test_invoice_item_out.py index 52a61fd..f7e4755 100644 --- a/test/test_invoice_item_out.py +++ b/test/test_invoice_item_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_invoice_out.py b/test/test_invoice_out.py index a052f05..5734977 100644 --- a/test/test_invoice_out.py +++ b/test/test_invoice_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_japanese_api.py b/test/test_japanese_api.py index f095805..4f9c5a8 100644 --- a/test/test_japanese_api.py +++ b/test/test_japanese_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_match_personal_first_last_name_in.py b/test/test_match_personal_first_last_name_in.py index b70777e..209fbcf 100644 --- a/test/test_match_personal_first_last_name_in.py +++ b/test/test_match_personal_first_last_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_nam_sor_counter_out.py b/test/test_nam_sor_counter_out.py index ae64561..325a841 100644 --- a/test/test_nam_sor_counter_out.py +++ b/test/test_nam_sor_counter_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_name_geo_in.py b/test/test_name_geo_in.py new file mode 100644 index 0000000..477a217 --- /dev/null +++ b/test/test_name_geo_in.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.name_geo_in import NameGeoIn # noqa: E501 +from openapi_client.rest import ApiException + + +class TestNameGeoIn(unittest.TestCase): + """NameGeoIn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNameGeoIn(self): + """Test NameGeoIn""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.name_geo_in.NameGeoIn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_name_in.py b/test/test_name_in.py new file mode 100644 index 0000000..9bcee68 --- /dev/null +++ b/test/test_name_in.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + NamSor API v2 + + NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 + + OpenAPI spec version: 2.0.12 + Contact: contact@namsor.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import openapi_client +from openapi_client.models.name_in import NameIn # noqa: E501 +from openapi_client.rest import ApiException + + +class TestNameIn(unittest.TestCase): + """NameIn unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testNameIn(self): + """Test NameIn""" + # FIXME: construct object with mandatory attributes with example values + # model = openapi_client.models.name_in.NameIn() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_name_match_candidate_out.py b/test/test_name_match_candidate_out.py index acb1a63..9fa8e18 100644 --- a/test/test_name_match_candidate_out.py +++ b/test/test_name_match_candidate_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_name_match_candidates_out.py b/test/test_name_match_candidates_out.py index 178ea9d..72cd533 100644 --- a/test/test_name_match_candidates_out.py +++ b/test/test_name_match_candidates_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_name_matched_out.py b/test/test_name_matched_out.py index d1ffcc6..b5476f1 100644 --- a/test/test_name_matched_out.py +++ b/test/test_name_matched_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_parsed_full_name_geo_in.py b/test/test_parsed_full_name_geo_in.py index f7d2189..d0c352f 100644 --- a/test/test_parsed_full_name_geo_in.py +++ b/test/test_parsed_full_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_parsed_full_name_in.py b/test/test_parsed_full_name_in.py index 1ac401b..d44ac17 100644 --- a/test/test_parsed_full_name_in.py +++ b/test/test_parsed_full_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_personal_api.py b/test/test_personal_api.py index 5c71e9c..4b7b1d7 100644 --- a/test/test_personal_api.py +++ b/test/test_personal_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ @@ -29,6 +29,20 @@ def setUp(self): def tearDown(self): pass + def test_corridor(self): + """Test case for corridor + + [USES 20 UNITS PER NAME COUPLE] Infer several classifications for a cross border interaction between names (ex. remit, travel, intl com) # noqa: E501 + """ + pass + + def test_corridor_batch(self): + """Test case for corridor_batch + + [USES 20 UNITS PER NAME PAIR] Infer several classifications for up to 100 cross border interaction between names (ex. remit, travel, intl com) # noqa: E501 + """ + pass + def test_country(self): """Test case for country diff --git a/test/test_personal_name_gendered_out.py b/test/test_personal_name_gendered_out.py index 2bd5248..bd02169 100644 --- a/test/test_personal_name_gendered_out.py +++ b/test/test_personal_name_gendered_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_personal_name_geo_in.py b/test/test_personal_name_geo_in.py index 88881cb..3558478 100644 --- a/test/test_personal_name_geo_in.py +++ b/test/test_personal_name_geo_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_personal_name_geo_out.py b/test/test_personal_name_geo_out.py index c3af86b..45a8141 100644 --- a/test/test_personal_name_geo_out.py +++ b/test/test_personal_name_geo_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_personal_name_in.py b/test/test_personal_name_in.py index 07019d0..17041fd 100644 --- a/test/test_personal_name_in.py +++ b/test/test_personal_name_in.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_personal_name_parsed_out.py b/test/test_personal_name_parsed_out.py index 6f6f1ab..fce6bf1 100644 --- a/test/test_personal_name_parsed_out.py +++ b/test/test_personal_name_parsed_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_proper_noun_categorized_out.py b/test/test_proper_noun_categorized_out.py index 321a85a..34009ad 100644 --- a/test/test_proper_noun_categorized_out.py +++ b/test/test_proper_noun_categorized_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_romanized_name_out.py b/test/test_romanized_name_out.py index ba94398..b3151a3 100644 --- a/test/test_romanized_name_out.py +++ b/test/test_romanized_name_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_social_api.py b/test/test_social_api.py index 5e9404b..6c9403e 100644 --- a/test/test_social_api.py +++ b/test/test_social_api.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_software_version_out.py b/test/test_software_version_out.py index c10e4bd..1523d73 100644 --- a/test/test_software_version_out.py +++ b/test/test_software_version_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_source_detailed_metrics_out.py b/test/test_source_detailed_metrics_out.py index b204b22..a8b240c 100644 --- a/test/test_source_detailed_metrics_out.py +++ b/test/test_source_detailed_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_source_metrics_out.py b/test/test_source_metrics_out.py index a15482a..c7b1358 100644 --- a/test/test_source_metrics_out.py +++ b/test/test_source_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_stripe_card_out.py b/test/test_stripe_card_out.py index c7d3584..3ccf175 100644 --- a/test/test_stripe_card_out.py +++ b/test/test_stripe_card_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_stripe_customer_out.py b/test/test_stripe_customer_out.py index d57376a..50b0629 100644 --- a/test/test_stripe_customer_out.py +++ b/test/test_stripe_customer_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_system_metrics_out.py b/test/test_system_metrics_out.py index f7ecbf6..ed774fd 100644 --- a/test/test_system_metrics_out.py +++ b/test/test_system_metrics_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """ diff --git a/test/test_user_info_out.py b/test/test_user_info_out.py index df5b232..3a012c1 100644 --- a/test/test_user_info_out.py +++ b/test/test_user_info_out.py @@ -5,7 +5,7 @@ NamSor API v2 : enpoints to process personal names (gender, cultural origin or ethnicity) in all alphabets or languages. Use GET methods for small tests, but prefer POST methods for higher throughput (batch processing of up to 100 names at a time). Need something you can't find here? We have many more features coming soon. Let us know, we'll do our best to add it! # noqa: E501 - OpenAPI spec version: 2.0.11 + OpenAPI spec version: 2.0.12 Contact: contact@namsor.com Generated by: https://openapi-generator.tech """