klaviyo-api-sdk 10.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +382 -136
  4. data/klaviyo-api-sdk.gemspec +1 -1
  5. data/lib/klaviyo-api-sdk/api/accounts_api.rb +2 -2
  6. data/lib/klaviyo-api-sdk/api/campaigns_api.rb +41 -23
  7. data/lib/klaviyo-api-sdk/api/catalogs_api.rb +82 -76
  8. data/lib/klaviyo-api-sdk/api/coupons_api.rb +111 -93
  9. data/lib/klaviyo-api-sdk/api/data_privacy_api.rb +1 -1
  10. data/lib/klaviyo-api-sdk/api/events_api.rb +128 -116
  11. data/lib/klaviyo-api-sdk/api/flows_api.rb +199 -169
  12. data/lib/klaviyo-api-sdk/api/forms_api.rb +19 -7
  13. data/lib/klaviyo-api-sdk/api/images_api.rb +5 -5
  14. data/lib/klaviyo-api-sdk/api/lists_api.rb +391 -337
  15. data/lib/klaviyo-api-sdk/api/metrics_api.rb +151 -115
  16. data/lib/klaviyo-api-sdk/api/profiles_api.rb +170 -119
  17. data/lib/klaviyo-api-sdk/api/reporting_api.rb +49 -7
  18. data/lib/klaviyo-api-sdk/api/reviews_api.rb +2 -2
  19. data/lib/klaviyo-api-sdk/api/segments_api.rb +170 -146
  20. data/lib/klaviyo-api-sdk/api/tags_api.rb +108 -42
  21. data/lib/klaviyo-api-sdk/api/templates_api.rb +12 -12
  22. data/lib/klaviyo-api-sdk/api/tracking_settings_api.rb +3 -3
  23. data/lib/klaviyo-api-sdk/api/webhooks_api.rb +7 -7
  24. data/lib/klaviyo-api-sdk/api_client.rb +1 -1
  25. data/lib/klaviyo-api-sdk/configuration.rb +18 -9
  26. data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb +34 -0
  27. data/lib/klaviyo-api-sdk/models/device_metadata.rb +2 -2
  28. data/lib/klaviyo-api-sdk/models/email_unsubscription_parameters.rb +224 -0
  29. data/lib/klaviyo-api-sdk/models/html_block_data.rb +4 -14
  30. data/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb +14 -5
  31. data/lib/klaviyo-api-sdk/models/sms_subscription_parameters.rb +13 -4
  32. data/lib/klaviyo-api-sdk/models/sms_unsubscription_parameters.rb +228 -0
  33. data/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb +1 -1
  34. data/lib/klaviyo-api-sdk/models/unsubscription_channels.rb +228 -0
  35. data/lib/klaviyo-api-sdk/models/unsubscription_parameters.rb +259 -0
  36. data/lib/klaviyo-api-sdk.rb +36 -19
  37. metadata +6 -2
@@ -70,7 +70,7 @@ module KlaviyoAPI
70
70
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
73
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :"TagsApi.create_tag",
@@ -140,7 +140,7 @@ module KlaviyoAPI
140
140
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
141
141
 
142
142
  # auth_names
143
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
143
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
144
144
 
