checkout_sdk 1.0.0.beta.2 → 1.0.0.beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -2
  3. data/README.md +34 -0
  4. data/lib/checkout_sdk/abstract_checkout_sdk_builder.rb +6 -1
  5. data/lib/checkout_sdk/api_client.rb +24 -4
  6. data/lib/checkout_sdk/balances/balances.rb +3 -0
  7. data/lib/checkout_sdk/balances/balances_client.rb +22 -0
  8. data/lib/checkout_sdk/checkout_api.rb +25 -1
  9. data/lib/checkout_sdk/checkout_configuration.rb +3 -2
  10. data/lib/checkout_sdk/checkout_oauth_sdk_builder.rb +9 -2
  11. data/lib/checkout_sdk/checkout_static_keys_sdk_builder.rb +2 -1
  12. data/lib/checkout_sdk/checkout_utils.rb +1 -0
  13. data/lib/checkout_sdk/common/common.rb +1 -0
  14. data/lib/checkout_sdk/common/country.rb +1 -0
  15. data/lib/checkout_sdk/common/date_range_query_filter.rb +14 -0
  16. data/lib/checkout_sdk/disputes/disputes_query_filter.rb +1 -7
  17. data/lib/checkout_sdk/events/events.rb +4 -0
  18. data/lib/checkout_sdk/events/events_client.rb +56 -0
  19. data/lib/checkout_sdk/events/events_query_filter.rb +28 -0
  20. data/lib/checkout_sdk/oauth_sdk_credentials.rb +5 -2
  21. data/lib/checkout_sdk/previous/checkout_api.rb +18 -2
  22. data/lib/checkout_sdk/previous/checkout_previous_static_keys_sdk_builder.rb +2 -1
  23. data/lib/checkout_sdk/reconciliation/reconciliation.rb +4 -0
  24. data/lib/checkout_sdk/reconciliation/reconciliation_client.rb +51 -0
  25. data/lib/checkout_sdk/reconciliation/reconciliation_query_payments_filter.rb +16 -0
  26. data/lib/checkout_sdk/reports/reports_client.rb +6 -0
  27. data/lib/checkout_sdk/risk/authentication_result.rb +26 -0
  28. data/lib/checkout_sdk/risk/authorization_result.rb +14 -0
  29. data/lib/checkout_sdk/risk/device.rb +32 -0
  30. data/lib/checkout_sdk/risk/location.rb +14 -0
  31. data/lib/checkout_sdk/risk/pre_authentication_assessment.rb +41 -0
  32. data/lib/checkout_sdk/risk/pre_capture_assessment.rb +44 -0
  33. data/lib/checkout_sdk/risk/risk.rb +17 -0
  34. data/lib/checkout_sdk/risk/risk_client.rb +27 -0
  35. data/lib/checkout_sdk/risk/risk_payment.rb +14 -0
  36. data/lib/checkout_sdk/risk/risk_shipping_details.rb +11 -0
  37. data/lib/checkout_sdk/risk/source/card_source.rb +30 -0
  38. data/lib/checkout_sdk/risk/source/customer_source.rb +15 -0
  39. data/lib/checkout_sdk/risk/source/id_source.rb +18 -0
  40. data/lib/checkout_sdk/risk/source/risk_payment_source.rb +19 -0
  41. data/lib/checkout_sdk/risk/source/token_source.rb +24 -0
  42. data/lib/checkout_sdk/simple_logger.rb +12 -0
  43. data/lib/checkout_sdk/transfers/create_transfer.rb +20 -0
  44. data/lib/checkout_sdk/transfers/transfer_destination.rb +11 -0
  45. data/lib/checkout_sdk/transfers/transfer_source.rb +14 -0
  46. data/lib/checkout_sdk/transfers/transfer_type.rb +11 -0
  47. data/lib/checkout_sdk/transfers/transfers.rb +8 -0
  48. data/lib/checkout_sdk/transfers/transfers_client.rb +27 -0
  49. data/lib/checkout_sdk/version.rb +1 -1
  50. data/lib/checkout_sdk/webhooks/webhook_request.rb +25 -0
  51. data/lib/checkout_sdk/webhooks/webhooks.rb +4 -0
  52. data/lib/checkout_sdk/webhooks/webhooks_client.rb +50 -0
  53. data/lib/checkout_sdk.rb +9 -0
  54. metadata +56 -14
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkout_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.2
4
+ version: 1.0.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2022-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '13.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '13.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -56,22 +56,16 @@ dependencies:
56
56
  name: faraday
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2.5'
62
59
  - - ">="
63
60
  - !ruby/object:Gem::Version
64
- version: 2.5.2
61
+ version: 2.0.0
65
62
  type: :runtime
66
63
  prerelease: false
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
- - - "~>"
70
- - !ruby/object:Gem::Version
71
- version: '2.5'
72
66
  - - ">="
73
67
  - !ruby/object:Gem::Version
74
- version: 2.5.2
68
+ version: 2.0.0
75
69
  - !ruby/object:Gem::Dependency
76
70
  name: faraday-multipart
77
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +80,20 @@ dependencies:
86
80
  - - "~>"
87
81
  - !ruby/object:Gem::Version
88
82
  version: 1.0.4
83
+ - !ruby/object:Gem::Dependency
84
+ name: faraday-follow_redirects
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.3.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.3.0
89
97
  - !ruby/object:Gem::Dependency
90
98
  name: mime-types
91
99
  requirement: !ruby/object:Gem::Requirement
@@ -157,6 +165,8 @@ files:
157
165
  - lib/checkout_sdk/apm/previous/klarna/order_capture_request.rb
