dub 0.12.8 → 0.12.10

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/lib/open_api_sdk/analytics.rb +4 -4
  3. data/lib/open_api_sdk/bounties.rb +12 -12
  4. data/lib/open_api_sdk/commissions.rb +16 -16
  5. data/lib/open_api_sdk/customers.rb +16 -16
  6. data/lib/open_api_sdk/domains.rb +24 -24
  7. data/lib/open_api_sdk/embed_tokens.rb +4 -4
  8. data/lib/open_api_sdk/events.rb +4 -4
  9. data/lib/open_api_sdk/folders.rb +16 -16
  10. data/lib/open_api_sdk/links.rb +40 -40
  11. data/lib/open_api_sdk/models/operations/accesslevel.rb +1 -1
  12. data/lib/open_api_sdk/models/operations/checkdomainstatus_responsebody.rb +12 -6
  13. data/lib/open_api_sdk/models/operations/checkdomainstatus_responsebody.rbi +4 -2
  14. data/lib/open_api_sdk/models/operations/createfolder_requestbody.rb +2 -2
  15. data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +8 -6
  16. data/lib/open_api_sdk/models/operations/createlink_requestbody.rbi +2 -2
  17. data/lib/open_api_sdk/models/operations/createpartner_defaultpayoutmethod.rb +1 -0
  18. data/lib/open_api_sdk/models/operations/data.rb +8 -6
  19. data/lib/open_api_sdk/models/operations/data.rbi +2 -2
  20. data/lib/open_api_sdk/models/operations/defaultpayoutmethod.rb +1 -0
  21. data/lib/open_api_sdk/models/operations/listevents_responsebody_click.rb +6 -2
  22. data/lib/open_api_sdk/models/operations/listevents_responsebody_click.rbi +2 -0
  23. data/lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rb +6 -2
  24. data/lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rbi +2 -0
  25. data/lib/open_api_sdk/models/operations/listevents_responsebody_events_link.rb +8 -6
  26. data/lib/open_api_sdk/models/operations/listevents_responsebody_events_link.rbi +2 -2
  27. data/lib/open_api_sdk/models/operations/listevents_responsebody_link.rb +8 -6
  28. data/lib/open_api_sdk/models/operations/listevents_responsebody_link.rbi +2 -2
  29. data/lib/open_api_sdk/models/operations/listpayouts_defaultpayoutmethod.rb +1 -0
  30. data/lib/open_api_sdk/models/operations/listpayouts_request.rb +6 -2
  31. data/lib/open_api_sdk/models/operations/listpayouts_request.rbi +2 -0
  32. data/lib/open_api_sdk/models/operations/method.rb +1 -0
  33. data/lib/open_api_sdk/models/operations/prices.rb +36 -0
  34. data/lib/open_api_sdk/models/operations/prices.rbi +15 -0
  35. data/lib/open_api_sdk/models/operations/requestbody.rb +8 -6
  36. data/lib/open_api_sdk/models/operations/requestbody.rbi +2 -2
  37. data/lib/open_api_sdk/models/operations/responsebody_click.rb +6 -2
  38. data/lib/open_api_sdk/models/operations/responsebody_click.rbi +2 -0
  39. data/lib/open_api_sdk/models/operations/responsebody_link.rb +8 -6
  40. data/lib/open_api_sdk/models/operations/responsebody_link.rbi +2 -2
  41. data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +2 -2
  42. data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +8 -6
  43. data/lib/open_api_sdk/models/operations/updatelink_requestbody.rbi +2 -2
  44. data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +8 -6
  45. data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rbi +2 -2
  46. data/lib/open_api_sdk/models/operations.rb +1 -0
  47. data/lib/open_api_sdk/models/shared/accesslevel.rb +1 -1
  48. data/lib/open_api_sdk/models/shared/click.rb +6 -2
  49. data/lib/open_api_sdk/models/shared/click.rbi +2 -0
  50. data/lib/open_api_sdk/models/shared/data.rb +8 -6
  51. data/lib/open_api_sdk/models/shared/data.rbi +2 -2
  52. data/lib/open_api_sdk/models/shared/defaultpayoutmethod.rb +1 -0
  53. data/lib/open_api_sdk/models/shared/folderschema.rb +2 -2
  54. data/lib/open_api_sdk/models/shared/leadcreatedevent_click.rb +6 -2
  55. data/lib/open_api_sdk/models/shared/leadcreatedevent_click.rbi +2 -0
  56. data/lib/open_api_sdk/models/shared/leadcreatedevent_link.rb +8 -6
  57. data/lib/open_api_sdk/models/shared/leadcreatedevent_link.rbi +2 -2
  58. data/lib/open_api_sdk/models/shared/link.rb +8 -6
  59. data/lib/open_api_sdk/models/shared/link.rbi +2 -2
  60. data/lib/open_api_sdk/models/shared/linkschema.rb +8 -6
  61. data/lib/open_api_sdk/models/shared/linkschema.rbi +2 -2
  62. data/lib/open_api_sdk/models/shared/salecreatedevent_click.rb +6 -2
  63. data/lib/open_api_sdk/models/shared/salecreatedevent_click.rbi +2 -0
  64. data/lib/open_api_sdk/models/shared/salecreatedevent_link.rb +8 -6
  65. data/lib/open_api_sdk/models/shared/salecreatedevent_link.rbi +2 -2
  66. data/lib/open_api_sdk/partner_applications.rb +12 -12
  67. data/lib/open_api_sdk/partners.rb +32 -32
  68. data/lib/open_api_sdk/payouts.rb +4 -4
  69. data/lib/open_api_sdk/qr_codes.rb +4 -4
  70. data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
  71. data/lib/open_api_sdk/tags.rb +16 -16
  72. data/lib/open_api_sdk/track.rb +8 -8
  73. data/lib/open_api_sdk/utils/retries.rb +4 -1
  74. metadata +6 -4
