straddle 0.1.0.pre.alpha.1 → 0.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +52 -0
- data/README.md +3 -3
- data/SECURITY.md +1 -1
- data/lib/straddle/client.rb +4 -4
- data/lib/straddle/errors.rb +25 -11
- data/lib/straddle/file_part.rb +10 -7
- data/lib/straddle/internal/page_number_schema.rb +1 -1
- data/lib/straddle/internal/transport/base_client.rb +12 -8
- data/lib/straddle/internal/transport/pooled_net_requester.rb +8 -19
- data/lib/straddle/internal/type/array_of.rb +1 -0
- data/lib/straddle/internal/type/base_model.rb +4 -9
- data/lib/straddle/internal/type/base_page.rb +1 -1
- data/lib/straddle/internal/type/converter.rb +27 -0
- data/lib/straddle/internal/type/file_input.rb +7 -4
- data/lib/straddle/internal/type/hash_of.rb +1 -0
- data/lib/straddle/internal/type/union.rb +9 -7
- data/lib/straddle/internal/util.rb +4 -3
- data/lib/straddle/models/bridge/link_bank_account_params.rb +9 -5
- data/lib/straddle/models/bridge/link_create_paykey_params.rb +9 -5
- data/lib/straddle/models/bridge/link_create_tan_params.rb +9 -5
- data/lib/straddle/models/bridge/link_plaid_params.rb +8 -1
- data/lib/straddle/models/bridge_initialize_params.rb +8 -1
- data/lib/straddle/models/charge_cancel_params.rb +8 -1
- data/lib/straddle/models/charge_create_params.rb +8 -1
- data/lib/straddle/models/charge_hold_params.rb +8 -1
- data/lib/straddle/models/charge_release_params.rb +8 -1
- data/lib/straddle/models/charge_update_params.rb +8 -1
- data/lib/straddle/models/customer_create_params.rb +8 -2
- data/lib/straddle/models/customer_delete_params.rb +7 -1
- data/lib/straddle/models/customer_list_params.rb +0 -1
- data/lib/straddle/models/customer_refresh_review_params.rb +7 -1
- data/lib/straddle/models/customer_summary_paged_v1.rb +0 -1
- data/lib/straddle/models/customer_unmasked_v1.rb +1 -5
- data/lib/straddle/models/customer_update_params.rb +8 -1
- data/lib/straddle/models/customer_v1.rb +0 -1
- data/lib/straddle/models/customers/customer_review_v1.rb +15 -52
- data/lib/straddle/models/customers/identity_verification_breakdown_v1.rb +0 -1
- data/lib/straddle/models/customers/review_decision_params.rb +8 -1
- data/lib/straddle/models/embed/account_create_params.rb +8 -2
- data/lib/straddle/models/embed/account_onboard_params.rb +7 -1
- data/lib/straddle/models/embed/account_paged_v1.rb +3 -17
- data/lib/straddle/models/embed/account_simulate_params.rb +7 -1
- data/lib/straddle/models/embed/account_update_params.rb +8 -1
- data/lib/straddle/models/embed/account_v1.rb +2 -13
- data/lib/straddle/models/embed/accounts/capability_request_create_params.rb +8 -1
- data/lib/straddle/models/embed/accounts/capability_request_paged_v1.rb +3 -11
- data/lib/straddle/models/embed/linked_bank_account_cancel_params.rb +34 -0
- data/lib/straddle/models/embed/linked_bank_account_create_params.rb +51 -4
- data/lib/straddle/models/embed/linked_bank_account_paged_v1.rb +33 -13
- data/lib/straddle/models/embed/linked_bank_account_unmask_v1.rb +3 -8
- data/lib/straddle/models/embed/linked_bank_account_update_params.rb +8 -1
- data/lib/straddle/models/embed/linked_bank_account_v1.rb +30 -1
- data/lib/straddle/models/embed/organization_create_params.rb +8 -1
- data/lib/straddle/models/embed/representative.rb +10 -1
- data/lib/straddle/models/embed/representative_create_params.rb +17 -1
- data/lib/straddle/models/embed/representative_paged.rb +10 -1
- data/lib/straddle/models/embed/representative_update_params.rb +17 -1
- data/lib/straddle/models/paykey_cancel_params.rb +7 -1
- data/lib/straddle/models/paykey_review_params.rb +54 -0
- data/lib/straddle/models/payout_cancel_params.rb +8 -1
- data/lib/straddle/models/payout_create_params.rb +8 -1
- data/lib/straddle/models/payout_hold_params.rb +8 -1
- data/lib/straddle/models/payout_release_params.rb +8 -1
- data/lib/straddle/models/payout_update_params.rb +8 -1
- data/lib/straddle/models.rb +2 -0
- data/lib/straddle/resources/bridge/link.rb +16 -4
- data/lib/straddle/resources/bridge.rb +4 -1
- data/lib/straddle/resources/charges.rb +20 -5
- data/lib/straddle/resources/customers/review.rb +4 -1
- data/lib/straddle/resources/customers.rb +16 -4
- data/lib/straddle/resources/embed/accounts/capability_requests.rb +5 -2
- data/lib/straddle/resources/embed/accounts.rb +19 -7
- data/lib/straddle/resources/embed/linked_bank_accounts.rb +51 -5
- data/lib/straddle/resources/embed/organizations.rb +5 -2
- data/lib/straddle/resources/embed/representatives.rb +14 -4
- data/lib/straddle/resources/paykeys.rb +47 -1
- data/lib/straddle/resources/payouts.rb +20 -5
- data/lib/straddle/version.rb +1 -1
- data/lib/straddle.rb +2 -0
- data/rbi/straddle/client.rbi +4 -4
- data/rbi/straddle/errors.rbi +31 -4
- data/rbi/straddle/file_part.rbi +1 -1
- data/rbi/straddle/internal/transport/base_client.rbi +5 -6
- data/rbi/straddle/internal/type/base_page.rbi +1 -1
- data/rbi/straddle/internal/type/converter.rbi +54 -0
- data/rbi/straddle/internal/type/union.rbi +9 -2
- data/rbi/straddle/internal/util.rbi +1 -1
- data/rbi/straddle/models/bridge/link_bank_account_params.rbi +9 -0
- data/rbi/straddle/models/bridge/link_create_paykey_params.rbi +9 -0
- data/rbi/straddle/models/bridge/link_create_tan_params.rbi +9 -0
- data/rbi/straddle/models/bridge/link_plaid_params.rbi +9 -0
- data/rbi/straddle/models/bridge_initialize_params.rbi +9 -0
- data/rbi/straddle/models/charge_cancel_params.rbi +9 -0
- data/rbi/straddle/models/charge_create_params.rbi +9 -0
- data/rbi/straddle/models/charge_hold_params.rbi +9 -0
- data/rbi/straddle/models/charge_release_params.rbi +9 -0
- data/rbi/straddle/models/charge_update_params.rbi +9 -0
- data/rbi/straddle/models/customer_create_params.rbi +9 -2
- data/rbi/straddle/models/customer_delete_params.rbi +9 -0
- data/rbi/straddle/models/customer_list_params.rbi +0 -2
- data/rbi/straddle/models/customer_refresh_review_params.rbi +9 -0
- data/rbi/straddle/models/customer_summary_paged_v1.rbi +0 -5
- data/rbi/straddle/models/customer_unmasked_v1.rbi +0 -5
- data/rbi/straddle/models/customer_update_params.rbi +9 -0
- data/rbi/straddle/models/customer_v1.rbi +0 -2
- data/rbi/straddle/models/customers/customer_review_v1.rbi +0 -10
- data/rbi/straddle/models/customers/identity_verification_breakdown_v1.rbi +0 -5
- data/rbi/straddle/models/customers/review_decision_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_create_params.rbi +9 -5
- data/rbi/straddle/models/embed/account_onboard_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_paged_v1.rbi +0 -25
- data/rbi/straddle/models/embed/account_simulate_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_update_params.rbi +9 -0
- data/rbi/straddle/models/embed/account_v1.rbi +0 -25
- data/rbi/straddle/models/embed/accounts/capability_request_create_params.rbi +9 -0
- data/rbi/straddle/models/embed/linked_bank_account_cancel_params.rbi +67 -0
- data/rbi/straddle/models/embed/linked_bank_account_create_params.rbi +95 -3
- data/rbi/straddle/models/embed/linked_bank_account_paged_v1.rbi +72 -0
- data/rbi/straddle/models/embed/linked_bank_account_unmask_v1.rbi +5 -0
- data/rbi/straddle/models/embed/linked_bank_account_update_params.rbi +9 -0
- data/rbi/straddle/models/embed/linked_bank_account_v1.rbi +72 -0
- data/rbi/straddle/models/embed/organization_create_params.rbi +9 -0
- data/rbi/straddle/models/embed/representative.rbi +10 -0
- data/rbi/straddle/models/embed/representative_create_params.rbi +19 -0
- data/rbi/straddle/models/embed/representative_paged.rbi +10 -0
- data/rbi/straddle/models/embed/representative_update_params.rbi +19 -0
- data/rbi/straddle/models/paykey_cancel_params.rbi +9 -0
- data/rbi/straddle/models/paykey_review_params.rbi +98 -0
- data/rbi/straddle/models/payout_cancel_params.rbi +9 -0
- data/rbi/straddle/models/payout_create_params.rbi +9 -0
- data/rbi/straddle/models/payout_hold_params.rbi +9 -0
- data/rbi/straddle/models/payout_release_params.rbi +9 -0
- data/rbi/straddle/models/payout_update_params.rbi +9 -0
- data/rbi/straddle/models.rbi +2 -0
- data/rbi/straddle/resources/bridge/link.rbi +12 -0
- data/rbi/straddle/resources/bridge.rbi +3 -0
- data/rbi/straddle/resources/charges.rbi +15 -0
- data/rbi/straddle/resources/customers/review.rbi +3 -0
- data/rbi/straddle/resources/customers.rbi +12 -0
- data/rbi/straddle/resources/embed/accounts/capability_requests.rbi +3 -0
- data/rbi/straddle/resources/embed/accounts.rbi +12 -0
- data/rbi/straddle/resources/embed/linked_bank_accounts.rbi +46 -1
- data/rbi/straddle/resources/embed/organizations.rbi +3 -0
- data/rbi/straddle/resources/embed/representatives.rbi +14 -0
- data/rbi/straddle/resources/paykeys.rbi +34 -0
- data/rbi/straddle/resources/payouts.rbi +15 -0
- data/sig/straddle/client.rbs +3 -3
- data/sig/straddle/errors.rbs +7 -0
- data/sig/straddle/file_part.rbs +1 -1
- data/sig/straddle/internal/transport/base_client.rbs +1 -1
- data/sig/straddle/internal/type/converter.rbs +17 -0
- data/sig/straddle/internal/type/union.rbs +2 -2
- data/sig/straddle/models/bridge/link_bank_account_params.rbs +7 -0
- data/sig/straddle/models/bridge/link_create_paykey_params.rbs +7 -0
- data/sig/straddle/models/bridge/link_create_tan_params.rbs +7 -0
- data/sig/straddle/models/bridge/link_plaid_params.rbs +7 -0
- data/sig/straddle/models/bridge_initialize_params.rbs +7 -0
- data/sig/straddle/models/charge_cancel_params.rbs +7 -0
- data/sig/straddle/models/charge_create_params.rbs +7 -0
- data/sig/straddle/models/charge_hold_params.rbs +7 -0
- data/sig/straddle/models/charge_release_params.rbs +7 -0
- data/sig/straddle/models/charge_update_params.rbs +7 -0
- data/sig/straddle/models/customer_create_params.rbs +8 -2
- data/sig/straddle/models/customer_delete_params.rbs +7 -0
- data/sig/straddle/models/customer_list_params.rbs +1 -2
- data/sig/straddle/models/customer_refresh_review_params.rbs +7 -0
- data/sig/straddle/models/customer_summary_paged_v1.rbs +1 -2
- data/sig/straddle/models/customer_unmasked_v1.rbs +1 -2
- data/sig/straddle/models/customer_update_params.rbs +7 -0
- data/sig/straddle/models/customer_v1.rbs +1 -2
- data/sig/straddle/models/customers/customer_review_v1.rbs +1 -4
- data/sig/straddle/models/customers/identity_verification_breakdown_v1.rbs +1 -6
- data/sig/straddle/models/customers/review_decision_params.rbs +7 -0
- data/sig/straddle/models/embed/account_create_params.rbs +8 -2
- data/sig/straddle/models/embed/account_onboard_params.rbs +7 -0
- data/sig/straddle/models/embed/account_paged_v1.rbs +4 -21
- data/sig/straddle/models/embed/account_simulate_params.rbs +7 -0
- data/sig/straddle/models/embed/account_update_params.rbs +7 -0
- data/sig/straddle/models/embed/account_v1.rbs +4 -21
- data/sig/straddle/models/embed/accounts/capability_request_create_params.rbs +7 -0
- data/sig/straddle/models/embed/linked_bank_account_cancel_params.rbs +40 -0
- data/sig/straddle/models/embed/linked_bank_account_create_params.rbs +38 -4
- data/sig/straddle/models/embed/linked_bank_account_paged_v1.rbs +25 -1
- data/sig/straddle/models/embed/linked_bank_account_unmask_v1.rbs +3 -1
- data/sig/straddle/models/embed/linked_bank_account_update_params.rbs +7 -0
- data/sig/straddle/models/embed/linked_bank_account_v1.rbs +25 -1
- data/sig/straddle/models/embed/organization_create_params.rbs +7 -0
- data/sig/straddle/models/embed/representative.rbs +5 -0
- data/sig/straddle/models/embed/representative_create_params.rbs +12 -0
- data/sig/straddle/models/embed/representative_paged.rbs +5 -0
- data/sig/straddle/models/embed/representative_update_params.rbs +12 -0
- data/sig/straddle/models/paykey_cancel_params.rbs +7 -0
- data/sig/straddle/models/paykey_review_params.rbs +65 -0
- data/sig/straddle/models/payout_cancel_params.rbs +7 -0
- data/sig/straddle/models/payout_create_params.rbs +7 -0
- data/sig/straddle/models/payout_hold_params.rbs +7 -0
- data/sig/straddle/models/payout_release_params.rbs +7 -0
- data/sig/straddle/models/payout_update_params.rbs +7 -0
- data/sig/straddle/models.rbs +2 -0
- data/sig/straddle/resources/bridge/link.rbs +4 -0
- data/sig/straddle/resources/bridge.rbs +1 -0
- data/sig/straddle/resources/charges.rbs +5 -0
- data/sig/straddle/resources/customers/review.rbs +1 -0
- data/sig/straddle/resources/customers.rbs +4 -0
- data/sig/straddle/resources/embed/accounts/capability_requests.rbs +1 -0
- data/sig/straddle/resources/embed/accounts.rbs +4 -0
- data/sig/straddle/resources/embed/linked_bank_accounts.rbs +14 -1
- data/sig/straddle/resources/embed/organizations.rbs +1 -0
- data/sig/straddle/resources/embed/representatives.rbs +4 -0
- data/sig/straddle/resources/paykeys.rbs +11 -0
- data/sig/straddle/resources/payouts.rbs +5 -0
- metadata +11 -5
|
@@ -48,6 +48,11 @@ module Straddle
|
|
|
48
48
|
# @return [String, nil]
|
|
49
49
|
optional :correlation_id, String
|
|
50
50
|
|
|
51
|
+
# @!attribute idempotency_key
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
optional :idempotency_key, String
|
|
55
|
+
|
|
51
56
|
# @!attribute request_id
|
|
52
57
|
#
|
|
53
58
|
# @return [String, nil]
|
|
@@ -58,7 +63,7 @@ module Straddle
|
|
|
58
63
|
# @return [String, nil]
|
|
59
64
|
optional :straddle_account_id, String
|
|
60
65
|
|
|
61
|
-
# @!method initialize(account_number:, account_type:, customer_id:, routing_number:, config: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
66
|
+
# @!method initialize(account_number:, account_type:, customer_id:, routing_number:, config: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
62
67
|
# Some parameter documentations has been truncated, see
|
|
63
68
|
# {Straddle::Models::Bridge::LinkBankAccountParams} for more details.
|
|
64
69
|
#
|
|
@@ -76,6 +81,8 @@ module Straddle
|
|
|
76
81
|
#
|
|
77
82
|
# @param correlation_id [String]
|
|
78
83
|
#
|
|
84
|
+
# @param idempotency_key [String]
|
|
85
|
+
#
|
|
79
86
|
# @param request_id [String]
|
|
80
87
|
#
|
|
81
88
|
# @param straddle_account_id [String]
|
|
@@ -96,10 +103,7 @@ module Straddle
|
|
|
96
103
|
# @!attribute sandbox_outcome
|
|
97
104
|
#
|
|
98
105
|
# @return [Symbol, Straddle::Models::Bridge::LinkBankAccountParams::Config::SandboxOutcome, nil]
|
|
99
|
-
optional :sandbox_outcome,
|
|
100
|
-
enum: -> {
|
|
101
|
-
Straddle::Bridge::LinkBankAccountParams::Config::SandboxOutcome
|
|
102
|
-
}
|
|
106
|
+
optional :sandbox_outcome, enum: -> { Straddle::Bridge::LinkBankAccountParams::Config::SandboxOutcome }
|
|
103
107
|
|
|
104
108
|
# @!method initialize(sandbox_outcome: nil)
|
|
105
109
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkBankAccountParams::Config::SandboxOutcome]
|
|
@@ -38,6 +38,11 @@ module Straddle
|
|
|
38
38
|
# @return [String, nil]
|
|
39
39
|
optional :correlation_id, String
|
|
40
40
|
|
|
41
|
+
# @!attribute idempotency_key
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :idempotency_key, String
|
|
45
|
+
|
|
41
46
|
# @!attribute request_id
|
|
42
47
|
#
|
|
43
48
|
# @return [String, nil]
|
|
@@ -48,7 +53,7 @@ module Straddle
|
|
|
48
53
|
# @return [String, nil]
|
|
49
54
|
optional :straddle_account_id, String
|
|
50
55
|
|
|
51
|
-
# @!method initialize(customer_id:, quiltt_token:, config: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
56
|
+
# @!method initialize(customer_id:, quiltt_token:, config: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
52
57
|
# Some parameter documentations has been truncated, see
|
|
53
58
|
# {Straddle::Models::Bridge::LinkCreatePaykeyParams} for more details.
|
|
54
59
|
#
|
|
@@ -62,6 +67,8 @@ module Straddle
|
|
|
62
67
|
#
|
|
63
68
|
# @param correlation_id [String]
|
|
64
69
|
#
|
|
70
|
+
# @param idempotency_key [String]
|
|
71
|
+
#
|
|
65
72
|
# @param request_id [String]
|
|
66
73
|
#
|
|
67
74
|
# @param straddle_account_id [String]
|
|
@@ -72,10 +79,7 @@ module Straddle
|
|
|
72
79
|
# @!attribute sandbox_outcome
|
|
73
80
|
#
|
|
74
81
|
# @return [Symbol, Straddle::Models::Bridge::LinkCreatePaykeyParams::Config::SandboxOutcome, nil]
|
|
75
|
-
optional :sandbox_outcome,
|
|
76
|
-
enum: -> {
|
|
77
|
-
Straddle::Bridge::LinkCreatePaykeyParams::Config::SandboxOutcome
|
|
78
|
-
}
|
|
82
|
+
optional :sandbox_outcome, enum: -> { Straddle::Bridge::LinkCreatePaykeyParams::Config::SandboxOutcome }
|
|
79
83
|
|
|
80
84
|
# @!method initialize(sandbox_outcome: nil)
|
|
81
85
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkCreatePaykeyParams::Config::SandboxOutcome]
|
|
@@ -48,6 +48,11 @@ module Straddle
|
|
|
48
48
|
# @return [String, nil]
|
|
49
49
|
optional :correlation_id, String
|
|
50
50
|
|
|
51
|
+
# @!attribute idempotency_key
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
optional :idempotency_key, String
|
|
55
|
+
|
|
51
56
|
# @!attribute request_id
|
|
52
57
|
#
|
|
53
58
|
# @return [String, nil]
|
|
@@ -58,7 +63,7 @@ module Straddle
|
|
|
58
63
|
# @return [String, nil]
|
|
59
64
|
optional :straddle_account_id, String
|
|
60
65
|
|
|
61
|
-
# @!method initialize(account_type:, customer_id:, routing_number:, tan:, config: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
66
|
+
# @!method initialize(account_type:, customer_id:, routing_number:, tan:, config: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
62
67
|
# Some parameter documentations has been truncated, see
|
|
63
68
|
# {Straddle::Models::Bridge::LinkCreateTanParams} for more details.
|
|
64
69
|
#
|
|
@@ -76,6 +81,8 @@ module Straddle
|
|
|
76
81
|
#
|
|
77
82
|
# @param correlation_id [String]
|
|
78
83
|
#
|
|
84
|
+
# @param idempotency_key [String]
|
|
85
|
+
#
|
|
79
86
|
# @param request_id [String]
|
|
80
87
|
#
|
|
81
88
|
# @param straddle_account_id [String]
|
|
@@ -96,10 +103,7 @@ module Straddle
|
|
|
96
103
|
# @!attribute sandbox_outcome
|
|
97
104
|
#
|
|
98
105
|
# @return [Symbol, Straddle::Models::Bridge::LinkCreateTanParams::Config::SandboxOutcome, nil]
|
|
99
|
-
optional :sandbox_outcome,
|
|
100
|
-
enum: -> {
|
|
101
|
-
Straddle::Bridge::LinkCreateTanParams::Config::SandboxOutcome
|
|
102
|
-
}
|
|
106
|
+
optional :sandbox_outcome, enum: -> { Straddle::Bridge::LinkCreateTanParams::Config::SandboxOutcome }
|
|
103
107
|
|
|
104
108
|
# @!method initialize(sandbox_outcome: nil)
|
|
105
109
|
# @param sandbox_outcome [Symbol, Straddle::Models::Bridge::LinkCreateTanParams::Config::SandboxOutcome]
|
|
@@ -38,6 +38,11 @@ module Straddle
|
|
|
38
38
|
# @return [String, nil]
|
|
39
39
|
optional :correlation_id, String
|
|
40
40
|
|
|
41
|
+
# @!attribute idempotency_key
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :idempotency_key, String
|
|
45
|
+
|
|
41
46
|
# @!attribute request_id
|
|
42
47
|
#
|
|
43
48
|
# @return [String, nil]
|
|
@@ -48,7 +53,7 @@ module Straddle
|
|
|
48
53
|
# @return [String, nil]
|
|
49
54
|
optional :straddle_account_id, String
|
|
50
55
|
|
|
51
|
-
# @!method initialize(customer_id:, plaid_token:, config: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
56
|
+
# @!method initialize(customer_id:, plaid_token:, config: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
52
57
|
# Some parameter documentations has been truncated, see
|
|
53
58
|
# {Straddle::Models::Bridge::LinkPlaidParams} for more details.
|
|
54
59
|
#
|
|
@@ -62,6 +67,8 @@ module Straddle
|
|
|
62
67
|
#
|
|
63
68
|
# @param correlation_id [String]
|
|
64
69
|
#
|
|
70
|
+
# @param idempotency_key [String]
|
|
71
|
+
#
|
|
65
72
|
# @param request_id [String]
|
|
66
73
|
#
|
|
67
74
|
# @param straddle_account_id [String]
|
|
@@ -24,6 +24,11 @@ module Straddle
|
|
|
24
24
|
# @return [String, nil]
|
|
25
25
|
optional :correlation_id, String
|
|
26
26
|
|
|
27
|
+
# @!attribute idempotency_key
|
|
28
|
+
#
|
|
29
|
+
# @return [String, nil]
|
|
30
|
+
optional :idempotency_key, String
|
|
31
|
+
|
|
27
32
|
# @!attribute request_id
|
|
28
33
|
#
|
|
29
34
|
# @return [String, nil]
|
|
@@ -34,7 +39,7 @@ module Straddle
|
|
|
34
39
|
# @return [String, nil]
|
|
35
40
|
optional :straddle_account_id, String
|
|
36
41
|
|
|
37
|
-
# @!method initialize(customer_id:, config: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
42
|
+
# @!method initialize(customer_id:, config: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
38
43
|
# Some parameter documentations has been truncated, see
|
|
39
44
|
# {Straddle::Models::BridgeInitializeParams} for more details.
|
|
40
45
|
#
|
|
@@ -44,6 +49,8 @@ module Straddle
|
|
|
44
49
|
#
|
|
45
50
|
# @param correlation_id [String]
|
|
46
51
|
#
|
|
52
|
+
# @param idempotency_key [String]
|
|
53
|
+
#
|
|
47
54
|
# @param request_id [String]
|
|
48
55
|
#
|
|
49
56
|
# @param straddle_account_id [String]
|
|
@@ -18,6 +18,11 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
@@ -28,11 +33,13 @@ module Straddle
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :straddle_account_id, String
|
|
30
35
|
|
|
31
|
-
# @!method initialize(reason: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
36
|
+
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
37
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
33
38
|
#
|
|
34
39
|
# @param correlation_id [String]
|
|
35
40
|
#
|
|
41
|
+
# @param idempotency_key [String]
|
|
42
|
+
#
|
|
36
43
|
# @param request_id [String]
|
|
37
44
|
#
|
|
38
45
|
# @param straddle_account_id [String]
|
|
@@ -76,6 +76,11 @@ module Straddle
|
|
|
76
76
|
# @return [String, nil]
|
|
77
77
|
optional :correlation_id, String
|
|
78
78
|
|
|
79
|
+
# @!attribute idempotency_key
|
|
80
|
+
#
|
|
81
|
+
# @return [String, nil]
|
|
82
|
+
optional :idempotency_key, String
|
|
83
|
+
|
|
79
84
|
# @!attribute request_id
|
|
80
85
|
#
|
|
81
86
|
# @return [String, nil]
|
|
@@ -86,7 +91,7 @@ module Straddle
|
|
|
86
91
|
# @return [String, nil]
|
|
87
92
|
optional :straddle_account_id, String
|
|
88
93
|
|
|
89
|
-
# @!method initialize(amount:, config:, consent_type:, currency:, description:, device:, external_id:, paykey:, payment_date:, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
94
|
+
# @!method initialize(amount:, config:, consent_type:, currency:, description:, device:, external_id:, paykey:, payment_date:, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
90
95
|
# Some parameter documentations has been truncated, see
|
|
91
96
|
# {Straddle::Models::ChargeCreateParams} for more details.
|
|
92
97
|
#
|
|
@@ -112,6 +117,8 @@ module Straddle
|
|
|
112
117
|
#
|
|
113
118
|
# @param correlation_id [String]
|
|
114
119
|
#
|
|
120
|
+
# @param idempotency_key [String]
|
|
121
|
+
#
|
|
115
122
|
# @param request_id [String]
|
|
116
123
|
#
|
|
117
124
|
# @param straddle_account_id [String]
|
|
@@ -18,6 +18,11 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
@@ -28,11 +33,13 @@ module Straddle
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :straddle_account_id, String
|
|
30
35
|
|
|
31
|
-
# @!method initialize(reason: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
36
|
+
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
37
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
33
38
|
#
|
|
34
39
|
# @param correlation_id [String]
|
|
35
40
|
#
|
|
41
|
+
# @param idempotency_key [String]
|
|
42
|
+
#
|
|
36
43
|
# @param request_id [String]
|
|
37
44
|
#
|
|
38
45
|
# @param straddle_account_id [String]
|
|
@@ -18,6 +18,11 @@ module Straddle
|
|
|
18
18
|
# @return [String, nil]
|
|
19
19
|
optional :correlation_id, String
|
|
20
20
|
|
|
21
|
+
# @!attribute idempotency_key
|
|
22
|
+
#
|
|
23
|
+
# @return [String, nil]
|
|
24
|
+
optional :idempotency_key, String
|
|
25
|
+
|
|
21
26
|
# @!attribute request_id
|
|
22
27
|
#
|
|
23
28
|
# @return [String, nil]
|
|
@@ -28,11 +33,13 @@ module Straddle
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :straddle_account_id, String
|
|
30
35
|
|
|
31
|
-
# @!method initialize(reason: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
36
|
+
# @!method initialize(reason: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
32
37
|
# @param reason [String, nil] Details about why the charge status was updated.
|
|
33
38
|
#
|
|
34
39
|
# @param correlation_id [String]
|
|
35
40
|
#
|
|
41
|
+
# @param idempotency_key [String]
|
|
42
|
+
#
|
|
36
43
|
# @param request_id [String]
|
|
37
44
|
#
|
|
38
45
|
# @param straddle_account_id [String]
|
|
@@ -38,6 +38,11 @@ module Straddle
|
|
|
38
38
|
# @return [String, nil]
|
|
39
39
|
optional :correlation_id, String
|
|
40
40
|
|
|
41
|
+
# @!attribute idempotency_key
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :idempotency_key, String
|
|
45
|
+
|
|
41
46
|
# @!attribute request_id
|
|
42
47
|
#
|
|
43
48
|
# @return [String, nil]
|
|
@@ -48,7 +53,7 @@ module Straddle
|
|
|
48
53
|
# @return [String, nil]
|
|
49
54
|
optional :straddle_account_id, String
|
|
50
55
|
|
|
51
|
-
# @!method initialize(amount:, description:, payment_date:, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
56
|
+
# @!method initialize(amount:, description:, payment_date:, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
52
57
|
# Some parameter documentations has been truncated, see
|
|
53
58
|
# {Straddle::Models::ChargeUpdateParams} for more details.
|
|
54
59
|
#
|
|
@@ -62,6 +67,8 @@ module Straddle
|
|
|
62
67
|
#
|
|
63
68
|
# @param correlation_id [String]
|
|
64
69
|
#
|
|
70
|
+
# @param idempotency_key [String]
|
|
71
|
+
#
|
|
65
72
|
# @param request_id [String]
|
|
66
73
|
#
|
|
67
74
|
# @param straddle_account_id [String]
|
|
@@ -77,6 +77,11 @@ module Straddle
|
|
|
77
77
|
# @return [String, nil]
|
|
78
78
|
optional :correlation_id, String
|
|
79
79
|
|
|
80
|
+
# @!attribute idempotency_key
|
|
81
|
+
#
|
|
82
|
+
# @return [String, nil]
|
|
83
|
+
optional :idempotency_key, String
|
|
84
|
+
|
|
80
85
|
# @!attribute request_id
|
|
81
86
|
#
|
|
82
87
|
# @return [String, nil]
|
|
@@ -87,7 +92,7 @@ module Straddle
|
|
|
87
92
|
# @return [String, nil]
|
|
88
93
|
optional :straddle_account_id, String
|
|
89
94
|
|
|
90
|
-
# @!method initialize(device:, email:, name:, phone:, type:, address: nil, compliance_profile: nil, config: nil, external_id: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
95
|
+
# @!method initialize(device:, email:, name:, phone:, type:, address: nil, compliance_profile: nil, config: nil, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
91
96
|
# Some parameter documentations has been truncated, see
|
|
92
97
|
# {Straddle::Models::CustomerCreateParams} for more details.
|
|
93
98
|
#
|
|
@@ -113,6 +118,8 @@ module Straddle
|
|
|
113
118
|
#
|
|
114
119
|
# @param correlation_id [String]
|
|
115
120
|
#
|
|
121
|
+
# @param idempotency_key [String]
|
|
122
|
+
#
|
|
116
123
|
# @param request_id [String]
|
|
117
124
|
#
|
|
118
125
|
# @param straddle_account_id [String]
|
|
@@ -124,7 +131,6 @@ module Straddle
|
|
|
124
131
|
|
|
125
132
|
INDIVIDUAL = :individual
|
|
126
133
|
BUSINESS = :business
|
|
127
|
-
UNKNOWN = :unknown
|
|
128
134
|
|
|
129
135
|
# @!method self.values
|
|
130
136
|
# @return [Array<Symbol>]
|
|
@@ -12,6 +12,11 @@ module Straddle
|
|
|
12
12
|
# @return [String, nil]
|
|
13
13
|
optional :correlation_id, String
|
|
14
14
|
|
|
15
|
+
# @!attribute idempotency_key
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
optional :idempotency_key, String
|
|
19
|
+
|
|
15
20
|
# @!attribute request_id
|
|
16
21
|
#
|
|
17
22
|
# @return [String, nil]
|
|
@@ -22,8 +27,9 @@ module Straddle
|
|
|
22
27
|
# @return [String, nil]
|
|
23
28
|
optional :straddle_account_id, String
|
|
24
29
|
|
|
25
|
-
# @!method initialize(correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
30
|
+
# @!method initialize(correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
26
31
|
# @param correlation_id [String]
|
|
32
|
+
# @param idempotency_key [String]
|
|
27
33
|
# @param request_id [String]
|
|
28
34
|
# @param straddle_account_id [String]
|
|
29
35
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -12,6 +12,11 @@ module Straddle
|
|
|
12
12
|
# @return [String, nil]
|
|
13
13
|
optional :correlation_id, String
|
|
14
14
|
|
|
15
|
+
# @!attribute idempotency_key
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
optional :idempotency_key, String
|
|
19
|
+
|
|
15
20
|
# @!attribute request_id
|
|
16
21
|
#
|
|
17
22
|
# @return [String, nil]
|
|
@@ -22,8 +27,9 @@ module Straddle
|
|
|
22
27
|
# @return [String, nil]
|
|
23
28
|
optional :straddle_account_id, String
|
|
24
29
|
|
|
25
|
-
# @!method initialize(correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
30
|
+
# @!method initialize(correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
26
31
|
# @param correlation_id [String]
|
|
32
|
+
# @param idempotency_key [String]
|
|
27
33
|
# @param request_id [String]
|
|
28
34
|
# @param straddle_account_id [String]
|
|
29
35
|
# @param request_options [Straddle::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -176,7 +176,6 @@ module Straddle
|
|
|
176
176
|
|
|
177
177
|
INDIVIDUAL = :individual
|
|
178
178
|
BUSINESS = :business
|
|
179
|
-
UNKNOWN = :unknown
|
|
180
179
|
|
|
181
180
|
# @!method self.values
|
|
182
181
|
# @return [Array<Symbol>]
|
|
@@ -300,10 +299,7 @@ module Straddle
|
|
|
300
299
|
# @!attribute processing_method
|
|
301
300
|
#
|
|
302
301
|
# @return [Symbol, Straddle::Models::CustomerUnmaskedV1::Data::Config::ProcessingMethod, nil]
|
|
303
|
-
optional :processing_method,
|
|
304
|
-
enum: -> {
|
|
305
|
-
Straddle::CustomerUnmaskedV1::Data::Config::ProcessingMethod
|
|
306
|
-
}
|
|
302
|
+
optional :processing_method, enum: -> { Straddle::CustomerUnmaskedV1::Data::Config::ProcessingMethod }
|
|
307
303
|
|
|
308
304
|
# @!attribute sandbox_outcome
|
|
309
305
|
#
|
|
@@ -71,6 +71,11 @@ module Straddle
|
|
|
71
71
|
# @return [String, nil]
|
|
72
72
|
optional :correlation_id, String
|
|
73
73
|
|
|
74
|
+
# @!attribute idempotency_key
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :idempotency_key, String
|
|
78
|
+
|
|
74
79
|
# @!attribute request_id
|
|
75
80
|
#
|
|
76
81
|
# @return [String, nil]
|
|
@@ -81,7 +86,7 @@ module Straddle
|
|
|
81
86
|
# @return [String, nil]
|
|
82
87
|
optional :straddle_account_id, String
|
|
83
88
|
|
|
84
|
-
# @!method initialize(device:, email:, name:, phone:, status:, address: nil, compliance_profile: nil, external_id: nil, metadata: nil, correlation_id: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
89
|
+
# @!method initialize(device:, email:, name:, phone:, status:, address: nil, compliance_profile: nil, external_id: nil, metadata: nil, correlation_id: nil, idempotency_key: nil, request_id: nil, straddle_account_id: nil, request_options: {})
|
|
85
90
|
# Some parameter documentations has been truncated, see
|
|
86
91
|
# {Straddle::Models::CustomerUpdateParams} for more details.
|
|
87
92
|
#
|
|
@@ -105,6 +110,8 @@ module Straddle
|
|
|
105
110
|
#
|
|
106
111
|
# @param correlation_id [String]
|
|
107
112
|
#
|
|
113
|
+
# @param idempotency_key [String]
|
|
114
|
+
#
|
|
108
115
|
# @param request_id [String]
|
|
109
116
|
#
|
|
110
117
|
# @param straddle_account_id [String]
|
|
@@ -89,10 +89,7 @@ module Straddle
|
|
|
89
89
|
# @!attribute status
|
|
90
90
|
#
|
|
91
91
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Status]
|
|
92
|
-
required :status,
|
|
93
|
-
enum: -> {
|
|
94
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Status
|
|
95
|
-
}
|
|
92
|
+
required :status, enum: -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Status }
|
|
96
93
|
|
|
97
94
|
# @!attribute type
|
|
98
95
|
#
|
|
@@ -199,7 +196,6 @@ module Straddle
|
|
|
199
196
|
|
|
200
197
|
INDIVIDUAL = :individual
|
|
201
198
|
BUSINESS = :business
|
|
202
|
-
UNKNOWN = :unknown
|
|
203
199
|
|
|
204
200
|
# @!method self.values
|
|
205
201
|
# @return [Array<Symbol>]
|
|
@@ -212,14 +208,10 @@ module Straddle
|
|
|
212
208
|
extend Straddle::Internal::Type::Union
|
|
213
209
|
|
|
214
210
|
# PII required to trigger Patriot Act compliant KYC verification.
|
|
215
|
-
variant -> {
|
|
216
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::IndividualComplianceProfile
|
|
217
|
-
}
|
|
211
|
+
variant -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::IndividualComplianceProfile }
|
|
218
212
|
|
|
219
213
|
# Business registration data required to trigger Patriot Act compliant KYB verification.
|
|
220
|
-
variant -> {
|
|
221
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::BusinessComplianceProfile
|
|
222
|
-
}
|
|
214
|
+
variant -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::ComplianceProfile::BusinessComplianceProfile }
|
|
223
215
|
|
|
224
216
|
class IndividualComplianceProfile < Straddle::Internal::Type::BaseModel
|
|
225
217
|
# @!attribute dob
|
|
@@ -324,17 +316,13 @@ module Straddle
|
|
|
324
316
|
#
|
|
325
317
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod, nil]
|
|
326
318
|
optional :processing_method,
|
|
327
|
-
enum: -> {
|
|
328
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod
|
|
329
|
-
}
|
|
319
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod }
|
|
330
320
|
|
|
331
321
|
# @!attribute sandbox_outcome
|
|
332
322
|
#
|
|
333
323
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Config::SandboxOutcome, nil]
|
|
334
324
|
optional :sandbox_outcome,
|
|
335
|
-
enum: -> {
|
|
336
|
-
Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::SandboxOutcome
|
|
337
|
-
}
|
|
325
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::CustomerDetails::Config::SandboxOutcome }
|
|
338
326
|
|
|
339
327
|
# @!method initialize(processing_method: nil, sandbox_outcome: nil)
|
|
340
328
|
# @param processing_method [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::CustomerDetails::Config::ProcessingMethod]
|
|
@@ -391,10 +379,7 @@ module Straddle
|
|
|
391
379
|
# risk scores, correlation score, and more.
|
|
392
380
|
#
|
|
393
381
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Breakdown]
|
|
394
|
-
required :breakdown,
|
|
395
|
-
-> {
|
|
396
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Breakdown
|
|
397
|
-
}
|
|
382
|
+
required :breakdown, -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Breakdown }
|
|
398
383
|
|
|
399
384
|
# @!attribute created_at
|
|
400
385
|
# Timestamp of when the review was initiated.
|
|
@@ -405,10 +390,7 @@ module Straddle
|
|
|
405
390
|
# @!attribute decision
|
|
406
391
|
#
|
|
407
392
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Decision]
|
|
408
|
-
required :decision,
|
|
409
|
-
enum: -> {
|
|
410
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Decision
|
|
411
|
-
}
|
|
393
|
+
required :decision, enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Decision }
|
|
412
394
|
|
|
413
395
|
# @!attribute review_id
|
|
414
396
|
# Unique identifier for the review.
|
|
@@ -442,18 +424,12 @@ module Straddle
|
|
|
442
424
|
# @!attribute reputation
|
|
443
425
|
#
|
|
444
426
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation, nil]
|
|
445
|
-
optional :reputation,
|
|
446
|
-
-> {
|
|
447
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation
|
|
448
|
-
}
|
|
427
|
+
optional :reputation, -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation }
|
|
449
428
|
|
|
450
429
|
# @!attribute watch_list
|
|
451
430
|
#
|
|
452
431
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList, nil]
|
|
453
|
-
optional :watch_list,
|
|
454
|
-
-> {
|
|
455
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList
|
|
456
|
-
}
|
|
432
|
+
optional :watch_list, -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList }
|
|
457
433
|
|
|
458
434
|
# @!method initialize(breakdown:, created_at:, decision:, review_id:, updated_at:, kyc: nil, messages: nil, network_alerts: nil, reputation: nil, watch_list: nil)
|
|
459
435
|
# Some parameter documentations has been truncated, see
|
|
@@ -567,9 +543,7 @@ module Straddle
|
|
|
567
543
|
#
|
|
568
544
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Decision, nil]
|
|
569
545
|
optional :decision,
|
|
570
|
-
enum: -> {
|
|
571
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Decision
|
|
572
|
-
}
|
|
546
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Decision }
|
|
573
547
|
|
|
574
548
|
# @!method initialize(validations:, codes: nil, decision: nil)
|
|
575
549
|
# @param validations [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::KYC::Validations] Boolean values indicating the result of each validation in the KYC process.
|
|
@@ -676,9 +650,7 @@ module Straddle
|
|
|
676
650
|
#
|
|
677
651
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::NetworkAlerts::Decision, nil]
|
|
678
652
|
optional :decision,
|
|
679
|
-
enum: -> {
|
|
680
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::NetworkAlerts::Decision
|
|
681
|
-
}
|
|
653
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::NetworkAlerts::Decision }
|
|
682
654
|
|
|
683
655
|
# @!method initialize(alerts: nil, codes: nil, decision: nil)
|
|
684
656
|
# @param alerts [Array<String>, nil] Any alerts or flags raised during the consortium alert screening.
|
|
@@ -712,17 +684,13 @@ module Straddle
|
|
|
712
684
|
#
|
|
713
685
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Decision, nil]
|
|
714
686
|
optional :decision,
|
|
715
|
-
enum: -> {
|
|
716
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Decision
|
|
717
|
-
}
|
|
687
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Decision }
|
|
718
688
|
|
|
719
689
|
# @!attribute insights
|
|
720
690
|
#
|
|
721
691
|
# @return [Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Insights, nil]
|
|
722
692
|
optional :insights,
|
|
723
|
-
-> {
|
|
724
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Insights
|
|
725
|
-
}
|
|
693
|
+
-> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::Reputation::Insights }
|
|
726
694
|
|
|
727
695
|
# @!attribute risk_score
|
|
728
696
|
#
|
|
@@ -968,9 +936,7 @@ module Straddle
|
|
|
968
936
|
#
|
|
969
937
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Decision, nil]
|
|
970
938
|
optional :decision,
|
|
971
|
-
enum: -> {
|
|
972
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Decision
|
|
973
|
-
}
|
|
939
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Decision }
|
|
974
940
|
|
|
975
941
|
# @!attribute matched
|
|
976
942
|
# Information about any matches found during screening.
|
|
@@ -1014,9 +980,7 @@ module Straddle
|
|
|
1014
980
|
#
|
|
1015
981
|
# @return [Symbol, Straddle::Models::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Match::Correlation]
|
|
1016
982
|
required :correlation,
|
|
1017
|
-
enum: -> {
|
|
1018
|
-
Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Match::Correlation
|
|
1019
|
-
}
|
|
983
|
+
enum: -> { Straddle::Customers::CustomerReviewV1::Data::IdentityDetails::WatchList::Match::Correlation }
|
|
1020
984
|
|
|
1021
985
|
# @!attribute list_name
|
|
1022
986
|
# The name of the list the match was found.
|
|
@@ -1053,7 +1017,6 @@ module Straddle
|
|
|
1053
1017
|
POTENTIAL_MATCH = :potential_match
|
|
1054
1018
|
LIKELY_MATCH = :likely_match
|
|
1055
1019
|
HIGH_CONFIDENCE = :high_confidence
|
|
1056
|
-
UNKNOWN = :unknown
|
|
1057
1020
|
|
|
1058
1021
|
# @!method self.values
|
|
1059
1022
|
# @return [Array<Symbol>]
|