stripe 10.13.0.pre.beta.1 → 10.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +46 -300
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +0 -11
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/request.rb +1 -2
  7. data/lib/stripe/api_version.rb +0 -1
  8. data/lib/stripe/object_types.rb +1 -23
  9. data/lib/stripe/resources/customer.rb +0 -11
  10. data/lib/stripe/resources/financial_connections/account.rb +0 -3
  11. data/lib/stripe/resources/forwarding/request.rb +50 -0
  12. data/lib/stripe/resources/invoice.rb +0 -113
  13. data/lib/stripe/resources/payment_intent.rb +0 -50
  14. data/lib/stripe/resources/quote.rb +0 -104
  15. data/lib/stripe/resources/subscription_schedule.rb +0 -20
  16. data/lib/stripe/resources/terminal/reader.rb +0 -60
  17. data/lib/stripe/resources.rb +1 -22
  18. data/lib/stripe/stripe_client.rb +28 -62
  19. data/lib/stripe/stripe_configuration.rb +1 -2
  20. data/lib/stripe/util.rb +1 -8
  21. data/lib/stripe/version.rb +1 -1
  22. data/lib/stripe.rb +0 -54
  23. data/stripe.gemspec +3 -0
  24. metadata +5 -84
  25. data/bin/tapioca +0 -27
  26. data/lib/stripe/request_signing_authenticator.rb +0 -79
  27. data/lib/stripe/resources/account_notice.rb +0 -32
  28. data/lib/stripe/resources/billing/meter.rb +0 -83
  29. data/lib/stripe/resources/billing/meter_event.rb +0 -27
  30. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -26
  31. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -15
  32. data/lib/stripe/resources/capital/financing_offer.rb +0 -49
  33. data/lib/stripe/resources/capital/financing_summary.rb +0 -15
  34. data/lib/stripe/resources/capital/financing_transaction.rb +0 -27
  35. data/lib/stripe/resources/customer_entitlement.rb +0 -12
  36. data/lib/stripe/resources/customer_entitlement_summary.rb +0 -12
  37. data/lib/stripe/resources/entitlements/feature.rb +0 -38
  38. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -14
  39. data/lib/stripe/resources/gift_cards/card.rb +0 -59
  40. data/lib/stripe/resources/gift_cards/transaction.rb +0 -93
  41. data/lib/stripe/resources/invoice_payment.rb +0 -12
  42. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -88
  43. data/lib/stripe/resources/margin.rb +0 -37
  44. data/lib/stripe/resources/order.rb +0 -120
  45. data/lib/stripe/resources/quote_phase.rb +0 -39
  46. data/lib/stripe/resources/quote_preview_invoice.rb +0 -43
  47. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -11
  48. data/lib/stripe/resources/tax/form.rb +0 -49
  49. data/sorbet/config +0 -4
  50. data/sorbet/rbi/annotations/.gitattributes +0 -1
  51. data/sorbet/rbi/annotations/coveralls_reborn.rbi +0 -3
  52. data/sorbet/rbi/gems/.gitattributes +0 -1
  53. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1993
  54. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  55. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -3606
  56. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3437
  57. data/sorbet/rbi/gems/coveralls_reborn@0.25.0.rbi +0 -8
  58. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -144
  59. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -8
  60. data/sorbet/rbi/gems/erubi@1.12.0.rbi +0 -146
  61. data/sorbet/rbi/gems/hashdiff@1.1.0.rbi +0 -352
  62. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -19
  63. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1561
  64. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  65. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
  66. data/sorbet/rbi/gems/mocha@1.16.1.rbi +0 -11
  67. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -161
  68. data/sorbet/rbi/gems/parallel@1.24.0.rbi +0 -280
  69. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -9454
  70. data/sorbet/rbi/gems/power_assert@2.0.3.rbi +0 -414
  71. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  72. data/sorbet/rbi/gems/prism@0.19.0.rbi +0 -29883
  73. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +0 -1150
  74. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10085
  75. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -931
  76. data/sorbet/rbi/gems/racc@1.7.3.rbi +0 -161
  77. data/sorbet/rbi/gems/rack@3.0.8.rbi +0 -5193
  78. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -402
  79. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -2884
  80. data/sorbet/rbi/gems/rbi@0.1.6.rbi +0 -2922
  81. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3766
  82. data/sorbet/rbi/gems/rexml@3.2.6.rbi +0 -4887
  83. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7004
  84. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +0 -56919
  85. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1317
  86. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +0 -555
  87. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -8
  88. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -8
  89. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -8
  90. data/sorbet/rbi/gems/spoom@1.2.4.rbi +0 -3777
  91. data/sorbet/rbi/gems/sync@0.5.0.rbi +0 -8
  92. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
  93. data/sorbet/rbi/gems/tapioca@0.11.17.rbi +0 -3503
  94. data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +0 -8
  95. data/sorbet/rbi/gems/test-unit@3.6.1.rbi +0 -4403
  96. data/sorbet/rbi/gems/thor@1.3.0.rbi +0 -4345
  97. data/sorbet/rbi/gems/tins@1.32.1.rbi +0 -8
  98. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
  99. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1740
  100. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -428
  101. data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
  102. data/sorbet/tapioca/config.yml +0 -13
  103. data/sorbet/tapioca/require.rb +0 -4
