criteo-api-retailmedia-sdk 0.0.251021__py3-none-any.whl → 0.0.251029__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 (44) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/audience_api.py +218 -218
  3. criteo_api_retailmedia_preview/api/campaign_api.py +399 -1414
  4. criteo_api_retailmedia_preview/api_client.py +1 -1
  5. criteo_api_retailmedia_preview/configuration.py +1 -1
  6. criteo_api_retailmedia_preview/model/display_auction_min_bid_request.py +3 -3
  7. criteo_api_retailmedia_preview/models/__init__.py +0 -33
  8. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251029.dist-info}/METADATA +3 -3
  9. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251029.dist-info}/RECORD +11 -44
  10. criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +0 -274
  11. criteo_api_retailmedia_preview/model/add_remove_keywords_model.py +0 -262
  12. criteo_api_retailmedia_preview/model/add_remove_keywords_model_request.py +0 -262
  13. criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +0 -270
  14. criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +0 -284
  15. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +0 -280
  16. criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +0 -270
  17. criteo_api_retailmedia_preview/model/input_keywords_model.py +0 -265
  18. criteo_api_retailmedia_preview/model/keyword_data_model.py +0 -286
  19. criteo_api_retailmedia_preview/model/keywords_model.py +0 -266
  20. criteo_api_retailmedia_preview/model/keywords_model_resource.py +0 -270
  21. criteo_api_retailmedia_preview/model/keywords_model_response.py +0 -274
  22. criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +0 -311
  23. criteo_api_retailmedia_preview/model/match_type_model.py +0 -291
  24. criteo_api_retailmedia_preview/model/resource_outcome.py +0 -268
  25. criteo_api_retailmedia_preview/model/retail_media_keywords_review.py +0 -271
  26. criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +0 -271
  27. criteo_api_retailmedia_preview/model/review_set_state.py +0 -278
  28. criteo_api_retailmedia_preview/model/review_state_model.py +0 -294
  29. criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +0 -286
  30. criteo_api_retailmedia_preview/model/seller_identifier_v2.py +0 -275
  31. criteo_api_retailmedia_preview/model/set_bid_model.py +0 -265
  32. criteo_api_retailmedia_preview/model/set_bids_model.py +0 -262
  33. criteo_api_retailmedia_preview/model/set_bids_model_request.py +0 -262
  34. criteo_api_retailmedia_preview/model/set_bids_model_resource.py +0 -270
  35. criteo_api_retailmedia_preview/model/value_resource_input_of_brand_catalog_request_v2.py +0 -269
  36. criteo_api_retailmedia_preview/model/value_resource_input_of_seller_catalog_request_v2.py +0 -269
  37. criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py +0 -262
  38. criteo_api_retailmedia_preview/model/value_resource_of_brand_catalog_request_v2.py +0 -273
  39. criteo_api_retailmedia_preview/model/value_resource_of_seller_catalog_request_v2.py +0 -273
  40. criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +0 -274
  41. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +0 -266
  42. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +0 -266
  43. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251029.dist-info}/WHEEL +0 -0
  44. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251029.dist-info}/top_level.txt +0 -0
