terminal-shop 0.1.0.pre.alpha.9 → 0.1.0.pre.alpha.11

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 (105) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/terminal-shop/base_client.rb +143 -124
  4. data/lib/terminal-shop/base_model.rb +2 -2
  5. data/lib/terminal-shop/base_page.rb +2 -6
  6. data/lib/terminal-shop/models/address.rb +0 -11
  7. data/lib/terminal-shop/models/address_create_response.rb +0 -6
  8. data/lib/terminal-shop/models/address_delete_response.rb +0 -6
  9. data/lib/terminal-shop/models/address_list_response.rb +0 -6
  10. data/lib/terminal-shop/models/app.rb +8 -9
  11. data/lib/terminal-shop/models/app_create_response.rb +0 -13
  12. data/lib/terminal-shop/models/app_delete_response.rb +0 -6
  13. data/lib/terminal-shop/models/app_get_response.rb +0 -6
  14. data/lib/terminal-shop/models/app_list_response.rb +0 -6
  15. data/lib/terminal-shop/models/card.rb +0 -16
  16. data/lib/terminal-shop/models/card_collect_response.rb +0 -12
  17. data/lib/terminal-shop/models/card_create_response.rb +0 -6
  18. data/lib/terminal-shop/models/card_delete_response.rb +0 -6
  19. data/lib/terminal-shop/models/card_list_response.rb +0 -6
  20. data/lib/terminal-shop/models/cart.rb +0 -33
  21. data/lib/terminal-shop/models/cart_convert_response.rb +0 -6
  22. data/lib/terminal-shop/models/cart_get_response.rb +0 -6
  23. data/lib/terminal-shop/models/cart_set_address_response.rb +0 -6
  24. data/lib/terminal-shop/models/cart_set_card_response.rb +0 -6
  25. data/lib/terminal-shop/models/cart_set_item_response.rb +0 -6
  26. data/lib/terminal-shop/models/email_create_response.rb +0 -6
  27. data/lib/terminal-shop/models/order.rb +0 -46
  28. data/lib/terminal-shop/models/order_get_response.rb +0 -6
  29. data/lib/terminal-shop/models/order_list_response.rb +0 -6
  30. data/lib/terminal-shop/models/product.rb +0 -11
  31. data/lib/terminal-shop/models/product_list_response.rb +0 -6
  32. data/lib/terminal-shop/models/product_variant.rb +0 -8
  33. data/lib/terminal-shop/models/profile.rb +0 -16
  34. data/lib/terminal-shop/models/profile_me_response.rb +0 -6
  35. data/lib/terminal-shop/models/profile_update_response.rb +0 -6
  36. data/lib/terminal-shop/models/subscription.rb +0 -24
  37. data/lib/terminal-shop/models/subscription_create_response.rb +0 -6
  38. data/lib/terminal-shop/models/subscription_delete_response.rb +0 -6
  39. data/lib/terminal-shop/models/subscription_list_response.rb +0 -6
  40. data/lib/terminal-shop/models/token.rb +0 -14
  41. data/lib/terminal-shop/models/token_create_response.rb +0 -13
  42. data/lib/terminal-shop/models/token_delete_response.rb +0 -6
  43. data/lib/terminal-shop/models/token_get_response.rb +0 -6
  44. data/lib/terminal-shop/models/token_list_response.rb +0 -6
  45. data/lib/terminal-shop/models/view_init_response.rb +0 -17
  46. data/lib/terminal-shop/pooled_net_requester.rb +130 -61
  47. data/lib/terminal-shop/resources/app.rb +2 -0
  48. data/lib/terminal-shop/util.rb +22 -7
  49. data/lib/terminal-shop/version.rb +1 -1
  50. data/lib/terminal-shop.rb +55 -55
  51. data/rbi/lib/terminal-shop/base_client.rbi +40 -27
  52. data/rbi/lib/terminal-shop/base_model.rbi +63 -99
  53. data/rbi/lib/terminal-shop/base_page.rbi +4 -3
  54. data/rbi/lib/terminal-shop/client.rbi +2 -1
  55. data/rbi/lib/terminal-shop/errors.rbi +10 -5
  56. data/rbi/lib/terminal-shop/models/address.rbi +16 -14
  57. data/rbi/lib/terminal-shop/models/address_create_params.rbi +16 -14
  58. data/rbi/lib/terminal-shop/models/address_list_response.rbi +1 -3
  59. data/rbi/lib/terminal-shop/models/app.rbi +11 -3
  60. data/rbi/lib/terminal-shop/models/app_create_response.rbi +2 -1
  61. data/rbi/lib/terminal-shop/models/app_list_response.rbi +1 -3
  62. data/rbi/lib/terminal-shop/models/card.rbi +5 -17
  63. data/rbi/lib/terminal-shop/models/card_collect_response.rbi +2 -1
  64. data/rbi/lib/terminal-shop/models/card_create_params.rbi +6 -2
  65. data/rbi/lib/terminal-shop/models/card_list_response.rbi +1 -3
  66. data/rbi/lib/terminal-shop/models/cart.rbi +16 -15
  67. data/rbi/lib/terminal-shop/models/cart_set_address_params.rbi +2 -1
  68. data/rbi/lib/terminal-shop/models/cart_set_card_params.rbi +6 -2
  69. data/rbi/lib/terminal-shop/models/cart_set_item_params.rbi +8 -8
  70. data/rbi/lib/terminal-shop/models/email_create_params.rbi +6 -2
  71. data/rbi/lib/terminal-shop/models/order.rbi +43 -44
  72. data/rbi/lib/terminal-shop/models/order_list_response.rbi +1 -3
  73. data/rbi/lib/terminal-shop/models/product.rbi +17 -14
  74. data/rbi/lib/terminal-shop/models/product_list_response.rbi +1 -3
  75. data/rbi/lib/terminal-shop/models/profile.rbi +13 -13
  76. data/rbi/lib/terminal-shop/models/profile_update_params.rbi +6 -8
  77. data/rbi/lib/terminal-shop/models/subscription.rbi +29 -26
  78. data/rbi/lib/terminal-shop/models/subscription_list_response.rbi +2 -1
  79. data/rbi/lib/terminal-shop/models/token_create_response.rbi +2 -1
  80. data/rbi/lib/terminal-shop/models/token_list_response.rbi +1 -3
  81. data/rbi/lib/terminal-shop/models/view_init_response.rbi +26 -34
  82. data/rbi/lib/terminal-shop/pooled_net_requester.rbi +59 -0
  83. data/rbi/lib/terminal-shop/request_options.rbi +6 -24
  84. data/rbi/lib/terminal-shop/resources/address.rbi +6 -11
  85. data/rbi/lib/terminal-shop/resources/app.rbi +10 -13
  86. data/rbi/lib/terminal-shop/resources/card.rbi +8 -20
  87. data/rbi/lib/terminal-shop/resources/cart.rbi +10 -21
  88. data/rbi/lib/terminal-shop/resources/email.rbi +2 -1
  89. data/rbi/lib/terminal-shop/resources/order.rbi +4 -10
  90. data/rbi/lib/terminal-shop/resources/product.rbi +2 -9
  91. data/rbi/lib/terminal-shop/resources/profile.rbi +4 -10
  92. data/rbi/lib/terminal-shop/resources/subscription.rbi +6 -11
  93. data/rbi/lib/terminal-shop/resources/token.rbi +8 -20
  94. data/rbi/lib/terminal-shop/resources/view.rbi +2 -9
  95. data/rbi/lib/terminal-shop/util.rbi +25 -23
  96. data/rbi/lib/terminal-shop/version.rbi +1 -1
  97. data/sig/terminal-shop/base_client.rbs +27 -27
  98. data/sig/terminal-shop/base_model.rbs +0 -2
  99. data/sig/terminal-shop/base_page.rbs +1 -1
  100. data/sig/terminal-shop/models/app.rbs +5 -2
  101. data/sig/terminal-shop/pooled_net_requester.rbs +42 -0
  102. data/sig/terminal-shop/resources/app.rbs +1 -0
  103. data/sig/terminal-shop/util.rbs +7 -1
  104. data/sig/terminal-shop/version.rbs +1 -1
  105. metadata +5 -3
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # card_list_response => {
8
- # data: -> { TerminalShop::ArrayOf[TerminalShop::Models::CardAPI] === _1 }
9
- # }
10
- # ```
11
5
  class CardListResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # List of cards associated with the user.
