metronome-sdk 2.2.0 → 3.0.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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +10 -1
  4. data/lib/metronome_sdk/models/commit.rb +69 -1
  5. data/lib/metronome_sdk/models/contract_v2.rb +18 -2
  6. data/lib/metronome_sdk/models/credit.rb +69 -1
  7. data/lib/metronome_sdk/models/rate.rb +1 -11
  8. data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rb +1 -11
  9. data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rb +1 -11
  10. data/lib/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rb +1 -11
  11. data/lib/metronome_sdk/models/v1/custom_field_add_key_params.rb +4 -0
  12. data/lib/metronome_sdk/models/v1/custom_field_delete_values_params.rb +4 -0
  13. data/lib/metronome_sdk/models/v1/custom_field_list_keys_params.rb +4 -0
  14. data/lib/metronome_sdk/models/v1/custom_field_list_keys_response.rb +4 -0
  15. data/lib/metronome_sdk/models/v1/custom_field_remove_key_params.rb +4 -0
  16. data/lib/metronome_sdk/models/v1/custom_field_set_values_params.rb +4 -0
  17. data/lib/metronome_sdk/models/v1/customers/invoice.rb +51 -1
  18. data/lib/metronome_sdk/models/v1/payment.rb +40 -1
  19. data/lib/metronome_sdk/resources/v1/contracts/rate_cards/rates.rb +1 -3
  20. data/lib/metronome_sdk/resources/v1/contracts/rate_cards.rb +1 -1
  21. data/lib/metronome_sdk/resources/v1/customers/billing_config.rb +5 -5
  22. data/lib/metronome_sdk/resources/v1/customers/invoices.rb +7 -7
  23. data/lib/metronome_sdk/resources/v1/customers/plans.rb +5 -5
  24. data/lib/metronome_sdk/resources/v1/customers.rb +7 -7
  25. data/lib/metronome_sdk/resources/v1/plans.rb +2 -2
  26. data/lib/metronome_sdk/resources/v1/usage.rb +7 -7
  27. data/lib/metronome_sdk/version.rb +1 -1
  28. data/rbi/metronome_sdk/models/commit.rbi +171 -0
  29. data/rbi/metronome_sdk/models/contract_v2.rbi +22 -0
  30. data/rbi/metronome_sdk/models/credit.rbi +171 -0
  31. data/rbi/metronome_sdk/models/rate.rbi +3 -18
  32. data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rbi +3 -18
  33. data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rbi +0 -15
  34. data/rbi/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rbi +3 -18
  35. data/rbi/metronome_sdk/models/v1/custom_field_add_key_params.rbi +20 -0
  36. data/rbi/metronome_sdk/models/v1/custom_field_delete_values_params.rbi +20 -0
  37. data/rbi/metronome_sdk/models/v1/custom_field_list_keys_params.rbi +20 -0
  38. data/rbi/metronome_sdk/models/v1/custom_field_list_keys_response.rbi +20 -0
  39. data/rbi/metronome_sdk/models/v1/custom_field_remove_key_params.rbi +20 -0
  40. data/rbi/metronome_sdk/models/v1/custom_field_set_values_params.rbi +20 -0
  41. data/rbi/metronome_sdk/models/v1/customers/invoice.rbi +89 -0
  42. data/rbi/metronome_sdk/models/v1/payment.rbi +79 -0
  43. data/rbi/metronome_sdk/resources/v1/contracts/rate_cards/rates.rbi +0 -5
  44. data/rbi/metronome_sdk/resources/v1/contracts/rate_cards.rbi +1 -1
  45. data/rbi/metronome_sdk/resources/v1/customers/billing_config.rbi +5 -5
  46. data/rbi/metronome_sdk/resources/v1/customers/invoices.rbi +7 -7
  47. data/rbi/metronome_sdk/resources/v1/customers/plans.rbi +5 -5
  48. data/rbi/metronome_sdk/resources/v1/customers.rbi +7 -7
  49. data/rbi/metronome_sdk/resources/v1/plans.rbi +2 -2
  50. data/rbi/metronome_sdk/resources/v1/usage.rbi +7 -7
  51. data/sig/metronome_sdk/models/commit.rbs +74 -0
  52. data/sig/metronome_sdk/models/contract_v2.rbs +14 -0
  53. data/sig/metronome_sdk/models/credit.rbs +74 -0
  54. data/sig/metronome_sdk/models/rate.rbs +3 -10
  55. data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_add_many_params.rbs +3 -10
  56. data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_add_params.rbs +1 -8
  57. data/sig/metronome_sdk/models/v1/contracts/rate_cards/rate_add_response.rbs +3 -10
  58. data/sig/metronome_sdk/models/v1/custom_field_add_key_params.rbs +8 -0
  59. data/sig/metronome_sdk/models/v1/custom_field_delete_values_params.rbs +8 -0
  60. data/sig/metronome_sdk/models/v1/custom_field_list_keys_params.rbs +8 -0
  61. data/sig/metronome_sdk/models/v1/custom_field_list_keys_response.rbs +8 -0
  62. data/sig/metronome_sdk/models/v1/custom_field_remove_key_params.rbs +8 -0
  63. data/sig/metronome_sdk/models/v1/custom_field_set_values_params.rbs +8 -0
  64. data/sig/metronome_sdk/models/v1/customers/invoice.rbs +46 -0
  65. data/sig/metronome_sdk/models/v1/payment.rbs +45 -0
  66. data/sig/metronome_sdk/resources/v1/contracts/rate_cards/rates.rbs +0 -1
  67. metadata +16 -2
