trophy_api_client 1.4.0 → 1.6.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gemconfig.rb +1 -1
  3. data/lib/trophy_api_client/admin/attributes/client.rb +368 -0
  4. data/lib/trophy_api_client/admin/client.rb +14 -0
  5. data/lib/trophy_api_client/admin/metrics/client.rb +366 -0
  6. data/lib/trophy_api_client/admin/points/boosts/client.rb +6 -74
  7. data/lib/trophy_api_client/types/admin_attribute.rb +81 -0
  8. data/lib/trophy_api_client/types/admin_attribute_type.rb +9 -0
  9. data/lib/trophy_api_client/types/create_attribute_request_item.rb +76 -0
  10. data/lib/trophy_api_client/types/create_attribute_request_item_type.rb +9 -0
  11. data/lib/trophy_api_client/types/create_attributes_request.rb +7 -0
  12. data/lib/trophy_api_client/types/create_attributes_response.rb +74 -0
  13. data/lib/trophy_api_client/types/create_metric_request_item.rb +87 -0
  14. data/lib/trophy_api_client/types/create_metric_request_item_unit_type.rb +9 -0
  15. data/lib/trophy_api_client/types/create_metrics_request.rb +7 -0
  16. data/lib/trophy_api_client/types/create_metrics_response.rb +74 -0
  17. data/lib/trophy_api_client/types/created_metric.rb +88 -0
  18. data/lib/trophy_api_client/types/created_metric_unit_type.rb +9 -0
  19. data/lib/trophy_api_client/types/delete_attributes_response.rb +75 -0
  20. data/lib/trophy_api_client/types/delete_metrics_response.rb +75 -0
  21. data/lib/trophy_api_client/types/delete_points_boosts_response.rb +5 -6
  22. data/lib/trophy_api_client/types/deleted_resource.rb +3 -3
  23. data/lib/trophy_api_client/types/list_attributes_response.rb +7 -0
  24. data/lib/trophy_api_client/types/list_metrics_response.rb +7 -0
  25. data/lib/trophy_api_client/types/metric_response.rb +2 -17
  26. data/lib/trophy_api_client/types/update_attribute_request_item.rb +69 -0
  27. data/lib/trophy_api_client/types/update_attributes_request.rb +7 -0
  28. data/lib/trophy_api_client/types/update_attributes_response.rb +75 -0
  29. data/lib/trophy_api_client/types/update_metric_request_item.rb +86 -0
  30. data/lib/trophy_api_client/types/update_metric_request_item_unit_type.rb +9 -0
  31. data/lib/trophy_api_client/types/update_metrics_request.rb +7 -0
  32. data/lib/trophy_api_client/types/update_metrics_response.rb +75 -0
  33. data/lib/trophy_api_client/version.rb +1 -1
  34. data/lib/types_export.rb +23 -1
  35. metadata +26 -2
  36. data/lib/trophy_api_client/types/metric_status.rb +0 -9
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "ostruct"
4
+ require "json"
5
+
6
+ module TrophyApiClient
7
+ # An attribute update object. `id` is required and `name` is optional. `key` and
8
+ # `type` cannot be changed through this endpoint.
9
+ class UpdateAttributeRequestItem
10
+ # @return [String] The UUID of the attribute to update.
11
+ attr_reader :id
12
+ # @return [String] The updated attribute name.
13
+ attr_reader :name
14
+ # @return [OpenStruct] Additional properties unmapped to the current class definition
15
+ attr_reader :additional_properties
16
+ # @return [Object]
17
+ attr_reader :_field_set
18
+ protected :_field_set
19
+
20
+ OMIT = Object.new
21
+
22
+ # @param id [String] The UUID of the attribute to update.
23
+ # @param name [String] The updated attribute name.
24
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
25
+ # @return [TrophyApiClient::UpdateAttributeRequestItem]
26
+ def initialize(id:, name: OMIT, additional_properties: nil)
27
+ @id = id
28
+ @name = name if name != OMIT
29
+ @additional_properties = additional_properties
30
+ @_field_set = { "id": id, "name": name }.reject do |_k, v|
31
+ v == OMIT
32
+ end
33
+ end
34
+
35
+ # Deserialize a JSON object to an instance of UpdateAttributeRequestItem
36
+ #
37
+ # @param json_object [String]
38
+ # @return [TrophyApiClient::UpdateAttributeRequestItem]
39
+ def self.from_json(json_object:)
40
+ struct = JSON.parse(json_object, object_class: OpenStruct)
41
+ parsed_json = JSON.parse(json_object)
42
+ id = parsed_json["id"]
43
+ name = parsed_json["name"]
44
+ new(
45
+ id: id,
46
+ name: name,
47
+ additional_properties: struct
48
+ )
49
+ end
50
+
51
+ # Serialize an instance of UpdateAttributeRequestItem to a JSON object
52
+ #
53
+ # @return [String]
54
+ def to_json(*_args)
55
+ @_field_set&.to_json
56
+ end
57
+
58
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
59
+ # hash and check each fields type against the current object's property
60
+ # definitions.
61
+ #
62
+ # @param obj [Object]
63
+ # @return [Void]
64
+ def self.validate_raw(obj:)
65
+ obj.id.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
66
+ obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "update_attribute_request_item"
4
+
5
+ module TrophyApiClient
6
+ UPDATE_ATTRIBUTES_REQUEST = Array
7
+ end
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "admin_attribute"
4
+ require_relative "admin_issue"
5
+ require "ostruct"
6
+ require "json"
7
+
8
+ module TrophyApiClient
9
+ # Response containing updated attributes and any per-item issues identified by
10
+ # attribute ID.
11
+ class UpdateAttributesResponse
12
+ # @return [Array<TrophyApiClient::AdminAttribute>] Array of successfully updated attributes.
13
+ attr_reader :updated
14
+ # @return [Array<TrophyApiClient::AdminIssue>] Array of issues encountered during attribute update.
15
+ attr_reader :issues
16
+ # @return [OpenStruct] Additional properties unmapped to the current class definition
17
+ attr_reader :additional_properties
18
+ # @return [Object]
19
+ attr_reader :_field_set
20
+ protected :_field_set
21
+
22
+ OMIT = Object.new
23
+
24
+ # @param updated [Array<TrophyApiClient::AdminAttribute>] Array of successfully updated attributes.
25
+ # @param issues [Array<TrophyApiClient::AdminIssue>] Array of issues encountered during attribute update.
26
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
27
+ # @return [TrophyApiClient::UpdateAttributesResponse]
28
+ def initialize(updated:, issues:, additional_properties: nil)
29
+ @updated = updated
30
+ @issues = issues
31
+ @additional_properties = additional_properties
32
+ @_field_set = { "updated": updated, "issues": issues }
33
+ end
34
+
35
+ # Deserialize a JSON object to an instance of UpdateAttributesResponse
36
+ #
37
+ # @param json_object [String]
38
+ # @return [TrophyApiClient::UpdateAttributesResponse]
39
+ def self.from_json(json_object:)
40
+ struct = JSON.parse(json_object, object_class: OpenStruct)
41
+ parsed_json = JSON.parse(json_object)
42
+ updated = parsed_json["updated"]&.map do |item|
43
+ item = item.to_json
44
+ TrophyApiClient::AdminAttribute.from_json(json_object: item)
45
+ end
46
+ issues = parsed_json["issues"]&.map do |item|
47
+ item = item.to_json
48
+ TrophyApiClient::AdminIssue.from_json(json_object: item)
49
+ end
50
+ new(
51
+ updated: updated,
52
+ issues: issues,
53
+ additional_properties: struct
54
+ )
55
+ end
56
+
57
+ # Serialize an instance of UpdateAttributesResponse to a JSON object
58
+ #
59
+ # @return [String]
60
+ def to_json(*_args)
61
+ @_field_set&.to_json
62
+ end
63
+
64
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
65
+ # hash and check each fields type against the current object's property
66
+ # definitions.
67
+ #
68
+ # @param obj [Object]
69
+ # @return [Void]
70
+ def self.validate_raw(obj:)
71
+ obj.updated.is_a?(Array) != false || raise("Passed value for field obj.updated is not the expected type, validation failed.")
72
+ obj.issues.is_a?(Array) != false || raise("Passed value for field obj.issues is not the expected type, validation failed.")
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,86 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "update_metric_request_item_unit_type"
4
+ require "ostruct"
5
+ require "json"
6
+
7
+ module TrophyApiClient
8
+ # A metric update object. `id` is required; `name`, `unitType`, and `units` are
9
+ # optional. `key` cannot be changed through this endpoint.
10
+ class UpdateMetricRequestItem
11
+ # @return [String] The UUID of the metric to update.
12
+ attr_reader :id
13
+ # @return [String] The updated metric name.
14
+ attr_reader :name
15
+ # @return [TrophyApiClient::UpdateMetricRequestItemUnitType] The updated metric unit type.
16
+ attr_reader :unit_type
17
+ # @return [String] The updated units value. For `unitType: currency`, this must be a supported
18
+ # `MetricCurrency` code such as `USD`.
19
+ attr_reader :units
20
+ # @return [OpenStruct] Additional properties unmapped to the current class definition
21
+ attr_reader :additional_properties
22
+ # @return [Object]
23
+ attr_reader :_field_set
24
+ protected :_field_set
25
+
26
+ OMIT = Object.new
27
+
28
+ # @param id [String] The UUID of the metric to update.
29
+ # @param name [String] The updated metric name.
30
+ # @param unit_type [TrophyApiClient::UpdateMetricRequestItemUnitType] The updated metric unit type.
31
+ # @param units [String] The updated units value. For `unitType: currency`, this must be a supported
32
+ # `MetricCurrency` code such as `USD`.
33
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
34
+ # @return [TrophyApiClient::UpdateMetricRequestItem]
35
+ def initialize(id:, name: OMIT, unit_type: OMIT, units: OMIT, additional_properties: nil)
36
+ @id = id
37
+ @name = name if name != OMIT
38
+ @unit_type = unit_type if unit_type != OMIT
39
+ @units = units if units != OMIT
40
+ @additional_properties = additional_properties
41
+ @_field_set = { "id": id, "name": name, "unitType": unit_type, "units": units }.reject do |_k, v|
42
+ v == OMIT
43
+ end
44
+ end
45
+
46
+ # Deserialize a JSON object to an instance of UpdateMetricRequestItem
47
+ #
48
+ # @param json_object [String]
49
+ # @return [TrophyApiClient::UpdateMetricRequestItem]
50
+ def self.from_json(json_object:)
51
+ struct = JSON.parse(json_object, object_class: OpenStruct)
52
+ parsed_json = JSON.parse(json_object)
53
+ id = parsed_json["id"]
54
+ name = parsed_json["name"]
55
+ unit_type = parsed_json["unitType"]
56
+ units = parsed_json["units"]
57
+ new(
58
+ id: id,
59
+ name: name,
60
+ unit_type: unit_type,
61
+ units: units,
62
+ additional_properties: struct
63
+ )
64
+ end
65
+
66
+ # Serialize an instance of UpdateMetricRequestItem to a JSON object
67
+ #
68
+ # @return [String]
69
+ def to_json(*_args)
70
+ @_field_set&.to_json
71
+ end
72
+
73
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
74
+ # hash and check each fields type against the current object's property
75
+ # definitions.
76
+ #
77
+ # @param obj [Object]
78
+ # @return [Void]
79
+ def self.validate_raw(obj:)
80
+ obj.id.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
81
+ obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
82
+ obj.unit_type&.is_a?(TrophyApiClient::UpdateMetricRequestItemUnitType) != false || raise("Passed value for field obj.unit_type is not the expected type, validation failed.")
83
+ obj.units&.is_a?(String) != false || raise("Passed value for field obj.units is not the expected type, validation failed.")
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TrophyApiClient
4
+ # The updated metric unit type.
5
+ class UpdateMetricRequestItemUnitType
6
+ NUMBER = "number"
7
+ CURRENCY = "currency"
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "update_metric_request_item"
4
+
5
+ module TrophyApiClient
6
+ UPDATE_METRICS_REQUEST = Array
7
+ end
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "created_metric"
4
+ require_relative "admin_issue"
5
+ require "ostruct"
6
+ require "json"
7
+
8
+ module TrophyApiClient
9
+ # Response containing updated metrics and any per-item issues identified by metric
10
+ # ID.
11
+ class UpdateMetricsResponse
12
+ # @return [Array<TrophyApiClient::CreatedMetric>] Array of successfully updated metrics.
13
+ attr_reader :updated
14
+ # @return [Array<TrophyApiClient::AdminIssue>] Array of issues encountered during metric update.
15
+ attr_reader :issues
16
+ # @return [OpenStruct] Additional properties unmapped to the current class definition
17
+ attr_reader :additional_properties
18
+ # @return [Object]
19
+ attr_reader :_field_set
20
+ protected :_field_set
21
+
22
+ OMIT = Object.new
23
+
24
+ # @param updated [Array<TrophyApiClient::CreatedMetric>] Array of successfully updated metrics.
25
+ # @param issues [Array<TrophyApiClient::AdminIssue>] Array of issues encountered during metric update.
26
+ # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
27
+ # @return [TrophyApiClient::UpdateMetricsResponse]
28
+ def initialize(updated:, issues:, additional_properties: nil)
29
+ @updated = updated
30
+ @issues = issues
31
+ @additional_properties = additional_properties
32
+ @_field_set = { "updated": updated, "issues": issues }
33
+ end
34
+
35
+ # Deserialize a JSON object to an instance of UpdateMetricsResponse
36
+ #
37
+ # @param json_object [String]
38
+ # @return [TrophyApiClient::UpdateMetricsResponse]
39
+ def self.from_json(json_object:)
40
+ struct = JSON.parse(json_object, object_class: OpenStruct)
41
+ parsed_json = JSON.parse(json_object)
42
+ updated = parsed_json["updated"]&.map do |item|
43
+ item = item.to_json
44
+ TrophyApiClient::CreatedMetric.from_json(json_object: item)
45
+ end
46
+ issues = parsed_json["issues"]&.map do |item|
47
+ item = item.to_json
48
+ TrophyApiClient::AdminIssue.from_json(json_object: item)
49
+ end
50
+ new(
51
+ updated: updated,
52
+ issues: issues,
53
+ additional_properties: struct
54
+ )
55
+ end
56
+
57
+ # Serialize an instance of UpdateMetricsResponse to a JSON object
58
+ #
59
+ # @return [String]
60
+ def to_json(*_args)
61
+ @_field_set&.to_json
62
+ end
63
+
64
+ # Leveraged for Union-type generation, validate_raw attempts to parse the given
65
+ # hash and check each fields type against the current object's property
66
+ # definitions.
67
+ #
68
+ # @param obj [Object]
69
+ # @return [Void]
70
+ def self.validate_raw(obj:)
71
+ obj.updated.is_a?(Array) != false || raise("Passed value for field obj.updated is not the expected type, validation failed.")
72
+ obj.issues.is_a?(Array) != false || raise("Passed value for field obj.issues is not the expected type, validation failed.")
73
+ end
74
+ end
75
+ end
@@ -1,3 +1,3 @@
1
1
  module MyGem
