Skip to content

Commit

Permalink
[240808] Automatic update of SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
ouvreboite committed Aug 8, 2024
1 parent 5581662 commit 97c54fc
Show file tree
Hide file tree
Showing 819 changed files with 13,527 additions and 12,367 deletions.
34 changes: 16 additions & 18 deletions sdks/marketingsolutions_2023-07/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ criteo_api_marketingsolutions_v2023_07/model/nillable_decimal.py
criteo_api_marketingsolutions_v2023_07/model/nillable_gender_v1.py
criteo_api_marketingsolutions_v2023_07/model/nillable_int32.py
criteo_api_marketingsolutions_v2023_07/model/nillable_string.py
criteo_api_marketingsolutions_v2023_07/model/outcome.py
criteo_api_marketingsolutions_v2023_07/model/patch_ad_set.py
criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_bidding.py
criteo_api_marketingsolutions_v2023_07/model/patch_ad_set_budget.py
Expand All @@ -234,13 +235,11 @@ criteo_api_marketingsolutions_v2023_07/model/patch_campaign_spend_limit.py
criteo_api_marketingsolutions_v2023_07/model/patch_campaign_write_resource.py
criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_list_response.py
criteo_api_marketingsolutions_v2023_07/model/patch_result_campaign_read_resource.py
criteo_api_marketingsolutions_v2023_07/model/placements_report_query_data_message.py
criteo_api_marketingsolutions_v2023_07/model/placements_report_query_entity_message.py
criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message.py
criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_list_request.py
criteo_api_marketingsolutions_v2023_07/model/placements_report_query_message_resource.py
criteo_api_marketingsolutions_v2023_07/model/point_of_interest_v1.py
criteo_api_marketingsolutions_v2023_07/model/portfolio_message.py
criteo_api_marketingsolutions_v2023_07/model/problem_details.py
criteo_api_marketingsolutions_v2023_07/model/problems_details.py
criteo_api_marketingsolutions_v2023_07/model/prospecting_create_v1.py
criteo_api_marketingsolutions_v2023_07/model/prospecting_update_v1.py
criteo_api_marketingsolutions_v2023_07/model/prospecting_v1.py
Expand All @@ -265,14 +264,14 @@ criteo_api_marketingsolutions_v2023_07/model/retargeting_v1.py
criteo_api_marketingsolutions_v2023_07/model/size.py
criteo_api_marketingsolutions_v2023_07/model/statistics_report_query_message.py
criteo_api_marketingsolutions_v2023_07/model/tag.py
criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_data_message.py
criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_entity_message.py
criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message.py
criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_list_request.py
criteo_api_marketingsolutions_v2023_07/model/transactions_report_query_message_resource.py
criteo_api_marketingsolutions_v2023_07/model/transparency_query_message.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report_attributes.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report_data_message.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report_entity_message.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report_file.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report_list_response.py
criteo_api_marketingsolutions_v2023_07/model/transparency_report_resource.py
criteo_api_marketingsolutions_v2023_07/model/update_coupon.py
criteo_api_marketingsolutions_v2023_07/model/update_coupon_request.py
criteo_api_marketingsolutions_v2023_07/model/update_coupon_resource.py
Expand Down Expand Up @@ -481,6 +480,7 @@ docs/NillableDecimal.md
docs/NillableGenderV1.md
docs/NillableInt32.md
docs/NillableString.md
docs/Outcome.md
docs/PatchAdSet.md
docs/PatchAdSetBidding.md
docs/PatchAdSetBudget.md
Expand All @@ -501,13 +501,11 @@ docs/PatchCampaignSpendLimit.md
docs/PatchCampaignWriteResource.md
docs/PatchResultCampaignListResponse.md
docs/PatchResultCampaignReadResource.md
docs/PlacementsReportQueryDataMessage.md
docs/PlacementsReportQueryEntityMessage.md
docs/PlacementsReportQueryMessage.md
docs/PlacementsReportQueryMessageListRequest.md
docs/PlacementsReportQueryMessageResource.md
docs/PointOfInterestV1.md
docs/PortfolioMessage.md
docs/ProblemDetails.md
docs/ProblemsDetails.md
docs/ProspectingCreateV1.md
docs/ProspectingUpdateV1.md
docs/ProspectingV1.md
Expand All @@ -532,14 +530,14 @@ docs/RetargetingV1.md
docs/Size.md
docs/StatisticsReportQueryMessage.md
docs/Tag.md
docs/TransactionsReportQueryDataMessage.md
docs/TransactionsReportQueryEntityMessage.md
docs/TransactionsReportQueryMessage.md
docs/TransactionsReportQueryMessageListRequest.md
docs/TransactionsReportQueryMessageResource.md
docs/TransparencyQueryMessage.md
docs/TransparencyReportAttributes.md
docs/TransparencyReportDataMessage.md
docs/TransparencyReportEntityMessage.md
docs/TransparencyReport.md
docs/TransparencyReportFile.md
docs/TransparencyReportListResponse.md
docs/TransparencyReportResource.md
docs/UpdateCoupon.md
docs/UpdateCouponRequest.md
docs/UpdateCouponResource.md
Expand Down
23 changes: 11 additions & 12 deletions sdks/marketingsolutions_2023-07/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ More information: [https://developers.criteo.com/](https://developers.criteo.com

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- Package version: 2023.07.0.240731
- Package version: 2023.07.0.240808

## Requirements

Expand All @@ -18,9 +18,9 @@ Python 2.7 and 3.5+
### pip install

```sh
pip install criteo-api-marketingsolutions-sdk==2023.07.0.240731
pip install criteo-api-marketingsolutions-sdk==2023.07.0.240808
```
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.07.0.240731`)
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2023.07.0.240808`)