@@ -144,6 +144,14 @@ module MetronomeSDK
144
144
  sig { params(rate_type: MetronomeSDK::Credit::RateType::OrSymbol).void }
145
145
  attr_writer :rate_type
146
146
 
147
+ # The ID of the recurring credit that this credit was generated from, if
148
+ # applicable.
149
+ sig { returns(T.nilable(String)) }
150
+ attr_reader :recurring_credit_id
151
+
152
+ sig { params(recurring_credit_id: String).void }
153
+ attr_writer :recurring_credit_id
154
+
147
155
  # This field's availability is dependent on your client's configuration.
148
156
  sig { returns(T.nilable(String)) }
149
157
  attr_reader :salesforce_opportunity_id
@@ -162,6 +170,18 @@ module MetronomeSDK
162
170
  end
163
171
  attr_writer :specifiers
164
172
 
173
+ # The subscription configuration for this credit, if it was generated from a
174
+ # recurring credit with a subscription attached.
175
+ sig { returns(T.nilable(MetronomeSDK::Credit::SubscriptionConfig)) }
176
+ attr_reader :subscription_config
177
+
178
+ sig do
179
+ params(
180
+ subscription_config: MetronomeSDK::Credit::SubscriptionConfig::OrHash
181
+ ).void
182
+ end
183
+ attr_writer :subscription_config
184
+
165
185
  # Prevents the creation of duplicates. If a request to create a commit or credit
166
186
  # is made with a uniqueness key that was previously used to create a commit or
167
187
  # credit, a new record will not be created and the request will fail with a 409
@@ -203,8 +223,10 @@ module MetronomeSDK
203
223
  netsuite_sales_order_id: String,
204
224
  priority: Float,
205
225
  rate_type: MetronomeSDK::Credit::RateType::OrSymbol,
226
+ recurring_credit_id: String,
206
227
  salesforce_opportunity_id: String,
207
228
  specifiers: T::Array[MetronomeSDK::CommitSpecifier::OrHash],
229
+ subscription_config: MetronomeSDK::Credit::SubscriptionConfig::OrHash,
208
230
  uniqueness_key: String
209
231
  ).returns(T.attached_class)
210
232
  end
@@ -242,12 +264,18 @@ module MetronomeSDK
242
264
  # will apply first.
243
265
  priority: nil,
244
266
  rate_type: nil,
267
+ # The ID of the recurring credit that this credit was generated from, if
268
+ # applicable.
269
+ recurring_credit_id: nil,
245
270
  # This field's availability is dependent on your client's configuration.
246
271
  salesforce_opportunity_id: nil,
247
272
  # List of filters that determine what kind of customer usage draws down a commit
248
273
  # or credit. A customer's usage needs to meet the condition of at least one of the
249
274
  # specifiers to contribute to a commit's or credit's drawdown.
250
275
  specifiers: nil,
