dub 0.2.2.pre.alpha.8 → 0.2.2.pre.alpha.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/open_api_sdk/events.rb +1 -1
  3. data/lib/open_api_sdk/models/operations/click.rb +60 -0
  4. data/lib/open_api_sdk/models/operations/color.rb +0 -1
  5. data/lib/open_api_sdk/models/operations/customer.rb +33 -0
  6. data/lib/open_api_sdk/models/operations/event.rb +0 -1
  7. data/lib/open_api_sdk/models/operations/geo.rb +771 -0
  8. data/lib/open_api_sdk/models/operations/groupby.rb +0 -1
  9. data/lib/open_api_sdk/models/operations/interval.rb +0 -1
  10. data/lib/open_api_sdk/models/operations/level.rb +0 -1
  11. data/lib/open_api_sdk/models/operations/link.rb +135 -0
  12. data/lib/open_api_sdk/models/operations/listevents_response.rb +2 -2
  13. data/lib/open_api_sdk/models/operations/order.rb +0 -1
  14. data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -1
  15. data/lib/open_api_sdk/models/operations/queryparam_event.rb +0 -1
  16. data/lib/open_api_sdk/models/operations/queryparam_interval.rb +0 -1
  17. data/lib/open_api_sdk/models/operations/sale.rb +33 -0
  18. data/lib/open_api_sdk/models/operations/sort.rb +0 -1
  19. data/lib/open_api_sdk/models/operations/sortby.rb +0 -2
  20. data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +8 -17
  21. data/lib/open_api_sdk/models/operations/tracksale_click.rb +60 -0
  22. data/lib/open_api_sdk/models/operations/tracksale_customer.rb +33 -0
  23. data/lib/open_api_sdk/models/operations/tracksale_geo.rb +771 -0
  24. data/lib/open_api_sdk/models/operations/tracksale_link.rb +135 -0
  25. data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +10 -16
  26. data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -1
  27. data/lib/open_api_sdk/models/operations.rb +9 -0
  28. data/lib/open_api_sdk/models/shared/{clickevents.rb → clickevent.rb} +6 -3
  29. data/lib/open_api_sdk/models/shared/code.rb +0 -1
  30. data/lib/open_api_sdk/models/shared/color.rb +0 -1
  31. data/lib/open_api_sdk/models/shared/conflict_code.rb +0 -1
  32. data/lib/open_api_sdk/models/shared/continentcode.rb +0 -1
  33. data/lib/open_api_sdk/models/shared/countrycode.rb +0 -1
  34. data/lib/open_api_sdk/models/shared/event.rb +17 -0
  35. data/lib/open_api_sdk/models/shared/forbidden_code.rb +0 -1
  36. data/lib/open_api_sdk/models/shared/internalservererror_code.rb +0 -1
  37. data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +0 -1
  38. data/lib/open_api_sdk/models/shared/notfound_code.rb +0 -1
  39. data/lib/open_api_sdk/models/shared/plan.rb +0 -1
  40. data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +0 -1
  41. data/lib/open_api_sdk/models/shared/role.rb +0 -1
  42. data/lib/open_api_sdk/models/shared/unauthorized_code.rb +0 -1
  43. data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +0 -1
  44. data/lib/open_api_sdk/models/shared.rb +2 -1
  45. data/lib/open_api_sdk/sdkconfiguration.rb +3 -3
  46. metadata +13 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a40c5e5ff36b9335f4fde9afdc1d2a5bc89e10dfb951e403316b614720e1ec2
4
- data.tar.gz: 0ab26ab5a260fd3018f514c25532eaee28c6ad24382f51db41cb0f1696ae6280
3
+ metadata.gz: d66c9614821c54e3f56131ddd8c38664ccd1135c68b8cf979ff89d73b5ca5da5
4
+ data.tar.gz: 50d1ceca5bdc6d307a1b0ef64f4807f06313bcaf0f831f4357b0ee30069ece17
5
5
  SHA512:
