criteo-api-retailmedia-sdk 2025.1.0.250327__py3-none-any.whl → 2025.1.0.250425__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.

Files changed (168) hide show
  1. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/RECORD +168 -168
  3. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2025_01/__init__.py +1 -1
  5. criteo_api_retailmedia_v2025_01/api/analytics_api.py +2 -2
  6. criteo_api_retailmedia_v2025_01/api/balance_api.py +12 -12
  7. criteo_api_retailmedia_v2025_01/api/campaign_api.py +30 -30
  8. criteo_api_retailmedia_v2025_01/api_client.py +1 -1
  9. criteo_api_retailmedia_v2025_01/configuration.py +1 -1
  10. criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +4 -4
  11. criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
  12. criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
  13. criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +5 -5
  14. criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
  15. criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
  16. criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
  17. criteo_api_retailmedia_v2025_01/model/asset_response.py +7 -7
  18. criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +79 -79
  19. criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
  20. criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +79 -79
  21. criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
  22. criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
  23. criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +104 -104
  24. criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
  25. criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +9 -9
  26. criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +5 -5
  27. criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
  28. criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +5 -5
  29. criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
  30. criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +9 -9
  31. criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
  32. criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
  33. criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
  34. criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +57 -57
  35. criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
  36. criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +82 -82
  37. criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
  38. criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
  39. criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +4 -4
  40. criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
  41. criteo_api_retailmedia_v2025_01/model/common_error.py +16 -16
  42. criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +9 -9
  43. criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +5 -5
  44. criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
  45. criteo_api_retailmedia_v2025_01/model/common_warning.py +16 -16
  46. criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +12 -12
  47. criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
  48. criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
  49. criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
  50. criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
  51. criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
  52. criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
  53. criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
  54. criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
  55. criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +32 -32
  56. criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
  57. criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
  58. criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
  59. criteo_api_retailmedia_v2025_01/model/external_add_to_basket_ids_update_model202110.py +4 -4
  60. criteo_api_retailmedia_v2025_01/model/external_add_to_basket_target202110.py +4 -4
  61. criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +44 -44
  62. criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +30 -30
  63. criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +20 -20
  64. criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py +8 -8
  65. criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
  66. criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
  67. criteo_api_retailmedia_v2025_01/model/external_common_line_item.py +34 -34
  68. criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +28 -28
  69. criteo_api_retailmedia_v2025_01/model/external_line_item_capping_v2.py +9 -9
  70. criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
  71. criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_create_model_v2.py +24 -24
  72. criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_update_model_v2.py +20 -20
  73. criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +36 -36
  74. criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
  75. criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
  76. criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
  77. criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
  78. criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
  79. criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
  80. criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
  81. criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +4 -4
  82. criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
  83. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
  84. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
  85. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
  86. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
  87. criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
  88. criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +5 -5
  89. criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
  90. criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
  91. criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
  92. criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
  93. criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
  94. criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
  95. criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
  96. criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  97. criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
  98. criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
  99. criteo_api_retailmedia_v2025_01/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
  100. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
  101. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
  102. criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
  103. criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
  104. criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
  105. criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
  106. criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
  107. criteo_api_retailmedia_v2025_01/model/report_outcome.py +5 -5
  108. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +4 -4
  109. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +4 -4
  110. criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
  111. criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +4 -4
  112. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
  113. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +4 -4
  114. criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
  115. criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
  116. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
  117. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  118. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
  119. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
  120. criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
  121. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +4 -4
  122. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  123. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
  124. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  125. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  126. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  127. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
  128. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  129. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
  130. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +8 -8
  131. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
  132. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  133. criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +4 -4
  134. criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
  135. criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
  136. criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
  137. criteo_api_retailmedia_v2025_01/model/section.py +4 -4
  138. criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
  139. criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
  140. criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
  141. criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +5 -5
  142. criteo_api_retailmedia_v2025_01/model/template.py +24 -24
  143. criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
  144. criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
  145. criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
  146. criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
  147. criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
  148. criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
  149. criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
  150. criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
  151. criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
  152. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
  153. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
  154. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
  155. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
  156. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
  157. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
  158. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
  159. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
  160. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
  161. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
  162. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
  163. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +4 -4
  164. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +4 -4
  165. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
  166. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +4 -4
  167. criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
  168. {criteo_api_retailmedia_sdk-2025.1.0.250327.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250425.dist-info}/top_level.txt +0 -0
