criteo-api-marketingsolutions-sdk 0.0.251014__py3-none-any.whl → 0.0.251021__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-marketingsolutions-sdk might be problematic. Click here for more details.

@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.251014"
11
+ __version__ = "0.0.251021"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_marketingsolutions_preview.api_client import ApiClient
@@ -494,7 +494,7 @@ class AudienceApi(object):
494
494
  'oauth',
495
495
  'oauth'
496
496
  ],
497
- 'endpoint_path': '/preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list',
497
+ 'endpoint_path': '/preview/marketing-solutions/audience-segments/{audience-segment-id}/contact-list/statistics',
498
498
  'operation_id': 'get_audience_segment_contact_list_statistics',
499
499
  'http_method': 'GET',
500
500
  'servers': None,
@@ -27,6 +27,7 @@ from criteo_api_marketingsolutions_preview.model.resource_outcome_of_product_set
27
27
  from criteo_api_marketingsolutions_preview.model.value_resource_collection_outcome_of_product_filter_config import ValueResourceCollectionOutcomeOfProductFilterConfig
28
28
  from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_filter_request import ValueResourceInputOfCreateProductFilterRequest
29
29
  from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_set_request import ValueResourceInputOfCreateProductSetRequest
30
+ from criteo_api_marketingsolutions_preview.model.value_resource_input_of_patch_product_set_request import ValueResourceInputOfPatchProductSetRequest
30
31
  from criteo_api_marketingsolutions_preview.model.value_resource_outcome_of_product_filter_config import ValueResourceOutcomeOfProductFilterConfig
31
32
 
32
33
 
@@ -410,6 +411,64 @@ class RecoApi(object):
410
411
  },
411
412
  api_client=api_client
412
413
  )
