criteo-api-retailmedia-sdk 0.0.250902__py3-none-any.whl → 0.0.250915__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 +3 -12
- criteo_api_retailmedia_preview/api/analytics_api.py +18 -63
- criteo_api_retailmedia_preview/api/audience_api.py +25 -88
- criteo_api_retailmedia_preview/api/balance_api.py +176 -186
- criteo_api_retailmedia_preview/api/billing_api.py +2 -7
- criteo_api_retailmedia_preview/api/campaign_api.py +913 -974
- criteo_api_retailmedia_preview/api/catalog_api.py +6 -22
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/models/__init__.py +0 -6
- {criteo_api_retailmedia_sdk-0.0.250902.dist-info → criteo_api_retailmedia_sdk-0.0.250915.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250902.dist-info → criteo_api_retailmedia_sdk-0.0.250915.dist-info}/RECORD +15 -21
- criteo_api_retailmedia_preview/model/error_code_response.py +0 -281
- criteo_api_retailmedia_preview/model/fail_response.py +0 -283
- criteo_api_retailmedia_preview/model/outcome.py +0 -268
- criteo_api_retailmedia_preview/model/product_importer_error.py +0 -299
- criteo_api_retailmedia_preview/model/product_importer_warning.py +0 -299
- criteo_api_retailmedia_preview/model/report_outcome.py +0 -275
- {criteo_api_retailmedia_sdk-0.0.250902.dist-info → criteo_api_retailmedia_sdk-0.0.250915.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250902.dist-info → criteo_api_retailmedia_sdk-0.0.250915.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,6 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
24
|
from criteo_api_retailmedia_preview.model.batch_accepted_response import BatchAcceptedResponse
|
|
25
|
-
from criteo_api_retailmedia_preview.model.fail_response import FailResponse
|
|
26
25
|
from criteo_api_retailmedia_preview.model.products_custom_batch_request import ProductsCustomBatchRequest
|
|
27
26
|
from criteo_api_retailmedia_preview.model.report_ok_response import ReportOkResponse
|
|
28
27
|
from criteo_api_retailmedia_preview.model.value_resource_input_load_sku_offers_request import ValueResourceInputLoadSkuOffersRequest
|
|
@@ -92,15 +91,10 @@ class CatalogApi(object):
|
|
|
92
91
|
},
|
|
93
92
|
headers_map={
|
|
94
93
|
'accept': [
|
|
95
|
-
'
|
|
96
|
-
'application/json',
|
|
97
|
-
'text/json'
|
|
94
|
+
'application/json'
|
|
98
95
|
],
|
|
99
96
|
'content_type': [
|
|
100
|
-
'application/json
|
|
101
|
-
'application/json',
|
|
102
|
-
'text/json',
|
|
103
|
-
'application/*+json'
|
|
97
|
+
'application/json'
|
|
104
98
|
]
|
|
105
99
|
},
|
|
106
100
|
api_client=api_client
|
|
@@ -155,15 +149,10 @@ class CatalogApi(object):
|
|
|
155
149
|
},
|
|
156
150
|
headers_map={
|
|
157
151
|
'accept': [
|
|
158
|
-
'
|
|
159
|
-
'application/json',
|
|
160
|
-
'text/json'
|
|
152
|
+
'application/json'
|
|
161
153
|
],
|
|
162
154
|
'content_type': [
|
|
163
|
-
'application/json
|
|
164
|
-
'application/json',
|
|
165
|
-
'text/json',
|
|
166
|
-
'application/*+json'
|
|
155
|
+
'application/json'
|
|
167
156
|
]
|
|
168
157
|
},
|
|
169
158
|
api_client=api_client
|
|
@@ -218,15 +207,10 @@ class CatalogApi(object):
|
|
|
218
207
|
},
|
|
219
208
|
headers_map={
|
|
220
209
|
'accept': [
|
|
221
|
-
'
|
|
222
|
-
'application/json',
|
|
223
|
-
'text/json'
|
|
210
|
+
'application/json'
|
|
224
211
|
],
|
|
225
212
|
'content_type': [
|
|
226
|
-
'application/json
|
|
227
|
-
'application/json',
|
|
228
|
-
'text/json',
|
|
229
|
-
'application/*+json'
|
|
213
|
+
'application/json'
|
|
230
214
|
]
|
|
231
215
|
},
|
|
232
216
|
api_client=api_client
|
|
@@ -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.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.250915/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.
|
|
398
|
+
"SDK Package Version: 0.0.250915".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -85,11 +85,9 @@ from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_sta
|
|
|
85
85
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
|
|
86
86
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_partner_billing_report_status_v1 import EntityResourceOutcomePartnerBillingReportStatusV1
|
|
87
87
|
from criteo_api_retailmedia_preview.model.entity_resource_partner_billing_report_status_v1 import EntityResourcePartnerBillingReportStatusV1
|
|
88
|
-
from criteo_api_retailmedia_preview.model.error_code_response import ErrorCodeResponse
|
|
89
88
|
from criteo_api_retailmedia_preview.model.export_report_column import ExportReportColumn
|
|
90
89
|
from criteo_api_retailmedia_preview.model.export_report_meta_data import ExportReportMetaData
|
|
91
90
|
from criteo_api_retailmedia_preview.model.external_retail_media_child_account import ExternalRetailMediaChildAccount
|
|
92
|
-
from criteo_api_retailmedia_preview.model.fail_response import FailResponse
|
|
93
91
|
from criteo_api_retailmedia_preview.model.files_variable_value import FilesVariableValue
|
|
94
92
|
from criteo_api_retailmedia_preview.model.flight_leg import FlightLeg
|
|
95
93
|
from criteo_api_retailmedia_preview.model.flight_schedule import FlightSchedule
|
|
@@ -122,7 +120,6 @@ from criteo_api_retailmedia_preview.model.nillable_decimal import NillableDecima
|
|
|
122
120
|
from criteo_api_retailmedia_preview.model.nillable_string import NillableString
|
|
123
121
|
from criteo_api_retailmedia_preview.model.offer_load import OfferLoad
|
|
124
122
|
from criteo_api_retailmedia_preview.model.offer_update import OfferUpdate
|
|
125
|
-
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
126
123
|
from criteo_api_retailmedia_preview.model.page_metadata import PageMetadata
|
|
127
124
|
from criteo_api_retailmedia_preview.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
|
|
128
125
|
from criteo_api_retailmedia_preview.model.page_type_environment2 import PageTypeEnvironment2
|
|
@@ -148,8 +145,6 @@ from criteo_api_retailmedia_preview.model.product_button_request_list_request im
|
|
|
148
145
|
from criteo_api_retailmedia_preview.model.product_button_request_request import ProductButtonRequestRequest
|
|
149
146
|
from criteo_api_retailmedia_preview.model.product_button_response import ProductButtonResponse
|
|
150
147
|
from criteo_api_retailmedia_preview.model.product_button_response_list_response import ProductButtonResponseListResponse
|
|
151
|
-
from criteo_api_retailmedia_preview.model.product_importer_error import ProductImporterError
|
|
152
|
-
from criteo_api_retailmedia_preview.model.product_importer_warning import ProductImporterWarning
|
|
153
148
|
from criteo_api_retailmedia_preview.model.product_metadata import ProductMetadata
|
|
154
149
|
from criteo_api_retailmedia_preview.model.product_recommendation import ProductRecommendation
|
|
155
150
|
from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome
|
|
@@ -174,7 +169,6 @@ from criteo_api_retailmedia_preview.model.report_detail_errors import ReportDeta
|
|
|
174
169
|
from criteo_api_retailmedia_preview.model.report_detail_warning import ReportDetailWarning
|
|
175
170
|
from criteo_api_retailmedia_preview.model.report_detail_warnings import ReportDetailWarnings
|
|
176
171
|
from criteo_api_retailmedia_preview.model.report_ok_response import ReportOkResponse
|
|
177
|
-
from criteo_api_retailmedia_preview.model.report_outcome import ReportOutcome
|
|
178
172
|
from criteo_api_retailmedia_preview.model.report_response import ReportResponse
|
|
179
173
|
from criteo_api_retailmedia_preview.model.resource_of_balance_response_v2 import ResourceOfBalanceResponseV2
|
|
180
174
|
from criteo_api_retailmedia_preview.model.resource_of_brand_preview import ResourceOfBrandPreview
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: criteo-api-retailmedia-sdk
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.250915
|
|
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-retailmedia-sdk==0.0.
|
|
38
|
+
pip install criteo-api-retailmedia-sdk==0.0.250915
|
|
39
39
|
```
|
|
40
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.250915`)
|
|
41
41
|
|
|
42
42
|
Then import the package:
|
|
43
43
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_retailmedia_preview/__init__.py,sha256=
|
|
2
|
-
criteo_api_retailmedia_preview/api_client.py,sha256=
|
|
1
|
+
criteo_api_retailmedia_preview/__init__.py,sha256=ofHOZxhGNURgBKOhEsfQOHHzvVjcBZqwxWTpZMnQGes,1023
|
|
2
|
+
criteo_api_retailmedia_preview/api_client.py,sha256=susCsECleyQJcobYfzW7aRIFprr63nCdqn1_A7kpsMM,39425
|
|
3
3
|
criteo_api_retailmedia_preview/api_client_builder.py,sha256=GA_82AyTtGhe8KsCV4WRibYrDshmKbXDRLdELNYmBEo,1504
|
|
4
|
-
criteo_api_retailmedia_preview/configuration.py,sha256=
|
|
4
|
+
criteo_api_retailmedia_preview/configuration.py,sha256=Cm11ciM2dTJTRO-AjUf5FbQ-8X1WcDfeG7ViSgAcocY,16714
|
|
5
5
|
criteo_api_retailmedia_preview/criteo_api_client.py,sha256=OMLOZH6PXNNHEZ-9_X1b-jNJT80YCrfQrxln-6rWo3k,652
|
|
6
6
|
criteo_api_retailmedia_preview/criteo_auth.py,sha256=1pjObPpytC72QM8YxL3NmwDI0ePSXuRFIiMpq6j3LF0,4693
|
|
7
7
|
criteo_api_retailmedia_preview/criteo_rest.py,sha256=7fjy1FXDYlgRVnUqEvXaa3daGnZAB0rUPqmFxgBeRmk,3410
|
|
@@ -10,13 +10,13 @@ criteo_api_retailmedia_preview/flow_constants.py,sha256=Ib8P11y_f2GCzYFORWeFqmpY
|
|
|
10
10
|
criteo_api_retailmedia_preview/model_utils.py,sha256=cRqlVb6eq5limHgox0OVy9OgyVzX8dd31SjlHJYBXks,82564
|
|
11
11
|
criteo_api_retailmedia_preview/rest.py,sha256=QxPwwAVXwOGPybdM9wkJDT2zT9ehe-PRby_ZwtIagl0,14241
|
|
12
12
|
criteo_api_retailmedia_preview/api/__init__.py,sha256=PFuWrNYpBsqByMl7orspJxVAv0aLDjlUrEbAR3TBJJg,235
|
|
13
|
-
criteo_api_retailmedia_preview/api/accounts_api.py,sha256=
|
|
14
|
-
criteo_api_retailmedia_preview/api/analytics_api.py,sha256=
|
|
15
|
-
criteo_api_retailmedia_preview/api/audience_api.py,sha256=
|
|
16
|
-
criteo_api_retailmedia_preview/api/balance_api.py,sha256=
|
|
17
|
-
criteo_api_retailmedia_preview/api/billing_api.py,sha256=
|
|
18
|
-
criteo_api_retailmedia_preview/api/campaign_api.py,sha256=
|
|
19
|
-
criteo_api_retailmedia_preview/api/catalog_api.py,sha256=
|
|
13
|
+
criteo_api_retailmedia_preview/api/accounts_api.py,sha256=RjpQE_Hgk866RcKh8M-_TXsMtNLAOsnIGnRoSYP3gco,19674
|
|
14
|
+
criteo_api_retailmedia_preview/api/analytics_api.py,sha256=XexUdm22n2hQuMJ2hi8R3Tk9IoCPkwpy7WeFIxrKCnE,55518
|
|
15
|
+
criteo_api_retailmedia_preview/api/audience_api.py,sha256=eTBUyFey2l8nUSPZSxU50F2g3aw1U5zgiYnE6VTa6-o,93858
|
|
16
|
+
criteo_api_retailmedia_preview/api/balance_api.py,sha256=utTxcXz-H__JiN1yx2UoFu4FUzMaV7H9InPygeSHbf8,38052
|
|
17
|
+
criteo_api_retailmedia_preview/api/billing_api.py,sha256=df6ThtqzXE3fMV04Qd_W4EPaIKIf23yIPy8Jj9sthwY,17545
|
|
18
|
+
criteo_api_retailmedia_preview/api/campaign_api.py,sha256=VFQ-qZ2P2d6F5_IBSfs689un9NdQasKUcrzNUc2s3cA,240462
|
|
19
|
+
criteo_api_retailmedia_preview/api/catalog_api.py,sha256=E_-KG_TLUvOatMkq4CcIwIPs2seKs-umOZUDCLmfGYM,29817
|
|
20
20
|
criteo_api_retailmedia_preview/api/gateway_api.py,sha256=kEmtDyfACdByE6SbIMwV0OH7HsRvtN7jnmc1qDCtiLs,5693
|
|
21
21
|
criteo_api_retailmedia_preview/api/on_site_recommendation_api.py,sha256=yeEY6PXg4HoGYcEStM2kPLKPTSSLY3NLMbdHSCK8KtU,6779
|
|
22
22
|
criteo_api_retailmedia_preview/apis/__init__.py,sha256=W1qhyssajAM04s9TLbhPwDBTiDQyYM2d1UONEb0lhtU,1113
|
|
@@ -97,11 +97,9 @@ criteo_api_retailmedia_preview/model/entity_resource_outcome_of_catalog_status_v
|
|
|
97
97
|
criteo_api_retailmedia_preview/model/entity_resource_outcome_of_sponsored_products_line_item.py,sha256=ZjBvJ41VljHy1NS4ijyz2P47MadFiS3AeotUnAKi9i8,12596
|
|
98
98
|
criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py,sha256=y66hWnOmjiM5-_Kyo_EaSth8l6Gypyto8YliGxJoc30,12606
|
|
99
99
|
criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py,sha256=R0xppMNlTvdQOoJRSX0j5twoYphHHYPgUcwKMhBprm4,12042
|
|
100
|
-
criteo_api_retailmedia_preview/model/error_code_response.py,sha256=i297dGb7D2BSog6iXDmiuyWgSsWvebChP5c43h_mnrE,12097
|
|
101
100
|
criteo_api_retailmedia_preview/model/export_report_column.py,sha256=39aNdvJmbarm6lNesUslUGEeUGDbi8h912nXVP_k2hA,14152
|
|
102
101
|
criteo_api_retailmedia_preview/model/export_report_meta_data.py,sha256=pHG9f9pB40uVxE-153oPIHY9LHCHP7t8iFDbX2mvOx8,11926
|
|
103
102
|
criteo_api_retailmedia_preview/model/external_retail_media_child_account.py,sha256=jv90wFjrsHGhxsROsE3SbVTQhSIHwogapqbaiUdiaNY,13793
|
|
104
|
-
criteo_api_retailmedia_preview/model/fail_response.py,sha256=vVOyKT9FO6ZRxfrjIdQiJu9Kr0I5RDXC_xYcbpjwa6o,12249
|
|
105
103
|
criteo_api_retailmedia_preview/model/files_variable_value.py,sha256=O2EurvLEcnY_BGD8ML-VUBNo6y1hHuGJ9rOqJhY4ebQ,11390
|
|
106
104
|
criteo_api_retailmedia_preview/model/flight_leg.py,sha256=M_fWAkEawDTSADhSLYOfOAqQvM3kRFbjANYkpWH29Is,12179
|
|
107
105
|
criteo_api_retailmedia_preview/model/flight_schedule.py,sha256=TkCm1jN4J_GHNyldtIESeXQgPI7KtQcJBmfdfrgvEYc,11433
|
|
@@ -134,7 +132,6 @@ criteo_api_retailmedia_preview/model/nillable_decimal.py,sha256=aMbK9pvW_1rbIcnl
|
|
|
134
132
|
criteo_api_retailmedia_preview/model/nillable_string.py,sha256=x7bcW3bG64tdy5MTUEC1B3ByokLyn9pkxEJIj7LN42Q,11578
|
|
135
133
|
criteo_api_retailmedia_preview/model/offer_load.py,sha256=zQGNWcSIix9Np3WK7g_BSn9b87KW_BEU84MA_jcf7kw,12299
|
|
136
134
|
criteo_api_retailmedia_preview/model/offer_update.py,sha256=W6cIWS2JdTIvJy3u19imdj9wmSf7LXbIDjjxpjmnrk4,12081
|
|
137
|
-
criteo_api_retailmedia_preview/model/outcome.py,sha256=PVhyEZSJMQ-iFvvHmE9DFj0ql99hFGxFiUn5mnhI42k,11935
|
|
138
135
|
criteo_api_retailmedia_preview/model/page_metadata.py,sha256=d-BsuyXWKcbtTsYXT6FFTq0C9NWDvMIxal8lGy-Q8Bg,12965
|
|
139
136
|
criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py,sha256=940EzsrktG9A95qeWB851WFeSvUkLn8v2sw4Ue-mqhQ,11891
|
|
140
137
|
criteo_api_retailmedia_preview/model/page_type_environment2.py,sha256=ACbq9ytzbm5r9WZXa0yNP_m--U7xv9Efxtu0CPE5aIY,12371
|
|
@@ -160,8 +157,6 @@ criteo_api_retailmedia_preview/model/product_button_request_list_request.py,sha2
|
|
|
160
157
|
criteo_api_retailmedia_preview/model/product_button_request_request.py,sha256=4u15fZZRSGhhwp9CwFatEgmPWM9LL-dnQKWvWIr8jsA,11768
|
|
161
158
|
criteo_api_retailmedia_preview/model/product_button_response.py,sha256=xvepYYgau29oTY8mSAmdnbGFG1xXYenw876aR6Xv6Rw,12736
|
|
162
159
|
criteo_api_retailmedia_preview/model/product_button_response_list_response.py,sha256=ap495LcY2Ga9aH7q1K3_P_Rw8D7XFd7hbu5fIqS2uPs,12551
|
|
163
|
-
criteo_api_retailmedia_preview/model/product_importer_error.py,sha256=I9lqrh6IYKxoXgaPdLx-l4LaOHKxWc4y_bJdwIuMezY,14151
|
|
164
|
-
criteo_api_retailmedia_preview/model/product_importer_warning.py,sha256=FthfddKYwKObQIkHdYp5ubxagg_-iAg7WKZMGPl6M8E,14157
|
|
165
160
|
criteo_api_retailmedia_preview/model/product_metadata.py,sha256=fYVtGMcOXOeDTPJtG57Dh-vIIWPp4E1tl_mEL5VaoB0,12175
|
|
166
161
|
criteo_api_retailmedia_preview/model/product_recommendation.py,sha256=lHJtd5rWlxxqGD4wFOmRnZJJn-BSBiHMamvVxB_ZKoA,13808
|
|
167
162
|
criteo_api_retailmedia_preview/model/product_resource_outcome.py,sha256=wZoTYvqbQDZ3_LmDOedVfamIfxenED2alycPTfWSMGw,11692
|
|
@@ -186,7 +181,6 @@ criteo_api_retailmedia_preview/model/report_detail_errors.py,sha256=KVs6lBBnoKjn
|
|
|
186
181
|
criteo_api_retailmedia_preview/model/report_detail_warning.py,sha256=oaE874SU7RLOeY9YjR9C17Pd6R6YRAh5VtAI5lbXdDY,12135
|
|
187
182
|
criteo_api_retailmedia_preview/model/report_detail_warnings.py,sha256=jqcv4ibbC6RMpd1V35NBr0jm2gwFa31s96VUK2bMzwA,12016
|
|
188
183
|
criteo_api_retailmedia_preview/model/report_ok_response.py,sha256=-gMGAAzQROByoqZuSOlplMXDHCKhf1vjwMMJdq4u_28,16552
|
|
189
|
-
criteo_api_retailmedia_preview/model/report_outcome.py,sha256=UfPH-27xQcJY9obmHBXSwOV5xI4HOLQp-jtaKpjGcMo,11987
|
|
190
184
|
criteo_api_retailmedia_preview/model/report_response.py,sha256=9pdKT9sP9peaZDVH4XM_TbCwVmJdu5ykXLwM3x01tXA,12808
|
|
191
185
|
criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py,sha256=eO1CAtXKu05EQ3dx118WHV77l-WqxyfM1UsTX02JTO4,12223
|
|
192
186
|
criteo_api_retailmedia_preview/model/resource_of_brand_preview.py,sha256=KTeRDayJmqqFLceq2Ad2eHnDiIgTe95QJ_lL02AfCLM,12173
|
|
@@ -358,8 +352,8 @@ criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review
|
|
|
358
352
|
criteo_api_retailmedia_preview/model/value_resource_set_sku_buy_box_winners_request.py,sha256=gwlCZE59aYIF0lD6PQWqXGiLmGSAn_E9WsM7rPx2rMU,11768
|
|
359
353
|
criteo_api_retailmedia_preview/model/value_resource_update_offers_request.py,sha256=mvfCuIfe1_km1sIe9nWccLTtI_49DDCeY1plBzJbU84,11695
|
|
360
354
|
criteo_api_retailmedia_preview/model/video_variable_value.py,sha256=MutQTssNekmvLKDmu2kTKk0ZrijtpRwYToR_-nlo3SM,12078
|
|
361
|
-
criteo_api_retailmedia_preview/models/__init__.py,sha256
|
|
362
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
363
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
364
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
365
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
355
|
+
criteo_api_retailmedia_preview/models/__init__.py,sha256=PFRX8QqaHSHe8vvL3AGw980fB2wDvmWOF4hzRG0R9NA,37153
|
|
356
|
+
criteo_api_retailmedia_sdk-0.0.250915.dist-info/METADATA,sha256=B6S2dIYonBzlSGLvSHSE1d1lwk4Vl9aaFoAZsP4m8Pg,1848
|
|
357
|
+
criteo_api_retailmedia_sdk-0.0.250915.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
358
|
+
criteo_api_retailmedia_sdk-0.0.250915.dist-info/top_level.txt,sha256=mR8aaWgc27pZ23OyoxxkhvUuHPeOkKiUaNQ-RiAivhc,31
|
|
359
|
+
criteo_api_retailmedia_sdk-0.0.250915.dist-info/RECORD,,
|
|
@@ -1,281 +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
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.audience_error import AudienceError
|
|
34
|
-
from criteo_api_retailmedia_preview.model.audience_warning import AudienceWarning
|
|
35
|
-
globals()['AudienceError'] = AudienceError
|
|
36
|
-
globals()['AudienceWarning'] = AudienceWarning
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class ErrorCodeResponse(ModelNormal):
|
|
40
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
|
-
Ref: https://openapi-generator.tech
|
|
42
|
-
|
|
43
|
-
Do not edit the class manually.
|
|
44
|
-
|
|
45
|
-
Attributes:
|
|
46
|
-
allowed_values (dict): The key is the tuple path to the attribute
|
|
47
|
-
and the for var_name this is (var_name,). The value is a dict
|
|
48
|
-
with a capitalized key describing the allowed value and an allowed
|
|
49
|
-
value. These dicts store the allowed enum values.
|
|
50
|
-
attribute_map (dict): The key is attribute name
|
|
51
|
-
and the value is json key in definition.
|
|
52
|
-
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
53
|
-
variable value to the discriminator class name.
|
|
54
|
-
validations (dict): The key is the tuple path to the attribute
|
|
55
|
-
and the for var_name this is (var_name,). The value is a dict
|
|
56
|
-
that stores validations for max_length, min_length, max_items,
|
|
57
|
-
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
58
|
-
inclusive_minimum, and regex.
|
|
59
|
-
additional_properties_type (tuple): A tuple of classes accepted
|
|
60
|
-
as additional properties values.
|
|
61
|
-
"""
|
|
62
|
-
|
|
63
|
-
allowed_values = {
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
validations = {
|
|
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
|
-
'errors': ([AudienceError],), # noqa: E501
|
|
93
|
-
'warnings': ([AudienceWarning], none_type,), # noqa: E501
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@cached_property
|
|
97
|
-
def discriminator():
|
|
98
|
-
return None
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
attribute_map = {
|
|
102
|
-
'errors': 'errors', # noqa: E501
|
|
103
|
-
'warnings': 'warnings', # noqa: E501
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
read_only_vars = {
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
_composed_schemas = {}
|
|
110
|
-
|
|
111
|
-
@classmethod
|
|
112
|
-
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls, errors, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""ErrorCodeResponse - a model defined in OpenAPI
|
|
115
|
-
|
|
116
|
-
Args:
|
|
117
|
-
errors ([AudienceError]):
|
|
118
|
-
|
|
119
|
-
Keyword Args:
|
|
120
|
-
_check_type (bool): if True, values for parameters in openapi_types
|
|
121
|
-
will be type checked and a TypeError will be
|
|
122
|
-
raised if the wrong type is input.
|
|
123
|
-
Defaults to True
|
|
124
|
-
_path_to_item (tuple/list): This is a list of keys or values to
|
|
125
|
-
drill down to the model in received_data
|
|
126
|
-
when deserializing a response
|
|
127
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
128
|
-
are serialized names, as specified in the OpenAPI document.
|
|
129
|
-
False if the variable names in the input data
|
|
130
|
-
are pythonic names, e.g. snake case (default)
|
|
131
|
-
_configuration (Configuration): the instance to use when
|
|
132
|
-
deserializing a file_type parameter.
|
|
133
|
-
If passed, type conversion is attempted
|
|
134
|
-
If omitted no type conversion is done.
|
|
135
|
-
_visited_composed_classes (tuple): This stores a tuple of
|
|
136
|
-
classes that we have traveled through so that
|
|
137
|
-
if we see that class again we will not use its
|
|
138
|
-
discriminator again.
|
|
139
|
-
When traveling through a discriminator, the
|
|
140
|
-
composed schema that is
|
|
141
|
-
is traveled through is added to this set.
|
|
142
|
-
For example if Animal has a discriminator
|
|
143
|
-
petType and we pass in "Dog", and the class Dog
|
|
144
|
-
allOf includes Animal, we move through Animal
|
|
145
|
-
once using the discriminator, and pick Dog.
|
|
146
|
-
Then in Dog, we will make an instance of the
|
|
147
|
-
Animal class but this time we won't travel
|
|
148
|
-
through its discriminator because we passed in
|
|
149
|
-
_visited_composed_classes = (Animal,)
|
|
150
|
-
warnings ([AudienceWarning], none_type): [optional] # noqa: E501
|
|
151
|
-
"""
|
|
152
|
-
|
|
153
|
-
_check_type = kwargs.pop('_check_type', True)
|
|
154
|
-
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
155
|
-
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
156
|
-
_configuration = kwargs.pop('_configuration', None)
|
|
157
|
-
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
158
|
-
|
|
159
|
-
self = super(OpenApiModel, cls).__new__(cls)
|
|
160
|
-
|
|
161
|
-
if args:
|
|
162
|
-
for arg in args:
|
|
163
|
-
if isinstance(arg, dict):
|
|
164
|
-
kwargs.update(arg)
|
|
165
|
-
else:
|
|
166
|
-
raise ApiTypeError(
|
|
167
|
-
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
168
|
-
args,
|
|
169
|
-
self.__class__.__name__,
|
|
170
|
-
),
|
|
171
|
-
path_to_item=_path_to_item,
|
|
172
|
-
valid_classes=(self.__class__,),
|
|
173
|
-
)
|
|
174
|
-
|
|
175
|
-
self._data_store = {}
|
|
176
|
-
self._check_type = _check_type
|
|
177
|
-
self._spec_property_naming = _spec_property_naming
|
|
178
|
-
self._path_to_item = _path_to_item
|
|
179
|
-
self._configuration = _configuration
|
|
180
|
-
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
181
|
-
|
|
182
|
-
self.errors = errors
|
|
183
|
-
for var_name, var_value in kwargs.items():
|
|
184
|
-
if var_name not in self.attribute_map and \
|
|
185
|
-
self._configuration is not None and \
|
|
186
|
-
self._configuration.discard_unknown_keys and \
|
|
187
|
-
self.additional_properties_type is None:
|
|
188
|
-
# discard variable.
|
|
189
|
-
continue
|
|
190
|
-
setattr(self, var_name, var_value)
|
|
191
|
-
return self
|
|
192
|
-
|
|
193
|
-
required_properties = set([
|
|
194
|
-
'_data_store',
|
|
195
|
-
'_check_type',
|
|
196
|
-
'_spec_property_naming',
|
|
197
|
-
'_path_to_item',
|
|
198
|
-
'_configuration',
|
|
199
|
-
'_visited_composed_classes',
|
|
200
|
-
])
|
|
201
|
-
|
|
202
|
-
@convert_js_args_to_python_args
|
|
203
|
-
def __init__(self, errors, *args, **kwargs): # noqa: E501
|
|
204
|
-
"""ErrorCodeResponse - a model defined in OpenAPI
|
|
205
|
-
|
|
206
|
-
Args:
|
|
207
|
-
errors ([AudienceError]):
|
|
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
|
-
warnings ([AudienceWarning], none_type): [optional] # noqa: E501
|
|
241
|
-
"""
|
|
242
|
-
|
|
243
|
-
_check_type = kwargs.pop('_check_type', True)
|
|
244
|
-
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
245
|
-
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
246
|
-
_configuration = kwargs.pop('_configuration', None)
|
|
247
|
-
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
248
|
-
|
|
249
|
-
if args:
|
|
250
|
-
for arg in args:
|
|
251
|
-
if isinstance(arg, dict):
|
|
252
|
-
kwargs.update(arg)
|
|
253
|
-
else:
|
|
254
|
-
raise ApiTypeError(
|
|
255
|
-
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
256
|
-
args,
|
|
257
|
-
self.__class__.__name__,
|
|
258
|
-
),
|
|
259
|
-
path_to_item=_path_to_item,
|
|
260
|
-
valid_classes=(self.__class__,),
|
|
261
|
-
)
|
|
262
|
-
|
|
263
|
-
self._data_store = {}
|
|
264
|
-
self._check_type = _check_type
|
|
265
|
-
self._spec_property_naming = _spec_property_naming
|
|
266
|
-
self._path_to_item = _path_to_item
|
|
267
|
-
self._configuration = _configuration
|
|
268
|
-
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
269
|
-
|
|
270
|
-
self.errors = errors
|
|
271
|
-
for var_name, var_value in kwargs.items():
|
|
272
|
-
if var_name not in self.attribute_map and \
|
|
273
|
-
self._configuration is not None and \
|
|
274
|
-
self._configuration.discard_unknown_keys and \
|
|
275
|
-
self.additional_properties_type is None:
|
|
276
|
-
# discard variable.
|
|
277
|
-
continue
|
|
278
|
-
setattr(self, var_name, var_value)
|
|
279
|
-
if var_name in self.read_only_vars:
|
|
280
|
-
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
281
|
-
f"class with read only attributes.")
|