@@ -90,8 +90,8 @@ class AudienceTarget202110Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ValueTypeResourceOfAudienceTarget202110,), # noqa: E501
93
- 'warnings': ([ProblemDetails],), # noqa: E501
94
93
  'errors': ([ProblemDetails],), # noqa: E501
94
+ 'warnings': ([ProblemDetails],), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class AudienceTarget202110Response(ModelNormal):
101
101
 
102
102
  attribute_map = {
103
103
  'data': 'data', # noqa: E501
104
- 'warnings': 'warnings', # noqa: E501
105
104
  'errors': 'errors', # noqa: E501
105
+ 'warnings': 'warnings', # noqa: E501
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
- 'warnings', # noqa: E501
110
109
  'errors', # noqa: E501
110
+ 'warnings', # noqa: E501
111
111
  }
112
112
 
113
113
  _composed_schemas = {}
@@ -149,8 +149,8 @@ class AudienceTarget202110Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ValueTypeResourceOfAudienceTarget202110): [optional] # noqa: E501
152
- warnings ([ProblemDetails]): [optional] # noqa: E501
153
152
  errors ([ProblemDetails]): [optional] # noqa: E501
153
+ warnings ([ProblemDetails]): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AudienceTarget202110Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ValueTypeResourceOfAudienceTarget202110): [optional] # noqa: E501
240
- warnings ([ProblemDetails]): [optional] # noqa: E501
241
240
  errors ([ProblemDetails]): [optional] # noqa: E501
241
+ warnings ([ProblemDetails]): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -90,14 +90,14 @@ class AudienceWarning(ModelNormal):
90
90
  and the value is attribute type.
91
91
  """
92
92
  return {
93
- 'type': (str,), # noqa: E501
94
93
  'code': (str,), # noqa: E501
95
- 'instance': (str,), # noqa: E501
96
94
  'detail': (str,), # noqa: E501
97
- 'trace_id': (str, none_type,), # noqa: E501
98
- 'title': (str, none_type,), # noqa: E501
95
+ 'instance': (str,), # noqa: E501
96
+ 'type': (str,), # noqa: E501
99
97
  'source': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type,), # noqa: E501
100
98
  'stack_trace': ([str], none_type,), # noqa: E501
99
+ 'title': (str, none_type,), # noqa: E501
100
+ 'trace_id': (str, none_type,), # noqa: E501
101
101
  }
102
102
 
103
103
  @cached_property
@@ -106,14 +106,14 @@ class AudienceWarning(ModelNormal):
106
106
 
107
107
 
108
108
  attribute_map = {
109
- 'type': 'type', # noqa: E501
110
109
  'code': 'code', # noqa: E501
111
- 'instance': 'instance', # noqa: E501
112
110
  'detail': 'detail', # noqa: E501
113
- 'trace_id': 'traceId', # noqa: E501
114
- 'title': 'title', # noqa: E501
111
+ 'instance': 'instance', # noqa: E501
112
+ 'type': 'type', # noqa: E501
115
113
  'source': 'source', # noqa: E501
116
114
  'stack_trace': 'stackTrace', # noqa: E501
115
+ 'title': 'title', # noqa: E501
116
+ 'trace_id': 'traceId', # noqa: E501
117
117
  }
118
118
 
119
119
  read_only_vars = {
@@ -123,14 +123,14 @@ class AudienceWarning(ModelNormal):
123
123
 
124
124
  @classmethod
125
125
  @convert_js_args_to_python_args
126
- def _from_openapi_data(cls, type, code, instance, detail, *args, **kwargs): # noqa: E501
126
+ def _from_openapi_data(cls, code, detail, instance, type, *args, **kwargs): # noqa: E501
127
127
  """AudienceWarning - a model defined in OpenAPI
128
128
 
