criteo-api-retailmedia-sdk 2024.10.0.241029__py3-none-any.whl → 2024.10.0.250205__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.

Files changed (82) hide show
  1. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250205.dist-info}/METADATA +14 -5
  2. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250205.dist-info}/RECORD +70 -81
  3. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250205.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_10/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_10/api/accounts_api.py +30 -41
  6. criteo_api_retailmedia_v2024_10/api/campaign_api.py +26 -285
  7. criteo_api_retailmedia_v2024_10/api_client.py +1 -1
  8. criteo_api_retailmedia_v2024_10/configuration.py +1 -1
  9. criteo_api_retailmedia_v2024_10/model/async_campaigns_report.py +44 -0
  10. criteo_api_retailmedia_v2024_10/model/async_line_items_report.py +44 -0
  11. criteo_api_retailmedia_v2024_10/model/async_revenue_report.py +29 -2
  12. criteo_api_retailmedia_v2024_10/model/balance_response_v2_response.py +1 -1
  13. criteo_api_retailmedia_v2024_10/model/change_details_v1.py +8 -18
  14. criteo_api_retailmedia_v2024_10/model/choice_option.py +1 -8
  15. criteo_api_retailmedia_v2024_10/model/choice_variable_specification.py +1 -8
  16. criteo_api_retailmedia_v2024_10/model/choice_variable_value.py +1 -7
  17. criteo_api_retailmedia_v2024_10/model/color_variable_value.py +7 -19
  18. criteo_api_retailmedia_v2024_10/model/{external_creative_v2.py → creative2.py} +23 -30
  19. criteo_api_retailmedia_v2024_10/model/creative202110.py +7 -13
  20. criteo_api_retailmedia_v2024_10/model/creative202110_list_response.py +13 -20
  21. criteo_api_retailmedia_v2024_10/model/creative202210.py +12 -19
  22. criteo_api_retailmedia_v2024_10/model/creative202210_response.py +10 -17
  23. criteo_api_retailmedia_v2024_10/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  24. criteo_api_retailmedia_v2024_10/model/{proposal_status_model_response.py → creative2_response.py} +20 -20
  25. criteo_api_retailmedia_v2024_10/model/creative_create_model202207.py +4 -11
  26. criteo_api_retailmedia_v2024_10/model/creative_update_model202207.py +4 -11
  27. criteo_api_retailmedia_v2024_10/model/{resource_of_creative_v2.py → entity_resource_of_retail_media_account.py} +14 -14
  28. criteo_api_retailmedia_v2024_10/model/{creative_v2_response.py → entity_resource_outcome_of_retail_media_account.py} +9 -9
  29. criteo_api_retailmedia_v2024_10/model/external_line_item_bid_multipliers_v2.py +1 -1
  30. criteo_api_retailmedia_v2024_10/model/{retail_media_account.py → external_retail_media_account.py} +29 -23
  31. criteo_api_retailmedia_v2024_10/model/{retail_media_brand_account_creation.py → external_retail_media_brand_account_creation.py} +18 -12
  32. criteo_api_retailmedia_v2024_10/model/{external_text_variable_value.py → external_retail_media_brands.py} +7 -7
  33. criteo_api_retailmedia_v2024_10/model/{external_hyperlink_variable_value.py → external_retail_media_seller.py} +12 -8
  34. criteo_api_retailmedia_v2024_10/model/external_retail_media_seller_account_creation.py +281 -0
  35. criteo_api_retailmedia_v2024_10/model/external_retailer.py +2 -0
  36. criteo_api_retailmedia_v2024_10/model/files_variable_value.py +2 -7
  37. criteo_api_retailmedia_v2024_10/model/files_variables_specification.py +7 -15
  38. criteo_api_retailmedia_v2024_10/model/hyperlink_variable_value.py +7 -19
  39. criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_request.py +1 -1
  40. criteo_api_retailmedia_v2024_10/model/line_item_bid_multipliers_v2_response.py +1 -1
  41. criteo_api_retailmedia_v2024_10/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  42. criteo_api_retailmedia_v2024_10/model/{page_type_environment.py → page_type_environment202210.py} +12 -16
  43. criteo_api_retailmedia_v2024_10/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  44. criteo_api_retailmedia_v2024_10/model/resource_of_creative202110.py +6 -13
  45. criteo_api_retailmedia_v2024_10/model/resource_of_creative202210.py +2 -9
  46. criteo_api_retailmedia_v2024_10/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  47. criteo_api_retailmedia_v2024_10/model/resource_of_preferred_line_item_v2.py +1 -1
  48. criteo_api_retailmedia_v2024_10/model/resource_of_template.py +2 -9
  49. criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment.py +31 -18
  50. criteo_api_retailmedia_v2024_10/model/section.py +6 -9
  51. criteo_api_retailmedia_v2024_10/model/template.py +13 -24
  52. criteo_api_retailmedia_v2024_10/model/template_list_response.py +13 -20
  53. criteo_api_retailmedia_v2024_10/model/template_response.py +10 -17
  54. criteo_api_retailmedia_v2024_10/model/template_variable.py +1 -8
  55. criteo_api_retailmedia_v2024_10/model/template_variable_value.py +7 -8
  56. criteo_api_retailmedia_v2024_10/model/text_variable_specification.py +2 -8
  57. criteo_api_retailmedia_v2024_10/model/text_variable_value.py +7 -19
  58. criteo_api_retailmedia_v2024_10/model/value_resource_collection_input_of_retail_media_seller.py +12 -5
  59. criteo_api_retailmedia_v2024_10/model/value_resource_collection_outcome_of_retail_media_seller.py +9 -2
  60. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brand_account_creation.py +8 -1
  61. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_brands.py +9 -2
  62. criteo_api_retailmedia_v2024_10/model/value_resource_input_of_retail_media_seller_account_creation.py +9 -2
  63. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brand_account_creation.py +13 -6
  64. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_brands.py +14 -7
  65. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller.py +14 -7
  66. criteo_api_retailmedia_v2024_10/model/value_resource_of_retail_media_seller_account_creation.py +14 -7
  67. criteo_api_retailmedia_v2024_10/model/{creative_v2_list_response.py → value_resource_outcome_of_retail_media_brands.py} +9 -9
  68. criteo_api_retailmedia_v2024_10/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  69. criteo_api_retailmedia_v2024_10/models/__init__.py +15 -26
  70. criteo_api_retailmedia_v2024_10/model/approval_status_model.py +0 -292
  71. criteo_api_retailmedia_v2024_10/model/external_choice_variable_value.py +0 -269
  72. criteo_api_retailmedia_v2024_10/model/external_color_variable_value.py +0 -268
  73. criteo_api_retailmedia_v2024_10/model/external_files_variable_value.py +0 -272
  74. criteo_api_retailmedia_v2024_10/model/external_template_variable_value.py +0 -309
  75. criteo_api_retailmedia_v2024_10/model/negotiation_state_model.py +0 -293
  76. criteo_api_retailmedia_v2024_10/model/proposal_status_model.py +0 -284
  77. criteo_api_retailmedia_v2024_10/model/resource_of_retail_media_account.py +0 -270
  78. criteo_api_retailmedia_v2024_10/model/retail_media_brands.py +0 -257
  79. criteo_api_retailmedia_v2024_10/model/retail_media_contactlist_amendment_attributes.py +0 -292
  80. criteo_api_retailmedia_v2024_10/model/retail_media_seller.py +0 -261
  81. criteo_api_retailmedia_v2024_10/model/retail_media_seller_account_creation.py +0 -274
  82. {criteo_api_retailmedia_sdk-2024.10.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.10.0.250205.dist-info}/top_level.txt +0 -0
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_10.model.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2024_10.model.resource_of_creative202210 import ResourceOfCreative202210
35
- globals()['ProblemDetails'] = ProblemDetails
35
+ globals()['CommonProblem'] = CommonProblem
36
36
  globals()['ResourceOfCreative202210'] = ResourceOfCreative202210