@@ -1,275 +0,0 @@
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 SellerIdentifierV2(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
- 'retailer_id': (str,), # noqa: E501
85
- 'seller_id': (str,), # noqa: E501
86
- }
87
-
88
- @cached_property
89
- def discriminator():
90
- return None
91
-
92
-
93
- attribute_map = {
94
- 'retailer_id': 'retailerId', # noqa: E501
95
- 'seller_id': 'sellerId', # noqa: E501
96
- }
97
-
98
- read_only_vars = {
99
- }
100
-
101
- _composed_schemas = {}
102
-
103
- @classmethod
104
- @convert_js_args_to_python_args
105
- def _from_openapi_data(cls, retailer_id, seller_id, *args, **kwargs): # noqa: E501
106
- """SellerIdentifierV2 - a model defined in OpenAPI
107
-
108
- Args:
109
- retailer_id (str): The retailer Id that the seller operates under
110
- seller_id (str): The id for the seller based on the corresponding retailer
111
-
112
- Keyword Args:
113
- _check_type (bool): if True, values for parameters in openapi_types
114
- will be type checked and a TypeError will be
115
- raised if the wrong type is input.
116
- Defaults to True
117
- _path_to_item (tuple/list): This is a list of keys or values to
118
- drill down to the model in received_data
119
- when deserializing a response
120
- _spec_property_naming (bool): True if the variable names in the input data
121
- are serialized names, as specified in the OpenAPI document.
122
- False if the variable names in the input data
123
- are pythonic names, e.g. snake case (default)
124
- _configuration (Configuration): the instance to use when
125
- deserializing a file_type parameter.
126
- If passed, type conversion is attempted
127
- If omitted no type conversion is done.
128
- _visited_composed_classes (tuple): This stores a tuple of
129
- classes that we have traveled through so that
130
- if we see that class again we will not use its
131
- discriminator again.
132
- When traveling through a discriminator, the
133
- composed schema that is
134
- is traveled through is added to this set.
135
- For example if Animal has a discriminator
136
- petType and we pass in "Dog", and the class Dog
137
- allOf includes Animal, we move through Animal
138
- once using the discriminator, and pick Dog.
139
- Then in Dog, we will make an instance of the
140
- Animal class but this time we won't travel
141
- through its discriminator because we passed in
142
- _visited_composed_classes = (Animal,)
143
- """
144
-
145
- _check_type = kwargs.pop('_check_type', True)
146
- _spec_property_naming = kwargs.pop('_spec_property_naming', True)
147
- _path_to_item = kwargs.pop('_path_to_item', ())
148
- _configuration = kwargs.pop('_configuration', None)
149
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
150
-
151
- self = super(OpenApiModel, cls).__new__(cls)
152
-
153
- if args:
154
- for arg in args:
155
- if isinstance(arg, dict):
156
- kwargs.update(arg)
157
- else:
158
- raise ApiTypeError(
159
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
160
- args,
161
- self.__class__.__name__,
162
- ),
163
- path_to_item=_path_to_item,
164
- valid_classes=(self.__class__,),
165
- )
166
-
167
- self._data_store = {}
168
- self._check_type = _check_type
169
- self._spec_property_naming = _spec_property_naming
170
- self._path_to_item = _path_to_item
171
- self._configuration = _configuration
172
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
173
-
174
- self.retailer_id = retailer_id
175
- self.seller_id = seller_id
176
- for var_name, var_value in kwargs.items():
177
- if var_name not in self.attribute_map and \
178
- self._configuration is not None and \
179
- self._configuration.discard_unknown_keys and \
180
- self.additional_properties_type is None:
181
- # discard variable.
182
- continue
183
- setattr(self, var_name, var_value)
184
- return self
185
-
186
- required_properties = set([
187
- '_data_store',
188
- '_check_type',
189
- '_spec_property_naming',
190
- '_path_to_item',
191
- '_configuration',
192
- '_visited_composed_classes',
193
- ])
194
-
195
- @convert_js_args_to_python_args
196
- def __init__(self, retailer_id, seller_id, *args, **kwargs): # noqa: E501
197
- """SellerIdentifierV2 - a model defined in OpenAPI
198
-
199
- Args:
200
- retailer_id (str): The retailer Id that the seller operates under
201
- seller_id (str): The id for the seller based on the corresponding retailer
202
-
203
- Keyword Args:
204
- _check_type (bool): if True, values for parameters in openapi_types
205
- will be type checked and a TypeError will be
206
- raised if the wrong type is input.
207
- Defaults to True
208
- _path_to_item (tuple/list): This is a list of keys or values to
209
- drill down to the model in received_data
210
- when deserializing a response
211
- _spec_property_naming (bool): True if the variable names in the input data
212
- are serialized names, as specified in the OpenAPI document.
213
- False if the variable names in the input data
214
- are pythonic names, e.g. snake case (default)
215
- _configuration (Configuration): the instance to use when
216
- deserializing a file_type parameter.
217
- If passed, type conversion is attempted
218
- If omitted no type conversion is done.
219
- _visited_composed_classes (tuple): This stores a tuple of
220
- classes that we have traveled through so that
221
- if we see that class again we will not use its
222
- discriminator again.
223
- When traveling through a discriminator, the
224
- composed schema that is
225
- is traveled through is added to this set.
226
- For example if Animal has a discriminator
227
- petType and we pass in "Dog", and the class Dog
228
- allOf includes Animal, we move through Animal
229
- once using the discriminator, and pick Dog.
230
- Then in Dog, we will make an instance of the
231
- Animal class but this time we won't travel
232
- through its discriminator because we passed in
233
- _visited_composed_classes = (Animal,)
234
- """
235
-
236
- _check_type = kwargs.pop('_check_type', True)
237
- _spec_property_naming = kwargs.pop('_spec_property_naming', False)
238
- _path_to_item = kwargs.pop('_path_to_item', ())
239
- _configuration = kwargs.pop('_configuration', None)
240
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
241
-
242
- if args:
243
- for arg in args:
244
- if isinstance(arg, dict):
245
- kwargs.update(arg)
246
- else:
247
- raise ApiTypeError(
248
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
249
- args,
250
- self.__class__.__name__,
251
- ),
252
- path_to_item=_path_to_item,
253
- valid_classes=(self.__class__,),
254
- )
255
-
256
- self._data_store = {}
257
- self._check_type = _check_type
258
- self._spec_property_naming = _spec_property_naming
259
- self._path_to_item = _path_to_item
260
- self._configuration = _configuration
261
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
262
-
263
- self.retailer_id = retailer_id
264
- self.seller_id = seller_id
265
- for var_name, var_value in kwargs.items():
266
- if var_name not in self.attribute_map and \
267
- self._configuration is not None and \
268
- self._configuration.discard_unknown_keys and \
269
- self.additional_properties_type is None:
270
- # discard variable.
271
- continue
272
- setattr(self, var_name, var_value)
273
- if var_name in self.read_only_vars:
274
- raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
275
- f"class with read only attributes.")
@@ -1,265 +0,0 @@
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 SetBidModel(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
- ('phrase',): {
62
- 'max_length': 255,
63
- 'min_length': 0,
64
- },
65
- }
66
-
67
- additional_properties_type = None
68
-
69
- _nullable = False
70
-
71
- @cached_property
72
- def openapi_types():
73
- """
74
- This must be a method because a model may have properties that are
75
- of type self, this must run after the class is loaded
76
-
77
- Returns
78
- openapi_types (dict): The key is attribute name
79
- and the value is attribute type.
80
- """
81
- return {
82
- 'bid': (float, none_type,), # noqa: E501
83
- 'phrase': (str, none_type,), # noqa: E501
84
- }
85
-
86
- @cached_property
87
- def discriminator():
88
- return None
89
-
90
-
91
- attribute_map = {
92
- 'bid': 'bid', # noqa: E501
93
- 'phrase': 'phrase', # noqa: E501
94
- }
95
-
96
- read_only_vars = {
97
- }
98
-
99
- _composed_schemas = {}
100
-
101
- @classmethod
102
- @convert_js_args_to_python_args
103
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
104
- """SetBidModel - a model defined in OpenAPI
105
-
106
- Keyword Args:
107
- _check_type (bool): if True, values for parameters in openapi_types
108
- will be type checked and a TypeError will be
109
- raised if the wrong type is input.
110
- Defaults to True
111
- _path_to_item (tuple/list): This is a list of keys or values to
112
- drill down to the model in received_data
113
- when deserializing a response
114
- _spec_property_naming (bool): True if the variable names in the input data
115
- are serialized names, as specified in the OpenAPI document.
116
- False if the variable names in the input data
117
- are pythonic names, e.g. snake case (default)
118
- _configuration (Configuration): the instance to use when
119
- deserializing a file_type parameter.
120
- If passed, type conversion is attempted
121
- If omitted no type conversion is done.
122
- _visited_composed_classes (tuple): This stores a tuple of
123
- classes that we have traveled through so that
124
- if we see that class again we will not use its
125
- discriminator again.
126
- When traveling through a discriminator, the
127
- composed schema that is
128
- is traveled through is added to this set.
129
- For example if Animal has a discriminator
130
- petType and we pass in "Dog", and the class Dog
131
- allOf includes Animal, we move through Animal
132
- once using the discriminator, and pick Dog.
133
- Then in Dog, we will make an instance of the
134
- Animal class but this time we won't travel
135
- through its discriminator because we passed in
136
- _visited_composed_classes = (Animal,)
137
- bid (float, none_type): [optional] # noqa: E501
138
- phrase (str, none_type): [optional] # noqa: E501
139
- """
140
-
141
- _check_type = kwargs.pop('_check_type', True)
142
- _spec_property_naming = kwargs.pop('_spec_property_naming', True)
143
- _path_to_item = kwargs.pop('_path_to_item', ())
144
- _configuration = kwargs.pop('_configuration', None)
145
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
146
-
147
- self = super(OpenApiModel, cls).__new__(cls)
148
-
149
- if args:
150
- for arg in args:
151
- if isinstance(arg, dict):
152
- kwargs.update(arg)
153
- else:
154
- raise ApiTypeError(
155
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
156
- args,
157
- self.__class__.__name__,
158
- ),
159
- path_to_item=_path_to_item,
160
- valid_classes=(self.__class__,),
161
- )
162
-
163
- self._data_store = {}
164
- self._check_type = _check_type
165
- self._spec_property_naming = _spec_property_naming
166
- self._path_to_item = _path_to_item
167
- self._configuration = _configuration
168
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
169
-
170
- for var_name, var_value in kwargs.items():
171
- if var_name not in self.attribute_map and \
172
- self._configuration is not None and \
173
- self._configuration.discard_unknown_keys and \
174
- self.additional_properties_type is None:
175
- # discard variable.
176
- continue
177
- setattr(self, var_name, var_value)
178
- return self
179
-
180
- required_properties = set([
181
- '_data_store',
182
- '_check_type',
183
- '_spec_property_naming',
184
- '_path_to_item',
185
- '_configuration',
186
- '_visited_composed_classes',
187
- ])
188
-
189
- @convert_js_args_to_python_args
190
- def __init__(self, *args, **kwargs): # noqa: E501
191
- """SetBidModel - a model defined in OpenAPI
192
-
193
- Keyword Args:
194
- _check_type (bool): if True, values for parameters in openapi_types
195
- will be type checked and a TypeError will be
196
- raised if the wrong type is input.
197
- Defaults to True
198
- _path_to_item (tuple/list): This is a list of keys or values to
199
- drill down to the model in received_data
200
- when deserializing a response
201
- _spec_property_naming (bool): True if the variable names in the input data
202
- are serialized names, as specified in the OpenAPI document.
203
- False if the variable names in the input data
204
- are pythonic names, e.g. snake case (default)
205
- _configuration (Configuration): the instance to use when
206
- deserializing a file_type parameter.
207
- If passed, type conversion is attempted
208
- If omitted no type conversion is done.
209
- _visited_composed_classes (tuple): This stores a tuple of
210
- classes that we have traveled through so that
211
- if we see that class again we will not use its
212
- discriminator again.
213
- When traveling through a discriminator, the
214
- composed schema that is
215
- is traveled through is added to this set.
216
- For example if Animal has a discriminator
217
- petType and we pass in "Dog", and the class Dog
218
- allOf includes Animal, we move through Animal
219
- once using the discriminator, and pick Dog.
220
- Then in Dog, we will make an instance of the
221
- Animal class but this time we won't travel
222
- through its discriminator because we passed in
223
- _visited_composed_classes = (Animal,)
224
- bid (float, none_type): [optional] # noqa: E501
225
- phrase (str, none_type): [optional] # noqa: E501
226
- """
227
-
228
- _check_type = kwargs.pop('_check_type', True)
229
- _spec_property_naming = kwargs.pop('_spec_property_naming', False)
230
- _path_to_item = kwargs.pop('_path_to_item', ())
231
- _configuration = kwargs.pop('_configuration', None)
232
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
233
-
234
- if args:
235
- for arg in args:
236
- if isinstance(arg, dict):
237
- kwargs.update(arg)
238
- else:
239
- raise ApiTypeError(
240
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
241
- args,
242
- self.__class__.__name__,
243
- ),
244
- path_to_item=_path_to_item,
245
- valid_classes=(self.__class__,),
246
- )
247
-
248
- self._data_store = {}
249
- self._check_type = _check_type
250
- self._spec_property_naming = _spec_property_naming
251
- self._path_to_item = _path_to_item
252
- self._configuration = _configuration
253
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
254
-
255
- for var_name, var_value in kwargs.items():
256
- if var_name not in self.attribute_map and \
257
- self._configuration is not None and \
258
- self._configuration.discard_unknown_keys and \
259
- self.additional_properties_type is None:
260
- # discard variable.
261
- continue
262
- setattr(self, var_name, var_value)
263
- if var_name in self.read_only_vars:
264
- raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
265
- f"class with read only attributes.")