129
129
  Args:
130
- type (str): (REQUIRED) The classification of the error
131
130
  code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
132
- instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
133
131
  detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem
132
+ instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
133
+ type (str): (REQUIRED) The classification of the error
134
134
 
135
135
  Keyword Args:
136
136
  _check_type (bool): if True, values for parameters in openapi_types
@@ -163,10 +163,10 @@ class AudienceWarning(ModelNormal):
163
163
  Animal class but this time we won't travel
164
164
  through its discriminator because we passed in
165
165
  _visited_composed_classes = (Animal,)
166
- trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
167
- title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
168
166
  source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
169
167
  stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
168
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
169
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
170
170
  """
171
171
 
172
172
  _check_type = kwargs.pop('_check_type', True)
@@ -198,10 +198,10 @@ class AudienceWarning(ModelNormal):
198
198
  self._configuration = _configuration
199
199
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
200
200
 
201
- self.type = type
202
201
  self.code = code
203
- self.instance = instance
204
202
  self.detail = detail
203
+ self.instance = instance
204
+ self.type = type
205
205
  for var_name, var_value in kwargs.items():
206
206
  if var_name not in self.attribute_map and \
207
207
  self._configuration is not None and \
@@ -222,14 +222,14 @@ class AudienceWarning(ModelNormal):
222
222
  ])
223
223
 
224
224
  @convert_js_args_to_python_args
225
- def __init__(self, type, code, instance, detail, *args, **kwargs): # noqa: E501
225
+ def __init__(self, code, detail, instance, type, *args, **kwargs): # noqa: E501
226
226
  """AudienceWarning - a model defined in OpenAPI
227
227
 
228
228
  Args:
229
- type (str): (REQUIRED) The classification of the error
230
229
  code (str): (REQUIRED) A machine-readable unique error code, expressed as a string value. The format used must be kebab-case.
231
- instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
232
230
  detail (str): (REQUIRED) A human-readable explanation specific to this occurrence of the problem
231
+ instance (str): (REQUIRED) A URI reference that identifies the specific occurrence of the problem
232
+ type (str): (REQUIRED) The classification of the error
233
233
 
234
234
  Keyword Args:
235
235
  _check_type (bool): if True, values for parameters in openapi_types
@@ -262,10 +262,10 @@ class AudienceWarning(ModelNormal):
262
262
  Animal class but this time we won't travel
263
263
  through its discriminator because we passed in
264
264
  _visited_composed_classes = (Animal,)
265
- trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
266
- title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
267
265
  source ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type): (OPTIONAL) A machine-readable structure to reference to the exact location(s) causing the error(s). [optional] # noqa: E501
268
266
  stack_trace ([str], none_type): (NEVER IN PRODUCTION) A human-readable stacktrace produced by the implementation technology. [optional] # noqa: E501
267
+ title (str, none_type): (RECOMMENDED) A short, human-readable summary of the problem type. [optional] # noqa: E501
268
+ trace_id (str, none_type): (REQUIRED) The Correlation ID provided by the Gateway. It is also a unique identifier for this particular occurrence of the problem.. [optional] # noqa: E501
269
269
  """
270
270
 
271
271
  _check_type = kwargs.pop('_check_type', True)
@@ -295,10 +295,10 @@ class AudienceWarning(ModelNormal):
295
295
  self._configuration = _configuration
296
296
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
297
297
 
298
- self.type = type
299
298
  self.code = code
300
- self.instance = instance
301
299
  self.detail = detail
300
+ self.instance = instance
301
+ self.type = type
302
302
  for var_name, var_value in kwargs.items():
303
303
  if var_name not in self.attribute_map and \
304
304
  self._configuration is not None and \
@@ -91,10 +91,10 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
91
91
  """
92
92
  lazy_import()
93
93
  return {
94
- 'metadata': (PageMetadata,), # noqa: E501
95
94
  'data': ([ResourceOfBalanceCampaign202110],), # noqa: E501
96
- 'warnings': ([ProblemDetails],), # noqa: E501
97
95
  'errors': ([ProblemDetails],), # noqa: E501
96
+ 'metadata': (PageMetadata,), # noqa: E501
97
+ 'warnings': ([ProblemDetails],), # noqa: E501
98
98
  }