@@ -58,7 +58,7 @@ module OpenApiSDK
58
58
 
59
59
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
60
60
  timeout ||= @sdk_configuration.timeout
61
-
61
+
62
62
 
63
63
  connection = @sdk_configuration.client
64
64
 
@@ -73,7 +73,7 @@ module OpenApiSDK
73
73
  error = T.let(nil, T.nilable(StandardError))
74
74
  http_response = T.let(nil, T.nilable(Faraday::Response))
75
75
 
76
-
76
+
77
77
  begin
78
78
  http_response = T.must(connection).get(url) do |req|
79
79
  req.headers.merge!(headers)
@@ -110,13 +110,13 @@ module OpenApiSDK
110
110
  response: http_response
111
111
  )
112
112
  end
113
-
113
+
114
114
  if http_response.nil?
115
115
  raise error if !error.nil?
116
116
  raise 'no response'
117
117
  end
118
118
  end
119
-
119
+
120
120
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
121
121
  if Utils.match_status_code(http_response.status, ['200'])
122
122
  if Utils.match_content_type(content_type, 'application/json')
@@ -296,7 +296,7 @@ module OpenApiSDK
296
296
 
297
297
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
298
298
  timeout ||= @sdk_configuration.timeout
299
-
299
+
300
300
 
301
301
  connection = @sdk_configuration.client
302
302
 
@@ -311,7 +311,7 @@ module OpenApiSDK
311
311
  error = T.let(nil, T.nilable(StandardError))
312
312
  http_response = T.let(nil, T.nilable(Faraday::Response))
313
313
 
314
-
314
+
315
315
  begin
316
316
  http_response = T.must(connection).post(url) do |req|
317
317
  req.body = body
@@ -348,13 +348,13 @@ module OpenApiSDK
348
348
  response: http_response
349
349
  )
350
350
  end
351
-
351
+
352
352
  if http_response.nil?
353
353
  raise error if !error.nil?
354
354
  raise 'no response'
355
355
  end
356
356
  end
357
-
357
+
358
358
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
359
359
  if Utils.match_status_code(http_response.status, ['201'])
360
360
  if Utils.match_content_type(content_type, 'application/json')
@@ -532,7 +532,7 @@ module OpenApiSDK
532
532
 
533
533
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
534
534
  timeout ||= @sdk_configuration.timeout
535
-
535
+
536
536
 
537
537
  connection = @sdk_configuration.client
538
538
 