2
- VERSION = "1.4.0"
2
+ VERSION = "1.6.0"
3
3
  end
data/lib/types_export.rb CHANGED
@@ -26,7 +26,6 @@ require_relative "trophy_api_client/types/webhooks_leaderboard_started_payload"
26
26
  require_relative "trophy_api_client/types/webhooks_leaderboard_changed_payload"
27
27
  require_relative "trophy_api_client/types/webhooks_leaderboard_finished_payload"
28
28
  require_relative "trophy_api_client/types/webhooks_leaderboard_rank_changed_payload"
29
- require_relative "trophy_api_client/types/metric_status"
30
29
  require_relative "trophy_api_client/types/streak_frequency"
31
30
  require_relative "trophy_api_client/types/base_streak_response"
32
31
  require_relative "trophy_api_client/types/bulk_streak_response_item"
@@ -90,6 +89,29 @@ require_relative "trophy_api_client/types/user_leaderboard_response"
90
89
  require_relative "trophy_api_client/types/user_leaderboard_response_with_history"
91
90
  require_relative "trophy_api_client/types/webhook_user_leaderboard_response"
92
91
  require_relative "trophy_api_client/types/create_streak_freezes_response"
92
+ require_relative "trophy_api_client/types/create_attribute_request_item"
93
+ require_relative "trophy_api_client/types/create_attributes_request"
94
+ require_relative "trophy_api_client/types/create_attribute_request_item_type"
95
+ require_relative "trophy_api_client/types/admin_attribute_type"
96
+ require_relative "trophy_api_client/types/admin_attribute"
97
+ require_relative "trophy_api_client/types/create_attributes_response"
98
+ require_relative "trophy_api_client/types/update_attribute_request_item"
99
+ require_relative "trophy_api_client/types/update_attributes_request"
100
+ require_relative "trophy_api_client/types/update_attributes_response"
101
+ require_relative "trophy_api_client/types/delete_attributes_response"
102
+ require_relative "trophy_api_client/types/list_attributes_response"
103
+ require_relative "trophy_api_client/types/create_metric_request_item"
104
+ require_relative "trophy_api_client/types/create_metrics_request"
105
+ require_relative "trophy_api_client/types/create_metric_request_item_unit_type"
106
+ require_relative "trophy_api_client/types/created_metric_unit_type"
107
+ require_relative "trophy_api_client/types/created_metric"
108
+ require_relative "trophy_api_client/types/create_metrics_response"
109
+ require_relative "trophy_api_client/types/update_metric_request_item"
110
+ require_relative "trophy_api_client/types/update_metrics_request"
111
+ require_relative "trophy_api_client/types/update_metric_request_item_unit_type"
112
+ require_relative "trophy_api_client/types/update_metrics_response"
113
+ require_relative "trophy_api_client/types/delete_metrics_response"
114
+ require_relative "trophy_api_client/types/list_metrics_response"
93
115
  require_relative "trophy_api_client/types/created_points_boost_status"