99
99
 
100
100
  @cached_property
@@ -103,15 +103,15 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
103
103
 
104
104
 
105
105
  attribute_map = {
106
- 'metadata': 'metadata', # noqa: E501
107
106
  'data': 'data', # noqa: E501
108
- 'warnings': 'warnings', # noqa: E501
109
107
  'errors': 'errors', # noqa: E501
108
+ 'metadata': 'metadata', # noqa: E501
109
+ 'warnings': 'warnings', # noqa: E501
110
110
  }
111
111
 
112
112
  read_only_vars = {
113
- 'warnings', # noqa: E501
114
113
  'errors', # noqa: E501
114
+ 'warnings', # noqa: E501
115
115
  }
116
116
 
117
117
  _composed_schemas = {}
@@ -152,10 +152,10 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
152
152
  Animal class but this time we won't travel
153
153
  through its discriminator because we passed in
154
154
  _visited_composed_classes = (Animal,)
155
- metadata (PageMetadata): [optional] # noqa: E501
156
155
  data ([ResourceOfBalanceCampaign202110]): [optional] # noqa: E501
157
- warnings ([ProblemDetails]): [optional] # noqa: E501
158
156
  errors ([ProblemDetails]): [optional] # noqa: E501
157
+ metadata (PageMetadata): [optional] # noqa: E501
158
+ warnings ([ProblemDetails]): [optional] # noqa: E501
159
159
  """
160
160
 
161
161
  _check_type = kwargs.pop('_check_type', True)
@@ -241,10 +241,10 @@ class BalanceCampaign202110PagedListResponse(ModelNormal):
241
241
  Animal class but this time we won't travel
242
242
  through its discriminator because we passed in
243
243
  _visited_composed_classes = (Animal,)
244
- metadata (PageMetadata): [optional] # noqa: E501
245
244
  data ([ResourceOfBalanceCampaign202110]): [optional] # noqa: E501
246
- warnings ([ProblemDetails]): [optional] # noqa: E501
247
245
  errors ([ProblemDetails]): [optional] # noqa: E501
246
+ metadata (PageMetadata): [optional] # noqa: E501
247
+ warnings ([ProblemDetails]): [optional] # noqa: E501
248
248
  """
249
249
 
250
250
  _check_type = kwargs.pop('_check_type', True)
@@ -93,10 +93,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
93
93
  """
94
94
  lazy_import()
95
95
  return {
96
+ 'change_details': (ChangeDetailsV1,), # noqa: E501
97
+ 'change_type': (str,), # noqa: E501
96
98
  'date_of_modification': (datetime,), # noqa: E501
97
99
  'modified_by_user': (str,), # noqa: E501
98
- 'change_type': (str,), # noqa: E501
99
- 'change_details': (ChangeDetailsV1,), # noqa: E501
100
100
  'memo': (str, none_type,), # noqa: E501
101
101
  }
102
102
 
@@ -106,10 +106,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
106
106
 
107
107
 
108
108
  attribute_map = {
109
+ 'change_details': 'changeDetails', # noqa: E501
110
+ 'change_type': 'changeType', # noqa: E501
109
111
  'date_of_modification': 'dateOfModification', # noqa: E501
110
112
  'modified_by_user': 'modifiedByUser', # noqa: E501
111
- 'change_type': 'changeType', # noqa: E501
112
- 'change_details': 'changeDetails', # noqa: E501
113
113
  'memo': 'memo', # noqa: E501
114
114
  }
115
115
 
@@ -120,14 +120,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
120
120
 
121
121
  @classmethod
122
122
  @convert_js_args_to_python_args
123
- def _from_openapi_data(cls, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501
123
+ def _from_openapi_data(cls, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
124
124
  """BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
125
125
 
126
126
  Args:
127
+ change_details (ChangeDetailsV1):
128
+ change_type (str): Represent the type of change states of the history.
127
129
  date_of_modification (datetime): Date when data change has occured.
128
130
  modified_by_user (str): Username who modified the insertion order.
129
- change_type (str): Represent the type of change states of the history.
130
- change_details (ChangeDetailsV1):
131
131
 
132
132
  Keyword Args:
133
133
  _check_type (bool): if True, values for parameters in openapi_types