@@ -547,7 +547,7 @@ module OpenApiSDK
547
547
  error = T.let(nil, T.nilable(StandardError))
548
548
  http_response = T.let(nil, T.nilable(Faraday::Response))
549
549
 
550
-
550
+
551
551
  begin
552
552
  http_response = T.must(connection).delete(url) do |req|
553
553
  req.headers.merge!(headers)
@@ -583,13 +583,13 @@ module OpenApiSDK
583
583
  response: http_response
584
584
  )
585
585
  end
586
-
586
+
587
587
  if http_response.nil?
588
588
  raise error if !error.nil?
589
589
  raise 'no response'
590
590
  end
591
591
  end
592
-
592
+
593
593
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
594
594
  if Utils.match_status_code(http_response.status, ['200'])
595
595
  if Utils.match_content_type(content_type, 'application/json')
@@ -778,7 +778,7 @@ module OpenApiSDK
778
778
 
779
779
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
780
780
  timeout ||= @sdk_configuration.timeout
781
-
781
+
782
782
 
783
783
  connection = @sdk_configuration.client
784
784
 
@@ -793,7 +793,7 @@ module OpenApiSDK
793
793
  error = T.let(nil, T.nilable(StandardError))
794
794
  http_response = T.let(nil, T.nilable(Faraday::Response))
795
795
 
796
-
796
+
797
797
  begin
798
798
  http_response = T.must(connection).patch(url) do |req|
799
799
  req.body = body
@@ -830,13 +830,13 @@ module OpenApiSDK
830
830
  response: http_response
831
831
  )
832
832
  end
833
-
833
+
834
834
  if http_response.nil?
835
835
  raise error if !error.nil?
836
836
  raise 'no response'
837
837
  end
838
838
  end
839
-
839
+
840
840
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
841
841
  if Utils.match_status_code(http_response.status, ['200'])
842
842
  if Utils.match_content_type(content_type, 'application/json')
@@ -59,7 +59,7 @@ module OpenApiSDK
59
59
 
60
60
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
61
61
  timeout ||= @sdk_configuration.timeout
62
-
62
+
63
63
 
64
64
  connection = @sdk_configuration.client
65
65
 
@@ -74,7 +74,7 @@ module OpenApiSDK
74
74
  error = T.let(nil, T.nilable(StandardError))
75
75
  http_response = T.let(nil, T.nilable(Faraday::Response))
76
76
 
77
-
77
+
78
78
  begin
79
79
  http_response = T.must(connection).get(url) do |req|
80
80
  req.headers.merge!(headers)
@@ -111,13 +111,13 @@ module OpenApiSDK
111
111
  response: http_response
112
112
  )
113
113
  end
114
-
114
+
115
115
  if http_response.nil?
116
116
  raise error if !error.nil?
117
117
  raise 'no response'
118
118
  end
119
119
  end
120
-
120
+
121
121
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
122
122
  if Utils.match_status_code(http_response.status, ['200'])
123
123
  if Utils.match_content_type(content_type, 'application/json')
@@ -342,7 +342,7 @@ module OpenApiSDK
342
342
 
343
343
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
344
344
  timeout ||= @sdk_configuration.timeout
345
-
345
+
346
346
 
347
347
  connection = @sdk_configuration.client
348
348
 
@@ -357,7 +357,7 @@ module OpenApiSDK
357
357
  error = T.let(nil, T.nilable(StandardError))
358
358
  http_response = T.let(nil, T.nilable(Faraday::Response))
359
359
 
360
-
360
+
361
361
  begin
362
362
  http_response = T.must(connection).post(url) do |req|
363
363
  req.body = body
@@ -394,13 +394,13 @@ module OpenApiSDK
394
394
  response: http_response
395
395
  )
396
396
  end
397
-
397
+
398
398
  if http_response.nil?
399
399
  raise error if !error.nil?
400
400
  raise 'no response'
401
401
  end
402
402
  end
403
-
403
+
404
404
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
405
405
  if Utils.match_status_code(http_response.status, ['200'])
406
406
  if Utils.match_content_type(content_type, 'application/json')
@@ -571,7 +571,7 @@ module OpenApiSDK
571
571
 
572
572
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
573
573
  timeout ||= @sdk_configuration.timeout