@@ -1,414 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `power_assert` gem.
5
- # Please instead update this file by running `bin/tapioca gem power_assert`.
6
-
7
- # source://power_assert//lib/power_assert/configuration.rb#1
8
- module PowerAssert
9
- class << self
10
- # source://power_assert//lib/power_assert.rb#48
11
- def app_caller_locations; end
12
-
13
- # @return [Boolean]
14
- #
15
- # source://power_assert//lib/power_assert.rb#52
16
- def app_context?; end
17
-
18
- # source://power_assert//lib/power_assert/configuration.rb#3
19
- def configuration; end
20
-
21
- # @yield [configuration]
22
- #
23
- # source://power_assert//lib/power_assert/configuration.rb#7
24
- def configure; end
25
-
26
- # @yield [BlockContext.new(assertion_proc_or_source, assertion_method, source_binding)]
27
- #
28
- # source://power_assert//lib/power_assert.rb#30
29
- def start(assertion_proc_or_source, assertion_method: T.unsafe(nil), source_binding: T.unsafe(nil)); end
30
-
31
- # source://power_assert//lib/power_assert.rb#37
32
- def trace(frame); end
33
-
34
- private
35
-
36
- # source://power_assert//lib/power_assert.rb#82
37
- def clear_global_method_cache; end
38
-
39
- # @return [Boolean]
40
- #
41
- # source://power_assert//lib/power_assert.rb#59
42
- def internal_file?(file); end
43
-
44
- # source://power_assert//lib/power_assert.rb#74
45
- def lib_dir(obj, mid, depth); end
46
-
47
- # source://power_assert//lib/power_assert.rb#67
48
- def setup_internal_lib_dir(lib, mid, depth, lib_obj = T.unsafe(nil)); end
49
- end
50
- end
51
-
52
- # source://power_assert//lib/power_assert/context.rb#161
53
- class PowerAssert::BlockContext < ::PowerAssert::Context
54
- # @return [BlockContext] a new instance of BlockContext
55
- #
56
- # source://power_assert//lib/power_assert/context.rb#162
57
- def initialize(assertion_proc_or_source, assertion_method, source_binding); end
58
-
59
- # source://power_assert//lib/power_assert/context.rb#188
60
- def yield; end
61
-
62
- private
63
-
64
- # source://power_assert//lib/power_assert/context.rb#195
65
- def invoke_yield; end
66
- end
67
-
68
- # source://power_assert//lib/power_assert/configuration.rb#12
69
- class PowerAssert::Configuration < ::Struct
70
- # Sets the attribute colorize_message
71
- #
72
- # @param value [Object] the value to set the attribute colorize_message to.
73
- # @return [Object] the newly set value
74
- #
75
- # source://power_assert//lib/power_assert/configuration.rb#13
76
- def colorize_message=(bool); end
77
-
78
- # Sets the attribute inspector
79
- #
80
- # @param value [Object] the value to set the attribute inspector to.
81
- # @return [Object] the newly set value
82
- #
83
- # source://power_assert//lib/power_assert/configuration.rb#30
84
- def inspector=(inspector); end
85
-
86
- # Sets the attribute lazy_inspection
87
- #
88
- # @param value [Object] the value to set the attribute lazy_inspection to.
89
- # @return [Object] the newly set value
90
- #
91
- # source://power_assert//lib/power_assert/configuration.rb#23
92
- def lazy_inspection=(bool); end
93
- end
94
-
95
- # source://power_assert//lib/power_assert/context.rb#7
96
- class PowerAssert::Context
97
- # @return [Context] a new instance of Context
98
- #
99
- # source://power_assert//lib/power_assert/context.rb#10
100
- def initialize(base_caller_length); end
101
-
102
- # source://power_assert//lib/power_assert/context.rb#43
103
- def message; end
104
-
105
- # source://power_assert//lib/power_assert/context.rb#48
106
- def message_proc; end
107
-
108
- private
109
-
110
- # source://power_assert//lib/power_assert/context.rb#58
111
- def build_assertion_message(parser, return_values); end
112
-
113
- # source://power_assert//lib/power_assert/context.rb#149
114
- def column2display_offset(str); end
115
-
116
- # source://power_assert//lib/power_assert/context.rb#104
117
- def detect_path(parser, return_values); end
118
-
119
- # source://power_assert//lib/power_assert/context.rb#138
120
- def encoding_safe_rstrip(str); end
121
-
122
- # source://power_assert//lib/power_assert/context.rb#134
123
- def enum_count_by(enum, &blk); end
124
-
125
- # source://power_assert//lib/power_assert/context.rb#124
126
- def find_all_identified_calls(return_values, path); end
127
-
128
- # @return [Boolean]
129
- #
130
- # source://power_assert//lib/power_assert/context.rb#54
131
- def fired?; end
132
-
133
- # source://power_assert//lib/power_assert/context.rb#119
134
- def uniq_calls(paths); end
135
- end
136
-
137
- # source://power_assert//lib/power_assert/context.rb#8
138
- class PowerAssert::Context::Value < ::Struct
139
- # Returns the value of attribute column
140
- #
141
- # @return [Object] the current value of column
142
- def column; end
143
-
144
- # Sets the attribute column
145
- #
146
- # @param value [Object] the value to set the attribute column to.
147
- # @return [Object] the newly set value
148
- #
149
- # source://power_assert//lib/power_assert/context.rb#8
150
- def column=(_); end
151
-
152
- # Returns the value of attribute display_offset
153
- #
154
- # @return [Object] the current value of display_offset
155
- def display_offset; end
156
-
157
- # Sets the attribute display_offset
158
- #
159
- # @param value [Object] the value to set the attribute display_offset to.
160
- # @return [Object] the newly set value
161
- #
162
- # source://power_assert//lib/power_assert/context.rb#8
163
- def display_offset=(_); end
164
-
165
- # Returns the value of attribute lineno
166
- #
167
- # @return [Object] the current value of lineno
168
- def lineno; end
169
-
170
- # Sets the attribute lineno
171
- #
172
- # @param value [Object] the value to set the attribute lineno to.
173
- # @return [Object] the newly set value
174
- #
175
- # source://power_assert//lib/power_assert/context.rb#8
176
- def lineno=(_); end
177
-
178
- # Returns the value of attribute name
179
- #
180
- # @return [Object] the current value of name
181
- def name; end
182
-
183
- # Sets the attribute name
184
- #
185
- # @param value [Object] the value to set the attribute name to.
186
- # @return [Object] the newly set value
187
- #
188
- # source://power_assert//lib/power_assert/context.rb#8
189
- def name=(_); end
190
-
191
- # Returns the value of attribute value
192
- #
193
- # @return [Object] the current value of value
194
- def value; end
195
-
196
- # Sets the attribute value
197
- #
198
- # @param value [Object] the value to set the attribute value to.
199
- # @return [Object] the newly set value
200
- #
201
- # source://power_assert//lib/power_assert/context.rb#8
202
- def value=(_); end
203
-
204
- class << self
205
- def [](*_arg0); end
206
- def inspect; end
207
- def members; end
208
- def new(*_arg0); end
209
- end
210
- end
211
-
212
- # source://power_assert//lib/power_assert.rb#88
213
- module PowerAssert::Empty; end
214
-
215
- # source://power_assert//lib/power_assert.rb#26
216
- PowerAssert::INTERNAL_LIB_DIRS = T.let(T.unsafe(nil), Hash)
217
-
218
- # source://power_assert//lib/power_assert/inspector.rb#8
219
- class PowerAssert::InspectedValue
220
- # @return [InspectedValue] a new instance of InspectedValue
221
- #
222
- # source://power_assert//lib/power_assert/inspector.rb#9
223
- def initialize(value); end
224
-
225
- # source://power_assert//lib/power_assert/inspector.rb#13
226
- def inspect; end
227
- end
228
-
229
- # source://power_assert//lib/power_assert/inspector.rb#41
230
- class PowerAssert::Inspector
231
- # @return [Inspector] a new instance of Inspector
232
- #
233
- # source://power_assert//lib/power_assert/inspector.rb#42
234
- def initialize(value, indent); end
235
-
236
- # source://power_assert//lib/power_assert/inspector.rb#47
237
- def inspect; end
238
- end
239
-
240
- # source://power_assert//lib/power_assert.rb#25
241
- PowerAssert::POWER_ASSERT_LIB_DIR = T.let(T.unsafe(nil), String)
242
-
243
- # source://power_assert//lib/power_assert/parser.rb#4
244
- class PowerAssert::Parser
245
- # @return [Parser] a new instance of Parser
246
- #
247
- # source://power_assert//lib/power_assert/parser.rb#9
248
- def initialize(line, path, lineno, binding, assertion_method_name = T.unsafe(nil), assertion_proc = T.unsafe(nil)); end
249
-
250
- # Returns the value of attribute binding.
251
- #
252
- # source://power_assert//lib/power_assert/parser.rb#7
253
- def binding; end
254
-
255
- # source://power_assert//lib/power_assert/parser.rb#24
256
- def call_paths; end
257
-
258
- # source://power_assert//lib/power_assert/parser.rb#20
259
- def idents; end
260
-
261
- # Returns the value of attribute line.
262
- #
263
- # source://power_assert//lib/power_assert/parser.rb#7
264
- def line; end
265
-
266
- # Returns the value of attribute lineno.
267
- #
268
- # source://power_assert//lib/power_assert/parser.rb#7
269
- def lineno; end
270
-
271
- # source://power_assert//lib/power_assert/parser.rb#28
272
- def method_id_set; end
273
-
274
- # Returns the value of attribute path.
275
- #
276
- # source://power_assert//lib/power_assert/parser.rb#7
277
- def path; end
278
-
279
- private
280
-
281
- # source://power_assert//lib/power_assert/parser.rb#221
282
- def collect_paths(idents, prefixes = T.unsafe(nil), index = T.unsafe(nil)); end
283
-
284
- # Returns idents as graph structure.
285
- #
286
- # +--c--b--+
287
- # extract_idents(Ripper.sexp('a&.b(c).d')) #=> a--+ +--d
288
- # +--------+
289
- #
290
- # source://power_assert//lib/power_assert/parser.rb#70
291
- def extract_idents(sexp); end
292
-
293
- # source://power_assert//lib/power_assert/parser.rb#200
294
- def handle_columnless_ident(left_idents, mid, right_idents, with_safe_op = T.unsafe(nil)); end
295
-
296
- # source://power_assert//lib/power_assert/parser.rb#48
297
- def slice_expression(str); end
298
-
299
- # source://power_assert//lib/power_assert/parser.rb#184
300
- def str_indices(str, re, offset, limit); end
301
-
302
- # @return [Boolean]
303
- #
304
- # source://power_assert//lib/power_assert/parser.rb#35
305
- def valid_syntax?(str); end
306
- end
307
-
308
- # source://power_assert//lib/power_assert/parser.rb#61
309
- PowerAssert::Parser::AND_OR_OPS = T.let(T.unsafe(nil), Array)
310
-
311
- # source://power_assert//lib/power_assert/parser.rb#58
312
- class PowerAssert::Parser::Branch < ::Array; end
313
-
314
- # source://power_assert//lib/power_assert/parser.rb#248
315
- PowerAssert::Parser::DUMMY = T.let(T.unsafe(nil), PowerAssert::Parser::DummyParser)
316
-
317
- # source://power_assert//lib/power_assert/parser.rb#235
318
- class PowerAssert::Parser::DummyParser < ::PowerAssert::Parser
319
- # @return [DummyParser] a new instance of DummyParser
320
- #
321
- # source://power_assert//lib/power_assert/parser.rb#236
322
- def initialize; end
323
-
324
- # source://power_assert//lib/power_assert/parser.rb#244
325
- def call_paths; end
326
-
327
- # source://power_assert//lib/power_assert/parser.rb#240
328
- def idents; end
329
- end
330
-
331
- # source://power_assert//lib/power_assert/parser.rb#5
332
- class PowerAssert::Parser::Ident < ::Struct
333
- # Returns the value of attribute column
334
- #
335
- # @return [Object] the current value of column
336
- def column; end
337
-
338
- # Sets the attribute column
339
- #
340
- # @param value [Object] the value to set the attribute column to.
341
- # @return [Object] the newly set value
342
- #
343
- # source://power_assert//lib/power_assert/parser.rb#5
344
- def column=(_); end
345
-
346
- # Returns the value of attribute name
347
- #
348
- # @return [Object] the current value of name
349
- def name; end
350
-
351
- # Sets the attribute name
352
- #
353
- # @param value [Object] the value to set the attribute name to.
354
- # @return [Object] the newly set value
355
- #
356
- # source://power_assert//lib/power_assert/parser.rb#5
357
- def name=(_); end
358
-
359
- # Returns the value of attribute type
360
- #
361
- # @return [Object] the current value of type
362
- def type; end
363
-
364
- # Sets the attribute type
365
- #
366
- # @param value [Object] the value to set the attribute type to.
367
- # @return [Object] the newly set value
368
- #
369
- # source://power_assert//lib/power_assert/parser.rb#5
370
- def type=(_); end
371
-
372
- class << self
373
- def [](*_arg0); end
374
- def inspect; end
375
- def members; end
376
- def new(*_arg0); end
377
- end
378
- end
379
-
380
- # source://power_assert//lib/power_assert/parser.rb#193
381
- PowerAssert::Parser::MID2SRCTXT = T.let(T.unsafe(nil), Hash)
382
-
383
- # source://power_assert//lib/power_assert/inspector.rb#19
384
- class PowerAssert::SafeInspectable
385
- # @return [SafeInspectable] a new instance of SafeInspectable
386
- #
387
- # source://power_assert//lib/power_assert/inspector.rb#20
388
- def initialize(value); end
389
-
390
- # source://power_assert//lib/power_assert/inspector.rb#24
391
- def inspect; end
392
- end
393
-
394
- # source://power_assert//lib/power_assert/context.rb#205
395
- class PowerAssert::TraceContext < ::PowerAssert::Context
396
- # @return [TraceContext] a new instance of TraceContext
397
- #
398
- # source://power_assert//lib/power_assert/context.rb#206
399
- def initialize(binding); end
400
-
401
- # source://power_assert//lib/power_assert/context.rb#224
402
- def disable; end
403
-
404
- # source://power_assert//lib/power_assert/context.rb#219
405
- def enable; end
406
-
407
- # @return [Boolean]
408
- #
409
- # source://power_assert//lib/power_assert/context.rb#228
410
- def enabled?; end
411
- end
412
-
413
- # source://power_assert//lib/power_assert/version.rb#2
414
- PowerAssert::VERSION = T.let(T.unsafe(nil), String)