criteo-api-marketingsolutions-sdk 2024.10.0.241029__py3-none-any.whl → 2025.1.0.250129__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.

Files changed (277) hide show
  1. {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250129.dist-info}/METADATA +15 -6
  2. criteo_api_marketingsolutions_sdk-2025.1.0.250129.dist-info/RECORD +269 -0
  3. {criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250129.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_sdk-2025.1.0.250129.dist-info/top_level.txt +1 -0
  5. criteo_api_marketingsolutions_v2025_01/__init__.py +31 -0
  6. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/__init__.py +1 -1
  7. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/advertiser_api.py +5 -5
  8. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/analytics_api.py +13 -13
  9. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/audience_api.py +75 -75
  10. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/campaign_api.py +40 -40
  11. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/creative_api.py +109 -109
  12. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api/gateway_api.py +5 -5
  13. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api_client.py +6 -6
  14. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/api_client_builder.py +3 -3
  15. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/apis/__init__.py +7 -7
  16. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/configuration.py +5 -5
  17. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/criteo_api_client.py +2 -2
  18. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/criteo_auth.py +3 -3
  19. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/criteo_rest.py +3 -3
  20. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/exceptions.py +1 -1
  21. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/__init__.py +1 -1
  22. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad.py +3 -3
  23. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_audience_link_entity_v1.py +3 -3
  24. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_audience_link_entity_v1_resource.py +4 -4
  25. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_audience_link_entity_v1_response.py +5 -5
  26. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_audience_link_input_entity_v1.py +4 -4
  27. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_category_bid.py +3 -3
  28. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_category_bid_list_response.py +5 -5
  29. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_category_bid_resource.py +4 -4
  30. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_delivery_limitations_v24_q1.py +3 -3
  31. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_display_multiplier.py +3 -3
  32. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_display_multiplier_list_response.py +5 -5
  33. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_display_multiplier_resource.py +4 -4
  34. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_frequency_capping_v24_q1.py +3 -3
  35. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_geo_location_v24_q1.py +4 -4
  36. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_search_filter_v24_q1.py +3 -3
  37. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_search_request_v24_q1.py +4 -4
  38. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_targeting_rule_v24_q1.py +3 -3
  39. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_set_targeting_v24_q1.py +6 -6
  40. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/ad_write.py +3 -3
  41. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/adaptive_attributes.py +7 -17
  42. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/adaptive_colors.py +3 -3
  43. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/adaptive_write_attributes.py +5 -9
  44. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/algebra_node_v1.py +3 -3
  45. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/application_summary_model.py +3 -3
  46. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/application_summary_model_resource.py +4 -4
  47. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/application_summary_model_response.py +5 -5
  48. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_bulk_create_input_v1.py +4 -4
  49. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_bulk_delete_input_v1.py +4 -4
  50. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_bulk_update_input_v1.py +4 -4
  51. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_compute_size_entity_v1_resource.py +3 -3
  52. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_compute_sizes_input_v1.py +4 -4
  53. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_create_entity_v1.py +4 -4
  54. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_create_entity_v1_resource.py +4 -4
  55. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_delete_entity_v1_resource.py +3 -3
  56. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_entity_v1.py +4 -4
  57. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +6 -6
  58. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_entity_v1_list_response.py +5 -5
  59. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_entity_v1_resource.py +4 -4
  60. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_error.py +3 -3
  61. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_estimate_size_entity_v1.py +4 -4
  62. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_estimate_size_entity_v1_resource.py +4 -4
  63. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_estimate_size_input_v1.py +4 -4
  64. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_id_entity_v1_list_response.py +5 -5
  65. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_id_entity_v1_resource.py +3 -3
  66. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_name_description.py +3 -3
  67. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_search_entity_v1.py +3 -3
  68. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_search_entity_v1_resource.py +4 -4
  69. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_search_input_v1.py +4 -4
  70. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_search_metadata_v1.py +3 -3
  71. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_bulk_create_input_v1.py +4 -4
  72. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_bulk_delete_input_v1.py +4 -4
  73. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_bulk_update_input_v1.py +4 -4
  74. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_compute_size_entity_v1_resource.py +3 -3
  75. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_compute_sizes_input_v1.py +4 -4
  76. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_create_entity_v1.py +8 -8
  77. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_create_entity_v1_resource.py +4 -4
  78. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_delete_entity_v1_resource.py +3 -3
  79. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_entity_v1.py +10 -10
  80. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +6 -6
  81. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_entity_v1_list_response.py +5 -5
  82. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_entity_v1_resource.py +4 -4
  83. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_estimate_size_input_v1.py +4 -4
  84. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_id_entity_v1_list_response.py +5 -5
  85. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_id_entity_v1_resource.py +3 -3
  86. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_search_entity_v1.py +3 -3
  87. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_search_entity_v1_resource.py +4 -4
  88. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_search_input_v1.py +4 -4
  89. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_search_metadata_v1.py +3 -3
  90. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_entity_v1.py +3 -3
  91. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_entity_v1_list_response.py +5 -5
  92. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_entity_v1_resource.py +4 -4
  93. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_estimation_entity_v1.py +5 -5
  94. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
  95. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_estimation_v1.py +3 -3
  96. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_estimation_v1_resource.py +4 -4
  97. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_size_estimation_v1_response.py +5 -5
  98. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_update_entity_v1.py +9 -9
  99. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_segment_update_entity_v1_resource.py +4 -4
  100. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_size_entity_v1.py +3 -3
  101. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_size_entity_v1_list_response.py +5 -5
  102. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_size_entity_v1_resource.py +4 -4
  103. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_size_estimation_v1.py +3 -3
  104. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_size_estimation_v1_resource.py +4 -4
  105. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_size_estimation_v1_response.py +5 -5
  106. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_update_entity_v1.py +5 -5
  107. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_update_entity_v1_resource.py +4 -4
  108. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/audience_warning.py +3 -3
  109. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/basic_audience_definition.py +4 -4
  110. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/behavioral_v1.py +3 -3
  111. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_search_filters_v23_q1.py +3 -3
  112. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_search_request_v23_q1.py +4 -4
  113. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_spend_limit_v23_q1.py +4 -4
  114. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_v23_q1.py +4 -4
  115. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_v23_q1_list_response.py +5 -5
  116. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_v23_q1_resource.py +4 -4
  117. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/campaign_v23_q1_response.py +5 -5
  118. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/common_problem.py +3 -3
  119. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contact_list_statistics_entity_v1.py +3 -3
  120. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contact_list_statistics_entity_v1_resource.py +4 -4
  121. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contact_list_statistics_entity_v1_response.py +5 -5
  122. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contact_list_v1.py +3 -3
  123. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contactlist_amendment.py +4 -4
  124. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contactlist_amendment_attributes.py +3 -3
  125. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contactlist_amendment_request.py +4 -4
  126. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contactlist_operation.py +4 -4
  127. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/contactlist_operation_attributes.py +3 -3
  128. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/coupon.py +4 -6
  129. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/coupon_supported_sizes.py +3 -7
  130. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_bidding_v24_q1.py +3 -3
  131. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_budget_v24_q1.py +3 -3
  132. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_geo_location_v24_q1.py +4 -4
  133. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_schedule_v24_q1.py +3 -3
  134. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_targeting_v24_q1.py +6 -6
  135. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_v24_q1.py +7 -7
  136. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_v24_q1_request.py +4 -4
  137. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_ad_set_v24_q1_resource.py +4 -4
  138. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_campaign.py +4 -4
  139. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_campaign_request.py +4 -4
  140. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_campaign_resource.py +4 -4
  141. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_campaign_spend_limit.py +3 -3
  142. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_coupon.py +4 -6
  143. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/create_image_slide.py +3 -5
  144. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/creative.py +7 -7
  145. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/creative_write.py +7 -7
  146. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/criteo_api_error.py +3 -3
  147. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/criteo_api_warning.py +3 -3
  148. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/delete_audience_contact_list_response.py +6 -6
  149. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/dynamic_attributes.py +4 -8
  150. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/dynamic_write_attributes.py +9 -9
  151. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/entity_of_portfolio_message.py +4 -4
  152. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/error_code_response.py +5 -5
  153. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/get_portfolio_response.py +6 -6
  154. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/html_tag_attributes.py +4 -6
  155. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/html_tag_write_attributes.py +4 -6
  156. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/image_attributes.py +3 -5
  157. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/image_set.py +4 -6
  158. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/image_set_base64.py +3 -3
  159. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/image_shape.py +3 -3
  160. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/image_slide.py +3 -5
  161. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/image_write_attributes.py +3 -3
  162. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_audience_segment_brand_entity_v1.py +3 -3
  163. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
  164. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_audience_segment_brand_entity_v1_resource.py +4 -4
  165. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_audience_segment_interest_entity_v1.py +3 -3
  166. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
  167. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_audience_segment_interest_entity_v1_resource.py +4 -4
  168. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_create_v1.py +3 -3
  169. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_size_estimation_v1.py +3 -3
  170. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_update_v1.py +4 -4
  171. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/in_market_v1.py +3 -3
  172. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/location_create_v1.py +4 -4
  173. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/location_size_estimation_v1.py +4 -4
  174. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/location_update_v1.py +4 -4
  175. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/location_v1.py +4 -4
  176. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/lookalike_create_v1.py +3 -3
  177. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/lookalike_update_v1.py +3 -3
  178. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/lookalike_v1.py +3 -3
  179. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/modify_audience_response.py +6 -6
  180. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_ad_set_targeting_rule_v24_q1.py +4 -4
  181. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_ad_set_targeting_rule_v24_q1_value.py +4 -4
  182. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_date_time.py +3 -3
  183. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_decimal.py +3 -3
  184. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_gender_v1.py +3 -3
  185. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_int32.py +3 -3
  186. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/nillable_string.py +3 -3
  187. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/outcome.py +4 -4
  188. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_bidding_v24_q1.py +4 -4
  189. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_budget_v24_q1.py +4 -4
  190. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_category_bid.py +3 -3
  191. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_category_bid_list_request.py +4 -4
  192. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_category_bid_resource.py +4 -4
  193. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_category_bid_result_list_response.py +5 -5
  194. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_category_bid_result_resource.py +3 -3
  195. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_display_multiplier.py +3 -3
  196. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_display_multiplier_list_request.py +4 -4
  197. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_display_multiplier_resource.py +4 -4
  198. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
  199. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_display_multiplier_result_resource.py +3 -3
  200. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_scheduling_v24_q1.py +4 -4
  201. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_ad_set_v24_q1.py +7 -7
  202. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_campaign.py +4 -4
  203. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_campaign_list_request.py +4 -4
  204. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_campaign_spend_limit.py +4 -4
  205. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_campaign_write_resource.py +4 -4
  206. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_result_campaign_list_response.py +5 -5
  207. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/patch_result_campaign_read_resource.py +3 -3
  208. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/placements_report_query_message.py +3 -3
  209. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/placements_report_query_message_list_request.py +4 -4
  210. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/placements_report_query_message_resource.py +4 -4
  211. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/point_of_interest_v1.py +3 -3
  212. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/portfolio_message.py +3 -3
  213. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/prospecting_create_v1.py +3 -3
  214. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/prospecting_update_v1.py +4 -4
  215. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/prospecting_v1.py +3 -3
  216. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_ad_set_bidding_v24_q1.py +3 -3
  217. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_ad_set_budget_v24_q1.py +3 -3
  218. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_ad_set_schedule_v24_q1.py +4 -4
  219. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_ad_set_v24_q1.py +7 -7
  220. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_model_ad_set_id.py +3 -3
  221. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_model_ad_set_id_v24_q1.py +3 -3
  222. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/read_model_read_ad_set_v24_q1.py +4 -4
  223. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/requests_ad_set_id.py +4 -4
  224. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/requests_patch_ad_set_v24_q1.py +4 -4
  225. criteo_api_marketingsolutions_v2024_10/model/creative_response.py → criteo_api_marketingsolutions_v2025_01/model/resource_collection_outcome_of_ad.py +12 -16
  226. criteo_api_marketingsolutions_v2025_01/model/resource_collection_outcome_of_coupon.py +281 -0
  227. criteo_api_marketingsolutions_v2024_10/model/ad_list_response.py → criteo_api_marketingsolutions_v2025_01/model/resource_collection_outcome_of_creative.py +12 -18
  228. criteo_api_marketingsolutions_v2024_10/model/ad_write_request.py → criteo_api_marketingsolutions_v2025_01/model/resource_input_of_ad_write.py +11 -11
  229. criteo_api_marketingsolutions_v2024_10/model/creative_write_request.py → criteo_api_marketingsolutions_v2025_01/model/resource_input_of_create_coupon.py +11 -11
  230. criteo_api_marketingsolutions_v2025_01/model/resource_input_of_creative_write.py +269 -0
  231. criteo_api_marketingsolutions_v2024_10/model/create_coupon_request.py → criteo_api_marketingsolutions_v2025_01/model/resource_input_of_update_coupon.py +11 -11
  232. criteo_api_marketingsolutions_v2024_10/model/ad_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_ad.py +9 -9
  233. criteo_api_marketingsolutions_v2024_10/model/ad_write_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_ad_write.py +9 -9
  234. criteo_api_marketingsolutions_v2024_10/model/coupon_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_coupon.py +9 -9
  235. criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_coupon_supported_sizes.py +9 -9
  236. criteo_api_marketingsolutions_v2024_10/model/create_coupon_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_create_coupon.py +9 -9
  237. criteo_api_marketingsolutions_v2024_10/model/creative_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_creative.py +9 -9
  238. criteo_api_marketingsolutions_v2024_10/model/creative_write_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_creative_write.py +9 -9
  239. criteo_api_marketingsolutions_v2024_10/model/update_coupon_resource.py → criteo_api_marketingsolutions_v2025_01/model/resource_of_update_coupon.py +9 -9
  240. criteo_api_marketingsolutions_v2024_10/model/ad_response.py → criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_ad.py +12 -16
  241. criteo_api_marketingsolutions_v2024_10/model/coupon_response.py → criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_coupon.py +12 -16
  242. criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_coupon_supported_sizes.py +281 -0
  243. criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_creative.py +281 -0
  244. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/response_read_ad_set_v24_q1.py +5 -5
  245. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/responses_ad_set_id.py +5 -5
  246. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/responses_ad_set_id_v24_q1.py +5 -5
  247. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/responses_read_ad_set_v24_q1.py +5 -5
  248. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/retargeting_create_v1.py +3 -3
  249. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/retargeting_update_v1.py +3 -3
  250. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/retargeting_v1.py +3 -3
  251. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/size.py +3 -3
  252. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/statistics_report_query_message.py +3 -3
  253. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/tag.py +4 -4
  254. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transactions_report_query_message.py +3 -3
  255. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transactions_report_query_message_list_request.py +4 -4
  256. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transactions_report_query_message_resource.py +4 -4
  257. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transparency_query_message.py +3 -3
  258. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transparency_report.py +4 -4
  259. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transparency_report_file.py +3 -3
  260. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transparency_report_list_response.py +5 -5
  261. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/transparency_report_resource.py +4 -4
  262. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/update_coupon.py +3 -3
  263. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/video_detail.py +3 -3
  264. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/write_model_ad_set_id.py +3 -3
  265. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model/write_model_patch_ad_set_v24_q1.py +4 -4
  266. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/model_utils.py +2 -2
  267. criteo_api_marketingsolutions_v2025_01/models/__init__.py +255 -0
  268. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/rest.py +2 -2
  269. criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info/RECORD +0 -269
  270. criteo_api_marketingsolutions_sdk-2024.10.0.241029.dist-info/top_level.txt +0 -1
  271. criteo_api_marketingsolutions_v2024_10/__init__.py +0 -31
  272. criteo_api_marketingsolutions_v2024_10/model/coupon_list_response.py +0 -287
  273. criteo_api_marketingsolutions_v2024_10/model/coupon_supported_sizes_response.py +0 -285
  274. criteo_api_marketingsolutions_v2024_10/model/creative_list_response.py +0 -287
  275. criteo_api_marketingsolutions_v2024_10/model/update_coupon_request.py +0 -269
  276. criteo_api_marketingsolutions_v2024_10/models/__init__.py +0 -255
  277. {criteo_api_marketingsolutions_v2024_10 → criteo_api_marketingsolutions_v2025_01}/flow_constants.py +0 -0
@@ -1,287 +0,0 @@
1
- """
2
- Criteo API
3
-
4
- Criteo API - MarketingSolutions # noqa: E501
5
-
6
- The version of the OpenAPI document: 2024-10
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_v2024_10.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_v2024_10.exceptions import ApiAttributeError
30
-
31
-
32
- def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_10.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_v2024_10.model.creative_resource import CreativeResource
35
- globals()['CommonProblem'] = CommonProblem
36
- globals()['CreativeResource'] = CreativeResource
37
-
38
-
39
- class CreativeListResponse(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
- ('data',): {
68
- },
69
- ('warnings',): {
70
- },
71
- ('errors',): {
72
- },
73
- }
74
-
75
- @cached_property
76
- def additional_properties_type():
77
- """
78
- This must be a method because a model may have properties that are
79
- of type self, this must run after the class is loaded
80
- """
81
- lazy_import()
82
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
83
-
84
- _nullable = False
85
-
86
- @cached_property
87
- def openapi_types():
88
- """
89
- This must be a method because a model may have properties that are
90
- of type self, this must run after the class is loaded
91
-
92
- Returns
93
- openapi_types (dict): The key is attribute name
94
- and the value is attribute type.
95
- """
96
- lazy_import()
97
- return {
98
- 'data': ([CreativeResource], none_type,), # noqa: E501
99
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
100
- 'errors': ([CommonProblem], none_type,), # noqa: E501
101
- }
102
-
103
- @cached_property
104
- def discriminator():
105
- return None
106
-
107
-
108
- attribute_map = {
109
- 'data': 'data', # noqa: E501
110
- 'warnings': 'warnings', # noqa: E501
111
- 'errors': 'errors', # noqa: E501
112
- }
113
-
114
- read_only_vars = {
115
- 'warnings', # noqa: E501
116
- 'errors', # noqa: E501
117
- }
118
-
119
- _composed_schemas = {}
120
-
121
- @classmethod
122
- @convert_js_args_to_python_args
123
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
124
- """CreativeListResponse - a model defined in OpenAPI
125
-
126
- Keyword Args:
127
- _check_type (bool): if True, values for parameters in openapi_types
128
- will be type checked and a TypeError will be
129
- raised if the wrong type is input.
130
- Defaults to True
131
- _path_to_item (tuple/list): This is a list of keys or values to
132
- drill down to the model in received_data
133
- when deserializing a response
134
- _spec_property_naming (bool): True if the variable names in the input data
135
- are serialized names, as specified in the OpenAPI document.
136
- False if the variable names in the input data
137
- are pythonic names, e.g. snake case (default)
138
- _configuration (Configuration): the instance to use when
139
- deserializing a file_type parameter.
140
- If passed, type conversion is attempted
141
- If omitted no type conversion is done.
142
- _visited_composed_classes (tuple): This stores a tuple of
143
- classes that we have traveled through so that
144
- if we see that class again we will not use its
145
- discriminator again.
146
- When traveling through a discriminator, the
147
- composed schema that is
148
- is traveled through is added to this set.
149
- For example if Animal has a discriminator
150
- petType and we pass in "Dog", and the class Dog
151
- allOf includes Animal, we move through Animal
152
- once using the discriminator, and pick Dog.
153
- Then in Dog, we will make an instance of the
154
- Animal class but this time we won't travel
155
- through its discriminator because we passed in
156
- _visited_composed_classes = (Animal,)
157
- data ([CreativeResource], none_type): [optional] # noqa: E501
158
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
159
- errors ([CommonProblem], none_type): [optional] # noqa: E501
160
- """
161
-
162
- _check_type = kwargs.pop('_check_type', True)
163
- _spec_property_naming = kwargs.pop('_spec_property_naming', True)
164
- _path_to_item = kwargs.pop('_path_to_item', ())
165
- _configuration = kwargs.pop('_configuration', None)
166
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
167
-
168
- self = super(OpenApiModel, cls).__new__(cls)
169
-
170
- if args:
171
- for arg in args:
172
- if isinstance(arg, dict):
173
- kwargs.update(arg)
174
- else:
175
- raise ApiTypeError(
176
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
177
- args,
178
- self.__class__.__name__,
179
- ),
180
- path_to_item=_path_to_item,
181
- valid_classes=(self.__class__,),
182
- )
183
-
184
- self._data_store = {}
185
- self._check_type = _check_type
186
- self._spec_property_naming = _spec_property_naming
187
- self._path_to_item = _path_to_item
188
- self._configuration = _configuration
189
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
190
-
191
- for var_name, var_value in kwargs.items():
192
- if var_name not in self.attribute_map and \
193
- self._configuration is not None and \
194
- self._configuration.discard_unknown_keys and \
195
- self.additional_properties_type is None:
196
- # discard variable.
197
- continue
198
- setattr(self, var_name, var_value)
199
- return self
200
-
201
- required_properties = set([
202
- '_data_store',
203
- '_check_type',
204
- '_spec_property_naming',
205
- '_path_to_item',
206
- '_configuration',
207
- '_visited_composed_classes',
208
- ])
209
-
210
- @convert_js_args_to_python_args
211
- def __init__(self, *args, **kwargs): # noqa: E501
212
- """CreativeListResponse - a model defined in OpenAPI
213
-
214
- Keyword Args:
215
- _check_type (bool): if True, values for parameters in openapi_types
216
- will be type checked and a TypeError will be
217
- raised if the wrong type is input.
218
- Defaults to True
219
- _path_to_item (tuple/list): This is a list of keys or values to
220
- drill down to the model in received_data
221
- when deserializing a response
222
- _spec_property_naming (bool): True if the variable names in the input data
223
- are serialized names, as specified in the OpenAPI document.
224
- False if the variable names in the input data
225
- are pythonic names, e.g. snake case (default)
226
- _configuration (Configuration): the instance to use when
227
- deserializing a file_type parameter.
228
- If passed, type conversion is attempted
229
- If omitted no type conversion is done.
230
- _visited_composed_classes (tuple): This stores a tuple of
231
- classes that we have traveled through so that
232
- if we see that class again we will not use its
233
- discriminator again.
234
- When traveling through a discriminator, the
235
- composed schema that is
236
- is traveled through is added to this set.
237
- For example if Animal has a discriminator
238
- petType and we pass in "Dog", and the class Dog
239
- allOf includes Animal, we move through Animal
240
- once using the discriminator, and pick Dog.
241
- Then in Dog, we will make an instance of the
242
- Animal class but this time we won't travel
243
- through its discriminator because we passed in
244
- _visited_composed_classes = (Animal,)
245
- data ([CreativeResource], none_type): [optional] # noqa: E501
246
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
247
- errors ([CommonProblem], none_type): [optional] # noqa: E501
248
- """
249
-
250
- _check_type = kwargs.pop('_check_type', True)
251
- _spec_property_naming = kwargs.pop('_spec_property_naming', False)
252
- _path_to_item = kwargs.pop('_path_to_item', ())
253
- _configuration = kwargs.pop('_configuration', None)
254
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
255
-
256
- if args:
257
- for arg in args:
258
- if isinstance(arg, dict):
259
- kwargs.update(arg)
260
- else:
261
- raise ApiTypeError(
262
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
263
- args,
264
- self.__class__.__name__,
265
- ),
266
- path_to_item=_path_to_item,
267
- valid_classes=(self.__class__,),
268
- )
269
-
270
- self._data_store = {}
271
- self._check_type = _check_type
272
- self._spec_property_naming = _spec_property_naming
273
- self._path_to_item = _path_to_item
274
- self._configuration = _configuration
275
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
276
-
277
- for var_name, var_value in kwargs.items():
278
- if var_name not in self.attribute_map and \
279
- self._configuration is not None and \
280
- self._configuration.discard_unknown_keys and \
281
- self.additional_properties_type is None:
282
- # discard variable.
283
- continue
284
- setattr(self, var_name, var_value)
285
- if var_name in self.read_only_vars:
286
- raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
287
- f"class with read only attributes.")
@@ -1,269 +0,0 @@
1
- """
2
- Criteo API
3
-
4
- Criteo API - MarketingSolutions # noqa: E501
5
-
6
- The version of the OpenAPI document: 2024-10
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_v2024_10.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_v2024_10.exceptions import ApiAttributeError
30
-
31
-
32
- def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_10.model.update_coupon_resource import UpdateCouponResource
34
- globals()['UpdateCouponResource'] = UpdateCouponResource
35
-
36
-
37
- class UpdateCouponRequest(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': (UpdateCouponResource,), # 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
- """UpdateCouponRequest - 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 (UpdateCouponResource): [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
- """UpdateCouponRequest - 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 (UpdateCouponResource): [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.")