574
-
574
+
575
575
 
576
576
  connection = @sdk_configuration.client
577
577
 
@@ -586,7 +586,7 @@ module OpenApiSDK
586
586
  error = T.let(nil, T.nilable(StandardError))
587
587
  http_response = T.let(nil, T.nilable(Faraday::Response))
588
588
 
589
-
589
+
590
590
  begin
591
591
  http_response = T.must(connection).get(url) do |req|
592
592
  req.headers.merge!(headers)
@@ -623,13 +623,13 @@ module OpenApiSDK
623
623
  response: http_response
624
624
  )
625
625
  end
626
-
626
+
627
627
  if http_response.nil?
628
628
  raise error if !error.nil?
629
629
  raise 'no response'
630
630
  end
631
631
  end
632
-
632
+
633
633
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
634
634
  if Utils.match_status_code(http_response.status, ['200'])
635
635
  if Utils.match_content_type(content_type, 'application/json')
@@ -800,7 +800,7 @@ module OpenApiSDK
800
800
 
801
801
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
802
802
  timeout ||= @sdk_configuration.timeout
803
-
803
+
804
804
 
805
805
  connection = @sdk_configuration.client
806
806
 
@@ -815,7 +815,7 @@ module OpenApiSDK
815
815
  error = T.let(nil, T.nilable(StandardError))
816
816
  http_response = T.let(nil, T.nilable(Faraday::Response))
817
817
 
818
-
818
+
819
819
  begin
820
820
  http_response = T.must(connection).get(url) do |req|
821
821
  req.headers.merge!(headers)
@@ -852,13 +852,13 @@ module OpenApiSDK
852
852
  response: http_response
853
853
  )
854
854
  end
855
-
855
+
856
856
  if http_response.nil?
857
857
  raise error if !error.nil?
858
858
  raise 'no response'
859
859
  end
860
860
  end
861
-
861
+
862
862
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
863
863
  if Utils.match_status_code(http_response.status, ['200'])
864
864
  if Utils.match_content_type(content_type, 'application/json')
@@ -1036,7 +1036,7 @@ module OpenApiSDK
1036
1036
 
1037
1037
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1038
1038
  timeout ||= @sdk_configuration.timeout
1039
-
1039
+
1040
1040
 
1041
1041
  connection = @sdk_configuration.client
1042
1042
 
@@ -1051,7 +1051,7 @@ module OpenApiSDK
1051
1051
  error = T.let(nil, T.nilable(StandardError))
1052
1052
  http_response = T.let(nil, T.nilable(Faraday::Response))
1053
1053
 
1054
-
1054
+
1055
1055
  begin
1056
1056
  http_response = T.must(connection).delete(url) do |req|
1057
1057
  req.headers.merge!(headers)
@@ -1087,13 +1087,13 @@ module OpenApiSDK
1087
1087
  response: http_response
1088
1088
  )
1089
1089
  end
1090
-
1090
+
1091
1091
  if http_response.nil?
1092
1092
  raise error if !error.nil?
1093
1093
  raise 'no response'
1094
1094
  end
1095
1095
  end
1096
-
1096
+
1097
1097
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1098
1098
  if Utils.match_status_code(http_response.status, ['200'])
1099
1099
  if Utils.match_content_type(content_type, 'application/json')
@@ -1282,7 +1282,7 @@ module OpenApiSDK
1282
1282
 
1283
1283
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1284
1284
  timeout ||= @sdk_configuration.timeout
1285
-
1285
+
1286
1286
 
1287
1287
  connection = @sdk_configuration.client
1288
1288
 
@@ -1297,7 +1297,7 @@ module OpenApiSDK
1297
1297
  error = T.let(nil, T.nilable(StandardError))
1298
1298
  http_response = T.let(nil, T.nilable(Faraday::Response))
1299
1299
 
1300
-
1300
+
1301
1301
  begin
1302
1302
  http_response = T.must(connection).patch(url) do |req|
1303
1303
  req.body = body
@@ -1334,13 +1334,13 @@ module OpenApiSDK
1334
1334
  response: http_response
1335
1335
  )
1336
1336
  end
1337
-
1337
+
1338
1338
  if http_response.nil?
1339
1339
  raise error if !error.nil?