94
116
  require_relative "trophy_api_client/types/created_points_boost_rounding"
95
117
  require_relative "trophy_api_client/types/created_points_boost"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trophy_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trophy Labs, Inc
@@ -100,7 +100,9 @@ files:
100
100
  - lib/requests.rb
101
101
  - lib/trophy_api_client.rb
102
102
  - lib/trophy_api_client/achievements/client.rb
103
+ - lib/trophy_api_client/admin/attributes/client.rb
103
104
  - lib/trophy_api_client/admin/client.rb
105
+ - lib/trophy_api_client/admin/metrics/client.rb
104
106
  - lib/trophy_api_client/admin/points/boosts/client.rb
105
107
  - lib/trophy_api_client/admin/points/boosts/types/create_points_boosts_request_boosts_item.rb
106
108
  - lib/trophy_api_client/admin/points/boosts/types/create_points_boosts_request_boosts_item_rounding.rb
@@ -123,16 +125,30 @@ files:
123
125
  - lib/trophy_api_client/types/achievement_response_trigger.rb
124
126
  - lib/trophy_api_client/types/achievement_response_user_attributes_item.rb
125
127
  - lib/trophy_api_client/types/achievement_with_stats_response.rb
128
+ - lib/trophy_api_client/types/admin_attribute.rb
129
+ - lib/trophy_api_client/types/admin_attribute_type.rb
126
130
  - lib/trophy_api_client/types/admin_issue.rb