Then import the package:
```python
Expand Down Expand Up @@ -253,6 +253,7 @@ Class | Method | HTTP request | Description
- [NillableGenderV1](docs/NillableGenderV1.md)
- [NillableInt32](docs/NillableInt32.md)
- [NillableString](docs/NillableString.md)
- [Outcome](docs/Outcome.md)
- [PatchAdSet](docs/PatchAdSet.md)
- [PatchAdSetBidding](docs/PatchAdSetBidding.md)
- [PatchAdSetBudget](docs/PatchAdSetBudget.md)
Expand All @@ -273,13 +274,11 @@ Class | Method | HTTP request | Description
- [PatchCampaignWriteResource](docs/PatchCampaignWriteResource.md)
- [PatchResultCampaignListResponse](docs/PatchResultCampaignListResponse.md)
- [PatchResultCampaignReadResource](docs/PatchResultCampaignReadResource.md)
- [PlacementsReportQueryDataMessage](docs/PlacementsReportQueryDataMessage.md)
- [PlacementsReportQueryEntityMessage](docs/PlacementsReportQueryEntityMessage.md)
- [PlacementsReportQueryMessage](docs/PlacementsReportQueryMessage.md)
- [PlacementsReportQueryMessageListRequest](docs/PlacementsReportQueryMessageListRequest.md)
- [PlacementsReportQueryMessageResource](docs/PlacementsReportQueryMessageResource.md)
- [PointOfInterestV1](docs/PointOfInterestV1.md)
- [PortfolioMessage](docs/PortfolioMessage.md)
- [ProblemDetails](docs/ProblemDetails.md)
- [ProblemsDetails](docs/ProblemsDetails.md)
- [ProspectingCreateV1](docs/ProspectingCreateV1.md)
- [ProspectingUpdateV1](docs/ProspectingUpdateV1.md)
- [ProspectingV1](docs/ProspectingV1.md)
Expand All @@ -304,14 +303,14 @@ Class | Method | HTTP request | Description
- [Size](docs/Size.md)
- [StatisticsReportQueryMessage](docs/StatisticsReportQueryMessage.md)
- [Tag](docs/Tag.md)
- [TransactionsReportQueryDataMessage](docs/TransactionsReportQueryDataMessage.md)
- [TransactionsReportQueryEntityMessage](docs/TransactionsReportQueryEntityMessage.md)
- [TransactionsReportQueryMessage](docs/TransactionsReportQueryMessage.md)
- [TransactionsReportQueryMessageListRequest](docs/TransactionsReportQueryMessageListRequest.md)
- [TransactionsReportQueryMessageResource](docs/TransactionsReportQueryMessageResource.md)
- [TransparencyQueryMessage](docs/TransparencyQueryMessage.md)
- [TransparencyReportAttributes](docs/TransparencyReportAttributes.md)
- [TransparencyReportDataMessage](docs/TransparencyReportDataMessage.md)
- [TransparencyReportEntityMessage](docs/TransparencyReportEntityMessage.md)
- [TransparencyReport](docs/TransparencyReport.md)
- [TransparencyReportFile](docs/TransparencyReportFile.md)
- [TransparencyReportListResponse](docs/TransparencyReportListResponse.md)
- [TransparencyReportResource](docs/TransparencyReportResource.md)
- [UpdateCoupon](docs/UpdateCoupon.md)
- [UpdateCouponRequest](docs/UpdateCouponRequest.md)
- [UpdateCouponResource](docs/UpdateCouponResource.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""


__version__ = "2023.07.0.240731"
__version__ = "2023.07.0.240808"

# import ApiClient
from criteo_api_marketingsolutions_v2023_07.api_client import ApiClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
none_type,
validate_and_convert_types
)
from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_data_message import PlacementsReportQueryDataMessage
from criteo_api_marketingsolutions_v2023_07.model.problems_details import ProblemsDetails
from criteo_api_marketingsolutions_v2023_07.model.outcome import Outcome
from criteo_api_marketingsolutions_v2023_07.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest
from criteo_api_marketingsolutions_v2023_07.model.statistics_report_query_message import StatisticsReportQueryMessage
from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_data_message import TransactionsReportQueryDataMessage
from criteo_api_marketingsolutions_v2023_07.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest
from criteo_api_marketingsolutions_v2023_07.model.transparency_query_message import TransparencyQueryMessage
from criteo_api_marketingsolutions_v2023_07.model.transparency_report_data_message import TransparencyReportDataMessage
from criteo_api_marketingsolutions_v2023_07.model.transparency_report_list_response import TransparencyReportListResponse


class AnalyticsApi(object):
Expand All @@ -42,7 +42,7 @@ def __init__(self, api_client=None):
self.api_client = api_client
self.get_adset_report_endpoint = _Endpoint(
settings={
'response_type': (file_type,),
'response_type': (str,),
'auth': [
'oauth',
'oauth'
Expand Down Expand Up @@ -101,7 +101,7 @@ def __init__(self, api_client=None):
)
self.get_placements_report_endpoint = _Endpoint(
settings={
'response_type': (file_type,),
'response_type': (str,),
'auth': [
'oauth',
'oauth'
Expand All @@ -113,7 +113,7 @@ def __init__(self, api_client=None):
},
params_map={
'all': [
'placements_report_query_data_message',
'placements_report_query_message_list_request',
],
'required': [],
'nullable': [
Expand All @@ -129,13 +129,13 @@ def __init__(self, api_client=None):
'allowed_values': {
},
'openapi_types': {
'placements_report_query_data_message':
(PlacementsReportQueryDataMessage,),
'placements_report_query_message_list_request':
(PlacementsReportQueryMessageListRequest,),
},
'attribute_map': {
},
'location_map': {
'placements_report_query_data_message': 'body',
'placements_report_query_message_list_request': 'body',
},
'collection_format_map': {
}
Expand All @@ -145,9 +145,8 @@ def __init__(self, api_client=None):
'text/plain',
'application/json',
'text/json',
'text/csv',
'text/xml',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
'application/xml',
'text/xml'
],
'content_type': [
'application/json-patch+json',
Expand All @@ -160,7 +159,7 @@ def __init__(self, api_client=None):
)
self.get_transactions_report_endpoint = _Endpoint(
settings={
'response_type': (file_type,),
'response_type': (str,),
'auth': [
'oauth',
'oauth'
Expand All @@ -172,7 +171,7 @@ def __init__(self, api_client=None):
},
params_map={
'all': [
'transactions_report_query_data_message',
'transactions_report_query_message_list_request',
],
'required': [],
'nullable': [
Expand All @@ -188,13 +187,13 @@ def __init__(self, api_client=None):
'allowed_values': {
},
'openapi_types': {
'transactions_report_query_data_message':
(TransactionsReportQueryDataMessage,),
'transactions_report_query_message_list_request':
(TransactionsReportQueryMessageListRequest,),
},
'attribute_map': {
},
'location_map': {
'transactions_report_query_data_message': 'body',
'transactions_report_query_message_list_request': 'body',
},
'collection_format_map': {
}
Expand All @@ -219,7 +218,7 @@ def __init__(self, api_client=None):
)
self.get_transparency_report_endpoint = _Endpoint(
settings={
'response_type': (TransparencyReportDataMessage,),
'response_type': (TransparencyReportListResponse,),
'auth': [
'oauth',
'oauth'
Expand Down Expand Up @@ -267,9 +266,11 @@ def __init__(self, api_client=None):
},
headers_map={
'accept': [
'application/json',
'text/plain',
'text/json'
'application/json',
'text/json',
'application/xml',
'text/xml'
],
'content_type': [
'application/json-patch+json',
Expand Down Expand Up @@ -329,7 +330,7 @@ def get_adset_report(
async_req (bool): execute request asynchronously
Returns:
file_type
str
If the method is called asynchronously, returns the request
thread.
"""
Expand Down Expand Up @@ -375,7 +376,7 @@ def get_placements_report(
Keyword Args:
placements_report_query_data_message (PlacementsReportQueryDataMessage): [optional]
placements_report_query_message_list_request (PlacementsReportQueryMessageListRequest): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down Expand Up @@ -408,7 +409,7 @@ def get_placements_report(
async_req (bool): execute request asynchronously
Returns:
file_type
str
If the method is called asynchronously, returns the request
thread.
"""
Expand Down Expand Up @@ -454,7 +455,7 @@ def get_transactions_report(
Keyword Args:
transactions_report_query_data_message (TransactionsReportQueryDataMessage): [optional]
transactions_report_query_message_list_request (TransactionsReportQueryMessageListRequest): [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down Expand Up @@ -487,7 +488,7 @@ def get_transactions_report(
async_req (bool): execute request asynchronously
Returns:
file_type
str
If the method is called asynchronously, returns the request
thread.
"""
Expand Down Expand Up @@ -536,7 +537,7 @@ def get_transparency_report(
advertiser_id (int): The advertiser id to fetch the transparency data.
Keyword Args:
transparency_query_message (TransparencyQueryMessage): [optional]
transparency_query_message (TransparencyQueryMessage): The query message.. [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down Expand Up @@ -569,7 +570,7 @@ def get_transparency_report(
async_req (bool): execute request asynchronously
Returns:
TransparencyReportDataMessage
TransparencyReportListResponse
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/2023.07.0.240731/python'
self.user_agent = 'OpenAPI-Generator/2023.07.0.240808/python'

def __enter__(self):
return self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2023-07\n"\
"SDK Package Version: 2023.07.0.240731".\
"SDK Package Version: 2023.07.0.240808".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading

0 comments on commit 97c54fc

Please sign in to comment.