@@ -192,10 +192,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
192
192
  self._configuration = _configuration
193
193
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
194
194
 
195
+ self.change_details = change_details
196
+ self.change_type = change_type
195
197
  self.date_of_modification = date_of_modification
196
198
  self.modified_by_user = modified_by_user
197
- self.change_type = change_type
198
- self.change_details = change_details
199
199
  for var_name, var_value in kwargs.items():
200
200
  if var_name not in self.attribute_map and \
201
201
  self._configuration is not None and \
@@ -216,14 +216,14 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
216
216
  ])
217
217
 
218
218
  @convert_js_args_to_python_args
219
- def __init__(self, date_of_modification, modified_by_user, change_type, change_details, *args, **kwargs): # noqa: E501
219
+ def __init__(self, change_details, change_type, date_of_modification, modified_by_user, *args, **kwargs): # noqa: E501
220
220
  """BalanceHistoryChangeDataCaptureV1 - a model defined in OpenAPI
221
221
 
222
222
  Args:
223
+ change_details (ChangeDetailsV1):
224
+ change_type (str): Represent the type of change states of the history.
223
225
  date_of_modification (datetime): Date when data change has occured.
224
226
  modified_by_user (str): Username who modified the insertion order.
225
- change_type (str): Represent the type of change states of the history.
226
- change_details (ChangeDetailsV1):
227
227
 
228
228
  Keyword Args:
229
229
  _check_type (bool): if True, values for parameters in openapi_types
@@ -286,10 +286,10 @@ class BalanceHistoryChangeDataCaptureV1(ModelNormal):
286
286
  self._configuration = _configuration
287
287
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
288
288
 
289
+ self.change_details = change_details
290
+ self.change_type = change_type
289
291
  self.date_of_modification = date_of_modification
290
292
  self.modified_by_user = modified_by_user
291
- self.change_type = change_type
292
- self.change_details = change_details
293
293
  for var_name, var_value in kwargs.items():
294
294
  if var_name not in self.attribute_map and \
295
295
  self._configuration is not None and \
@@ -60,17 +60,17 @@ class BalanceResponseV2(ModelNormal):
60
60
  'CAPPED': "capped",
61
61
  'UNCAPPED': "uncapped",
62
62
  },
63
- ('spend_type',): {
64
- 'ONSITE': "Onsite",
65
- 'OFFSITE': "Offsite",
66
- 'OFFSITEAWARENESS': "OffsiteAwareness",
67
- },
68
63
  ('private_market_billing_type',): {
69
64
  'NOTAPPLICABLE': "notApplicable",
70
65
  'BILLBYRETAILER': "billByRetailer",
71
66
  'BILLBYCRITEO': "billByCriteo",
72
67
  'UNKNOWN': "unknown",
73
68
  },
69
+ ('spend_type',): {
70
+ 'ONSITE': "Onsite",
71
+ 'OFFSITE': "Offsite",
72
+ 'OFFSITEAWARENESS': "OffsiteAwareness",
73
+ },
74
74
  ('status',): {
75
75
  'UNKNOWN': "unknown",
76
76
  'SCHEDULED': "scheduled",
@@ -103,19 +103,19 @@ class BalanceResponseV2(ModelNormal):
103
103
  and the value is attribute type.
104
104
  """
105
105
  return {
106
- 'name': (str,), # noqa: E501
107
- 'start_date': (date,), # noqa: E501
108
106
  'balance_type': (str,), # noqa: E501
109
- 'spend_type': (str,), # noqa: E501
107
+ 'name': (str,), # noqa: E501
110
108
  'private_market_billing_type': (str,), # noqa: E501
111
- 'po_number': (str, none_type,), # noqa: E501
112
- 'memo': (str, none_type,), # noqa: E501
109
+ 'spend_type': (str,), # noqa: E501
110
+ 'start_date': (date,), # noqa: E501
111
+ 'created_at': (datetime,), # noqa: E501
113
112
  'deposited': (float, none_type,), # noqa: E501
114
- 'spent': (float, none_type,), # noqa: E501
115
- 'remaining': (float, none_type,), # noqa: E501
116
113
  'end_date': (date, none_type,), # noqa: E501
114
+ 'memo': (str, none_type,), # noqa: E501
115
+ 'po_number': (str, none_type,), # noqa: E501
116
+ 'remaining': (float, none_type,), # noqa: E501
117
+ 'spent': (float, none_type,), # noqa: E501
117
118
  'status': (str,), # noqa: E501
118
- 'created_at': (datetime,), # noqa: E501
119
119
  'updated_at': (datetime,), # noqa: E501
120
120
  }