@@ -2,16 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # cart_api => {
8
- # amount: TerminalShop::Models::CartAPI::Amount,
9
- # items: -> { TerminalShop::ArrayOf[TerminalShop::Models::CartAPI::Item] === _1 },
10
- # subtotal: Integer,
11
- # address_id: String,
12
- # card_id: String
13
- # }
14
- # ```
15
5
  class CartAPI < TerminalShop::BaseModel
16
6
  # @!attribute amount
17
7
  # The subtotal and shipping amounts for the current user's cart.
@@ -75,13 +65,6 @@ module TerminalShop
75
65
 
76
66
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
77
67
 
78
- # @example
79
- # ```ruby
80
- # amount => {
81
- # subtotal: Integer,
82
- # shipping: Integer
83
- # }
84
- # ```
85
68
  class Amount < TerminalShop::BaseModel
86
69
  # @!attribute subtotal
87
70
  # Subtotal of the current user's cart, in cents (USD).
@@ -110,15 +93,6 @@ module TerminalShop
110
93
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
111
94
  end
112
95
 
113
- # @example
114
- # ```ruby
115
- # item => {
116
- # id: String,
117
- # product_variant_id: String,
118
- # quantity: Integer,
119
- # subtotal: Integer
120
- # }
121
- # ```
122
96
  class Item < TerminalShop::BaseModel