127
131
  - lib/trophy_api_client/types/admin_issue_severity.rb
128
132
  - lib/trophy_api_client/types/base_streak_response.rb
129
133
  - lib/trophy_api_client/types/bulk_streak_response.rb
130
134
  - lib/trophy_api_client/types/bulk_streak_response_item.rb
135
+ - lib/trophy_api_client/types/create_attribute_request_item.rb
136
+ - lib/trophy_api_client/types/create_attribute_request_item_type.rb
137
+ - lib/trophy_api_client/types/create_attributes_request.rb
138
+ - lib/trophy_api_client/types/create_attributes_response.rb
139
+ - lib/trophy_api_client/types/create_metric_request_item.rb
140
+ - lib/trophy_api_client/types/create_metric_request_item_unit_type.rb
141
+ - lib/trophy_api_client/types/create_metrics_request.rb
142
+ - lib/trophy_api_client/types/create_metrics_response.rb
131
143
  - lib/trophy_api_client/types/create_points_boosts_response.rb
132
144
  - lib/trophy_api_client/types/create_streak_freezes_response.rb
145
+ - lib/trophy_api_client/types/created_metric.rb
146
+ - lib/trophy_api_client/types/created_metric_unit_type.rb
133
147
  - lib/trophy_api_client/types/created_points_boost.rb
