criteo-api-retailmedia-sdk 2024.4.0.250327__py3-none-any.whl → 2024.4.0.250409__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 (142) hide show
  1. {criteo_api_retailmedia_sdk-2024.4.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250409.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.4.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250409.dist-info}/RECORD +142 -142
  3. criteo_api_retailmedia_v2024_04/__init__.py +1 -1
  4. criteo_api_retailmedia_v2024_04/api/analytics_api.py +2 -2
  5. criteo_api_retailmedia_v2024_04/api/audience_api.py +12 -12
  6. criteo_api_retailmedia_v2024_04/api/campaign_api.py +30 -30
  7. criteo_api_retailmedia_v2024_04/api_client.py +1 -1
  8. criteo_api_retailmedia_v2024_04/configuration.py +1 -1
  9. criteo_api_retailmedia_v2024_04/model/add_remove_keyword_model.py +8 -8
  10. criteo_api_retailmedia_v2024_04/model/add_remove_keywords_model_resource.py +4 -4
  11. criteo_api_retailmedia_v2024_04/model/add_to_basket_target202110_response.py +5 -5
  12. criteo_api_retailmedia_v2024_04/model/application_summary_model.py +8 -8
  13. criteo_api_retailmedia_v2024_04/model/application_summary_model_resource.py +4 -4
  14. criteo_api_retailmedia_v2024_04/model/application_summary_model_response.py +5 -5
  15. criteo_api_retailmedia_v2024_04/model/asset_response.py +7 -7
  16. criteo_api_retailmedia_v2024_04/model/async_campaigns_report.py +79 -79
  17. criteo_api_retailmedia_v2024_04/model/async_campaigns_report_resource.py +4 -4
  18. criteo_api_retailmedia_v2024_04/model/async_line_items_report.py +79 -79
  19. criteo_api_retailmedia_v2024_04/model/async_line_items_report_resource.py +4 -4
  20. criteo_api_retailmedia_v2024_04/model/async_report_response.py +5 -5
  21. criteo_api_retailmedia_v2024_04/model/async_revenue_report.py +104 -104
  22. criteo_api_retailmedia_v2024_04/model/async_revenue_report_resource.py +4 -4
  23. criteo_api_retailmedia_v2024_04/model/auction_line_item_paged_list_response.py +9 -9
  24. criteo_api_retailmedia_v2024_04/model/auction_line_item_response.py +5 -5
  25. criteo_api_retailmedia_v2024_04/model/audience_target202110_response.py +5 -5
  26. criteo_api_retailmedia_v2024_04/model/balance_campaign202110_paged_list_response.py +9 -9
  27. criteo_api_retailmedia_v2024_04/model/balance_response.py +5 -5
  28. criteo_api_retailmedia_v2024_04/model/balance_response_paged_list_response.py +9 -9
  29. criteo_api_retailmedia_v2024_04/model/campaign_attributes_v202301.py +57 -57
  30. criteo_api_retailmedia_v2024_04/model/campaign_budget_overrides.py +8 -8
  31. criteo_api_retailmedia_v2024_04/model/campaign_v202301.py +82 -82
  32. criteo_api_retailmedia_v2024_04/model/category202204.py +8 -8
  33. criteo_api_retailmedia_v2024_04/model/category202204_list_response.py +5 -5
  34. criteo_api_retailmedia_v2024_04/model/change_details.py +14 -14
  35. criteo_api_retailmedia_v2024_04/model/common_error.py +16 -16
  36. criteo_api_retailmedia_v2024_04/model/common_line_item_paged_list_response.py +9 -9
  37. criteo_api_retailmedia_v2024_04/model/common_line_item_response.py +5 -5
  38. criteo_api_retailmedia_v2024_04/model/common_problem.py +20 -20
  39. criteo_api_retailmedia_v2024_04/model/common_warning.py +16 -16
  40. criteo_api_retailmedia_v2024_04/model/creative202110.py +16 -12
  41. criteo_api_retailmedia_v2024_04/model/creative202110_list_response.py +5 -5
  42. criteo_api_retailmedia_v2024_04/model/creative202210.py +40 -36
  43. criteo_api_retailmedia_v2024_04/model/creative202210_list_response.py +5 -5
  44. criteo_api_retailmedia_v2024_04/model/creative202210_response.py +5 -5
  45. criteo_api_retailmedia_v2024_04/model/daily_line_item_budget_override.py +4 -4
  46. criteo_api_retailmedia_v2024_04/model/editable_campaign_attributes_v202301.py +32 -32
  47. criteo_api_retailmedia_v2024_04/model/entity_resource_of_retail_media_account.py +4 -4
  48. criteo_api_retailmedia_v2024_04/model/entity_resource_outcome_of_retail_media_account.py +5 -5
  49. criteo_api_retailmedia_v2024_04/model/external_account.py +18 -18
  50. criteo_api_retailmedia_v2024_04/model/external_add_to_basket_ids_update_model202110.py +4 -4
  51. criteo_api_retailmedia_v2024_04/model/external_add_to_basket_target202110.py +4 -4
  52. criteo_api_retailmedia_v2024_04/model/external_auction_line_item.py +44 -44
  53. criteo_api_retailmedia_v2024_04/model/external_auction_line_item_create_model.py +30 -30
  54. criteo_api_retailmedia_v2024_04/model/external_auction_line_item_update_model.py +20 -20
  55. criteo_api_retailmedia_v2024_04/model/external_audience_target202110.py +8 -8
  56. criteo_api_retailmedia_v2024_04/model/external_balance_response.py +66 -66
  57. criteo_api_retailmedia_v2024_04/model/external_catalog_request.py +4 -4
  58. criteo_api_retailmedia_v2024_04/model/external_catalog_status.py +20 -20
  59. criteo_api_retailmedia_v2024_04/model/external_change_dates_of_balance.py +8 -8
  60. criteo_api_retailmedia_v2024_04/model/external_common_line_item.py +34 -34
  61. criteo_api_retailmedia_v2024_04/model/external_create_balance.py +20 -20
  62. criteo_api_retailmedia_v2024_04/model/external_line_item_capping202110.py +8 -8
  63. criteo_api_retailmedia_v2024_04/model/external_line_item_page202110.py +3 -3
  64. criteo_api_retailmedia_v2024_04/model/external_preferred_line_item202110.py +55 -51
  65. criteo_api_retailmedia_v2024_04/model/external_preferred_line_item_create_model202110.py +24 -24
  66. criteo_api_retailmedia_v2024_04/model/external_preferred_line_item_update_model202110.py +20 -20
  67. criteo_api_retailmedia_v2024_04/model/external_retail_media_account.py +22 -22
  68. criteo_api_retailmedia_v2024_04/model/external_retail_media_brand_account_creation.py +8 -8
  69. criteo_api_retailmedia_v2024_04/model/external_update_balance_model.py +8 -8
  70. criteo_api_retailmedia_v2024_04/model/files_variables_specification.py +4 -4
  71. criteo_api_retailmedia_v2024_04/model/input_resource_of_auction_line_item_create_model.py +4 -4
  72. criteo_api_retailmedia_v2024_04/model/input_resource_of_preferred_line_item_create_model202110.py +4 -4
  73. criteo_api_retailmedia_v2024_04/model/insertion_order_history_change_data_capture.py +14 -14
  74. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_account.py +8 -8
  75. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_brand.py +8 -8
  76. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_campaign_v202301.py +8 -8
  77. criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_retailer.py +8 -8
  78. criteo_api_retailmedia_v2024_04/model/keyword_data_model.py +12 -12
  79. criteo_api_retailmedia_v2024_04/model/keyword_target202110_response.py +5 -5
  80. criteo_api_retailmedia_v2024_04/model/keywords_model_resource.py +4 -4
  81. criteo_api_retailmedia_v2024_04/model/keywords_model_response.py +4 -4
  82. criteo_api_retailmedia_v2024_04/model/line_item_bid_multipliers.py +20 -20
  83. criteo_api_retailmedia_v2024_04/model/line_item_bid_multipliers_response.py +5 -5
  84. criteo_api_retailmedia_v2024_04/model/line_item_budget_overrides.py +8 -8
  85. criteo_api_retailmedia_v2024_04/model/metadata.py +8 -8
  86. criteo_api_retailmedia_v2024_04/model/page_metadata.py +16 -16
  87. criteo_api_retailmedia_v2024_04/model/page_of_insertion_order_history_change_data_capture.py +8 -8
  88. criteo_api_retailmedia_v2024_04/model/page_type_environment202210.py +14 -14
  89. criteo_api_retailmedia_v2024_04/model/preferred_line_item202110_paged_list_response.py +9 -9
  90. criteo_api_retailmedia_v2024_04/model/preferred_line_item202110_response.py +5 -5
  91. criteo_api_retailmedia_v2024_04/model/problem_details.py +20 -20
  92. criteo_api_retailmedia_v2024_04/model/promoted_product202110_paged_list_response.py +9 -9
  93. criteo_api_retailmedia_v2024_04/model/report_outcome.py +5 -5
  94. criteo_api_retailmedia_v2024_04/model/resource_of_auction_line_item.py +4 -4
  95. criteo_api_retailmedia_v2024_04/model/resource_of_auction_line_item_update_model.py +4 -4
  96. criteo_api_retailmedia_v2024_04/model/resource_of_balance_campaign202110.py +4 -4
  97. criteo_api_retailmedia_v2024_04/model/resource_of_common_line_item.py +4 -4
  98. criteo_api_retailmedia_v2024_04/model/resource_of_preferred_line_item202110.py +4 -4
  99. criteo_api_retailmedia_v2024_04/model/resource_of_preferred_line_item_update_model202110.py +4 -4
  100. criteo_api_retailmedia_v2024_04/model/resource_of_promoted_product202110.py +4 -4
  101. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v1.py +19 -19
  102. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v1_response.py +5 -5
  103. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v2.py +8 -8
  104. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_create_entity_v2_response.py +5 -5
  105. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1.py +4 -4
  106. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1_list_response.py +5 -5
  107. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v1_resource.py +4 -4
  108. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v2.py +12 -12
  109. criteo_api_retailmedia_v2024_04/model/rm_legacy_audience_get_entity_v2_list_response.py +5 -5
  110. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_customer_list.py +8 -8
  111. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_user_behavior_create_v2.py +19 -19
  112. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_user_behavior_v1.py +17 -17
  113. criteo_api_retailmedia_v2024_04/model/rm_legacy_segment_user_behavior_v2.py +23 -23
  114. criteo_api_retailmedia_v2024_04/model/rmca_common_problem.py +16 -16
  115. criteo_api_retailmedia_v2024_04/model/sdk_api_rest_common_problem.py +16 -16
  116. criteo_api_retailmedia_v2024_04/model/section.py +4 -4
  117. criteo_api_retailmedia_v2024_04/model/set_bid_model.py +4 -4
  118. criteo_api_retailmedia_v2024_04/model/set_bids_model_resource.py +4 -4
  119. criteo_api_retailmedia_v2024_04/model/status_response.py +20 -20
  120. criteo_api_retailmedia_v2024_04/model/store_target202110_response.py +5 -5
  121. criteo_api_retailmedia_v2024_04/model/template.py +24 -24
  122. criteo_api_retailmedia_v2024_04/model/template_list_response.py +5 -5
  123. criteo_api_retailmedia_v2024_04/model/template_response.py +5 -5
  124. criteo_api_retailmedia_v2024_04/model/template_variable.py +4 -4
  125. criteo_api_retailmedia_v2024_04/model/template_variable_value.py +4 -4
  126. criteo_api_retailmedia_v2024_04/model/value_resource_of_campaign_budget_overrides.py +4 -4
  127. criteo_api_retailmedia_v2024_04/model/value_resource_of_line_item_budget_overrides.py +4 -4
  128. criteo_api_retailmedia_v2024_04/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
  129. criteo_api_retailmedia_v2024_04/model/value_resource_of_retail_media_brands.py +4 -4
  130. criteo_api_retailmedia_v2024_04/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
  131. criteo_api_retailmedia_v2024_04/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
  132. criteo_api_retailmedia_v2024_04/model/value_resource_outcome_of_retail_media_brands.py +5 -5
  133. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
  134. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
  135. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
  136. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_audience_target202110.py +4 -4
  137. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_keyword_target202110.py +4 -4
  138. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
  139. criteo_api_retailmedia_v2024_04/model/value_type_resource_of_store_target202110.py +4 -4
  140. criteo_api_retailmedia_v2024_04/model/video_variable_value.py +16 -16
  141. {criteo_api_retailmedia_sdk-2024.4.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250409.dist-info}/WHEEL +0 -0
  142. {criteo_api_retailmedia_sdk-2024.4.0.250327.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250409.dist-info}/top_level.txt +0 -0