123
97
  # @!attribute id
124
98
  # Unique object identifier. The format and length of IDs may change over time.
@@ -157,13 +131,6 @@ module TerminalShop
157
131
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
158
132
  end
159
133
 
160
- # @example
161
- # ```ruby
162
- # shipping => {
163
- # service: String,
164
- # timeframe: String
165
- # }
166
- # ```
167
134
  class Shipping < TerminalShop::BaseModel
168
135
  # @!attribute [r] service
169
136
  # Shipping service name.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # cart_convert_response => {
8
- # data: TerminalShop::Models::OrderAPI
9
- # }
10
- # ```
11
5
  class CartConvertResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # An order from the Terminal shop.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # cart_get_response => {
8
- # data: TerminalShop::Models::CartAPI
9
- # }
10
- # ```
11
5
  class CartGetResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # The current Terminal shop user's cart.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # cart_set_address_response => {
8
- # data: :ok
9
- # }
10
- # ```
11
5
  class CartSetAddressResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # cart_set_card_response => {
8
- # data: :ok
9
- # }
10
- # ```
11
5
  class CartSetCardResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # cart_set_item_response => {
8
- # data: TerminalShop::Models::CartAPI
9
- # }
10
- # ```
11
5
  class CartSetItemResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # The current Terminal shop user's cart.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # email_create_response => {
8
- # data: :ok
9
- # }
10
- # ```
11
5
  class EmailCreateResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -2,16 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # order_api => {
8
- # id: String,
9
- # amount: TerminalShop::Models::OrderAPI::Amount,
10
- # items: -> { TerminalShop::ArrayOf[TerminalShop::Models::OrderAPI::Item] === _1 },
11
- # shipping: TerminalShop::Models::OrderAPI::Shipping,
12
- # tracking: TerminalShop::Models::OrderAPI::Tracking
13
- # }
14
- # ```
15
5
  class OrderAPI < TerminalShop::BaseModel
16
6
  # @!attribute id
17
7
  # Unique object identifier. The format and length of IDs may change over time.
@@ -67,13 +57,6 @@ module TerminalShop
67
57
 
68
58
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
69
59
 
70
- # @example
71
- # ```ruby
72
- # amount => {
73
- # shipping: Integer,
74
- # subtotal: Integer
75
- # }
76
- # ```
77
60
  class Amount < TerminalShop::BaseModel
78
61
  # @!attribute shipping
79
62
  # Shipping amount of the order, in cents (USD).
@@ -98,16 +81,6 @@ module TerminalShop
98
81
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
99
82
  end
100
83
 
101
- # @example
102
- # ```ruby
103
- # item => {
104
- # id: String,
105
- # amount: Integer,
106
- # quantity: Integer,
107
- # description: String,
108
- # product_variant_id: String
109
- # }
110
- # ```
111
84
  class Item < TerminalShop::BaseModel
112
85
  # @!attribute id
113
86
  # Unique object identifier. The format and length of IDs may change over time.