134
148
  - lib/trophy_api_client/types/created_points_boost_rounding.rb
135
149
  - lib/trophy_api_client/types/created_points_boost_status.rb
150
+ - lib/trophy_api_client/types/delete_attributes_response.rb
151
+ - lib/trophy_api_client/types/delete_metrics_response.rb
136
152
  - lib/trophy_api_client/types/delete_points_boosts_response.rb
137
153
  - lib/trophy_api_client/types/deleted_resource.rb
138
154
  - lib/trophy_api_client/types/error_body.rb
@@ -145,12 +161,13 @@ files:
145
161
  - lib/trophy_api_client/types/leaderboard_response_run_unit.rb
146
162
  - lib/trophy_api_client/types/leaderboard_response_with_rankings.rb
147
163
  - lib/trophy_api_client/types/leaderboard_response_with_rankings_status.rb
164
+ - lib/trophy_api_client/types/list_attributes_response.rb
165
+ - lib/trophy_api_client/types/list_metrics_response.rb
148
166
  - lib/trophy_api_client/types/metric_event_leaderboard_response.rb
149
167
  - lib/trophy_api_client/types/metric_event_leaderboard_response_breakdown_attribute_values_item.rb
150
168
  - lib/trophy_api_client/types/metric_event_points_response.rb
