criteo-api-retailmedia-sdk 2024.4.0.241029__py3-none-any.whl → 2024.4.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 (54) hide show
  1. {criteo_api_retailmedia_sdk-2024.4.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250205.dist-info}/METADATA +14 -5
  2. {criteo_api_retailmedia_sdk-2024.4.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250205.dist-info}/RECORD +51 -54
  3. {criteo_api_retailmedia_sdk-2024.4.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250205.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_04/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_04/api/accounts_api.py +19 -26
  6. criteo_api_retailmedia_v2024_04/api/campaign_api.py +25 -281
  7. criteo_api_retailmedia_v2024_04/api_client.py +1 -1
  8. criteo_api_retailmedia_v2024_04/configuration.py +1 -1
  9. criteo_api_retailmedia_v2024_04/model/async_campaigns_report.py +44 -0
  10. criteo_api_retailmedia_v2024_04/model/async_line_items_report.py +44 -0
  11. criteo_api_retailmedia_v2024_04/model/async_revenue_report.py +29 -2
  12. criteo_api_retailmedia_v2024_04/model/choice_option.py +1 -8
  13. criteo_api_retailmedia_v2024_04/model/choice_variable_specification.py +1 -8
  14. criteo_api_retailmedia_v2024_04/model/choice_variable_value.py +1 -7
  15. criteo_api_retailmedia_v2024_04/model/color_variable_value.py +7 -19
  16. criteo_api_retailmedia_v2024_04/model/creative202110.py +7 -13
  17. criteo_api_retailmedia_v2024_04/model/creative202110_list_response.py +13 -20
  18. criteo_api_retailmedia_v2024_04/model/creative202210.py +12 -19
  19. criteo_api_retailmedia_v2024_04/model/creative202210_list_response.py +13 -20
  20. criteo_api_retailmedia_v2024_04/model/creative202210_response.py +10 -17
  21. criteo_api_retailmedia_v2024_04/model/creative_create_model202207.py +4 -11
  22. criteo_api_retailmedia_v2024_04/model/creative_update_model202207.py +4 -11
  23. criteo_api_retailmedia_v2024_04/model/{proposal_status_model_resource.py → entity_resource_of_retail_media_account.py} +17 -10
  24. criteo_api_retailmedia_v2024_04/model/{proposal_status_model_response.py → entity_resource_outcome_of_retail_media_account.py} +28 -21
  25. criteo_api_retailmedia_v2024_04/model/{retail_media_account.py → external_retail_media_account.py} +29 -23
  26. criteo_api_retailmedia_v2024_04/model/{retail_media_brand_account_creation.py → external_retail_media_brand_account_creation.py} +18 -12
  27. criteo_api_retailmedia_v2024_04/model/{retail_media_brands.py → external_retail_media_brands.py} +13 -7
  28. criteo_api_retailmedia_v2024_04/model/external_retailer.py +2 -0
  29. criteo_api_retailmedia_v2024_04/model/files_variable_value.py +2 -7
  30. criteo_api_retailmedia_v2024_04/model/files_variables_specification.py +7 -15
  31. criteo_api_retailmedia_v2024_04/model/hyperlink_variable_value.py +7 -19
  32. criteo_api_retailmedia_v2024_04/model/{page_type_environment.py → page_type_environment202210.py} +12 -16
  33. criteo_api_retailmedia_v2024_04/model/resource_of_creative202110.py +6 -13
  34. criteo_api_retailmedia_v2024_04/model/resource_of_creative202210.py +2 -9
  35. criteo_api_retailmedia_v2024_04/model/resource_of_template.py +2 -9
  36. criteo_api_retailmedia_v2024_04/model/section.py +6 -9
  37. criteo_api_retailmedia_v2024_04/model/template.py +13 -24
  38. criteo_api_retailmedia_v2024_04/model/template_list_response.py +13 -20
  39. criteo_api_retailmedia_v2024_04/model/template_response.py +10 -17
  40. criteo_api_retailmedia_v2024_04/model/template_variable.py +1 -8
  41. criteo_api_retailmedia_v2024_04/model/template_variable_value.py +7 -8
  42. criteo_api_retailmedia_v2024_04/model/text_variable_specification.py +2 -8
  43. criteo_api_retailmedia_v2024_04/model/text_variable_value.py +7 -19
  44. criteo_api_retailmedia_v2024_04/model/value_resource_input_of_retail_media_brand_account_creation.py +8 -1
  45. criteo_api_retailmedia_v2024_04/model/value_resource_input_of_retail_media_brands.py +9 -2
  46. criteo_api_retailmedia_v2024_04/model/value_resource_of_retail_media_brand_account_creation.py +13 -6
  47. criteo_api_retailmedia_v2024_04/model/value_resource_of_retail_media_brands.py +14 -7
  48. criteo_api_retailmedia_v2024_04/model/{resource_outcome_of_retail_media_account.py → value_resource_outcome_of_retail_media_brands.py} +17 -10
  49. criteo_api_retailmedia_v2024_04/model/{resource_of_retail_media_account.py → video_variable_value.py} +39 -22
  50. criteo_api_retailmedia_v2024_04/models/__init__.py +8 -11
  51. criteo_api_retailmedia_v2024_04/model/approval_status_model.py +0 -292
  52. criteo_api_retailmedia_v2024_04/model/negotiation_state_model.py +0 -293
  53. criteo_api_retailmedia_v2024_04/model/proposal_status_model.py +0 -284
  54. {criteo_api_retailmedia_sdk-2024.4.0.241029.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250205.dist-info}/top_level.txt +0 -0
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2024_04.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_04.model.proposal_status_model import ProposalStatusModel
34
- globals()['ProposalStatusModel'] = ProposalStatusModel
33
+ from criteo_api_retailmedia_v2024_04.model.external_retail_media_account import ExternalRetailMediaAccount
34
+ globals()['ExternalRetailMediaAccount'] = ExternalRetailMediaAccount
35
35
 
36
36
 
37
- class ProposalStatusModelResource(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
 
@@ -64,9 +64,16 @@ class ProposalStatusModelResource(ModelNormal):
64
64
  validations = {
65
65
  }
66
66
 
67
- additional_properties_type = None
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
68
75
 
69
- _nullable = False
76
+ _nullable = True
70
77
 
71
78
  @cached_property
72
79
  def openapi_types():
@@ -82,7 +89,7 @@ class ProposalStatusModelResource(ModelNormal):
82
89
  return {
83
90
  'id': (str, none_type,), # noqa: E501
84
91
  'type': (str, none_type,), # noqa: E501
85
- 'attributes': (ProposalStatusModel,), # noqa: E501
92
+ 'attributes': (ExternalRetailMediaAccount,), # noqa: E501
86
93
  }
87
94
 
88
95
  @cached_property
@@ -104,7 +111,7 @@ class ProposalStatusModelResource(ModelNormal):
104
111
  @classmethod
105
112
  @convert_js_args_to_python_args
106
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
107
- """ProposalStatusModelResource - a model defined in OpenAPI
114
+ """EntityResourceOfRetailMediaAccount - a model defined in OpenAPI
108
115
 
109
116
  Keyword Args:
110
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -139,7 +146,7 @@ class ProposalStatusModelResource(ModelNormal):
139
146
  _visited_composed_classes = (Animal,)
140
147
  id (str, none_type): [optional] # noqa: E501
141
148
  type (str, none_type): [optional] # noqa: E501
142
- attributes (ProposalStatusModel): [optional] # noqa: E501
149
+ attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
143
150
  """
144
151
 
145
152
  _check_type = kwargs.pop('_check_type', True)
@@ -192,7 +199,7 @@ class ProposalStatusModelResource(ModelNormal):
192
199
 
193
200
  @convert_js_args_to_python_args
194
201
  def __init__(self, *args, **kwargs): # noqa: E501
195
- """ProposalStatusModelResource - a model defined in OpenAPI
202
+ """EntityResourceOfRetailMediaAccount - a model defined in OpenAPI
196
203
 
197
204
  Keyword Args:
198
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -227,7 +234,7 @@ class ProposalStatusModelResource(ModelNormal):
227
234
  _visited_composed_classes = (Animal,)
228
235
  id (str, none_type): [optional] # noqa: E501
229
236
  type (str, none_type): [optional] # noqa: E501
230
- attributes (ProposalStatusModel): [optional] # noqa: E501
237
+ attributes (ExternalRetailMediaAccount): [optional] # noqa: E501
231
238
  """
232
239
 
233
240
  _check_type = kwargs.pop('_check_type', True)
@@ -30,13 +30,13 @@ from criteo_api_retailmedia_v2024_04.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_04.model.proposal_status_model_resource import ProposalStatusModelResource
34
- from criteo_api_retailmedia_v2024_04.model.rmca_common_problem import RmcaCommonProblem
35
- globals()['ProposalStatusModelResource'] = ProposalStatusModelResource
36
- globals()['RmcaCommonProblem'] = RmcaCommonProblem
33
+ from criteo_api_retailmedia_v2024_04.model.common_problem import CommonProblem
34
+ from criteo_api_retailmedia_v2024_04.model.entity_resource_of_retail_media_account import EntityResourceOfRetailMediaAccount
35
+ globals()['CommonProblem'] = CommonProblem
36
+ globals()['EntityResourceOfRetailMediaAccount'] = EntityResourceOfRetailMediaAccount
37
37
 
38
38
 
39
- class ProposalStatusModelResponse(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
 
@@ -66,9 +66,16 @@ class ProposalStatusModelResponse(ModelNormal):
66
66
  validations = {
67
67
  }
68
68
 
69
- additional_properties_type = None
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
70
77
 
71
- _nullable = False
78
+ _nullable = True
72
79
 
73
80
  @cached_property
74
81
  def openapi_types():
@@ -82,9 +89,9 @@ class ProposalStatusModelResponse(ModelNormal):
82
89
  """
83
90
  lazy_import()
84
91
  return {
85
- 'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
86
- 'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
87
- 'data': (ProposalStatusModelResource,), # noqa: E501
92
+ 'data': (EntityResourceOfRetailMediaAccount,), # noqa: E501
93
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
+ 'errors': ([CommonProblem], none_type,), # noqa: E501
88
95
  }
89
96
 
90
97
  @cached_property
@@ -93,14 +100,14 @@ class ProposalStatusModelResponse(ModelNormal):
93
100
 
94
101
 
95
102
  attribute_map = {
96
- 'errors': 'errors', # noqa: E501
97
- 'warnings': 'warnings', # noqa: E501
98
103
  'data': 'data', # noqa: E501
104
+ 'warnings': 'warnings', # noqa: E501
105
+ 'errors': 'errors', # noqa: E501
99
106
  }
100
107
 
101
108
  read_only_vars = {
102
- 'errors', # noqa: E501
103
109
  'warnings', # noqa: E501
110
+ 'errors', # noqa: E501
104
111
  }
105
112
 
106
113
  _composed_schemas = {}
@@ -108,7 +115,7 @@ class ProposalStatusModelResponse(ModelNormal):
108
115
  @classmethod
109
116
  @convert_js_args_to_python_args
110
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
111
- """ProposalStatusModelResponse - a model defined in OpenAPI
118
+ """EntityResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI
112
119
 
113
120
  Keyword Args:
114
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -141,9 +148,9 @@ class ProposalStatusModelResponse(ModelNormal):
141
148
  Animal class but this time we won't travel
142
149
  through its discriminator because we passed in
143
150
  _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
151
+ data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
152
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
147
154
  """
148
155
 
149
156
  _check_type = kwargs.pop('_check_type', True)
@@ -196,7 +203,7 @@ class ProposalStatusModelResponse(ModelNormal):
196
203
 
197
204
  @convert_js_args_to_python_args
198
205
  def __init__(self, *args, **kwargs): # noqa: E501
199
- """ProposalStatusModelResponse - a model defined in OpenAPI
206
+ """EntityResourceOutcomeOfRetailMediaAccount - a model defined in OpenAPI
200
207
 
201
208
  Keyword Args:
202
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -229,9 +236,9 @@ class ProposalStatusModelResponse(ModelNormal):
229
236
  Animal class but this time we won't travel
230
237
  through its discriminator because we passed in
231
238
  _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
239
+ data (EntityResourceOfRetailMediaAccount): [optional] # noqa: E501
240
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
235
242
  """
236
243
 
237
244
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_04.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_04.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)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_04.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class RetailMediaBrands(ModelNormal):
33
+ class ExternalRetailMediaBrands(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 RetailMediaBrands(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
 
@@ -75,7 +81,7 @@ class RetailMediaBrands(ModelNormal):
75
81
  and the value is attribute type.
76
82
  """
77
83
  return {
78
- 'brand_ids': ([int], none_type,), # noqa: E501
84
+ 'brand_ids': ([int],), # noqa: E501
79
85
  }
80
86
 
81
87
  @cached_property
@@ -95,7 +101,7 @@ class RetailMediaBrands(ModelNormal):
95
101
  @classmethod
96
102
  @convert_js_args_to_python_args
97
103
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
98
- """RetailMediaBrands - a model defined in OpenAPI
104
+ """ExternalRetailMediaBrands - a model defined in OpenAPI
99
105
 
100
106
  Keyword Args:
101
107
  _check_type (bool): if True, values for parameters in openapi_types
@@ -128,7 +134,7 @@ class RetailMediaBrands(ModelNormal):
128
134
  Animal class but this time we won't travel
129
135
  through its discriminator because we passed in
130
136
  _visited_composed_classes = (Animal,)
131
- brand_ids ([int], none_type): [optional] # noqa: E501
137
+ brand_ids ([int]): [optional] # noqa: E501
132
138
  """
133
139
 
134
140
  _check_type = kwargs.pop('_check_type', True)
@@ -181,7 +187,7 @@ class RetailMediaBrands(ModelNormal):
181
187
 
182
188
  @convert_js_args_to_python_args
183
189
  def __init__(self, *args, **kwargs): # noqa: E501
184
- """RetailMediaBrands - a model defined in OpenAPI
190
+ """ExternalRetailMediaBrands - a model defined in OpenAPI
185
191
 
186
192
  Keyword Args:
187
193
  _check_type (bool): if True, values for parameters in openapi_types
@@ -214,7 +220,7 @@ class RetailMediaBrands(ModelNormal):
214
220
  Animal class but this time we won't travel
215
221
  through its discriminator because we passed in
216
222
  _visited_composed_classes = (Animal,)
217
- brand_ids ([int], none_type): [optional] # noqa: E501
223
+ brand_ids ([int]): [optional] # noqa: E501
218
224
  """
219
225
 
220
226
  _check_type = kwargs.pop('_check_type', True)
@@ -59,6 +59,8 @@ class ExternalRetailer(ModelNormal):
59
59
  'UNKNOWN': "unknown",
60
60
  'AUCTION': "auction",
61
61
  'PREFERRED': "preferred",
62
+ 'OFFSITE': "offsite",
63
+ 'OFFSITECPC': "offsiteCpc",
62
64
  },
63
65
  }
64
66
 
@@ -59,16 +59,11 @@ class FilesVariableValue(ModelNormal):
59
59
 
60
60
  validations = {
61
61
  ('asset_ids',): {
62
+ 'min_items': 1,
62
63
  },
63
64
  }
64
65
 
65
- @cached_property
66
- def additional_properties_type():
67
- """
68
- This must be a method because a model may have properties that are
69
- of type self, this must run after the class is loaded
70
- """
71
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
66
+ additional_properties_type = None
72
67
 
73
68
  _nullable = False
74
69
 
@@ -67,13 +67,7 @@ class FilesVariablesSpecification(ModelNormal):
67
67
  validations = {
68
68
  }
69
69
 
70
- @cached_property
71
- def additional_properties_type():
72
- """
73
- This must be a method because a model may have properties that are
74
- of type self, this must run after the class is loaded
75
- """
76
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
70
+ additional_properties_type = None
77
71
 
78
72
  _nullable = False
79
73
 
@@ -89,8 +83,8 @@ class FilesVariablesSpecification(ModelNormal):
89
83
  """
90
84
  return {
91
85
  'extensions': ([str],), # noqa: E501
92
- 'min_files': (int, none_type,), # noqa: E501
93
86
  'max_bytes': (int, none_type,), # noqa: E501
87
+ 'min_files': (int, none_type,), # noqa: E501
94
88
  'max_file': (int, none_type,), # noqa: E501
95
89
  }
96
90
 
@@ -101,8 +95,8 @@ class FilesVariablesSpecification(ModelNormal):
101
95
 
102
96
  attribute_map = {
103
97
  'extensions': 'extensions', # noqa: E501
104
- 'min_files': 'minFiles', # noqa: E501
105
98
  'max_bytes': 'maxBytes', # noqa: E501
99
+ 'min_files': 'minFiles', # noqa: E501
106
100
  'max_file': 'maxFile', # noqa: E501
107
101
  }
108
102
 
@@ -113,12 +107,11 @@ class FilesVariablesSpecification(ModelNormal):
113
107
 
114
108
  @classmethod
115
109
  @convert_js_args_to_python_args
116
- def _from_openapi_data(cls, extensions, min_files, *args, **kwargs): # noqa: E501
110
+ def _from_openapi_data(cls, extensions, *args, **kwargs): # noqa: E501
117
111
  """FilesVariablesSpecification - a model defined in OpenAPI
118
112
 
119
113
  Args:
120
114
  extensions ([str]): The accepted file extensions
121
- min_files (int, none_type): The minimum amount of files requires
122
115
 
123
116
  Keyword Args:
124
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -152,6 +145,7 @@ class FilesVariablesSpecification(ModelNormal):
152
145
  through its discriminator because we passed in
153
146
  _visited_composed_classes = (Animal,)
154
147
  max_bytes (int, none_type): The maximum amount of bytes per file. [optional] # noqa: E501
148
+ min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
155
149
  max_file (int, none_type): The maximum amount of files required. [optional] # noqa: E501
156
150
  """
157
151
 
@@ -185,7 +179,6 @@ class FilesVariablesSpecification(ModelNormal):
185
179
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
186
180
 
187
181
  self.extensions = extensions
188
- self.min_files = min_files
189
182
  for var_name, var_value in kwargs.items():
190
183
  if var_name not in self.attribute_map and \
191
184
  self._configuration is not None and \
@@ -206,12 +199,11 @@ class FilesVariablesSpecification(ModelNormal):
206
199
  ])
207
200
 
208
201
  @convert_js_args_to_python_args
209
- def __init__(self, extensions, min_files, *args, **kwargs): # noqa: E501
202
+ def __init__(self, extensions, *args, **kwargs): # noqa: E501
210
203
  """FilesVariablesSpecification - a model defined in OpenAPI
211
204
 
212
205
  Args:
213
206
  extensions ([str]): The accepted file extensions
214
- min_files (int, none_type): The minimum amount of files requires
215
207
 
216
208
  Keyword Args:
217
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -245,6 +237,7 @@ class FilesVariablesSpecification(ModelNormal):
245
237
  through its discriminator because we passed in
246
238
  _visited_composed_classes = (Animal,)
247
239
  max_bytes (int, none_type): The maximum amount of bytes per file. [optional] # noqa: E501
240
+ min_files (int, none_type): The minimum amount of files requires. [optional] # noqa: E501
248
241
  max_file (int, none_type): The maximum amount of files required. [optional] # noqa: E501
249
242
  """
250
243
 
@@ -276,7 +269,6 @@ class FilesVariablesSpecification(ModelNormal):
276
269
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
277
270
 
278
271
  self.extensions = extensions
279
- self.min_files = min_files
280
272
  for var_name, var_value in kwargs.items():
281
273
  if var_name not in self.attribute_map and \
282
274
  self._configuration is not None and \
@@ -60,15 +60,9 @@ class HyperlinkVariableValue(ModelNormal):
60
60
  validations = {
61
61
  }
62
62
 
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
63
+ additional_properties_type = None
70
64
 
71
- _nullable = False
65
+ _nullable = True
72
66
 
73
67
  @cached_property
74
68
  def openapi_types():
@@ -81,7 +75,7 @@ class HyperlinkVariableValue(ModelNormal):
81
75
  and the value is attribute type.
82
76
  """
83
77
  return {
84
- 'url': (str,), # noqa: E501
78
+ 'url': (str, none_type,), # noqa: E501
85
79
  }
86
80
 
87
81
  @cached_property
@@ -100,12 +94,9 @@ class HyperlinkVariableValue(ModelNormal):
100
94
 
101
95
  @classmethod
102
96
  @convert_js_args_to_python_args
103
- def _from_openapi_data(cls, url, *args, **kwargs): # noqa: E501
97
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
104
98
  """HyperlinkVariableValue - a model defined in OpenAPI
105
99
 
106
- Args:
107
- url (str): The url to redirect to
108
-
109
100
  Keyword Args:
110
101
  _check_type (bool): if True, values for parameters in openapi_types
111
102
  will be type checked and a TypeError will be
@@ -137,6 +128,7 @@ class HyperlinkVariableValue(ModelNormal):
137
128
  Animal class but this time we won't travel
138
129
  through its discriminator because we passed in
139
130
  _visited_composed_classes = (Animal,)
131
+ url (str, none_type): The url to redirect to. [optional] # noqa: E501
140
132
  """
141
133
 
142
134
  _check_type = kwargs.pop('_check_type', True)
@@ -168,7 +160,6 @@ class HyperlinkVariableValue(ModelNormal):
168
160
  self._configuration = _configuration
169
161
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
170
162
 
171
- self.url = url
172
163
  for var_name, var_value in kwargs.items():
173
164
  if var_name not in self.attribute_map and \
174
165
  self._configuration is not None and \
@@ -189,12 +180,9 @@ class HyperlinkVariableValue(ModelNormal):
189
180
  ])
190
181
 
191
182
  @convert_js_args_to_python_args
192
- def __init__(self, url, *args, **kwargs): # noqa: E501
183
+ def __init__(self, *args, **kwargs): # noqa: E501
193
184
  """HyperlinkVariableValue - a model defined in OpenAPI
194
185
 
195
- Args:
196
- url (str): The url to redirect to
197
-
198
186
  Keyword Args:
199
187
  _check_type (bool): if True, values for parameters in openapi_types
200
188
  will be type checked and a TypeError will be
@@ -226,6 +214,7 @@ class HyperlinkVariableValue(ModelNormal):
226
214
  Animal class but this time we won't travel
227
215
  through its discriminator because we passed in
228
216
  _visited_composed_classes = (Animal,)
217
+ url (str, none_type): The url to redirect to. [optional] # noqa: E501
229
218
  """
230
219
 
231
220
  _check_type = kwargs.pop('_check_type', True)
@@ -255,7 +244,6 @@ class HyperlinkVariableValue(ModelNormal):
255
244
  self._configuration = _configuration
256
245
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
257
246
 
258
- self.url = url
259
247
  for var_name, var_value in kwargs.items():
260
248
  if var_name not in self.attribute_map and \
261
249
  self._configuration is not None and \