121
121
 
@@ -125,19 +125,19 @@ class BalanceResponseV2(ModelNormal):
125
125
 
126
126
 
127
127
  attribute_map = {
128
- 'name': 'name', # noqa: E501
129
- 'start_date': 'startDate', # noqa: E501
130
128
  'balance_type': 'balanceType', # noqa: E501
131
- 'spend_type': 'spendType', # noqa: E501
129
+ 'name': 'name', # noqa: E501
132
130
  'private_market_billing_type': 'privateMarketBillingType', # noqa: E501
133
- 'po_number': 'poNumber', # noqa: E501
134
- 'memo': 'memo', # noqa: E501
131
+ 'spend_type': 'spendType', # noqa: E501
132
+ 'start_date': 'startDate', # noqa: E501
133
+ 'created_at': 'createdAt', # noqa: E501
135
134
  'deposited': 'deposited', # noqa: E501
136
- 'spent': 'spent', # noqa: E501
137
- 'remaining': 'remaining', # noqa: E501
138
135
  'end_date': 'endDate', # noqa: E501
136
+ 'memo': 'memo', # noqa: E501
137
+ 'po_number': 'poNumber', # noqa: E501
138
+ 'remaining': 'remaining', # noqa: E501
139
+ 'spent': 'spent', # noqa: E501
139
140
  'status': 'status', # noqa: E501
140
- 'created_at': 'createdAt', # noqa: E501
141
141
  'updated_at': 'updatedAt', # noqa: E501
142
142
  }
143
143
 
@@ -148,15 +148,15 @@ class BalanceResponseV2(ModelNormal):
148
148
 
149
149
  @classmethod
150
150
  @convert_js_args_to_python_args
151
- def _from_openapi_data(cls, name, start_date, balance_type, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
151
+ def _from_openapi_data(cls, balance_type, name, private_market_billing_type, spend_type, start_date, *args, **kwargs): # noqa: E501
152
152
  """BalanceResponseV2 - a model defined in OpenAPI
153
153
 
154
154
  Args:
155
- name (str): Name of the balance.
156
- start_date (date): Start date of the balance in the format YYYY-MM-DD.
157
155
  balance_type (str): Type of the balance.
158
- spend_type (str): Spend Type of the balance.
156
+ name (str): Name of the balance.
159
157
  private_market_billing_type (str): Billing type for Private Market of the balance.
158
+ spend_type (str): Spend Type of the balance.
159
+ start_date (date): Start date of the balance in the format YYYY-MM-DD.
160
160
 
161
161
  Keyword Args:
162
162
  _check_type (bool): if True, values for parameters in openapi_types
@@ -189,14 +189,14 @@ class BalanceResponseV2(ModelNormal):
189
189
  Animal class but this time we won't travel
190
190
  through its discriminator because we passed in
191
191
  _visited_composed_classes = (Animal,)
192
- po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
193
- memo (str, none_type): Memo.. [optional] # noqa: E501
192
+ created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
194
193
  deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
195
- spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
196
- remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
197
194
  end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
195
+ memo (str, none_type): Memo.. [optional] # noqa: E501
196
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
197
+ remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
198
+ spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
198
199
  status (str): Status of the balance.. [optional] # noqa: E501
199
- created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
200
200
  updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
201
201
  """
202
202
 
@@ -229,11 +229,11 @@ class BalanceResponseV2(ModelNormal):
229
229
  self._configuration = _configuration
230
230
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
231
231
 
232
- self.name = name
233
- self.start_date = start_date
234
232
  self.balance_type = balance_type
235
- self.spend_type = spend_type
233
+ self.name = name
236
234
  self.private_market_billing_type = private_market_billing_type
235
+ self.spend_type = spend_type
236
+ self.start_date = start_date
237
237
  for var_name, var_value in kwargs.items():
238
238
  if var_name not in self.attribute_map and \
239
239
  self._configuration is not None and \
@@ -254,15 +254,15 @@ class BalanceResponseV2(ModelNormal):
254
254
  ])
