criteo-api-retailmedia-sdk 0.0.240626__py3-none-any.whl → 0.0.240731__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +42 -629
- criteo_api_retailmedia_preview/api/audience_api.py +835 -58
- criteo_api_retailmedia_preview/api/balance_api.py +1146 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +165 -158
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → add_funds_to_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +0 -4
- criteo_api_retailmedia_preview/model/async_accounts_report.py +2 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +2 -0
- criteo_api_retailmedia_preview/model/async_line_items_report.py +2 -0
- criteo_api_retailmedia_preview/model/{insertion_order_history_change_data_capture.py → balance_history_change_data_capture_v1.py} +11 -11
- criteo_api_retailmedia_preview/model/balance_response_v2.py +351 -0
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +281 -0
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +271 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brand_account_creation.py → change_dates_of_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/{change_details.py → change_details_v1.py} +3 -3
- criteo_api_retailmedia_preview/model/change_details_v2.py +275 -0
- criteo_api_retailmedia_preview/model/common_problem.py +2 -2
- criteo_api_retailmedia_preview/model/create_balance_v2.py +302 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brands.py → create_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/external_catalog_status.py +312 -0
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +303 -0
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +285 -0
- criteo_api_retailmedia_preview/model/json_api_body_without_id_of_seller_catalog_request_and_seller_catalog_request.py +279 -0
- criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +269 -0
- criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +287 -0
- criteo_api_retailmedia_preview/model/{retail_media_seller.py → nillable_string.py} +14 -12
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +276 -0
- criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture.py → page_of_insertion_order_history_change_data_capture_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +287 -0
- criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_change_dates_of_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_create_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_update_balance_model_v2.py +277 -0
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +6 -6
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +281 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brand_account_creation.py → rm_audience_segment_create_entity_v1_resource.py} +16 -9
- criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → rm_audience_segment_delete_entity_v1_resource.py} +15 -14
- criteo_api_retailmedia_preview/model/{retail_media_account.py → rm_audience_segment_entity_v1.py} +52 -37
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_retail_media_seller.py → rm_audience_segment_entity_v1_list_response.py} +16 -9
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → rm_audience_segment_entity_v1_resource.py} +21 -10
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +287 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +281 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller.py → rm_audience_segment_id_entity_v1_resource.py} +18 -13
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +267 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brands.py → rm_audience_segment_search_entity_v1_resource.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/{retail_media_brand_account_creation.py → rm_audience_segment_search_metadata_v1.py} +22 -16
- criteo_api_retailmedia_preview/model/{retail_media_seller_account_creation.py → rm_audience_segment_update_entity_v1.py} +23 -16
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/{retail_media_brands.py → rm_contact_list_create_v1.py} +21 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → rm_contact_list_statistics_entity_v1_response.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +275 -0
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +269 -0
- criteo_api_retailmedia_preview/model/seller_identifier.py +275 -0
- criteo_api_retailmedia_preview/model/sku_data_preview.py +8 -6
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +8 -6
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +2 -0
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +2 -0
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +279 -0
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → update_balance_model_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/models/__init__.py +53 -19
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/RECORD +79 -44
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class AddFundsToBalanceV2(ModelNormal):
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
|
|
39
|
+
Attributes:
|
|
40
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
41
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
42
|
+
with a capitalized key describing the allowed value and an allowed
|
|
43
|
+
value. These dicts store the allowed enum values.
|
|
44
|
+
attribute_map (dict): The key is attribute name
|
|
45
|
+
and the value is json key in definition.
|
|
46
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
47
|
+
variable value to the discriminator class name.
|
|
48
|
+
validations (dict): The key is the tuple path to the attribute
|
|
49
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
50
|
+
that stores validations for max_length, min_length, max_items,
|
|
51
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
52
|
+
inclusive_minimum, and regex.
|
|
53
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
54
|
+
as additional properties values.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
allowed_values = {
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validations = {
|
|
61
|
+
}
|
|
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
|
|
70
|
+
|
|
71
|
+
_nullable = False
|
|
72
|
+
|
|
73
|
+
@cached_property
|
|
74
|
+
def openapi_types():
|
|
75
|
+
"""
|
|
76
|
+
This must be a method because a model may have properties that are
|
|
77
|
+
of type self, this must run after the class is loaded
|
|
78
|
+
|
|
79
|
+
Returns
|
|
80
|
+
openapi_types (dict): The key is attribute name
|
|
81
|
+
and the value is attribute type.
|
|
82
|
+
"""
|
|
83
|
+
return {
|
|
84
|
+
'delta_amount': (float,), # noqa: E501
|
|
85
|
+
'po_number': (str, none_type,), # noqa: E501
|
|
86
|
+
'memo': (str, none_type,), # noqa: E501
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@cached_property
|
|
90
|
+
def discriminator():
|
|
91
|
+
return None
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
attribute_map = {
|
|
95
|
+
'delta_amount': 'deltaAmount', # noqa: E501
|
|
96
|
+
'po_number': 'poNumber', # noqa: E501
|
|
97
|
+
'memo': 'memo', # noqa: E501
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
read_only_vars = {
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
_composed_schemas = {}
|
|
104
|
+
|
|
105
|
+
@classmethod
|
|
106
|
+
@convert_js_args_to_python_args
|
|
107
|
+
def _from_openapi_data(cls, delta_amount, *args, **kwargs): # noqa: E501
|
|
108
|
+
"""AddFundsToBalanceV2 - a model defined in OpenAPI
|
|
109
|
+
|
|
110
|
+
Args:
|
|
111
|
+
delta_amount (float): Amount of billable funds to be added / decreased allotted to the balance.
|
|
112
|
+
|
|
113
|
+
Keyword Args:
|
|
114
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
115
|
+
will be type checked and a TypeError will be
|
|
116
|
+
raised if the wrong type is input.
|
|
117
|
+
Defaults to True
|
|
118
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
119
|
+
drill down to the model in received_data
|
|
120
|
+
when deserializing a response
|
|
121
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
122
|
+
are serialized names, as specified in the OpenAPI document.
|
|
123
|
+
False if the variable names in the input data
|
|
124
|
+
are pythonic names, e.g. snake case (default)
|
|
125
|
+
_configuration (Configuration): the instance to use when
|
|
126
|
+
deserializing a file_type parameter.
|
|
127
|
+
If passed, type conversion is attempted
|
|
128
|
+
If omitted no type conversion is done.
|
|
129
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
130
|
+
classes that we have traveled through so that
|
|
131
|
+
if we see that class again we will not use its
|
|
132
|
+
discriminator again.
|
|
133
|
+
When traveling through a discriminator, the
|
|
134
|
+
composed schema that is
|
|
135
|
+
is traveled through is added to this set.
|
|
136
|
+
For example if Animal has a discriminator
|
|
137
|
+
petType and we pass in "Dog", and the class Dog
|
|
138
|
+
allOf includes Animal, we move through Animal
|
|
139
|
+
once using the discriminator, and pick Dog.
|
|
140
|
+
Then in Dog, we will make an instance of the
|
|
141
|
+
Animal class but this time we won't travel
|
|
142
|
+
through its discriminator because we passed in
|
|
143
|
+
_visited_composed_classes = (Animal,)
|
|
144
|
+
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
145
|
+
memo (str, none_type): Memo. [optional] # noqa: E501
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
149
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
150
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
151
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
152
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
153
|
+
|
|
154
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
155
|
+
|
|
156
|
+
if args:
|
|
157
|
+
for arg in args:
|
|
158
|
+
if isinstance(arg, dict):
|
|
159
|
+
kwargs.update(arg)
|
|
160
|
+
else:
|
|
161
|
+
raise ApiTypeError(
|
|
162
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
163
|
+
args,
|
|
164
|
+
self.__class__.__name__,
|
|
165
|
+
),
|
|
166
|
+
path_to_item=_path_to_item,
|
|
167
|
+
valid_classes=(self.__class__,),
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
self._data_store = {}
|
|
171
|
+
self._check_type = _check_type
|
|
172
|
+
self._spec_property_naming = _spec_property_naming
|
|
173
|
+
self._path_to_item = _path_to_item
|
|
174
|
+
self._configuration = _configuration
|
|
175
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
|
+
|
|
177
|
+
self.delta_amount = delta_amount
|
|
178
|
+
for var_name, var_value in kwargs.items():
|
|
179
|
+
if var_name not in self.attribute_map and \
|
|
180
|
+
self._configuration is not None and \
|
|
181
|
+
self._configuration.discard_unknown_keys and \
|
|
182
|
+
self.additional_properties_type is None:
|
|
183
|
+
# discard variable.
|
|
184
|
+
continue
|
|
185
|
+
setattr(self, var_name, var_value)
|
|
186
|
+
return self
|
|
187
|
+
|
|
188
|
+
required_properties = set([
|
|
189
|
+
'_data_store',
|
|
190
|
+
'_check_type',
|
|
191
|
+
'_spec_property_naming',
|
|
192
|
+
'_path_to_item',
|
|
193
|
+
'_configuration',
|
|
194
|
+
'_visited_composed_classes',
|
|
195
|
+
])
|
|
196
|
+
|
|
197
|
+
@convert_js_args_to_python_args
|
|
198
|
+
def __init__(self, delta_amount, *args, **kwargs): # noqa: E501
|
|
199
|
+
"""AddFundsToBalanceV2 - a model defined in OpenAPI
|
|
200
|
+
|
|
201
|
+
Args:
|
|
202
|
+
delta_amount (float): Amount of billable funds to be added / decreased allotted to the balance.
|
|
203
|
+
|
|
204
|
+
Keyword Args:
|
|
205
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
206
|
+
will be type checked and a TypeError will be
|
|
207
|
+
raised if the wrong type is input.
|
|
208
|
+
Defaults to True
|
|
209
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
210
|
+
drill down to the model in received_data
|
|
211
|
+
when deserializing a response
|
|
212
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
213
|
+
are serialized names, as specified in the OpenAPI document.
|
|
214
|
+
False if the variable names in the input data
|
|
215
|
+
are pythonic names, e.g. snake case (default)
|
|
216
|
+
_configuration (Configuration): the instance to use when
|
|
217
|
+
deserializing a file_type parameter.
|
|
218
|
+
If passed, type conversion is attempted
|
|
219
|
+
If omitted no type conversion is done.
|
|
220
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
221
|
+
classes that we have traveled through so that
|
|
222
|
+
if we see that class again we will not use its
|
|
223
|
+
discriminator again.
|
|
224
|
+
When traveling through a discriminator, the
|
|
225
|
+
composed schema that is
|
|
226
|
+
is traveled through is added to this set.
|
|
227
|
+
For example if Animal has a discriminator
|
|
228
|
+
petType and we pass in "Dog", and the class Dog
|
|
229
|
+
allOf includes Animal, we move through Animal
|
|
230
|
+
once using the discriminator, and pick Dog.
|
|
231
|
+
Then in Dog, we will make an instance of the
|
|
232
|
+
Animal class but this time we won't travel
|
|
233
|
+
through its discriminator because we passed in
|
|
234
|
+
_visited_composed_classes = (Animal,)
|
|
235
|
+
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
236
|
+
memo (str, none_type): Memo. [optional] # noqa: E501
|
|
237
|
+
"""
|
|
238
|
+
|
|
239
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
240
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
241
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
242
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
243
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
244
|
+
|
|
245
|
+
if args:
|
|
246
|
+
for arg in args:
|
|
247
|
+
if isinstance(arg, dict):
|
|
248
|
+
kwargs.update(arg)
|
|
249
|
+
else:
|
|
250
|
+
raise ApiTypeError(
|
|
251
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
252
|
+
args,
|
|
253
|
+
self.__class__.__name__,
|
|
254
|
+
),
|
|
255
|
+
path_to_item=_path_to_item,
|
|
256
|
+
valid_classes=(self.__class__,),
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
self._data_store = {}
|
|
260
|
+
self._check_type = _check_type
|
|
261
|
+
self._spec_property_naming = _spec_property_naming
|
|
262
|
+
self._path_to_item = _path_to_item
|
|
263
|
+
self._configuration = _configuration
|
|
264
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
265
|
+
|
|
266
|
+
self.delta_amount = delta_amount
|
|
267
|
+
for var_name, var_value in kwargs.items():
|
|
268
|
+
if var_name not in self.attribute_map and \
|
|
269
|
+
self._configuration is not None and \
|
|
270
|
+
self._configuration.discard_unknown_keys and \
|
|
271
|
+
self.additional_properties_type is None:
|
|
272
|
+
# discard variable.
|
|
273
|
+
continue
|
|
274
|
+
setattr(self, var_name, var_value)
|
|
275
|
+
if var_name in self.read_only_vars:
|
|
276
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
277
|
+
f"class with read only attributes.")
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.resource_of_add_funds_to_balance_v2 import ResourceOfAddFundsToBalanceV2
|
|
34
|
+
globals()['ResourceOfAddFundsToBalanceV2'] = ResourceOfAddFundsToBalanceV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class AddFundsToBalanceV2Request(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,7 +64,14 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
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
76
|
_nullable = False
|
|
70
77
|
|
|
@@ -80,7 +87,7 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
80
87
|
"""
|
|
81
88
|
lazy_import()
|
|
82
89
|
return {
|
|
83
|
-
'data': (
|
|
90
|
+
'data': (ResourceOfAddFundsToBalanceV2,), # noqa: E501
|
|
84
91
|
}
|
|
85
92
|
|
|
86
93
|
@cached_property
|
|
@@ -100,7 +107,7 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
100
107
|
@classmethod
|
|
101
108
|
@convert_js_args_to_python_args
|
|
102
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
103
|
-
"""
|
|
110
|
+
"""AddFundsToBalanceV2Request - a model defined in OpenAPI
|
|
104
111
|
|
|
105
112
|
Keyword Args:
|
|
106
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -133,7 +140,7 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
133
140
|
Animal class but this time we won't travel
|
|
134
141
|
through its discriminator because we passed in
|
|
135
142
|
_visited_composed_classes = (Animal,)
|
|
136
|
-
data (
|
|
143
|
+
data (ResourceOfAddFundsToBalanceV2): [optional] # noqa: E501
|
|
137
144
|
"""
|
|
138
145
|
|
|
139
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -186,7 +193,7 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
186
193
|
|
|
187
194
|
@convert_js_args_to_python_args
|
|
188
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
189
|
-
"""
|
|
196
|
+
"""AddFundsToBalanceV2Request - a model defined in OpenAPI
|
|
190
197
|
|
|
191
198
|
Keyword Args:
|
|
192
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -219,7 +226,7 @@ class ValueResourceInputOfRetailMediaSellerAccountCreation(ModelNormal):
|
|
|
219
226
|
Animal class but this time we won't travel
|
|
220
227
|
through its discriminator because we passed in
|
|
221
228
|
_visited_composed_classes = (Animal,)
|
|
222
|
-
data (
|
|
229
|
+
data (ResourceOfAddFundsToBalanceV2): [optional] # noqa: E501
|
|
223
230
|
"""
|
|
224
231
|
|
|
225
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -126,6 +126,8 @@ class AsyncAccountsReport(ModelNormal):
|
|
|
126
126
|
'SALESCHANNEL': "salesChannel",
|
|
127
127
|
'ENVIRONMENT': "environment",
|
|
128
128
|
'PAGETYPENAME': "pageTypeName",
|
|
129
|
+
'PAGECATEGORY': "pageCategory",
|
|
130
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
129
131
|
'KEYWORD': "keyword",
|
|
130
132
|
'SEARCHTERM': "searchTerm",
|
|
131
133
|
},
|
|
@@ -121,6 +121,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
123
|
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'PAGECATEGORY': "pageCategory",
|
|
125
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
124
126
|
'KEYWORD': "keyword",
|
|
125
127
|
'SEARCHTERM': "searchTerm",
|
|
126
128
|
},
|
|
@@ -121,6 +121,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
123
|
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'PAGECATEGORY': "pageCategory",
|
|
125
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
124
126
|
'KEYWORD': "keyword",
|
|
125
127
|
'SEARCHTERM': "searchTerm",
|
|
126
128
|
},
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.change_details_v1 import ChangeDetailsV1
|
|
34
|
+
globals()['ChangeDetailsV1'] = ChangeDetailsV1
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class BalanceHistoryChangeDataCaptureV1(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -70,7 +70,7 @@ class InsertionOrderHistoryChangeDataCapture(ModelNormal):
|
|
|
70
70
|
'BALANCENAME': "BalanceName",
|
|
71
71
|
'PONUMBER': "PoNumber",
|
|
72
72
|
'VALUEADD': "ValueAdd",
|
|
73
|
-
'
|
|
73
|
+
'UNKNOWN': "Unknown",
|
|
74
74
|
},
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -96,7 +96,7 @@ class InsertionOrderHistoryChangeDataCapture(ModelNormal):
|
|
|
96
96
|
'date_of_modification': (datetime,), # noqa: E501
|
|
97
97
|
'modified_by_user': (str,), # noqa: E501
|
|
98
98
|
'change_type': (str,), # noqa: E501
|
|
99
|
-
'change_details': (
|
|
99
|
+
'change_details': (ChangeDetailsV1,), # noqa: E501
|
|
100
100
|
'memo': (str, none_type,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -121,13 +121,13 @@ class InsertionOrderHistoryChangeDataCapture(ModelNormal):
|
|
|
121
121
|
@classmethod
|
|
122
122
|
@convert_js_args_to_python_args
|
|
123
123
|
def _from_openapi_data(cls, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501
|
|
124
|
-
"""
|
|
124
|
+
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
125
125
|
|
|
126
126
|
Args:
|
|
127
127
|
date_of_modification (datetime): Date when data change has occured.
|
|
128
|
-
modified_by_user (str):
|
|
128
|
+
modified_by_user (str): Username who modified the insertion order.
|
|
129
129
|
change_type (str): Represent the type of change states of the history.
|
|
130
|
-
change_details (
|
|
130
|
+
change_details (ChangeDetailsV1):
|
|
131
131
|
|
|
132
132
|
Keyword Args:
|
|
133
133
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -217,13 +217,13 @@ class InsertionOrderHistoryChangeDataCapture(ModelNormal):
|
|
|
217
217
|
|
|
218
218
|
@convert_js_args_to_python_args
|
|
219
219
|
def __init__(self, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501
|
|
220
|
-
"""
|
|
220
|
+
"""BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
223
|
date_of_modification (datetime): Date when data change has occured.
|
|
224
|
-
modified_by_user (str):
|
|
224
|
+
modified_by_user (str): Username who modified the insertion order.
|
|
225
225
|
change_type (str): Represent the type of change states of the history.
|
|
226
|
-
change_details (
|
|
226
|
+
change_details (ChangeDetailsV1):
|
|
227
227
|
|
|
228
228
|
Keyword Args:
|
|
229
229
|
_check_type (bool): if True, values for parameters in openapi_types
|