1340
1340
  raise 'no response'
1341
1341
  end
1342
1342
  end
1343
-
1343
+
1344
1344
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1345
1345
  if Utils.match_status_code(http_response.status, ['200'])
1346
1346
  if Utils.match_content_type(content_type, 'application/json')
@@ -1520,7 +1520,7 @@ module OpenApiSDK
1520
1520
 
1521
1521
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1522
1522
  timeout ||= @sdk_configuration.timeout
1523
-
1523
+
1524
1524
 
1525
1525
  connection = @sdk_configuration.client
1526
1526
 
@@ -1535,7 +1535,7 @@ module OpenApiSDK
1535
1535
  error = T.let(nil, T.nilable(StandardError))
1536
1536
  http_response = T.let(nil, T.nilable(Faraday::Response))
1537
1537
 
1538
-
1538
+
1539
1539
  begin
1540
1540
  http_response = T.must(connection).post(url) do |req|
1541
1541
  req.body = body
@@ -1572,13 +1572,13 @@ module OpenApiSDK
1572
1572
  response: http_response
1573
1573
  )
1574
1574
  end
1575
-
1575
+
1576
1576
  if http_response.nil?
1577
1577
  raise error if !error.nil?
1578
1578
  raise 'no response'
1579
1579
  end
1580
1580
  end
1581
-
1581
+
1582
1582
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1583
1583
  if Utils.match_status_code(http_response.status, ['200'])
1584
1584
  if Utils.match_content_type(content_type, 'application/json')
@@ -1749,7 +1749,7 @@ module OpenApiSDK
1749
1749
 
1750
1750
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1751
1751
  timeout ||= @sdk_configuration.timeout
1752
-
1752
+
1753
1753
 
1754
1754
  connection = @sdk_configuration.client
1755
1755
 
@@ -1764,7 +1764,7 @@ module OpenApiSDK
1764
1764
  error = T.let(nil, T.nilable(StandardError))
1765
1765
  http_response = T.let(nil, T.nilable(Faraday::Response))
1766
1766
 
1767
-
1767
+
1768
1768
  begin
1769
1769
  http_response = T.must(connection).delete(url) do |req|
1770
1770
  req.headers.merge!(headers)
@@ -1801,13 +1801,13 @@ module OpenApiSDK
1801
1801
  response: http_response
1802
1802
  )
1803
1803
  end
1804
-
1804
+
1805
1805
  if http_response.nil?
1806
1806
  raise error if !error.nil?
1807
1807
  raise 'no response'
1808
1808
  end
1809
1809
  end
1810
-
1810
+
1811
1811
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
1812
1812
  if Utils.match_status_code(http_response.status, ['200'])
1813
1813
  if Utils.match_content_type(content_type, 'application/json')
@@ -1987,7 +1987,7 @@ module OpenApiSDK
1987
1987
 
1988
1988
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
1989
1989
  timeout ||= @sdk_configuration.timeout
1990
-
1990
+
1991
1991
 
1992
1992
  connection = @sdk_configuration.client
1993
1993
 
@@ -2002,7 +2002,7 @@ module OpenApiSDK
2002
2002
  error = T.let(nil, T.nilable(StandardError))
2003
2003
  http_response = T.let(nil, T.nilable(Faraday::Response))
2004
2004
 
2005
-
2005
+
2006
2006
  begin
2007
2007
  http_response = T.must(connection).patch(url) do |req|
2008
2008
  req.body = body
@@ -2039,13 +2039,13 @@ module OpenApiSDK
2039
2039
  response: http_response
2040
2040
  )
2041
2041
  end
2042
-
2042
+
2043
2043
  if http_response.nil?
2044
2044
  raise error if !error.nil?
2045
2045
  raise 'no response'
2046
2046
  end
2047
2047
  end
2048
-
2048
+
2049
2049
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
2050
2050
  if Utils.match_status_code(http_response.status, ['200'])
2051
2051
  if Utils.match_content_type(content_type, 'application/json')
@@ -2225,7 +2225,7 @@ module OpenApiSDK
2225
2225
 
2226
2226
  timeout = (timeout_ms.to_f / 1000) unless timeout_ms.nil?
2227
2227
  timeout ||= @sdk_configuration.timeout