6
- metadata.gz: af247eb00403e77d8ed3ee7443f6e73e34e3757a8f66dc72d915443486ee8507ee5c48d747b91e5898de078d39da739a2a7a3e6fa1737671a7503e443f47a4e0
7
- data.tar.gz: 2cc11b260e838c3ae2df78494973e393cd72c5a19ecbffb6c7734eec857ca0fdf5f8f44c67405c42e71fe00a475435bd3ae71e4d614913dfe1f76bc36e19ba99
6
+ metadata.gz: a08e5fa2a2ef552fdd554ec386023d90e4710a7dd5295f2f4ab2a70f062f9363d0d2f09b8c36fffdbc366547a301c72f18fddd2efb92d61328c0192e6fb95003
7
+ data.tar.gz: 6a51d379f789b90e34a09544bf2ce9e45bcf7b678f3ebef9d7bd8fd6db55e4fb0724901684686063a7f4d9fab7488b346ec86ccb86010de7143f0e1d96efdd8b
@@ -44,7 +44,7 @@ module OpenApiSDK
44
44
  )
45
45
  if r.status == 200
46
46
  if Utils.match_content_type(content_type, 'application/json')
47
- out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::ClickEvents])
47
+ out = Utils.unmarshal_complex(r.env.response_body, T::Array[::OpenApiSDK::Shared::ClickEvent])
48
48
  res.click_events = out
49
49
  end
50
50
  elsif r.status == 400
@@ -0,0 +1,60 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class Click < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :bot, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('bot') } }
16
+
17
+ field :browser, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('browser') } }
18
+
19
+ field :city, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('city') } }
20
+
21
+ field :continent, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('continent') } }
22
+
23
+ field :country, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('country') } }
24
+
25
+ field :device, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('device') } }
26
+
27
+ field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
28
+
29
+ field :ip, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ip') } }
30
+
31
+ field :os, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('os') } }
32
+
33
+ field :qr, T::Boolean, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('qr') } }
34
+
35
+ field :referer, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('referer') } }
36
+
37
+ field :ua, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('ua') } }
38
+
39
+ field :url, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } }
40
+
41
+
42
+ sig { params(bot: T::Boolean, browser: ::String, city: ::String, continent: ::String, country: ::String, device: ::String, id: ::String, ip: ::String, os: ::String, qr: T::Boolean, referer: ::String, ua: ::String, url: ::String).void }
43
+ def initialize(bot: nil, browser: nil, city: nil, continent: nil, country: nil, device: nil, id: nil, ip: nil, os: nil, qr: nil, referer: nil, ua: nil, url: nil)
44
+ @bot = bot
45
+ @browser = browser
46
+ @city = city
47
+ @continent = continent
48
+ @country = country
49
+ @device = device
50
+ @id = id
51
+ @ip = ip
52
+ @os = os
53
+ @qr = qr
54
+ @referer = referer
55
+ @ua = ua
56
+ @url = url
57
+ end
58
+ end
59
+ end
60
+ end
@@ -19,6 +19,5 @@ module OpenApiSDK
19
19
  BROWN = new('brown')
20
20
  end
21
21
  end
22
-
23
22
  end
24
23
  end
@@ -0,0 +1,33 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module OpenApiSDK
8
+ module Operations
9
+
10
+
11
+ class Customer < ::OpenApiSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :avatar, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('avatar') } }
16
+
17
+ field :email, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('email') } }
18
+
19
+ field :id, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('id') } }
20
+
21
+ field :name, ::String, { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('name') } }
22
+
23
+
24
+ sig { params(avatar: ::String, email: ::String, id: ::String, name: ::String).void }
25
+ def initialize(avatar: nil, email: nil, id: nil, name: nil)
26
+ @avatar = avatar
27
+ @email = email
28
+ @id = id
29
+ @name = name
30
+ end
31
+ end
32
+ end
33
+ end
@@ -16,6 +16,5 @@ module OpenApiSDK
16
16
  COMPOSITE = new('composite')
17
17
  end
18
18
  end
19
-
20
19
  end
21
20
  end