276
+ # The subscription configuration for this credit, if it was generated from a
277
+ # recurring credit with a subscription attached.
278
+ subscription_config: nil,
251
279
  # Prevents the creation of duplicates. If a request to create a commit or credit
252
280
  # is made with a uniqueness key that was previously used to create a commit or
253
281
  # credit, a new record will not be created and the request will fail with a 409
@@ -276,8 +304,10 @@ module MetronomeSDK
276
304
  netsuite_sales_order_id: String,
277
305
  priority: Float,
278
306
  rate_type: MetronomeSDK::Credit::RateType::TaggedSymbol,
307
+ recurring_credit_id: String,
279
308
  salesforce_opportunity_id: String,
280
309
  specifiers: T::Array[MetronomeSDK::CommitSpecifier],
310
+ subscription_config: MetronomeSDK::Credit::SubscriptionConfig,
281
311
  uniqueness_key: String
282
312
  }
283
313
  )
@@ -1016,6 +1046,147 @@ module MetronomeSDK
1016
1046
  def self.values
1017
1047
  end
1018
1048
  end
1049
+
1050
+ class SubscriptionConfig < MetronomeSDK::Internal::Type::BaseModel
1051
+ OrHash =
1052
+ T.type_alias do
1053
+ T.any(
1054
+ MetronomeSDK::Credit::SubscriptionConfig,
1055
+ MetronomeSDK::Internal::AnyHash
1056
+ )
1057
+ end
1058
+
1059
+ sig do
1060
+ returns(
1061
+ T.nilable(
1062
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::TaggedSymbol
1063
+ )
1064
+ )
1065
+ end
1066
+ attr_reader :allocation
1067
+
1068
+ sig do
1069
+ params(
1070
+ allocation:
1071
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::OrSymbol
1072
+ ).void
1073
+ end
1074
+ attr_writer :allocation
1075
+
1076
+ sig do
1077
+ returns(
1078
+ T.nilable(
1079
+ MetronomeSDK::Credit::SubscriptionConfig::ApplySeatIncreaseConfig
1080
+ )
1081
+ )
1082
+ end
1083
+ attr_reader :apply_seat_increase_config
1084
+
1085
+ sig do
1086
+ params(
1087
+ apply_seat_increase_config:
1088
+ MetronomeSDK::Credit::SubscriptionConfig::ApplySeatIncreaseConfig::OrHash
1089
+ ).void
1090
+ end
1091
+ attr_writer :apply_seat_increase_config
1092
+
1093
+ sig { returns(T.nilable(String)) }
1094
+ attr_reader :subscription_id
1095
+
1096
+ sig { params(subscription_id: String).void }
1097
+ attr_writer :subscription_id
1098
+
1099
+ # The subscription configuration for this credit, if it was generated from a
1100
+ # recurring credit with a subscription attached.
1101
+ sig do
1102
+ params(
1103
+ allocation:
1104
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::OrSymbol,
1105
+ apply_seat_increase_config:
1106
+ MetronomeSDK::Credit::SubscriptionConfig::ApplySeatIncreaseConfig::OrHash,
1107
+ subscription_id: String
1108
+ ).returns(T.attached_class)
1109
+ end
1110
+ def self.new(
1111
+ allocation: nil,
1112
+ apply_seat_increase_config: nil,
1113
+ subscription_id: nil
1114
+ )
1115
+ end
1116
+
1117
+ sig do
1118
+ override.returns(
1119
+ {
1120
+ allocation:
1121
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::TaggedSymbol,
1122
+ apply_seat_increase_config:
1123
+ MetronomeSDK::Credit::SubscriptionConfig::ApplySeatIncreaseConfig,
1124
+ subscription_id: String
1125
+ }
1126
+ )
1127
+ end
1128
+ def to_hash
1129
+ end
1130
+
1131
+ module Allocation
1132
+ extend MetronomeSDK::Internal::Type::Enum
1133
+
1134
+ TaggedSymbol =
1135
+ T.type_alias do
1136
+ T.all(
1137
+ Symbol,
1138
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation
1139
+ )
1140
+ end
1141
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1142
+
1143
+ INDIVIDUAL =
1144
+ T.let(
1145
+ :INDIVIDUAL,
1146
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::TaggedSymbol
1147
+ )
1148
+ POOLED =
1149
+ T.let(
1150
+ :POOLED,
1151
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::TaggedSymbol
1152
+ )
1153
+
1154
+ sig do
1155
+ override.returns(
1156
+ T::Array[
1157
+ MetronomeSDK::Credit::SubscriptionConfig::Allocation::TaggedSymbol
1158
+ ]
1159
+ )
1160
+ end
1161
+ def self.values
1162
+ end
1163
+ end
1164
+
1165
+ class ApplySeatIncreaseConfig < MetronomeSDK::Internal::Type::BaseModel
1166
+ OrHash =
1167
+ T.type_alias do
1168
+ T.any(
1169
+ MetronomeSDK::Credit::SubscriptionConfig::ApplySeatIncreaseConfig,
1170
+ MetronomeSDK::Internal::AnyHash
1171
+ )
1172
+ end
1173
+
1174
+ # Indicates whether a mid-period seat increase should be prorated.
1175
+ sig { returns(T::Boolean) }
1176
+ attr_accessor :is_prorated
1177
+
1178
+ sig { params(is_prorated: T::Boolean).returns(T.attached_class) }
1179
+ def self.new(
1180
+ # Indicates whether a mid-period seat increase should be prorated.
1181
+ is_prorated:
1182
+ )
1183
+ end
1184
+
1185
+ sig { override.returns({ is_prorated: T::Boolean }) }
1186
+ def to_hash
1187
+ end
1188
+ end
1189
+ end
1019
1190
  end
