klaviyo-api-sdk 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1060) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +220 -61
  3. data/docs/CampaignCloneQuery.md +1 -1
  4. data/docs/CampaignCloneQueryResourceObject.md +20 -0
  5. data/docs/CampaignCloneQueryResourceObjectAttributes.md +20 -0
  6. data/docs/CampaignCreateQuery.md +1 -1
  7. data/docs/CampaignCreateQueryResourceObject.md +20 -0
  8. data/docs/CampaignCreateQueryResourceObjectAttributes.md +28 -0
  9. data/docs/CampaignEnum.md +15 -0
  10. data/docs/CampaignMessageAssignTemplateQuery.md +1 -1
  11. data/docs/CampaignMessageAssignTemplateQueryResourceObject.md +20 -0
  12. data/docs/CampaignMessageAssignTemplateQueryResourceObjectAttributes.md +20 -0
  13. data/docs/CampaignMessageEnum.md +15 -0
  14. data/docs/CampaignMessagePartialUpdateQuery.md +1 -1
  15. data/docs/CampaignMessagePartialUpdateQueryResourceObject.md +22 -0
  16. data/docs/CampaignMessagePartialUpdateQueryResourceObjectAttributes.md +20 -0
  17. data/docs/CampaignPartialUpdateQuery.md +1 -1
  18. data/docs/CampaignPartialUpdateQueryResourceObject.md +22 -0
  19. data/docs/CampaignPartialUpdateQueryResourceObjectAttributes.md +26 -0
  20. data/docs/CampaignRecipientEstimationEnum.md +15 -0
  21. data/docs/CampaignRecipientEstimationJobCreateQuery.md +1 -1
  22. data/docs/CampaignRecipientEstimationJobCreateQueryResourceObject.md +20 -0
  23. data/docs/CampaignRecipientEstimationJobCreateQueryResourceObjectAttributes.md +18 -0
  24. data/docs/CampaignRecipientEstimationJobEnum.md +15 -0
  25. data/docs/CampaignSendJobCreateQuery.md +1 -1
  26. data/docs/CampaignSendJobCreateQueryResourceObject.md +20 -0
  27. data/docs/CampaignSendJobCreateQueryResourceObjectAttributes.md +18 -0
  28. data/docs/CampaignSendJobEnum.md +15 -0
  29. data/docs/CampaignSendJobPartialUpdateQuery.md +1 -1
  30. data/docs/CampaignSendJobPartialUpdateQueryResourceObject.md +22 -0
  31. data/docs/CampaignSendJobPartialUpdateQueryResourceObjectAttributes.md +18 -0
  32. data/docs/CampaignsApi.md +25 -27
  33. data/docs/CatalogCategoryBulkCreateJobEnum.md +15 -0
  34. data/docs/CatalogCategoryBulkDeleteJobEnum.md +15 -0
  35. data/docs/CatalogCategoryBulkUpdateJobEnum.md +15 -0
  36. data/docs/CatalogCategoryCreateJobCreateQuery.md +1 -1
  37. data/docs/CatalogCategoryCreateJobCreateQueryResourceObject.md +20 -0
  38. data/docs/CatalogCategoryCreateJobCreateQueryResourceObjectAttributes.md +18 -0
  39. data/docs/CatalogCategoryCreateQuery.md +1 -1
  40. data/docs/CatalogCategoryCreateQueryResourceObject.md +22 -0
  41. data/docs/CatalogCategoryCreateQueryResourceObjectAttributes.md +24 -0
  42. data/docs/CatalogCategoryDeleteJobCreateQuery.md +1 -1
  43. data/docs/CatalogCategoryDeleteJobCreateQueryResourceObject.md +20 -0
  44. data/docs/CatalogCategoryDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
  45. data/docs/CatalogCategoryDeleteQueryResourceObject.md +20 -0
  46. data/docs/CatalogCategoryEnum.md +15 -0
  47. data/docs/CatalogCategoryItemOp.md +1 -1
  48. data/docs/CatalogCategoryUpdateJobCreateQuery.md +1 -1
  49. data/docs/CatalogCategoryUpdateJobCreateQueryResourceObject.md +20 -0
  50. data/docs/CatalogCategoryUpdateJobCreateQueryResourceObjectAttributes.md +18 -0
  51. data/docs/CatalogCategoryUpdateQuery.md +1 -1
  52. data/docs/CatalogCategoryUpdateQueryResourceObject.md +24 -0
  53. data/docs/CatalogCategoryUpdateQueryResourceObjectAttributes.md +18 -0
  54. data/docs/CatalogItemBulkCreateJobEnum.md +15 -0
  55. data/docs/CatalogItemBulkDeleteJobEnum.md +15 -0
  56. data/docs/CatalogItemBulkUpdateJobEnum.md +15 -0
  57. data/docs/CatalogItemCategoryOp.md +1 -1
  58. data/docs/CatalogItemCreateJobCreateQuery.md +1 -1
  59. data/docs/CatalogItemCreateJobCreateQueryResourceObject.md +20 -0
  60. data/docs/CatalogItemCreateJobCreateQueryResourceObjectAttributes.md +18 -0
  61. data/docs/CatalogItemCreateQuery.md +1 -1
  62. data/docs/CatalogItemCreateQueryResourceObject.md +22 -0
  63. data/docs/CatalogItemCreateQueryResourceObjectAttributes.md +40 -0
  64. data/docs/CatalogItemCreateQueryResourceObjectRelationships.md +18 -0
  65. data/docs/CatalogItemCreateQueryResourceObjectRelationshipsCategories.md +18 -0
  66. data/docs/CatalogItemCreateQueryResourceObjectRelationshipsCategoriesDataInner.md +20 -0
  67. data/docs/CatalogItemDeleteJobCreateQuery.md +1 -1
  68. data/docs/CatalogItemDeleteJobCreateQueryResourceObject.md +20 -0
  69. data/docs/CatalogItemDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
  70. data/docs/CatalogItemDeleteQueryResourceObject.md +20 -0
  71. data/docs/CatalogItemEnum.md +15 -0
  72. data/docs/CatalogItemUpdateJobCreateQuery.md +1 -1
  73. data/docs/CatalogItemUpdateJobCreateQueryResourceObject.md +20 -0
  74. data/docs/CatalogItemUpdateJobCreateQueryResourceObjectAttributes.md +18 -0
  75. data/docs/CatalogItemUpdateQuery.md +1 -1
  76. data/docs/CatalogItemUpdateQueryResourceObject.md +24 -0
  77. data/docs/CatalogItemUpdateQueryResourceObjectAttributes.md +34 -0
  78. data/docs/CatalogVariantBulkCreateJobEnum.md +15 -0
  79. data/docs/CatalogVariantBulkDeleteJobEnum.md +15 -0
  80. data/docs/CatalogVariantBulkUpdateJobEnum.md +15 -0
  81. data/docs/CatalogVariantCreateJobCreateQuery.md +1 -1
  82. data/docs/CatalogVariantCreateJobCreateQueryResourceObject.md +20 -0
  83. data/docs/CatalogVariantCreateJobCreateQueryResourceObjectAttributes.md +18 -0
  84. data/docs/CatalogVariantCreateQuery.md +1 -1
  85. data/docs/CatalogVariantCreateQueryResourceObject.md +22 -0
  86. data/docs/CatalogVariantCreateQueryResourceObjectAttributes.md +46 -0
  87. data/docs/CatalogVariantCreateQueryResourceObjectRelationships.md +18 -0
  88. data/docs/CatalogVariantCreateQueryResourceObjectRelationshipsItems.md +18 -0
  89. data/docs/CatalogVariantCreateQueryResourceObjectRelationshipsItemsDataInner.md +20 -0
  90. data/docs/CatalogVariantDeleteJobCreateQuery.md +1 -1
  91. data/docs/CatalogVariantDeleteJobCreateQueryResourceObject.md +20 -0
  92. data/docs/CatalogVariantDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
  93. data/docs/CatalogVariantDeleteQueryResourceObject.md +20 -0
  94. data/docs/CatalogVariantEnum.md +15 -0
  95. data/docs/CatalogVariantUpdateJobCreateQuery.md +1 -1
  96. data/docs/CatalogVariantUpdateJobCreateQueryResourceObject.md +20 -0
  97. data/docs/CatalogVariantUpdateJobCreateQueryResourceObjectAttributes.md +18 -0
  98. data/docs/CatalogVariantUpdateQuery.md +1 -1
  99. data/docs/CatalogVariantUpdateQueryResourceObject.md +22 -0
  100. data/docs/CatalogVariantUpdateQueryResourceObjectAttributes.md +40 -0
  101. data/docs/CatalogsApi.md +141 -157
  102. data/docs/ClientApi.md +3 -3
  103. data/docs/CollectionLinks.md +26 -0
  104. data/docs/DataPrivacyApi.md +1 -1
  105. data/docs/DataPrivacyCreateDeletionJobQuery.md +1 -1
  106. data/docs/DataPrivacyCreateDeletionJobQueryResourceObject.md +20 -0
  107. data/docs/DataPrivacyCreateDeletionJobQueryResourceObjectAttributes.md +22 -0
  108. data/docs/DataPrivacyDeletionJobEnum.md +15 -0
  109. data/docs/EmailChannel.md +18 -0
  110. data/docs/EmailMarketing.md +32 -0
  111. data/docs/EmailMarketingListSuppression.md +22 -0
  112. data/docs/EmailMarketingSuppression.md +20 -0
  113. data/docs/EventCreateQuery.md +1 -1
  114. data/docs/EventCreateQueryResourceObject.md +20 -0
  115. data/docs/EventCreateQueryResourceObjectAttributes.md +28 -0
  116. data/docs/EventEnum.md +15 -0
  117. data/docs/EventsApi.md +90 -18
  118. data/docs/FlowActionEnum.md +15 -0
  119. data/docs/FlowEnum.md +15 -0
  120. data/docs/FlowMessageEnum.md +15 -0
  121. data/docs/FlowUpdateQuery.md +1 -1
  122. data/docs/FlowUpdateQueryResourceObject.md +22 -0
  123. data/docs/FlowUpdateQueryResourceObjectAttributes.md +18 -0
  124. data/docs/FlowsApi.md +190 -46
  125. data/docs/ListCreateQuery.md +1 -1
  126. data/docs/ListCreateQueryResourceObject.md +20 -0
  127. data/docs/ListCreateQueryResourceObjectAttributes.md +18 -0
  128. data/docs/ListEnum.md +15 -0
  129. data/docs/ListPartialUpdateQuery.md +1 -1
  130. data/docs/ListPartialUpdateQueryResourceObject.md +22 -0
  131. data/docs/ListsApi.md +108 -38
  132. data/docs/MetricAggregateEnum.md +15 -0
  133. data/docs/MetricAggregateQuery.md +1 -1
  134. data/docs/MetricAggregateQueryResourceObject.md +20 -0
  135. data/docs/MetricAggregateQueryResourceObjectAttributes.md +36 -0
  136. data/docs/MetricEnum.md +15 -0
  137. data/docs/MetricsApi.md +1 -1
  138. data/docs/ObjectLinks.md +18 -0
  139. data/docs/OnsiteProfileCreateQuery.md +1 -1
  140. data/docs/OnsiteProfileCreateQueryResourceObject.md +22 -0
  141. data/docs/OnsiteProfileCreateQueryResourceObjectAttributes.md +38 -0
  142. data/docs/OnsiteSubscriptionCreateQuery.md +1 -1
  143. data/docs/OnsiteSubscriptionCreateQueryResourceObject.md +20 -0
  144. data/docs/OnsiteSubscriptionCreateQueryResourceObjectAttributes.md +26 -0
  145. data/docs/PredictiveAnalytics.md +34 -0
  146. data/docs/ProfileAggregateEnum.md +15 -0
  147. data/docs/ProfileCreateQuery.md +1 -1
  148. data/docs/ProfileCreateQueryResourceObject.md +20 -0
  149. data/docs/ProfileCreateQueryResourceObjectAttributes.md +36 -0
  150. data/docs/ProfileEnum.md +15 -0
  151. data/docs/ProfilePartialUpdateQuery.md +1 -1
  152. data/docs/ProfilePartialUpdateQueryResourceObject.md +22 -0
  153. data/docs/ProfileSubscriptionBulkCreateJobEnum.md +15 -0
  154. data/docs/ProfileSuppressionBulkCreateJobEnum.md +15 -0
  155. data/docs/ProfileUnsubscriptionBulkCreateJobEnum.md +15 -0
  156. data/docs/ProfileUnsuppressionBulkCreateJobEnum.md +15 -0
  157. data/docs/ProfilesApi.md +121 -37
  158. data/docs/SMSChannel.md +18 -0
  159. data/docs/SMSMarketing.md +24 -0
  160. data/docs/SegmentEnum.md +15 -0
  161. data/docs/SegmentPartialUpdateQuery.md +1 -1
  162. data/docs/SegmentPartialUpdateQueryResourceObject.md +22 -0
  163. data/docs/SegmentPartialUpdateQueryResourceObjectAttributes.md +18 -0
  164. data/docs/SegmentsApi.md +90 -16
  165. data/docs/SubscriptionCreateJobCreateQuery.md +1 -1
  166. data/docs/SubscriptionCreateJobCreateQueryResourceObject.md +20 -0
  167. data/docs/SubscriptionCreateJobCreateQueryResourceObjectAttributes.md +22 -0
  168. data/docs/SubscriptionEnum.md +15 -0
  169. data/docs/Subscriptions.md +20 -0
  170. data/docs/SuppressionCreateJobCreateQuery.md +1 -1
  171. data/docs/SuppressionCreateJobCreateQueryResourceObject.md +20 -0
  172. data/docs/SuppressionCreateJobCreateQueryResourceObjectAttributes.md +18 -0
  173. data/docs/TagCampaignOp.md +18 -0
  174. data/docs/TagCampaignOpDataInner.md +20 -0
  175. data/docs/TagCreateQuery.md +1 -1
  176. data/docs/TagCreateQueryResourceObject.md +20 -0
  177. data/docs/TagCreateQueryResourceObjectAttributes.md +20 -0
  178. data/docs/TagEnum.md +15 -0
  179. data/docs/TagFlowOp.md +18 -0
  180. data/docs/TagFlowOpDataInner.md +20 -0
  181. data/docs/TagGroupCreateQuery.md +1 -1
  182. data/docs/TagGroupCreateQueryResourceObject.md +20 -0
  183. data/docs/TagGroupCreateQueryResourceObjectAttributes.md +20 -0
  184. data/docs/TagGroupEnum.md +15 -0
  185. data/docs/TagGroupUpdateQuery.md +1 -1
  186. data/docs/TagGroupUpdateQueryResourceObject.md +22 -0
  187. data/docs/TagGroupUpdateQueryResourceObjectAttributes.md +20 -0
  188. data/docs/TagListOp.md +18 -0
  189. data/docs/TagListOpDataInner.md +20 -0
  190. data/docs/TagUpdateQuery.md +1 -1
  191. data/docs/TagUpdateQueryResourceObject.md +22 -0
  192. data/docs/TagUpdateQueryResourceObjectAttributes.md +18 -0
  193. data/docs/TagsApi.md +881 -163
  194. data/docs/TemplateCloneQuery.md +1 -1
  195. data/docs/TemplateCloneQueryResourceObject.md +20 -0
  196. data/docs/TemplateCloneQueryResourceObjectAttributes.md +22 -0
  197. data/docs/TemplateCreateQuery.md +1 -1
  198. data/docs/TemplateCreateQueryResourceObject.md +20 -0
  199. data/docs/TemplateCreateQueryResourceObjectAttributes.md +32 -0
  200. data/docs/TemplateEnum.md +15 -0
  201. data/docs/TemplateRenderQuery.md +1 -1
  202. data/docs/TemplateRenderQueryResourceObject.md +20 -0
  203. data/docs/TemplateRenderQueryResourceObjectAttributes.md +22 -0
  204. data/docs/TemplateUpdateQuery.md +1 -1
  205. data/docs/TemplateUpdateQueryResourceObject.md +22 -0
  206. data/docs/TemplateUpdateQueryResourceObjectAttributes.md +30 -0
  207. data/docs/TemplatesApi.md +5 -5
  208. data/docs/TestApiAnalyticsSampleEnum.md +15 -0
  209. data/docs/TestListEnum.md +15 -0
  210. data/docs/UnsubscriptionCreateJobCreateQuery.md +1 -1
  211. data/docs/UnsubscriptionCreateJobCreateQueryResourceObject.md +20 -0
  212. data/docs/UnsubscriptionCreateJobCreateQueryResourceObjectAttributes.md +22 -0
  213. data/docs/UnsuppressionCreateJobCreateQuery.md +1 -1
  214. data/docs/UnsuppressionCreateJobCreateQueryResourceObject.md +20 -0
  215. data/docs/UnsuppressionCreateJobCreateQueryResourceObjectAttributes.md +18 -0
  216. data/klaviyo-api-sdk.gemspec +1 -1
  217. data/lib/klaviyo-api-sdk/api/campaigns_api.rb +14 -20
  218. data/lib/klaviyo-api-sdk/api/catalogs_api.rb +110 -198
  219. data/lib/klaviyo-api-sdk/api/events_api.rb +87 -26
  220. data/lib/klaviyo-api-sdk/api/flows_api.rb +172 -65
  221. data/lib/klaviyo-api-sdk/api/lists_api.rb +99 -57
  222. data/lib/klaviyo-api-sdk/api/profiles_api.rb +121 -36
  223. data/lib/klaviyo-api-sdk/api/segments_api.rb +85 -21
  224. data/lib/klaviyo-api-sdk/api/tags_api.rb +788 -116
  225. data/lib/klaviyo-api-sdk/api/templates_api.rb +2 -2
  226. data/lib/klaviyo-api-sdk/api_client.rb +1 -1
  227. data/lib/klaviyo-api-sdk/models/campaign_clone_query.rb +1 -1
  228. data/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb +238 -0
  229. data/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb +235 -0
  230. data/lib/klaviyo-api-sdk/models/campaign_create_query.rb +1 -1
  231. data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb +238 -0
  232. data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb +291 -0
  233. data/lib/klaviyo-api-sdk/models/campaign_enum.rb +36 -0
  234. data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb +1 -1
  235. data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb +238 -0
  236. data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_attributes.rb +240 -0
  237. data/lib/klaviyo-api-sdk/models/campaign_message_enum.rb +36 -0
  238. data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb +1 -1
  239. data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb +253 -0
  240. data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb +229 -0
  241. data/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb +1 -1
  242. data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb +253 -0
  243. data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb +256 -0
  244. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_enum.rb +36 -0
  245. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb +1 -1
  246. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb +238 -0
  247. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object_attributes.rb +225 -0
  248. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb +36 -0
  249. data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb +1 -1
  250. data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb +238 -0
  251. data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object_attributes.rb +225 -0
  252. data/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb +36 -0
  253. data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb +1 -1
  254. data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb +253 -0
  255. data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb +225 -0
  256. data/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb +36 -0
  257. data/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb +36 -0
  258. data/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb +36 -0
  259. data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb +1 -1
  260. data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb +238 -0
  261. data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb +227 -0
  262. data/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb +1 -1
  263. data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb +247 -0
  264. data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb +296 -0
  265. data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb +1 -1
  266. data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb +238 -0
  267. data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb +227 -0
  268. data/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb +239 -0
  269. data/lib/klaviyo-api-sdk/models/catalog_category_enum.rb +36 -0
  270. data/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb +1 -1
  271. data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb +1 -1
  272. data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb +238 -0
  273. data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb +227 -0
  274. data/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb +1 -1
  275. data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb +262 -0
  276. data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb +220 -0
  277. data/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb +36 -0
  278. data/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb +36 -0
  279. data/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb +36 -0
  280. data/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb +1 -1
  281. data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb +1 -1
  282. data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb +238 -0
  283. data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb +227 -0
  284. data/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb +1 -1
  285. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb +247 -0
  286. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb +390 -0
  287. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb +219 -0
  288. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb +226 -0
  289. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb +272 -0
  290. data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb +1 -1
  291. data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb +238 -0
  292. data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb +227 -0
  293. data/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb +239 -0
  294. data/lib/klaviyo-api-sdk/models/catalog_item_enum.rb +36 -0
  295. data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb +1 -1
  296. data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb +238 -0
  297. data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb +227 -0
  298. data/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb +1 -1
  299. data/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb +262 -0
  300. data/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb +302 -0
  301. data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb +36 -0
  302. data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb +36 -0
  303. data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb +36 -0
  304. data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb +1 -1
  305. data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb +238 -0
  306. data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb +227 -0
  307. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb +1 -1
  308. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb +247 -0
  309. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb +447 -0
  310. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb +219 -0
  311. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_items.rb +226 -0
  312. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_items_data_inner.rb +272 -0
  313. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb +1 -1
  314. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb +238 -0
  315. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb +227 -0
  316. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb +239 -0
  317. data/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb +36 -0
  318. data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb +1 -1
  319. data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb +238 -0
  320. data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb +227 -0
  321. data/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb +1 -1
  322. data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb +253 -0
  323. data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb +366 -0
  324. data/lib/klaviyo-api-sdk/models/collection_links.rb +260 -0
  325. data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb +1 -1
  326. data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb +238 -0
  327. data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb +240 -0
  328. data/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb +36 -0
  329. data/lib/klaviyo-api-sdk/models/email_channel.rb +219 -0
  330. data/lib/klaviyo-api-sdk/models/email_marketing.rb +298 -0
  331. data/lib/klaviyo-api-sdk/models/email_marketing_list_suppression.rb +255 -0
  332. data/lib/klaviyo-api-sdk/models/email_marketing_suppression.rb +240 -0
  333. data/lib/klaviyo-api-sdk/models/event_create_query.rb +1 -1
  334. data/lib/klaviyo-api-sdk/models/event_create_query_resource_object.rb +238 -0
  335. data/lib/klaviyo-api-sdk/models/event_create_query_resource_object_attributes.rb +284 -0
  336. data/lib/klaviyo-api-sdk/models/event_enum.rb +36 -0
  337. data/lib/klaviyo-api-sdk/models/flow_action_enum.rb +36 -0
  338. data/lib/klaviyo-api-sdk/models/flow_enum.rb +36 -0
  339. data/lib/klaviyo-api-sdk/models/flow_message_enum.rb +36 -0
  340. data/lib/klaviyo-api-sdk/models/flow_update_query.rb +1 -1
  341. data/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb +253 -0
  342. data/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb +225 -0
  343. data/lib/klaviyo-api-sdk/models/list_create_query.rb +1 -1
  344. data/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb +238 -0
  345. data/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb +225 -0
  346. data/lib/klaviyo-api-sdk/models/list_enum.rb +36 -0
  347. data/lib/klaviyo-api-sdk/models/list_partial_update_query.rb +1 -1
  348. data/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb +253 -0
  349. data/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb +36 -0
  350. data/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb +1 -1
  351. data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb +238 -0
  352. data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb +388 -0
  353. data/lib/klaviyo-api-sdk/models/metric_enum.rb +36 -0
  354. data/lib/klaviyo-api-sdk/models/object_links.rb +224 -0
  355. data/lib/klaviyo-api-sdk/models/onsite_profile_create_query.rb +1 -1
  356. data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb +247 -0
  357. data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb +318 -0
  358. data/lib/klaviyo-api-sdk/models/onsite_subscription_create_query.rb +1 -1
  359. data/lib/klaviyo-api-sdk/models/onsite_subscription_create_query_resource_object.rb +238 -0
  360. data/lib/klaviyo-api-sdk/models/onsite_subscription_create_query_resource_object_attributes.rb +265 -0
  361. data/lib/klaviyo-api-sdk/models/predictive_analytics.rb +300 -0
  362. data/lib/klaviyo-api-sdk/models/profile_aggregate_enum.rb +36 -0
  363. data/lib/klaviyo-api-sdk/models/profile_create_query.rb +1 -1
  364. data/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb +238 -0
  365. data/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb +309 -0
  366. data/lib/klaviyo-api-sdk/models/profile_enum.rb +36 -0
  367. data/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb +1 -1
  368. data/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb +253 -0
  369. data/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb +36 -0
  370. data/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb +36 -0
  371. data/lib/klaviyo-api-sdk/models/profile_unsubscription_bulk_create_job_enum.rb +36 -0
  372. data/lib/klaviyo-api-sdk/models/profile_unsuppression_bulk_create_job_enum.rb +36 -0
  373. data/lib/klaviyo-api-sdk/models/segment_enum.rb +36 -0
  374. data/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb +1 -1
  375. data/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb +252 -0
  376. data/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb +224 -0
  377. data/lib/klaviyo-api-sdk/models/sms_channel.rb +219 -0
  378. data/lib/klaviyo-api-sdk/models/sms_marketing.rb +270 -0
  379. data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb +1 -1
  380. data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb +238 -0
  381. data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb +252 -0
  382. data/lib/klaviyo-api-sdk/models/subscription_enum.rb +36 -0
  383. data/lib/klaviyo-api-sdk/models/subscriptions.rb +228 -0
  384. data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb +1 -1
  385. data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb +238 -0
  386. data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb +227 -0
  387. data/lib/klaviyo-api-sdk/models/tag_campaign_op.rb +226 -0
  388. data/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb +272 -0
  389. data/lib/klaviyo-api-sdk/models/tag_create_query.rb +1 -1
  390. data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb +238 -0
  391. data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_attributes.rb +235 -0
  392. data/lib/klaviyo-api-sdk/models/tag_enum.rb +36 -0
  393. data/lib/klaviyo-api-sdk/models/tag_flow_op.rb +226 -0
  394. data/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb +272 -0
  395. data/lib/klaviyo-api-sdk/models/tag_group_create_query.rb +1 -1
  396. data/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb +238 -0
  397. data/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb +234 -0
  398. data/lib/klaviyo-api-sdk/models/tag_group_enum.rb +36 -0
  399. data/lib/klaviyo-api-sdk/models/tag_group_update_query.rb +1 -1
  400. data/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb +253 -0
  401. data/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb +236 -0
  402. data/lib/klaviyo-api-sdk/models/tag_list_op.rb +226 -0
  403. data/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb +272 -0
  404. data/lib/klaviyo-api-sdk/models/tag_update_query.rb +1 -1
  405. data/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb +253 -0
  406. data/lib/klaviyo-api-sdk/models/tag_update_query_resource_object_attributes.rb +225 -0
  407. data/lib/klaviyo-api-sdk/models/template_clone_query.rb +1 -1
  408. data/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb +238 -0
  409. data/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb +247 -0
  410. data/lib/klaviyo-api-sdk/models/template_create_query.rb +1 -1
  411. data/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb +238 -0
  412. data/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb +272 -0
  413. data/lib/klaviyo-api-sdk/models/template_enum.rb +36 -0
  414. data/lib/klaviyo-api-sdk/models/template_render_query.rb +1 -1
  415. data/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb +238 -0
  416. data/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb +252 -0
  417. data/lib/klaviyo-api-sdk/models/template_update_query.rb +1 -1
  418. data/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb +253 -0
  419. data/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb +252 -0
  420. data/lib/klaviyo-api-sdk/models/test_api_analytics_sample_enum.rb +36 -0
  421. data/lib/klaviyo-api-sdk/models/test_list_enum.rb +36 -0
  422. data/lib/klaviyo-api-sdk/models/unsubscription_create_job_create_query.rb +1 -1
  423. data/lib/klaviyo-api-sdk/models/unsubscription_create_job_create_query_resource_object.rb +238 -0
  424. data/lib/klaviyo-api-sdk/models/unsubscription_create_job_create_query_resource_object_attributes.rb +244 -0
  425. data/lib/klaviyo-api-sdk/models/unsuppression_create_job_create_query.rb +1 -1
  426. data/lib/klaviyo-api-sdk/models/unsuppression_create_job_create_query_resource_object.rb +238 -0
  427. data/lib/klaviyo-api-sdk/models/unsuppression_create_job_create_query_resource_object_attributes.rb +227 -0
  428. data/lib/klaviyo-api-sdk.rb +153 -123
  429. data/spec/api/campaigns_api_spec.rb +5 -34
  430. data/spec/api/catalogs_api_spec.rb +162 -170
  431. data/spec/api/client_api_spec.rb +3 -3
  432. data/spec/api/data_privacy_api_spec.rb +1 -1
  433. data/spec/api/events_api_spec.rb +33 -21
  434. data/spec/api/flows_api_spec.rb +76 -49
  435. data/spec/api/lists_api_spec.rb +38 -27
  436. data/spec/api/metrics_api_spec.rb +8 -8
  437. data/spec/api/profiles_api_spec.rb +41 -25
  438. data/spec/api/segments_api_spec.rb +30 -17
  439. data/spec/api/tags_api_spec.rb +155 -33
  440. data/spec/api/templates_api_spec.rb +12 -14
  441. data/spec/models/audiences_sub_object_spec.rb +1 -1
  442. data/spec/models/campaign_clone_query_resource_object_attributes_spec.rb +40 -0
  443. data/spec/models/campaign_clone_query_resource_object_spec.rb +40 -0
  444. data/spec/models/campaign_clone_query_spec.rb +1 -1
  445. data/spec/models/campaign_create_query_resource_object_attributes_spec.rb +64 -0
  446. data/spec/models/campaign_create_query_resource_object_spec.rb +40 -0
  447. data/spec/models/campaign_create_query_spec.rb +1 -1
  448. data/spec/models/campaign_enum_spec.rb +28 -0
  449. data/spec/models/campaign_message_assign_template_query_resource_object_attributes_spec.rb +40 -0
  450. data/spec/models/campaign_message_assign_template_query_resource_object_spec.rb +40 -0
  451. data/spec/models/campaign_message_assign_template_query_spec.rb +1 -1
  452. data/spec/models/campaign_message_enum_spec.rb +28 -0
  453. data/spec/models/campaign_message_partial_update_query_resource_object_attributes_spec.rb +40 -0
  454. data/spec/models/campaign_message_partial_update_query_resource_object_spec.rb +46 -0
  455. data/spec/models/campaign_message_partial_update_query_spec.rb +1 -1
  456. data/spec/models/campaign_partial_update_query_resource_object_attributes_spec.rb +58 -0
  457. data/spec/models/campaign_partial_update_query_resource_object_spec.rb +46 -0
  458. data/spec/models/campaign_partial_update_query_spec.rb +1 -1
  459. data/spec/models/campaign_recipient_estimation_enum_spec.rb +28 -0
  460. data/spec/models/campaign_recipient_estimation_job_create_query_resource_object_attributes_spec.rb +34 -0
  461. data/spec/models/campaign_recipient_estimation_job_create_query_resource_object_spec.rb +40 -0
  462. data/spec/models/campaign_recipient_estimation_job_enum_spec.rb +28 -0
  463. data/spec/models/campaign_send_job_create_query_resource_object_attributes_spec.rb +34 -0
  464. data/spec/models/campaign_send_job_create_query_resource_object_spec.rb +40 -0
  465. data/spec/models/campaign_send_job_create_query_spec.rb +1 -1
  466. data/spec/models/campaign_send_job_enum_spec.rb +28 -0
  467. data/spec/models/campaign_send_job_partial_update_query_resource_object_attributes_spec.rb +34 -0
  468. data/spec/models/campaign_send_job_partial_update_query_resource_object_spec.rb +46 -0
  469. data/spec/models/campaign_send_job_partial_update_query_spec.rb +1 -1
  470. data/spec/models/catalog_category_bulk_create_job_enum_spec.rb +28 -0
  471. data/spec/models/catalog_category_bulk_delete_job_enum_spec.rb +28 -0
  472. data/spec/models/catalog_category_bulk_update_job_enum_spec.rb +28 -0
  473. data/spec/models/catalog_category_create_job_create_query_resource_object_attributes_spec.rb +34 -0
  474. data/spec/models/catalog_category_create_job_create_query_resource_object_spec.rb +40 -0
  475. data/spec/models/catalog_category_create_job_create_query_spec.rb +1 -1
  476. data/spec/models/catalog_category_create_query_resource_object_attributes_spec.rb +56 -0
  477. data/spec/models/catalog_category_create_query_resource_object_spec.rb +46 -0
  478. data/spec/models/catalog_category_create_query_spec.rb +1 -1
  479. data/spec/models/catalog_category_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
  480. data/spec/models/catalog_category_delete_job_create_query_resource_object_spec.rb +40 -0
  481. data/spec/models/catalog_category_delete_job_create_query_spec.rb +1 -1
  482. data/spec/models/catalog_category_delete_query_resource_object_spec.rb +40 -0
  483. data/spec/models/catalog_category_enum_spec.rb +28 -0
  484. data/spec/models/catalog_category_item_op_spec.rb +1 -1
  485. data/spec/models/catalog_category_update_job_create_query_resource_object_attributes_spec.rb +34 -0
  486. data/spec/models/catalog_category_update_job_create_query_resource_object_spec.rb +40 -0
  487. data/spec/models/catalog_category_update_job_create_query_spec.rb +1 -1
  488. data/spec/models/catalog_category_update_query_resource_object_attributes_spec.rb +34 -0
  489. data/spec/models/catalog_category_update_query_resource_object_spec.rb +52 -0
  490. data/spec/models/catalog_category_update_query_spec.rb +1 -1
  491. data/spec/models/catalog_item_bulk_create_job_enum_spec.rb +28 -0
  492. data/spec/models/catalog_item_bulk_delete_job_enum_spec.rb +28 -0
  493. data/spec/models/catalog_item_bulk_update_job_enum_spec.rb +28 -0
  494. data/spec/models/catalog_item_category_op_spec.rb +1 -1
  495. data/spec/models/catalog_item_create_job_create_query_resource_object_attributes_spec.rb +34 -0
  496. data/spec/models/catalog_item_create_job_create_query_resource_object_spec.rb +40 -0
  497. data/spec/models/catalog_item_create_job_create_query_spec.rb +1 -1
  498. data/spec/models/catalog_item_create_query_resource_object_attributes_spec.rb +104 -0
  499. data/spec/models/catalog_item_create_query_resource_object_relationships_categories_data_inner_spec.rb +44 -0
  500. data/spec/models/catalog_item_create_query_resource_object_relationships_categories_spec.rb +34 -0
  501. data/spec/models/catalog_item_create_query_resource_object_relationships_spec.rb +34 -0
  502. data/spec/models/catalog_item_create_query_resource_object_spec.rb +46 -0
  503. data/spec/models/catalog_item_create_query_spec.rb +1 -1
  504. data/spec/models/catalog_item_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
  505. data/spec/models/catalog_item_delete_job_create_query_resource_object_spec.rb +40 -0
  506. data/spec/models/catalog_item_delete_job_create_query_spec.rb +1 -1
  507. data/spec/models/catalog_item_delete_query_resource_object_spec.rb +40 -0
  508. data/spec/models/catalog_item_enum_spec.rb +28 -0
  509. data/spec/models/catalog_item_update_job_create_query_resource_object_attributes_spec.rb +34 -0
  510. data/spec/models/catalog_item_update_job_create_query_resource_object_spec.rb +40 -0
  511. data/spec/models/catalog_item_update_job_create_query_spec.rb +1 -1
  512. data/spec/models/catalog_item_update_query_resource_object_attributes_spec.rb +82 -0
  513. data/spec/models/catalog_item_update_query_resource_object_spec.rb +52 -0
  514. data/spec/models/catalog_item_update_query_spec.rb +1 -1
  515. data/spec/models/catalog_job_error_payload_spec.rb +1 -1
  516. data/spec/models/catalog_variant_bulk_create_job_enum_spec.rb +28 -0
  517. data/spec/models/catalog_variant_bulk_delete_job_enum_spec.rb +28 -0
  518. data/spec/models/catalog_variant_bulk_update_job_enum_spec.rb +28 -0
  519. data/spec/models/catalog_variant_create_job_create_query_resource_object_attributes_spec.rb +34 -0
  520. data/spec/models/catalog_variant_create_job_create_query_resource_object_spec.rb +40 -0
  521. data/spec/models/catalog_variant_create_job_create_query_spec.rb +1 -1
  522. data/spec/models/catalog_variant_create_query_resource_object_attributes_spec.rb +126 -0
  523. data/spec/models/catalog_variant_create_query_resource_object_relationships_items_data_inner_spec.rb +44 -0
  524. data/spec/models/catalog_variant_create_query_resource_object_relationships_items_spec.rb +34 -0
  525. data/spec/models/catalog_variant_create_query_resource_object_relationships_spec.rb +34 -0
  526. data/spec/models/catalog_variant_create_query_resource_object_spec.rb +46 -0
  527. data/spec/models/catalog_variant_create_query_spec.rb +1 -1
  528. data/spec/models/catalog_variant_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
  529. data/spec/models/catalog_variant_delete_job_create_query_resource_object_spec.rb +40 -0
  530. data/spec/models/catalog_variant_delete_job_create_query_spec.rb +1 -1
  531. data/spec/models/catalog_variant_delete_query_resource_object_spec.rb +40 -0
  532. data/spec/models/catalog_variant_enum_spec.rb +28 -0
  533. data/spec/models/catalog_variant_update_job_create_query_resource_object_attributes_spec.rb +34 -0
  534. data/spec/models/catalog_variant_update_job_create_query_resource_object_spec.rb +40 -0
  535. data/spec/models/catalog_variant_update_job_create_query_spec.rb +1 -1
  536. data/spec/models/catalog_variant_update_query_resource_object_attributes_spec.rb +104 -0
  537. data/spec/models/catalog_variant_update_query_resource_object_spec.rb +46 -0
  538. data/spec/models/catalog_variant_update_query_spec.rb +1 -1
  539. data/spec/models/collection_links_spec.rb +58 -0
  540. data/spec/models/content_sub_object_spec.rb +1 -1
  541. data/spec/models/data_privacy_create_deletion_job_query_resource_object_attributes_spec.rb +46 -0
  542. data/spec/models/data_privacy_create_deletion_job_query_resource_object_spec.rb +40 -0
  543. data/spec/models/data_privacy_create_deletion_job_query_spec.rb +1 -1
  544. data/spec/models/data_privacy_deletion_job_enum_spec.rb +28 -0
  545. data/spec/models/email_channel_spec.rb +34 -0
  546. data/spec/models/email_marketing_list_suppression_spec.rb +46 -0
  547. data/spec/models/email_marketing_spec.rb +76 -0
  548. data/spec/models/email_marketing_suppression_spec.rb +40 -0
  549. data/spec/models/email_message_content_spec.rb +1 -1
  550. data/spec/models/email_tracking_options_spec.rb +1 -1
  551. data/spec/models/error_source_spec.rb +1 -1
  552. data/spec/models/event_create_query_resource_object_attributes_spec.rb +64 -0
  553. data/spec/models/event_create_query_resource_object_spec.rb +40 -0
  554. data/spec/models/event_create_query_spec.rb +1 -1
  555. data/spec/models/event_enum_spec.rb +28 -0
  556. data/spec/models/flow_action_enum_spec.rb +28 -0
  557. data/spec/models/flow_enum_spec.rb +28 -0
  558. data/spec/models/flow_message_enum_spec.rb +28 -0
  559. data/spec/models/flow_update_query_resource_object_attributes_spec.rb +34 -0
  560. data/spec/models/flow_update_query_resource_object_spec.rb +46 -0
  561. data/spec/models/flow_update_query_spec.rb +1 -1
  562. data/spec/models/list_create_query_resource_object_attributes_spec.rb +34 -0
  563. data/spec/models/list_create_query_resource_object_spec.rb +40 -0
  564. data/spec/models/list_create_query_spec.rb +1 -1
  565. data/spec/models/list_enum_spec.rb +28 -0
  566. data/spec/models/list_members_add_query_data_inner_spec.rb +1 -1
  567. data/spec/models/list_members_add_query_spec.rb +1 -1
  568. data/spec/models/list_members_delete_query_spec.rb +1 -1
  569. data/spec/models/list_partial_update_query_resource_object_spec.rb +46 -0
  570. data/spec/models/list_partial_update_query_spec.rb +1 -1
  571. data/spec/models/metric_aggregate_enum_spec.rb +28 -0
  572. data/spec/models/metric_aggregate_query_resource_object_attributes_spec.rb +104 -0
  573. data/spec/models/metric_aggregate_query_resource_object_spec.rb +40 -0
  574. data/spec/models/metric_aggregate_query_spec.rb +1 -1
  575. data/spec/models/metric_aggregate_row_dto_spec.rb +1 -1
  576. data/spec/models/metric_create_query_spec.rb +1 -1
  577. data/spec/models/metric_enum_spec.rb +28 -0
  578. data/spec/models/object_links_spec.rb +34 -0
  579. data/spec/models/onsite_profile_create_query_resource_object_attributes_spec.rb +94 -0
  580. data/spec/models/onsite_profile_create_query_resource_object_spec.rb +46 -0
  581. data/spec/models/onsite_profile_create_query_spec.rb +1 -1
  582. data/spec/models/onsite_profile_meta_identifiers_spec.rb +4 -4
  583. data/spec/models/onsite_profile_meta_spec.rb +1 -1
  584. data/spec/models/onsite_subscription_create_query_resource_object_attributes_spec.rb +58 -0
  585. data/spec/models/onsite_subscription_create_query_resource_object_spec.rb +40 -0
  586. data/spec/models/onsite_subscription_create_query_spec.rb +1 -1
  587. data/spec/models/predictive_analytics_spec.rb +82 -0
  588. data/spec/models/profile_aggregate_enum_spec.rb +28 -0
  589. data/spec/models/profile_create_query_resource_object_attributes_spec.rb +88 -0
  590. data/spec/models/profile_create_query_resource_object_spec.rb +40 -0
  591. data/spec/models/profile_create_query_spec.rb +1 -1
  592. data/spec/models/profile_enum_spec.rb +28 -0
  593. data/spec/models/profile_location_latitude_spec.rb +1 -1
  594. data/spec/models/profile_location_spec.rb +1 -1
  595. data/spec/models/profile_partial_update_query_resource_object_spec.rb +46 -0
  596. data/spec/models/profile_partial_update_query_spec.rb +1 -1
  597. data/spec/models/profile_subscription_bulk_create_job_enum_spec.rb +28 -0
  598. data/spec/models/profile_suppression_bulk_create_job_enum_spec.rb +28 -0
  599. data/spec/models/profile_unsubscription_bulk_create_job_enum_spec.rb +28 -0
  600. data/spec/models/profile_unsuppression_bulk_create_job_enum_spec.rb +28 -0
  601. data/spec/models/segment_enum_spec.rb +28 -0
  602. data/spec/models/segment_partial_update_query_resource_object_attributes_spec.rb +34 -0
  603. data/spec/models/segment_partial_update_query_resource_object_spec.rb +46 -0
  604. data/spec/models/segment_partial_update_query_spec.rb +1 -1
  605. data/spec/models/send_options_spec.rb +1 -1
  606. data/spec/models/send_options_sub_object_spec.rb +1 -7
  607. data/spec/models/send_strategy_sub_object_spec.rb +7 -1
  608. data/spec/models/send_time_sub_object_spec.rb +1 -1
  609. data/spec/models/sms_channel_spec.rb +34 -0
  610. data/spec/models/sms_marketing_spec.rb +52 -0
  611. data/spec/models/sms_message_content_spec.rb +1 -1
  612. data/spec/models/sms_render_options_spec.rb +1 -1
  613. data/spec/models/sms_tracking_options_spec.rb +1 -1
  614. data/spec/models/static_schedule_options_spec.rb +1 -1
  615. data/spec/models/subscription_create_job_create_query_resource_object_attributes_spec.rb +46 -0
  616. data/spec/models/subscription_create_job_create_query_resource_object_spec.rb +40 -0
  617. data/spec/models/subscription_create_job_create_query_spec.rb +1 -1
  618. data/spec/models/subscription_enum_spec.rb +28 -0
  619. data/spec/models/subscription_spec.rb +13 -1
  620. data/spec/models/subscriptions_spec.rb +40 -0
  621. data/spec/models/suppression_create_job_create_query_resource_object_attributes_spec.rb +34 -0
  622. data/spec/models/suppression_create_job_create_query_resource_object_spec.rb +40 -0
  623. data/spec/models/suppression_create_job_create_query_spec.rb +1 -1
  624. data/spec/models/suppression_spec.rb +1 -1
  625. data/spec/models/tag_campaign_op_data_inner_spec.rb +44 -0
  626. data/spec/models/tag_campaign_op_spec.rb +34 -0
  627. data/spec/models/tag_create_query_resource_object_attributes_spec.rb +40 -0
  628. data/spec/models/tag_create_query_resource_object_spec.rb +40 -0
  629. data/spec/models/tag_create_query_spec.rb +1 -1
  630. data/spec/models/tag_enum_spec.rb +28 -0
  631. data/spec/models/tag_flow_op_data_inner_spec.rb +44 -0
  632. data/spec/models/tag_flow_op_spec.rb +34 -0
  633. data/spec/models/tag_group_create_query_resource_object_attributes_spec.rb +40 -0
  634. data/spec/models/tag_group_create_query_resource_object_spec.rb +40 -0
  635. data/spec/models/tag_group_create_query_spec.rb +1 -1
  636. data/spec/models/tag_group_enum_spec.rb +28 -0
  637. data/spec/models/tag_group_update_query_resource_object_attributes_spec.rb +40 -0
  638. data/spec/models/tag_group_update_query_resource_object_spec.rb +46 -0
  639. data/spec/models/tag_group_update_query_spec.rb +1 -1
  640. data/spec/models/tag_list_op_data_inner_spec.rb +44 -0
  641. data/spec/models/tag_list_op_spec.rb +34 -0
  642. data/spec/models/tag_segment_op_data_inner_spec.rb +1 -1
  643. data/spec/models/tag_segment_op_spec.rb +1 -1
  644. data/spec/models/tag_update_query_resource_object_attributes_spec.rb +34 -0
  645. data/spec/models/tag_update_query_resource_object_spec.rb +46 -0
  646. data/spec/models/tag_update_query_spec.rb +1 -1
  647. data/spec/models/template_clone_query_resource_object_attributes_spec.rb +46 -0
  648. data/spec/models/template_clone_query_resource_object_spec.rb +40 -0
  649. data/spec/models/template_clone_query_spec.rb +1 -1
  650. data/spec/models/template_create_query_resource_object_attributes_spec.rb +58 -0
  651. data/spec/models/template_create_query_resource_object_spec.rb +40 -0
  652. data/spec/models/template_create_query_spec.rb +1 -1
  653. data/spec/models/template_enum_spec.rb +28 -0
  654. data/spec/models/template_render_query_resource_object_attributes_spec.rb +46 -0
  655. data/spec/models/template_render_query_resource_object_spec.rb +40 -0
  656. data/spec/models/template_render_query_spec.rb +1 -1
  657. data/spec/models/template_update_query_resource_object_attributes_spec.rb +52 -0
  658. data/spec/models/template_update_query_resource_object_spec.rb +46 -0
  659. data/spec/models/template_update_query_spec.rb +1 -1
  660. data/spec/models/test_api_analytics_sample_enum_spec.rb +28 -0
  661. data/spec/models/test_list_enum_spec.rb +28 -0
  662. data/spec/models/throttled_schedule_options_spec.rb +1 -1
  663. data/spec/models/tracking_options_sub_object_spec.rb +1 -1
  664. data/spec/models/unsubscription_create_job_create_query_resource_object_attributes_spec.rb +46 -0
  665. data/spec/models/unsubscription_create_job_create_query_resource_object_spec.rb +40 -0
  666. data/spec/models/unsubscription_create_job_create_query_spec.rb +1 -1
  667. data/spec/models/unsuppression_create_job_create_query_resource_object_attributes_spec.rb +34 -0
  668. data/spec/models/unsuppression_create_job_create_query_resource_object_spec.rb +40 -0
  669. data/spec/models/unsuppression_create_job_create_query_spec.rb +1 -1
  670. data/spec/models/utm_param_info_spec.rb +1 -1
  671. data/spec/models/utm_params_sub_object_spec.rb +1 -1
  672. metadata +466 -394
  673. data/CHANGELOG.md +0 -41
  674. data/docs/CampaignCloneQueryAsSubResource.md +0 -20
  675. data/docs/CampaignCloneQueryAsSubResourceAttributes.md +0 -20
  676. data/docs/CampaignCreateQueryAsSubResource.md +0 -20
  677. data/docs/CampaignCreateQueryAsSubResourceAttributes.md +0 -28
  678. data/docs/CampaignMessageAssignTemplateQueryAsSubResource.md +0 -20
  679. data/docs/CampaignMessageAssignTemplateQueryAsSubResourceAttributes.md +0 -20
  680. data/docs/CampaignMessagePartialUpdateQueryAsSubResource.md +0 -22
  681. data/docs/CampaignMessagePartialUpdateQueryAsSubResourceAttributes.md +0 -20
  682. data/docs/CampaignPartialUpdateQueryAsSubResource.md +0 -22
  683. data/docs/CampaignPartialUpdateQueryAsSubResourceAttributes.md +0 -26
  684. data/docs/CampaignRecipientEstimationJobCreateQueryAsSubResource.md +0 -20
  685. data/docs/CampaignRecipientEstimationJobCreateQueryAsSubResourceAttributes.md +0 -18
  686. data/docs/CampaignSendJobCreateQueryAsSubResource.md +0 -20
  687. data/docs/CampaignSendJobCreateQueryAsSubResourceAttributes.md +0 -18
  688. data/docs/CampaignSendJobPartialUpdateQueryAsSubResource.md +0 -22
  689. data/docs/CampaignSendJobPartialUpdateQueryAsSubResourceAttributes.md +0 -18
  690. data/docs/CampaignTagOp.md +0 -18
  691. data/docs/CampaignTagOpDataInner.md +0 -20
  692. data/docs/CatalogCategoryCreateJobCreateQueryAsSubResource.md +0 -20
  693. data/docs/CatalogCategoryCreateJobCreateQueryAsSubResourceAttributes.md +0 -18
  694. data/docs/CatalogCategoryCreateQueryAsSubResource.md +0 -22
  695. data/docs/CatalogCategoryCreateQueryAsSubResourceAttributes.md +0 -24
  696. data/docs/CatalogCategoryDeleteJobCreateQueryAsSubResource.md +0 -20
  697. data/docs/CatalogCategoryDeleteJobCreateQueryAsSubResourceAttributes.md +0 -18
  698. data/docs/CatalogCategoryDeleteQueryAsSubResource.md +0 -20
  699. data/docs/CatalogCategoryUpdateJobCreateQueryAsSubResource.md +0 -20
  700. data/docs/CatalogCategoryUpdateJobCreateQueryAsSubResourceAttributes.md +0 -18
  701. data/docs/CatalogCategoryUpdateQueryAsSubResource.md +0 -24
  702. data/docs/CatalogCategoryUpdateQueryAsSubResourceAttributes.md +0 -18
  703. data/docs/CatalogItemCreateJobCreateQueryAsSubResource.md +0 -20
  704. data/docs/CatalogItemCreateJobCreateQueryAsSubResourceAttributes.md +0 -18
  705. data/docs/CatalogItemCreateQueryAsSubResource.md +0 -22
  706. data/docs/CatalogItemCreateQueryAsSubResourceAttributes.md +0 -40
  707. data/docs/CatalogItemCreateQueryAsSubResourceRelationships.md +0 -18
  708. data/docs/CatalogItemCreateQueryAsSubResourceRelationshipsCategories.md +0 -18
  709. data/docs/CatalogItemCreateQueryAsSubResourceRelationshipsCategoriesDataInner.md +0 -20
  710. data/docs/CatalogItemDeleteJobCreateQueryAsSubResource.md +0 -20
  711. data/docs/CatalogItemDeleteJobCreateQueryAsSubResourceAttributes.md +0 -18
  712. data/docs/CatalogItemDeleteQueryAsSubResource.md +0 -20
  713. data/docs/CatalogItemUpdateJobCreateQueryAsSubResource.md +0 -20
  714. data/docs/CatalogItemUpdateJobCreateQueryAsSubResourceAttributes.md +0 -18
  715. data/docs/CatalogItemUpdateQueryAsSubResource.md +0 -24
  716. data/docs/CatalogItemUpdateQueryAsSubResourceAttributes.md +0 -34
  717. data/docs/CatalogVariantCreateJobCreateQueryAsSubResource.md +0 -20
  718. data/docs/CatalogVariantCreateJobCreateQueryAsSubResourceAttributes.md +0 -18
  719. data/docs/CatalogVariantCreateQueryAsSubResource.md +0 -22
  720. data/docs/CatalogVariantCreateQueryAsSubResourceAttributes.md +0 -46
  721. data/docs/CatalogVariantCreateQueryAsSubResourceRelationships.md +0 -18
  722. data/docs/CatalogVariantCreateQueryAsSubResourceRelationshipsItems.md +0 -18
  723. data/docs/CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner.md +0 -20
  724. data/docs/CatalogVariantDeleteJobCreateQueryAsSubResource.md +0 -20
  725. data/docs/CatalogVariantDeleteJobCreateQueryAsSubResourceAttributes.md +0 -18
  726. data/docs/CatalogVariantDeleteQueryAsSubResource.md +0 -20
  727. data/docs/CatalogVariantUpdateJobCreateQueryAsSubResource.md +0 -20
  728. data/docs/CatalogVariantUpdateJobCreateQueryAsSubResourceAttributes.md +0 -18
  729. data/docs/CatalogVariantUpdateQueryAsSubResource.md +0 -22
  730. data/docs/CatalogVariantUpdateQueryAsSubResourceAttributes.md +0 -38
  731. data/docs/DataPrivacyCreateDeletionJobQueryAsSubResource.md +0 -20
  732. data/docs/DataPrivacyCreateDeletionJobQueryAsSubResourceAttributes.md +0 -22
  733. data/docs/EventCreateQueryAsSubResource.md +0 -20
  734. data/docs/EventCreateQueryAsSubResourceAttributes.md +0 -28
  735. data/docs/FlowUpdateQueryAsSubResource.md +0 -22
  736. data/docs/FlowUpdateQueryAsSubResourceAttributes.md +0 -18
  737. data/docs/GetCatalogItems4XXResponse.md +0 -18
  738. data/docs/GetCatalogItems4XXResponseErrorsInner.md +0 -26
  739. data/docs/GetCatalogItems4XXResponseErrorsInnerSource.md +0 -20
  740. data/docs/IncludedCategories.md +0 -24
  741. data/docs/IncludedCategoriesAttributes.md +0 -22
  742. data/docs/IncludedFlowAction.md +0 -24
  743. data/docs/IncludedFlowActions.md +0 -24
  744. data/docs/IncludedFlowActionsAttributes.md +0 -32
  745. data/docs/IncludedFlowActionsAttributesTrackingOptions.md +0 -49
  746. data/docs/IncludedFlowMessages.md +0 -24
  747. data/docs/IncludedFlowMessagesAttributes.md +0 -26
  748. data/docs/IncludedFlowMessagesAttributesContent.md +0 -49
  749. data/docs/IncludedFlows.md +0 -24
  750. data/docs/IncludedFlowsAttributes.md +0 -28
  751. data/docs/IncludedItems.md +0 -24
  752. data/docs/IncludedItemsAttributes.md +0 -40
  753. data/docs/IncludedLists.md +0 -24
  754. data/docs/IncludedListsAttributes.md +0 -22
  755. data/docs/IncludedMetrics.md +0 -24
  756. data/docs/IncludedMetricsAttributes.md +0 -24
  757. data/docs/IncludedProfiles.md +0 -24
  758. data/docs/IncludedProfilesAttributes.md +0 -44
  759. data/docs/IncludedSegments.md +0 -24
  760. data/docs/IncludedSegmentsAttributes.md +0 -22
  761. data/docs/IncludedTags.md +0 -24
  762. data/docs/IncludedVariants.md +0 -24
  763. data/docs/IncludedVariantsAttributes.md +0 -46
  764. data/docs/IncludedVariantsLinks.md +0 -18
  765. data/docs/ListCreateQueryAsSubResource.md +0 -20
  766. data/docs/ListCreateQueryAsSubResourceAttributes.md +0 -18
  767. data/docs/ListPartialUpdateQueryAsSubResource.md +0 -22
  768. data/docs/MetricAggregateQueryAsSubResource.md +0 -20
  769. data/docs/MetricAggregateQueryAsSubResourceAttributes.md +0 -36
  770. data/docs/OnsiteProfileCreateQueryAsSubResource.md +0 -22
  771. data/docs/OnsiteSubscriptionCreateQueryAsSubResource.md +0 -20
  772. data/docs/OnsiteSubscriptionCreateQueryAsSubResourceAttributes.md +0 -26
  773. data/docs/ProfileCreateQueryAsSubResource.md +0 -20
  774. data/docs/ProfileCreateQueryAsSubResourceAttributes.md +0 -38
  775. data/docs/ProfilePartialUpdateQueryAsSubResource.md +0 -22
  776. data/docs/SegmentPartialUpdateQueryAsSubResource.md +0 -22
  777. data/docs/SegmentPartialUpdateQueryAsSubResourceAttributes.md +0 -18
  778. data/docs/SubscriptionCreateJobCreateQueryAsSubResource.md +0 -20
  779. data/docs/SubscriptionCreateJobCreateQueryAsSubResourceAttributes.md +0 -22
  780. data/docs/SuppressionCreateJobCreateQueryAsSubResource.md +0 -20
  781. data/docs/SuppressionCreateJobCreateQueryAsSubResourceAttributes.md +0 -18
  782. data/docs/TagCreateQueryAsSubResource.md +0 -20
  783. data/docs/TagCreateQueryAsSubResourceAttributes.md +0 -20
  784. data/docs/TagGroupCreateQueryAsSubResource.md +0 -20
  785. data/docs/TagGroupCreateQueryAsSubResourceAttributes.md +0 -20
  786. data/docs/TagGroupUpdateQueryAsSubResource.md +0 -22
  787. data/docs/TagGroupUpdateQueryAsSubResourceAttributes.md +0 -20
  788. data/docs/TagUpdateQueryAsSubResource.md +0 -22
  789. data/docs/TagUpdateQueryAsSubResourceAttributes.md +0 -18
  790. data/docs/TemplateCloneQueryAsSubResource.md +0 -20
  791. data/docs/TemplateCloneQueryAsSubResourceAttributes.md +0 -22
  792. data/docs/TemplateCreateQueryAsSubResource.md +0 -20
  793. data/docs/TemplateCreateQueryAsSubResourceAttributes.md +0 -32
  794. data/docs/TemplateRenderQueryAsSubResource.md +0 -20
  795. data/docs/TemplateRenderQueryAsSubResourceAttributes.md +0 -22
  796. data/docs/TemplateUpdateQueryAsSubResource.md +0 -22
  797. data/docs/TemplateUpdateQueryAsSubResourceAttributes.md +0 -30
  798. data/docs/UnsubscriptionCreateJobCreateQueryAsSubResource.md +0 -20
  799. data/docs/UnsubscriptionCreateJobCreateQueryAsSubResourceAttributes.md +0 -22
  800. data/docs/UnsuppressionCreateJobCreateQueryAsSubResource.md +0 -20
  801. data/docs/UnsuppressionCreateJobCreateQueryAsSubResourceAttributes.md +0 -18
  802. data/docs/V2TemplateRenderQueryAsSubResource.md +0 -18
  803. data/lib/klaviyo-api-sdk/models/campaign_clone_query_as_sub_resource.rb +0 -272
  804. data/lib/klaviyo-api-sdk/models/campaign_clone_query_as_sub_resource_attributes.rb +0 -235
  805. data/lib/klaviyo-api-sdk/models/campaign_create_query_as_sub_resource.rb +0 -272
  806. data/lib/klaviyo-api-sdk/models/campaign_create_query_as_sub_resource_attributes.rb +0 -291
  807. data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_as_sub_resource.rb +0 -272
  808. data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_as_sub_resource_attributes.rb +0 -240
  809. data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_as_sub_resource.rb +0 -287
  810. data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_as_sub_resource_attributes.rb +0 -229
  811. data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_as_sub_resource.rb +0 -287
  812. data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_as_sub_resource_attributes.rb +0 -256
  813. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_as_sub_resource.rb +0 -272
  814. data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_as_sub_resource_attributes.rb +0 -225
  815. data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_as_sub_resource.rb +0 -272
  816. data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_as_sub_resource_attributes.rb +0 -225
  817. data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_as_sub_resource.rb +0 -287
  818. data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_as_sub_resource_attributes.rb +0 -225
  819. data/lib/klaviyo-api-sdk/models/campaign_tag_op.rb +0 -226
  820. data/lib/klaviyo-api-sdk/models/campaign_tag_op_data_inner.rb +0 -272
  821. data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_as_sub_resource.rb +0 -272
  822. data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_as_sub_resource_attributes.rb +0 -227
  823. data/lib/klaviyo-api-sdk/models/catalog_category_create_query_as_sub_resource.rb +0 -281
  824. data/lib/klaviyo-api-sdk/models/catalog_category_create_query_as_sub_resource_attributes.rb +0 -296
  825. data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_as_sub_resource.rb +0 -272
  826. data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_as_sub_resource_attributes.rb +0 -227
  827. data/lib/klaviyo-api-sdk/models/catalog_category_delete_query_as_sub_resource.rb +0 -273
  828. data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_as_sub_resource.rb +0 -272
  829. data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_as_sub_resource_attributes.rb +0 -227
  830. data/lib/klaviyo-api-sdk/models/catalog_category_update_query_as_sub_resource.rb +0 -296
  831. data/lib/klaviyo-api-sdk/models/catalog_category_update_query_as_sub_resource_attributes.rb +0 -220
  832. data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_as_sub_resource.rb +0 -272
  833. data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_as_sub_resource_attributes.rb +0 -227
  834. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_as_sub_resource.rb +0 -281
  835. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_as_sub_resource_attributes.rb +0 -390
  836. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_as_sub_resource_relationships.rb +0 -219
  837. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_as_sub_resource_relationships_categories.rb +0 -226
  838. data/lib/klaviyo-api-sdk/models/catalog_item_create_query_as_sub_resource_relationships_categories_data_inner.rb +0 -272
  839. data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_as_sub_resource.rb +0 -272
  840. data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_as_sub_resource_attributes.rb +0 -227
  841. data/lib/klaviyo-api-sdk/models/catalog_item_delete_query_as_sub_resource.rb +0 -273
  842. data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_as_sub_resource.rb +0 -272
  843. data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_as_sub_resource_attributes.rb +0 -227
  844. data/lib/klaviyo-api-sdk/models/catalog_item_update_query_as_sub_resource.rb +0 -296
  845. data/lib/klaviyo-api-sdk/models/catalog_item_update_query_as_sub_resource_attributes.rb +0 -302
  846. data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_as_sub_resource.rb +0 -272
  847. data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_as_sub_resource_attributes.rb +0 -227
  848. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_as_sub_resource.rb +0 -281
  849. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_as_sub_resource_attributes.rb +0 -447
  850. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_as_sub_resource_relationships.rb +0 -219
  851. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_as_sub_resource_relationships_items.rb +0 -226
  852. data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_as_sub_resource_relationships_items_data_inner.rb +0 -272
  853. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_as_sub_resource.rb +0 -272
  854. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_as_sub_resource_attributes.rb +0 -227
  855. data/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_as_sub_resource.rb +0 -273
  856. data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_as_sub_resource.rb +0 -272
  857. data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_as_sub_resource_attributes.rb +0 -227
  858. data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_as_sub_resource.rb +0 -287
  859. data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_as_sub_resource_attributes.rb +0 -356
  860. data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_as_sub_resource.rb +0 -272
  861. data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_as_sub_resource_attributes.rb +0 -240
  862. data/lib/klaviyo-api-sdk/models/event_create_query_as_sub_resource.rb +0 -272
  863. data/lib/klaviyo-api-sdk/models/event_create_query_as_sub_resource_attributes.rb +0 -284
  864. data/lib/klaviyo-api-sdk/models/flow_update_query_as_sub_resource.rb +0 -286
  865. data/lib/klaviyo-api-sdk/models/flow_update_query_as_sub_resource_attributes.rb +0 -224
  866. data/lib/klaviyo-api-sdk/models/get_catalog_items4_xx_response.rb +0 -226
  867. data/lib/klaviyo-api-sdk/models/get_catalog_items4_xx_response_errors_inner.rb +0 -275
  868. data/lib/klaviyo-api-sdk/models/get_catalog_items4_xx_response_errors_inner_source.rb +0 -228
  869. data/lib/klaviyo-api-sdk/models/included_categories.rb +0 -301
  870. data/lib/klaviyo-api-sdk/models/included_categories_attributes.rb +0 -240
  871. data/lib/klaviyo-api-sdk/models/included_flow_action.rb +0 -300
  872. data/lib/klaviyo-api-sdk/models/included_flow_actions.rb +0 -300
  873. data/lib/klaviyo-api-sdk/models/included_flow_actions_attributes.rb +0 -282
  874. data/lib/klaviyo-api-sdk/models/included_flow_actions_attributes_tracking_options.rb +0 -105
  875. data/lib/klaviyo-api-sdk/models/included_flow_messages.rb +0 -300
  876. data/lib/klaviyo-api-sdk/models/included_flow_messages_attributes.rb +0 -270
  877. data/lib/klaviyo-api-sdk/models/included_flow_messages_attributes_content.rb +0 -105
  878. data/lib/klaviyo-api-sdk/models/included_flows.rb +0 -300
  879. data/lib/klaviyo-api-sdk/models/included_flows_attributes.rb +0 -264
  880. data/lib/klaviyo-api-sdk/models/included_items.rb +0 -301
  881. data/lib/klaviyo-api-sdk/models/included_items_attributes.rb +0 -332
  882. data/lib/klaviyo-api-sdk/models/included_lists.rb +0 -301
  883. data/lib/klaviyo-api-sdk/models/included_lists_attributes.rb +0 -240
  884. data/lib/klaviyo-api-sdk/models/included_metrics.rb +0 -301
  885. data/lib/klaviyo-api-sdk/models/included_metrics_attributes.rb +0 -250
  886. data/lib/klaviyo-api-sdk/models/included_profiles.rb +0 -301
  887. data/lib/klaviyo-api-sdk/models/included_profiles_attributes.rb +0 -348
  888. data/lib/klaviyo-api-sdk/models/included_segments.rb +0 -300
  889. data/lib/klaviyo-api-sdk/models/included_segments_attributes.rb +0 -240
  890. data/lib/klaviyo-api-sdk/models/included_tags.rb +0 -301
  891. data/lib/klaviyo-api-sdk/models/included_variants.rb +0 -301
  892. data/lib/klaviyo-api-sdk/models/included_variants_attributes.rb +0 -396
  893. data/lib/klaviyo-api-sdk/models/included_variants_links.rb +0 -224
  894. data/lib/klaviyo-api-sdk/models/list_create_query_as_sub_resource.rb +0 -272
  895. data/lib/klaviyo-api-sdk/models/list_create_query_as_sub_resource_attributes.rb +0 -225
  896. data/lib/klaviyo-api-sdk/models/list_partial_update_query_as_sub_resource.rb +0 -287
  897. data/lib/klaviyo-api-sdk/models/metric_aggregate_query_as_sub_resource.rb +0 -272
  898. data/lib/klaviyo-api-sdk/models/metric_aggregate_query_as_sub_resource_attributes.rb +0 -388
  899. data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_as_sub_resource.rb +0 -281
  900. data/lib/klaviyo-api-sdk/models/onsite_subscription_create_query_as_sub_resource.rb +0 -272
  901. data/lib/klaviyo-api-sdk/models/onsite_subscription_create_query_as_sub_resource_attributes.rb +0 -265
  902. data/lib/klaviyo-api-sdk/models/profile_create_query_as_sub_resource.rb +0 -272
  903. data/lib/klaviyo-api-sdk/models/profile_create_query_as_sub_resource_attributes.rb +0 -318
  904. data/lib/klaviyo-api-sdk/models/profile_partial_update_query_as_sub_resource.rb +0 -287
  905. data/lib/klaviyo-api-sdk/models/segment_partial_update_query_as_sub_resource.rb +0 -286
  906. data/lib/klaviyo-api-sdk/models/segment_partial_update_query_as_sub_resource_attributes.rb +0 -224
  907. data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_as_sub_resource.rb +0 -272
  908. data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_as_sub_resource_attributes.rb +0 -252
  909. data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_as_sub_resource.rb +0 -272
  910. data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_as_sub_resource_attributes.rb +0 -227
  911. data/lib/klaviyo-api-sdk/models/tag_create_query_as_sub_resource.rb +0 -272
  912. data/lib/klaviyo-api-sdk/models/tag_create_query_as_sub_resource_attributes.rb +0 -235
  913. data/lib/klaviyo-api-sdk/models/tag_group_create_query_as_sub_resource.rb +0 -272
  914. data/lib/klaviyo-api-sdk/models/tag_group_create_query_as_sub_resource_attributes.rb +0 -234
  915. data/lib/klaviyo-api-sdk/models/tag_group_update_query_as_sub_resource.rb +0 -287
  916. data/lib/klaviyo-api-sdk/models/tag_group_update_query_as_sub_resource_attributes.rb +0 -236
  917. data/lib/klaviyo-api-sdk/models/tag_update_query_as_sub_resource.rb +0 -287
  918. data/lib/klaviyo-api-sdk/models/tag_update_query_as_sub_resource_attributes.rb +0 -225
  919. data/lib/klaviyo-api-sdk/models/template_clone_query_as_sub_resource.rb +0 -272
  920. data/lib/klaviyo-api-sdk/models/template_clone_query_as_sub_resource_attributes.rb +0 -247
  921. data/lib/klaviyo-api-sdk/models/template_create_query_as_sub_resource.rb +0 -272
  922. data/lib/klaviyo-api-sdk/models/template_create_query_as_sub_resource_attributes.rb +0 -272
  923. data/lib/klaviyo-api-sdk/models/template_render_query_as_sub_resource.rb +0 -272
  924. data/lib/klaviyo-api-sdk/models/template_render_query_as_sub_resource_attributes.rb +0 -252
  925. data/lib/klaviyo-api-sdk/models/template_update_query_as_sub_resource.rb +0 -287
  926. data/lib/klaviyo-api-sdk/models/template_update_query_as_sub_resource_attributes.rb +0 -252
  927. data/lib/klaviyo-api-sdk/models/unsubscription_create_job_create_query_as_sub_resource.rb +0 -272
  928. data/lib/klaviyo-api-sdk/models/unsubscription_create_job_create_query_as_sub_resource_attributes.rb +0 -244
  929. data/lib/klaviyo-api-sdk/models/unsuppression_create_job_create_query_as_sub_resource.rb +0 -272
  930. data/lib/klaviyo-api-sdk/models/unsuppression_create_job_create_query_as_sub_resource_attributes.rb +0 -227
  931. data/lib/klaviyo-api-sdk/models/v2_template_render_query_as_sub_resource.rb +0 -221
  932. data/spec/models/campaign_clone_query_as_sub_resource_attributes_spec.rb +0 -40
  933. data/spec/models/campaign_clone_query_as_sub_resource_spec.rb +0 -44
  934. data/spec/models/campaign_create_query_as_sub_resource_attributes_spec.rb +0 -64
  935. data/spec/models/campaign_create_query_as_sub_resource_spec.rb +0 -44
  936. data/spec/models/campaign_message_assign_template_query_as_sub_resource_attributes_spec.rb +0 -40
  937. data/spec/models/campaign_message_assign_template_query_as_sub_resource_spec.rb +0 -44
  938. data/spec/models/campaign_message_partial_update_query_as_sub_resource_attributes_spec.rb +0 -40
  939. data/spec/models/campaign_message_partial_update_query_as_sub_resource_spec.rb +0 -50
  940. data/spec/models/campaign_partial_update_query_as_sub_resource_attributes_spec.rb +0 -58
  941. data/spec/models/campaign_partial_update_query_as_sub_resource_spec.rb +0 -50
  942. data/spec/models/campaign_recipient_estimation_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  943. data/spec/models/campaign_recipient_estimation_job_create_query_as_sub_resource_spec.rb +0 -44
  944. data/spec/models/campaign_send_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  945. data/spec/models/campaign_send_job_create_query_as_sub_resource_spec.rb +0 -44
  946. data/spec/models/campaign_send_job_partial_update_query_as_sub_resource_attributes_spec.rb +0 -34
  947. data/spec/models/campaign_send_job_partial_update_query_as_sub_resource_spec.rb +0 -50
  948. data/spec/models/campaign_tag_op_data_inner_spec.rb +0 -44
  949. data/spec/models/campaign_tag_op_spec.rb +0 -34
  950. data/spec/models/catalog_category_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  951. data/spec/models/catalog_category_create_job_create_query_as_sub_resource_spec.rb +0 -44
  952. data/spec/models/catalog_category_create_query_as_sub_resource_attributes_spec.rb +0 -56
  953. data/spec/models/catalog_category_create_query_as_sub_resource_spec.rb +0 -50
  954. data/spec/models/catalog_category_delete_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  955. data/spec/models/catalog_category_delete_job_create_query_as_sub_resource_spec.rb +0 -44
  956. data/spec/models/catalog_category_delete_query_as_sub_resource_spec.rb +0 -44
  957. data/spec/models/catalog_category_update_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  958. data/spec/models/catalog_category_update_job_create_query_as_sub_resource_spec.rb +0 -44
  959. data/spec/models/catalog_category_update_query_as_sub_resource_attributes_spec.rb +0 -34
  960. data/spec/models/catalog_category_update_query_as_sub_resource_spec.rb +0 -56
  961. data/spec/models/catalog_item_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  962. data/spec/models/catalog_item_create_job_create_query_as_sub_resource_spec.rb +0 -44
  963. data/spec/models/catalog_item_create_query_as_sub_resource_attributes_spec.rb +0 -98
  964. data/spec/models/catalog_item_create_query_as_sub_resource_relationships_categories_data_inner_spec.rb +0 -44
  965. data/spec/models/catalog_item_create_query_as_sub_resource_relationships_categories_spec.rb +0 -34
  966. data/spec/models/catalog_item_create_query_as_sub_resource_relationships_spec.rb +0 -34
  967. data/spec/models/catalog_item_create_query_as_sub_resource_spec.rb +0 -50
  968. data/spec/models/catalog_item_delete_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  969. data/spec/models/catalog_item_delete_job_create_query_as_sub_resource_spec.rb +0 -44
  970. data/spec/models/catalog_item_delete_query_as_sub_resource_spec.rb +0 -44
  971. data/spec/models/catalog_item_update_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  972. data/spec/models/catalog_item_update_job_create_query_as_sub_resource_spec.rb +0 -44
  973. data/spec/models/catalog_item_update_query_as_sub_resource_attributes_spec.rb +0 -76
  974. data/spec/models/catalog_item_update_query_as_sub_resource_spec.rb +0 -56
  975. data/spec/models/catalog_variant_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  976. data/spec/models/catalog_variant_create_job_create_query_as_sub_resource_spec.rb +0 -44
  977. data/spec/models/catalog_variant_create_query_as_sub_resource_attributes_spec.rb +0 -126
  978. data/spec/models/catalog_variant_create_query_as_sub_resource_relationships_items_data_inner_spec.rb +0 -44
  979. data/spec/models/catalog_variant_create_query_as_sub_resource_relationships_items_spec.rb +0 -34
  980. data/spec/models/catalog_variant_create_query_as_sub_resource_relationships_spec.rb +0 -34
  981. data/spec/models/catalog_variant_create_query_as_sub_resource_spec.rb +0 -50
  982. data/spec/models/catalog_variant_delete_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  983. data/spec/models/catalog_variant_delete_job_create_query_as_sub_resource_spec.rb +0 -44
  984. data/spec/models/catalog_variant_delete_query_as_sub_resource_spec.rb +0 -44
  985. data/spec/models/catalog_variant_update_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  986. data/spec/models/catalog_variant_update_job_create_query_as_sub_resource_spec.rb +0 -44
  987. data/spec/models/catalog_variant_update_query_as_sub_resource_attributes_spec.rb +0 -98
  988. data/spec/models/catalog_variant_update_query_as_sub_resource_spec.rb +0 -50
  989. data/spec/models/data_privacy_create_deletion_job_query_as_sub_resource_attributes_spec.rb +0 -46
  990. data/spec/models/data_privacy_create_deletion_job_query_as_sub_resource_spec.rb +0 -44
  991. data/spec/models/event_create_query_as_sub_resource_attributes_spec.rb +0 -64
  992. data/spec/models/event_create_query_as_sub_resource_spec.rb +0 -44
  993. data/spec/models/flow_update_query_as_sub_resource_attributes_spec.rb +0 -34
  994. data/spec/models/flow_update_query_as_sub_resource_spec.rb +0 -50
  995. data/spec/models/get_catalog_items4_xx_response_errors_inner_source_spec.rb +0 -40
  996. data/spec/models/get_catalog_items4_xx_response_errors_inner_spec.rb +0 -58
  997. data/spec/models/get_catalog_items4_xx_response_spec.rb +0 -34
  998. data/spec/models/included_categories_attributes_spec.rb +0 -46
  999. data/spec/models/included_categories_spec.rb +0 -56
  1000. data/spec/models/included_flow_action_spec.rb +0 -56
  1001. data/spec/models/included_flow_actions_attributes_spec.rb +0 -76
  1002. data/spec/models/included_flow_actions_attributes_tracking_options_spec.rb +0 -31
  1003. data/spec/models/included_flow_actions_spec.rb +0 -56
  1004. data/spec/models/included_flow_messages_attributes_content_spec.rb +0 -31
  1005. data/spec/models/included_flow_messages_attributes_spec.rb +0 -58
  1006. data/spec/models/included_flow_messages_spec.rb +0 -56
  1007. data/spec/models/included_flows_attributes_spec.rb +0 -64
  1008. data/spec/models/included_flows_spec.rb +0 -56
  1009. data/spec/models/included_items_attributes_spec.rb +0 -94
  1010. data/spec/models/included_items_spec.rb +0 -56
  1011. data/spec/models/included_lists_attributes_spec.rb +0 -46
  1012. data/spec/models/included_lists_spec.rb +0 -56
  1013. data/spec/models/included_metrics_attributes_spec.rb +0 -52
  1014. data/spec/models/included_metrics_spec.rb +0 -56
  1015. data/spec/models/included_profiles_attributes_spec.rb +0 -112
  1016. data/spec/models/included_profiles_spec.rb +0 -56
  1017. data/spec/models/included_segments_attributes_spec.rb +0 -46
  1018. data/spec/models/included_segments_spec.rb +0 -56
  1019. data/spec/models/included_tags_spec.rb +0 -56
  1020. data/spec/models/included_variants_attributes_spec.rb +0 -122
  1021. data/spec/models/included_variants_links_spec.rb +0 -34
  1022. data/spec/models/included_variants_spec.rb +0 -56
  1023. data/spec/models/list_create_query_as_sub_resource_attributes_spec.rb +0 -34
  1024. data/spec/models/list_create_query_as_sub_resource_spec.rb +0 -44
  1025. data/spec/models/list_partial_update_query_as_sub_resource_spec.rb +0 -50
  1026. data/spec/models/metric_aggregate_query_as_sub_resource_attributes_spec.rb +0 -104
  1027. data/spec/models/metric_aggregate_query_as_sub_resource_spec.rb +0 -44
  1028. data/spec/models/onsite_profile_create_query_as_sub_resource_spec.rb +0 -50
  1029. data/spec/models/onsite_subscription_create_query_as_sub_resource_attributes_spec.rb +0 -58
  1030. data/spec/models/onsite_subscription_create_query_as_sub_resource_spec.rb +0 -44
  1031. data/spec/models/profile_create_query_as_sub_resource_attributes_spec.rb +0 -94
  1032. data/spec/models/profile_create_query_as_sub_resource_spec.rb +0 -44
  1033. data/spec/models/profile_partial_update_query_as_sub_resource_spec.rb +0 -50
  1034. data/spec/models/segment_partial_update_query_as_sub_resource_attributes_spec.rb +0 -34
  1035. data/spec/models/segment_partial_update_query_as_sub_resource_spec.rb +0 -50
  1036. data/spec/models/subscription_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -46
  1037. data/spec/models/subscription_create_job_create_query_as_sub_resource_spec.rb +0 -44
  1038. data/spec/models/suppression_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  1039. data/spec/models/suppression_create_job_create_query_as_sub_resource_spec.rb +0 -44
  1040. data/spec/models/tag_create_query_as_sub_resource_attributes_spec.rb +0 -40
  1041. data/spec/models/tag_create_query_as_sub_resource_spec.rb +0 -44
  1042. data/spec/models/tag_group_create_query_as_sub_resource_attributes_spec.rb +0 -40
  1043. data/spec/models/tag_group_create_query_as_sub_resource_spec.rb +0 -44
  1044. data/spec/models/tag_group_update_query_as_sub_resource_attributes_spec.rb +0 -40
  1045. data/spec/models/tag_group_update_query_as_sub_resource_spec.rb +0 -50
  1046. data/spec/models/tag_update_query_as_sub_resource_attributes_spec.rb +0 -34
  1047. data/spec/models/tag_update_query_as_sub_resource_spec.rb +0 -50
  1048. data/spec/models/template_clone_query_as_sub_resource_attributes_spec.rb +0 -46
  1049. data/spec/models/template_clone_query_as_sub_resource_spec.rb +0 -50
  1050. data/spec/models/template_create_query_as_sub_resource_attributes_spec.rb +0 -58
  1051. data/spec/models/template_create_query_as_sub_resource_spec.rb +0 -44
  1052. data/spec/models/template_render_query_as_sub_resource_attributes_spec.rb +0 -46
  1053. data/spec/models/template_render_query_as_sub_resource_spec.rb +0 -44
  1054. data/spec/models/template_update_query_as_sub_resource_attributes_spec.rb +0 -52
  1055. data/spec/models/template_update_query_as_sub_resource_spec.rb +0 -50
  1056. data/spec/models/unsubscription_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -46
  1057. data/spec/models/unsubscription_create_job_create_query_as_sub_resource_spec.rb +0 -44
  1058. data/spec/models/unsuppression_create_job_create_query_as_sub_resource_attributes_spec.rb +0 -34
  1059. data/spec/models/unsuppression_create_job_create_query_as_sub_resource_spec.rb +0 -44
  1060. data/spec/models/v2_template_render_query_as_sub_resource_spec.rb +0 -34