145
145
  new_options = opts.merge(
146
146
  :operation => :"TagsApi.create_tag_group",
@@ -205,7 +205,7 @@ module KlaviyoAPI
205
205
  return_type = opts[:debug_return_type]
206
206
 
207
207
  # auth_names
208
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
208
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
209
209
 
210
210
  new_options = opts.merge(
211
211
  :operation => :"TagsApi.delete_tag",
@@ -270,7 +270,7 @@ module KlaviyoAPI
270
270
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
271
271
 
272
272
  # auth_names
273
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
273
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
274
274
 
275
275
  new_options = opts.merge(
276
276
  :operation => :"TagsApi.delete_tag_group",
@@ -338,7 +338,7 @@ module KlaviyoAPI
338
338
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
339
339
 
340
340
  # auth_names
341
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
341
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
342
342
 
343
343
  new_options = opts.merge(
344
344
  :operation => :"TagsApi.get_campaign_ids_for_tag",
@@ -409,7 +409,7 @@ module KlaviyoAPI
409
409
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
410
410
 
411
411
  # auth_names
412
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
412
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
413
413
 
414
414
  new_options = opts.merge(
415
415
  :operation => :"TagsApi.get_flow_ids_for_tag",
@@ -480,7 +480,7 @@ module KlaviyoAPI
480
480
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
481
481
 
482
482
  # auth_names
483
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
483
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
484
484
 
485
485
  new_options = opts.merge(
486
486
  :operation => :"TagsApi.get_list_ids_for_tag",
@@ -551,7 +551,7 @@ module KlaviyoAPI
551
551
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
552
552
 
553
553
  # auth_names
554
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
554
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
555
555
 
556
556
  new_options = opts.merge(
557
557
  :operation => :"TagsApi.get_segment_ids_for_tag",
@@ -640,7 +640,7 @@ module KlaviyoAPI
640
640
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
641
641
 
642
642
  # auth_names
643
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
643
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
644
644
 
645
645
  new_options = opts.merge(
646
646
  :operation => :"TagsApi.get_tag",
@@ -712,7 +712,7 @@ module KlaviyoAPI
712
712
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
713
713
 
714
714
  # auth_names
715
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
715
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
716
716
 
717
717
  new_options = opts.merge(
718
718
  :operation => :"TagsApi.get_tag_group",
@@ -745,6 +745,9 @@ module KlaviyoAPI
745
745
  # alias of `get_tag_group_for_tag`
746
746
  alias get_tag_tag_group get_tag_group_for_tag
747
747
 
748
+ # alias of `get_tag_group_for_tag`
749
+ alias get_group_for_tag get_tag_group_for_tag
750
+
748
751
  # Get Tag Group for Tag
749
752
  # Returns the tag group resource for a given tag ID.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;tags:read&#x60;
750
753
  # @param id [String] The Tag ID
@@ -787,7 +790,7 @@ module KlaviyoAPI
787
790
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
788
791
 
789
792
  # auth_names
790
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
793
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
791
794
 
792
795
  new_options = opts.merge(
793
796
  :operation => :"TagsApi.get_tag_group_for_tag",
@@ -809,6 +812,9 @@ module KlaviyoAPI
809
812
  # alias of `get_tag_group_for_tag_with_http_info`
810
813
  alias get_tag_tag_group_with_http_info get_tag_group_for_tag_with_http_info
811
814
 
815
+ # alias of `get_tag_group_for_tag_with_http_info`
816
+ alias get_group_for_tag_with_http_info get_tag_group_for_tag_with_http_info
817
+
812
818
  # Get Tag Group ID for Tag
813
819
  # Returns the id of the tag group related to the given tag.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read`
814
820
  # @param id [String] The Tag ID
@@ -822,6 +828,12 @@ module KlaviyoAPI
822
828
  # alias of `get_tag_group_id_for_tag`
823
829
  alias get_tag_relationships_tag_group get_tag_group_id_for_tag
824
830
 
831
+ # alias of `get_tag_group_id_for_tag`
832
+ alias get_group_id_for_tag get_tag_group_id_for_tag
833
+
834
+ # alias of `get_tag_group_id_for_tag`
835
+ alias get_tag_relationships_group get_tag_group_id_for_tag
836
+
825
837
  # Get Tag Group ID for Tag
826
838
  # Returns the id of the tag group related to the given tag.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;tags:read&#x60;
827
839
  # @param id [String] The Tag ID
@@ -858,7 +870,7 @@ module KlaviyoAPI
858
870
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
859
871
 
860
872
  # auth_names
861
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
873
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
862
874
 
863
875
  new_options = opts.merge(
864
876
  :operation => :"TagsApi.get_tag_group_id_for_tag",
@@ -880,6 +892,12 @@ module KlaviyoAPI
880
892
  # alias of `get_tag_group_id_for_tag_with_http_info`
881
893
  alias get_tag_relationships_tag_group_with_http_info get_tag_group_id_for_tag_with_http_info
882
894
 
895
+ # alias of `get_tag_group_id_for_tag_with_http_info`
896
+ alias get_group_id_for_tag_with_http_info get_tag_group_id_for_tag_with_http_info
897
+
898
+ # alias of `get_tag_group_id_for_tag_with_http_info`
899
+ alias get_tag_relationships_group_with_http_info get_tag_group_id_for_tag_with_http_info
900
+
883
901
  # Get Tag Groups
884
902
  # List all tag groups in an account. Every account has one default tag group. Tag groups can be filtered by `name`, `exclusive`, and `default`, and sorted by `name` or `id` in ascending or descending order. Returns a maximum of 25 tag groups per request, which can be paginated with [cursor-based pagination](https://developers.klaviyo.com/en/v2022-10-17/reference/api_overview#pagination).<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read`
885
903
  # @param [Hash] opts the optional parameters
@@ -940,7 +958,7 @@ module KlaviyoAPI
940
958
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
941
959
 
942
960
  # auth_names
943
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
961
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
944
962
 
945
963
  new_options = opts.merge(
946
964
  :operation => :"TagsApi.get_tag_groups",
@@ -1008,7 +1026,7 @@ module KlaviyoAPI
1008
1026
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
1009
1027
 
1010
1028
  # auth_names
1011
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1029
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1012
1030
 
1013
1031
  new_options = opts.merge(
1014
1032
  :operation => :"TagsApi.get_tag_ids_for_tag_group",
@@ -1104,7 +1122,7 @@ module KlaviyoAPI
1104
1122
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
1105
1123
 
1106
1124
  # auth_names
1107
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1125
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1108
1126
 
1109
1127
  new_options = opts.merge(
1110
1128
  :operation => :"TagsApi.get_tags",
@@ -1179,7 +1197,7 @@ module KlaviyoAPI
1179
1197
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
1180
1198
 
1181
1199
  # auth_names
1182
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1200
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1183
1201
 
1184
1202
  new_options = opts.merge(
1185
1203
  :operation => :"TagsApi.get_tags_for_tag_group",
@@ -1215,6 +1233,9 @@ module KlaviyoAPI
1215
1233
  # alias of `remove_tag_from_campaigns`
1216
1234
  alias delete_tag_relationships_campaigns remove_tag_from_campaigns
1217
1235
 
1236
+ # alias of `remove_tag_from_campaigns`
1237
+ alias remove_campaigns_from_tag remove_tag_from_campaigns
1238
+
1218
1239
  # Remove Tag from Campaigns
1219
1240
  # Remove a tag&#39;s association with one or more campaigns. Use the request body to pass in the ID(s) of the campaign(s) whose association with the tag will be removed.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;campaigns:write&#x60; &#x60;tags:write&#x60;
1220
1241
  # @param id [String] The Tag ID
@@ -1261,7 +1282,7 @@ module KlaviyoAPI
1261
1282
  return_type = opts[:debug_return_type]
1262
1283
 
1263
1284
  # auth_names
1264
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1285
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1265
1286
 
1266
1287
  new_options = opts.merge(
1267
1288
  :operation => :"TagsApi.remove_tag_from_campaigns",
@@ -1283,6 +1304,9 @@ module KlaviyoAPI
1283
1304
  # alias of `remove_tag_from_campaigns_with_http_info`
1284
1305
  alias delete_tag_relationships_campaigns_with_http_info remove_tag_from_campaigns_with_http_info
1285
1306
 
1307
+ # alias of `remove_tag_from_campaigns_with_http_info`
1308
+ alias remove_campaigns_from_tag_with_http_info remove_tag_from_campaigns_with_http_info
1309
+
1286
1310
  # Remove Tag from Flows
1287
1311
  # Remove a tag's association with one or more flows. Use the request body to pass in the ID(s) of the flows(s) whose association with the tag will be removed.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:write` `tags:write`
1288
1312
  # @param id [String] The Tag ID
@@ -1297,6 +1321,9 @@ module KlaviyoAPI
1297
1321
  # alias of `remove_tag_from_flows`
1298
1322
  alias delete_tag_relationships_flows remove_tag_from_flows
1299
1323
 
1324
+ # alias of `remove_tag_from_flows`
1325
+ alias remove_flows_from_tag remove_tag_from_flows
1326
+
1300
1327
  # Remove Tag from Flows
1301
1328
  # Remove a tag&#39;s association with one or more flows. Use the request body to pass in the ID(s) of the flows(s) whose association with the tag will be removed.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;flows:write&#x60; &#x60;tags:write&#x60;
1302
1329
  # @param id [String] The Tag ID
@@ -1343,7 +1370,7 @@ module KlaviyoAPI
1343
1370
  return_type = opts[:debug_return_type]
1344
1371
 
1345
1372
  # auth_names
1346
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1373
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1347
1374
 
1348
1375
  new_options = opts.merge(
1349
1376
  :operation => :"TagsApi.remove_tag_from_flows",
@@ -1365,6 +1392,9 @@ module KlaviyoAPI
1365
1392
  # alias of `remove_tag_from_flows_with_http_info`
1366
1393
  alias delete_tag_relationships_flows_with_http_info remove_tag_from_flows_with_http_info
1367
1394
 
1395
+ # alias of `remove_tag_from_flows_with_http_info`
1396
+ alias remove_flows_from_tag_with_http_info remove_tag_from_flows_with_http_info
1397
+
1368
1398
  # Remove Tag from Lists
1369
1399
  # Remove a tag's association with one or more lists. Use the request body to pass in the ID(s) of the list(s) whose association with the tag will be removed.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `lists:write` `tags:write`
1370
1400
  # @param id [String] The Tag ID
@@ -1379,6 +1409,9 @@ module KlaviyoAPI
1379
1409
  # alias of `remove_tag_from_lists`
1380
1410
  alias delete_tag_relationships_lists remove_tag_from_lists
1381
1411
 
1412
+ # alias of `remove_tag_from_lists`
1413
+ alias remove_lists_from_tag remove_tag_from_lists
1414
+
1382
1415
  # Remove Tag from Lists
1383
1416
  # Remove a tag&#39;s association with one or more lists. Use the request body to pass in the ID(s) of the list(s) whose association with the tag will be removed.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;lists:write&#x60; &#x60;tags:write&#x60;
1384
1417
  # @param id [String] The Tag ID
@@ -1425,7 +1458,7 @@ module KlaviyoAPI
1425
1458
  return_type = opts[:debug_return_type]
1426
1459
 
1427
1460
  # auth_names
1428
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1461
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1429
1462
 
1430
1463
  new_options = opts.merge(
1431
1464
  :operation => :"TagsApi.remove_tag_from_lists",
@@ -1447,6 +1480,9 @@ module KlaviyoAPI
1447
1480
  # alias of `remove_tag_from_lists_with_http_info`
1448
1481
  alias delete_tag_relationships_lists_with_http_info remove_tag_from_lists_with_http_info
1449
1482
 
1483
+ # alias of `remove_tag_from_lists_with_http_info`
1484
+ alias remove_lists_from_tag_with_http_info remove_tag_from_lists_with_http_info
1485
+
1450
1486
  # Remove Tag from Segments
1451
1487
  # Remove a tag's association with one or more segments. Use the request body to pass in the ID(s) of the segments(s) whose association with the tag will be removed.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `segments:write` `tags:write`
1452
1488
  # @param id [String] The Tag ID
@@ -1461,6 +1497,9 @@ module KlaviyoAPI
1461
1497
  # alias of `remove_tag_from_segments`
1462
1498
  alias delete_tag_relationships_segments remove_tag_from_segments
1463
1499
 
1500
+ # alias of `remove_tag_from_segments`
1501
+ alias remove_segments_from_tag remove_tag_from_segments
1502
+
1464
1503
  # Remove Tag from Segments
1465
1504
  # Remove a tag&#39;s association with one or more segments. Use the request body to pass in the ID(s) of the segments(s) whose association with the tag will be removed.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;segments:write&#x60; &#x60;tags:write&#x60;
1466
1505
  # @param id [String] The Tag ID
@@ -1507,7 +1546,7 @@ module KlaviyoAPI
1507
1546
  return_type = opts[:debug_return_type]
1508
1547
 
1509
1548
  # auth_names
1510
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1549
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1511
1550
 
1512
1551
  new_options = opts.merge(
1513
1552
  :operation => :"TagsApi.remove_tag_from_segments",
@@ -1529,6 +1568,9 @@ module KlaviyoAPI
1529
1568
  # alias of `remove_tag_from_segments_with_http_info`
1530
1569
  alias delete_tag_relationships_segments_with_http_info remove_tag_from_segments_with_http_info
1531
1570
 
1571
+ # alias of `remove_tag_from_segments_with_http_info`
1572
+ alias remove_segments_from_tag_with_http_info remove_tag_from_segments_with_http_info
1573
+
1532
1574
  # Tag Campaigns
1533
1575
  # Associate a tag with one or more campaigns. Any campaign cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the campaign(s) that will be associated with the tag.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `campaigns:write` `tags:write`
1534
1576
  # @param id [String] The Tag ID
@@ -1541,10 +1583,13 @@ module KlaviyoAPI
1541
1583
  end
1542
1584
 
1543
1585
  # alias of `tag_campaigns`
1544
- alias create_tag_relationships_campaigns tag_campaigns
1586
+ alias create_tag_relationships_campaign tag_campaigns
1545
1587
 
1546
1588
  # alias of `tag_campaigns`
1547
- alias create_tag_relationships_campaign tag_campaigns
1589
+ alias add_campaigns_to_tag tag_campaigns
1590
+
1591
+ # alias of `tag_campaigns`
1592
+ alias create_tag_relationships_campaigns tag_campaigns
1548
1593
 
1549
1594
  # Tag Campaigns
1550
1595
  # Associate a tag with one or more campaigns. Any campaign cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the campaign(s) that will be associated with the tag.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;campaigns:write&#x60; &#x60;tags:write&#x60;
@@ -1592,7 +1637,7 @@ module KlaviyoAPI
1592
1637
  return_type = opts[:debug_return_type]
1593
1638
 
1594
1639
  # auth_names
1595
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1640
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1596
1641
 
1597
1642
  new_options = opts.merge(
1598
1643
  :operation => :"TagsApi.tag_campaigns",
@@ -1612,10 +1657,13 @@ module KlaviyoAPI
1612
1657
  end
1613
1658
 
1614
1659
  # alias of `tag_campaigns_with_http_info`
1615
- alias create_tag_relationships_campaigns_with_http_info tag_campaigns_with_http_info
1660
+ alias create_tag_relationships_campaign_with_http_info tag_campaigns_with_http_info
1616
1661
 
1617
1662
  # alias of `tag_campaigns_with_http_info`
1618
- alias create_tag_relationships_campaign_with_http_info tag_campaigns_with_http_info
1663
+ alias add_campaigns_to_tag_with_http_info tag_campaigns_with_http_info
1664
+
1665
+ # alias of `tag_campaigns_with_http_info`
1666
+ alias create_tag_relationships_campaigns_with_http_info tag_campaigns_with_http_info
1619
1667
 
1620
1668
  # Tag Flows
1621
1669
  # Associate a tag with one or more flows. Any flow cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the flow(s) that will be associated with the tag.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `flows:write` `tags:write`
@@ -1629,10 +1677,13 @@ module KlaviyoAPI
1629
1677
  end
1630
1678
 
1631
1679
  # alias of `tag_flows`
1632
- alias create_tag_relationships_flows tag_flows
1680
+ alias create_tag_relationships_flow tag_flows
1633
1681
 
1634
1682
  # alias of `tag_flows`
1635
- alias create_tag_relationships_flow tag_flows
1683
+ alias add_flows_to_tag tag_flows
1684
+
1685
+ # alias of `tag_flows`
1686
+ alias create_tag_relationships_flows tag_flows
1636
1687
 
1637
1688
  # Tag Flows
1638
1689
  # Associate a tag with one or more flows. Any flow cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the flow(s) that will be associated with the tag.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;flows:write&#x60; &#x60;tags:write&#x60;
@@ -1680,7 +1731,7 @@ module KlaviyoAPI
1680
1731
  return_type = opts[:debug_return_type]
1681
1732
 
1682
1733
  # auth_names
1683
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1734
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1684
1735
 
1685
1736
  new_options = opts.merge(
1686
1737
  :operation => :"TagsApi.tag_flows",
@@ -1700,10 +1751,13 @@ module KlaviyoAPI
1700
1751
  end
1701
1752
 
1702
1753
  # alias of `tag_flows_with_http_info`
1703
- alias create_tag_relationships_flows_with_http_info tag_flows_with_http_info
1754
+ alias create_tag_relationships_flow_with_http_info tag_flows_with_http_info
1704
1755
 
1705
1756
  # alias of `tag_flows_with_http_info`
1706
- alias create_tag_relationships_flow_with_http_info tag_flows_with_http_info
1757
+ alias add_flows_to_tag_with_http_info tag_flows_with_http_info
1758
+
1759
+ # alias of `tag_flows_with_http_info`
1760
+ alias create_tag_relationships_flows_with_http_info tag_flows_with_http_info
1707
1761
 
1708
1762
  # Tag Lists
1709
1763
  # Associate a tag with one or more lists. Any list cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the lists(s) that will be associated with the tag.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `lists:write` `tags:write`
@@ -1717,10 +1771,13 @@ module KlaviyoAPI
1717
1771
  end
1718
1772
 
1719
1773
  # alias of `tag_lists`
1720
- alias create_tag_relationships_lists tag_lists
1774
+ alias create_tag_relationships_list tag_lists
1721
1775
 
1722
1776
  # alias of `tag_lists`
1723
- alias create_tag_relationships_list tag_lists
1777
+ alias add_lists_to_tag tag_lists
1778
+
1779
+ # alias of `tag_lists`
1780
+ alias create_tag_relationships_lists tag_lists
1724
1781
 
1725
1782
  # Tag Lists
1726
1783
  # Associate a tag with one or more lists. Any list cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the lists(s) that will be associated with the tag.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;lists:write&#x60; &#x60;tags:write&#x60;
@@ -1768,7 +1825,7 @@ module KlaviyoAPI
1768
1825
  return_type = opts[:debug_return_type]
1769
1826
 
1770
1827
  # auth_names
1771
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1828
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1772
1829
 
1773
1830
  new_options = opts.merge(
1774
1831
  :operation => :"TagsApi.tag_lists",
@@ -1788,10 +1845,13 @@ module KlaviyoAPI
1788
1845
  end
1789
1846
 
1790
1847
  # alias of `tag_lists_with_http_info`
1791
- alias create_tag_relationships_lists_with_http_info tag_lists_with_http_info
1848
+ alias create_tag_relationships_list_with_http_info tag_lists_with_http_info
1792
1849
 
1793
1850
  # alias of `tag_lists_with_http_info`
1794
- alias create_tag_relationships_list_with_http_info tag_lists_with_http_info
1851
+ alias add_lists_to_tag_with_http_info tag_lists_with_http_info
1852
+
1853
+ # alias of `tag_lists_with_http_info`
1854
+ alias create_tag_relationships_lists_with_http_info tag_lists_with_http_info
1795
1855
 
1796
1856
  # Tag Segments
1797
1857
  # Associate a tag with one or more segments. Any segment cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the segments(s) that will be associated with the tag.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `segments:write` `tags:write`
@@ -1805,10 +1865,13 @@ module KlaviyoAPI
1805
1865
  end
1806
1866
 
1807
1867
  # alias of `tag_segments`
1808
- alias create_tag_relationships_segments tag_segments
1868
+ alias create_tag_relationships_segment tag_segments
1809
1869
 
1810
1870
  # alias of `tag_segments`
1811
- alias create_tag_relationships_segment tag_segments
1871
+ alias add_segments_to_tag tag_segments
1872
+
1873
+ # alias of `tag_segments`
1874
+ alias create_tag_relationships_segments tag_segments
1812
1875
 
1813
1876
  # Tag Segments
1814
1877
  # Associate a tag with one or more segments. Any segment cannot be associated with more than **100** tags. Use the request body to pass in the ID(s) of the segments(s) that will be associated with the tag.&lt;br&gt;&lt;br&gt;*Rate limits*:&lt;br&gt;Burst: &#x60;3/s&#x60;&lt;br&gt;Steady: &#x60;60/m&#x60; **Scopes:** &#x60;segments:write&#x60; &#x60;tags:write&#x60;
@@ -1856,7 +1919,7 @@ module KlaviyoAPI
1856
1919
  return_type = opts[:debug_return_type]
1857
1920
 
1858
1921
  # auth_names
1859
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
1922
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1860
1923
 
1861
1924
  new_options = opts.merge(
1862
1925
  :operation => :"TagsApi.tag_segments",
@@ -1876,10 +1939,13 @@ module KlaviyoAPI
1876
1939
  end
1877
1940
 
1878
1941
  # alias of `tag_segments_with_http_info`
1879
- alias create_tag_relationships_segments_with_http_info tag_segments_with_http_info
1942
+ alias create_tag_relationships_segment_with_http_info tag_segments_with_http_info
1880
1943
 
1881
1944
  # alias of `tag_segments_with_http_info`
1882
- alias create_tag_relationships_segment_with_http_info tag_segments_with_http_info
1945
+ alias add_segments_to_tag_with_http_info tag_segments_with_http_info
1946
+
1947
+ # alias of `tag_segments_with_http_info`
1948
+ alias create_tag_relationships_segments_with_http_info tag_segments_with_http_info
1883
1949
 
1884
1950
  # Update Tag
1885
1951
  # Update the tag with the given tag ID. Only a tag's `name` can be changed. A tag cannot be moved from one tag group to another.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `tags:read` `tags:write`
@@ -1938,7 +2004,7 @@ module KlaviyoAPI
1938
2004
  return_type = opts[:debug_return_type]
1939
2005
 
1940
2006
  # auth_names
1941
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
2007
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
1942
2008
 
1943
2009
  new_options = opts.merge(
1944
2010
  :operation => :"TagsApi.update_tag",
@@ -2014,7 +2080,7 @@ module KlaviyoAPI
2014
2080
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
2015
2081
 
2016
2082
  # auth_names
2017
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
2083
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
2018
2084
 
2019
2085
  new_options = opts.merge(
2020
2086
  :operation => :"TagsApi.update_tag_group",
@@ -73,7 +73,7 @@ module KlaviyoAPI
73
73
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
74
74
 
75
75
  # auth_names
76
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
76
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
77
77
 
78
78
  new_options = opts.merge(
79
79
  :operation => :"TemplatesApi.clone_template",
@@ -146,7 +146,7 @@ module KlaviyoAPI
146
146
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
147
147
 
148
148
  # auth_names
149
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
149
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
150
150
 
151
151
  new_options = opts.merge(
152
152
  :operation => :"TemplatesApi.create_template",
@@ -219,7 +219,7 @@ module KlaviyoAPI
219
219
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
220
220
 
221
221
  # auth_names
222
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
222
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
223
223
 
224
224
  new_options = opts.merge(
225
225
  :operation => :"TemplatesApi.create_universal_content",
@@ -287,7 +287,7 @@ module KlaviyoAPI
287
287
  return_type = opts[:debug_return_type]
288
288
 
289
289
  # auth_names
290
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
290
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
291
291
 
292
292
  new_options = opts.merge(
293
293
  :operation => :"TemplatesApi.delete_template",
@@ -355,7 +355,7 @@ module KlaviyoAPI
355
355
  return_type = opts[:debug_return_type]
356
356
 
357
357
  # auth_names
358
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
358
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
359
359
 
360
360
  new_options = opts.merge(
361
361
  :operation => :"TemplatesApi.delete_universal_content",
@@ -451,7 +451,7 @@ module KlaviyoAPI
451
451
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
452
452
 
453
453
  # auth_names
454
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
454
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
455
455
 
456
456
  new_options = opts.merge(
457
457
  :operation => :"TemplatesApi.get_all_universal_content",
@@ -526,7 +526,7 @@ module KlaviyoAPI
526
526
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
527
527
 
528
528
  # auth_names
529
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
529
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
530
530
 
531
531
  new_options = opts.merge(
532
532
  :operation => :"TemplatesApi.get_template",
@@ -605,7 +605,7 @@ module KlaviyoAPI
605
605
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
606
606
 
607
607
  # auth_names
608
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
608
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
609
609
 
610
610
  new_options = opts.merge(
611
611
  :operation => :"TemplatesApi.get_templates",
@@ -677,7 +677,7 @@ module KlaviyoAPI
677
677
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
678
678
 
679
679
  # auth_names
680
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
680
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
681
681
 
682
682
  new_options = opts.merge(
683
683
  :operation => :"TemplatesApi.get_universal_content",
@@ -750,7 +750,7 @@ module KlaviyoAPI
750
750
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
751
751
 
752
752
  # auth_names
753
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
753
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
754
754
 
755
755
  new_options = opts.merge(
756
756
  :operation => :"TemplatesApi.render_template",
@@ -829,7 +829,7 @@ module KlaviyoAPI
829
829
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
830
830
 
831
831
  # auth_names
832
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
832
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
833
833
 
834
834
  new_options = opts.merge(
835
835
  :operation => :"TemplatesApi.update_template",
@@ -908,7 +908,7 @@ module KlaviyoAPI
908
908
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
909
909
 
910
910
  # auth_names
911
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
911
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
912
912
 
913
913
  new_options = opts.merge(
914
914
  :operation => :"TemplatesApi.update_universal_content",
@@ -72,7 +72,7 @@ module KlaviyoAPI
72
72
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
73
73
 
74
74
  # auth_names
75
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
75
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
76
76
 
77
77
  new_options = opts.merge(
78
78
  :operation => :"TrackingSettingsApi.get_tracking_setting",
@@ -152,7 +152,7 @@ module KlaviyoAPI
152
152
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
153
153
 
154
154
  # auth_names
155
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
155
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
156
156
 
157
157
  new_options = opts.merge(
158
158
  :operation => :"TrackingSettingsApi.get_tracking_settings",
@@ -228,7 +228,7 @@ module KlaviyoAPI
228
228
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
229
229
 
230
230
  # auth_names
231
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
231
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
232
232
 
233
233
  new_options = opts.merge(
234
234
  :operation => :"TrackingSettingsApi.update_tracking_setting",
@@ -70,7 +70,7 @@ module KlaviyoAPI
70
70
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
71
71
 
72
72
  # auth_names
73
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
73
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
74
74
 
75
75
  new_options = opts.merge(
76
76
  :operation => :"WebhooksApi.create_webhook",
@@ -135,7 +135,7 @@ module KlaviyoAPI
135
135
  return_type = opts[:debug_return_type]
136
136
 
137
137
  # auth_names
138
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
138
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
139
139
 
140
140
  new_options = opts.merge(
141
141
  :operation => :"WebhooksApi.delete_webhook",
@@ -214,7 +214,7 @@ module KlaviyoAPI
214
214
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
215
215
 
216
216
  # auth_names
217
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
217
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
218
218
 
219
219
  new_options = opts.merge(
220
220
  :operation => :"WebhooksApi.get_webhook",
@@ -279,7 +279,7 @@ module KlaviyoAPI
279
279
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
280
280
 
281
281
  # auth_names
282
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
282
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
283
283
 
284
284
  new_options = opts.merge(
285
285
  :operation => :"WebhooksApi.get_webhook_topic",
@@ -338,7 +338,7 @@ module KlaviyoAPI
338
338
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
339
339
 
340
340
  # auth_names
341
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
341
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
342
342
 
343
343
  new_options = opts.merge(
344
344
  :operation => :"WebhooksApi.get_webhook_topics",
@@ -411,7 +411,7 @@ module KlaviyoAPI
411
411
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
412
412
 
413
413
  # auth_names
414
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
414
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
415
415
 
416
416
  new_options = opts.merge(
417
417
  :operation => :"WebhooksApi.get_webhooks",
@@ -487,7 +487,7 @@ module KlaviyoAPI
487
487
  return_type = opts[:debug_return_type] || 'Hash<String, Object>'
488
488
 
489
489
  # auth_names
490
- auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key']
490
+ auth_names = opts[:debug_auth_names] || ['Klaviyo-API-Key', 'OAuth']
491
491
 
492
492
  new_options = opts.merge(
493
493
  :operation => :"WebhooksApi.update_webhook",