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
|
@@ -155,6 +155,11 @@ module Straddle
|
|
|
155
155
|
sig { returns(T.nilable(String)) }
|
|
156
156
|
attr_accessor :external_id
|
|
157
157
|
|
|
158
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
159
|
+
# information about the represetative in a structured format.
|
|
160
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
161
|
+
attr_accessor :metadata
|
|
162
|
+
|
|
158
163
|
sig { returns(T.nilable(String)) }
|
|
159
164
|
attr_accessor :phone
|
|
160
165
|
|
|
@@ -182,6 +187,7 @@ module Straddle
|
|
|
182
187
|
Straddle::Embed::Representative::Data::StatusDetail::OrHash,
|
|
183
188
|
updated_at: Time,
|
|
184
189
|
external_id: T.nilable(String),
|
|
190
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
185
191
|
phone: T.nilable(String),
|
|
186
192
|
user_id: T.nilable(String)
|
|
187
193
|
).returns(T.attached_class)
|
|
@@ -215,6 +221,9 @@ module Straddle
|
|
|
215
221
|
# Unique identifier for the representative in your database, used for
|
|
216
222
|
# cross-referencing between Straddle and your systems.
|
|
217
223
|
external_id: nil,
|
|
224
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
225
|
+
# information about the represetative in a structured format.
|
|
226
|
+
metadata: nil,
|
|
218
227
|
phone: nil,
|
|
219
228
|
# The unique identifier of the user account associated with this representative,
|
|
220
229
|
# if applicable.
|
|
@@ -243,6 +252,7 @@ module Straddle
|
|
|
243
252
|
Straddle::Embed::Representative::Data::StatusDetail,
|
|
244
253
|
updated_at: Time,
|
|
245
254
|
external_id: T.nilable(String),
|
|
255
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
246
256
|
phone: T.nilable(String),
|
|
247
257
|
user_id: T.nilable(String)
|
|
248
258
|
}
|
|
@@ -61,12 +61,23 @@ module Straddle
|
|
|
61
61
|
sig { returns(T.nilable(String)) }
|
|
62
62
|
attr_accessor :external_id
|
|
63
63
|
|
|
64
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
65
|
+
# information about the represetative in a structured format.
|
|
66
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
67
|
+
attr_accessor :metadata
|
|
68
|
+
|
|
64
69
|
sig { returns(T.nilable(String)) }
|
|
65
70
|
attr_reader :correlation_id
|
|
66
71
|
|
|
67
72
|
sig { params(correlation_id: String).void }
|
|
68
73
|
attr_writer :correlation_id
|
|
69
74
|
|
|
75
|
+
sig { returns(T.nilable(String)) }
|
|
76
|
+
attr_reader :idempotency_key
|
|
77
|
+
|
|
78
|
+
sig { params(idempotency_key: String).void }
|
|
79
|
+
attr_writer :idempotency_key
|
|
80
|
+
|
|
70
81
|
sig { returns(T.nilable(String)) }
|
|
71
82
|
attr_reader :request_id
|
|
72
83
|
|
|
@@ -85,7 +96,9 @@ module Straddle
|
|
|
85
96
|
Straddle::Embed::RepresentativeCreateParams::Relationship::OrHash,
|
|
86
97
|
ssn_last4: String,
|
|
87
98
|
external_id: T.nilable(String),
|
|
99
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
88
100
|
correlation_id: String,
|
|
101
|
+
idempotency_key: String,
|
|
89
102
|
request_id: String,
|
|
90
103
|
request_options: Straddle::RequestOptions::OrHash
|
|
91
104
|
).returns(T.attached_class)
|
|
@@ -109,7 +122,11 @@ module Straddle
|
|
|
109
122
|
# Unique identifier for the representative in your database, used for
|
|
110
123
|
# cross-referencing between Straddle and your systems.
|
|
111
124
|
external_id: nil,
|
|
125
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
126
|
+
# information about the represetative in a structured format.
|
|
127
|
+
metadata: nil,
|
|
112
128
|
correlation_id: nil,
|
|
129
|
+
idempotency_key: nil,
|
|
113
130
|
request_id: nil,
|
|
114
131
|
request_options: {}
|
|
115
132
|
)
|
|
@@ -128,7 +145,9 @@ module Straddle
|
|
|
128
145
|
Straddle::Embed::RepresentativeCreateParams::Relationship,
|
|
129
146
|
ssn_last4: String,
|
|
130
147
|
external_id: T.nilable(String),
|
|
148
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
131
149
|
correlation_id: String,
|
|
150
|
+
idempotency_key: String,
|
|
132
151
|
request_id: String,
|
|
133
152
|
request_options: Straddle::RequestOptions
|
|
134
153
|
}
|
|
@@ -165,6 +165,11 @@ module Straddle
|
|
|
165
165
|
sig { returns(T.nilable(String)) }
|
|
166
166
|
attr_accessor :external_id
|
|
167
167
|
|
|
168
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
169
|
+
# information about the represetative in a structured format.
|
|
170
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
171
|
+
attr_accessor :metadata
|
|
172
|
+
|
|
168
173
|
sig { returns(T.nilable(String)) }
|
|
169
174
|
attr_accessor :phone
|
|
170
175
|
|
|
@@ -193,6 +198,7 @@ module Straddle
|
|
|
193
198
|
Straddle::Embed::RepresentativePaged::Data::StatusDetail::OrHash,
|
|
194
199
|
updated_at: Time,
|
|
195
200
|
external_id: T.nilable(String),
|
|
201
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
196
202
|
phone: T.nilable(String),
|
|
197
203
|
user_id: T.nilable(String)
|
|
198
204
|
).returns(T.attached_class)
|
|
@@ -226,6 +232,9 @@ module Straddle
|
|
|
226
232
|
# Unique identifier for the representative in your database, used for
|
|
227
233
|
# cross-referencing between Straddle and your systems.
|
|
228
234
|
external_id: nil,
|
|
235
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
236
|
+
# information about the represetative in a structured format.
|
|
237
|
+
metadata: nil,
|
|
229
238
|
phone: nil,
|
|
230
239
|
# The unique identifier of the user account associated with this representative,
|
|
231
240
|
# if applicable.
|
|
@@ -254,6 +263,7 @@ module Straddle
|
|
|
254
263
|
Straddle::Embed::RepresentativePaged::Data::StatusDetail,
|
|
255
264
|
updated_at: Time,
|
|
256
265
|
external_id: T.nilable(String),
|
|
266
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
257
267
|
phone: T.nilable(String),
|
|
258
268
|
user_id: T.nilable(String)
|
|
259
269
|
}
|
|
@@ -57,12 +57,23 @@ module Straddle
|
|
|
57
57
|
sig { returns(T.nilable(String)) }
|
|
58
58
|
attr_accessor :external_id
|
|
59
59
|
|
|
60
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
61
|
+
# information about the represetative in a structured format.
|
|
62
|
+
sig { returns(T.nilable(T::Hash[Symbol, String])) }
|
|
63
|
+
attr_accessor :metadata
|
|
64
|
+
|
|
60
65
|
sig { returns(T.nilable(String)) }
|
|
61
66
|
attr_reader :correlation_id
|
|
62
67
|
|
|
63
68
|
sig { params(correlation_id: String).void }
|
|
64
69
|
attr_writer :correlation_id
|
|
65
70
|
|
|
71
|
+
sig { returns(T.nilable(String)) }
|
|
72
|
+
attr_reader :idempotency_key
|
|
73
|
+
|
|
74
|
+
sig { params(idempotency_key: String).void }
|
|
75
|
+
attr_writer :idempotency_key
|
|
76
|
+
|
|
66
77
|
sig { returns(T.nilable(String)) }
|
|
67
78
|
attr_reader :request_id
|
|
68
79
|
|
|
@@ -80,7 +91,9 @@ module Straddle
|
|
|
80
91
|
Straddle::Embed::RepresentativeUpdateParams::Relationship::OrHash,
|
|
81
92
|
ssn_last4: String,
|
|
82
93
|
external_id: T.nilable(String),
|
|
94
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
83
95
|
correlation_id: String,
|
|
96
|
+
idempotency_key: String,
|
|
84
97
|
request_id: String,
|
|
85
98
|
request_options: Straddle::RequestOptions::OrHash
|
|
86
99
|
).returns(T.attached_class)
|
|
@@ -102,7 +115,11 @@ module Straddle
|
|
|
102
115
|
# Unique identifier for the representative in your database, used for
|
|
103
116
|
# cross-referencing between Straddle and your systems.
|
|
104
117
|
external_id: nil,
|
|
118
|
+
# Up to 20 additional user-defined key-value pairs. Useful for storing additional
|
|
119
|
+
# information about the represetative in a structured format.
|
|
120
|
+
metadata: nil,
|
|
105
121
|
correlation_id: nil,
|
|
122
|
+
idempotency_key: nil,
|
|
106
123
|
request_id: nil,
|
|
107
124
|
request_options: {}
|
|
108
125
|
)
|
|
@@ -120,7 +137,9 @@ module Straddle
|
|
|
120
137
|
Straddle::Embed::RepresentativeUpdateParams::Relationship,
|
|
121
138
|
ssn_last4: String,
|
|
122
139
|
external_id: T.nilable(String),
|
|
140
|
+
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
123
141
|
correlation_id: String,
|
|
142
|
+
idempotency_key: String,
|
|
124
143
|
request_id: String,
|
|
125
144
|
request_options: Straddle::RequestOptions
|
|
126
145
|
}
|
|
@@ -20,6 +20,12 @@ module Straddle
|
|
|
20
20
|
sig { params(correlation_id: String).void }
|
|
21
21
|
attr_writer :correlation_id
|
|
22
22
|
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_reader :idempotency_key
|
|
25
|
+
|
|
26
|
+
sig { params(idempotency_key: String).void }
|
|
27
|
+
attr_writer :idempotency_key
|
|
28
|
+
|
|
23
29
|
sig { returns(T.nilable(String)) }
|
|
24
30
|
attr_reader :request_id
|
|
25
31
|
|
|
@@ -36,6 +42,7 @@ module Straddle
|
|
|
36
42
|
params(
|
|
37
43
|
reason: T.nilable(String),
|
|
38
44
|
correlation_id: String,
|
|
45
|
+
idempotency_key: String,
|
|
39
46
|
request_id: String,
|
|
40
47
|
straddle_account_id: String,
|
|
41
48
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -44,6 +51,7 @@ module Straddle
|
|
|
44
51
|
def self.new(
|
|
45
52
|
reason: nil,
|
|
46
53
|
correlation_id: nil,
|
|
54
|
+
idempotency_key: nil,
|
|
47
55
|
request_id: nil,
|
|
48
56
|
straddle_account_id: nil,
|
|
49
57
|
request_options: {}
|
|
@@ -55,6 +63,7 @@ module Straddle
|
|
|
55
63
|
{
|
|
56
64
|
reason: T.nilable(String),
|
|
57
65
|
correlation_id: String,
|
|
66
|
+
idempotency_key: String,
|
|
58
67
|
request_id: String,
|
|
59
68
|
straddle_account_id: String,
|
|
60
69
|
request_options: Straddle::RequestOptions
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Straddle
|
|
4
|
+
module Models
|
|
5
|
+
class PaykeyReviewParams < Straddle::Internal::Type::BaseModel
|
|
6
|
+
extend Straddle::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Straddle::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(Straddle::PaykeyReviewParams, Straddle::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig { returns(Straddle::PaykeyReviewParams::Status::OrSymbol) }
|
|
15
|
+
attr_accessor :status
|
|
16
|
+
|
|
17
|
+
sig { returns(T.nilable(String)) }
|
|
18
|
+
attr_reader :correlation_id
|
|
19
|
+
|
|
20
|
+
sig { params(correlation_id: String).void }
|
|
21
|
+
attr_writer :correlation_id
|
|
22
|
+
|
|
23
|
+
sig { returns(T.nilable(String)) }
|
|
24
|
+
attr_reader :idempotency_key
|
|
25
|
+
|
|
26
|
+
sig { params(idempotency_key: String).void }
|
|
27
|
+
attr_writer :idempotency_key
|
|
28
|
+
|
|
29
|
+
sig { returns(T.nilable(String)) }
|
|
30
|
+
attr_reader :request_id
|
|
31
|
+
|
|
32
|
+
sig { params(request_id: String).void }
|
|
33
|
+
attr_writer :request_id
|
|
34
|
+
|
|
35
|
+
sig { returns(T.nilable(String)) }
|
|
36
|
+
attr_reader :straddle_account_id
|
|
37
|
+
|
|
38
|
+
sig { params(straddle_account_id: String).void }
|
|
39
|
+
attr_writer :straddle_account_id
|
|
40
|
+
|
|
41
|
+
sig do
|
|
42
|
+
params(
|
|
43
|
+
status: Straddle::PaykeyReviewParams::Status::OrSymbol,
|
|
44
|
+
correlation_id: String,
|
|
45
|
+
idempotency_key: String,
|
|
46
|
+
request_id: String,
|
|
47
|
+
straddle_account_id: String,
|
|
48
|
+
request_options: Straddle::RequestOptions::OrHash
|
|
49
|
+
).returns(T.attached_class)
|
|
50
|
+
end
|
|
51
|
+
def self.new(
|
|
52
|
+
status:,
|
|
53
|
+
correlation_id: nil,
|
|
54
|
+
idempotency_key: nil,
|
|
55
|
+
request_id: nil,
|
|
56
|
+
straddle_account_id: nil,
|
|
57
|
+
request_options: {}
|
|
58
|
+
)
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
sig do
|
|
62
|
+
override.returns(
|
|
63
|
+
{
|
|
64
|
+
status: Straddle::PaykeyReviewParams::Status::OrSymbol,
|
|
65
|
+
correlation_id: String,
|
|
66
|
+
idempotency_key: String,
|
|
67
|
+
request_id: String,
|
|
68
|
+
straddle_account_id: String,
|
|
69
|
+
request_options: Straddle::RequestOptions
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
end
|
|
73
|
+
def to_hash
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
module Status
|
|
77
|
+
extend Straddle::Internal::Type::Enum
|
|
78
|
+
|
|
79
|
+
TaggedSymbol =
|
|
80
|
+
T.type_alias { T.all(Symbol, Straddle::PaykeyReviewParams::Status) }
|
|
81
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
82
|
+
|
|
83
|
+
ACTIVE =
|
|
84
|
+
T.let(:active, Straddle::PaykeyReviewParams::Status::TaggedSymbol)
|
|
85
|
+
REJECTED =
|
|
86
|
+
T.let(:rejected, Straddle::PaykeyReviewParams::Status::TaggedSymbol)
|
|
87
|
+
|
|
88
|
+
sig do
|
|
89
|
+
override.returns(
|
|
90
|
+
T::Array[Straddle::PaykeyReviewParams::Status::TaggedSymbol]
|
|
91
|
+
)
|
|
92
|
+
end
|
|
93
|
+
def self.values
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -21,6 +21,12 @@ module Straddle
|
|
|
21
21
|
sig { params(correlation_id: String).void }
|
|
22
22
|
attr_writer :correlation_id
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
attr_reader :idempotency_key
|
|
26
|
+
|
|
27
|
+
sig { params(idempotency_key: String).void }
|
|
28
|
+
attr_writer :idempotency_key
|
|
29
|
+
|
|
24
30
|
sig { returns(T.nilable(String)) }
|
|
25
31
|
attr_reader :request_id
|
|
26
32
|
|
|
@@ -37,6 +43,7 @@ module Straddle
|
|
|
37
43
|
params(
|
|
38
44
|
reason: String,
|
|
39
45
|
correlation_id: String,
|
|
46
|
+
idempotency_key: String,
|
|
40
47
|
request_id: String,
|
|
41
48
|
straddle_account_id: String,
|
|
42
49
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -46,6 +53,7 @@ module Straddle
|
|
|
46
53
|
# Details about why the payout status was updated.
|
|
47
54
|
reason:,
|
|
48
55
|
correlation_id: nil,
|
|
56
|
+
idempotency_key: nil,
|
|
49
57
|
request_id: nil,
|
|
50
58
|
straddle_account_id: nil,
|
|
51
59
|
request_options: {}
|
|
@@ -57,6 +65,7 @@ module Straddle
|
|
|
57
65
|
{
|
|
58
66
|
reason: String,
|
|
59
67
|
correlation_id: String,
|
|
68
|
+
idempotency_key: String,
|
|
60
69
|
request_id: String,
|
|
61
70
|
straddle_account_id: String,
|
|
62
71
|
request_options: Straddle::RequestOptions
|
|
@@ -61,6 +61,12 @@ module Straddle
|
|
|
61
61
|
sig { params(correlation_id: String).void }
|
|
62
62
|
attr_writer :correlation_id
|
|
63
63
|
|
|
64
|
+
sig { returns(T.nilable(String)) }
|
|
65
|
+
attr_reader :idempotency_key
|
|
66
|
+
|
|
67
|
+
sig { params(idempotency_key: String).void }
|
|
68
|
+
attr_writer :idempotency_key
|
|
69
|
+
|
|
64
70
|
sig { returns(T.nilable(String)) }
|
|
65
71
|
attr_reader :request_id
|
|
66
72
|
|
|
@@ -85,6 +91,7 @@ module Straddle
|
|
|
85
91
|
config: Straddle::PayoutCreateParams::Config::OrHash,
|
|
86
92
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
87
93
|
correlation_id: String,
|
|
94
|
+
idempotency_key: String,
|
|
88
95
|
request_id: String,
|
|
89
96
|
straddle_account_id: String,
|
|
90
97
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -112,6 +119,7 @@ module Straddle
|
|
|
112
119
|
# information about the payout in a structured format.
|
|
113
120
|
metadata: nil,
|
|
114
121
|
correlation_id: nil,
|
|
122
|
+
idempotency_key: nil,
|
|
115
123
|
request_id: nil,
|
|
116
124
|
straddle_account_id: nil,
|
|
117
125
|
request_options: {}
|
|
@@ -131,6 +139,7 @@ module Straddle
|
|
|
131
139
|
config: Straddle::PayoutCreateParams::Config,
|
|
132
140
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
133
141
|
correlation_id: String,
|
|
142
|
+
idempotency_key: String,
|
|
134
143
|
request_id: String,
|
|
135
144
|
straddle_account_id: String,
|
|
136
145
|
request_options: Straddle::RequestOptions
|
|
@@ -21,6 +21,12 @@ module Straddle
|
|
|
21
21
|
sig { params(correlation_id: String).void }
|
|
22
22
|
attr_writer :correlation_id
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
attr_reader :idempotency_key
|
|
26
|
+
|
|
27
|
+
sig { params(idempotency_key: String).void }
|
|
28
|
+
attr_writer :idempotency_key
|
|
29
|
+
|
|
24
30
|
sig { returns(T.nilable(String)) }
|
|
25
31
|
attr_reader :request_id
|
|
26
32
|
|
|
@@ -37,6 +43,7 @@ module Straddle
|
|
|
37
43
|
params(
|
|
38
44
|
reason: String,
|
|
39
45
|
correlation_id: String,
|
|
46
|
+
idempotency_key: String,
|
|
40
47
|
request_id: String,
|
|
41
48
|
straddle_account_id: String,
|
|
42
49
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -46,6 +53,7 @@ module Straddle
|
|
|
46
53
|
# Details about why the payout status was updated.
|
|
47
54
|
reason:,
|
|
48
55
|
correlation_id: nil,
|
|
56
|
+
idempotency_key: nil,
|
|
49
57
|
request_id: nil,
|
|
50
58
|
straddle_account_id: nil,
|
|
51
59
|
request_options: {}
|
|
@@ -57,6 +65,7 @@ module Straddle
|
|
|
57
65
|
{
|
|
58
66
|
reason: String,
|
|
59
67
|
correlation_id: String,
|
|
68
|
+
idempotency_key: String,
|
|
60
69
|
request_id: String,
|
|
61
70
|
straddle_account_id: String,
|
|
62
71
|
request_options: Straddle::RequestOptions
|
|
@@ -21,6 +21,12 @@ module Straddle
|
|
|
21
21
|
sig { params(correlation_id: String).void }
|
|
22
22
|
attr_writer :correlation_id
|
|
23
23
|
|
|
24
|
+
sig { returns(T.nilable(String)) }
|
|
25
|
+
attr_reader :idempotency_key
|
|
26
|
+
|
|
27
|
+
sig { params(idempotency_key: String).void }
|
|
28
|
+
attr_writer :idempotency_key
|
|
29
|
+
|
|
24
30
|
sig { returns(T.nilable(String)) }
|
|
25
31
|
attr_reader :request_id
|
|
26
32
|
|
|
@@ -37,6 +43,7 @@ module Straddle
|
|
|
37
43
|
params(
|
|
38
44
|
reason: String,
|
|
39
45
|
correlation_id: String,
|
|
46
|
+
idempotency_key: String,
|
|
40
47
|
request_id: String,
|
|
41
48
|
straddle_account_id: String,
|
|
42
49
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -46,6 +53,7 @@ module Straddle
|
|
|
46
53
|
# Details about why the payout status was updated.
|
|
47
54
|
reason:,
|
|
48
55
|
correlation_id: nil,
|
|
56
|
+
idempotency_key: nil,
|
|
49
57
|
request_id: nil,
|
|
50
58
|
straddle_account_id: nil,
|
|
51
59
|
request_options: {}
|
|
@@ -57,6 +65,7 @@ module Straddle
|
|
|
57
65
|
{
|
|
58
66
|
reason: String,
|
|
59
67
|
correlation_id: String,
|
|
68
|
+
idempotency_key: String,
|
|
60
69
|
request_id: String,
|
|
61
70
|
straddle_account_id: String,
|
|
62
71
|
request_options: Straddle::RequestOptions
|
|
@@ -35,6 +35,12 @@ module Straddle
|
|
|
35
35
|
sig { params(correlation_id: String).void }
|
|
36
36
|
attr_writer :correlation_id
|
|
37
37
|
|
|
38
|
+
sig { returns(T.nilable(String)) }
|
|
39
|
+
attr_reader :idempotency_key
|
|
40
|
+
|
|
41
|
+
sig { params(idempotency_key: String).void }
|
|
42
|
+
attr_writer :idempotency_key
|
|
43
|
+
|
|
38
44
|
sig { returns(T.nilable(String)) }
|
|
39
45
|
attr_reader :request_id
|
|
40
46
|
|
|
@@ -54,6 +60,7 @@ module Straddle
|
|
|
54
60
|
payment_date: Date,
|
|
55
61
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
56
62
|
correlation_id: String,
|
|
63
|
+
idempotency_key: String,
|
|
57
64
|
request_id: String,
|
|
58
65
|
straddle_account_id: String,
|
|
59
66
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -71,6 +78,7 @@ module Straddle
|
|
|
71
78
|
# information about the payout in a structured format.
|
|
72
79
|
metadata: nil,
|
|
73
80
|
correlation_id: nil,
|
|
81
|
+
idempotency_key: nil,
|
|
74
82
|
request_id: nil,
|
|
75
83
|
straddle_account_id: nil,
|
|
76
84
|
request_options: {}
|
|
@@ -85,6 +93,7 @@ module Straddle
|
|
|
85
93
|
payment_date: Date,
|
|
86
94
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
87
95
|
correlation_id: String,
|
|
96
|
+
idempotency_key: String,
|
|
88
97
|
request_id: String,
|
|
89
98
|
straddle_account_id: String,
|
|
90
99
|
request_options: Straddle::RequestOptions
|
data/rbi/straddle/models.rbi
CHANGED
|
@@ -75,6 +75,8 @@ module Straddle
|
|
|
75
75
|
|
|
76
76
|
PaykeyRevealParams = Straddle::Models::PaykeyRevealParams
|
|
77
77
|
|
|
78
|
+
PaykeyReviewParams = Straddle::Models::PaykeyReviewParams
|
|
79
|
+
|
|
78
80
|
PaykeySummaryPagedV1 = Straddle::Models::PaykeySummaryPagedV1
|
|
79
81
|
|
|
80
82
|
PaykeyUnmaskedParams = Straddle::Models::PaykeyUnmaskedParams
|
|
@@ -17,6 +17,7 @@ module Straddle
|
|
|
17
17
|
config: Straddle::Bridge::LinkBankAccountParams::Config::OrHash,
|
|
18
18
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
19
19
|
correlation_id: String,
|
|
20
|
+
idempotency_key: String,
|
|
20
21
|
request_id: String,
|
|
21
22
|
straddle_account_id: String,
|
|
22
23
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -39,6 +40,8 @@ module Straddle
|
|
|
39
40
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
40
41
|
# of requests.
|
|
41
42
|
correlation_id: nil,
|
|
43
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
44
|
+
idempotency_key: nil,
|
|
42
45
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
43
46
|
request_id: nil,
|
|
44
47
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -58,6 +61,7 @@ module Straddle
|
|
|
58
61
|
config: Straddle::Bridge::LinkCreatePaykeyParams::Config::OrHash,
|
|
59
62
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
60
63
|
correlation_id: String,
|
|
64
|
+
idempotency_key: String,
|
|
61
65
|
request_id: String,
|
|
62
66
|
straddle_account_id: String,
|
|
63
67
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -77,6 +81,8 @@ module Straddle
|
|
|
77
81
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
78
82
|
# of requests.
|
|
79
83
|
correlation_id: nil,
|
|
84
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
85
|
+
idempotency_key: nil,
|
|
80
86
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
81
87
|
request_id: nil,
|
|
82
88
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -96,6 +102,7 @@ module Straddle
|
|
|
96
102
|
config: Straddle::Bridge::LinkCreateTanParams::Config::OrHash,
|
|
97
103
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
98
104
|
correlation_id: String,
|
|
105
|
+
idempotency_key: String,
|
|
99
106
|
request_id: String,
|
|
100
107
|
straddle_account_id: String,
|
|
101
108
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -118,6 +125,8 @@ module Straddle
|
|
|
118
125
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
119
126
|
# of requests.
|
|
120
127
|
correlation_id: nil,
|
|
128
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
129
|
+
idempotency_key: nil,
|
|
121
130
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
122
131
|
request_id: nil,
|
|
123
132
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -137,6 +146,7 @@ module Straddle
|
|
|
137
146
|
config: Straddle::Bridge::LinkPlaidParams::Config::OrHash,
|
|
138
147
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
139
148
|
correlation_id: String,
|
|
149
|
+
idempotency_key: String,
|
|
140
150
|
request_id: String,
|
|
141
151
|
straddle_account_id: String,
|
|
142
152
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -156,6 +166,8 @@ module Straddle
|
|
|
156
166
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
157
167
|
# of requests.
|
|
158
168
|
correlation_id: nil,
|
|
169
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
170
|
+
idempotency_key: nil,
|
|
159
171
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
160
172
|
request_id: nil,
|
|
161
173
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -12,6 +12,7 @@ module Straddle
|
|
|
12
12
|
customer_id: String,
|
|
13
13
|
config: Straddle::BridgeInitializeParams::Config::OrHash,
|
|
14
14
|
correlation_id: String,
|
|
15
|
+
idempotency_key: String,
|
|
15
16
|
request_id: String,
|
|
16
17
|
straddle_account_id: String,
|
|
17
18
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -26,6 +27,8 @@ module Straddle
|
|
|
26
27
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
27
28
|
# of requests.
|
|
28
29
|
correlation_id: nil,
|
|
30
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
31
|
+
idempotency_key: nil,
|
|
29
32
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
30
33
|
request_id: nil,
|
|
31
34
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -17,6 +17,7 @@ module Straddle
|
|
|
17
17
|
payment_date: Date,
|
|
18
18
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
19
19
|
correlation_id: String,
|
|
20
|
+
idempotency_key: String,
|
|
20
21
|
request_id: String,
|
|
21
22
|
straddle_account_id: String,
|
|
22
23
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -52,6 +53,8 @@ module Straddle
|
|
|
52
53
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
53
54
|
# of requests.
|
|
54
55
|
correlation_id: nil,
|
|
56
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
57
|
+
idempotency_key: nil,
|
|
55
58
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
56
59
|
request_id: nil,
|
|
57
60
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -71,6 +74,7 @@ module Straddle
|
|
|
71
74
|
payment_date: Date,
|
|
72
75
|
metadata: T.nilable(T::Hash[Symbol, String]),
|
|
73
76
|
correlation_id: String,
|
|
77
|
+
idempotency_key: String,
|
|
74
78
|
request_id: String,
|
|
75
79
|
straddle_account_id: String,
|
|
76
80
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -92,6 +96,8 @@ module Straddle
|
|
|
92
96
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
93
97
|
# of requests.
|
|
94
98
|
correlation_id: nil,
|
|
99
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
100
|
+
idempotency_key: nil,
|
|
95
101
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
96
102
|
request_id: nil,
|
|
97
103
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -108,6 +114,7 @@ module Straddle
|
|
|
108
114
|
id: String,
|
|
109
115
|
reason: T.nilable(String),
|
|
110
116
|
correlation_id: String,
|
|
117
|
+
idempotency_key: String,
|
|
111
118
|
request_id: String,
|
|
112
119
|
straddle_account_id: String,
|
|
113
120
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -121,6 +128,8 @@ module Straddle
|
|
|
121
128
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
122
129
|
# of requests.
|
|
123
130
|
correlation_id: nil,
|
|
131
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
132
|
+
idempotency_key: nil,
|
|
124
133
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
125
134
|
request_id: nil,
|
|
126
135
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -160,6 +169,7 @@ module Straddle
|
|
|
160
169
|
id: String,
|
|
161
170
|
reason: T.nilable(String),
|
|
162
171
|
correlation_id: String,
|
|
172
|
+
idempotency_key: String,
|
|
163
173
|
request_id: String,
|
|
164
174
|
straddle_account_id: String,
|
|
165
175
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -173,6 +183,8 @@ module Straddle
|
|
|
173
183
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
174
184
|
# of requests.
|
|
175
185
|
correlation_id: nil,
|
|
186
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
187
|
+
idempotency_key: nil,
|
|
176
188
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
177
189
|
request_id: nil,
|
|
178
190
|
# Header param: For use by platforms to specify an account id and set scope of a
|
|
@@ -189,6 +201,7 @@ module Straddle
|
|
|
189
201
|
id: String,
|
|
190
202
|
reason: T.nilable(String),
|
|
191
203
|
correlation_id: String,
|
|
204
|
+
idempotency_key: String,
|
|
192
205
|
request_id: String,
|
|
193
206
|
straddle_account_id: String,
|
|
194
207
|
request_options: Straddle::RequestOptions::OrHash
|
|
@@ -202,6 +215,8 @@ module Straddle
|
|
|
202
215
|
# Header param: Optional client generated identifier to trace and debug a series
|
|
203
216
|
# of requests.
|
|
204
217
|
correlation_id: nil,
|
|
218
|
+
# Header param: Optional client generated value to use for idempotent requests.
|
|
219
|
+
idempotency_key: nil,
|
|
205
220
|
# Header param: Optional client generated identifier to trace and debug a request.
|
|
206
221
|
request_id: nil,
|
|
207
222
|
# Header param: For use by platforms to specify an account id and set scope of a
|