37
37
 
38
38
 
@@ -66,16 +66,9 @@ class Creative202210Response(ModelNormal):
66
66
  validations = {
67
67
  }
68
68
 
69
- @cached_property
70
- def additional_properties_type():
71
- """
72
- This must be a method because a model may have properties that are
73
- of type self, this must run after the class is loaded
74
- """
75
- lazy_import()
76
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
69
+ additional_properties_type = None
77
70
 
78
- _nullable = False
71
+ _nullable = True
79
72
 
80
73
  @cached_property
81
74
  def openapi_types():
@@ -90,8 +83,8 @@ class Creative202210Response(ModelNormal):
90
83
  lazy_import()
91
84
  return {
92
85
  'data': (ResourceOfCreative202210,), # noqa: E501
93
- 'warnings': ([ProblemDetails],), # noqa: E501
94
- 'errors': ([ProblemDetails],), # noqa: E501
86
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
87
+ 'errors': ([CommonProblem], none_type,), # noqa: E501
95
88
  }
96
89
 
97
90
  @cached_property
@@ -149,8 +142,8 @@ class Creative202210Response(ModelNormal):
149
142
  through its discriminator because we passed in
150
143
  _visited_composed_classes = (Animal,)
151
144
  data (ResourceOfCreative202210): [optional] # noqa: E501