1020
1191
  end
1021
1192
  end
@@ -63,15 +63,6 @@ module MetronomeSDK
63
63
  sig { params(tiers: T::Array[MetronomeSDK::Tier::OrHash]).void }
64
64
  attr_writer :tiers
65
65
 
66
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
67
- # using list prices rather than the standard rates for this product on the
68
- # contract.
69
- sig { returns(T.nilable(T::Boolean)) }
70
- attr_reader :use_list_prices
71
-
72
- sig { params(use_list_prices: T::Boolean).void }
73
- attr_writer :use_list_prices
74
-
75
66
  sig do
76
67
  params(
77
68
  rate_type: MetronomeSDK::Rate::RateType::OrSymbol,
@@ -81,8 +72,7 @@ module MetronomeSDK
81
72
  price: Float,
82
73
  pricing_group_values: T::Hash[Symbol, String],
83
74
  quantity: Float,
84
- tiers: T::Array[MetronomeSDK::Tier::OrHash],
85
- use_list_prices: T::Boolean
75
+ tiers: T::Array[MetronomeSDK::Tier::OrHash]
86
76
  ).returns(T.attached_class)
87
77
  end
88
78
  def self.new(
@@ -103,11 +93,7 @@ module MetronomeSDK
103
93
  # Default quantity. For SUBSCRIPTION rate_type, this must be >=0.
104
94
  quantity: nil,
105
95
  # Only set for TIERED rate_type.
106
- tiers: nil,
107
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
108
- # using list prices rather than the standard rates for this product on the
109
- # contract.
110
- use_list_prices: nil
96
+ tiers: nil
111
97
  )
112
98
  end
113
99
 
@@ -121,8 +107,7 @@ module MetronomeSDK
121
107
  price: Float,
122
108
  pricing_group_values: T::Hash[Symbol, String],
123
109
  quantity: Float,
124
- tiers: T::Array[MetronomeSDK::Tier],
125
- use_list_prices: T::Boolean
110
+ tiers: T::Array[MetronomeSDK::Tier]
126
111
  }
127
112
  )
128
113
  end
@@ -174,15 +174,6 @@ module MetronomeSDK
174
174
  sig { params(tiers: T::Array[MetronomeSDK::Tier::OrHash]).void }
175
175
  attr_writer :tiers
176
176
 
177
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
178
- # using list prices rather than the standard rates for this product on the
179
- # contract.
180
- sig { returns(T.nilable(T::Boolean)) }
181
- attr_reader :use_list_prices
182
-
183
- sig { params(use_list_prices: T::Boolean).void }
184
- attr_writer :use_list_prices
185
-
186
177
  sig do
