criteo-api-retailmedia-sdk 2025.1.0.250205__py3-none-any.whl → 2025.1.0.250217__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_sdk-2025.1.0.250205.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info}/RECORD +20 -20
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +2 -2
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +6 -6
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +3 -3
- criteo_api_retailmedia_v2025_01/model/line_item_product_status.py +7 -7
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +4 -4
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py +18 -31
- criteo_api_retailmedia_v2025_01/model/{retail_media_contactlist_operation_response_attributes_attributes.py → retail_media_contactlist_amendment_attributes.py} +28 -33
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation.py +4 -0
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation_response_attributes.py +36 -20
- criteo_api_retailmedia_v2025_01/models/__init__.py +1 -1
- {criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: criteo-api-retailmedia-sdk
|
|
3
|
-
Version: 2025.1.0.
|
|
3
|
+
Version: 2025.1.0.250217
|
|
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==2025.01.0.
|
|
38
|
+
pip install criteo-api-retailmedia-sdk==2025.01.0.250217
|
|
39
39
|
```
|
|
40
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.01.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.01.0.250217`)
|
|
41
41
|
|
|
42
42
|
Then import the package:
|
|
43
43
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_retailmedia_v2025_01/__init__.py,sha256=
|
|
2
|
-
criteo_api_retailmedia_v2025_01/api_client.py,sha256=
|
|
1
|
+
criteo_api_retailmedia_v2025_01/__init__.py,sha256=GI_pA6eRRgcwIjoaiBeeNmoBt48IjSvBdsd9nmCq0Ik,1040
|
|
2
|
+
criteo_api_retailmedia_v2025_01/api_client.py,sha256=FN7xNRDSg4uMTrIRH6QdpOWXZM-vk5D308pCqRJV3g4,39191
|
|
3
3
|
criteo_api_retailmedia_v2025_01/api_client_builder.py,sha256=-B1kb98EHE_BXJ4mQiR8SznoAv5mGsYAw7YQxX1weis,1507
|
|
4
|
-
criteo_api_retailmedia_v2025_01/configuration.py,sha256=
|
|
4
|
+
criteo_api_retailmedia_v2025_01/configuration.py,sha256=45tICF2FRY1bAbFNQDeUGWqrz3bfAMSlHM18DPRxRLc,16722
|
|
5
5
|
criteo_api_retailmedia_v2025_01/criteo_api_client.py,sha256=xBcxtoEfflxzw5ytTpjpU8cnqJJmTYl3vGWP04B-YcI,654
|
|
6
6
|
criteo_api_retailmedia_v2025_01/criteo_auth.py,sha256=6o1JS-XN9ND0-eDG3q9GBcypI0HLxJNZOwL-MvuXo3c,4696
|
|
7
7
|
criteo_api_retailmedia_v2025_01/criteo_rest.py,sha256=k6IdvrIzJxVr6V2EA4Ffw6WVa0htQjsamAKAq0R7qvA,3413
|
|
@@ -14,7 +14,7 @@ criteo_api_retailmedia_v2025_01/api/accounts_api.py,sha256=JIG_esE9ulzAF3EZMhdlw
|
|
|
14
14
|
criteo_api_retailmedia_v2025_01/api/analytics_api.py,sha256=NGSSYp9Zkkt3eg9hnowm2OY4B2YDIyw78O1VVNgNCRU,28503
|
|
15
15
|
criteo_api_retailmedia_v2025_01/api/audience_api.py,sha256=XjGurXk16DRCZtjQjLrPh3gyLCy8tFWCe1iBLGlavUg,52404
|
|
16
16
|
criteo_api_retailmedia_v2025_01/api/balance_api.py,sha256=NuyCh8otc92BLQDWuES7-ZfFo8IxLYV-VMt-wuhW3h8,52564
|
|
17
|
-
criteo_api_retailmedia_v2025_01/api/campaign_api.py,sha256=
|
|
17
|
+
criteo_api_retailmedia_v2025_01/api/campaign_api.py,sha256=uYVej4qzlmM7p-D5luF84UGr2O4hdNMQHSt_XLWW7hM,374519
|
|
18
18
|
criteo_api_retailmedia_v2025_01/api/gateway_api.py,sha256=QL9NeI58OzLL4ktlsu5flLmfBrFYFFxu4KXNN7CdTuA,5696
|
|
19
19
|
criteo_api_retailmedia_v2025_01/apis/__init__.py,sha256=qLPqSQKkHQYfQin6xre6TDYpFMtLatjgTpJuwCp_5jA,882
|
|
20
20
|
criteo_api_retailmedia_v2025_01/model/__init__.py,sha256=fhVDDk4KXPEN7hzC0f7fjAYeo4ivl2J0D-aFB2L88T4,365
|
|
@@ -55,13 +55,13 @@ criteo_api_retailmedia_v2025_01/model/audience_warning.py,sha256=RSGiuO1dvhAvDgm
|
|
|
55
55
|
criteo_api_retailmedia_v2025_01/model/balance_campaign202110_list_request.py,sha256=8IVGrNY8jaUvdKlkEAM_34ReMQtHuMWFOHpVM6POhH0,11799
|
|
56
56
|
criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py,sha256=NJxhHRj0nvUMH8uPEuxN78fr3bRqR8LskPPsn_DPaqQ,12832
|
|
57
57
|
criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py,sha256=CWWE36UDV9i39K0nLu5e7fclA5RGSU1tvdU408Pbhjk,13578
|
|
58
|
-
criteo_api_retailmedia_v2025_01/model/balance_response_v2.py,sha256=
|
|
58
|
+
criteo_api_retailmedia_v2025_01/model/balance_response_v2.py,sha256=AIsN69tfClgXxehUkfZwOpIshDQhUihkHbG4Q3DmqCs,16314
|
|
59
59
|
criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py,sha256=gwf5n9ZIWq-NCOXhYpFC4cy1le2NecdM58R5XYbxcfE,12398
|
|
60
|
-
criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py,sha256=
|
|
60
|
+
criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py,sha256=bvcVi4NcJxJOECZ8u5smUndcwXWAiEg9hBVDh26GD2k,16771
|
|
61
61
|
criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py,sha256=iqBwNyQ-lA17EsVeAyTabcTFMqt71owUDKEw0FzyYa4,12653
|
|
62
62
|
criteo_api_retailmedia_v2025_01/model/campaign_daily_budget_override.py,sha256=QW9XZbxMoXabAutzPX5NybkJEHUinJgoR68Al5e3Wwk,12890
|
|
63
63
|
criteo_api_retailmedia_v2025_01/model/campaign_monthly_budget_override.py,sha256=tMRi1CoKQIEcYjII4hoUSIt7tNQGsJJp0D6BvFczf3g,12945
|
|
64
|
-
criteo_api_retailmedia_v2025_01/model/campaign_v202301.py,sha256=
|
|
64
|
+
criteo_api_retailmedia_v2025_01/model/campaign_v202301.py,sha256=HoGfganEY35eynZ2f2QmgA1foM2iAFZi-sVB42ONeQ8,18952
|
|
65
65
|
criteo_api_retailmedia_v2025_01/model/category202204.py,sha256=DuwDxax36DRQ7QkCCHeb-5ELPM09rGVexmTjai7gubY,11955
|
|
66
66
|
criteo_api_retailmedia_v2025_01/model/category202204_list_response.py,sha256=v7dcsBHlHwLqehCPgKoUI0dwMvJ5-WxuS-y2L_GAdbc,12395
|
|
67
67
|
criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py,sha256=qsWZuxKjs3C_fy_Ll67XGBhnTjoOWV2EGVUANBpgrco,12136
|
|
@@ -88,7 +88,7 @@ criteo_api_retailmedia_v2025_01/model/creative2_response.py,sha256=QKoKpwlhoCSw-
|
|
|
88
88
|
criteo_api_retailmedia_v2025_01/model/creative_create_model202207.py,sha256=UMOK9dVt2Mczc10cxNGEcJhk8Fa3FqA--Asvord2Lhw,12972
|
|
89
89
|
criteo_api_retailmedia_v2025_01/model/creative_update_model202207.py,sha256=NXmc9Nr-4-rZk8kErGvhjtrmO3AOT-Pu4c8hhAPJO_o,12972
|
|
90
90
|
criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py,sha256=10ihEurQj_r8CGVaTDkQtvi7ginVMBt_FaqJ8Yg5xQE,12847
|
|
91
|
-
criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py,sha256=
|
|
91
|
+
criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py,sha256=ki5jCmm5cKF6HzKfOCsVGuPihArCT3mEQT7Swggo2dg,16117
|
|
92
92
|
criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py,sha256=Rad1VZ41sLTWW1qPd3uVPx86VECma0THHM7OxxQce4I,12205
|
|
93
93
|
criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py,sha256=NuW6-dFPEKhVMXK2RbrJbJ8XhBWGT2icGj1DB1vhCrE,12562
|
|
94
94
|
criteo_api_retailmedia_v2025_01/model/error_code_response.py,sha256=6xshK4B2wOj2X436WL3xkuX1B4GCs3LS3w3G8MjRxU4,12101
|
|
@@ -102,7 +102,7 @@ criteo_api_retailmedia_v2025_01/model/external_audience_ids_update_model202110.p
|
|
|
102
102
|
criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py,sha256=ZMdC9DfS3rvaQG90sNjf9hQ3TmQJkk3Xdjm8ovWPK3M,12032
|
|
103
103
|
criteo_api_retailmedia_v2025_01/model/external_brand.py,sha256=8uJXi0CB1mXOCeeAhBQjwImA8vSMIz5MthnorUaGbkw,11518
|
|
104
104
|
criteo_api_retailmedia_v2025_01/model/external_catalog_request.py,sha256=wwUemV4uogGXgnbahElNJcNKTwHF533VWP-fyPmD3gQ,11870
|
|
105
|
-
criteo_api_retailmedia_v2025_01/model/external_catalog_status.py,sha256=
|
|
105
|
+
criteo_api_retailmedia_v2025_01/model/external_catalog_status.py,sha256=RJaG0D6Gn1bl0_y5PgrlQPro8Bpz-I8ZhSfZsQk43MI,14648
|
|
106
106
|
criteo_api_retailmedia_v2025_01/model/external_common_line_item.py,sha256=2coQapLojSdd0gBrgTh6A2-cv-ktUPeSvcafDrvOo_U,15134
|
|
107
107
|
criteo_api_retailmedia_v2025_01/model/external_keyword_target202110.py,sha256=RUk_scPAt4aXrIS6VCgDYLFicPy6agv1wlQ5OasgIW0,11802
|
|
108
108
|
criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py,sha256=X42UVCo1nkMila-cCeeKueXVrHnf7KFnVhb2Tb9ukrY,14732
|
|
@@ -160,7 +160,7 @@ criteo_api_retailmedia_v2025_01/model/keywords_model_response.py,sha256=vlzZGYCJ
|
|
|
160
160
|
criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_request.py,sha256=DC4CvDDn07Vl1CQFF-jQeufqrRaBClNhnDMtRlhURRc,11813
|
|
161
161
|
criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py,sha256=iR5S5KQ2-LJMrZuREmob4cjuakq6eupePjsCN-EoyQw,12536
|
|
162
162
|
criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py,sha256=-buZQm_CW_vn39cLe4vtU6WRM1RTc2NgZq66V67ah5o,12882
|
|
163
|
-
criteo_api_retailmedia_v2025_01/model/line_item_product_status.py,sha256=
|
|
163
|
+
criteo_api_retailmedia_v2025_01/model/line_item_product_status.py,sha256=LSOAgn87A6AueRoZGIY0eaxObpExvcEZ32J2J944jQo,12273
|
|
164
164
|
criteo_api_retailmedia_v2025_01/model/match_type_model.py,sha256=t2asDipCCHY04gdi6NUqI5oVzidLkmaz-cz5Z1ytvrY,12314
|
|
165
165
|
criteo_api_retailmedia_v2025_01/model/metadata.py,sha256=KqR-e4p5FsFlYVgTgQt0cgwGJTmGvGYUgXxXiR_3Sok,11757
|
|
166
166
|
criteo_api_retailmedia_v2025_01/model/monthly_line_item_budeget_override.py,sha256=HmSXj-iU-Y52rL0uGdOBLzPy-ER6G_ITXoz7S5voX2U,12948
|
|
@@ -181,7 +181,7 @@ criteo_api_retailmedia_v2025_01/model/product_resource_outcome.py,sha256=p3NYggh
|
|
|
181
181
|
criteo_api_retailmedia_v2025_01/model/promoted_product.py,sha256=lBDpU5G05-9wtupygE1nOtwQeUKdkgYaH6FQSL3Sc-Y,12140
|
|
182
182
|
criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py,sha256=4SDJoVaqSImCpm8UYzTOetZsHpLjJpLahcg1jvw1-XY,11797
|
|
183
183
|
criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_input.py,sha256=im3nvU2bpNT6O_41jUODz5woV2RhQ_YwlxlMm5_1tXk,11496
|
|
184
|
-
criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py,sha256=
|
|
184
|
+
criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py,sha256=eoC6UKAZgaTC3hhHs4vdDleKsYUiBaHNiAm4Mooymhc,12615
|
|
185
185
|
criteo_api_retailmedia_v2025_01/model/put_campaign_v202301.py,sha256=ulT5iNpFYqzVuMPlbF0WauDA8X1JVDfOKJIzn-P3jIU,12090
|
|
186
186
|
criteo_api_retailmedia_v2025_01/model/recommended_keywords_result.py,sha256=gt8HmWIBHgEBoYvE32dj6Wvwnv1MZqqCJzbkfCk4NWw,11858
|
|
187
187
|
criteo_api_retailmedia_v2025_01/model/report_outcome.py,sha256=UJW9UkFCRNIUEMAEzzDn5bS9JXQX5dPv_DLZc7dO2o4,11990
|
|
@@ -203,11 +203,11 @@ criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py,sha2
|
|
|
203
203
|
criteo_api_retailmedia_v2025_01/model/resource_of_template.py,sha256=Wi1nl1KwMdnNn_wHuTdA6TEVm6kkYfCT380S6iXWkng,11837
|
|
204
204
|
criteo_api_retailmedia_v2025_01/model/resource_of_update_balance_model_v2.py,sha256=rzmMDbLw3pqxXbmDNVsfhU6mxyYl2XeU5gpKCkVh3qo,12258
|
|
205
205
|
criteo_api_retailmedia_v2025_01/model/resource_outcome.py,sha256=IQygo6tFVvKLF4ntLIJjaVj9OrVltGdWHbbmLOBEf3s,11740
|
|
206
|
-
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py,sha256=
|
|
206
|
+
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py,sha256=7JP0br5VFf6riJDS-_jJR07jbjlKsaTMHonXNAQ6Rm0,12202
|
|
207
|
+
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py,sha256=70ynTWgR59woGUZj9jXDTtR63NgHDnCkM6ZAX2_Ryj8,12743
|
|
207
208
|
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_request.py,sha256=WnuvNsOR6SEJ0eFm9luBxOgueiICZ-TKa2H10TdlMpM,11853
|
|
208
|
-
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation.py,sha256=
|
|
209
|
-
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation_response_attributes.py,sha256=
|
|
210
|
-
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation_response_attributes_attributes.py,sha256=T1kyuK6bVwLDByuCKP_25p8C-4Vl-iysjBcwdwOXjdk,13974
|
|
209
|
+
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation.py,sha256=Exs_nDKqiNyRYdvjgJYq3YNqdr6i8ft7NCFOpfVG694,13021
|
|
210
|
+
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation_response_attributes.py,sha256=pMakgonTSPWtRaC1X4TDlfTHrlEiJ6q9u4cjQDvI07g,13944
|
|
211
211
|
criteo_api_retailmedia_v2025_01/model/review_state_model.py,sha256=KQ5NUEDcyyXL8dMZdRqpnJOF7HJAvcmRBOpjuj6SLgQ,12558
|
|
212
212
|
criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py,sha256=Jm9nDBRKJQG1hBciY7JAEJx1Afk1r1vJ5h-nP0wspCw,12208
|
|
213
213
|
criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py,sha256=FfoZVZXgufkruS61FYDBXbUiNz5Jv9K4LloOj7hyVWk,14407
|
|
@@ -289,8 +289,8 @@ criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target20211
|
|
|
289
289
|
criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py,sha256=2-NIG-EqlUiwUc8IuAcERnSFhMrQ6SbPugGBoIAxrI4,12052
|
|
290
290
|
criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py,sha256=kUfewdrPk3qa54AO0zEM342_AX0eJlGRL7LnlHBF3rw,11970
|
|
291
291
|
criteo_api_retailmedia_v2025_01/model/video_variable_value.py,sha256=iLuJQLuirYe9PoheB1W-NFi7gc6B6rl_ZaIGtX2CBpU,12081
|
|
292
|
-
criteo_api_retailmedia_v2025_01/models/__init__.py,sha256=
|
|
293
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
294
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
295
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
296
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
292
|
+
criteo_api_retailmedia_v2025_01/models/__init__.py,sha256=HRG8iRWDokwhG4iTAsE1F1-JYbg3PoLRVVMB9NlU72E,31010
|
|
293
|
+
criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info/METADATA,sha256=RpKCqOUwD7E1XUSEE_rbrDVLOavwQgtD7bRVWo8gjBQ,1866
|
|
294
|
+
criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
295
|
+
criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info/top_level.txt,sha256=wYgOZKDNEnjENlGVmEeV9omLAymEPJUUGXtqk6Ei7rw,32
|
|
296
|
+
criteo_api_retailmedia_sdk-2025.1.0.250217.dist-info/RECORD,,
|
|
@@ -153,7 +153,7 @@ class CampaignApi(object):
|
|
|
153
153
|
)
|
|
154
154
|
self.append_promoted_products_endpoint = _Endpoint(
|
|
155
155
|
settings={
|
|
156
|
-
'response_type':
|
|
156
|
+
'response_type': (ProductResourceOutcome,),
|
|
157
157
|
'auth': [
|
|
158
158
|
'oauth',
|
|
159
159
|
'oauth'
|
|
@@ -3915,7 +3915,7 @@ class CampaignApi(object):
|
|
|
3915
3915
|
async_req (bool): execute request asynchronously
|
|
3916
3916
|
|
|
3917
3917
|
Returns:
|
|
3918
|
-
|
|
3918
|
+
ProductResourceOutcome
|
|
3919
3919
|
If the method is called asynchronously, returns the request
|
|
3920
3920
|
thread.
|
|
3921
3921
|
"""
|
|
@@ -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/2025.01.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2025.01.0.250217/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: 2025-01\n"\
|
|
398
|
-
"SDK Package Version: 2025.01.0.
|
|
398
|
+
"SDK Package Version: 2025.01.0.250217".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -66,10 +66,10 @@ class BalanceResponseV2(ModelNormal):
|
|
|
66
66
|
'OFFSITEAWARENESS': "OffsiteAwareness",
|
|
67
67
|
},
|
|
68
68
|
('private_market_billing_type',): {
|
|
69
|
-
'NOTAPPLICABLE': "
|
|
70
|
-
'BILLBYRETAILER': "
|
|
71
|
-
'BILLBYCRITEO': "
|
|
72
|
-
'UNKNOWN': "
|
|
69
|
+
'NOTAPPLICABLE': "notApplicable",
|
|
70
|
+
'BILLBYRETAILER': "billByRetailer",
|
|
71
|
+
'BILLBYCRITEO': "billByCriteo",
|
|
72
|
+
'UNKNOWN': "unknown",
|
|
73
73
|
},
|
|
74
74
|
('status',): {
|
|
75
75
|
'UNKNOWN': "unknown",
|
|
@@ -67,12 +67,12 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
67
67
|
'UNKNOWN': "unknown",
|
|
68
68
|
},
|
|
69
69
|
('view_attribution_window',): {
|
|
70
|
-
'NONE': "
|
|
71
|
-
'UNKNOWN': "
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
70
|
+
'NONE': "none",
|
|
71
|
+
'UNKNOWN': "unknown",
|
|
72
|
+
'1D': "1D",
|
|
73
|
+
'7D': "7D",
|
|
74
|
+
'14D': "14D",
|
|
75
|
+
'30D': "30D",
|
|
76
76
|
},
|
|
77
77
|
('click_attribution_scope',): {
|
|
78
78
|
'None': None,
|
|
@@ -208,7 +208,7 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
208
208
|
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
209
209
|
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
210
210
|
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
211
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "
|
|
211
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
212
212
|
budget (float, none_type): [optional] # noqa: E501
|
|
213
213
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
214
214
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
@@ -314,7 +314,7 @@ class CampaignAttributesV202301(ModelNormal):
|
|
|
314
314
|
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
315
315
|
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
316
316
|
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
317
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "
|
|
317
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
318
318
|
budget (float, none_type): [optional] # noqa: E501
|
|
319
319
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
320
320
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
@@ -74,12 +74,12 @@ class CampaignV202301(ModelNormal):
|
|
|
74
74
|
'UNKNOWN': "unknown",
|
|
75
75
|
},
|
|
76
76
|
('view_attribution_window',): {
|
|
77
|
-
'NONE': "
|
|
78
|
-
'UNKNOWN': "
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
'
|
|
77
|
+
'NONE': "none",
|
|
78
|
+
'UNKNOWN': "unknown",
|
|
79
|
+
'1D': "1D",
|
|
80
|
+
'7D': "7D",
|
|
81
|
+
'14D': "14D",
|
|
82
|
+
'30D': "30D",
|
|
83
83
|
},
|
|
84
84
|
('click_attribution_scope',): {
|
|
85
85
|
'None': None,
|
|
@@ -236,7 +236,7 @@ class CampaignV202301(ModelNormal):
|
|
|
236
236
|
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
237
237
|
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
238
238
|
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
239
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "
|
|
239
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
240
240
|
budget (float, none_type): [optional] # noqa: E501
|
|
241
241
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
242
242
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
@@ -355,7 +355,7 @@ class CampaignV202301(ModelNormal):
|
|
|
355
355
|
type (str): [optional] if omitted the server will use the default value of "auction" # noqa: E501
|
|
356
356
|
drawable_balance_ids ([str]): [optional] # noqa: E501
|
|
357
357
|
click_attribution_window (str): [optional] if omitted the server will use the default value of "30D" # noqa: E501
|
|
358
|
-
view_attribution_window (str): [optional] if omitted the server will use the default value of "
|
|
358
|
+
view_attribution_window (str): [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
359
359
|
budget (float, none_type): [optional] # noqa: E501
|
|
360
360
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
361
361
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
@@ -62,12 +62,12 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
62
62
|
'UNKNOWN': "unknown",
|
|
63
63
|
},
|
|
64
64
|
('view_attribution_window',): {
|
|
65
|
-
'NONE': "
|
|
66
|
-
'UNKNOWN': "
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
65
|
+
'NONE': "none",
|
|
66
|
+
'UNKNOWN': "unknown",
|
|
67
|
+
'1D': "1D",
|
|
68
|
+
'7D': "7D",
|
|
69
|
+
'14D': "14D",
|
|
70
|
+
'30D': "30D",
|
|
71
71
|
},
|
|
72
72
|
('click_attribution_scope',): {
|
|
73
73
|
'None': None,
|
|
@@ -89,7 +89,7 @@ class ExternalCatalogStatus(ModelNormal):
|
|
|
89
89
|
"""
|
|
90
90
|
return {
|
|
91
91
|
'status': (str,), # noqa: E501
|
|
92
|
-
'currency': (str,), # noqa: E501
|
|
92
|
+
'currency': (str, none_type,), # noqa: E501
|
|
93
93
|
'row_count': (int, none_type,), # noqa: E501
|
|
94
94
|
'file_size_bytes': (int, none_type,), # noqa: E501
|
|
95
95
|
'md5_checksum': (str, none_type,), # noqa: E501
|
|
@@ -124,7 +124,7 @@ class ExternalCatalogStatus(ModelNormal):
|
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
126
|
status (str): An enumeration of the status of the catalog.
|
|
127
|
-
currency (str): An ISO4217 representation of the currency products are listed under in this catalog.
|
|
127
|
+
currency (str, none_type): An ISO4217 representation of the currency products are listed under in this catalog.
|
|
128
128
|
row_count (int, none_type): An indication of the number of products contained in this catalog. Available when this catalog reaches a success status.
|
|
129
129
|
file_size_bytes (int, none_type): The size of this catalog in bytes. Available when this catalog reaches a success status.
|
|
130
130
|
md5_checksum (str, none_type): An MD5 checksum of the catalog for use in confirming complete and uncorrupted retrieval. Available when this catalog reaches a success status.
|
|
@@ -225,7 +225,7 @@ class ExternalCatalogStatus(ModelNormal):
|
|
|
225
225
|
|
|
226
226
|
Args:
|
|
227
227
|
status (str): An enumeration of the status of the catalog.
|
|
228
|
-
currency (str): An ISO4217 representation of the currency products are listed under in this catalog.
|
|
228
|
+
currency (str, none_type): An ISO4217 representation of the currency products are listed under in this catalog.
|
|
229
229
|
row_count (int, none_type): An indication of the number of products contained in this catalog. Available when this catalog reaches a success status.
|
|
230
230
|
file_size_bytes (int, none_type): The size of this catalog in bytes. Available when this catalog reaches a success status.
|
|
231
231
|
md5_checksum (str, none_type): An MD5 checksum of the catalog for use in confirming complete and uncorrupted retrieval. Available when this catalog reaches a success status.
|
|
@@ -52,9 +52,9 @@ class LineItemProductStatus(ModelSimple):
|
|
|
52
52
|
|
|
53
53
|
allowed_values = {
|
|
54
54
|
('value',): {
|
|
55
|
-
'UNKNOWN': "
|
|
56
|
-
'ACTIVE': "
|
|
57
|
-
'PAUSED': "
|
|
55
|
+
'UNKNOWN': "unknown",
|
|
56
|
+
'ACTIVE': "active",
|
|
57
|
+
'PAUSED': "paused",
|
|
58
58
|
},
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -106,10 +106,10 @@ class LineItemProductStatus(ModelSimple):
|
|
|
106
106
|
Note that value can be passed either in args or in kwargs, but not in both.
|
|
107
107
|
|
|
108
108
|
Args:
|
|
109
|
-
args[0] (str): The status of a promoted product in the context of the line item.., must be one of ["
|
|
109
|
+
args[0] (str): The status of a promoted product in the context of the line item.., must be one of ["unknown", "active", "paused", ] # noqa: E501
|
|
110
110
|
|
|
111
111
|
Keyword Args:
|
|
112
|
-
value (str): The status of a promoted product in the context of the line item.., must be one of ["
|
|
112
|
+
value (str): The status of a promoted product in the context of the line item.., must be one of ["unknown", "active", "paused", ] # noqa: E501
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
114
114
|
will be type checked and a TypeError will be
|
|
115
115
|
raised if the wrong type is input.
|
|
@@ -200,10 +200,10 @@ class LineItemProductStatus(ModelSimple):
|
|
|
200
200
|
Note that value can be passed either in args or in kwargs, but not in both.
|
|
201
201
|
|
|
202
202
|
Args:
|
|
203
|
-
args[0] (str): The status of a promoted product in the context of the line item.., must be one of ["
|
|
203
|
+
args[0] (str): The status of a promoted product in the context of the line item.., must be one of ["unknown", "active", "paused", ] # noqa: E501
|
|
204
204
|
|
|
205
205
|
Keyword Args:
|
|
206
|
-
value (str): The status of a promoted product in the context of the line item.., must be one of ["
|
|
206
|
+
value (str): The status of a promoted product in the context of the line item.., must be one of ["unknown", "active", "paused", ] # noqa: E501
|
|
207
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
208
208
|
will be type checked and a TypeError will be
|
|
209
209
|
raised if the wrong type is input.
|
|
@@ -86,7 +86,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
86
86
|
return {
|
|
87
87
|
'errors': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
88
88
|
'warnings': ([RmcaCommonProblem], none_type,), # noqa: E501
|
|
89
|
-
'
|
|
89
|
+
'meta': (ProductMetadata,), # noqa: E501
|
|
90
90
|
'data': ([PromotedProductResource], none_type,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
@@ -98,7 +98,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
98
98
|
attribute_map = {
|
|
99
99
|
'errors': 'errors', # noqa: E501
|
|
100
100
|
'warnings': 'warnings', # noqa: E501
|
|
101
|
-
'
|
|
101
|
+
'meta': 'meta', # noqa: E501
|
|
102
102
|
'data': 'data', # noqa: E501
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -147,7 +147,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
148
|
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
149
149
|
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
150
|
-
|
|
150
|
+
meta (ProductMetadata): [optional] # noqa: E501
|
|
151
151
|
data ([PromotedProductResource], none_type): [optional] # noqa: E501
|
|
152
152
|
"""
|
|
153
153
|
|
|
@@ -236,7 +236,7 @@ class PromotedProductResourceCollectionOutcome(ModelNormal):
|
|
|
236
236
|
_visited_composed_classes = (Animal,)
|
|
237
237
|
errors ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
238
238
|
warnings ([RmcaCommonProblem], none_type): [optional] # noqa: E501
|
|
239
|
-
|
|
239
|
+
meta (ProductMetadata): [optional] # noqa: E501
|
|
240
240
|
data ([PromotedProductResource], none_type): [optional] # noqa: E501
|
|
241
241
|
"""
|
|
242
242
|
|
|
@@ -29,6 +29,10 @@ from criteo_api_retailmedia_v2025_01.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes
|
|
34
|
+
globals()['RetailMediaContactlistAmendmentAttributes'] = RetailMediaContactlistAmendmentAttributes
|
|
35
|
+
|
|
32
36
|
|
|
33
37
|
class RetailMediaContactlistAmendment(ModelNormal):
|
|
34
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -55,19 +59,6 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
55
59
|
"""
|
|
56
60
|
|
|
57
61
|
allowed_values = {
|
|
58
|
-
('operation',): {
|
|
59
|
-
'ADD': "add",
|
|
60
|
-
'REMOVE': "remove",
|
|
61
|
-
},
|
|
62
|
-
('identifier_type',): {
|
|
63
|
-
'None': None,
|
|
64
|
-
'EMAIL': "Email",
|
|
65
|
-
'USERIDENTIFIER': "UserIdentifier",
|
|
66
|
-
'IDENTITYLINK': "IdentityLink",
|
|
67
|
-
'GUM': "Gum",
|
|
68
|
-
'CUSTOMERID': "CustomerId",
|
|
69
|
-
'PHONENUMBER': "PhoneNumber",
|
|
70
|
-
},
|
|
71
62
|
}
|
|
72
63
|
|
|
73
64
|
validations = {
|
|
@@ -79,6 +70,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
79
70
|
This must be a method because a model may have properties that are
|
|
80
71
|
of type self, this must run after the class is loaded
|
|
81
72
|
"""
|
|
73
|
+
lazy_import()
|
|
82
74
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
83
75
|
|
|
84
76
|
_nullable = False
|
|
@@ -93,10 +85,10 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
93
85
|
openapi_types (dict): The key is attribute name
|
|
94
86
|
and the value is attribute type.
|
|
95
87
|
"""
|
|
88
|
+
lazy_import()
|
|
96
89
|
return {
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'identifier_type': (str, none_type,), # noqa: E501
|
|
90
|
+
'attributes': (RetailMediaContactlistAmendmentAttributes,), # noqa: E501
|
|
91
|
+
'type': (str, none_type,), # noqa: E501
|
|
100
92
|
}
|
|
101
93
|
|
|
102
94
|
@cached_property
|
|
@@ -105,9 +97,8 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
105
97
|
|
|
106
98
|
|
|
107
99
|
attribute_map = {
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'identifier_type': 'identifierType', # noqa: E501
|
|
100
|
+
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
111
102
|
}
|
|
112
103
|
|
|
113
104
|
read_only_vars = {
|
|
@@ -117,12 +108,11 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
117
108
|
|
|
118
109
|
@classmethod
|
|
119
110
|
@convert_js_args_to_python_args
|
|
120
|
-
def _from_openapi_data(cls,
|
|
111
|
+
def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501
|
|
121
112
|
"""RetailMediaContactlistAmendment - a model defined in OpenAPI
|
|
122
113
|
|
|
123
114
|
Args:
|
|
124
|
-
|
|
125
|
-
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
115
|
+
attributes (RetailMediaContactlistAmendmentAttributes):
|
|
126
116
|
|
|
127
117
|
Keyword Args:
|
|
128
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -155,7 +145,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
155
145
|
Animal class but this time we won't travel
|
|
156
146
|
through its discriminator because we passed in
|
|
157
147
|
_visited_composed_classes = (Animal,)
|
|
158
|
-
|
|
148
|
+
type (str, none_type): User List. [optional] # noqa: E501
|
|
159
149
|
"""
|
|
160
150
|
|
|
161
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -187,8 +177,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
187
177
|
self._configuration = _configuration
|
|
188
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
189
179
|
|
|
190
|
-
self.
|
|
191
|
-
self.identifiers = identifiers
|
|
180
|
+
self.attributes = attributes
|
|
192
181
|
for var_name, var_value in kwargs.items():
|
|
193
182
|
if var_name not in self.attribute_map and \
|
|
194
183
|
self._configuration is not None and \
|
|
@@ -209,12 +198,11 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
209
198
|
])
|
|
210
199
|
|
|
211
200
|
@convert_js_args_to_python_args
|
|
212
|
-
def __init__(self,
|
|
201
|
+
def __init__(self, attributes, *args, **kwargs): # noqa: E501
|
|
213
202
|
"""RetailMediaContactlistAmendment - a model defined in OpenAPI
|
|
214
203
|
|
|
215
204
|
Args:
|
|
216
|
-
|
|
217
|
-
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
205
|
+
attributes (RetailMediaContactlistAmendmentAttributes):
|
|
218
206
|
|
|
219
207
|
Keyword Args:
|
|
220
208
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -247,7 +235,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
247
235
|
Animal class but this time we won't travel
|
|
248
236
|
through its discriminator because we passed in
|
|
249
237
|
_visited_composed_classes = (Animal,)
|
|
250
|
-
|
|
238
|
+
type (str, none_type): User List. [optional] # noqa: E501
|
|
251
239
|
"""
|
|
252
240
|
|
|
253
241
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -277,8 +265,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
277
265
|
self._configuration = _configuration
|
|
278
266
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
279
267
|
|
|
280
|
-
self.
|
|
281
|
-
self.identifiers = identifiers
|
|
268
|
+
self.attributes = attributes
|
|
282
269
|
for var_name, var_value in kwargs.items():
|
|
283
270
|
if var_name not in self.attribute_map and \
|
|
284
271
|
self._configuration is not None and \
|
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class RetailMediaContactlistAmendmentAttributes(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -55,6 +55,19 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
+
('operation',): {
|
|
59
|
+
'ADD': "add",
|
|
60
|
+
'REMOVE': "remove",
|
|
61
|
+
},
|
|
62
|
+
('identifier_type',): {
|
|
63
|
+
'None': None,
|
|
64
|
+
'EMAIL': "Email",
|
|
65
|
+
'USERIDENTIFIER': "UserIdentifier",
|
|
66
|
+
'IDENTITYLINK': "IdentityLink",
|
|
67
|
+
'GUM': "Gum",
|
|
68
|
+
'CUSTOMERID': "CustomerId",
|
|
69
|
+
'PHONENUMBER': "PhoneNumber",
|
|
70
|
+
},
|
|
58
71
|
}
|
|
59
72
|
|
|
60
73
|
validations = {
|
|
@@ -81,13 +94,9 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
81
94
|
and the value is attribute type.
|
|
82
95
|
"""
|
|
83
96
|
return {
|
|
84
|
-
'contact_list_id': (int,), # noqa: E501
|
|
85
97
|
'operation': (str,), # noqa: E501
|
|
86
|
-
'
|
|
98
|
+
'identifiers': ([str],), # noqa: E501
|
|
87
99
|
'identifier_type': (str, none_type,), # noqa: E501
|
|
88
|
-
'nb_invalid_identifiers': (int, none_type,), # noqa: E501
|
|
89
|
-
'nb_valid_identifiers': (int, none_type,), # noqa: E501
|
|
90
|
-
'sample_invalid_identifiers': ([str], none_type,), # noqa: E501
|
|
91
100
|
}
|
|
92
101
|
|
|
93
102
|
@cached_property
|
|
@@ -96,13 +105,9 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
96
105
|
|
|
97
106
|
|
|
98
107
|
attribute_map = {
|
|
99
|
-
'contact_list_id': 'contactListId', # noqa: E501
|
|
100
108
|
'operation': 'operation', # noqa: E501
|
|
101
|
-
'
|
|
109
|
+
'identifiers': 'identifiers', # noqa: E501
|
|
102
110
|
'identifier_type': 'identifierType', # noqa: E501
|
|
103
|
-
'nb_invalid_identifiers': 'nbInvalidIdentifiers', # noqa: E501
|
|
104
|
-
'nb_valid_identifiers': 'nbValidIdentifiers', # noqa: E501
|
|
105
|
-
'sample_invalid_identifiers': 'sampleInvalidIdentifiers', # noqa: E501
|
|
106
111
|
}
|
|
107
112
|
|
|
108
113
|
read_only_vars = {
|
|
@@ -112,13 +117,12 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
112
117
|
|
|
113
118
|
@classmethod
|
|
114
119
|
@convert_js_args_to_python_args
|
|
115
|
-
def _from_openapi_data(cls,
|
|
116
|
-
"""
|
|
120
|
+
def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E501
|
|
121
|
+
"""RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
|
|
117
122
|
|
|
118
123
|
Args:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
request_date (datetime): When the action was recorded
|
|
124
|
+
operation (str): Whether to add or remove users
|
|
125
|
+
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
122
126
|
|
|
123
127
|
Keyword Args:
|
|
124
128
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -151,10 +155,7 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
151
155
|
Animal class but this time we won't travel
|
|
152
156
|
through its discriminator because we passed in
|
|
153
157
|
_visited_composed_classes = (Animal,)
|
|
154
|
-
identifier_type (str, none_type):
|
|
155
|
-
nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
|
|
156
|
-
nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
|
|
157
|
-
sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
|
|
158
|
+
identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
|
|
158
159
|
"""
|
|
159
160
|
|
|
160
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -186,9 +187,8 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
186
187
|
self._configuration = _configuration
|
|
187
188
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
188
189
|
|
|
189
|
-
self.contact_list_id = contact_list_id
|
|
190
190
|
self.operation = operation
|
|
191
|
-
self.
|
|
191
|
+
self.identifiers = identifiers
|
|
192
192
|
for var_name, var_value in kwargs.items():
|
|
193
193
|
if var_name not in self.attribute_map and \
|
|
194
194
|
self._configuration is not None and \
|
|
@@ -209,13 +209,12 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
209
209
|
])
|
|
210
210
|
|
|
211
211
|
@convert_js_args_to_python_args
|
|
212
|
-
def __init__(self,
|
|
213
|
-
"""
|
|
212
|
+
def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501
|
|
213
|
+
"""RetailMediaContactlistAmendmentAttributes - a model defined in OpenAPI
|
|
214
214
|
|
|
215
215
|
Args:
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
request_date (datetime): When the action was recorded
|
|
216
|
+
operation (str): Whether to add or remove users
|
|
217
|
+
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
219
218
|
|
|
220
219
|
Keyword Args:
|
|
221
220
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -248,10 +247,7 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
248
247
|
Animal class but this time we won't travel
|
|
249
248
|
through its discriminator because we passed in
|
|
250
249
|
_visited_composed_classes = (Animal,)
|
|
251
|
-
identifier_type (str, none_type):
|
|
252
|
-
nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
|
|
253
|
-
nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
|
|
254
|
-
sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
|
|
250
|
+
identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
|
|
255
251
|
"""
|
|
256
252
|
|
|
257
253
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -281,9 +277,8 @@ class RetailMediaContactlistOperationResponseAttributesAttributes(ModelNormal):
|
|
|
281
277
|
self._configuration = _configuration
|
|
282
278
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
283
279
|
|
|
284
|
-
self.contact_list_id = contact_list_id
|
|
285
280
|
self.operation = operation
|
|
286
|
-
self.
|
|
281
|
+
self.identifiers = identifiers
|
|
287
282
|
for var_name, var_value in kwargs.items():
|
|
288
283
|
if var_name not in self.attribute_map and \
|
|
289
284
|
self._configuration is not None and \
|
|
@@ -94,6 +94,7 @@ class RetailMediaContactlistOperation(ModelNormal):
|
|
|
94
94
|
'data': (RetailMediaContactlistOperationResponseAttributes,), # noqa: E501
|
|
95
95
|
'errors': ([AudienceError],), # noqa: E501
|
|
96
96
|
'warnings': ([AudienceWarning],), # noqa: E501
|
|
97
|
+
'type': (str, none_type,), # noqa: E501
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
@cached_property
|
|
@@ -105,6 +106,7 @@ class RetailMediaContactlistOperation(ModelNormal):
|
|
|
105
106
|
'data': 'data', # noqa: E501
|
|
106
107
|
'errors': 'errors', # noqa: E501
|
|
107
108
|
'warnings': 'warnings', # noqa: E501
|
|
109
|
+
'type': 'type', # noqa: E501
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
read_only_vars = {
|
|
@@ -153,6 +155,7 @@ class RetailMediaContactlistOperation(ModelNormal):
|
|
|
153
155
|
Animal class but this time we won't travel
|
|
154
156
|
through its discriminator because we passed in
|
|
155
157
|
_visited_composed_classes = (Animal,)
|
|
158
|
+
type (str, none_type): the name of the entity type. [optional] # noqa: E501
|
|
156
159
|
"""
|
|
157
160
|
|
|
158
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -246,6 +249,7 @@ class RetailMediaContactlistOperation(ModelNormal):
|
|
|
246
249
|
Animal class but this time we won't travel
|
|
247
250
|
through its discriminator because we passed in
|
|
248
251
|
_visited_composed_classes = (Animal,)
|
|
252
|
+
type (str, none_type): the name of the entity type. [optional] # noqa: E501
|
|
249
253
|
"""
|
|
250
254
|
|
|
251
255
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation_response_attributes.py
CHANGED
|
@@ -29,10 +29,6 @@ from criteo_api_retailmedia_v2025_01.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_operation_response_attributes_attributes import RetailMediaContactlistOperationResponseAttributesAttributes
|
|
34
|
-
globals()['RetailMediaContactlistOperationResponseAttributesAttributes'] = RetailMediaContactlistOperationResponseAttributesAttributes
|
|
35
|
-
|
|
36
32
|
|
|
37
33
|
class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -70,7 +66,6 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
70
66
|
This must be a method because a model may have properties that are
|
|
71
67
|
of type self, this must run after the class is loaded
|
|
72
68
|
"""
|
|
73
|
-
lazy_import()
|
|
74
69
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
70
|
|
|
76
71
|
_nullable = False
|
|
@@ -85,10 +80,14 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
85
80
|
openapi_types (dict): The key is attribute name
|
|
86
81
|
and the value is attribute type.
|
|
87
82
|
"""
|
|
88
|
-
lazy_import()
|
|
89
83
|
return {
|
|
90
|
-
'
|
|
91
|
-
'
|
|
84
|
+
'contact_list_id': (int,), # noqa: E501
|
|
85
|
+
'operation': (str,), # noqa: E501
|
|
86
|
+
'request_date': (datetime,), # noqa: E501
|
|
87
|
+
'identifier_type': (str, none_type,), # noqa: E501
|
|
88
|
+
'nb_invalid_identifiers': (int, none_type,), # noqa: E501
|
|
89
|
+
'nb_valid_identifiers': (int, none_type,), # noqa: E501
|
|
90
|
+
'sample_invalid_identifiers': ([str], none_type,), # noqa: E501
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
@cached_property
|
|
@@ -97,8 +96,13 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
97
96
|
|
|
98
97
|
|
|
99
98
|
attribute_map = {
|
|
100
|
-
'
|
|
101
|
-
'
|
|
99
|
+
'contact_list_id': 'contactListId', # noqa: E501
|
|
100
|
+
'operation': 'operation', # noqa: E501
|
|
101
|
+
'request_date': 'requestDate', # noqa: E501
|
|
102
|
+
'identifier_type': 'identifierType', # noqa: E501
|
|
103
|
+
'nb_invalid_identifiers': 'nbInvalidIdentifiers', # noqa: E501
|
|
104
|
+
'nb_valid_identifiers': 'nbValidIdentifiers', # noqa: E501
|
|
105
|
+
'sample_invalid_identifiers': 'sampleInvalidIdentifiers', # noqa: E501
|
|
102
106
|
}
|
|
103
107
|
|
|
104
108
|
read_only_vars = {
|
|
@@ -108,12 +112,13 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
108
112
|
|
|
109
113
|
@classmethod
|
|
110
114
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
115
|
+
def _from_openapi_data(cls, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501
|
|
112
116
|
"""RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI
|
|
113
117
|
|
|
114
118
|
Args:
|
|
115
|
-
|
|
116
|
-
|
|
119
|
+
contact_list_id (int): The affected user list id
|
|
120
|
+
operation (str): The action recorded
|
|
121
|
+
request_date (datetime): When the action was recorded
|
|
117
122
|
|
|
118
123
|
Keyword Args:
|
|
119
124
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -146,6 +151,10 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
146
151
|
Animal class but this time we won't travel
|
|
147
152
|
through its discriminator because we passed in
|
|
148
153
|
_visited_composed_classes = (Animal,)
|
|
154
|
+
identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501
|
|
155
|
+
nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
|
|
156
|
+
nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
|
|
157
|
+
sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
|
|
149
158
|
"""
|
|
150
159
|
|
|
151
160
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,8 +186,9 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
177
186
|
self._configuration = _configuration
|
|
178
187
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
188
|
|
|
180
|
-
self.
|
|
181
|
-
self.
|
|
189
|
+
self.contact_list_id = contact_list_id
|
|
190
|
+
self.operation = operation
|
|
191
|
+
self.request_date = request_date
|
|
182
192
|
for var_name, var_value in kwargs.items():
|
|
183
193
|
if var_name not in self.attribute_map and \
|
|
184
194
|
self._configuration is not None and \
|
|
@@ -199,12 +209,13 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
199
209
|
])
|
|
200
210
|
|
|
201
211
|
@convert_js_args_to_python_args
|
|
202
|
-
def __init__(self,
|
|
212
|
+
def __init__(self, contact_list_id, operation, request_date, *args, **kwargs): # noqa: E501
|
|
203
213
|
"""RetailMediaContactlistOperationResponseAttributes - a model defined in OpenAPI
|
|
204
214
|
|
|
205
215
|
Args:
|
|
206
|
-
|
|
207
|
-
|
|
216
|
+
contact_list_id (int): The affected user list id
|
|
217
|
+
operation (str): The action recorded
|
|
218
|
+
request_date (datetime): When the action was recorded
|
|
208
219
|
|
|
209
220
|
Keyword Args:
|
|
210
221
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -237,6 +248,10 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
237
248
|
Animal class but this time we won't travel
|
|
238
249
|
through its discriminator because we passed in
|
|
239
250
|
_visited_composed_classes = (Animal,)
|
|
251
|
+
identifier_type (str, none_type): The schema specified for of the identifiers. [optional] # noqa: E501
|
|
252
|
+
nb_invalid_identifiers (int, none_type): How many identifiers were invalid for the specified schema. [optional] # noqa: E501
|
|
253
|
+
nb_valid_identifiers (int, none_type): How many identifiers were valid for the specified schema. [optional] # noqa: E501
|
|
254
|
+
sample_invalid_identifiers ([str], none_type): A sample of invalid identifiers if there is some. [optional] # noqa: E501
|
|
240
255
|
"""
|
|
241
256
|
|
|
242
257
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -266,8 +281,9 @@ class RetailMediaContactlistOperationResponseAttributes(ModelNormal):
|
|
|
266
281
|
self._configuration = _configuration
|
|
267
282
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
268
283
|
|
|
269
|
-
self.
|
|
270
|
-
self.
|
|
284
|
+
self.contact_list_id = contact_list_id
|
|
285
|
+
self.operation = operation
|
|
286
|
+
self.request_date = request_date
|
|
271
287
|
for var_name, var_value in kwargs.items():
|
|
272
288
|
if var_name not in self.attribute_map and \
|
|
273
289
|
self._configuration is not None and \
|
|
@@ -195,10 +195,10 @@ from criteo_api_retailmedia_v2025_01.model.resource_of_template import ResourceO
|
|
|
195
195
|
from criteo_api_retailmedia_v2025_01.model.resource_of_update_balance_model_v2 import ResourceOfUpdateBalanceModelV2
|
|
196
196
|
from criteo_api_retailmedia_v2025_01.model.resource_outcome import ResourceOutcome
|
|
197
197
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment import RetailMediaContactlistAmendment
|
|
198
|
+
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes
|
|
198
199
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest
|
|
199
200
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_operation import RetailMediaContactlistOperation
|
|
200
201
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_operation_response_attributes import RetailMediaContactlistOperationResponseAttributes
|
|
201
|
-
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_operation_response_attributes_attributes import RetailMediaContactlistOperationResponseAttributesAttributes
|
|
202
202
|
from criteo_api_retailmedia_v2025_01.model.review_state_model import ReviewStateModel
|
|
203
203
|
from criteo_api_retailmedia_v2025_01.model.rm_algebra_node_v1 import RmAlgebraNodeV1
|
|
204
204
|
from criteo_api_retailmedia_v2025_01.model.rm_audience_entity_v1 import RmAudienceEntityV1
|
|
File without changes
|