@@ -1,226 +0,0 @@
1
- =begin
2
- #Klaviyo API
3
-
4
- #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.
5
-
6
- The version of the OpenAPI document: 2023-02-22
7
- Contact: developers@klaviyo.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.2.1
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module KlaviyoAPI
17
- class CatalogVariantCreateQueryAsSubResourceRelationshipsItems
18
- attr_accessor :data
19
-
20
- # Attribute mapping from ruby-style variable name to JSON key.
21
- def self.attribute_map
22
- {
23
- :'data' => :'data'
24
- }
25
- end
26
-
27
- # Returns all the JSON keys this model knows about
28
- def self.acceptable_attributes
29
- attribute_map.values
30
- end
31
-
32
- # Attribute type mapping.
33
- def self.openapi_types
34
- {
35
- :'data' => :'Array<CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner>'
36
- }
37
- end
38
-
39
- # List of attributes with nullable: true
40
- def self.openapi_nullable
41
- Set.new([
42
- ])
43
- end
44
-
45
- # Initializes the object
46
- # @param [Hash] attributes Model attributes in the form of hash
47
- def initialize(attributes = {})
48
- if (!attributes.is_a?(Hash))
49
- fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItems` initialize method"
50
- end
51
-
52
- # check to see if the attribute exists and convert string to symbol for hash key
53
- attributes = attributes.each_with_object({}) { |(k, v), h|
54
- if (!self.class.attribute_map.key?(k.to_sym))
55
- fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItems`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
- end
57
- h[k.to_sym] = v
58
- }
59
-
60
- if attributes.key?(:'data')
61
- if (value = attributes[:'data']).is_a?(Array)
62
- self.data = value
63
- end
64
- end
65
- end
66
-
67
- # Show invalid properties with the reasons. Usually used together with valid?
68
- # @return Array for valid properties with the reasons
69
- def list_invalid_properties
70
- invalid_properties = Array.new
71
- if @data.nil?
72
- invalid_properties.push('invalid value for "data", data cannot be nil.')
73
- end
74
-
75
- invalid_properties
76
- end
77
-
78
- # Check to see if the all the properties in the model are valid
79
- # @return true if the model is valid
80
- def valid?
81
- return false if @data.nil?
82
- true
83
- end
84
-
85
- # Checks equality by comparing each attribute.
86
- # @param [Object] Object to be compared
87
- def ==(o)
88
- return true if self.equal?(o)
89
- self.class == o.class &&
90
- data == o.data
91
- end
92
-
93
- # @see the `==` method
94
- # @param [Object] Object to be compared
95
- def eql?(o)
96
- self == o
97
- end
98
-
99
- # Calculates hash code according to all attributes.
100
- # @return [Integer] Hash code
101
- def hash
102
- [data].hash
103
- end
104
-
105
- # Builds the object from hash
106
- # @param [Hash] attributes Model attributes in the form of hash
107
- # @return [Object] Returns the model itself
108
- def self.build_from_hash(attributes)
109
- new.build_from_hash(attributes)
110
- end
111
-
112
- # Builds the object from hash
113
- # @param [Hash] attributes Model attributes in the form of hash
114
- # @return [Object] Returns the model itself
115
- def build_from_hash(attributes)
116
- return nil unless attributes.is_a?(Hash)
117
- attributes = attributes.transform_keys(&:to_sym)
118
- self.class.openapi_types.each_pair do |key, type|
119
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
120
- self.send("#{key}=", nil)
121
- elsif type =~ /\AArray<(.*)>/i
122
- # check to ensure the input is an array given that the attribute
123
- # is documented as an array but the input is not
124
- if attributes[self.class.attribute_map[key]].is_a?(Array)
125
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
126
- end
127
- elsif !attributes[self.class.attribute_map[key]].nil?
128
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
129
- end
130
- end
131
-
132
- self
133
- end
134
-
135
- # Deserializes the data based on type
136
- # @param string type Data type
137
- # @param string value Value to be deserialized
138
- # @return [Object] Deserialized data
139
- def _deserialize(type, value)
140
- case type.to_sym
141
- when :Time
142
- Time.parse(value)
143
- when :Date
144
- Date.parse(value)
145
- when :String
146
- value.to_s
147
- when :Integer
148
- value.to_i
149
- when :Float
150
- value.to_f
151
- when :Boolean
152
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
153
- true
154
- else
155
- false
156
- end
157
- when :Object
158
- # generic object (usually a Hash), return directly
159
- value
160
- when /\AArray<(?<inner_type>.+)>\z/
161
- inner_type = Regexp.last_match[:inner_type]
162
- value.map { |v| _deserialize(inner_type, v) }
163
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
164
- k_type = Regexp.last_match[:k_type]
165
- v_type = Regexp.last_match[:v_type]
166
- {}.tap do |hash|
167
- value.each do |k, v|
168
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
169
- end
170
- end
171
- else # model
172
- # models (e.g. Pet) or oneOf
173
- klass = KlaviyoAPI.const_get(type)
174
- klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
175
- end
176
- end
177
-
178
- # Returns the string representation of the object
179
- # @return [String] String presentation of the object
180
- def to_s
181
- to_hash.to_s
182
- end
183
-
184
- # to_body is an alias to to_hash (backward compatibility)
185
- # @return [Hash] Returns the object in the form of hash
186
- def to_body
187
- to_hash
188
- end
189
-
190
- # Returns the object in the form of hash
191
- # @return [Hash] Returns the object in the form of hash
192
- def to_hash
193
- hash = {}
194
- self.class.attribute_map.each_pair do |attr, param|
195
- value = self.send(attr)
196
- if value.nil?
197
- is_nullable = self.class.openapi_nullable.include?(attr)
198
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
199
- end
200
-
201
- hash[param] = _to_hash(value)
202
- end
203
- hash
204
- end
205
-
206
- # Outputs non-array value in the form of hash
207
- # For object, use to_hash. Otherwise, just return the value
208
- # @param [Object] value Any valid value
209
- # @return [Hash] Returns the value in the form of hash
210
- def _to_hash(value)
211
- if value.is_a?(Array)
212
- value.compact.map { |v| _to_hash(v) }
213
- elsif value.is_a?(Hash)
214
- {}.tap do |hash|
215
- value.each { |k, v| hash[k] = _to_hash(v) }
216
- end
217
- elsif value.respond_to? :to_hash
218
- value.to_hash
219
- else
220
- value
221
- end
222
- end
223
-
224
- end
225
-
226
- end
@@ -1,272 +0,0 @@
1
- =begin
2
- #Klaviyo API
3
-
4
- #The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.
5
-
6
- The version of the OpenAPI document: 2023-02-22
7
- Contact: developers@klaviyo.com
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 6.2.1
10
-
11
- =end
12
-
13
- require 'date'
14
- require 'time'
15
-
16
- module KlaviyoAPI
17
- class CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner
18
- attr_accessor :type
19
-
20
- attr_accessor :id
21
-
22
- class EnumAttributeValidator
23
- attr_reader :datatype
24
- attr_reader :allowable_values
25
-
26
- def initialize(datatype, allowable_values)
27
- @allowable_values = allowable_values.map do |value|
28
- case datatype.to_s
29
- when /Integer/i
30
- value.to_i
31
- when /Float/i
32
- value.to_f
33
- else
34
- value
35
- end
36
- end
37
- end
38
-
39
- def valid?(value)
40
- !value || allowable_values.include?(value)
41
- end
42
- end
43
-
44
- # Attribute mapping from ruby-style variable name to JSON key.
45
- def self.attribute_map
46
- {
47
- :'type' => :'type',
48
- :'id' => :'id'
49
- }
50
- end
51
-
52
- # Returns all the JSON keys this model knows about
53
- def self.acceptable_attributes
54
- attribute_map.values
55
- end
56
-
57
- # Attribute type mapping.
58
- def self.openapi_types
59
- {
60
- :'type' => :'String',
61
- :'id' => :'String'
62
- }
63
- end
64
-
65
- # List of attributes with nullable: true
66
- def self.openapi_nullable
67
- Set.new([
68
- ])
69
- end
70
-
71
- # Initializes the object
72
- # @param [Hash] attributes Model attributes in the form of hash
73
- def initialize(attributes = {})
74
- if (!attributes.is_a?(Hash))
75
- fail ArgumentError, "The input argument (attributes) must be a hash in `KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner` initialize method"
76
- end
77
-
78
- # check to see if the attribute exists and convert string to symbol for hash key
79
- attributes = attributes.each_with_object({}) { |(k, v), h|
80
- if (!self.class.attribute_map.key?(k.to_sym))
81
- fail ArgumentError, "`#{k}` is not a valid attribute in `KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
82
- end
83
- h[k.to_sym] = v
84
- }
85
-
86
- if attributes.key?(:'type')
87
- self.type = attributes[:'type']
88
- end
89
-
90
- if attributes.key?(:'id')
91
- self.id = attributes[:'id']
92
- end
93
- end
94
-
95
- # Show invalid properties with the reasons. Usually used together with valid?
96
- # @return Array for valid properties with the reasons
97
- def list_invalid_properties
98
- invalid_properties = Array.new
99
- if @type.nil?
100
- invalid_properties.push('invalid value for "type", type cannot be nil.')
101
- end
102
-
103
- if @id.nil?
104
- invalid_properties.push('invalid value for "id", id cannot be nil.')
105
- end
106
-
107
- invalid_properties
108
- end
109
-
110
- # Check to see if the all the properties in the model are valid
111
- # @return true if the model is valid
112
- def valid?
113
- return false if @type.nil?
114
- type_validator = EnumAttributeValidator.new('String', ["catalog-item"])
115
- return false unless type_validator.valid?(@type)
116
- return false if @id.nil?
117
- true
118
- end
119
-
120
- # Custom attribute writer method checking allowed values (enum).
121
- # @param [Object] type Object to be assigned
122
- def type=(type)
123
- validator = EnumAttributeValidator.new('String', ["catalog-item"])
124
- unless validator.valid?(type)
125
- fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
126
- end
127
- @type = type
128
- end
129
-
130
- # Checks equality by comparing each attribute.
131
- # @param [Object] Object to be compared
132
- def ==(o)
133
- return true if self.equal?(o)
134
- self.class == o.class &&
135
- type == o.type &&
136
- id == o.id
137
- end
138
-
139
- # @see the `==` method
140
- # @param [Object] Object to be compared
141
- def eql?(o)
142
- self == o
143
- end
144
-
145
- # Calculates hash code according to all attributes.
146
- # @return [Integer] Hash code
147
- def hash
148
- [type, id].hash
149
- end
150
-
151
- # Builds the object from hash
152
- # @param [Hash] attributes Model attributes in the form of hash
153
- # @return [Object] Returns the model itself
154
- def self.build_from_hash(attributes)
155
- new.build_from_hash(attributes)
156
- end
157
-
158
- # Builds the object from hash
159
- # @param [Hash] attributes Model attributes in the form of hash
160
- # @return [Object] Returns the model itself
161
- def build_from_hash(attributes)
162
- return nil unless attributes.is_a?(Hash)
163
- attributes = attributes.transform_keys(&:to_sym)
164
- self.class.openapi_types.each_pair do |key, type|
165
- if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
166
- self.send("#{key}=", nil)
167
- elsif type =~ /\AArray<(.*)>/i
168
- # check to ensure the input is an array given that the attribute
169
- # is documented as an array but the input is not
170
- if attributes[self.class.attribute_map[key]].is_a?(Array)
171
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
172
- end
173
- elsif !attributes[self.class.attribute_map[key]].nil?
174
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
175
- end
176
- end
177
-
178
- self
179
- end
180
-
181
- # Deserializes the data based on type
182
- # @param string type Data type
183
- # @param string value Value to be deserialized
184
- # @return [Object] Deserialized data
185
- def _deserialize(type, value)
186
- case type.to_sym
187
- when :Time
188
- Time.parse(value)
189
- when :Date
190
- Date.parse(value)
191
- when :String
192
- value.to_s
193
- when :Integer
194
- value.to_i
195
- when :Float
196
- value.to_f
197
- when :Boolean
198
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
199
- true
200
- else
201
- false
202
- end
203
- when :Object
204
- # generic object (usually a Hash), return directly
205
- value
206
- when /\AArray<(?<inner_type>.+)>\z/
207
- inner_type = Regexp.last_match[:inner_type]
208
- value.map { |v| _deserialize(inner_type, v) }
209
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
210
- k_type = Regexp.last_match[:k_type]
211
- v_type = Regexp.last_match[:v_type]
212
- {}.tap do |hash|
213
- value.each do |k, v|
214
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
215
- end
216
- end
217
- else # model
218
- # models (e.g. Pet) or oneOf
219
- klass = KlaviyoAPI.const_get(type)
220
- klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
221
- end
222
- end
223
-
224
- # Returns the string representation of the object
225
- # @return [String] String presentation of the object
226
- def to_s
227
- to_hash.to_s
228
- end
229
-
230
- # to_body is an alias to to_hash (backward compatibility)
231
- # @return [Hash] Returns the object in the form of hash
232
- def to_body
233
- to_hash
234
- end
235
-
236
- # Returns the object in the form of hash
237
- # @return [Hash] Returns the object in the form of hash
238
- def to_hash
239
- hash = {}
240
- self.class.attribute_map.each_pair do |attr, param|
241
- value = self.send(attr)
242
- if value.nil?
243
- is_nullable = self.class.openapi_nullable.include?(attr)
244
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
245
- end
246
-
247
- hash[param] = _to_hash(value)
248
- end
249
- hash
250
- end
251
-
252
- # Outputs non-array value in the form of hash
253
- # For object, use to_hash. Otherwise, just return the value
254
- # @param [Object] value Any valid value
255
- # @return [Hash] Returns the value in the form of hash
256
- def _to_hash(value)
257
- if value.is_a?(Array)
258
- value.compact.map { |v| _to_hash(v) }
259
- elsif value.is_a?(Hash)
260
- {}.tap do |hash|
261
- value.each { |k, v| hash[k] = _to_hash(v) }
262
- end
263
- elsif value.respond_to? :to_hash
264
- value.to_hash
265
- else
266
- value
267
- end
268
- end
269
-
270
- end
271
-
272
- end