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
data/docs/CatalogsApi.md CHANGED
@@ -5,22 +5,22 @@ All URIs are relative to *https://a.klaviyo.com*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**create_catalog_category**](CatalogsApi.md#create_catalog_category) | **POST** /api/catalog-categories/ | Create Catalog Category |
8
- | [**create_catalog_category_relationships**](CatalogsApi.md#create_catalog_category_relationships) | **POST** /api/catalog-categories/{id}/relationships/{related_resource}/ | Create Catalog Category Relationships |
8
+ | [**create_catalog_category_relationships_items**](CatalogsApi.md#create_catalog_category_relationships_items) | **POST** /api/catalog-categories/{id}/relationships/items/ | Create Catalog Category Relationships Items |
9
9
  | [**create_catalog_item**](CatalogsApi.md#create_catalog_item) | **POST** /api/catalog-items/ | Create Catalog Item |
10
- | [**create_catalog_item_relationships**](CatalogsApi.md#create_catalog_item_relationships) | **POST** /api/catalog-items/{id}/relationships/{related_resource}/ | Create Catalog Item Relationships |
10
+ | [**create_catalog_item_relationships_categories**](CatalogsApi.md#create_catalog_item_relationships_categories) | **POST** /api/catalog-items/{id}/relationships/categories/ | Create Catalog Item Relationships Categories |
11
11
  | [**create_catalog_variant**](CatalogsApi.md#create_catalog_variant) | **POST** /api/catalog-variants/ | Create Catalog Variant |
12
12
  | [**delete_catalog_category**](CatalogsApi.md#delete_catalog_category) | **DELETE** /api/catalog-categories/{id}/ | Delete Catalog Category |
13
- | [**delete_catalog_category_relationships**](CatalogsApi.md#delete_catalog_category_relationships) | **DELETE** /api/catalog-categories/{id}/relationships/{related_resource}/ | Delete Catalog Category Relationships |
13
+ | [**delete_catalog_category_relationships_items**](CatalogsApi.md#delete_catalog_category_relationships_items) | **DELETE** /api/catalog-categories/{id}/relationships/items/ | Delete Catalog Category Relationships Items |
14
14
  | [**delete_catalog_item**](CatalogsApi.md#delete_catalog_item) | **DELETE** /api/catalog-items/{id}/ | Delete Catalog Item |
15
- | [**delete_catalog_item_relationships**](CatalogsApi.md#delete_catalog_item_relationships) | **DELETE** /api/catalog-items/{id}/relationships/{related_resource}/ | Delete Catalog Item Relationships |
15
+ | [**delete_catalog_item_relationships_categories**](CatalogsApi.md#delete_catalog_item_relationships_categories) | **DELETE** /api/catalog-items/{id}/relationships/categories/ | Delete Catalog Item Relationships Categories |
16
16
  | [**delete_catalog_variant**](CatalogsApi.md#delete_catalog_variant) | **DELETE** /api/catalog-variants/{id}/ | Delete Catalog Variant |
17
17
  | [**get_catalog_categories**](CatalogsApi.md#get_catalog_categories) | **GET** /api/catalog-categories/ | Get Catalog Categories |
18
18
  | [**get_catalog_category**](CatalogsApi.md#get_catalog_category) | **GET** /api/catalog-categories/{id}/ | Get Catalog Category |
19
19
  | [**get_catalog_category_items**](CatalogsApi.md#get_catalog_category_items) | **GET** /api/catalog-categories/{category_id}/items/ | Get Catalog Category Items |
20
- | [**get_catalog_category_relationships**](CatalogsApi.md#get_catalog_category_relationships) | **GET** /api/catalog-categories/{id}/relationships/{related_resource}/ | Get Catalog Category Relationships |
20
+ | [**get_catalog_category_relationships_items**](CatalogsApi.md#get_catalog_category_relationships_items) | **GET** /api/catalog-categories/{id}/relationships/items/ | Get Catalog Category Relationships Items |
21
21
  | [**get_catalog_item**](CatalogsApi.md#get_catalog_item) | **GET** /api/catalog-items/{id}/ | Get Catalog Item |
22
22
  | [**get_catalog_item_categories**](CatalogsApi.md#get_catalog_item_categories) | **GET** /api/catalog-items/{item_id}/categories/ | Get Catalog Item Categories |
23
- | [**get_catalog_item_relationships**](CatalogsApi.md#get_catalog_item_relationships) | **GET** /api/catalog-items/{id}/relationships/{related_resource}/ | Get Catalog Item Relationships |
23
+ | [**get_catalog_item_relationships_categories**](CatalogsApi.md#get_catalog_item_relationships_categories) | **GET** /api/catalog-items/{id}/relationships/categories/ | Get Catalog Item Relationships Categories |
24
24
  | [**get_catalog_item_variants**](CatalogsApi.md#get_catalog_item_variants) | **GET** /api/catalog-items/{item_id}/variants/ | Get Catalog Item Variants |
25
25
  | [**get_catalog_items**](CatalogsApi.md#get_catalog_items) | **GET** /api/catalog-items/ | Get Catalog Items |
26
26
  | [**get_catalog_variant**](CatalogsApi.md#get_catalog_variant) | **GET** /api/catalog-variants/{id}/ | Get Catalog Variant |
@@ -53,9 +53,9 @@ All URIs are relative to *https://a.klaviyo.com*
53
53
  | [**spawn_update_items_job**](CatalogsApi.md#spawn_update_items_job) | **POST** /api/catalog-item-bulk-update-jobs/ | Spawn Update Items Job |
54
54
  | [**spawn_update_variants_job**](CatalogsApi.md#spawn_update_variants_job) | **POST** /api/catalog-variant-bulk-update-jobs/ | Spawn Update Variants Job |
55
55
  | [**update_catalog_category**](CatalogsApi.md#update_catalog_category) | **PATCH** /api/catalog-categories/{id}/ | Update Catalog Category |
56
- | [**update_catalog_category_relationships**](CatalogsApi.md#update_catalog_category_relationships) | **PATCH** /api/catalog-categories/{id}/relationships/{related_resource}/ | Update Catalog Category Relationships |
56
+ | [**update_catalog_category_relationships_items**](CatalogsApi.md#update_catalog_category_relationships_items) | **PATCH** /api/catalog-categories/{id}/relationships/items/ | Update Catalog Category Relationships Items |
57
57
  | [**update_catalog_item**](CatalogsApi.md#update_catalog_item) | **PATCH** /api/catalog-items/{id}/ | Update Catalog Item |
58
- | [**update_catalog_item_relationships**](CatalogsApi.md#update_catalog_item_relationships) | **PATCH** /api/catalog-items/{id}/relationships/{related_resource}/ | Update Catalog Item Relationships |
58
+ | [**update_catalog_item_relationships_categories**](CatalogsApi.md#update_catalog_item_relationships_categories) | **PATCH** /api/catalog-items/{id}/relationships/categories/ | Update Catalog Item Relationships Categories |
59
59
  | [**update_catalog_variant**](CatalogsApi.md#update_catalog_variant) | **PATCH** /api/catalog-variants/{id}/ | Update Catalog Variant |
60
60
 
61
61
 
@@ -81,7 +81,7 @@ KlaviyoAPI.configure do |config|
81
81
  end
82
82
 
83
83
  api_instance = KlaviyoAPI::CatalogsApi.new
84
- catalog_category_create_query = KlaviyoAPI::CatalogCategoryCreateQuery.new({data: KlaviyoAPI::CatalogCategoryCreateQueryAsSubResource.new({type: 'catalog-category', attributes: KlaviyoAPI::CatalogCategoryCreateQueryAsSubResourceAttributes.new({external_id: 'SAMPLE-DATA-CATEGORY-APPAREL', name: 'Sample Data Category Apparel'})})}) # CatalogCategoryCreateQuery |
84
+ catalog_category_create_query = KlaviyoAPI::CatalogCategoryCreateQuery.new({data: KlaviyoAPI::CatalogCategoryCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryEnum::CATALOG_CATEGORY, attributes: KlaviyoAPI::CatalogCategoryCreateQueryResourceObjectAttributes.new({external_id: 'SAMPLE-DATA-CATEGORY-APPAREL', name: 'Sample Data Category Apparel'})})}) # CatalogCategoryCreateQuery |
85
85
 
86
86
  begin
87
87
  # Create Catalog Category
@@ -130,11 +130,11 @@ end
130
130
  - **Accept**: application/json
131
131
 
132
132
 
133
- ## create_catalog_category_relationships
133
+ ## create_catalog_category_relationships_items
134
134
 
135
- > create_catalog_category_relationships(id, related_resource, catalog_category_item_op)
135
+ > create_catalog_category_relationships_items(id, catalog_category_item_op)
136
136
 
137
- Create Catalog Category Relationships
137
+ Create Catalog Category Relationships Items
138
138
 
139
139
  Create a new item relationship for the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
140
140
 
@@ -153,32 +153,31 @@ end
153
153
 
154
154
  api_instance = KlaviyoAPI::CatalogsApi.new
155
155
  id = 'id_example' # String |
156
- related_resource = 'items' # String |
157
- catalog_category_item_op = KlaviyoAPI::CatalogCategoryItemOp.new({data: [KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner.new({type: 'catalog-item', id: 'id_example'})]}) # CatalogCategoryItemOp |
156
+ catalog_category_item_op = KlaviyoAPI::CatalogCategoryItemOp.new({data: [KlaviyoAPI::CatalogVariantCreateQueryResourceObjectRelationshipsItemsDataInner.new({type: 'catalog-item', id: 'id_example'})]}) # CatalogCategoryItemOp |
158
157
 
159
158
  begin
160
- # Create Catalog Category Relationships
161
- api_instance.create_catalog_category_relationships(id, related_resource, catalog_category_item_op)
159
+ # Create Catalog Category Relationships Items
160
+ api_instance.create_catalog_category_relationships_items(id, catalog_category_item_op)
162
161
  rescue KlaviyoAPI::ApiError => e
163
- puts "Error when calling CatalogsApi->create_catalog_category_relationships: #{e}"
162
+ puts "Error when calling CatalogsApi->create_catalog_category_relationships_items: #{e}"
164
163
  end
165
164
  ```
166
165
 
167
- #### Using the create_catalog_category_relationships_with_http_info variant
166
+ #### Using the create_catalog_category_relationships_items_with_http_info variant
168
167
 
169
168
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
170
169
 
171
- > <Array(nil, Integer, Hash)> create_catalog_category_relationships_with_http_info(id, related_resource, catalog_category_item_op)
170
+ > <Array(nil, Integer, Hash)> create_catalog_category_relationships_items_with_http_info(id, catalog_category_item_op)
172
171
 
173
172
  ```ruby
174
173
  begin
175
- # Create Catalog Category Relationships
176
- data, status_code, headers = api_instance.create_catalog_category_relationships_with_http_info(id, related_resource, catalog_category_item_op)
174
+ # Create Catalog Category Relationships Items
175
+ data, status_code, headers = api_instance.create_catalog_category_relationships_items_with_http_info(id, catalog_category_item_op)
177
176
  p status_code # => 2xx
178
177
  p headers # => { ... }
179
178
  p data # => nil
180
179
  rescue KlaviyoAPI::ApiError => e
181
- puts "Error when calling CatalogsApi->create_catalog_category_relationships_with_http_info: #{e}"
180
+ puts "Error when calling CatalogsApi->create_catalog_category_relationships_items_with_http_info: #{e}"
182
181
  end
183
182
  ```
184
183
 
@@ -187,7 +186,6 @@ end
187
186
  | Name | Type | Description | Notes |
188
187
  | ---- | ---- | ----------- | ----- |
189
188
  | **id** | **String** | | |
190
- | **related_resource** | **String** | | |
191
189
  | **catalog_category_item_op** | [**CatalogCategoryItemOp**](CatalogCategoryItemOp.md) | | |
192
190
 
193
191
  ### Return type
@@ -226,7 +224,7 @@ KlaviyoAPI.configure do |config|
226
224
  end
227
225
 
228
226
  api_instance = KlaviyoAPI::CatalogsApi.new
229
- catalog_item_create_query = KlaviyoAPI::CatalogItemCreateQuery.new({data: KlaviyoAPI::CatalogItemCreateQueryAsSubResource.new({type: 'catalog-item', attributes: KlaviyoAPI::CatalogItemCreateQueryAsSubResourceAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1', title: 'Ocean Blue Shirt (Sample)', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', url: 'https://via.placeholder.com/150'})})}) # CatalogItemCreateQuery |
227
+ catalog_item_create_query = KlaviyoAPI::CatalogItemCreateQuery.new({data: KlaviyoAPI::CatalogItemCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemEnum::CATALOG_ITEM, attributes: KlaviyoAPI::CatalogItemCreateQueryResourceObjectAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1', title: 'Ocean Blue Shirt (Sample)', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', url: 'https://via.placeholder.com/150'})})}) # CatalogItemCreateQuery |
230
228
 
231
229
  begin
232
230
  # Create Catalog Item
@@ -275,11 +273,11 @@ end
275
273
  - **Accept**: application/json
276
274
 
277
275
 
278
- ## create_catalog_item_relationships
276
+ ## create_catalog_item_relationships_categories
279
277
 
280
- > create_catalog_item_relationships(id, related_resource, catalog_item_category_op)
278
+ > create_catalog_item_relationships_categories(id, catalog_item_category_op)
281
279
 
282
- Create Catalog Item Relationships
280
+ Create Catalog Item Relationships Categories
283
281
 
284
282
  Create a new catalog category relationship for the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
285
283
 
@@ -298,32 +296,31 @@ end
298
296
 
299
297
  api_instance = KlaviyoAPI::CatalogsApi.new
300
298
  id = 'id_example' # String |
301
- related_resource = 'categories' # String |
302
- catalog_item_category_op = KlaviyoAPI::CatalogItemCategoryOp.new({data: [KlaviyoAPI::CatalogItemCreateQueryAsSubResourceRelationshipsCategoriesDataInner.new({type: 'catalog-category', id: 'id_example'})]}) # CatalogItemCategoryOp |
299
+ catalog_item_category_op = KlaviyoAPI::CatalogItemCategoryOp.new({data: [KlaviyoAPI::CatalogItemCreateQueryResourceObjectRelationshipsCategoriesDataInner.new({type: 'catalog-category', id: 'id_example'})]}) # CatalogItemCategoryOp |
303
300
 
304
301
  begin
305
- # Create Catalog Item Relationships
306
- api_instance.create_catalog_item_relationships(id, related_resource, catalog_item_category_op)
302
+ # Create Catalog Item Relationships Categories
303
+ api_instance.create_catalog_item_relationships_categories(id, catalog_item_category_op)
307
304
  rescue KlaviyoAPI::ApiError => e
308
- puts "Error when calling CatalogsApi->create_catalog_item_relationships: #{e}"
305
+ puts "Error when calling CatalogsApi->create_catalog_item_relationships_categories: #{e}"
309
306
  end
310
307
  ```
311
308
 
312
- #### Using the create_catalog_item_relationships_with_http_info variant
309
+ #### Using the create_catalog_item_relationships_categories_with_http_info variant
313
310
 
314
311
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
315
312
 
316
- > <Array(nil, Integer, Hash)> create_catalog_item_relationships_with_http_info(id, related_resource, catalog_item_category_op)
313
+ > <Array(nil, Integer, Hash)> create_catalog_item_relationships_categories_with_http_info(id, catalog_item_category_op)
317
314
 
318
315
  ```ruby
319
316
  begin
320
- # Create Catalog Item Relationships
321
- data, status_code, headers = api_instance.create_catalog_item_relationships_with_http_info(id, related_resource, catalog_item_category_op)
317
+ # Create Catalog Item Relationships Categories
318
+ data, status_code, headers = api_instance.create_catalog_item_relationships_categories_with_http_info(id, catalog_item_category_op)
322
319
  p status_code # => 2xx
323
320
  p headers # => { ... }
324
321
  p data # => nil
325
322
  rescue KlaviyoAPI::ApiError => e
326
- puts "Error when calling CatalogsApi->create_catalog_item_relationships_with_http_info: #{e}"
323
+ puts "Error when calling CatalogsApi->create_catalog_item_relationships_categories_with_http_info: #{e}"
327
324
  end
328
325
  ```
329
326
 
@@ -332,7 +329,6 @@ end
332
329
  | Name | Type | Description | Notes |
333
330
  | ---- | ---- | ----------- | ----- |
334
331
  | **id** | **String** | | |
335
- | **related_resource** | **String** | | |
336
332
  | **catalog_item_category_op** | [**CatalogItemCategoryOp**](CatalogItemCategoryOp.md) | | |
337
333
 
338
334
  ### Return type
@@ -371,7 +367,7 @@ KlaviyoAPI.configure do |config|
371
367
  end
372
368
 
373
369
  api_instance = KlaviyoAPI::CatalogsApi.new
374
- catalog_variant_create_query = KlaviyoAPI::CatalogVariantCreateQuery.new({data: KlaviyoAPI::CatalogVariantCreateQueryAsSubResource.new({type: 'catalog-variant', attributes: KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', title: 'Ocean Blue Shirt (Sample) Variant Medium', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', sku: 'OBS-MD', inventory_quantity: 25, price: 42, url: 'https://via.placeholder.com/150'})})}) # CatalogVariantCreateQuery |
370
+ catalog_variant_create_query = KlaviyoAPI::CatalogVariantCreateQuery.new({data: KlaviyoAPI::CatalogVariantCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantEnum::CATALOG_VARIANT, attributes: KlaviyoAPI::CatalogVariantCreateQueryResourceObjectAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', title: 'Ocean Blue Shirt (Sample) Variant Medium', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', sku: 'OBS-MD', inventory_quantity: 25, price: 42, url: 'https://via.placeholder.com/150'})})}) # CatalogVariantCreateQuery |
375
371
 
376
372
  begin
377
373
  # Create Catalog Variant
@@ -442,7 +438,7 @@ KlaviyoAPI.configure do |config|
442
438
  end
443
439
 
444
440
  api_instance = KlaviyoAPI::CatalogsApi.new
445
- id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
441
+ id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
446
442
 
447
443
  begin
448
444
  # Delete Catalog Category
@@ -474,7 +470,7 @@ end
474
470
 
475
471
  | Name | Type | Description | Notes |
476
472
  | ---- | ---- | ----------- | ----- |
477
- | **id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
473
+ | **id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
478
474
 
479
475
  ### Return type
480
476
 
@@ -490,11 +486,11 @@ nil (empty response body)
490
486
  - **Accept**: application/json
491
487
 
492
488
 
493
- ## delete_catalog_category_relationships
489
+ ## delete_catalog_category_relationships_items
494
490
 
495
- > delete_catalog_category_relationships(id, related_resource, catalog_category_item_op)
491
+ > delete_catalog_category_relationships_items(id, catalog_category_item_op)
496
492
 
497
- Delete Catalog Category Relationships
493
+ Delete Catalog Category Relationships Items
498
494
 
499
495
  Delete item relationships for the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
500
496
 
@@ -513,32 +509,31 @@ end
513
509
 
514
510
  api_instance = KlaviyoAPI::CatalogsApi.new
515
511
  id = 'id_example' # String |
516
- related_resource = 'items' # String |
517
- catalog_category_item_op = KlaviyoAPI::CatalogCategoryItemOp.new({data: [KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner.new({type: 'catalog-item', id: 'id_example'})]}) # CatalogCategoryItemOp |
512
+ catalog_category_item_op = KlaviyoAPI::CatalogCategoryItemOp.new({data: [KlaviyoAPI::CatalogVariantCreateQueryResourceObjectRelationshipsItemsDataInner.new({type: 'catalog-item', id: 'id_example'})]}) # CatalogCategoryItemOp |
518
513
 
519
514
  begin
520
- # Delete Catalog Category Relationships
521
- api_instance.delete_catalog_category_relationships(id, related_resource, catalog_category_item_op)
515
+ # Delete Catalog Category Relationships Items
516
+ api_instance.delete_catalog_category_relationships_items(id, catalog_category_item_op)
522
517
  rescue KlaviyoAPI::ApiError => e
523
- puts "Error when calling CatalogsApi->delete_catalog_category_relationships: #{e}"
518
+ puts "Error when calling CatalogsApi->delete_catalog_category_relationships_items: #{e}"
524
519
  end
525
520
  ```
526
521
 
527
- #### Using the delete_catalog_category_relationships_with_http_info variant
522
+ #### Using the delete_catalog_category_relationships_items_with_http_info variant
528
523
 
529
524
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
530
525
 
531
- > <Array(nil, Integer, Hash)> delete_catalog_category_relationships_with_http_info(id, related_resource, catalog_category_item_op)
526
+ > <Array(nil, Integer, Hash)> delete_catalog_category_relationships_items_with_http_info(id, catalog_category_item_op)
532
527
 
533
528
  ```ruby
534
529
  begin
535
- # Delete Catalog Category Relationships
536
- data, status_code, headers = api_instance.delete_catalog_category_relationships_with_http_info(id, related_resource, catalog_category_item_op)
530
+ # Delete Catalog Category Relationships Items
531
+ data, status_code, headers = api_instance.delete_catalog_category_relationships_items_with_http_info(id, catalog_category_item_op)
537
532
  p status_code # => 2xx
538
533
  p headers # => { ... }
539
534
  p data # => nil
540
535
  rescue KlaviyoAPI::ApiError => e
541
- puts "Error when calling CatalogsApi->delete_catalog_category_relationships_with_http_info: #{e}"
536
+ puts "Error when calling CatalogsApi->delete_catalog_category_relationships_items_with_http_info: #{e}"
542
537
  end
543
538
  ```
544
539
 
@@ -547,7 +542,6 @@ end
547
542
  | Name | Type | Description | Notes |
548
543
  | ---- | ---- | ----------- | ----- |
549
544
  | **id** | **String** | | |
550
- | **related_resource** | **String** | | |
551
545
  | **catalog_category_item_op** | [**CatalogCategoryItemOp**](CatalogCategoryItemOp.md) | | |
552
546
 
553
547
  ### Return type
@@ -586,7 +580,7 @@ KlaviyoAPI.configure do |config|
586
580
  end
587
581
 
588
582
  api_instance = KlaviyoAPI::CatalogsApi.new
589
- id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
583
+ id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
590
584
 
591
585
  begin
592
586
  # Delete Catalog Item
@@ -618,7 +612,7 @@ end
618
612
 
619
613
  | Name | Type | Description | Notes |
620
614
  | ---- | ---- | ----------- | ----- |
621
- | **id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
615
+ | **id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
622
616
 
623
617
  ### Return type
624
618
 
@@ -634,11 +628,11 @@ nil (empty response body)
634
628
  - **Accept**: application/json
635
629
 
636
630
 
637
- ## delete_catalog_item_relationships
631
+ ## delete_catalog_item_relationships_categories
638
632
 
639
- > delete_catalog_item_relationships(id, related_resource, catalog_item_category_op)
633
+ > delete_catalog_item_relationships_categories(id, catalog_item_category_op)
640
634
 
641
- Delete Catalog Item Relationships
635
+ Delete Catalog Item Relationships Categories
642
636
 
643
637
  Delete catalog category relationships for the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
644
638
 
@@ -657,32 +651,31 @@ end
657
651
 
658
652
  api_instance = KlaviyoAPI::CatalogsApi.new
659
653
  id = 'id_example' # String |
660
- related_resource = 'categories' # String |
661
- catalog_item_category_op = KlaviyoAPI::CatalogItemCategoryOp.new({data: [KlaviyoAPI::CatalogItemCreateQueryAsSubResourceRelationshipsCategoriesDataInner.new({type: 'catalog-category', id: 'id_example'})]}) # CatalogItemCategoryOp |
654
+ catalog_item_category_op = KlaviyoAPI::CatalogItemCategoryOp.new({data: [KlaviyoAPI::CatalogItemCreateQueryResourceObjectRelationshipsCategoriesDataInner.new({type: 'catalog-category', id: 'id_example'})]}) # CatalogItemCategoryOp |
662
655
 
663
656
  begin
664
- # Delete Catalog Item Relationships
665
- api_instance.delete_catalog_item_relationships(id, related_resource, catalog_item_category_op)
657
+ # Delete Catalog Item Relationships Categories
658
+ api_instance.delete_catalog_item_relationships_categories(id, catalog_item_category_op)
666
659
  rescue KlaviyoAPI::ApiError => e
667
- puts "Error when calling CatalogsApi->delete_catalog_item_relationships: #{e}"
660
+ puts "Error when calling CatalogsApi->delete_catalog_item_relationships_categories: #{e}"
668
661
  end
669
662
  ```
670
663
 
671
- #### Using the delete_catalog_item_relationships_with_http_info variant
664
+ #### Using the delete_catalog_item_relationships_categories_with_http_info variant
672
665
 
673
666
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
674
667
 
675
- > <Array(nil, Integer, Hash)> delete_catalog_item_relationships_with_http_info(id, related_resource, catalog_item_category_op)
668
+ > <Array(nil, Integer, Hash)> delete_catalog_item_relationships_categories_with_http_info(id, catalog_item_category_op)
676
669
 
677
670
  ```ruby
678
671
  begin
679
- # Delete Catalog Item Relationships
680
- data, status_code, headers = api_instance.delete_catalog_item_relationships_with_http_info(id, related_resource, catalog_item_category_op)
672
+ # Delete Catalog Item Relationships Categories
673
+ data, status_code, headers = api_instance.delete_catalog_item_relationships_categories_with_http_info(id, catalog_item_category_op)
681
674
  p status_code # => 2xx
682
675
  p headers # => { ... }
683
676
  p data # => nil
684
677
  rescue KlaviyoAPI::ApiError => e
685
- puts "Error when calling CatalogsApi->delete_catalog_item_relationships_with_http_info: #{e}"
678
+ puts "Error when calling CatalogsApi->delete_catalog_item_relationships_categories_with_http_info: #{e}"
686
679
  end
687
680
  ```
688
681
 
@@ -691,7 +684,6 @@ end
691
684
  | Name | Type | Description | Notes |
692
685
  | ---- | ---- | ----------- | ----- |
693
686
  | **id** | **String** | | |
694
- | **related_resource** | **String** | | |
695
687
  | **catalog_item_category_op** | [**CatalogItemCategoryOp**](CatalogItemCategoryOp.md) | | |
696
688
 
697
689
  ### Return type
@@ -730,7 +722,7 @@ KlaviyoAPI.configure do |config|
730
722
  end
731
723
 
732
724
  api_instance = KlaviyoAPI::CatalogsApi.new
733
- id = '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM' # String | The catalog variant ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
725
+ id = '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM' # String | The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
734
726
 
735
727
  begin
736
728
  # Delete Catalog Variant
@@ -762,7 +754,7 @@ end
762
754
 
763
755
  | Name | Type | Description | Notes |
764
756
  | ---- | ---- | ----------- | ----- |
765
- | **id** | **String** | The catalog variant ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
757
+ | **id** | **String** | The catalog variant ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
766
758
 
767
759
  ### Return type
768
760
 
@@ -879,7 +871,7 @@ KlaviyoAPI.configure do |config|
879
871
  end
880
872
 
881
873
  api_instance = KlaviyoAPI::CatalogsApi.new
882
- id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
874
+ id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
883
875
  opts = {
884
876
  fields_catalog_category: ['external_id'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
885
877
  }
@@ -915,7 +907,7 @@ end
915
907
 
916
908
  | Name | Type | Description | Notes |
917
909
  | ---- | ---- | ----------- | ----- |
918
- | **id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
910
+ | **id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
919
911
  | **fields_catalog_category** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
920
912
 
921
913
  ### Return type
@@ -954,7 +946,7 @@ KlaviyoAPI.configure do |config|
954
946
  end
955
947
 
956
948
  api_instance = KlaviyoAPI::CatalogsApi.new
957
- category_id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
949
+ category_id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
958
950
  opts = {
959
951
  fields_catalog_item: ['external_id'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
960
952
  fields_catalog_variant: ['external_id'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
@@ -995,7 +987,7 @@ end
995
987
 
996
988
  | Name | Type | Description | Notes |
997
989
  | ---- | ---- | ----------- | ----- |
998
- | **category_id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
990
+ | **category_id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
999
991
  | **fields_catalog_item** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1000
992
  | **fields_catalog_variant** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1001
993
  | **filter** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering&lt;br&gt;Allowed field(s)/operator(s):&lt;br&gt;&#x60;ids&#x60;: &#x60;any&#x60;&lt;br&gt;&#x60;category&#x60;: &#x60;equals&#x60;&lt;br&gt;&#x60;title&#x60;: &#x60;contains&#x60;&lt;br&gt;&#x60;published&#x60;: &#x60;equals&#x60; | [optional] |
@@ -1017,11 +1009,11 @@ end
1017
1009
  - **Accept**: application/json
1018
1010
 
1019
1011
 
1020
- ## get_catalog_category_relationships
1012
+ ## get_catalog_category_relationships_items
1021
1013
 
1022
- > Hash&lt;String, Object&gt; get_catalog_category_relationships(id, related_resource, opts)
1014
+ > Hash&lt;String, Object&gt; get_catalog_category_relationships_items(id, opts)
1023
1015
 
1024
- Get Catalog Category Relationships
1016
+ Get Catalog Category Relationships Items
1025
1017
 
1026
1018
  Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
1027
1019
 
@@ -1040,35 +1032,34 @@ end
1040
1032
 
1041
1033
  api_instance = KlaviyoAPI::CatalogsApi.new
1042
1034
  id = 'id_example' # String |
1043
- related_resource = 'items' # String |
1044
1035
  opts = {
1045
1036
  page_cursor: 'page_cursor_example' # String | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#pagination
1046
1037
  }
1047
1038
 
1048
1039
  begin
1049
- # Get Catalog Category Relationships
1050
- result = api_instance.get_catalog_category_relationships(id, related_resource, opts)
1040
+ # Get Catalog Category Relationships Items
1041
+ result = api_instance.get_catalog_category_relationships_items(id, opts)
1051
1042
  p result
1052
1043
  rescue KlaviyoAPI::ApiError => e
1053
- puts "Error when calling CatalogsApi->get_catalog_category_relationships: #{e}"
1044
+ puts "Error when calling CatalogsApi->get_catalog_category_relationships_items: #{e}"
1054
1045
  end
1055
1046
  ```
1056
1047
 
1057
- #### Using the get_catalog_category_relationships_with_http_info variant
1048
+ #### Using the get_catalog_category_relationships_items_with_http_info variant
1058
1049
 
1059
1050
  This returns an Array which contains the response data, status code and headers.
1060
1051
 
1061
- > <Array(Hash&lt;String, Object&gt;, Integer, Hash)> get_catalog_category_relationships_with_http_info(id, related_resource, opts)
1052
+ > <Array(Hash&lt;String, Object&gt;, Integer, Hash)> get_catalog_category_relationships_items_with_http_info(id, opts)
1062
1053
 
1063
1054
  ```ruby
1064
1055
  begin
1065
- # Get Catalog Category Relationships
1066
- data, status_code, headers = api_instance.get_catalog_category_relationships_with_http_info(id, related_resource, opts)
1056
+ # Get Catalog Category Relationships Items
1057
+ data, status_code, headers = api_instance.get_catalog_category_relationships_items_with_http_info(id, opts)
1067
1058
  p status_code # => 2xx
1068
1059
  p headers # => { ... }
1069
1060
  p data # => Hash&lt;String, Object&gt;
1070
1061
  rescue KlaviyoAPI::ApiError => e
1071
- puts "Error when calling CatalogsApi->get_catalog_category_relationships_with_http_info: #{e}"
1062
+ puts "Error when calling CatalogsApi->get_catalog_category_relationships_items_with_http_info: #{e}"
1072
1063
  end
1073
1064
  ```
1074
1065
 
@@ -1077,7 +1068,6 @@ end
1077
1068
  | Name | Type | Description | Notes |
1078
1069
  | ---- | ---- | ----------- | ----- |
1079
1070
  | **id** | **String** | | |
1080
- | **related_resource** | **String** | | |
1081
1071
  | **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#pagination | [optional] |
1082
1072
 
1083
1073
  ### Return type
@@ -1116,7 +1106,7 @@ KlaviyoAPI.configure do |config|
1116
1106
  end
1117
1107
 
1118
1108
  api_instance = KlaviyoAPI::CatalogsApi.new
1119
- id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1109
+ id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1120
1110
  opts = {
1121
1111
  fields_catalog_item: ['external_id'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
1122
1112
  fields_catalog_variant: ['external_id'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
@@ -1154,7 +1144,7 @@ end
1154
1144
 
1155
1145
  | Name | Type | Description | Notes |
1156
1146
  | ---- | ---- | ----------- | ----- |
1157
- | **id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1147
+ | **id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1158
1148
  | **fields_catalog_item** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1159
1149
  | **fields_catalog_variant** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1160
1150
  | **include** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#relationships | [optional] |
@@ -1195,7 +1185,7 @@ KlaviyoAPI.configure do |config|
1195
1185
  end
1196
1186
 
1197
1187
  api_instance = KlaviyoAPI::CatalogsApi.new
1198
- item_id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1188
+ item_id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1199
1189
  opts = {
1200
1190
  fields_catalog_category: ['external_id'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
1201
1191
  filter: 'filter_example', # String | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item`: `equals`<br>`name`: `contains`
@@ -1234,7 +1224,7 @@ end
1234
1224
 
1235
1225
  | Name | Type | Description | Notes |
1236
1226
  | ---- | ---- | ----------- | ----- |
1237
- | **item_id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1227
+ | **item_id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1238
1228
  | **fields_catalog_category** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1239
1229
  | **filter** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering&lt;br&gt;Allowed field(s)/operator(s):&lt;br&gt;&#x60;ids&#x60;: &#x60;any&#x60;&lt;br&gt;&#x60;item&#x60;: &#x60;equals&#x60;&lt;br&gt;&#x60;name&#x60;: &#x60;contains&#x60; | [optional] |
1240
1230
  | **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#pagination | [optional] |
@@ -1254,11 +1244,11 @@ end
1254
1244
  - **Accept**: application/json
1255
1245
 
1256
1246
 
1257
- ## get_catalog_item_relationships
1247
+ ## get_catalog_item_relationships_categories
1258
1248
 
1259
- > Hash&lt;String, Object&gt; get_catalog_item_relationships(id, related_resource, opts)
1249
+ > Hash&lt;String, Object&gt; get_catalog_item_relationships_categories(id, opts)
1260
1250
 
1261
- Get Catalog Item Relationships
1251
+ Get Catalog Item Relationships Categories
1262
1252
 
1263
1253
  Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
1264
1254
 
@@ -1277,35 +1267,34 @@ end
1277
1267
 
1278
1268
  api_instance = KlaviyoAPI::CatalogsApi.new
1279
1269
  id = 'id_example' # String |
1280
- related_resource = 'categories' # String |
1281
1270
  opts = {
1282
1271
  page_cursor: 'page_cursor_example' # String | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#pagination
1283
1272
  }
1284
1273
 
1285
1274
  begin
1286
- # Get Catalog Item Relationships
1287
- result = api_instance.get_catalog_item_relationships(id, related_resource, opts)
1275
+ # Get Catalog Item Relationships Categories
1276
+ result = api_instance.get_catalog_item_relationships_categories(id, opts)
1288
1277
  p result
1289
1278
  rescue KlaviyoAPI::ApiError => e
1290
- puts "Error when calling CatalogsApi->get_catalog_item_relationships: #{e}"
1279
+ puts "Error when calling CatalogsApi->get_catalog_item_relationships_categories: #{e}"
1291
1280
  end
1292
1281
  ```
1293
1282
 
1294
- #### Using the get_catalog_item_relationships_with_http_info variant
1283
+ #### Using the get_catalog_item_relationships_categories_with_http_info variant
1295
1284
 
1296
1285
  This returns an Array which contains the response data, status code and headers.
1297
1286
 
1298
- > <Array(Hash&lt;String, Object&gt;, Integer, Hash)> get_catalog_item_relationships_with_http_info(id, related_resource, opts)
1287
+ > <Array(Hash&lt;String, Object&gt;, Integer, Hash)> get_catalog_item_relationships_categories_with_http_info(id, opts)
1299
1288
 
1300
1289
  ```ruby
1301
1290
  begin
1302
- # Get Catalog Item Relationships
1303
- data, status_code, headers = api_instance.get_catalog_item_relationships_with_http_info(id, related_resource, opts)
1291
+ # Get Catalog Item Relationships Categories
1292
+ data, status_code, headers = api_instance.get_catalog_item_relationships_categories_with_http_info(id, opts)
1304
1293
  p status_code # => 2xx
1305
1294
  p headers # => { ... }
1306
1295
  p data # => Hash&lt;String, Object&gt;
1307
1296
  rescue KlaviyoAPI::ApiError => e
1308
- puts "Error when calling CatalogsApi->get_catalog_item_relationships_with_http_info: #{e}"
1297
+ puts "Error when calling CatalogsApi->get_catalog_item_relationships_categories_with_http_info: #{e}"
1309
1298
  end
1310
1299
  ```
1311
1300
 
@@ -1314,7 +1303,6 @@ end
1314
1303
  | Name | Type | Description | Notes |
1315
1304
  | ---- | ---- | ----------- | ----- |
1316
1305
  | **id** | **String** | | |
1317
- | **related_resource** | **String** | | |
1318
1306
  | **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#pagination | [optional] |
1319
1307
 
1320
1308
  ### Return type
@@ -1353,7 +1341,7 @@ KlaviyoAPI.configure do |config|
1353
1341
  end
1354
1342
 
1355
1343
  api_instance = KlaviyoAPI::CatalogsApi.new
1356
- item_id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1344
+ item_id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1357
1345
  opts = {
1358
1346
  fields_catalog_variant: ['external_id'], # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
1359
1347
  filter: 'filter_example', # String | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
@@ -1392,7 +1380,7 @@ end
1392
1380
 
1393
1381
  | Name | Type | Description | Notes |
1394
1382
  | ---- | ---- | ----------- | ----- |
1395
- | **item_id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1383
+ | **item_id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1396
1384
  | **fields_catalog_variant** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1397
1385
  | **filter** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering&lt;br&gt;Allowed field(s)/operator(s):&lt;br&gt;&#x60;ids&#x60;: &#x60;any&#x60;&lt;br&gt;&#x60;item&#x60;: &#x60;equals&#x60;&lt;br&gt;&#x60;sku&#x60;: &#x60;equals&#x60;&lt;br&gt;&#x60;title&#x60;: &#x60;contains&#x60;&lt;br&gt;&#x60;published&#x60;: &#x60;equals&#x60; | [optional] |
1398
1386
  | **page_cursor** | **String** | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#pagination | [optional] |
@@ -1517,7 +1505,7 @@ KlaviyoAPI.configure do |config|
1517
1505
  end
1518
1506
 
1519
1507
  api_instance = KlaviyoAPI::CatalogsApi.new
1520
- id = '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM' # String | The catalog variant ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1508
+ id = '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM' # String | The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1521
1509
  opts = {
1522
1510
  fields_catalog_variant: ['external_id'] # Array<String> | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
1523
1511
  }
@@ -1553,7 +1541,7 @@ end
1553
1541
 
1554
1542
  | Name | Type | Description | Notes |
1555
1543
  | ---- | ---- | ----------- | ----- |
1556
- | **id** | **String** | The catalog variant ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1544
+ | **id** | **String** | The catalog variant ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
1557
1545
  | **fields_catalog_variant** | [**Array&lt;String&gt;**](String.md) | For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets | [optional] |
1558
1546
 
1559
1547
  ### Return type
@@ -3063,7 +3051,7 @@ KlaviyoAPI.configure do |config|
3063
3051
  end
3064
3052
 
3065
3053
  api_instance = KlaviyoAPI::CatalogsApi.new
3066
- catalog_category_create_job_create_query = KlaviyoAPI::CatalogCategoryCreateJobCreateQuery.new({data: KlaviyoAPI::CatalogCategoryCreateJobCreateQueryAsSubResource.new({type: 'catalog-category-bulk-create-job', attributes: KlaviyoAPI::CatalogCategoryCreateJobCreateQueryAsSubResourceAttributes.new({categories: [KlaviyoAPI::CatalogCategoryCreateQueryAsSubResource.new({type: 'catalog-category', attributes: KlaviyoAPI::CatalogCategoryCreateQueryAsSubResourceAttributes.new({external_id: 'SAMPLE-DATA-CATEGORY-APPAREL', name: 'Sample Data Category Apparel'})})]})})}) # CatalogCategoryCreateJobCreateQuery |
3054
+ catalog_category_create_job_create_query = KlaviyoAPI::CatalogCategoryCreateJobCreateQuery.new({data: KlaviyoAPI::CatalogCategoryCreateJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryBulkCreateJobEnum::CATALOG_CATEGORY_BULK_CREATE_JOB, attributes: KlaviyoAPI::CatalogCategoryCreateJobCreateQueryResourceObjectAttributes.new({categories: [KlaviyoAPI::CatalogCategoryCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryEnum::CATALOG_CATEGORY, attributes: KlaviyoAPI::CatalogCategoryCreateQueryResourceObjectAttributes.new({external_id: 'SAMPLE-DATA-CATEGORY-APPAREL', name: 'Sample Data Category Apparel'})})]})})}) # CatalogCategoryCreateJobCreateQuery |
3067
3055
 
3068
3056
  begin
3069
3057
  # Spawn Create Categories Job
@@ -3134,7 +3122,7 @@ KlaviyoAPI.configure do |config|
3134
3122
  end
3135
3123
 
3136
3124
  api_instance = KlaviyoAPI::CatalogsApi.new
3137
- catalog_item_create_job_create_query = KlaviyoAPI::CatalogItemCreateJobCreateQuery.new({data: KlaviyoAPI::CatalogItemCreateJobCreateQueryAsSubResource.new({type: 'catalog-item-bulk-create-job', attributes: KlaviyoAPI::CatalogItemCreateJobCreateQueryAsSubResourceAttributes.new({items: [KlaviyoAPI::CatalogItemCreateQueryAsSubResource.new({type: 'catalog-item', attributes: KlaviyoAPI::CatalogItemCreateQueryAsSubResourceAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1', title: 'Ocean Blue Shirt (Sample)', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', url: 'https://via.placeholder.com/150'})})]})})}) # CatalogItemCreateJobCreateQuery |
3125
+ catalog_item_create_job_create_query = KlaviyoAPI::CatalogItemCreateJobCreateQuery.new({data: KlaviyoAPI::CatalogItemCreateJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemBulkCreateJobEnum::CATALOG_ITEM_BULK_CREATE_JOB, attributes: KlaviyoAPI::CatalogItemCreateJobCreateQueryResourceObjectAttributes.new({items: [KlaviyoAPI::CatalogItemCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemEnum::CATALOG_ITEM, attributes: KlaviyoAPI::CatalogItemCreateQueryResourceObjectAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1', title: 'Ocean Blue Shirt (Sample)', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', url: 'https://via.placeholder.com/150'})})]})})}) # CatalogItemCreateJobCreateQuery |
3138
3126
 
3139
3127
  begin
3140
3128
  # Spawn Create Items Job
@@ -3205,7 +3193,7 @@ KlaviyoAPI.configure do |config|
3205
3193
  end
3206
3194
 
3207
3195
  api_instance = KlaviyoAPI::CatalogsApi.new
3208
- catalog_variant_create_job_create_query = KlaviyoAPI::CatalogVariantCreateJobCreateQuery.new({data: KlaviyoAPI::CatalogVariantCreateJobCreateQueryAsSubResource.new({type: 'catalog-variant-bulk-create-job', attributes: KlaviyoAPI::CatalogVariantCreateJobCreateQueryAsSubResourceAttributes.new({variants: [KlaviyoAPI::CatalogVariantCreateQueryAsSubResource.new({type: 'catalog-variant', attributes: KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', title: 'Ocean Blue Shirt (Sample) Variant Medium', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', sku: 'OBS-MD', inventory_quantity: 25, price: 42, url: 'https://via.placeholder.com/150'})})]})})}) # CatalogVariantCreateJobCreateQuery |
3196
+ catalog_variant_create_job_create_query = KlaviyoAPI::CatalogVariantCreateJobCreateQuery.new({data: KlaviyoAPI::CatalogVariantCreateJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantBulkCreateJobEnum::CATALOG_VARIANT_BULK_CREATE_JOB, attributes: KlaviyoAPI::CatalogVariantCreateJobCreateQueryResourceObjectAttributes.new({variants: [KlaviyoAPI::CatalogVariantCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantEnum::CATALOG_VARIANT, attributes: KlaviyoAPI::CatalogVariantCreateQueryResourceObjectAttributes.new({external_id: 'SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', title: 'Ocean Blue Shirt (Sample) Variant Medium', description: 'Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.', sku: 'OBS-MD', inventory_quantity: 25, price: 42, url: 'https://via.placeholder.com/150'})})]})})}) # CatalogVariantCreateJobCreateQuery |
3209
3197
 
3210
3198
  begin
3211
3199
  # Spawn Create Variants Job
@@ -3276,7 +3264,7 @@ KlaviyoAPI.configure do |config|
3276
3264
  end
3277
3265
 
3278
3266
  api_instance = KlaviyoAPI::CatalogsApi.new
3279
- catalog_category_delete_job_create_query = KlaviyoAPI::CatalogCategoryDeleteJobCreateQuery.new({data: KlaviyoAPI::CatalogCategoryDeleteJobCreateQueryAsSubResource.new({type: 'catalog-category-bulk-delete-job', attributes: KlaviyoAPI::CatalogCategoryDeleteJobCreateQueryAsSubResourceAttributes.new({categories: [KlaviyoAPI::CatalogCategoryDeleteQueryAsSubResource.new({type: 'catalog-category', id: '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL'})]})})}) # CatalogCategoryDeleteJobCreateQuery |
3267
+ catalog_category_delete_job_create_query = KlaviyoAPI::CatalogCategoryDeleteJobCreateQuery.new({data: KlaviyoAPI::CatalogCategoryDeleteJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryBulkDeleteJobEnum::CATALOG_CATEGORY_BULK_DELETE_JOB, attributes: KlaviyoAPI::CatalogCategoryDeleteJobCreateQueryResourceObjectAttributes.new({categories: [KlaviyoAPI::CatalogCategoryDeleteQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryEnum::CATALOG_CATEGORY, id: '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL'})]})})}) # CatalogCategoryDeleteJobCreateQuery |
3280
3268
 
3281
3269
  begin
3282
3270
  # Spawn Delete Categories Job
@@ -3347,7 +3335,7 @@ KlaviyoAPI.configure do |config|
3347
3335
  end
3348
3336
 
3349
3337
  api_instance = KlaviyoAPI::CatalogsApi.new
3350
- catalog_item_delete_job_create_query = KlaviyoAPI::CatalogItemDeleteJobCreateQuery.new({data: KlaviyoAPI::CatalogItemDeleteJobCreateQueryAsSubResource.new({type: 'catalog-item-bulk-delete-job', attributes: KlaviyoAPI::CatalogItemDeleteJobCreateQueryAsSubResourceAttributes.new({items: [KlaviyoAPI::CatalogItemDeleteQueryAsSubResource.new({type: 'catalog-item', id: '$custom:::$default:::SAMPLE-DATA-ITEM-1'})]})})}) # CatalogItemDeleteJobCreateQuery |
3338
+ catalog_item_delete_job_create_query = KlaviyoAPI::CatalogItemDeleteJobCreateQuery.new({data: KlaviyoAPI::CatalogItemDeleteJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemBulkDeleteJobEnum::CATALOG_ITEM_BULK_DELETE_JOB, attributes: KlaviyoAPI::CatalogItemDeleteJobCreateQueryResourceObjectAttributes.new({items: [KlaviyoAPI::CatalogItemDeleteQueryResourceObject.new({type: KlaviyoAPI::CatalogItemEnum::CATALOG_ITEM, id: '$custom:::$default:::SAMPLE-DATA-ITEM-1'})]})})}) # CatalogItemDeleteJobCreateQuery |
3351
3339
 
3352
3340
  begin
3353
3341
  # Spawn Delete Items Job
@@ -3418,7 +3406,7 @@ KlaviyoAPI.configure do |config|
3418
3406
  end
3419
3407
 
3420
3408
  api_instance = KlaviyoAPI::CatalogsApi.new
3421
- catalog_variant_delete_job_create_query = KlaviyoAPI::CatalogVariantDeleteJobCreateQuery.new({data: KlaviyoAPI::CatalogVariantDeleteJobCreateQueryAsSubResource.new({type: 'catalog-variant-bulk-delete-job', attributes: KlaviyoAPI::CatalogVariantDeleteJobCreateQueryAsSubResourceAttributes.new({variants: [KlaviyoAPI::CatalogVariantDeleteQueryAsSubResource.new({type: 'catalog-variant', id: '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM'})]})})}) # CatalogVariantDeleteJobCreateQuery |
3409
+ catalog_variant_delete_job_create_query = KlaviyoAPI::CatalogVariantDeleteJobCreateQuery.new({data: KlaviyoAPI::CatalogVariantDeleteJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantBulkDeleteJobEnum::CATALOG_VARIANT_BULK_DELETE_JOB, attributes: KlaviyoAPI::CatalogVariantDeleteJobCreateQueryResourceObjectAttributes.new({variants: [KlaviyoAPI::CatalogVariantDeleteQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantEnum::CATALOG_VARIANT, id: '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM'})]})})}) # CatalogVariantDeleteJobCreateQuery |
3422
3410
 
3423
3411
  begin
3424
3412
  # Spawn Delete Variants Job
@@ -3489,7 +3477,7 @@ KlaviyoAPI.configure do |config|
3489
3477
  end
3490
3478
 
3491
3479
  api_instance = KlaviyoAPI::CatalogsApi.new
3492
- catalog_category_update_job_create_query = KlaviyoAPI::CatalogCategoryUpdateJobCreateQuery.new({data: KlaviyoAPI::CatalogCategoryUpdateJobCreateQueryAsSubResource.new({type: 'catalog-category-bulk-update-job', attributes: KlaviyoAPI::CatalogCategoryUpdateJobCreateQueryAsSubResourceAttributes.new({categories: [KlaviyoAPI::CatalogCategoryUpdateQueryAsSubResource.new({type: 'catalog-category', id: '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL', attributes: KlaviyoAPI::CatalogCategoryUpdateQueryAsSubResourceAttributes.new})]})})}) # CatalogCategoryUpdateJobCreateQuery |
3480
+ catalog_category_update_job_create_query = KlaviyoAPI::CatalogCategoryUpdateJobCreateQuery.new({data: KlaviyoAPI::CatalogCategoryUpdateJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryBulkUpdateJobEnum::CATALOG_CATEGORY_BULK_UPDATE_JOB, attributes: KlaviyoAPI::CatalogCategoryUpdateJobCreateQueryResourceObjectAttributes.new({categories: [KlaviyoAPI::CatalogCategoryUpdateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryEnum::CATALOG_CATEGORY, id: '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL', attributes: KlaviyoAPI::CatalogCategoryUpdateQueryResourceObjectAttributes.new})]})})}) # CatalogCategoryUpdateJobCreateQuery |
3493
3481
 
3494
3482
  begin
3495
3483
  # Spawn Update Categories Job
@@ -3560,7 +3548,7 @@ KlaviyoAPI.configure do |config|
3560
3548
  end
3561
3549
 
3562
3550
  api_instance = KlaviyoAPI::CatalogsApi.new
3563
- catalog_item_update_job_create_query = KlaviyoAPI::CatalogItemUpdateJobCreateQuery.new({data: KlaviyoAPI::CatalogItemUpdateJobCreateQueryAsSubResource.new({type: 'catalog-item-bulk-update-job', attributes: KlaviyoAPI::CatalogItemUpdateJobCreateQueryAsSubResourceAttributes.new({items: [KlaviyoAPI::CatalogItemUpdateQueryAsSubResource.new({type: 'catalog-item', id: '$custom:::$default:::SAMPLE-DATA-ITEM-1', attributes: KlaviyoAPI::CatalogItemUpdateQueryAsSubResourceAttributes.new})]})})}) # CatalogItemUpdateJobCreateQuery |
3551
+ catalog_item_update_job_create_query = KlaviyoAPI::CatalogItemUpdateJobCreateQuery.new({data: KlaviyoAPI::CatalogItemUpdateJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemBulkUpdateJobEnum::CATALOG_ITEM_BULK_UPDATE_JOB, attributes: KlaviyoAPI::CatalogItemUpdateJobCreateQueryResourceObjectAttributes.new({items: [KlaviyoAPI::CatalogItemUpdateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemEnum::CATALOG_ITEM, id: '$custom:::$default:::SAMPLE-DATA-ITEM-1', attributes: KlaviyoAPI::CatalogItemUpdateQueryResourceObjectAttributes.new})]})})}) # CatalogItemUpdateJobCreateQuery |
3564
3552
 
3565
3553
  begin
3566
3554
  # Spawn Update Items Job
@@ -3631,7 +3619,7 @@ KlaviyoAPI.configure do |config|
3631
3619
  end
3632
3620
 
3633
3621
  api_instance = KlaviyoAPI::CatalogsApi.new
3634
- catalog_variant_update_job_create_query = KlaviyoAPI::CatalogVariantUpdateJobCreateQuery.new({data: KlaviyoAPI::CatalogVariantUpdateJobCreateQueryAsSubResource.new({type: 'catalog-variant-bulk-update-job', attributes: KlaviyoAPI::CatalogVariantUpdateJobCreateQueryAsSubResourceAttributes.new({variants: [KlaviyoAPI::CatalogVariantUpdateQueryAsSubResource.new({type: 'catalog-variant', id: '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', attributes: KlaviyoAPI::CatalogVariantUpdateQueryAsSubResourceAttributes.new})]})})}) # CatalogVariantUpdateJobCreateQuery |
3622
+ catalog_variant_update_job_create_query = KlaviyoAPI::CatalogVariantUpdateJobCreateQuery.new({data: KlaviyoAPI::CatalogVariantUpdateJobCreateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantBulkUpdateJobEnum::CATALOG_VARIANT_BULK_UPDATE_JOB, attributes: KlaviyoAPI::CatalogVariantUpdateJobCreateQueryResourceObjectAttributes.new({variants: [KlaviyoAPI::CatalogVariantUpdateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantEnum::CATALOG_VARIANT, id: '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', attributes: KlaviyoAPI::CatalogVariantUpdateQueryResourceObjectAttributes.new})]})})}) # CatalogVariantUpdateJobCreateQuery |
3635
3623
 
3636
3624
  begin
3637
3625
  # Spawn Update Variants Job
@@ -3702,8 +3690,8 @@ KlaviyoAPI.configure do |config|
3702
3690
  end
3703
3691
 
3704
3692
  api_instance = KlaviyoAPI::CatalogsApi.new
3705
- id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3706
- catalog_category_update_query = KlaviyoAPI::CatalogCategoryUpdateQuery.new({data: KlaviyoAPI::CatalogCategoryUpdateQueryAsSubResource.new({type: 'catalog-category', id: '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL', attributes: KlaviyoAPI::CatalogCategoryUpdateQueryAsSubResourceAttributes.new})}) # CatalogCategoryUpdateQuery |
3693
+ id = '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL' # String | The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3694
+ catalog_category_update_query = KlaviyoAPI::CatalogCategoryUpdateQuery.new({data: KlaviyoAPI::CatalogCategoryUpdateQueryResourceObject.new({type: KlaviyoAPI::CatalogCategoryEnum::CATALOG_CATEGORY, id: '$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL', attributes: KlaviyoAPI::CatalogCategoryUpdateQueryResourceObjectAttributes.new})}) # CatalogCategoryUpdateQuery |
3707
3695
 
3708
3696
  begin
3709
3697
  # Update Catalog Category
@@ -3736,7 +3724,7 @@ end
3736
3724
 
3737
3725
  | Name | Type | Description | Notes |
3738
3726
  | ---- | ---- | ----------- | ----- |
3739
- | **id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
3727
+ | **id** | **String** | The catalog category ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
3740
3728
  | **catalog_category_update_query** | [**CatalogCategoryUpdateQuery**](CatalogCategoryUpdateQuery.md) | | |
3741
3729
 
3742
3730
  ### Return type
@@ -3753,11 +3741,11 @@ end
3753
3741
  - **Accept**: application/json
3754
3742
 
3755
3743
 
3756
- ## update_catalog_category_relationships
3744
+ ## update_catalog_category_relationships_items
3757
3745
 
3758
- > update_catalog_category_relationships(id, related_resource, catalog_category_item_op)
3746
+ > update_catalog_category_relationships_items(id, catalog_category_item_op)
3759
3747
 
3760
- Update Catalog Category Relationships
3748
+ Update Catalog Category Relationships Items
3761
3749
 
3762
3750
  Update item relationships for the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
3763
3751
 
@@ -3776,32 +3764,31 @@ end
3776
3764
 
3777
3765
  api_instance = KlaviyoAPI::CatalogsApi.new
3778
3766
  id = 'id_example' # String |
3779
- related_resource = 'items' # String |
3780
- catalog_category_item_op = KlaviyoAPI::CatalogCategoryItemOp.new({data: [KlaviyoAPI::CatalogVariantCreateQueryAsSubResourceRelationshipsItemsDataInner.new({type: 'catalog-item', id: 'id_example'})]}) # CatalogCategoryItemOp |
3767
+ catalog_category_item_op = KlaviyoAPI::CatalogCategoryItemOp.new({data: [KlaviyoAPI::CatalogVariantCreateQueryResourceObjectRelationshipsItemsDataInner.new({type: 'catalog-item', id: 'id_example'})]}) # CatalogCategoryItemOp |
3781
3768
 
3782
3769
  begin
3783
- # Update Catalog Category Relationships
3784
- api_instance.update_catalog_category_relationships(id, related_resource, catalog_category_item_op)
3770
+ # Update Catalog Category Relationships Items
3771
+ api_instance.update_catalog_category_relationships_items(id, catalog_category_item_op)
3785
3772
  rescue KlaviyoAPI::ApiError => e
3786
- puts "Error when calling CatalogsApi->update_catalog_category_relationships: #{e}"
3773
+ puts "Error when calling CatalogsApi->update_catalog_category_relationships_items: #{e}"
3787
3774
  end
3788
3775
  ```
3789
3776
 
3790
- #### Using the update_catalog_category_relationships_with_http_info variant
3777
+ #### Using the update_catalog_category_relationships_items_with_http_info variant
3791
3778
 
3792
3779
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
3793
3780
 
3794
- > <Array(nil, Integer, Hash)> update_catalog_category_relationships_with_http_info(id, related_resource, catalog_category_item_op)
3781
+ > <Array(nil, Integer, Hash)> update_catalog_category_relationships_items_with_http_info(id, catalog_category_item_op)
3795
3782
 
3796
3783
  ```ruby
3797
3784
  begin
3798
- # Update Catalog Category Relationships
3799
- data, status_code, headers = api_instance.update_catalog_category_relationships_with_http_info(id, related_resource, catalog_category_item_op)
3785
+ # Update Catalog Category Relationships Items
3786
+ data, status_code, headers = api_instance.update_catalog_category_relationships_items_with_http_info(id, catalog_category_item_op)
3800
3787
  p status_code # => 2xx
3801
3788
  p headers # => { ... }
3802
3789
  p data # => nil
3803
3790
  rescue KlaviyoAPI::ApiError => e
3804
- puts "Error when calling CatalogsApi->update_catalog_category_relationships_with_http_info: #{e}"
3791
+ puts "Error when calling CatalogsApi->update_catalog_category_relationships_items_with_http_info: #{e}"
3805
3792
  end
3806
3793
  ```
3807
3794
 
@@ -3810,7 +3797,6 @@ end
3810
3797
  | Name | Type | Description | Notes |
3811
3798
  | ---- | ---- | ----------- | ----- |
3812
3799
  | **id** | **String** | | |
3813
- | **related_resource** | **String** | | |
3814
3800
  | **catalog_category_item_op** | [**CatalogCategoryItemOp**](CatalogCategoryItemOp.md) | | |
3815
3801
 
3816
3802
  ### Return type
@@ -3849,8 +3835,8 @@ KlaviyoAPI.configure do |config|
3849
3835
  end
3850
3836
 
3851
3837
  api_instance = KlaviyoAPI::CatalogsApi.new
3852
- id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3853
- catalog_item_update_query = KlaviyoAPI::CatalogItemUpdateQuery.new({data: KlaviyoAPI::CatalogItemUpdateQueryAsSubResource.new({type: 'catalog-item', id: '$custom:::$default:::SAMPLE-DATA-ITEM-1', attributes: KlaviyoAPI::CatalogItemUpdateQueryAsSubResourceAttributes.new})}) # CatalogItemUpdateQuery |
3838
+ id = '$custom:::$default:::SAMPLE-DATA-ITEM-1' # String | The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3839
+ catalog_item_update_query = KlaviyoAPI::CatalogItemUpdateQuery.new({data: KlaviyoAPI::CatalogItemUpdateQueryResourceObject.new({type: KlaviyoAPI::CatalogItemEnum::CATALOG_ITEM, id: '$custom:::$default:::SAMPLE-DATA-ITEM-1', attributes: KlaviyoAPI::CatalogItemUpdateQueryResourceObjectAttributes.new})}) # CatalogItemUpdateQuery |
3854
3840
 
3855
3841
  begin
3856
3842
  # Update Catalog Item
@@ -3883,7 +3869,7 @@ end
3883
3869
 
3884
3870
  | Name | Type | Description | Notes |
3885
3871
  | ---- | ---- | ----------- | ----- |
3886
- | **id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
3872
+ | **id** | **String** | The catalog item ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
3887
3873
  | **catalog_item_update_query** | [**CatalogItemUpdateQuery**](CatalogItemUpdateQuery.md) | | |
3888
3874
 
3889
3875
  ### Return type
@@ -3900,11 +3886,11 @@ end
3900
3886
  - **Accept**: application/json
3901
3887
 
3902
3888
 
3903
- ## update_catalog_item_relationships
3889
+ ## update_catalog_item_relationships_categories
3904
3890
 
3905
- > update_catalog_item_relationships(id, related_resource, catalog_item_category_op)
3891
+ > update_catalog_item_relationships_categories(id, catalog_item_category_op)
3906
3892
 
3907
- Update Catalog Item Relationships
3893
+ Update Catalog Item Relationships Categories
3908
3894
 
3909
3895
  Update catalog category relationships for the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
3910
3896
 
@@ -3923,32 +3909,31 @@ end
3923
3909
 
3924
3910
  api_instance = KlaviyoAPI::CatalogsApi.new
3925
3911
  id = 'id_example' # String |
3926
- related_resource = 'categories' # String |
3927
- catalog_item_category_op = KlaviyoAPI::CatalogItemCategoryOp.new({data: [KlaviyoAPI::CatalogItemCreateQueryAsSubResourceRelationshipsCategoriesDataInner.new({type: 'catalog-category', id: 'id_example'})]}) # CatalogItemCategoryOp |
3912
+ catalog_item_category_op = KlaviyoAPI::CatalogItemCategoryOp.new({data: [KlaviyoAPI::CatalogItemCreateQueryResourceObjectRelationshipsCategoriesDataInner.new({type: 'catalog-category', id: 'id_example'})]}) # CatalogItemCategoryOp |
3928
3913
 
3929
3914
  begin
3930
- # Update Catalog Item Relationships
3931
- api_instance.update_catalog_item_relationships(id, related_resource, catalog_item_category_op)
3915
+ # Update Catalog Item Relationships Categories
3916
+ api_instance.update_catalog_item_relationships_categories(id, catalog_item_category_op)
3932
3917
  rescue KlaviyoAPI::ApiError => e
3933
- puts "Error when calling CatalogsApi->update_catalog_item_relationships: #{e}"
3918
+ puts "Error when calling CatalogsApi->update_catalog_item_relationships_categories: #{e}"
3934
3919
  end
3935
3920
  ```
3936
3921
 
3937
- #### Using the update_catalog_item_relationships_with_http_info variant
3922
+ #### Using the update_catalog_item_relationships_categories_with_http_info variant
3938
3923
 
3939
3924
  This returns an Array which contains the response data (`nil` in this case), status code and headers.
3940
3925
 
3941
- > <Array(nil, Integer, Hash)> update_catalog_item_relationships_with_http_info(id, related_resource, catalog_item_category_op)
3926
+ > <Array(nil, Integer, Hash)> update_catalog_item_relationships_categories_with_http_info(id, catalog_item_category_op)
3942
3927
 
3943
3928
  ```ruby
3944
3929
  begin
3945
- # Update Catalog Item Relationships
3946
- data, status_code, headers = api_instance.update_catalog_item_relationships_with_http_info(id, related_resource, catalog_item_category_op)
3930
+ # Update Catalog Item Relationships Categories
3931
+ data, status_code, headers = api_instance.update_catalog_item_relationships_categories_with_http_info(id, catalog_item_category_op)
3947
3932
  p status_code # => 2xx
3948
3933
  p headers # => { ... }
3949
3934
  p data # => nil
3950
3935
  rescue KlaviyoAPI::ApiError => e
3951
- puts "Error when calling CatalogsApi->update_catalog_item_relationships_with_http_info: #{e}"
3936
+ puts "Error when calling CatalogsApi->update_catalog_item_relationships_categories_with_http_info: #{e}"
3952
3937
  end
3953
3938
  ```
3954
3939
 
@@ -3957,7 +3942,6 @@ end
3957
3942
  | Name | Type | Description | Notes |
3958
3943
  | ---- | ---- | ----------- | ----- |
3959
3944
  | **id** | **String** | | |
3960
- | **related_resource** | **String** | | |
3961
3945
  | **catalog_item_category_op** | [**CatalogItemCategoryOp**](CatalogItemCategoryOp.md) | | |
3962
3946
 
3963
3947
  ### Return type
@@ -3996,8 +3980,8 @@ KlaviyoAPI.configure do |config|
3996
3980
  end
3997
3981
 
3998
3982
  api_instance = KlaviyoAPI::CatalogsApi.new
3999
- id = '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM' # String | The catalog variant ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
4000
- catalog_variant_update_query = KlaviyoAPI::CatalogVariantUpdateQuery.new({data: KlaviyoAPI::CatalogVariantUpdateQueryAsSubResource.new({type: 'catalog-variant', id: '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', attributes: KlaviyoAPI::CatalogVariantUpdateQueryAsSubResourceAttributes.new})}) # CatalogVariantUpdateQuery |
3983
+ id = '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM' # String | The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3984
+ catalog_variant_update_query = KlaviyoAPI::CatalogVariantUpdateQuery.new({data: KlaviyoAPI::CatalogVariantUpdateQueryResourceObject.new({type: KlaviyoAPI::CatalogVariantEnum::CATALOG_VARIANT, id: '$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM', attributes: KlaviyoAPI::CatalogVariantUpdateQueryResourceObjectAttributes.new})}) # CatalogVariantUpdateQuery |
4001
3985
 
4002
3986
  begin
4003
3987
  # Update Catalog Variant
@@ -4030,7 +4014,7 @@ end
4030
4014
 
4031
4015
  | Name | Type | Description | Notes |
4032
4016
  | ---- | ---- | ----------- | ----- |
4033
- | **id** | **String** | The catalog variant ID is a compound ID (string), with format: &#x60;${integration}:::${catalog}:::${external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
4017
+ | **id** | **String** | The catalog variant ID is a compound ID (string), with format: &#x60;{integration}:::{catalog}:::{external_id}&#x60;. Currently, the only supported integration type is &#x60;$custom&#x60;, and the only supported catalog is &#x60;$default&#x60;. | |
4034
4018
  | **catalog_variant_update_query** | [**CatalogVariantUpdateQuery**](CatalogVariantUpdateQuery.md) | | |
4035
4019
 
4036
4020
  ### Return type