151
169
  - lib/trophy_api_client/types/metric_event_streak_response.rb
152
170
  - lib/trophy_api_client/types/metric_response.rb
153
- - lib/trophy_api_client/types/metric_status.rb
154
171
  - lib/trophy_api_client/types/notification_channel.rb
155
172
  - lib/trophy_api_client/types/notification_preferences.rb
156
173
  - lib/trophy_api_client/types/notification_type.rb
@@ -180,6 +197,13 @@ files:
180
197
  - lib/trophy_api_client/types/streak_ranking_user.rb
181
198
  - lib/trophy_api_client/types/streak_response.rb
182
199
  - lib/trophy_api_client/types/streak_response_streak_history_item.rb
200
+ - lib/trophy_api_client/types/update_attribute_request_item.rb
201
+ - lib/trophy_api_client/types/update_attributes_request.rb
202
+ - lib/trophy_api_client/types/update_attributes_response.rb
203
+ - lib/trophy_api_client/types/update_metric_request_item.rb
204
+ - lib/trophy_api_client/types/update_metric_request_item_unit_type.rb
205
+ - lib/trophy_api_client/types/update_metrics_request.rb
206
+ - lib/trophy_api_client/types/update_metrics_response.rb
183
207
  - lib/trophy_api_client/types/updated_user.rb
184
208
  - lib/trophy_api_client/types/upserted_user.rb
185
209
  - lib/trophy_api_client/types/user.rb
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module TrophyApiClient
4
- # The status of the achievement.
5
- class MetricStatus
6
- ARCHIVED = "archived"
7
- ACTIVE = "active"
8
- end
9
- end