152
- warnings ([ProblemDetails]): [optional] # noqa: E501
153
- errors ([ProblemDetails]): [optional] # noqa: E501
145
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
146
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
154
147
  """
155
148
 
156
149
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +230,8 @@ class Creative202210Response(ModelNormal):
237
230
  through its discriminator because we passed in
238
231
  _visited_composed_classes = (Animal,)
239
232
  data (ResourceOfCreative202210): [optional] # noqa: E501
240
- warnings ([ProblemDetails]): [optional] # noqa: E501
241
- errors ([ProblemDetails]): [optional] # noqa: E501
233
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
234
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
242
235
  """
243
236
 
244
237
  _check_type = kwargs.pop('_check_type', True)
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem
34
- from criteo_api_retailmedia_v2024_10.model.resource_of_retail_media_account import ResourceOfRetailMediaAccount
34
+ from criteo_api_retailmedia_v2024_10.model.resource_of_creative2 import ResourceOfCreative2
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ResourceOfRetailMediaAccount'] = ResourceOfRetailMediaAccount
36
+ globals()['ResourceOfCreative2'] = ResourceOfCreative2
37
37
 
38
38
 
39
- class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
39
+ class Creative2ListResponse(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -68,7 +68,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
68
68
 
69
69
  additional_properties_type = None
70
70
 
71
- _nullable = False
71
+ _nullable = True
72
72
 
73
73
  @cached_property
74
74
  def openapi_types():
@@ -82,7 +82,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
82
82
  """
83
83
  lazy_import()
84
84
  return {
85
- 'data': (ResourceOfRetailMediaAccount,), # noqa: E501
85
+ 'data': ([ResourceOfCreative2], none_type,), # noqa: E501
86
86
  'warnings': ([CommonProblem], none_type,), # noqa: E501
87
87
  'errors': ([CommonProblem], none_type,), # noqa: E501
88
88
  }
@@ -108,7 +108,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
110
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111
- """ResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI
111
+ """Creative2ListResponse - a model defined in OpenAPI
112
112
 
113
113
  Keyword Args:
114
114
  _check_type (bool): if True, values for parameters in openapi_types
@@ -141,7 +141,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
141
141
  Animal class but this time we won't travel
142
142
  through its discriminator because we passed in
143
143
  _visited_composed_classes = (Animal,)
144
- data (ResourceOfRetailMediaAccount): [optional] # noqa: E501
144
+ data ([ResourceOfCreative2], none_type): [optional] # noqa: E501
145
145
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
146
146
  errors ([CommonProblem], none_type): [optional] # noqa: E501
147
147
  """
@@ -196,7 +196,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
196
196
 
197
197
  @convert_js_args_to_python_args
198
198
  def __init__(self, *args, **kwargs): # noqa: E501
199
- """ResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI
199
+ """Creative2ListResponse - a model defined in OpenAPI
200
200
 
201
201
  Keyword Args:
202
202
  _check_type (bool): if True, values for parameters in openapi_types
@@ -229,7 +229,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
229
229
  Animal class but this time we won't travel
230
230
  through its discriminator because we passed in
231
231
  _visited_composed_classes = (Animal,)
232
- data (ResourceOfRetailMediaAccount): [optional] # noqa: E501
232
+ data ([ResourceOfCreative2], none_type): [optional] # noqa: E501
233
233
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
234
234
  errors ([CommonProblem], none_type): [optional] # noqa: E501
235
235
  """
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_10.model.proposal_status_model_resource import ProposalStatusModelResource
34
- from criteo_api_retailmedia_v2024_10.model.rmca_common_problem import RmcaCommonProblem
35
- globals()['ProposalStatusModelResource'] = ProposalStatusModelResource
36
- globals()['RmcaCommonProblem'] = RmcaCommonProblem
33
+ from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem
34
+ from criteo_api_retailmedia_v2024_10.model.resource_of_creative2 import ResourceOfCreative2
35
+ globals()['CommonProblem'] = CommonProblem
36
+ globals()['ResourceOfCreative2'] = ResourceOfCreative2
37
37
 
38
38
 
39
- class ProposalStatusModelResponse(ModelNormal):
39
+ class Creative2Response(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -68,7 +68,7 @@ class ProposalStatusModelResponse(ModelNormal):
68
68
 
69
69
  additional_properties_type = None
70
70
 
71
- _nullable = False
71
+ _nullable = True
72
72
 
73
73
  @cached_property
74
74
  def openapi_types():
@@ -82,9 +82,9 @@ class ProposalStatusModelResponse(ModelNormal):
82
82
  """
83
83
  lazy_import()
84
84
  return {
85
- 'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
86
- 'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
87
- 'data': (ProposalStatusModelResource,), # noqa: E501
85
+ 'data': (ResourceOfCreative2,), # noqa: E501
86
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
87
+ 'errors': ([CommonProblem], none_type,), # noqa: E501
88
88
  }
89
89
 
90
90
  @cached_property
@@ -93,14 +93,14 @@ class ProposalStatusModelResponse(ModelNormal):
93
93
 
94
94
 
95
95
  attribute_map = {
96
- 'errors': 'errors', # noqa: E501
97
- 'warnings': 'warnings', # noqa: E501
98
96
  'data': 'data', # noqa: E501
97
+ 'warnings': 'warnings', # noqa: E501
98
+ 'errors': 'errors', # noqa: E501
99
99
  }
100
100
 
101
101
  read_only_vars = {
102
- 'errors', # noqa: E501
103
102
  'warnings', # noqa: E501
103
+ 'errors', # noqa: E501
104
104
  }
105
105
 
106
106
  _composed_schemas = {}
@@ -108,7 +108,7 @@ class ProposalStatusModelResponse(ModelNormal):
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
110
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111
- """ProposalStatusModelResponse - a model defined in OpenAPI
111
+ """Creative2Response - a model defined in OpenAPI
112
112
 
113
113
  Keyword Args:
114
114
  _check_type (bool): if True, values for parameters in openapi_types
@@ -141,9 +141,9 @@ class ProposalStatusModelResponse(ModelNormal):
141
141
  Animal class but this time we won't travel
142
142
  through its discriminator because we passed in
143
143
  _visited_composed_classes = (Animal,)
144
- errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
145
- warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
146
- data (ProposalStatusModelResource): [optional] # noqa: E501
144
+ data (ResourceOfCreative2): [optional] # noqa: E501
145
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
146
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
147
147
  """
148
148
 
149
149
  _check_type = kwargs.pop('_check_type', True)
@@ -196,7 +196,7 @@ class ProposalStatusModelResponse(ModelNormal):
196
196
 
197
197
  @convert_js_args_to_python_args
198
198
  def __init__(self, *args, **kwargs): # noqa: E501
199
- """ProposalStatusModelResponse - a model defined in OpenAPI
199
+ """Creative2Response - a model defined in OpenAPI
200
200
 
201
201
  Keyword Args:
202
202
  _check_type (bool): if True, values for parameters in openapi_types
@@ -229,9 +229,9 @@ class ProposalStatusModelResponse(ModelNormal):
229
229
  Animal class but this time we won't travel
230
230
  through its discriminator because we passed in
231
231
  _visited_composed_classes = (Animal,)
232
- errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
233
- warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
234
- data (ProposalStatusModelResource): [optional] # noqa: E501
232
+ data (ResourceOfCreative2): [optional] # noqa: E501
233
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
234
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
235
235
  """
236
236
 
237
237
  _check_type = kwargs.pop('_check_type', True)
@@ -64,14 +64,7 @@ class CreativeCreateModel202207(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
69
  _nullable = False
77
70
 
@@ -91,7 +84,7 @@ class CreativeCreateModel202207(ModelNormal):
91
84
  'retailer_id': (int,), # noqa: E501
92
85
  'template_id': (int,), # noqa: E501
93
86
  'template_variable_values': ([TemplateVariableValue],), # noqa: E501
94
- 'brand_id': (int,), # noqa: E501
87
+ 'brand_id': (int, none_type,), # noqa: E501
95
88
  }
96
89
 
97
90
  @cached_property
@@ -154,7 +147,7 @@ class CreativeCreateModel202207(ModelNormal):
154
147
  Animal class but this time we won't travel
155
148
  through its discriminator because we passed in
156
149
  _visited_composed_classes = (Animal,)
157
- brand_id (int): The brand associated to the creative. [optional] # noqa: E501
150
+ brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
158
151
  """
159
152
 
160
153
  _check_type = kwargs.pop('_check_type', True)
@@ -250,7 +243,7 @@ class CreativeCreateModel202207(ModelNormal):
250
243
  Animal class but this time we won't travel
251
244
  through its discriminator because we passed in
252
245
  _visited_composed_classes = (Animal,)
253
- brand_id (int): The brand associated to the creative. [optional] # noqa: E501
246
+ brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
254
247
  """
255
248
 
256
249
  _check_type = kwargs.pop('_check_type', True)
@@ -64,14 +64,7 @@ class CreativeUpdateModel202207(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- @cached_property
68
- def additional_properties_type():
69
- """
70
- This must be a method because a model may have properties that are
71
- of type self, this must run after the class is loaded
72
- """
73
- lazy_import()
74
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
67
+ additional_properties_type = None
75
68
 
76
69
  _nullable = False
77
70
 
@@ -91,7 +84,7 @@ class CreativeUpdateModel202207(ModelNormal):
91
84
  'retailer_id': (int,), # noqa: E501
92
85
  'template_id': (int,), # noqa: E501
93
86
  'template_variable_values': ([TemplateVariableValue],), # noqa: E501
94
- 'brand_id': (int,), # noqa: E501
87
+ 'brand_id': (int, none_type,), # noqa: E501
95
88
  }
96
89
 
97
90
  @cached_property
@@ -154,7 +147,7 @@ class CreativeUpdateModel202207(ModelNormal):
154
147
  Animal class but this time we won't travel
155
148
  through its discriminator because we passed in
156
149
  _visited_composed_classes = (Animal,)
157
- brand_id (int): The brand associated to the creative. [optional] # noqa: E501
150
+ brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
158
151
  """
159
152
 
160
153
  _check_type = kwargs.pop('_check_type', True)
@@ -250,7 +243,7 @@ class CreativeUpdateModel202207(ModelNormal):
250
243
  Animal class but this time we won't travel
251
244
  through its discriminator because we passed in
252
245
  _visited_composed_classes = (Animal,)
253
- brand_id (int): The brand associated to the creative. [optional] # noqa: E501
246
+ brand_id (int, none_type): The brand associated to the creative. [optional] # noqa: E501
254
247
  """
255
248
 
256
249
  _check_type = kwargs.pop('_check_type', True)
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_10.model.external_creative_v2 import ExternalCreativeV2
34
- globals()['ExternalCreativeV2'] = ExternalCreativeV2
33
+ from criteo_api_retailmedia_v2024_10.model.external_retail_media_account import ExternalRetailMediaAccount
34
+ globals()['ExternalRetailMediaAccount'] = ExternalRetailMediaAccount
35
35
 
36
36
 
37
- class ResourceOfCreativeV2(ModelNormal):
37
+ class EntityResourceOfRetailMediaAccount(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -73,7 +73,7 @@ class ResourceOfCreativeV2(ModelNormal):
73
73
  lazy_import()
74
74
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
75
75
 
76
- _nullable = False
76
+ _nullable = True
77
77
 
78
78
  @cached_property
79
79
  def openapi_types():
@@ -87,9 +87,9 @@ class ResourceOfCreativeV2(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalCreativeV2,), # noqa: E501
91
90
  'id': (str, none_type,), # noqa: E501
92
91
  'type': (str, none_type,), # noqa: E501
92
+ 'attributes': (ExternalRetailMediaAccount,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -98,9 +98,9 @@ class ResourceOfCreativeV2(ModelNormal):
98
98
 
99
99
 
100
100
  attribute_map = {
101
- 'attributes': 'attributes', # noqa: E501
102
101
  'id': 'id', # noqa: E501
103
102
  'type': 'type', # noqa: E501
103
+ 'attributes': 'attributes', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -111,7 +111,7 @@ class ResourceOfCreativeV2(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """ResourceOfCreativeV2 - a model defined in OpenAPI
114
+ """EntityResourceOfRetailMediaAccount - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -144,9 +144,9 @@ class ResourceOfCreativeV2(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
- attributes (ExternalCreativeV2): [optional] # noqa: E501
148
- id (str, none_type): Id of the entity. [optional] # noqa: E501
149
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
147
+ id (str, none_type): [optional] # noqa: E501
148
+ type (str, none_type): [optional] # noqa: E501
149
+ attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -199,7 +199,7 @@ class ResourceOfCreativeV2(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """ResourceOfCreativeV2 - a model defined in OpenAPI
202
+ """EntityResourceOfRetailMediaAccount - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -232,9 +232,9 @@ class ResourceOfCreativeV2(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
- attributes (ExternalCreativeV2): [optional] # noqa: E501
236
- id (str, none_type): Id of the entity. [optional] # noqa: E501
237
- type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
235
+ id (str, none_type): [optional] # noqa: E501
236
+ type (str, none_type): [optional] # noqa: E501
237
+ attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_retailmedia_v2024_10.model.common_problem import CommonProblem
34
- from criteo_api_retailmedia_v2024_10.model.resource_of_creative_v2 import ResourceOfCreativeV2
34
+ from criteo_api_retailmedia_v2024_10.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ResourceOfCreativeV2'] = ResourceOfCreativeV2
36
+ globals()['EntityResourceOfRetailMediaAccount'] = EntityResourceOfRetailMediaAccount
37
37
 
38
38
 
39
- class CreativeV2Response(ModelNormal):
39
+ class EntityResourceOutcomeOfRetailMediaAccount(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -75,7 +75,7 @@ class CreativeV2Response(ModelNormal):
75
75
  lazy_import()
76
76
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
77
 
78
- _nullable = False
78
+ _nullable = True
79
79
 
80
80
  @cached_property
81
81
  def openapi_types():
@@ -89,7 +89,7 @@ class CreativeV2Response(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': (ResourceOfCreativeV2,), # noqa: E501
92
+ 'data': (EntityResourceOfRetailMediaAccount,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -115,7 +115,7 @@ class CreativeV2Response(ModelNormal):
115
115
  @classmethod
116
116
  @convert_js_args_to_python_args
117
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """CreativeV2Response - a model defined in OpenAPI
118
+ """EntityResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI
119
119
 
120
120
  Keyword Args:
121
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -148,7 +148,7 @@ class CreativeV2Response(ModelNormal):
148
148
  Animal class but this time we won't travel
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
- data (ResourceOfCreativeV2): [optional] # noqa: E501
151
+ data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
152
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
@@ -203,7 +203,7 @@ class CreativeV2Response(ModelNormal):
203
203
 
204
204
  @convert_js_args_to_python_args
205
205
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """CreativeV2Response - a model defined in OpenAPI
206
+ """EntityResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI
207
207
 
208
208
  Keyword Args:
209
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -236,7 +236,7 @@ class CreativeV2Response(ModelNormal):
236
236
  Animal class but this time we won't travel
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
- data (ResourceOfCreativeV2): [optional] # noqa: E501
239
+ data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
240
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
@@ -68,7 +68,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
68
68
  """
69
69
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
70
70
 
71
- _nullable = False
71
+ _nullable = True
72
72
 
73
73
  @cached_property
74
74
  def openapi_types():
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class RetailMediaAccount(ModelNormal):
33
+ class ExternalRetailMediaAccount(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -72,9 +72,15 @@ class RetailMediaAccount(ModelNormal):
72
72
  validations = {
73
73
  }
74
74
 
75
- additional_properties_type = None
75
+ @cached_property
76
+ def additional_properties_type():
77
+ """
78
+ This must be a method because a model may have properties that are
79
+ of type self, this must run after the class is loaded
80
+ """
81
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
76
82
 
77
- _nullable = False
83
+ _nullable = True
78
84
 
79
85
  @cached_property
80
86
  def openapi_types():
@@ -123,7 +129,7 @@ class RetailMediaAccount(ModelNormal):
123
129
  @classmethod
124
130
  @convert_js_args_to_python_args
125
131
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
126
- """RetailMediaAccount - a model defined in OpenAPI
132
+ """ExternalRetailMediaAccount - a model defined in OpenAPI
127
133
 
128
134
  Keyword Args:
129
135
  _check_type (bool): if True, values for parameters in openapi_types
@@ -156,15 +162,15 @@ class RetailMediaAccount(ModelNormal):
156
162
  Animal class but this time we won't travel
157
163
  through its discriminator because we passed in
158
164
  _visited_composed_classes = (Animal,)
159
- name (str, none_type): account name. [optional] # noqa: E501
160
- company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
161
- on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
162
- type (str, none_type): Type for the account. [optional] # noqa: E501
163
- sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
164
- country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
165
- currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
166
- parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
167
- time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
165
+ name (str, none_type): [optional] # noqa: E501
166
+ company_name (str, none_type): [optional] # noqa: E501
167
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
168
+ type (str, none_type): [optional] # noqa: E501
169
+ sub_type (str, none_type): [optional] # noqa: E501
170
+ country_ids ([str], none_type): [optional] # noqa: E501
171
+ currency_id (str, none_type): [optional] # noqa: E501
172
+ parent_account_label (str, none_type): [optional] # noqa: E501
173
+ time_zone (str, none_type): [optional] # noqa: E501
168
174
  """
169
175
 
170
176
  _check_type = kwargs.pop('_check_type', True)
@@ -217,7 +223,7 @@ class RetailMediaAccount(ModelNormal):
217
223
 
218
224
  @convert_js_args_to_python_args
219
225
  def __init__(self, *args, **kwargs): # noqa: E501
220
- """RetailMediaAccount - a model defined in OpenAPI
226
+ """ExternalRetailMediaAccount - a model defined in OpenAPI
221
227
 
222
228
  Keyword Args:
223
229
  _check_type (bool): if True, values for parameters in openapi_types
@@ -250,15 +256,15 @@ class RetailMediaAccount(ModelNormal):
250
256
  Animal class but this time we won't travel
251
257
  through its discriminator because we passed in
252
258
  _visited_composed_classes = (Animal,)
253
- name (str, none_type): account name. [optional] # noqa: E501
254
- company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
255
- on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
256
- type (str, none_type): Type for the account. [optional] # noqa: E501
257
- sub_type (str, none_type): subtype for the account. [optional] # noqa: E501
258
- country_ids ([str], none_type): list of countries associated with the account. [optional] # noqa: E501
259
- currency_id (str, none_type): the currency for the account. [optional] # noqa: E501
260
- parent_account_label (str, none_type): parent account label for the account. [optional] # noqa: E501
261
- time_zone (str, none_type): the timezone for the account. [optional] # noqa: E501
259
+ name (str, none_type): [optional] # noqa: E501
260
+ company_name (str, none_type): [optional] # noqa: E501
261
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
262
+ type (str, none_type): [optional] # noqa: E501
263
+ sub_type (str, none_type): [optional] # noqa: E501
264
+ country_ids ([str], none_type): [optional] # noqa: E501
265
+ currency_id (str, none_type): [optional] # noqa: E501
266
+ parent_account_label (str, none_type): [optional] # noqa: E501
267
+ time_zone (str, none_type): [optional] # noqa: E501
262
268
  """
263
269
 
264
270
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_10.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class RetailMediaBrandAccountCreation(ModelNormal):
33
+ class ExternalRetailMediaBrandAccountCreation(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -60,7 +60,13 @@ class RetailMediaBrandAccountCreation(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
63
- additional_properties_type = None
63
+ @cached_property
64
+ def additional_properties_type():
65
+ """
66
+ This must be a method because a model may have properties that are
67
+ of type self, this must run after the class is loaded
68
+ """
69
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
64
70
 
65
71
  _nullable = False
66
72
 
@@ -101,7 +107,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
101
107
  @classmethod
102
108
  @convert_js_args_to_python_args
103
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
104
- """RetailMediaBrandAccountCreation - a model defined in OpenAPI
110
+ """ExternalRetailMediaBrandAccountCreation - a model defined in OpenAPI
105
111
 
106
112
  Keyword Args:
107
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -134,10 +140,10 @@ class RetailMediaBrandAccountCreation(ModelNormal):
134
140
  Animal class but this time we won't travel
135
141
  through its discriminator because we passed in
136
142
  _visited_composed_classes = (Animal,)
137
- name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
138
- company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
139
- on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
140
- brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
143
+ name (str, none_type): [optional] # noqa: E501
144
+ company_name (str, none_type): [optional] # noqa: E501
145
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
146
+ brands ([int], none_type): [optional] # noqa: E501
141
147
  """
142
148
 
143
149
  _check_type = kwargs.pop('_check_type', True)
@@ -190,7 +196,7 @@ class RetailMediaBrandAccountCreation(ModelNormal):
190
196
 
191
197
  @convert_js_args_to_python_args
192
198
  def __init__(self, *args, **kwargs): # noqa: E501
193
- """RetailMediaBrandAccountCreation - a model defined in OpenAPI
199
+ """ExternalRetailMediaBrandAccountCreation - a model defined in OpenAPI
194
200
 
195
201
  Keyword Args:
196
202
  _check_type (bool): if True, values for parameters in openapi_types
@@ -223,10 +229,10 @@ class RetailMediaBrandAccountCreation(ModelNormal):
223
229
  Animal class but this time we won't travel
224
230
  through its discriminator because we passed in
225
231
  _visited_composed_classes = (Animal,)
226
- name (str, none_type): the name of the account, must be unique across all accounts. [optional] # noqa: E501
227
- company_name (str, none_type): Paying entity name of ads for the Digital Services Act. [optional] # noqa: E501
228
- on_behalf_company_name (str, none_type): On behalf entity name of ads for the Digital Services Act. [optional] # noqa: E501
229
- brands ([int], none_type): list of brands to link to the new account. [optional] # noqa: E501
232
+ name (str, none_type): [optional] # noqa: E501
233
+ company_name (str, none_type): [optional] # noqa: E501
234
+ on_behalf_company_name (str, none_type): [optional] # noqa: E501
235
+ brands ([int], none_type): [optional] # noqa: E501
230
236
  """
231
237
 
232
238
  _check_type = kwargs.pop('_check_type', True)