255
255
 
256
256
  @convert_js_args_to_python_args
257
- def __init__(self, name, start_date, balance_type, spend_type, private_market_billing_type, *args, **kwargs): # noqa: E501
257
+ def __init__(self, balance_type, name, private_market_billing_type, spend_type, start_date, *args, **kwargs): # noqa: E501
258
258
  """BalanceResponseV2 - a model defined in OpenAPI
259
259
 
260
260
  Args:
261
- name (str): Name of the balance.
262
- start_date (date): Start date of the balance in the format YYYY-MM-DD.
263
261
  balance_type (str): Type of the balance.
264
- spend_type (str): Spend Type of the balance.
262
+ name (str): Name of the balance.
265
263
  private_market_billing_type (str): Billing type for Private Market of the balance.
264
+ spend_type (str): Spend Type of the balance.
265
+ start_date (date): Start date of the balance in the format YYYY-MM-DD.
266
266
 
267
267
  Keyword Args:
268
268
  _check_type (bool): if True, values for parameters in openapi_types
@@ -295,14 +295,14 @@ class BalanceResponseV2(ModelNormal):
295
295
  Animal class but this time we won't travel
296
296
  through its discriminator because we passed in
297
297
  _visited_composed_classes = (Animal,)
298
- po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
299
- memo (str, none_type): Memo.. [optional] # noqa: E501
298
+ created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
300
299
  deposited (float, none_type): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
301
- spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
302
- remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
303
300
  end_date (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
301
+ memo (str, none_type): Memo.. [optional] # noqa: E501
302
+ po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
303
+ remaining (float, none_type): Amount of remaining funds of the balance.. [optional] # noqa: E501
304
+ spent (float, none_type): Amount of spent funds of the balance.. [optional] # noqa: E501
304
305
  status (str): Status of the balance.. [optional] # noqa: E501
305
- created_at (datetime): Creation time of the balance.. [optional] # noqa: E501
306
306
  updated_at (datetime): Update time of the balance.. [optional] # noqa: E501
307
307
  """
308
308
 
@@ -333,11 +333,11 @@ class BalanceResponseV2(ModelNormal):
333
333
  self._configuration = _configuration
334
334
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
335
335
 
336
- self.name = name
337
- self.start_date = start_date
338
336
  self.balance_type = balance_type
339
- self.spend_type = spend_type
337
+ self.name = name
340
338
  self.private_market_billing_type = private_market_billing_type
339
+ self.spend_type = spend_type
340
+ self.start_date = start_date
341
341
  for var_name, var_value in kwargs.items():
342
342
  if var_name not in self.attribute_map and \
343
343
  self._configuration is not None and \
@@ -90,8 +90,8 @@ class BalanceResponseV2Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ResourceOfBalanceResponseV2,), # noqa: E501
93
- 'warnings': ([CommonProblem],), # noqa: E501
94
93
  'errors': ([CommonProblem],), # noqa: E501
94
+ 'warnings': ([CommonProblem],), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class BalanceResponseV2Response(ModelNormal):
101
101
 
102
102
  attribute_map = {
103
103
  'data': 'data', # noqa: E501
104
- 'warnings': 'warnings', # noqa: E501
105
104
  'errors': 'errors', # noqa: E501
105
+ 'warnings': 'warnings', # noqa: E501
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
- 'warnings', # noqa: E501
110
109
  'errors', # noqa: E501
110
+ 'warnings', # noqa: E501
111
111
  }
112
112
 
113
113
  _composed_schemas = {}
@@ -149,8 +149,8 @@ class BalanceResponseV2Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
152
- warnings ([CommonProblem]): [optional] # noqa: E501
153
152
  errors ([CommonProblem]): [optional] # noqa: E501
153
+ warnings ([CommonProblem]): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class BalanceResponseV2Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ResourceOfBalanceResponseV2): [optional] # noqa: E501
240
- warnings ([CommonProblem]): [optional] # noqa: E501
241
240
  errors ([CommonProblem]): [optional] # noqa: E501
241
+ warnings ([CommonProblem]): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)