187
178
  params(
188
179
  entitled: T::Boolean,
@@ -200,8 +191,7 @@ module MetronomeSDK
200
191
  price: Float,
201
192
  pricing_group_values: T::Hash[Symbol, String],
202
193
  quantity: Float,
203
- tiers: T::Array[MetronomeSDK::Tier::OrHash],
204
- use_list_prices: T::Boolean
194
+ tiers: T::Array[MetronomeSDK::Tier::OrHash]
205
195
  ).returns(T.attached_class)
206
196
  end
207
197
  def self.new(
@@ -239,11 +229,7 @@ module MetronomeSDK
239
229
  # Default quantity. For SUBSCRIPTION rate_type, this must be >=0.
240
230
  quantity: nil,
241
231
  # Only set for TIERED rate_type.
242
- tiers: nil,
243
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
244
- # using list prices rather than the standard rates for this product on the
245
- # contract.
246
- use_list_prices: nil
232
+ tiers: nil
247
233
  )
248
234
  end
249
235
 
@@ -265,8 +251,7 @@ module MetronomeSDK
265
251
  price: Float,
266
252
  pricing_group_values: T::Hash[Symbol, String],
267
253
  quantity: Float,
268
- tiers: T::Array[MetronomeSDK::Tier],
269
- use_list_prices: T::Boolean
254
+ tiers: T::Array[MetronomeSDK::Tier]
270
255
  }
271
256
  )
272
257
  end
@@ -129,15 +129,6 @@ module MetronomeSDK
129
129
  sig { params(tiers: T::Array[MetronomeSDK::Tier::OrHash]).void }
130
130
  attr_writer :tiers
131
131
 
132
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
133
- # using list prices rather than the standard rates for this product on the
134
- # contract.
135
- sig { returns(T.nilable(T::Boolean)) }
136
- attr_reader :use_list_prices
137
-
138
- sig { params(use_list_prices: T::Boolean).void }
139
- attr_writer :use_list_prices
140
-
141
132
  sig do
142
133
  params(
143
134
  entitled: T::Boolean,
@@ -157,7 +148,6 @@ module MetronomeSDK
157
148
  pricing_group_values: T::Hash[Symbol, String],
158
149
  quantity: Float,
159
150
  tiers: T::Array[MetronomeSDK::Tier::OrHash],
160
- use_list_prices: T::Boolean,
161
151
  request_options: MetronomeSDK::RequestOptions::OrHash
162
152
  ).returns(T.attached_class)
163
153
  end
@@ -199,10 +189,6 @@ module MetronomeSDK
199
189
  quantity: nil,
200
190
  # Only set for TIERED rate_type.
201
191
  tiers: nil,
202
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
203
- # using list prices rather than the standard rates for this product on the
204
- # contract.
205
- use_list_prices: nil,
206
192
  request_options: {}
207
193
  )
208
194
  end
@@ -227,7 +213,6 @@ module MetronomeSDK
227
213
  pricing_group_values: T::Hash[Symbol, String],
228
214
  quantity: Float,
229
215
  tiers: T::Array[MetronomeSDK::Tier],
230
- use_list_prices: T::Boolean,
231
216
  request_options: MetronomeSDK::RequestOptions
232
217
  }
233
218
  )
@@ -127,15 +127,6 @@ module MetronomeSDK
127
127
  sig { params(tiers: T::Array[MetronomeSDK::Tier::OrHash]).void }
128
128
  attr_writer :tiers
129
129
 
130
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
131
- # using list prices rather than the standard rates for this product on the
132
- # contract.
133
- sig { returns(T.nilable(T::Boolean)) }
134
- attr_reader :use_list_prices
135
-
136
- sig { params(use_list_prices: T::Boolean).void }
137
- attr_writer :use_list_prices
138
-
139
130
  sig do
140
131
  params(
141
132
  rate_type:
@@ -147,8 +138,7 @@ module MetronomeSDK
147
138
  price: Float,
148
139
  pricing_group_values: T::Hash[Symbol, String],
149
140
  quantity: Float,
150
- tiers: T::Array[MetronomeSDK::Tier::OrHash],
151
- use_list_prices: T::Boolean
141
+ tiers: T::Array[MetronomeSDK::Tier::OrHash]
152
142
  ).returns(T.attached_class)