@@ -81,9 +81,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
81
81
  and the value is attribute type.
82
82
  """
83
83
  return {
84
+ 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
84
85
  'id': (str, none_type,), # noqa: E501
85
86
  'type': (str, none_type,), # noqa: E501
86
- 'attributes': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501
87
87
  }
88
88
 
89
89
  @cached_property
@@ -92,9 +92,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
92
92
 
93
93
 
94
94
  attribute_map = {
95
+ 'attributes': 'attributes', # noqa: E501
95
96
  'id': 'id', # noqa: E501
96
97
  'type': 'type', # noqa: E501
97
- 'attributes': 'attributes', # noqa: E501
98
98
  }
99
99
 
100
100
  read_only_vars = {
@@ -138,9 +138,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
138
138
  Animal class but this time we won't travel
139
139
  through its discriminator because we passed in
140
140
  _visited_composed_classes = (Animal,)
141
+ attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
141
142
  id (str, none_type): Id of the entity. [optional] # noqa: E501
142
143
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
143
- attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -226,9 +226,9 @@ class ResourceOfBalanceCampaign202110(ModelNormal):
226
226
  Animal class but this time we won't travel
227
227
  through its discriminator because we passed in
228
228
  _visited_composed_classes = (Animal,)
229
+ attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
229
230
  id (str, none_type): Id of the entity. [optional] # noqa: E501
230
231
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
231
- attributes ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Campaigns related to the balance. [optional] # noqa: E501
232
232
  """