158
166
  - lib/checkout_sdk/apm/previous/sepa/sepa_client.rb
159
167
  - lib/checkout_sdk/authorization_type.rb
168
+ - lib/checkout_sdk/balances/balances.rb
169
+ - lib/checkout_sdk/balances/balances_client.rb
160
170
  - lib/checkout_sdk/checkout_api.rb
161
171
  - lib/checkout_sdk/checkout_configuration.rb
162
172
  - lib/checkout_sdk/checkout_oauth_sdk_builder.rb
@@ -178,6 +188,7 @@ files:
178
188
  - lib/checkout_sdk/common/country.rb
179
189
  - lib/checkout_sdk/common/currency.rb
180
190
  - lib/checkout_sdk/common/customer_request.rb
191
+ - lib/checkout_sdk/common/date_range_query_filter.rb
181
192
  - lib/checkout_sdk/common/file_purpose.rb
182
193
  - lib/checkout_sdk/common/file_request.rb
183
194
  - lib/checkout_sdk/common/instrument_type.rb
@@ -197,6 +208,9 @@ files:
197
208
  - lib/checkout_sdk/disputes/disputes_query_filter.rb
198
209
  - lib/checkout_sdk/environment.rb
199
210
  - lib/checkout_sdk/error.rb
211
+ - lib/checkout_sdk/events/events.rb
212
+ - lib/checkout_sdk/events/events_client.rb
213
+ - lib/checkout_sdk/events/events_query_filter.rb
200
214
  - lib/checkout_sdk/forex/forex.rb
201
215
  - lib/checkout_sdk/forex/forex_client.rb
202
216
  - lib/checkout_sdk/forex/quote_request.rb
@@ -357,9 +371,27 @@ files:
357
371
  - lib/checkout_sdk/previous/checkout_previous_sdk_builder.rb
358
372
  - lib/checkout_sdk/previous/checkout_previous_static_keys_sdk_builder.rb
359
373
  - lib/checkout_sdk/previous/previous_static_keys_sdk_credentials.rb
374
+ - lib/checkout_sdk/reconciliation/reconciliation.rb
375
+ - lib/checkout_sdk/reconciliation/reconciliation_client.rb
376
+ - lib/checkout_sdk/reconciliation/reconciliation_query_payments_filter.rb
360
377
  - lib/checkout_sdk/reports/reports.rb
361
378
  - lib/checkout_sdk/reports/reports_client.rb
362
379
  - lib/checkout_sdk/reports/reports_query.rb
380
+ - lib/checkout_sdk/risk/authentication_result.rb
381
+ - lib/checkout_sdk/risk/authorization_result.rb
382
+ - lib/checkout_sdk/risk/device.rb
383
+ - lib/checkout_sdk/risk/location.rb
384
+ - lib/checkout_sdk/risk/pre_authentication_assessment.rb
385
+ - lib/checkout_sdk/risk/pre_capture_assessment.rb
386
+ - lib/checkout_sdk/risk/risk.rb
387
+ - lib/checkout_sdk/risk/risk_client.rb
388
+ - lib/checkout_sdk/risk/risk_payment.rb
389
+ - lib/checkout_sdk/risk/risk_shipping_details.rb
390
+ - lib/checkout_sdk/risk/source/card_source.rb
391
+ - lib/checkout_sdk/risk/source/customer_source.rb
392
+ - lib/checkout_sdk/risk/source/id_source.rb
393
+ - lib/checkout_sdk/risk/source/risk_payment_source.rb
394
+ - lib/checkout_sdk/risk/source/token_source.rb
363
395
  - lib/checkout_sdk/sdk_authorization.rb
364
396
  - lib/checkout_sdk/sdk_credentials.rb
365
397
  - lib/checkout_sdk/sessions/authentication_method.rb
@@ -399,6 +431,7 @@ files:
399
431
  - lib/checkout_sdk/sessions/source/token_source.rb
400
432
  - lib/checkout_sdk/sessions/three_ds_method_completion_request.rb
401
433
  - lib/checkout_sdk/sessions/transaction_type.rb
434
+ - lib/checkout_sdk/simple_logger.rb
402
435
  - lib/checkout_sdk/sources/mandate_type.rb
403
436
  - lib/checkout_sdk/sources/sepa_source_request.rb
404
437
  - lib/checkout_sdk/sources/source_data.rb
@@ -417,7 +450,16 @@ files:
417
450
  - lib/checkout_sdk/tokens/tokens.rb
418
451
  - lib/checkout_sdk/tokens/tokens_client.rb
419
452
  - lib/checkout_sdk/tokens/wallet_token_request.rb
453
+ - lib/checkout_sdk/transfers/create_transfer.rb
454
+ - lib/checkout_sdk/transfers/transfer_destination.rb
455
+ - lib/checkout_sdk/transfers/transfer_source.rb
456
+ - lib/checkout_sdk/transfers/transfer_type.rb
457
+ - lib/checkout_sdk/transfers/transfers.rb
458
+ - lib/checkout_sdk/transfers/transfers_client.rb
420
459
  - lib/checkout_sdk/version.rb
460
+ - lib/checkout_sdk/webhooks/webhook_request.rb
461
+ - lib/checkout_sdk/webhooks/webhooks.rb
462
+ - lib/checkout_sdk/webhooks/webhooks_client.rb
421
463
  - lib/checkout_sdk/workflows/create_workflow.rb
422
464
  - lib/checkout_sdk/workflows/entity_workflow_condition.rb
423
465
  - lib/checkout_sdk/workflows/event_workflow_condition.rb