153
143
  end
154
144
  def self.new(
@@ -172,11 +162,7 @@ module MetronomeSDK
172
162
  # Default quantity. For SUBSCRIPTION rate_type, this must be >=0.
173
163
  quantity: nil,
174
164
  # Only set for TIERED rate_type.
175
- tiers: nil,
176
- # Only set for PERCENTAGE rate_type. Defaults to false. If true, rate is computed
177
- # using list prices rather than the standard rates for this product on the
178
- # contract.
179
- use_list_prices: nil
165
+ tiers: nil
180
166
  )
181
167
  end
182
168
 
@@ -192,8 +178,7 @@ module MetronomeSDK
192
178
  price: Float,
193
179
  pricing_group_values: T::Hash[Symbol, String],
194
180
  quantity: Float,
195
- tiers: T::Array[MetronomeSDK::Tier],
196
- use_list_prices: T::Boolean
181
+ tiers: T::Array[MetronomeSDK::Tier]
197
182
  }
198
183
  )
199
184
  end
@@ -150,6 +150,26 @@ module MetronomeSDK
150
150
  :subscription,
151
151
  MetronomeSDK::V1::CustomFieldAddKeyParams::Entity::TaggedSymbol
152
152
  )
153
+ PACKAGE_COMMIT =
154
+ T.let(
155
+ :package_commit,
156
+ MetronomeSDK::V1::CustomFieldAddKeyParams::Entity::TaggedSymbol
157
+ )
158
+ PACKAGE_CREDIT =
159
+ T.let(
160
+ :package_credit,
161
+ MetronomeSDK::V1::CustomFieldAddKeyParams::Entity::TaggedSymbol
162
+ )
163
+ PACKAGE_SUBSCRIPTION =
164
+ T.let(
165
+ :package_subscription,
166
+ MetronomeSDK::V1::CustomFieldAddKeyParams::Entity::TaggedSymbol
167
+ )
168
+ PACKAGE_SCHEDULED_CHARGE =
169
+ T.let(
170
+ :package_scheduled_charge,
171
+ MetronomeSDK::V1::CustomFieldAddKeyParams::Entity::TaggedSymbol
172
+ )
153
173
 
154
174
  sig do
155
175
  override.returns(
@@ -156,6 +156,26 @@ module MetronomeSDK
156
156
  :subscription,
157
157
  MetronomeSDK::V1::CustomFieldDeleteValuesParams::Entity::TaggedSymbol
158
158
  )
159
+ PACKAGE_COMMIT =
160
+ T.let(
161
+ :package_commit,
162
+ MetronomeSDK::V1::CustomFieldDeleteValuesParams::Entity::TaggedSymbol
163
+ )
164
+ PACKAGE_CREDIT =
165
+ T.let(
166
+ :package_credit,
167
+ MetronomeSDK::V1::CustomFieldDeleteValuesParams::Entity::TaggedSymbol
168
+ )
169
+ PACKAGE_SUBSCRIPTION =
170
+ T.let(
171
+ :package_subscription,
172
+ MetronomeSDK::V1::CustomFieldDeleteValuesParams::Entity::TaggedSymbol
173
+ )
174
+ PACKAGE_SCHEDULED_CHARGE =
175
+ T.let(
176
+ :package_scheduled_charge,
177
+ MetronomeSDK::V1::CustomFieldDeleteValuesParams::Entity::TaggedSymbol
178
+ )
159
179
 
160
180
  sig do
161
181
  override.returns(
@@ -177,6 +177,26 @@ module MetronomeSDK
177
177
  :subscription,
178
178
  MetronomeSDK::V1::CustomFieldListKeysParams::Entity::TaggedSymbol
179
179
  )