2228
-
2228
+
2229
2229
 
2230
2230
  connection = @sdk_configuration.client
2231
2231
 
@@ -2240,7 +2240,7 @@ module OpenApiSDK
2240
2240
  error = T.let(nil, T.nilable(StandardError))
2241
2241
  http_response = T.let(nil, T.nilable(Faraday::Response))
2242
2242
 
2243
-
2243
+
2244
2244
  begin
2245
2245
  http_response = T.must(connection).put(url) do |req|
2246
2246
  req.body = body
@@ -2277,13 +2277,13 @@ module OpenApiSDK
2277
2277
  response: http_response
2278
2278
  )
2279
2279
  end
2280
-
2280
+
2281
2281
  if http_response.nil?
2282
2282
  raise error if !error.nil?
2283
2283
  raise 'no response'
2284
2284
  end
2285
2285
  end
2286
-
2286
+
2287
2287
  content_type = http_response.headers.fetch('Content-Type', 'application/octet-stream')
2288
2288
  if Utils.match_status_code(http_response.status, ['200'])
2289
2289
  if Utils.match_content_type(content_type, 'application/json')
@@ -7,7 +7,7 @@
7
7
  module OpenApiSDK
8
8
  module Models
9
9
  module Operations
10
- # AccessLevel - The access level of the folder within the workspace.
10
+ # AccessLevel - The workspace-level access level settings for the folder. Default is `write` which allows full access to the folder for all team members. The other options are `read` (view-only access) and `null` (no access) and are only available on Business plans and above.
11
11
  class AccessLevel < T::Enum
12
12
  enums do
13
13
  WRITE = new('write')
@@ -16,17 +16,22 @@ module OpenApiSDK
16
16
  field :domain, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('domain'), required: true } }
17
17
  # Whether the domain is available.
18
18
  field :available, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('available'), required: true } }
19
- # The price description.
20
- field :price, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('price'), required: true } }
21
19
  # Whether the domain is a premium domain.
22
20
  field :premium, Crystalline::Nilable.new(Crystalline::Boolean.new), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('premium'), required: true } }
21
+ # Price details for the domain. Will be null if the domain is not available.
22
+ field :prices, Crystalline::Nilable.new(Models::Operations::Prices), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('prices'), required: true } }
23
+ # Deprecated: Use `prices` instead.
24
+ #
25
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
26
+ field :price, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('price'), required: true } }
23
27
 
24
- sig { params(domain: ::String, available: T::Boolean, price: T.nilable(::String), premium: T.nilable(T::Boolean)).void }
25
- def initialize(domain:, available:, price: nil, premium: nil)
28
+ sig { params(domain: ::String, available: T::Boolean, premium: T.nilable(T::Boolean), prices: T.nilable(Models::Operations::Prices), price: T.nilable(::String)).void }
29
+ def initialize(domain:, available:, premium: nil, prices: nil, price: nil)
26
30
  @domain = domain
27
31
  @available = available
28
- @price = price
29
32
  @premium = premium
33
+ @prices = prices
34
+ @price = price
30
35
  end
31
36
 
32
37
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -34,8 +39,9 @@ module OpenApiSDK
34
39
  return false unless other.is_a? self.class
35
40
  return false unless @domain == other.domain
36
41
  return false unless @available == other.available
37
- return false unless @price == other.price
38
42
  return false unless @premium == other.premium
43
+ return false unless @prices == other.prices
44
+ return false unless @price == other.price
39
45
  true
40
46
  end
41
47
  end
@@ -12,8 +12,10 @@ class OpenApiSDK::Models::Operations::CheckDomainStatusResponseBody
12
12
  def domain=(str_); end
13
13
  def available(); end
14
14
  def available=(str_); end
15
- def price(); end
16
- def price=(str_); end
17
15
  def premium(); end
18
16
  def premium=(str_); end
17
+ def prices(); end
18
+ def prices=(str_); end
19
+ def price(); end
20
+ def price=(str_); end
19
21
  end
@@ -16,11 +16,11 @@ module OpenApiSDK
16
16
  field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name'), required: true } }
17
17
  # The description of the folder.