@@ -159,17 +132,6 @@ module TerminalShop
159
132
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
160
133
  end
161
134
 
162
- # @example
163
- # ```ruby
164
- # shipping => {
165
- # city: String,
166
- # country: String,
167
- # name: String,
168
- # street1: String,
169
- # zip: String,
170
- # **_
171
- # }
172
- # ```
173
135
  class Shipping < TerminalShop::BaseModel
174
136
  # @!attribute city
175
137
  # City of the address.
@@ -248,14 +210,6 @@ module TerminalShop
248
210
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
249
211
  end
250
212
 
251
- # @example
252
- # ```ruby
253
- # tracking => {
254
- # number: String,
255
- # service: String,
256
- # url: String
257
- # }
258
- # ```
259
213
  class Tracking < TerminalShop::BaseModel
260
214
  # @!attribute [r] number
261
215
  # Tracking number of the order.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # order_get_response => {
8
- # data: TerminalShop::Models::OrderAPI
9
- # }
10
- # ```
11
5
  class OrderGetResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # An order from the Terminal shop.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # order_list_response => {
8
- # data: -> { TerminalShop::ArrayOf[TerminalShop::Models::OrderAPI] === _1 }
9
- # }
10
- # ```
11
5
  class OrderListResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # List of orders.
@@ -2,17 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # product_api => {
8
- # id: String,
9
- # description: String,
10
- # filters: -> { TerminalShop::ArrayOf[enum: TerminalShop::Models::ProductAPI::Filter] === _1 },
11
- # name: String,
12
- # variants: -> { TerminalShop::ArrayOf[TerminalShop::Models::ProductVariant] === _1 },
13
- # **_
14
- # }
15
- # ```
16
5
  class ProductAPI < TerminalShop::BaseModel
17
6
  # @!attribute id
18
7
  # Unique object identifier. The format and length of IDs may change over time.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # product_list_response => {
8
- # data: -> { TerminalShop::ArrayOf[TerminalShop::Models::ProductAPI] === _1 }
9
- # }
10
- # ```
11
5
  class ProductListResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # A list of products.
@@ -2,14 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # product_variant => {
8
- # id: String,
9
- # name: String,
10
- # price: Integer
11
- # }
12
- # ```
13
5
  class ProductVariant < TerminalShop::BaseModel
14
6
  # @!attribute id
15
7
  # Unique object identifier. The format and length of IDs may change over time.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # profile_api => {
8
- # user: TerminalShop::Models::ProfileAPI::User
9
- # }
10
- # ```
11
5
  class ProfileAPI < TerminalShop::BaseModel
12
6
  # @!attribute user
13
7
  # A Terminal shop user. (We have users, btw.)
@@ -24,16 +18,6 @@ module TerminalShop
24
18
 
25
19
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
26
20
 
27
- # @example
28
- # ```ruby
29
- # user => {
30
- # id: String,
31
- # email: String,
32
- # fingerprint: String,
33
- # name: String,
34
- # stripe_customer_id: String
35
- # }
36
- # ```
37
21
  class User < TerminalShop::BaseModel
38
22
  # @!attribute id
39
23
  # Unique object identifier. The format and length of IDs may change over time.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # profile_me_response => {
8
- # data: TerminalShop::Models::ProfileAPI
9
- # }
10
- # ```
11
5
  class ProfileMeResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # A Terminal shop user's profile. (We have users, btw.)
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # profile_update_response => {
8
- # data: TerminalShop::Models::ProfileAPI
9
- # }
10
- # ```
11
5
  class ProfileUpdateResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # A Terminal shop user's profile. (We have users, btw.)
@@ -2,17 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # subscription_api => {
8
- # id: String,
9
- # address_id: String,
10
- # card_id: String,
11
- # frequency: TerminalShop::Models::SubscriptionAPI::Frequency,
12
- # product_variant_id: String,
13
- # **_
14
- # }
15
- # ```
16
5
  class SubscriptionAPI < TerminalShop::BaseModel
17
6
  # @!attribute id
18
7
  # Unique object identifier. The format and length of IDs may change over time.
@@ -138,12 +127,6 @@ module TerminalShop
138
127
 
139
128
  variant -> { TerminalShop::Models::SubscriptionAPI::Schedule::Weekly }
140
129
 