180
+ PACKAGE_COMMIT =
181
+ T.let(
182
+ :package_commit,
183
+ MetronomeSDK::V1::CustomFieldListKeysParams::Entity::TaggedSymbol
184
+ )
185
+ PACKAGE_CREDIT =
186
+ T.let(
187
+ :package_credit,
188
+ MetronomeSDK::V1::CustomFieldListKeysParams::Entity::TaggedSymbol
189
+ )
190
+ PACKAGE_SUBSCRIPTION =
191
+ T.let(
192
+ :package_subscription,
193
+ MetronomeSDK::V1::CustomFieldListKeysParams::Entity::TaggedSymbol
194
+ )
195
+ PACKAGE_SCHEDULED_CHARGE =
196
+ T.let(
197
+ :package_scheduled_charge,
198
+ MetronomeSDK::V1::CustomFieldListKeysParams::Entity::TaggedSymbol
199
+ )
180
200
 
181
201
  sig do
182
202
  override.returns(
@@ -151,6 +151,26 @@ module MetronomeSDK
151
151
  :subscription,
152
152
  MetronomeSDK::Models::V1::CustomFieldListKeysResponse::Entity::TaggedSymbol
153
153
  )
154
+ PACKAGE_COMMIT =
155
+ T.let(
156
+ :package_commit,
157
+ MetronomeSDK::Models::V1::CustomFieldListKeysResponse::Entity::TaggedSymbol
158
+ )
159
+ PACKAGE_CREDIT =
160
+ T.let(
161
+ :package_credit,
162
+ MetronomeSDK::Models::V1::CustomFieldListKeysResponse::Entity::TaggedSymbol
163
+ )
164
+ PACKAGE_SUBSCRIPTION =
165
+ T.let(
166
+ :package_subscription,
167
+ MetronomeSDK::Models::V1::CustomFieldListKeysResponse::Entity::TaggedSymbol
168
+ )
169
+ PACKAGE_SCHEDULED_CHARGE =
170
+ T.let(
171
+ :package_scheduled_charge,
172
+ MetronomeSDK::Models::V1::CustomFieldListKeysResponse::Entity::TaggedSymbol
173
+ )
154
174
 
155
175
  sig do
156
176
  override.returns(
@@ -151,6 +151,26 @@ module MetronomeSDK
151
151
  :subscription,
152
152
  MetronomeSDK::V1::CustomFieldRemoveKeyParams::Entity::TaggedSymbol
153
153
  )
154
+ PACKAGE_COMMIT =
155
+ T.let(
156
+ :package_commit,
157
+ MetronomeSDK::V1::CustomFieldRemoveKeyParams::Entity::TaggedSymbol
158
+ )
159
+ PACKAGE_CREDIT =
160
+ T.let(
161
+ :package_credit,
162
+ MetronomeSDK::V1::CustomFieldRemoveKeyParams::Entity::TaggedSymbol
163
+ )
164
+ PACKAGE_SUBSCRIPTION =
165
+ T.let(
166
+ :package_subscription,
167
+ MetronomeSDK::V1::CustomFieldRemoveKeyParams::Entity::TaggedSymbol
168
+ )
169
+ PACKAGE_SCHEDULED_CHARGE =
170
+ T.let(
171
+ :package_scheduled_charge,
172
+ MetronomeSDK::V1::CustomFieldRemoveKeyParams::Entity::TaggedSymbol
173
+ )
154
174
 
155
175
  sig do
156
176
  override.returns(
@@ -163,6 +163,26 @@ module MetronomeSDK
163
163
  :subscription,
164
164
  MetronomeSDK::V1::CustomFieldSetValuesParams::Entity::TaggedSymbol
165
165
  )
166
+ PACKAGE_COMMIT =
167
+ T.let(
168
+ :package_commit,
169
+ MetronomeSDK::V1::CustomFieldSetValuesParams::Entity::TaggedSymbol
170
+ )
171
+ PACKAGE_CREDIT =
172
+ T.let(
173
+ :package_credit,
174
+ MetronomeSDK::V1::CustomFieldSetValuesParams::Entity::TaggedSymbol
175
+ )
176
+ PACKAGE_SUBSCRIPTION =
177
+ T.let(
178
+ :package_subscription,
179
+ MetronomeSDK::V1::CustomFieldSetValuesParams::Entity::TaggedSymbol
180
+ )
181
+ PACKAGE_SCHEDULED_CHARGE =
182
+ T.let(
183
+ :package_scheduled_charge,
184
+ MetronomeSDK::V1::CustomFieldSetValuesParams::Entity::TaggedSymbol
185
+ )
166
186
 
167
187
  sig do
168
188
  override.returns(