18
18
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('description') } }
19
- # The access level of the folder within the workspace.
19
+ # The workspace-level access level settings for the folder. Default is `write` which allows full access to the folder for all team members. The other options are `read` (view-only access) and `null` (no access) and are only available on Business plans and above.
20
20
  field :access_level, Crystalline::Nilable.new(Models::Operations::AccessLevel), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('accessLevel'), 'decoder': ::OpenApiSDK::Utils.enum_from_string(Models::Operations::AccessLevel, true) } }
21
21
 
22
22
  sig { params(name: ::String, description: T.nilable(::String), access_level: T.nilable(Models::Operations::AccessLevel)).void }
23
- def initialize(name:, description: nil, access_level: nil)
23
+ def initialize(name:, description: nil, access_level: Models::Operations::AccessLevel::WRITE)
24
24
  @name = name
25
25
  @description = description
26
26
  @access_level = access_level
@@ -84,8 +84,6 @@ module OpenApiSDK
84
84
  field :utm_content, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } }
85
85
  # The referral tag of the short link. If set, this will populate or override the `ref` query parameter in the destination URL.
86
86
  field :ref, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ref') } }
87
- # An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
88
- field :webhook_ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
89
87
  # An array of A/B test URLs and the percentage of traffic to send to each URL.
90
88
  field :test_variants, Crystalline::Nilable.new(Crystalline::Array.new(Models::Operations::TestVariants)), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('testVariants') } }
91
89
  # The date and time when the tests started.
@@ -96,9 +94,13 @@ module OpenApiSDK
96
94
  #
97
95
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
98
96
  field :tag_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('tagId') } }
97
+ # Deprecated: You can now enable link.clicked webhooks for all links in a workspace or folder without passing this field manually. An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data.
98
+ #
99
+ # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
100
+ field :webhook_ids, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('webhookIds') } }
99
101
 
100
- sig { params(url: ::String, domain: T.nilable(::String), key: T.nilable(::String), key_length: T.nilable(::Float), prefix: T.nilable(::String), track_conversion: T.nilable(T::Boolean), archived: T.nilable(T::Boolean), tag_ids: T.nilable(T.any(::String, T::Array[::String])), tag_names: T.nilable(T.any(::String, T::Array[::String])), proxy: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), do_index: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), external_id: T.nilable(::String), tenant_id: T.nilable(::String), program_id: T.nilable(::String), partner_id: T.nilable(::String), folder_id: T.nilable(::String), comments: T.nilable(::String), expires_at: T.nilable(::String), expired_url: T.nilable(::String), password: T.nilable(::String), title: T.nilable(::String), description: T.nilable(::String), image: T.nilable(::String), video: T.nilable(::String), ios: T.nilable(::String), android: T.nilable(::String), geo: T.nilable(T::Hash[Symbol, ::String]), utm_source: T.nilable(::String), utm_medium: T.nilable(::String), utm_campaign: T.nilable(::String), utm_term: T.nilable(::String), utm_content: T.nilable(::String), ref: T.nilable(::String), webhook_ids: T.nilable(T::Array[::String]), test_variants: T.nilable(T::Array[Models::Operations::TestVariants]), test_started_at: T.nilable(::String), test_completed_at: T.nilable(::String), tag_id: T.nilable(::String)).void }
101
- def initialize(url:, domain: nil, key: nil, key_length: nil, prefix: nil, track_conversion: nil, archived: nil, tag_ids: nil, tag_names: nil, proxy: nil, rewrite: nil, do_index: nil, public_stats: nil, external_id: nil, tenant_id: nil, program_id: nil, partner_id: nil, folder_id: nil, comments: nil, expires_at: nil, expired_url: nil, password: nil, title: nil, description: nil, image: nil, video: nil, ios: nil, android: nil, geo: nil, utm_source: nil, utm_medium: nil, utm_campaign: nil, utm_term: nil, utm_content: nil, ref: nil, webhook_ids: nil, test_variants: nil, test_started_at: nil, test_completed_at: nil, tag_id: nil)
102
+ sig { params(url: ::String, domain: T.nilable(::String), key: T.nilable(::String), key_length: T.nilable(::Float), prefix: T.nilable(::String), track_conversion: T.nilable(T::Boolean), archived: T.nilable(T::Boolean), tag_ids: T.nilable(T.any(::String, T::Array[::String])), tag_names: T.nilable(T.any(::String, T::Array[::String])), proxy: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), do_index: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), external_id: T.nilable(::String), tenant_id: T.nilable(::String), program_id: T.nilable(::String), partner_id: T.nilable(::String), folder_id: T.nilable(::String), comments: T.nilable(::String), expires_at: T.nilable(::String), expired_url: T.nilable(::String), password: T.nilable(::String), title: T.nilable(::String), description: T.nilable(::String), image: T.nilable(::String), video: T.nilable(::String), ios: T.nilable(::String), android: T.nilable(::String), geo: T.nilable(T::Hash[Symbol, ::String]), utm_source: T.nilable(::String), utm_medium: T.nilable(::String), utm_campaign: T.nilable(::String), utm_term: T.nilable(::String), utm_content: T.nilable(::String), ref: T.nilable(::String), test_variants: T.nilable(T::Array[Models::Operations::TestVariants]), test_started_at: T.nilable(::String), test_completed_at: T.nilable(::String), tag_id: T.nilable(::String), webhook_ids: T.nilable(T::Array[::String])).void }
103
+ def initialize(url:, domain: nil, key: nil, key_length: nil, prefix: nil, track_conversion: nil, archived: nil, tag_ids: nil, tag_names: nil, proxy: nil, rewrite: nil, do_index: nil, public_stats: nil, external_id: nil, tenant_id: nil, program_id: nil, partner_id: nil, folder_id: nil, comments: nil, expires_at: nil, expired_url: nil, password: nil, title: nil, description: nil, image: nil, video: nil, ios: nil, android: nil, geo: nil, utm_source: nil, utm_medium: nil, utm_campaign: nil, utm_term: nil, utm_content: nil, ref: nil, test_variants: nil, test_started_at: nil, test_completed_at: nil, tag_id: nil, webhook_ids: nil)
102
104
  @url = url