414
+ self.patch_product_set_endpoint = _Endpoint(
415
+ settings={
416
+ 'response_type': (ResourceOutcomeOfProductSet,),
417
+ 'auth': [
418
+ 'oauth',
419
+ 'oauth'
420
+ ],
421
+ 'endpoint_path': '/preview/product-sets/{product-set-id}',
422
+ 'operation_id': 'patch_product_set',
423
+ 'http_method': 'PATCH',
424
+ 'servers': None,
425
+ },
426
+ params_map={
427
+ 'all': [
428
+ 'product_set_id',
429
+ 'value_resource_input_of_patch_product_set_request',
430
+ ],
431
+ 'required': [
432
+ 'product_set_id',
433
+ ],
434
+ 'nullable': [
435
+ ],
436
+ 'enum': [
437
+ ],
438
+ 'validation': [
439
+ ]
440
+ },
441
+ root_map={
442
+ 'validations': {
443
+ },
444
+ 'allowed_values': {
445
+ },
446
+ 'openapi_types': {
447
+ 'product_set_id':
448
+ (str,),
449
+ 'value_resource_input_of_patch_product_set_request':
450
+ (ValueResourceInputOfPatchProductSetRequest,),
451
+ },
452
+ 'attribute_map': {
453
+ 'product_set_id': 'product-set-id',
454
+ },
455
+ 'location_map': {
456
+ 'product_set_id': 'path',
457
+ 'value_resource_input_of_patch_product_set_request': 'body',
458
+ },
459
+ 'collection_format_map': {
460
+ }
461
+ },
462
+ headers_map={
463
+ 'accept': [
464
+ 'application/json'
465
+ ],
466
+ 'content_type': [
467
+ 'application/json'
468
+ ]
469
+ },
470
+ api_client=api_client
471
+ )
413
472
  self.remove_product_set_endpoint = _Endpoint(
414
473
  settings={
415
474
  'response_type': (Outcome,),
@@ -1041,6 +1100,90 @@ class RecoApi(object):
1041
1100
  dataset_id
1042
1101
  return self.fetch_product_sets_endpoint.call_with_http_info(**kwargs)
1043
1102
 
1103
+ def patch_product_set(
1104
+ self,
1105
+ product_set_id,
1106
+ **kwargs
1107
+ ):
1108
+ """patch_product_set # noqa: E501
1109
+
1110
+ Patch an existing product set # noqa: E501
1111
+ This method makes a synchronous HTTP request by default. To make an
1112
+ asynchronous HTTP request, please pass async_req=True
1113
+
1114
+ >>> thread = api.patch_product_set(product_set_id, async_req=True)
1115
+ >>> result = thread.get()
1116
+
1117
+ Args:
1118
+ product_set_id (str): ID of the product set
1119
+
1120
+ Keyword Args:
1121
+ value_resource_input_of_patch_product_set_request (ValueResourceInputOfPatchProductSetRequest): [optional]
1122
+ _return_http_data_only (bool): response data without head status
1123
+ code and headers. Default is True.
1124
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1125
+ will be returned without reading/decoding response data.
1126
+ Default is True.
1127
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1128
+ one number provided, it will be total request timeout. It can also
1129
+ be a pair (tuple) of (connection, read) timeouts.
1130
+ Default is None.
1131
+ _check_input_type (bool): specifies if type checking
1132
+ should be done one the data sent to the server.
1133
+ Default is True.
1134
+ _check_return_type (bool): specifies if type checking
1135
+ should be done one the data received from the server.
1136
+ Default is True.
1137
+ _spec_property_naming (bool): True if the variable names in the input data
1138
+ are serialized names, as specified in the OpenAPI document.
1139
+ False if the variable names in the input data
1140
+ are pythonic names, e.g. snake case (default)
1141
+ _content_type (str/None): force body content-type.
1142
+ Default is None and content-type will be predicted by allowed
1143
+ content-types and body.
1144
+ _host_index (int/None): specifies the index of the server
1145
+ that we want to use.
1146
+ Default is read from the configuration.
1147
+ _request_auths (list): set to override the auth_settings for an a single
1148
+ request; this effectively ignores the authentication
1149
+ in the spec for a single request.
1150
+ Default is None
1151
+ async_req (bool): execute request asynchronously
1152
+
1153
+ Returns:
1154
+ ResourceOutcomeOfProductSet
1155
+ If the method is called asynchronously, returns the request
1156
+ thread.
1157
+ """
1158
+ kwargs['async_req'] = kwargs.get(
1159
+ 'async_req', False
1160
+ )
1161
+ kwargs['_return_http_data_only'] = kwargs.get(
1162
+ '_return_http_data_only', True
1163
+ )
1164
+ kwargs['_preload_content'] = kwargs.get(
1165
+ '_preload_content', True
1166
+ )
1167
+ kwargs['_request_timeout'] = kwargs.get(
1168
+ '_request_timeout', None
1169
+ )
1170
+ kwargs['_check_input_type'] = kwargs.get(
1171
+ '_check_input_type', True
1172
+ )
1173
+ kwargs['_check_return_type'] = kwargs.get(
1174
+ '_check_return_type', True
1175
+ )
1176
+ kwargs['_spec_property_naming'] = kwargs.get(
1177
+ '_spec_property_naming', False
1178
+ )
1179
+ kwargs['_content_type'] = kwargs.get(
1180
+ '_content_type')
1181
+ kwargs['_host_index'] = kwargs.get('_host_index')
1182
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1183
+ kwargs['product_set_id'] = \
1184
+ product_set_id
1185
+ return self.patch_product_set_endpoint.call_with_http_info(**kwargs)
1186
+
1044
1187
  def remove_product_set(
1045
1188
  self,
1046
1189
  product_set_id,
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/0.0.251014/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.251021/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: Preview\n"\
398
- "SDK Package Version: 0.0.251014".\
398
+ "SDK Package Version: 0.0.251021".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -56,6 +56,7 @@ class CommonProblem(ModelNormal):
56
56
 
57
57
  allowed_values = {
58
58
  ('type',): {
59
+ 'None': None,
59
60
  'UNKNOWN': "unknown",
60
61
  'ACCESS-CONTROL': "access-control",
61
62
  'AUTHENTICATION': "authentication",
@@ -91,15 +92,15 @@ class CommonProblem(ModelNormal):
91
92
  and the value is attribute type.
92
93
  """
93
94
  return {
94
- 'code': (str,), # noqa: E501
95
- 'detail': (str,), # noqa: E501
96
- 'instance': (str,), # noqa: E501
97
- 'source': ({str: (str,)},), # noqa: E501
98
- 'stack_trace': (str,), # noqa: E501
99
- 'title': (str,), # noqa: E501
100
- 'trace_id': (str,), # noqa: E501
101
- 'trace_identifier': (str,), # noqa: E501
102
- 'type': (str,), # noqa: E501
95
+ 'code': (str, none_type,), # noqa: E501
96
+ 'detail': (str, none_type,), # noqa: E501
97
+ 'instance': (str, none_type,), # noqa: E501
98
+ 'source': ({str: (str,)}, none_type,), # noqa: E501
99
+ 'stack_trace': (str, none_type,), # noqa: E501
100
+ 'title': (str, none_type,), # noqa: E501
101
+ 'trace_id': (str, none_type,), # noqa: E501
102
+ 'trace_identifier': (str, none_type,), # noqa: E501
103
+ 'type': (str, none_type,), # noqa: E501
103
104
  }
104
105
 
105
106
  @cached_property
@@ -160,15 +161,15 @@ class CommonProblem(ModelNormal):
160
161
  Animal class but this time we won't travel
161
162
  through its discriminator because we passed in
162
163
  _visited_composed_classes = (Animal,)
163
- code (str): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
164
- detail (str): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
165
- instance (str): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
166
- source ({str: (str,)}): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
167
- stack_trace (str): [optional] # noqa: E501
168
- title (str): A short human-readable description of the problem type. [optional] # noqa: E501
169
- trace_id (str): The request correlation ID this problem comes from.. [optional] # noqa: E501
170
- trace_identifier (str): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
171
- type (str): The problem's category.. [optional] # noqa: E501
164
+ code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
165
+ detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
166
+ instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
167
+ source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
168
+ stack_trace (str, none_type): [optional] # noqa: E501
169
+ title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
170
+ trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
171
+ trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
172
+ type (str, none_type): The problem's category.. [optional] # noqa: E501
172
173
  """
173
174
 
174
175
  _check_type = kwargs.pop('_check_type', True)
@@ -254,15 +255,15 @@ class CommonProblem(ModelNormal):
254
255
  Animal class but this time we won't travel
255
256
  through its discriminator because we passed in
256
257
  _visited_composed_classes = (Animal,)
257
- code (str): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
258
- detail (str): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
259
- instance (str): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
260
- source ({str: (str,)}): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
261
- stack_trace (str): [optional] # noqa: E501
262
- title (str): A short human-readable description of the problem type. [optional] # noqa: E501
263
- trace_id (str): The request correlation ID this problem comes from.. [optional] # noqa: E501
264
- trace_identifier (str): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
265
- type (str): The problem's category.. [optional] # noqa: E501
258
+ code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
259
+ detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
260
+ instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
261
+ source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
262
+ stack_trace (str, none_type): [optional] # noqa: E501
263
+ title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
264
+ trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
265
+ trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
266
+ type (str, none_type): The problem's category.. [optional] # noqa: E501
266
267
  """
267
268
 
268
269
  _check_type = kwargs.pop('_check_type', True)
@@ -0,0 +1,283 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - MarketingSolutions # 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_marketingsolutions_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_marketingsolutions_preview.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_marketingsolutions_preview.model.product_set_rule import ProductSetRule
34
+ globals()['ProductSetRule'] = ProductSetRule
35
+
36
+
37
+ class PatchProductSetRequest(ModelNormal):
38
+ """NOTE: This class is auto generated by OpenAPI Generator.
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+
43
+ Attributes:
44
+ allowed_values (dict): The key is the tuple path to the attribute
45
+ and the for var_name this is (var_name,). The value is a dict
46
+ with a capitalized key describing the allowed value and an allowed
47
+ value. These dicts store the allowed enum values.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ discriminator_value_class_map (dict): A dict to go from the discriminator
51
+ variable value to the discriminator class name.
52
+ validations (dict): The key is the tuple path to the attribute
53
+ and the for var_name this is (var_name,). The value is a dict
54
+ that stores validations for max_length, min_length, max_items,
55
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
56
+ inclusive_minimum, and regex.
57
+ additional_properties_type (tuple): A tuple of classes accepted
58
+ as additional properties values.
59
+ """
60
+
61
+ allowed_values = {
62
+ }
63
+
64
+ validations = {
65
+ ('rules',): {
66
+ },
67
+ }
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
77
+
78
+ _nullable = False
79
+
80
+ @cached_property
81
+ def openapi_types():
82
+ """
83
+ This must be a method because a model may have properties that are
84
+ of type self, this must run after the class is loaded
85
+
86
+ Returns
87
+ openapi_types (dict): The key is attribute name
88
+ and the value is attribute type.
89
+ """
90
+ lazy_import()
91
+ return {
92
+ 'is_draft': (bool, none_type,), # noqa: E501
93
+ 'minimum_number_of_products': (int, none_type,), # noqa: E501
94
+ 'name': (str,), # noqa: E501
95
+ 'rules': ([ProductSetRule],), # noqa: E501
96
+ }
97
+
98
+ @cached_property
99
+ def discriminator():
100
+ return None
101
+
102
+
103
+ attribute_map = {
104
+ 'is_draft': 'isDraft', # noqa: E501
105
+ 'minimum_number_of_products': 'minimumNumberOfProducts', # noqa: E501
106
+ 'name': 'name', # noqa: E501
107
+ 'rules': 'rules', # noqa: E501
108
+ }
109
+
110
+ read_only_vars = {
111
+ }
112
+
113
+ _composed_schemas = {}
114
+
115
+ @classmethod
116
+ @convert_js_args_to_python_args
117
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
+ """PatchProductSetRequest - a model defined in OpenAPI
119
+
120
+ Keyword Args:
121
+ _check_type (bool): if True, values for parameters in openapi_types
122
+ will be type checked and a TypeError will be
123
+ raised if the wrong type is input.
124
+ Defaults to True
125
+ _path_to_item (tuple/list): This is a list of keys or values to
126
+ drill down to the model in received_data
127
+ when deserializing a response
128
+ _spec_property_naming (bool): True if the variable names in the input data
129
+ are serialized names, as specified in the OpenAPI document.
130
+ False if the variable names in the input data
131
+ are pythonic names, e.g. snake case (default)
132
+ _configuration (Configuration): the instance to use when
133
+ deserializing a file_type parameter.
134
+ If passed, type conversion is attempted
135
+ If omitted no type conversion is done.
136
+ _visited_composed_classes (tuple): This stores a tuple of
137
+ classes that we have traveled through so that
138
+ if we see that class again we will not use its
139
+ discriminator again.
140
+ When traveling through a discriminator, the
141
+ composed schema that is
142
+ is traveled through is added to this set.
143
+ For example if Animal has a discriminator
144
+ petType and we pass in "Dog", and the class Dog
145
+ allOf includes Animal, we move through Animal
146
+ once using the discriminator, and pick Dog.
147
+ Then in Dog, we will make an instance of the
148
+ Animal class but this time we won't travel
149
+ through its discriminator because we passed in
150
+ _visited_composed_classes = (Animal,)
151
+ is_draft (bool, none_type): [optional] New value of product set segment status (draft or active). [optional] # noqa: E501
152
+ minimum_number_of_products (int, none_type): [optional] New minimum number of products of the product set to be patched. This is used to determine if the rules are valid!. [optional] # noqa: E501
153
+ name (str): [optional] New name that will be associated to the product set. [optional] # noqa: E501
154
+ rules ([ProductSetRule]): [optional] New rules that will be associated to the product set. [optional] # noqa: E501
155
+ """
156
+
157
+ _check_type = kwargs.pop('_check_type', True)
158
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
159
+ _path_to_item = kwargs.pop('_path_to_item', ())
160
+ _configuration = kwargs.pop('_configuration', None)
161
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
162
+
163
+ self = super(OpenApiModel, cls).__new__(cls)
164
+
165
+ if args:
166
+ for arg in args:
167
+ if isinstance(arg, dict):
168
+ kwargs.update(arg)
169
+ else:
170
+ raise ApiTypeError(
171
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
172
+ args,
173
+ self.__class__.__name__,
174
+ ),
175
+ path_to_item=_path_to_item,
176
+ valid_classes=(self.__class__,),
177
+ )
178
+
179
+ self._data_store = {}
180
+ self._check_type = _check_type
181
+ self._spec_property_naming = _spec_property_naming
182
+ self._path_to_item = _path_to_item
183
+ self._configuration = _configuration
184
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
185
+
186
+ for var_name, var_value in kwargs.items():
187
+ if var_name not in self.attribute_map and \
188
+ self._configuration is not None and \
189
+ self._configuration.discard_unknown_keys and \
190
+ self.additional_properties_type is None:
191
+ # discard variable.
192
+ continue
193
+ setattr(self, var_name, var_value)
194
+ return self
195
+
196
+ required_properties = set([
197
+ '_data_store',
198
+ '_check_type',
199
+ '_spec_property_naming',
200
+ '_path_to_item',
201
+ '_configuration',
202
+ '_visited_composed_classes',
203
+ ])
204
+
205
+ @convert_js_args_to_python_args
206
+ def __init__(self, *args, **kwargs): # noqa: E501
207
+ """PatchProductSetRequest - a model defined in OpenAPI
208
+
209
+ Keyword Args:
210
+ _check_type (bool): if True, values for parameters in openapi_types
211
+ will be type checked and a TypeError will be
212
+ raised if the wrong type is input.
213
+ Defaults to True
214
+ _path_to_item (tuple/list): This is a list of keys or values to
215
+ drill down to the model in received_data
216
+ when deserializing a response
217
+ _spec_property_naming (bool): True if the variable names in the input data
218
+ are serialized names, as specified in the OpenAPI document.
219
+ False if the variable names in the input data
220
+ are pythonic names, e.g. snake case (default)
221
+ _configuration (Configuration): the instance to use when
222
+ deserializing a file_type parameter.
223
+ If passed, type conversion is attempted
224
+ If omitted no type conversion is done.
225
+ _visited_composed_classes (tuple): This stores a tuple of
226
+ classes that we have traveled through so that
227
+ if we see that class again we will not use its
228
+ discriminator again.
229
+ When traveling through a discriminator, the
230
+ composed schema that is
231
+ is traveled through is added to this set.
232
+ For example if Animal has a discriminator
233
+ petType and we pass in "Dog", and the class Dog
234
+ allOf includes Animal, we move through Animal
235
+ once using the discriminator, and pick Dog.
236
+ Then in Dog, we will make an instance of the
237
+ Animal class but this time we won't travel
238
+ through its discriminator because we passed in
239
+ _visited_composed_classes = (Animal,)
240
+ is_draft (bool, none_type): [optional] New value of product set segment status (draft or active). [optional] # noqa: E501
241
+ minimum_number_of_products (int, none_type): [optional] New minimum number of products of the product set to be patched. This is used to determine if the rules are valid!. [optional] # noqa: E501
242
+ name (str): [optional] New name that will be associated to the product set. [optional] # noqa: E501
243
+ rules ([ProductSetRule]): [optional] New rules that will be associated to the product set. [optional] # noqa: E501
244
+ """
245
+
246
+ _check_type = kwargs.pop('_check_type', True)
247
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
248
+ _path_to_item = kwargs.pop('_path_to_item', ())
249
+ _configuration = kwargs.pop('_configuration', None)
250
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
251
+
252
+ if args:
253
+ for arg in args:
254
+ if isinstance(arg, dict):
255
+ kwargs.update(arg)
256
+ else:
257
+ raise ApiTypeError(
258
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
259
+ args,
260
+ self.__class__.__name__,
261
+ ),
262
+ path_to_item=_path_to_item,
263
+ valid_classes=(self.__class__,),
264
+ )
265
+
266
+ self._data_store = {}
267
+ self._check_type = _check_type
268
+ self._spec_property_naming = _spec_property_naming
269
+ self._path_to_item = _path_to_item
270
+ self._configuration = _configuration
271
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
272
+
273
+ for var_name, var_value in kwargs.items():
274
+ if var_name not in self.attribute_map and \
275
+ self._configuration is not None and \
276
+ self._configuration.discard_unknown_keys and \
277
+ self.additional_properties_type is None:
278
+ # discard variable.
279
+ continue
280
+ setattr(self, var_name, var_value)
281
+ if var_name in self.read_only_vars:
282
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
283
+ f"class with read only attributes.")
@@ -0,0 +1,269 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - MarketingSolutions # 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_marketingsolutions_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_marketingsolutions_preview.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_marketingsolutions_preview.model.value_resource_of_patch_product_set_request import ValueResourceOfPatchProductSetRequest
34
+ globals()['ValueResourceOfPatchProductSetRequest'] = ValueResourceOfPatchProductSetRequest
35
+
36
+
37
+ class ValueResourceInputOfPatchProductSetRequest(ModelNormal):
38
+ """NOTE: This class is auto generated by OpenAPI Generator.
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+
43
+ Attributes:
44
+ allowed_values (dict): The key is the tuple path to the attribute
45
+ and the for var_name this is (var_name,). The value is a dict
46
+ with a capitalized key describing the allowed value and an allowed
47
+ value. These dicts store the allowed enum values.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ discriminator_value_class_map (dict): A dict to go from the discriminator
51
+ variable value to the discriminator class name.
52
+ validations (dict): The key is the tuple path to the attribute
53
+ and the for var_name this is (var_name,). The value is a dict
54
+ that stores validations for max_length, min_length, max_items,
55
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
56
+ inclusive_minimum, and regex.
57
+ additional_properties_type (tuple): A tuple of classes accepted
58
+ as additional properties values.
59
+ """
60
+
61
+ allowed_values = {
62
+ }
63
+
64
+ validations = {
65
+ }
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
75
+
76
+ _nullable = False
77
+
78
+ @cached_property
79
+ def openapi_types():
80
+ """
81
+ This must be a method because a model may have properties that are
82
+ of type self, this must run after the class is loaded
83
+
84
+ Returns
85
+ openapi_types (dict): The key is attribute name
86
+ and the value is attribute type.
87
+ """
88
+ lazy_import()
89
+ return {
90
+ 'data': (ValueResourceOfPatchProductSetRequest,), # noqa: E501
91
+ }
92
+
93
+ @cached_property
94
+ def discriminator():
95
+ return None
96
+
97
+
98
+ attribute_map = {
99
+ 'data': 'data', # noqa: E501
100
+ }
101
+
102
+ read_only_vars = {
103
+ }
104
+
105
+ _composed_schemas = {}
106
+
107
+ @classmethod
108
+ @convert_js_args_to_python_args
109
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
110
+ """ValueResourceInputOfPatchProductSetRequest - a model defined in OpenAPI
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
+ data (ValueResourceOfPatchProductSetRequest): [optional] # noqa: E501
144
+ """
145
+
146
+ _check_type = kwargs.pop('_check_type', True)
147
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
148
+ _path_to_item = kwargs.pop('_path_to_item', ())
149
+ _configuration = kwargs.pop('_configuration', None)
150
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
151
+
152
+ self = super(OpenApiModel, cls).__new__(cls)
153
+
154
+ if args:
155
+ for arg in args:
156
+ if isinstance(arg, dict):
157
+ kwargs.update(arg)
158
+ else:
159
+ raise ApiTypeError(
160
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
161
+ args,
162
+ self.__class__.__name__,
163
+ ),
164
+ path_to_item=_path_to_item,
165
+ valid_classes=(self.__class__,),
166
+ )
167
+
168
+ self._data_store = {}
169
+ self._check_type = _check_type
170
+ self._spec_property_naming = _spec_property_naming
171
+ self._path_to_item = _path_to_item
172
+ self._configuration = _configuration
173
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
174
+
175
+ for var_name, var_value in kwargs.items():
176
+ if var_name not in self.attribute_map and \
177
+ self._configuration is not None and \
178
+ self._configuration.discard_unknown_keys and \
179
+ self.additional_properties_type is None:
180
+ # discard variable.
181
+ continue
182
+ setattr(self, var_name, var_value)
183
+ return self
184
+
185
+ required_properties = set([
186
+ '_data_store',
187
+ '_check_type',
188
+ '_spec_property_naming',
189
+ '_path_to_item',
190
+ '_configuration',
191
+ '_visited_composed_classes',
192
+ ])
193
+
194
+ @convert_js_args_to_python_args
195
+ def __init__(self, *args, **kwargs): # noqa: E501
196
+ """ValueResourceInputOfPatchProductSetRequest - a model defined in OpenAPI
197
+
198
+ Keyword Args:
199
+ _check_type (bool): if True, values for parameters in openapi_types
200
+ will be type checked and a TypeError will be
201
+ raised if the wrong type is input.
202
+ Defaults to True
203
+ _path_to_item (tuple/list): This is a list of keys or values to
204
+ drill down to the model in received_data
205
+ when deserializing a response
206
+ _spec_property_naming (bool): True if the variable names in the input data
207
+ are serialized names, as specified in the OpenAPI document.
208
+ False if the variable names in the input data
209
+ are pythonic names, e.g. snake case (default)
210
+ _configuration (Configuration): the instance to use when
211
+ deserializing a file_type parameter.
212
+ If passed, type conversion is attempted
213
+ If omitted no type conversion is done.
214
+ _visited_composed_classes (tuple): This stores a tuple of
215
+ classes that we have traveled through so that
216
+ if we see that class again we will not use its
217
+ discriminator again.
218
+ When traveling through a discriminator, the
219
+ composed schema that is
220
+ is traveled through is added to this set.
221
+ For example if Animal has a discriminator
222
+ petType and we pass in "Dog", and the class Dog
223
+ allOf includes Animal, we move through Animal
224
+ once using the discriminator, and pick Dog.
225
+ Then in Dog, we will make an instance of the
226
+ Animal class but this time we won't travel
227
+ through its discriminator because we passed in
228
+ _visited_composed_classes = (Animal,)
229
+ data (ValueResourceOfPatchProductSetRequest): [optional] # noqa: E501
230
+ """
231
+
232
+ _check_type = kwargs.pop('_check_type', True)
233
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
234
+ _path_to_item = kwargs.pop('_path_to_item', ())
235
+ _configuration = kwargs.pop('_configuration', None)
236
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
237
+
238
+ if args:
239
+ for arg in args:
240
+ if isinstance(arg, dict):
241
+ kwargs.update(arg)
242
+ else:
243
+ raise ApiTypeError(
244
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
245
+ args,
246
+ self.__class__.__name__,
247
+ ),
248
+ path_to_item=_path_to_item,
249
+ valid_classes=(self.__class__,),
250
+ )
251
+
252
+ self._data_store = {}
253
+ self._check_type = _check_type
254
+ self._spec_property_naming = _spec_property_naming
255
+ self._path_to_item = _path_to_item
256
+ self._configuration = _configuration
257
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
258
+
259
+ for var_name, var_value in kwargs.items():
260
+ if var_name not in self.attribute_map and \
261
+ self._configuration is not None and \
262
+ self._configuration.discard_unknown_keys and \
263
+ self.additional_properties_type is None:
264
+ # discard variable.
265
+ continue
266
+ setattr(self, var_name, var_value)
267
+ if var_name in self.read_only_vars:
268
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
269
+ f"class with read only attributes.")
@@ -0,0 +1,273 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - MarketingSolutions # 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_marketingsolutions_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_marketingsolutions_preview.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_marketingsolutions_preview.model.patch_product_set_request import PatchProductSetRequest
34
+ globals()['PatchProductSetRequest'] = PatchProductSetRequest
35
+
36
+
37
+ class ValueResourceOfPatchProductSetRequest(ModelNormal):
38
+ """NOTE: This class is auto generated by OpenAPI Generator.
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+
43
+ Attributes:
44
+ allowed_values (dict): The key is the tuple path to the attribute
45
+ and the for var_name this is (var_name,). The value is a dict
46
+ with a capitalized key describing the allowed value and an allowed
47
+ value. These dicts store the allowed enum values.
48
+ attribute_map (dict): The key is attribute name
49
+ and the value is json key in definition.
50
+ discriminator_value_class_map (dict): A dict to go from the discriminator
51
+ variable value to the discriminator class name.
52
+ validations (dict): The key is the tuple path to the attribute
53
+ and the for var_name this is (var_name,). The value is a dict
54
+ that stores validations for max_length, min_length, max_items,
55
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
56
+ inclusive_minimum, and regex.
57
+ additional_properties_type (tuple): A tuple of classes accepted
58
+ as additional properties values.
59
+ """
60
+
61
+ allowed_values = {
62
+ }
63
+
64
+ validations = {
65
+ }
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
75
+
76
+ _nullable = False
77
+
78
+ @cached_property
79
+ def openapi_types():
80
+ """
81
+ This must be a method because a model may have properties that are
82
+ of type self, this must run after the class is loaded
83
+
84
+ Returns
85
+ openapi_types (dict): The key is attribute name
86
+ and the value is attribute type.
87
+ """
88
+ lazy_import()
89
+ return {
90
+ 'attributes': (PatchProductSetRequest,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
+ }
93
+
94
+ @cached_property
95
+ def discriminator():
96
+ return None
97
+
98
+
99
+ attribute_map = {
100
+ 'attributes': 'attributes', # noqa: E501
101
+ 'type': 'type', # noqa: E501
102
+ }
103
+
104
+ read_only_vars = {
105
+ }
106
+
107
+ _composed_schemas = {}
108
+
109
+ @classmethod
110
+ @convert_js_args_to_python_args
111
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
112
+ """ValueResourceOfPatchProductSetRequest - a model defined in OpenAPI
113
+
114
+ Keyword Args:
115
+ _check_type (bool): if True, values for parameters in openapi_types
116
+ will be type checked and a TypeError will be
117
+ raised if the wrong type is input.
118
+ Defaults to True
119
+ _path_to_item (tuple/list): This is a list of keys or values to
120
+ drill down to the model in received_data
121
+ when deserializing a response
122
+ _spec_property_naming (bool): True if the variable names in the input data
123
+ are serialized names, as specified in the OpenAPI document.
124
+ False if the variable names in the input data
125
+ are pythonic names, e.g. snake case (default)
126
+ _configuration (Configuration): the instance to use when
127
+ deserializing a file_type parameter.
128
+ If passed, type conversion is attempted
129
+ If omitted no type conversion is done.
130
+ _visited_composed_classes (tuple): This stores a tuple of
131
+ classes that we have traveled through so that
132
+ if we see that class again we will not use its
133
+ discriminator again.
134
+ When traveling through a discriminator, the
135
+ composed schema that is
136
+ is traveled through is added to this set.
137
+ For example if Animal has a discriminator
138
+ petType and we pass in "Dog", and the class Dog
139
+ allOf includes Animal, we move through Animal
140
+ once using the discriminator, and pick Dog.
141
+ Then in Dog, we will make an instance of the
142
+ Animal class but this time we won't travel
143
+ through its discriminator because we passed in
144
+ _visited_composed_classes = (Animal,)
145
+ attributes (PatchProductSetRequest): [optional] # noqa: E501
146
+ type (str): [optional] # noqa: E501
147
+ """
148
+
149
+ _check_type = kwargs.pop('_check_type', True)
150
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
151
+ _path_to_item = kwargs.pop('_path_to_item', ())
152
+ _configuration = kwargs.pop('_configuration', None)
153
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
154
+
155
+ self = super(OpenApiModel, cls).__new__(cls)
156
+
157
+ if args:
158
+ for arg in args:
159
+ if isinstance(arg, dict):
160
+ kwargs.update(arg)
161
+ else:
162
+ raise ApiTypeError(
163
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
164
+ args,
165
+ self.__class__.__name__,
166
+ ),
167
+ path_to_item=_path_to_item,
168
+ valid_classes=(self.__class__,),
169
+ )
170
+
171
+ self._data_store = {}
172
+ self._check_type = _check_type
173
+ self._spec_property_naming = _spec_property_naming
174
+ self._path_to_item = _path_to_item
175
+ self._configuration = _configuration
176
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
177
+
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, *args, **kwargs): # noqa: E501
199
+ """ValueResourceOfPatchProductSetRequest - a model defined in OpenAPI
200
+
201
+ Keyword Args:
202
+ _check_type (bool): if True, values for parameters in openapi_types
203
+ will be type checked and a TypeError will be
204
+ raised if the wrong type is input.
205
+ Defaults to True
206
+ _path_to_item (tuple/list): This is a list of keys or values to
207
+ drill down to the model in received_data
208
+ when deserializing a response
209
+ _spec_property_naming (bool): True if the variable names in the input data
210
+ are serialized names, as specified in the OpenAPI document.
211
+ False if the variable names in the input data
212
+ are pythonic names, e.g. snake case (default)
213
+ _configuration (Configuration): the instance to use when
214
+ deserializing a file_type parameter.
215
+ If passed, type conversion is attempted
216
+ If omitted no type conversion is done.
217
+ _visited_composed_classes (tuple): This stores a tuple of
218
+ classes that we have traveled through so that
219
+ if we see that class again we will not use its
220
+ discriminator again.
221
+ When traveling through a discriminator, the
222
+ composed schema that is
223
+ is traveled through is added to this set.
224
+ For example if Animal has a discriminator
225
+ petType and we pass in "Dog", and the class Dog
226
+ allOf includes Animal, we move through Animal
227
+ once using the discriminator, and pick Dog.
228
+ Then in Dog, we will make an instance of the
229
+ Animal class but this time we won't travel
230
+ through its discriminator because we passed in
231
+ _visited_composed_classes = (Animal,)
232
+ attributes (PatchProductSetRequest): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
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
+ for var_name, var_value in kwargs.items():
264
+ if var_name not in self.attribute_map and \
265
+ self._configuration is not None and \
266
+ self._configuration.discard_unknown_keys and \
267
+ self.additional_properties_type is None:
268
+ # discard variable.
269
+ continue
270
+ setattr(self, var_name, var_value)
271
+ if var_name in self.read_only_vars:
272
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
273
+ f"class with read only attributes.")
@@ -267,6 +267,7 @@ from criteo_api_marketingsolutions_preview.model.patch_campaign_list_request imp
267
267
  from criteo_api_marketingsolutions_preview.model.patch_campaign_spend_limit import PatchCampaignSpendLimit
268
268
  from criteo_api_marketingsolutions_preview.model.patch_campaign_write_resource import PatchCampaignWriteResource
269
269
  from criteo_api_marketingsolutions_preview.model.patch_marketing_campaign_budget_automation import PatchMarketingCampaignBudgetAutomation
270
+ from criteo_api_marketingsolutions_preview.model.patch_product_set_request import PatchProductSetRequest
270
271
  from criteo_api_marketingsolutions_preview.model.patch_result_campaign_list_response import PatchResultCampaignListResponse
271
272
  from criteo_api_marketingsolutions_preview.model.patch_result_campaign_read_resource import PatchResultCampaignReadResource
272
273
  from criteo_api_marketingsolutions_preview.model.placements_report_query_message import PlacementsReportQueryMessage
@@ -367,8 +368,10 @@ from criteo_api_marketingsolutions_preview.model.user_def import UserDef
367
368
  from criteo_api_marketingsolutions_preview.model.value_resource_collection_outcome_of_product_filter_config import ValueResourceCollectionOutcomeOfProductFilterConfig
368
369
  from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_filter_request import ValueResourceInputOfCreateProductFilterRequest
369
370
  from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_set_request import ValueResourceInputOfCreateProductSetRequest
371
+ from criteo_api_marketingsolutions_preview.model.value_resource_input_of_patch_product_set_request import ValueResourceInputOfPatchProductSetRequest
370
372
  from criteo_api_marketingsolutions_preview.model.value_resource_of_create_product_filter_request import ValueResourceOfCreateProductFilterRequest
371
373
  from criteo_api_marketingsolutions_preview.model.value_resource_of_create_product_set_request import ValueResourceOfCreateProductSetRequest
374
+ from criteo_api_marketingsolutions_preview.model.value_resource_of_patch_product_set_request import ValueResourceOfPatchProductSetRequest
372
375
  from criteo_api_marketingsolutions_preview.model.value_resource_of_product_filter_config import ValueResourceOfProductFilterConfig
373
376
  from criteo_api_marketingsolutions_preview.model.value_resource_outcome_of_product_filter_config import ValueResourceOutcomeOfProductFilterConfig
374
377
  from criteo_api_marketingsolutions_preview.model.video_detail import VideoDetail
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: criteo-api-marketingsolutions-sdk
3
- Version: 0.0.251014
3
+ Version: 0.0.251021
4
4
  Summary: Criteo API SDK
5
5
  Home-page: https://github.com/criteo/criteo-api-python-sdk
6
6
  Author: Criteo
@@ -35,9 +35,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
35
35
 
36
36
 
37
37
  ```sh
38
- pip install criteo-api-marketingsolutions-sdk==0.0.251014
38
+ pip install criteo-api-marketingsolutions-sdk==0.0.251021
39
39
  ```
40
- (you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.251014`)
40
+ (you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.251021`)
41
41
 
42
42
  Then import the package:
43
43
  ```python
@@ -1,7 +1,7 @@
1
- criteo_api_marketingsolutions_preview/__init__.py,sha256=WSFZazssZAM0nhLwYW5v9aUC26ROaUWZNEh00GwqeSM,1107
2
- criteo_api_marketingsolutions_preview/api_client.py,sha256=5M7tcQd63XYVw_LG2Qe38Z68y1yB75jUJyBcjEWvtXU,39242
1
+ criteo_api_marketingsolutions_preview/__init__.py,sha256=2ZXUADgH7ATfbSfxvNAmgY8iyBDqfDJFrp2sL3e8YWc,1107
2
+ criteo_api_marketingsolutions_preview/api_client.py,sha256=rFW9Xx_o9B0yjCApGAI6fGbgcC5E_kVuk5ekgBItMXw,39242
3
3
  criteo_api_marketingsolutions_preview/api_client_builder.py,sha256=2W-j9f5re32PZooV4BngIi3AvmOOpKl7SAEQc6FXVWg,1525
4
- criteo_api_marketingsolutions_preview/configuration.py,sha256=Tcfq074fvOF6Yg9Kk3zsrypnlMCqX10nMEN72khQBNk,16735
4
+ criteo_api_marketingsolutions_preview/configuration.py,sha256=uV9Q_4JnLg-HCl0u9beYHtyHawdR6wBlKsDIss3S1SY,16735
5
5
  criteo_api_marketingsolutions_preview/criteo_api_client.py,sha256=4uNu3e__oYicTD-lcpFerUCXl3c3_7LEugoMFqfRTM8,666
6
6
  criteo_api_marketingsolutions_preview/criteo_auth.py,sha256=RXBNjv9iz2JSqB25me0iMWN7jfeKRYe0EF6y37hw__A,4714
7
7
  criteo_api_marketingsolutions_preview/criteo_rest.py,sha256=oIDGHdVI2kWe1st1X7IHl8OAa1zJn7g1uQUSKYWwFDc,3431
@@ -12,13 +12,13 @@ criteo_api_marketingsolutions_preview/rest.py,sha256=gXk-QrNdnVj2c-M_oZYB3_KqFfb
12
12
  criteo_api_marketingsolutions_preview/api/__init__.py,sha256=pyzFTbyUcV2DhfsX0qU5ScOa78505IDsd_KbkUsVXm0,244
13
13
  criteo_api_marketingsolutions_preview/api/advertiser_api.py,sha256=E15ZILhJ9eq-H8l02ZdNvYXhNZY_vCCfuCoTsKz_kzs,15910
14
14
  criteo_api_marketingsolutions_preview/api/analytics_api.py,sha256=6r5IyKAIta4VX-TabHnNfC8w-aTfgIusTOYD8WMFSzA,67936
15
- criteo_api_marketingsolutions_preview/api/audience_api.py,sha256=X_OWo3S2n6aJPineEZMP8kNPRv7s5rBoK-h71w57Z9Y,107153
15
+ criteo_api_marketingsolutions_preview/api/audience_api.py,sha256=4zRObJA_6hVKDbF9Qgwy9EzO-z09BJLadevq4miolH0,107164
16
16
  criteo_api_marketingsolutions_preview/api/campaign_api.py,sha256=QUN9PJ2kjKtnhlLD1kEnhVybXUBfCqyM4CyrlJDT9NE,210274
17
17
  criteo_api_marketingsolutions_preview/api/catalog_api.py,sha256=cE7sPtFWVRJ9FVW6bNg6SHe1vGsXpLialexflLswn3U,17802
18
18
  criteo_api_marketingsolutions_preview/api/creative_api.py,sha256=tba29l8_BFPoq3A_rhb4LiKjn3idTG7zssvfwy_cSyw,95798
19
19
  criteo_api_marketingsolutions_preview/api/gateway_api.py,sha256=B0zwh8HH7a3d5mVIdHLCFvR6fCeZb4i-eRG2JQrV2JY,5728
20
20
  criteo_api_marketingsolutions_preview/api/on_site_recommendation_api.py,sha256=hEqivHFn_gy_OI2jafvtwQe_N1w7QTH5sl6TF_r439Y,6227
21
- criteo_api_marketingsolutions_preview/api/reco_api.py,sha256=nEnAFO4InvXxyloVXQH7ROFHxG4dI9lx-duo7FJytoY,43464
21
+ criteo_api_marketingsolutions_preview/api/reco_api.py,sha256=N23WbHLN4xrXM9c_CJ6groKeXyc-4sx40yGpTas1thE,49212
22
22
  criteo_api_marketingsolutions_preview/apis/__init__.py,sha256=cppZhhSoJ7D9oOBQW-IwFin3ob9JV3fm9hADjj5GxcY,1187
23
23
  criteo_api_marketingsolutions_preview/model/__init__.py,sha256=NURge8m2e7lhkersiowu4NeC0UclYVpZnPjaSH7ZYBM,371
24
24
  criteo_api_marketingsolutions_preview/model/ad.py,sha256=RbG7etlCZ5oy0x9-fl2suB94HnJhe15-KDccYTyAcSo,14468
@@ -142,7 +142,7 @@ criteo_api_marketingsolutions_preview/model/campaign_v23_q1.py,sha256=eT81DxG_wn
142
142
  criteo_api_marketingsolutions_preview/model/campaign_v23_q1_list_response.py,sha256=wzbLXcHkmW0jFbDjyMIdzIOuYQMkfvinVf9b3682Hsg,12492
143
143
  criteo_api_marketingsolutions_preview/model/campaign_v23_q1_resource.py,sha256=0E3vZ_WB4ii7Dlj5SSbjDsH7L-gOiNKAQgVGK07zpQg,12205
144
144
  criteo_api_marketingsolutions_preview/model/campaign_v23_q1_response.py,sha256=2QbnE6A6ttOymlsq3ln5npJzLcUxhPt0BfC2rpDox4k,12441
145
- criteo_api_marketingsolutions_preview/model/common_problem.py,sha256=6caE7_CtRHtskkgcjDa-8bv8jyvrIavPa_TJPU958L4,14392
145
+ criteo_api_marketingsolutions_preview/model/common_problem.py,sha256=4SjC-e6Bs3ZOBg05PBB2RuDr_FYSOGZjRL21PQPmwdg,14715
146
146
  criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1.py,sha256=WVV0UwhvIkA2tOfcp7d_Q-INjGRXqqA9H43zICfOipM,12536
147
147
  criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1_resource.py,sha256=RJaHxUJhFDday4GN-r-Xu4iqXPtZA_ODwZpAqx-eqF4,12297
148
148
  criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1_response.py,sha256=vLE-0KMdJRUBBz1vv55r5zYU1X8h5Jlyuh7CAbTN5Uw,12603
@@ -279,6 +279,7 @@ criteo_api_marketingsolutions_preview/model/patch_campaign_list_request.py,sha25
279
279
  criteo_api_marketingsolutions_preview/model/patch_campaign_spend_limit.py,sha256=nqbhdB2eqS23ulu2wruTrBuvx4i7J-jBF2dvE6Kwodw,12647
280
280
  criteo_api_marketingsolutions_preview/model/patch_campaign_write_resource.py,sha256=QbeUpE8Z0q7fQaYbQJ1hThAXjXg515OJHNT_l15vGbM,12220
281
281
  criteo_api_marketingsolutions_preview/model/patch_marketing_campaign_budget_automation.py,sha256=jukYT86x_KeVl71mQRPOVZaccZaduj6ToFLNVQbXrl4,12202
282
+ criteo_api_marketingsolutions_preview/model/patch_product_set_request.py,sha256=gxMovf2A4xDZ0hdl4aitcfsJ8gimlM6n1045NfrWiC8,13095
282
283
  criteo_api_marketingsolutions_preview/model/patch_result_campaign_list_response.py,sha256=ZcOdPQSpCe54UkYk298MQNpEguBiVq0mYxpu5SE8Tmc,12611
283
284
  criteo_api_marketingsolutions_preview/model/patch_result_campaign_read_resource.py,sha256=p9VA66Kdml3Lq6aeoTx0fDalN5zDxdKtB733DM14-Qg,11785
284
285
  criteo_api_marketingsolutions_preview/model/placements_report_query_message.py,sha256=1lMV9M2B6B9mrwQhWGD82qMAOv_uYaLuefSJH271g3U,16585
@@ -379,15 +380,17 @@ criteo_api_marketingsolutions_preview/model/user_def.py,sha256=1aR2bT5fomM1_NpQR
379
380
  criteo_api_marketingsolutions_preview/model/value_resource_collection_outcome_of_product_filter_config.py,sha256=14FRJbHZF3JJwVA2hZolAXQGR0jxS-XWV3wu9RLFnqU,12663
380
381
  criteo_api_marketingsolutions_preview/model/value_resource_input_of_create_product_filter_request.py,sha256=NY4Xub7ZBdzepiMBcjCt9qyXievMC0GFk6vsQEIizH8,11933
381
382
  criteo_api_marketingsolutions_preview/model/value_resource_input_of_create_product_set_request.py,sha256=w2Y_WTRra0trLX7DxC-ewFBJNHGIQQDK-_i_hknkMSM,11903
383
+ criteo_api_marketingsolutions_preview/model/value_resource_input_of_patch_product_set_request.py,sha256=2BZ10zXjfZHe1rZut6Gxw5Mq2QrLD7zjSH8FpiIpXFc,11893
382
384
  criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_filter_request.py,sha256=ieiQ6Md1Qzt0duyAqh8XCi5RmKYxn2fzqbMWCDpIXa0,12051
383
385
  criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_set_request.py,sha256=6ZcIAGZQtwj4s-_JjcyW_U-EjhOcW3pUS2_t3lg1tcg,11988
386
+ criteo_api_marketingsolutions_preview/model/value_resource_of_patch_product_set_request.py,sha256=aVfKG4yOzCx88xxO-XC91BWYdZuybEY7ub_jRC1jK3E,11978
384
387
  criteo_api_marketingsolutions_preview/model/value_resource_of_product_filter_config.py,sha256=4jVZJei3RNzs1EYs6Apk1r3HjA2xXAT9ldsDiixtNKE,11979
385
388
  criteo_api_marketingsolutions_preview/model/value_resource_outcome_of_product_filter_config.py,sha256=iWgdYIQ4PqELz_yAHZ8rEfca_3CXeqo3pXlgFZ6_-y8,12594
386
389
  criteo_api_marketingsolutions_preview/model/video_detail.py,sha256=i-qvnBOBpuijRhQ2bPNwU8A5pDmWSk7O1kdpZV77Vm8,12436
387
390
  criteo_api_marketingsolutions_preview/model/write_model_ad_set_id.py,sha256=AEk9Ss4tXVTbSfDxJjpDW643MJwbV5iMs_Y3BG4839I,11755
388
391
  criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py,sha256=-GkiNut1VMiXMlpO4-wlbjtTXaDfvDptvzZejfkRZpg,12234
389
- criteo_api_marketingsolutions_preview/models/__init__.py,sha256=qCHNR9h1Oo3ryRXLRG71C2LBNGMx6fdkEEbmqpJneeA,41827
390
- criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/METADATA,sha256=0hv1Nt1TIEm0rnzwixCBRCGlvRtT8kExshaPIgr0Xs4,1876
391
- criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
392
- criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/top_level.txt,sha256=4xVpjptYrJ_AiVXZAhkhYuSp6rJRgq_VrBDhg-Eyi5Y,38
393
- criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/RECORD,,
392
+ criteo_api_marketingsolutions_preview/models/__init__.py,sha256=hK5sRCRcYG6gVpo-SyxePzLkMYq1o6GUm99aciy2xaM,42219
393
+ criteo_api_marketingsolutions_sdk-0.0.251021.dist-info/METADATA,sha256=7uop-wfrmPKcYqAMf2Jwog0_u7a03oLxbp20sga-Wqs,1876
394
+ criteo_api_marketingsolutions_sdk-0.0.251021.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
395
+ criteo_api_marketingsolutions_sdk-0.0.251021.dist-info/top_level.txt,sha256=4xVpjptYrJ_AiVXZAhkhYuSp6rJRgq_VrBDhg-Eyi5Y,38
396
+ criteo_api_marketingsolutions_sdk-0.0.251021.dist-info/RECORD,,