141
- # @example
142
- # ```ruby
143
- # fixed => {
144
- # type: :fixed
145
- # }
146
- # ```
147
130
  class Fixed < TerminalShop::BaseModel
148
131
  # @!attribute type
149
132
  #
@@ -158,13 +141,6 @@ module TerminalShop
158
141
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
159
142
  end
160
143
 
161
- # @example
162
- # ```ruby
163
- # weekly => {
164
- # interval: Integer,
165
- # type: :weekly
166
- # }
167
- # ```
168
144
  class Weekly < TerminalShop::BaseModel
169
145
  # @!attribute interval
170
146
  #
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # subscription_create_response => {
8
- # data: :ok
9
- # }
10
- # ```
11
5
  class SubscriptionCreateResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # subscription_delete_response => {
8
- # data: :ok
9
- # }
10
- # ```
11
5
  class SubscriptionDeleteResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # subscription_list_response => {
8
- # data: -> { TerminalShop::ArrayOf[TerminalShop::Models::SubscriptionAPI] === _1 }
9
- # }
10
- # ```
11
5
  class SubscriptionListResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # List of subscriptions.
@@ -2,14 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # token_api => {
8
- # id: String,
9
- # token: String,
10
- # time: TerminalShop::Models::TokenAPI::Time
11
- # }
12
- # ```
13
5
  class TokenAPI < TerminalShop::BaseModel
14
6
  # @!attribute id
15
7
  # Unique object identifier. The format and length of IDs may change over time.
@@ -41,12 +33,6 @@ module TerminalShop
41
33
 
42
34
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
43
35
 
44
- # @example
45
- # ```ruby
46
- # time => {
47
- # created: String
48
- # }
49
- # ```
50
36
  class Time < TerminalShop::BaseModel
51
37
  # @!attribute created
52
38
  # The created time for the token.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # token_create_response => {
8
- # data: TerminalShop::Models::TokenCreateResponse::Data
9
- # }
10
- # ```
11
5
  class TokenCreateResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -21,13 +15,6 @@ module TerminalShop
21
15
 
22
16
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
23
17
 
24
- # @example
25
- # ```ruby
26
- # data => {
27
- # id: String,
28
- # token: String
29
- # }
30
- # ```
31
18
  class Data < TerminalShop::BaseModel
32
19
  # @!attribute id
33
20
  # Personal token ID.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # token_delete_response => {
8
- # data: :ok
9
- # }
10
- # ```
11
5
  class TokenDeleteResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  #
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # token_get_response => {
8
- # data: TerminalShop::Models::TokenAPI
9
- # }
10
- # ```
11
5
  class TokenGetResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # A personal access token used to access the Terminal API. If you leak this,
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # token_list_response => {
8
- # data: -> { TerminalShop::ArrayOf[TerminalShop::Models::TokenAPI] === _1 }
9
- # }
10
- # ```
11
5
  class TokenListResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # List of personal access tokens.
@@ -2,12 +2,6 @@
2
2
 
3
3
  module TerminalShop
4
4
  module Models
5
- # @example
6
- # ```ruby
7
- # view_init_response => {
8
- # data: TerminalShop::Models::ViewInitResponse::Data
9
- # }
10
- # ```
11
5
  class ViewInitResponse < TerminalShop::BaseModel
12
6
  # @!attribute data
13
7
  # Initial app data.
@@ -22,17 +16,6 @@ module TerminalShop
22
16
 
23
17
  # def initialize: (Hash | TerminalShop::BaseModel) -> void
24
18
 
25
- # @example
26
- # ```ruby
27
- # data => {
28
- # addresses: -> { TerminalShop::ArrayOf[TerminalShop::Models::AddressAPI] === _1 },
29
- # apps: -> { TerminalShop::ArrayOf[TerminalShop::Models::AppAPI] === _1 },
30
- # cards: -> { TerminalShop::ArrayOf[TerminalShop::Models::CardAPI] === _1 },
31
- # cart: TerminalShop::Models::CartAPI,
32
- # orders: -> { TerminalShop::ArrayOf[TerminalShop::Models::OrderAPI] === _1 },
33
- # **_
34
- # }
35
- # ```
36
19
  class Data < TerminalShop::BaseModel
37
20
  # @!attribute addresses
38
21
  #