103
105
  @domain = domain
104
106
  @key = key
@@ -134,11 +136,11 @@ module OpenApiSDK
134
136
  @utm_term = utm_term
135
137
  @utm_content = utm_content
136
138
  @ref = ref
137
- @webhook_ids = webhook_ids
138
139
  @test_variants = test_variants
139
140
  @test_started_at = test_started_at
140
141
  @test_completed_at = test_completed_at
141
142
  @tag_id = tag_id
143
+ @webhook_ids = webhook_ids
142
144
  end
143
145
 
144
146
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -179,11 +181,11 @@ module OpenApiSDK
179
181
  return false unless @utm_term == other.utm_term
180
182
  return false unless @utm_content == other.utm_content
181
183
  return false unless @ref == other.ref
182
- return false unless @webhook_ids == other.webhook_ids
183
184
  return false unless @test_variants == other.test_variants
184
185
  return false unless @test_started_at == other.test_started_at
185
186
  return false unless @test_completed_at == other.test_completed_at
186
187
  return false unless @tag_id == other.tag_id
188
+ return false unless @webhook_ids == other.webhook_ids
187
189
  true
188
190
  end
189
191
  end
@@ -78,8 +78,6 @@ class OpenApiSDK::Models::Operations::CreateLinkRequestBody
78
78
  def utm_content=(str_); end
79
79
  def ref(); end
80
80
  def ref=(str_); end
81
- def webhook_ids(); end
82
- def webhook_ids=(str_); end
83
81
  def test_variants(); end
84
82
  def test_variants=(str_); end
85
83
  def test_started_at(); end
@@ -88,4 +86,6 @@ class OpenApiSDK::Models::Operations::CreateLinkRequestBody
88
86
  def test_completed_at=(str_); end
89
87
  def tag_id(); end
90
88
  def tag_id=(str_); end
89
+ def webhook_ids(); end
90
+ def webhook_ids=(str_); end
91
91
  end
@@ -13,6 +13,7 @@ module OpenApiSDK
13
13
  CONNECT = new('connect')
14
14
  STABLECOIN = new('stablecoin')
15
15
  PAYPAL = new('paypal')
16
+ TREMENDOUS = new('tremendous')
16
17
  end
17
18
  end
18
19
  end