233
233
 
234
234
  _check_type = kwargs.pop('_check_type', True)
@@ -87,9 +87,9 @@ class ResourceOfCommonLineItem(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
+ 'attributes': (ExternalCommonLineItem,), # noqa: E501
90
91
  'id': (str, none_type,), # noqa: E501
91
92
  'type': (str, none_type,), # noqa: E501
92
- 'attributes': (ExternalCommonLineItem,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -98,9 +98,9 @@ class ResourceOfCommonLineItem(ModelNormal):
98
98
 
99
99
 
100
100
  attribute_map = {
101
+ 'attributes': 'attributes', # noqa: E501
101
102
  'id': 'id', # noqa: E501
102
103
  'type': 'type', # noqa: E501
103
- 'attributes': 'attributes', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -144,9 +144,9 @@ class ResourceOfCommonLineItem(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
+ attributes (ExternalCommonLineItem): [optional] # noqa: E501
147
148
  id (str, none_type): Id of the entity. [optional] # noqa: E501
148
149
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
149
- attributes (ExternalCommonLineItem): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -232,9 +232,9 @@ class ResourceOfCommonLineItem(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
+ attributes (ExternalCommonLineItem): [optional] # noqa: E501
235
236
  id (str, none_type): Id of the entity. [optional] # noqa: E501
236
237
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
237
- attributes (ExternalCommonLineItem): [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -87,9 +87,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
+ 'attributes': (ExternalPreferredLineItem202110,), # noqa: E501
90
91
  'id': (str, none_type,), # noqa: E501
91
92
  'type': (str, none_type,), # noqa: E501
92
- 'attributes': (ExternalPreferredLineItem202110,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -98,9 +98,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
98
98
 
99
99
 
100
100
  attribute_map = {
101
+ 'attributes': 'attributes', # noqa: E501
101
102
  'id': 'id', # noqa: E501
102
103
  'type': 'type', # noqa: E501
103
- 'attributes': 'attributes', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -144,9 +144,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
+ attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
147
148
  id (str, none_type): Id of the entity. [optional] # noqa: E501
148
149
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
149
- attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -232,9 +232,9 @@ class ResourceOfPreferredLineItem202110(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
+ attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
235
236
  id (str, none_type): Id of the entity. [optional] # noqa: E501
236
237
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
237
- attributes (ExternalPreferredLineItem202110): [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -87,9 +87,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
+ 'attributes': (ExternalPreferredLineItemUpdateModel202110,), # noqa: E501
90
91
  'id': (str,), # noqa: E501
91
92
  'type': (str,), # noqa: E501
92
- 'attributes': (ExternalPreferredLineItemUpdateModel202110,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -98,9 +98,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
98
98
 
99
99
 
100
100
  attribute_map = {
101
+ 'attributes': 'attributes', # noqa: E501
101
102
  'id': 'id', # noqa: E501
102
103
  'type': 'type', # noqa: E501
103
- 'attributes': 'attributes', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -144,9 +144,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
+ attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
147
148
  id (str): Id of the entity. [optional] # noqa: E501
148
149
  type (str): Canonical type name of the entity. [optional] # noqa: E501
149
- attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -232,9 +232,9 @@ class ResourceOfPreferredLineItemUpdateModel202110(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
+ attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
235
236
  id (str): Id of the entity. [optional] # noqa: E501
236
237
  type (str): Canonical type name of the entity. [optional] # noqa: E501
237
- attributes (ExternalPreferredLineItemUpdateModel202110): [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -87,9 +87,9 @@ class ResourceOfPromotedProduct202110(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
+ 'attributes': (ExternalPromotedProduct202110,), # noqa: E501
90
91
  'id': (str, none_type,), # noqa: E501
91
92
  'type': (str, none_type,), # noqa: E501
92
- 'attributes': (ExternalPromotedProduct202110,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -98,9 +98,9 @@ class ResourceOfPromotedProduct202110(ModelNormal):
98
98
 
99
99
 
100
100
  attribute_map = {
101
+ 'attributes': 'attributes', # noqa: E501
101
102
  'id': 'id', # noqa: E501
102
103
  'type': 'type', # noqa: E501
103
- 'attributes': 'attributes', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -144,9 +144,9 @@ class ResourceOfPromotedProduct202110(ModelNormal):
144
144
  Animal class but this time we won't travel
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
+ attributes (ExternalPromotedProduct202110): [optional] # noqa: E501
147
148
  id (str, none_type): Id of the entity. [optional] # noqa: E501
148
149
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
149
- attributes (ExternalPromotedProduct202110): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -232,9 +232,9 @@ class ResourceOfPromotedProduct202110(ModelNormal):
232
232
  Animal class but this time we won't travel
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
+ attributes (ExternalPromotedProduct202110): [optional] # noqa: E501
235
236
  id (str, none_type): Id of the entity. [optional] # noqa: E501
236
237
  type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
237
- attributes (ExternalPromotedProduct202110): [optional] # noqa: E501
238
238
  """
239
239
 
240
240
  _check_type = kwargs.pop('_check_type', True)
@@ -55,11 +55,6 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('user_type',): {
59
- 'VIEWER': "viewer",
60
- 'BUYER': "buyer",
61
- 'ADDTOCARTER': "addToCarter",
62
- },
63
58
  ('lookback_window',): {
64
59
  'P7D': "P7D",
65
60
  'P14D': "P14D",
@@ -71,6 +66,11 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
71
66
  'P150D': "P150D",
72
67
  'P180D': "P180D",
73
68
  },
69
+ ('user_type',): {
70
+ 'VIEWER': "viewer",
71
+ 'BUYER': "buyer",
72
+ 'ADDTOCARTER': "addToCarter",
73
+ },
74
74
  }
75
75
 
76
76
  validations = {
@@ -101,10 +101,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
101
101
  and the value is attribute type.
102
102
  """
103
103
  return {
104
- 'user_type': (str,), # noqa: E501
105
104
  'lookback_window': (str,), # noqa: E501
106
- 'retailer_id': (int,), # noqa: E501
107
105
  'name': (str,), # noqa: E501
106
+ 'retailer_id': (int,), # noqa: E501
107
+ 'user_type': (str,), # noqa: E501
108
108
  'brand_ids': ([int], none_type,), # noqa: E501
109
109
  'category_ids': ([int], none_type,), # noqa: E501
110
110
  }
@@ -115,10 +115,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
115
115
 
116
116
 
117
117
  attribute_map = {
118
- 'user_type': 'userType', # noqa: E501
119
118
  'lookback_window': 'lookbackWindow', # noqa: E501
120
- 'retailer_id': 'retailerId', # noqa: E501
121
119
  'name': 'name', # noqa: E501
120
+ 'retailer_id': 'retailerId', # noqa: E501
121
+ 'user_type': 'userType', # noqa: E501
122
122
  'brand_ids': 'brandIds', # noqa: E501
123
123
  'category_ids': 'categoryIds', # noqa: E501
124
124
  }
@@ -130,14 +130,14 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
130
130
 
131
131
  @classmethod
132
132
  @convert_js_args_to_python_args
133
- def _from_openapi_data(cls, user_type, lookback_window, retailer_id, name, *args, **kwargs): # noqa: E501
133
+ def _from_openapi_data(cls, lookback_window, name, retailer_id, user_type, *args, **kwargs): # noqa: E501
134
134
  """RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI
135
135
 
136
136
  Args:
137
- user_type (str): Type of the user
138
137
  lookback_window (str): Length of lookback window
139
- retailer_id (int): ID of the retailer associated with this audience
140
138
  name (str): Name of the audience
139
+ retailer_id (int): ID of the retailer associated with this audience
140
+ user_type (str): Type of the user
141
141
 
142
142
  Keyword Args:
143
143
  _check_type (bool): if True, values for parameters in openapi_types
@@ -203,10 +203,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
203
203
  self._configuration = _configuration
204
204
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
205
205
 
206
- self.user_type = user_type
207
206
  self.lookback_window = lookback_window
208
- self.retailer_id = retailer_id
209
207
  self.name = name
208
+ self.retailer_id = retailer_id
209
+ self.user_type = user_type
210
210
  for var_name, var_value in kwargs.items():
211
211
  if var_name not in self.attribute_map and \
212
212
  self._configuration is not None and \
@@ -227,14 +227,14 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
227
227
  ])
228
228
 
229
229
  @convert_js_args_to_python_args
230
- def __init__(self, user_type, lookback_window, retailer_id, name, *args, **kwargs): # noqa: E501
230
+ def __init__(self, lookback_window, name, retailer_id, user_type, *args, **kwargs): # noqa: E501
231
231
  """RmLegacyAudienceCreateEntityV1 - a model defined in OpenAPI
232
232
 
233
233
  Args:
234
- user_type (str): Type of the user
235
234
  lookback_window (str): Length of lookback window
236
- retailer_id (int): ID of the retailer associated with this audience
237
235
  name (str): Name of the audience
236
+ retailer_id (int): ID of the retailer associated with this audience
237
+ user_type (str): Type of the user
238
238
 
239
239
  Keyword Args:
240
240
  _check_type (bool): if True, values for parameters in openapi_types
@@ -298,10 +298,10 @@ class RmLegacyAudienceCreateEntityV1(ModelNormal):
298
298
  self._configuration = _configuration
299
299
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
300
300
 
301
- self.user_type = user_type
302
301
  self.lookback_window = lookback_window
303
- self.retailer_id = retailer_id
304
302
  self.name = name
303
+ self.retailer_id = retailer_id
304
+ self.user_type = user_type
305
305
  for var_name, var_value in kwargs.items():
306
306
  if var_name not in self.attribute_map and \
307
307
  self._configuration is not None and \
@@ -90,8 +90,8 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (RmLegacyAudienceCreateEntityV1Resource,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class RmLegacyAudienceCreateEntityV1Response(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 RmLegacyAudienceCreateEntityV1Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class RmLegacyAudienceCreateEntityV1Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (RmLegacyAudienceCreateEntityV1Resource): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -87,9 +87,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
+ 'name': (str,), # noqa: E501
90
91
  'retailer_id': (int,), # noqa: E501
91
92
  'user_behavior_details': (RmLegacyAudienceUserBehaviorCreateV2,), # noqa: E501
92
- 'name': (str,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -98,9 +98,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
98
98
 
99
99
 
100
100
  attribute_map = {
101
+ 'name': 'name', # noqa: E501
101
102
  'retailer_id': 'retailerId', # noqa: E501
102
103
  'user_behavior_details': 'userBehaviorDetails', # noqa: E501
103
- 'name': 'name', # noqa: E501
104
104
  }
105
105
 
106
106
  read_only_vars = {
@@ -110,13 +110,13 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
110
110
 
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
- def _from_openapi_data(cls, retailer_id, user_behavior_details, name, *args, **kwargs): # noqa: E501
113
+ def _from_openapi_data(cls, name, retailer_id, user_behavior_details, *args, **kwargs): # noqa: E501
114
114
  """RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
115
115
 
116
116
  Args:
117
+ name (str): Name of the audience
117
118
  retailer_id (int): ID of the retailer associated with this audience
118
119
  user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
119
- name (str): Name of the audience
120
120
 
121
121
  Keyword Args:
122
122
  _check_type (bool): if True, values for parameters in openapi_types
@@ -180,9 +180,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
180
180
  self._configuration = _configuration
181
181
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
182
182
 
183
+ self.name = name
183
184
  self.retailer_id = retailer_id
184
185
  self.user_behavior_details = user_behavior_details
185
- self.name = name
186
186
  for var_name, var_value in kwargs.items():
187
187
  if var_name not in self.attribute_map and \
188
188
  self._configuration is not None and \
@@ -203,13 +203,13 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
203
203
  ])
204
204
 
205
205
  @convert_js_args_to_python_args
206
- def __init__(self, retailer_id, user_behavior_details, name, *args, **kwargs): # noqa: E501
206
+ def __init__(self, name, retailer_id, user_behavior_details, *args, **kwargs): # noqa: E501
207
207
  """RmLegacyAudienceCreateEntityV2 - a model defined in OpenAPI
208
208
 
209
209
  Args:
210
+ name (str): Name of the audience
210
211
  retailer_id (int): ID of the retailer associated with this audience
211
212
  user_behavior_details (RmLegacyAudienceUserBehaviorCreateV2):
212
- name (str): Name of the audience
213
213
 
214
214
  Keyword Args:
215
215
  _check_type (bool): if True, values for parameters in openapi_types
@@ -271,9 +271,9 @@ class RmLegacyAudienceCreateEntityV2(ModelNormal):
271
271
  self._configuration = _configuration
272
272
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
273
273
 
274
+ self.name = name
274
275
  self.retailer_id = retailer_id
275
276
  self.user_behavior_details = user_behavior_details
276
- self.name = name
277
277
  for var_name, var_value in kwargs.items():
278
278
  if var_name not in self.attribute_map and \
279
279
  self._configuration is not None and \
@@ -90,8 +90,8 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (RmLegacyAudienceCreateEntityV2Resource,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class RmLegacyAudienceCreateEntityV2Response(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 RmLegacyAudienceCreateEntityV2Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class RmLegacyAudienceCreateEntityV2Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (RmLegacyAudienceCreateEntityV2Resource): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -91,8 +91,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
91
91
  return {
92
92
  'name': (str,), # noqa: E501
93
93
  'retailer_id': (str,), # noqa: E501
94
- 'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
95
94
  'customer_list_details': (RmLegacySegmentCustomerList,), # noqa: E501
95
+ 'user_behavior_details': (RmLegacySegmentUserBehaviorV1,), # noqa: E501
96
96
  }
97
97
 
98
98
  @cached_property
@@ -103,8 +103,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
103
103
  attribute_map = {
104
104
  'name': 'name', # noqa: E501
105
105
  'retailer_id': 'retailerId', # noqa: E501
106
- 'user_behavior_details': 'userBehaviorDetails', # noqa: E501
107
106
  'customer_list_details': 'customerListDetails', # noqa: E501
107
+ 'user_behavior_details': 'userBehaviorDetails', # noqa: E501
108
108
  }
109
109
 
110
110
  read_only_vars = {
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV1(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
- user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
156
155
  customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
156
+ user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
157
157
  """
158
158
 
159
159
  _check_type = kwargs.pop('_check_type', True)
@@ -245,8 +245,8 @@ class RmLegacyAudienceGetEntityV1(ModelNormal):
245
245
  Animal class but this time we won't travel
246
246
  through its discriminator because we passed in
247
247
  _visited_composed_classes = (Animal,)
248
- user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
249
248
  customer_list_details (RmLegacySegmentCustomerList): [optional] # noqa: E501
249
+ user_behavior_details (RmLegacySegmentUserBehaviorV1): [optional] # noqa: E501
250
250
  """
251
251
 
252
252
  _check_type = kwargs.pop('_check_type', True)
@@ -90,8 +90,8 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': ([RmLegacyAudienceGetEntityV1Resource], none_type,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class RmLegacyAudienceGetEntityV1ListResponse(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 RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class RmLegacyAudienceGetEntityV1ListResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data ([RmLegacyAudienceGetEntityV1Resource], none_type): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -93,8 +93,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
93
93
  lazy_import()
94
94
  return {
95
95
  'attributes': (RmLegacyAudienceGetEntityV1,), # noqa: E501
96
- 'id': (str, none_type,), # noqa: E501
97
96
  'audience_type': (str, none_type,), # noqa: E501
97
+ 'id': (str, none_type,), # noqa: E501
98
98
  'type': (str, none_type,), # noqa: E501
99
99
  }
100
100
 
@@ -105,8 +105,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
105
105
 
106
106
  attribute_map = {
107
107
  'attributes': 'attributes', # noqa: E501
108
- 'id': 'id', # noqa: E501
109
108
  'audience_type': 'audienceType', # noqa: E501
109
+ 'id': 'id', # noqa: E501
110
110
  'type': 'type', # noqa: E501
111
111
  }
112
112
 
@@ -152,8 +152,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
152
152
  through its discriminator because we passed in
153
153
  _visited_composed_classes = (Animal,)
154
154
  attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
155
- id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
156
155
  audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501
156
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
157
157
  type (str, none_type): [optional] # noqa: E501
158
158
  """
159
159
 
@@ -241,8 +241,8 @@ class RmLegacyAudienceGetEntityV1Resource(ModelNormal):
241
241
  through its discriminator because we passed in
242
242
  _visited_composed_classes = (Animal,)
243
243
  attributes (RmLegacyAudienceGetEntityV1): [optional] # noqa: E501
244
- id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
245
244
  audience_type (str, none_type): Type of the audience.. [optional] # noqa: E501
245
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
246
246
  type (str, none_type): [optional] # noqa: E501
247
247
  """
248
248