inttegro 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/inttegro/file_download.rb +1 -1
- data/lib/inttegro/generated/enums.rb +1 -1
- data/lib/inttegro/generated/models.rb +539 -537
- data/lib/inttegro/generated/operations.rb +8 -8
- data/lib/inttegro/http_client.rb +57 -3
- data/lib/inttegro/models.rb +2 -50
- data/lib/inttegro/resources/apps.rb +3 -3
- data/lib/inttegro/resources/balance_transactions.rb +2 -6
- data/lib/inttegro/resources/balances.rb +1 -1
- data/lib/inttegro/resources/broadcasts.rb +2 -6
- data/lib/inttegro/resources/chimes.rb +5 -5
- data/lib/inttegro/resources/customers.rb +4 -4
- data/lib/inttegro/resources/file_links.rb +4 -6
- data/lib/inttegro/resources/file_references.rb +1 -1
- data/lib/inttegro/resources/files.rb +4 -6
- data/lib/inttegro/resources/financial_accounts.rb +22 -22
- data/lib/inttegro/resources/keys.rb +8 -10
- data/lib/inttegro/resources/message_templates.rb +13 -15
- data/lib/inttegro/resources/orders.rb +20 -20
- data/lib/inttegro/resources/otp.rb +4 -4
- data/lib/inttegro/resources/payment_methods.rb +34 -36
- data/lib/inttegro/resources/payouts.rb +28 -28
- data/lib/inttegro/resources/prices.rb +7 -7
- data/lib/inttegro/resources/products.rb +9 -9
- data/lib/inttegro/resources/purchase_intents.rb +8 -8
- data/lib/inttegro/resources/refunds.rb +6 -6
- data/lib/inttegro/resources/schedules.rb +4 -4
- data/lib/inttegro/resources/spec.rb +1 -1
- data/lib/inttegro/resources/upload_requests.rb +10 -10
- data/lib/inttegro/version.rb +1 -1
- data/lib/inttegro.rb +15 -0
- data/rbi/inttegro/generated.rbi +110 -110
- metadata +2 -2
|
@@ -10,7 +10,7 @@ module Inttegro
|
|
|
10
10
|
const :payment_method_id, String
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class PaymentMethodBankAccountGhanaBankAccount < T::Struct
|
|
14
14
|
const :branch, T.nilable(String), default: nil
|
|
15
15
|
const :name, T.nilable(String), default: nil
|
|
16
16
|
const :account_number, String
|
|
@@ -18,18 +18,18 @@ module Inttegro
|
|
|
18
18
|
const :swift_code, T.nilable(String), default: nil
|
|
19
19
|
end
|
|
20
20
|
|
|
21
|
-
class
|
|
22
|
-
const :ghana_bank_account, T.nilable(Inttegro::
|
|
21
|
+
class PaymentMethodBankAccount < T::Struct
|
|
22
|
+
const :ghana_bank_account, T.nilable(Inttegro::PaymentMethodBankAccountGhanaBankAccount), default: nil
|
|
23
23
|
const :type, Inttegro::BankAccountType
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
class
|
|
26
|
+
class PaymentMethodMobileMoney < T::Struct
|
|
27
27
|
const :account_number, String
|
|
28
28
|
const :last4, String
|
|
29
29
|
const :network, Inttegro::MobileMoneyNetwork
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
class
|
|
32
|
+
class PaymentMethodOwnerAddress < T::Struct
|
|
33
33
|
const :city, T.nilable(String), default: nil
|
|
34
34
|
const :country, String
|
|
35
35
|
const :line_1, T.nilable(String), default: nil
|
|
@@ -40,12 +40,12 @@ module Inttegro
|
|
|
40
40
|
const :region, T.nilable(String), default: nil
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
const :address, T.nilable(Inttegro::
|
|
43
|
+
class PaymentMethodOwner < T::Struct
|
|
44
|
+
const :address, T.nilable(Inttegro::PaymentMethodOwnerAddress), default: nil
|
|
45
45
|
const :name, String
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class PaymentMethodSupplied < T::Struct
|
|
49
49
|
const :attempt_id, T.nilable(String), default: nil
|
|
50
50
|
const :by, String
|
|
51
51
|
const :channel, T.nilable(String), default: nil
|
|
@@ -54,7 +54,7 @@ module Inttegro
|
|
|
54
54
|
const :supplied_at, String
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class PaymentMethodVerification < T::Struct
|
|
58
58
|
const :completed_at, T.nilable(String), default: nil
|
|
59
59
|
const :initiated_at, String
|
|
60
60
|
const :mechanism, T.nilable(String), default: nil
|
|
@@ -62,29 +62,29 @@ module Inttegro
|
|
|
62
62
|
const :type, String
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class PaymentMethod < T::Struct
|
|
66
66
|
const :active, T::Boolean
|
|
67
67
|
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
68
68
|
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
69
69
|
const :archived_at, T.nilable(String), default: nil
|
|
70
|
-
const :bank_account, T.nilable(Inttegro::
|
|
70
|
+
const :bank_account, T.nilable(Inttegro::PaymentMethodBankAccount), default: nil
|
|
71
71
|
const :created_at, String
|
|
72
72
|
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
73
73
|
const :customer_id, String
|
|
74
74
|
const :ephemeral, T.nilable(T::Boolean), default: nil
|
|
75
75
|
const :expires_on, T.nilable(String), default: nil
|
|
76
76
|
const :id, String
|
|
77
|
-
const :mobile_money, T.nilable(Inttegro::
|
|
78
|
-
const :owner, T.nilable(Inttegro::
|
|
77
|
+
const :mobile_money, T.nilable(Inttegro::PaymentMethodMobileMoney), default: nil
|
|
78
|
+
const :owner, T.nilable(Inttegro::PaymentMethodOwner), default: nil
|
|
79
79
|
const :type, Inttegro::PaymentMethodType
|
|
80
|
-
const :supplied, T.nilable(Inttegro::
|
|
80
|
+
const :supplied, T.nilable(Inttegro::PaymentMethodSupplied), default: nil
|
|
81
81
|
const :universal_fingerprint, T.nilable(String), default: nil
|
|
82
|
-
const :verification, T.nilable(Inttegro::
|
|
82
|
+
const :verification, T.nilable(Inttegro::PaymentMethodVerification), default: nil
|
|
83
83
|
const :verified_at, T.nilable(String), default: nil
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
class ActivatePaymentMethodResponse < T::Struct
|
|
87
|
-
const :payment_method, T.nilable(Inttegro::
|
|
87
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
class AddProductPriceRequestAmount < T::Struct
|
|
@@ -143,12 +143,51 @@ module Inttegro
|
|
|
143
143
|
const :post_code, T.nilable(String), default: nil
|
|
144
144
|
end
|
|
145
145
|
|
|
146
|
+
class ApplicationSecretKey < T::Struct
|
|
147
|
+
const :id, T.nilable(String), default: nil
|
|
148
|
+
const :token_type, T.nilable(String), default: nil
|
|
149
|
+
const :issued_at, T.nilable(String), default: nil
|
|
150
|
+
const :token, T.nilable(String), default: nil
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
class ApplicationRelationshipPolicy < T::Struct
|
|
154
|
+
const :child_standing, String
|
|
155
|
+
const :management, Inttegro::AppManagementRole
|
|
156
|
+
const :credentials, Inttegro::AppCredentialOwner
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
class ApplicationRelationship < T::Struct
|
|
160
|
+
const :id, String
|
|
161
|
+
const :kind, Inttegro::AppRelationshipKind
|
|
162
|
+
const :policy_version, String
|
|
163
|
+
const :status, Inttegro::AppRelationshipStatus
|
|
164
|
+
const :actor_app_id, String
|
|
165
|
+
const :creator_app_id, String
|
|
166
|
+
const :placement_parent_app_id, String
|
|
167
|
+
const :subject_app_id, String
|
|
168
|
+
const :child_app_id, String
|
|
169
|
+
const :child_standing, String
|
|
170
|
+
const :relationship_policy, Inttegro::ApplicationRelationshipPolicy
|
|
171
|
+
const :retained_creator_authority_exists, T::Boolean
|
|
172
|
+
const :created_at, String
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class Application < T::Struct
|
|
176
|
+
const :id, String
|
|
177
|
+
const :name, String
|
|
178
|
+
const :alias, T.nilable(String), default: nil
|
|
179
|
+
const :description, T.nilable(String), default: nil
|
|
180
|
+
const :created_at, String
|
|
181
|
+
const :secret_key, T.nilable(Inttegro::ApplicationSecretKey), default: nil
|
|
182
|
+
const :relationship, T.nilable(Inttegro::ApplicationRelationship), default: nil
|
|
183
|
+
end
|
|
184
|
+
|
|
146
185
|
class ArchivePaymentMethodRequest < T::Struct
|
|
147
186
|
const :payment_method_id, String
|
|
148
187
|
end
|
|
149
188
|
|
|
150
189
|
class ArchivePaymentMethodResponse < T::Struct
|
|
151
|
-
const :payment_method, T.nilable(Inttegro::
|
|
190
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
152
191
|
end
|
|
153
192
|
|
|
154
193
|
class BalanceValue < T::Struct
|
|
@@ -171,12 +210,12 @@ module Inttegro
|
|
|
171
210
|
const :reserved, Inttegro::CurrencyBalanceSnapshotReserved
|
|
172
211
|
end
|
|
173
212
|
|
|
174
|
-
class
|
|
213
|
+
class BalanceSnapshotBalances < T::Struct
|
|
175
214
|
const :ghs, Inttegro::CurrencyBalanceSnapshot
|
|
176
215
|
end
|
|
177
216
|
|
|
178
|
-
class
|
|
179
|
-
const :balances, Inttegro::
|
|
217
|
+
class BalanceSnapshot < T::Struct
|
|
218
|
+
const :balances, Inttegro::BalanceSnapshotBalances
|
|
180
219
|
end
|
|
181
220
|
|
|
182
221
|
class BalanceTransactionAmount < T::Struct
|
|
@@ -198,14 +237,14 @@ module Inttegro
|
|
|
198
237
|
const :type, Inttegro::BalanceTransactionType
|
|
199
238
|
end
|
|
200
239
|
|
|
201
|
-
class
|
|
240
|
+
class BalanceTransactionPage < T::Struct
|
|
202
241
|
const :number, Integer
|
|
203
242
|
const :size, Integer
|
|
204
243
|
const :transactions, T.nilable(T::Array[Inttegro::BalanceTransaction]), default: nil
|
|
205
244
|
end
|
|
206
245
|
|
|
207
246
|
class BalanceTransactionPageResponse < T::Struct
|
|
208
|
-
const :page, Inttegro::
|
|
247
|
+
const :page, Inttegro::BalanceTransactionPage
|
|
209
248
|
end
|
|
210
249
|
|
|
211
250
|
class BalanceTransactionResponse < T::Struct
|
|
@@ -320,7 +359,7 @@ module Inttegro
|
|
|
320
359
|
end
|
|
321
360
|
|
|
322
361
|
class MessageTemplateVariables < T::Struct
|
|
323
|
-
# This
|
|
362
|
+
# This object intentionally has no fields.
|
|
324
363
|
end
|
|
325
364
|
|
|
326
365
|
class MessageTemplateReference < T::Struct
|
|
@@ -476,19 +515,19 @@ module Inttegro
|
|
|
476
515
|
const :quantity, Integer
|
|
477
516
|
end
|
|
478
517
|
|
|
479
|
-
class
|
|
518
|
+
class ChimeRecipientDetailPhone < T::Struct
|
|
480
519
|
const :number, String
|
|
481
520
|
end
|
|
482
521
|
|
|
483
|
-
class
|
|
522
|
+
class ChimeRecipientDetailEmail < T::Struct
|
|
484
523
|
const :address, String
|
|
485
524
|
end
|
|
486
525
|
|
|
487
|
-
class
|
|
526
|
+
class ChimeRecipientDetail < T::Struct
|
|
488
527
|
const :type, Inttegro::ChimeRecipientType
|
|
489
528
|
const :name, T.nilable(String), default: nil
|
|
490
|
-
const :phone, T.nilable(Inttegro::
|
|
491
|
-
const :email, T.nilable(Inttegro::
|
|
529
|
+
const :phone, T.nilable(Inttegro::ChimeRecipientDetailPhone), default: nil
|
|
530
|
+
const :email, T.nilable(Inttegro::ChimeRecipientDetailEmail), default: nil
|
|
492
531
|
end
|
|
493
532
|
|
|
494
533
|
class ChimeEmailEvent < T::Struct
|
|
@@ -540,15 +579,31 @@ module Inttegro
|
|
|
540
579
|
const :id, String
|
|
541
580
|
const :idempotency_key, T.nilable(String), default: nil
|
|
542
581
|
const :purpose, T.nilable(String), default: nil
|
|
543
|
-
const :recipient, Inttegro::
|
|
582
|
+
const :recipient, Inttegro::ChimeRecipientDetail
|
|
544
583
|
const :sender_id, String
|
|
545
584
|
const :transmission, T.nilable(Inttegro::ChimeTransmission), default: nil
|
|
546
585
|
end
|
|
547
586
|
|
|
587
|
+
class ChimePage < T::Struct
|
|
588
|
+
const :number, Integer
|
|
589
|
+
const :size, Integer
|
|
590
|
+
const :chimes, T::Array[Inttegro::Chime]
|
|
591
|
+
end
|
|
592
|
+
|
|
548
593
|
class ChimeResponse < T::Struct
|
|
549
594
|
const :chime, T.nilable(Inttegro::Chime), default: nil
|
|
550
595
|
end
|
|
551
596
|
|
|
597
|
+
class CompactFinancialAccount < T::Struct
|
|
598
|
+
const :created_at, String
|
|
599
|
+
const :currency, String
|
|
600
|
+
const :description, T.nilable(String), default: nil
|
|
601
|
+
const :disconnected_at, T.nilable(String), default: nil
|
|
602
|
+
const :id, String
|
|
603
|
+
const :label, T.nilable(String), default: nil
|
|
604
|
+
const :type, Inttegro::FinancialAccountType
|
|
605
|
+
end
|
|
606
|
+
|
|
552
607
|
class OrderCheckoutSettings < T::Struct
|
|
553
608
|
const :redirect_url, T.nilable(String), default: nil
|
|
554
609
|
const :cancel_url, T.nilable(String), default: nil
|
|
@@ -700,7 +755,7 @@ module Inttegro
|
|
|
700
755
|
end
|
|
701
756
|
|
|
702
757
|
class OrderPaymentMethodCard < T::Struct
|
|
703
|
-
# This
|
|
758
|
+
# This object intentionally has no fields.
|
|
704
759
|
end
|
|
705
760
|
|
|
706
761
|
class OrderPaymentMethodMobileMoney < T::Struct
|
|
@@ -763,7 +818,7 @@ module Inttegro
|
|
|
763
818
|
end
|
|
764
819
|
|
|
765
820
|
class PaymentNextActionExecute < T::Struct
|
|
766
|
-
# This
|
|
821
|
+
# This object intentionally has no fields.
|
|
767
822
|
end
|
|
768
823
|
|
|
769
824
|
class PaymentNextActionRedirectLatestVisit < T::Struct
|
|
@@ -823,11 +878,11 @@ module Inttegro
|
|
|
823
878
|
end
|
|
824
879
|
|
|
825
880
|
class OrderPayoutSettings < T::Struct
|
|
826
|
-
# This
|
|
881
|
+
# This object intentionally has no fields.
|
|
827
882
|
end
|
|
828
883
|
|
|
829
884
|
class OrderShipping < T::Struct
|
|
830
|
-
# This
|
|
885
|
+
# This object intentionally has no fields.
|
|
831
886
|
end
|
|
832
887
|
|
|
833
888
|
class Order < T::Struct
|
|
@@ -924,11 +979,11 @@ module Inttegro
|
|
|
924
979
|
const :supplied_at, String
|
|
925
980
|
end
|
|
926
981
|
|
|
927
|
-
class
|
|
928
|
-
# This
|
|
982
|
+
class FinancialAccountDetailsVerification < T::Struct
|
|
983
|
+
# This object intentionally has no fields.
|
|
929
984
|
end
|
|
930
985
|
|
|
931
|
-
class
|
|
986
|
+
class FinancialAccountAddress < T::Struct
|
|
932
987
|
const :city, String
|
|
933
988
|
const :country, String
|
|
934
989
|
const :line_1, String
|
|
@@ -939,41 +994,41 @@ module Inttegro
|
|
|
939
994
|
const :region, String
|
|
940
995
|
end
|
|
941
996
|
|
|
942
|
-
class
|
|
943
|
-
const :address, Inttegro::
|
|
997
|
+
class FinancialAccountOwner < T::Struct
|
|
998
|
+
const :address, Inttegro::FinancialAccountAddress
|
|
944
999
|
const :name, String
|
|
945
1000
|
end
|
|
946
1001
|
|
|
947
|
-
class
|
|
1002
|
+
class GhanaBankAccount < T::Struct
|
|
948
1003
|
const :branch, T.nilable(String), default: nil
|
|
949
|
-
const :holder, Inttegro::
|
|
1004
|
+
const :holder, Inttegro::FinancialAccountOwner
|
|
950
1005
|
const :name, T.nilable(String), default: nil
|
|
951
1006
|
const :number, String
|
|
952
1007
|
const :sort_code, T.nilable(String), default: nil
|
|
953
1008
|
const :swift_code, T.nilable(String), default: nil
|
|
954
1009
|
end
|
|
955
1010
|
|
|
956
|
-
class
|
|
1011
|
+
class FinancialAccountBank < T::Struct
|
|
957
1012
|
const :type, Inttegro::BankAccountType
|
|
958
|
-
const :ghana_bank_account, T.nilable(Inttegro::
|
|
1013
|
+
const :ghana_bank_account, T.nilable(Inttegro::GhanaBankAccount), default: nil
|
|
959
1014
|
end
|
|
960
1015
|
|
|
961
|
-
class
|
|
962
|
-
# This
|
|
1016
|
+
class ConnectedFinancialAccountDoshAccount < T::Struct
|
|
1017
|
+
# This object intentionally has no fields.
|
|
963
1018
|
end
|
|
964
1019
|
|
|
965
|
-
class
|
|
1020
|
+
class FinancialAccountWalletMobileMoney < T::Struct
|
|
966
1021
|
const :account_number, String
|
|
967
1022
|
const :network, Inttegro::MobileMoneyNetwork
|
|
968
1023
|
end
|
|
969
1024
|
|
|
970
|
-
class
|
|
1025
|
+
class FinancialAccountWallet < T::Struct
|
|
971
1026
|
const :id, String
|
|
972
1027
|
const :type, Inttegro::WalletType
|
|
973
|
-
const :mobile_money, T.nilable(Inttegro::
|
|
1028
|
+
const :mobile_money, T.nilable(Inttegro::FinancialAccountWalletMobileMoney), default: nil
|
|
974
1029
|
end
|
|
975
1030
|
|
|
976
|
-
class
|
|
1031
|
+
class ConnectedFinancialAccount < T::Struct
|
|
977
1032
|
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
978
1033
|
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
979
1034
|
const :archived_at, T.nilable(String), default: nil
|
|
@@ -990,15 +1045,15 @@ module Inttegro
|
|
|
990
1045
|
const :supplied, T.nilable(Inttegro::ResourceSupply), default: nil
|
|
991
1046
|
const :type, Inttegro::FinancialAccountType
|
|
992
1047
|
const :universal_fingerprint, T.nilable(String), default: nil
|
|
993
|
-
const :verification, T.nilable(Inttegro::
|
|
994
|
-
const :bank_account, T.nilable(Inttegro::
|
|
995
|
-
const :dosh_account, T.nilable(Inttegro::
|
|
996
|
-
const :owner, T.nilable(Inttegro::
|
|
997
|
-
const :wallet, T.nilable(Inttegro::
|
|
1048
|
+
const :verification, T.nilable(Inttegro::FinancialAccountDetailsVerification), default: nil
|
|
1049
|
+
const :bank_account, T.nilable(Inttegro::FinancialAccountBank), default: nil
|
|
1050
|
+
const :dosh_account, T.nilable(Inttegro::ConnectedFinancialAccountDoshAccount), default: nil
|
|
1051
|
+
const :owner, T.nilable(Inttegro::FinancialAccountOwner), default: nil
|
|
1052
|
+
const :wallet, T.nilable(Inttegro::FinancialAccountWallet), default: nil
|
|
998
1053
|
end
|
|
999
1054
|
|
|
1000
1055
|
class ConnectFinancialAccountResponse < T::Struct
|
|
1001
|
-
const :account, T.nilable(Inttegro::
|
|
1056
|
+
const :account, T.nilable(Inttegro::ConnectedFinancialAccount), default: nil
|
|
1002
1057
|
end
|
|
1003
1058
|
|
|
1004
1059
|
class CountryBankBranch < T::Struct
|
|
@@ -1034,6 +1089,10 @@ module Inttegro
|
|
|
1034
1089
|
const :banks, T.nilable(Inttegro::CountryBankDirectory), default: nil
|
|
1035
1090
|
end
|
|
1036
1091
|
|
|
1092
|
+
class CountrySpecifications < T::Struct
|
|
1093
|
+
const :countries, T::Hash[String, Inttegro::CountrySpecification]
|
|
1094
|
+
end
|
|
1095
|
+
|
|
1037
1096
|
class CreateApplicationRequestRelationshipPolicy < T::Struct
|
|
1038
1097
|
const :child_standing, T.nilable(String), default: nil
|
|
1039
1098
|
const :management, T.nilable(Inttegro::AppManagementRole), default: nil
|
|
@@ -1049,47 +1108,8 @@ module Inttegro
|
|
|
1049
1108
|
const :relationship_policy, T.nilable(Inttegro::CreateApplicationRequestRelationshipPolicy), default: nil
|
|
1050
1109
|
end
|
|
1051
1110
|
|
|
1052
|
-
class CreateApplicationResponseAppSecretKey < T::Struct
|
|
1053
|
-
const :id, T.nilable(String), default: nil
|
|
1054
|
-
const :token_type, T.nilable(String), default: nil
|
|
1055
|
-
const :issued_at, T.nilable(String), default: nil
|
|
1056
|
-
const :token, T.nilable(String), default: nil
|
|
1057
|
-
end
|
|
1058
|
-
|
|
1059
|
-
class CreateApplicationResponseAppRelationshipRelationshipPolicy < T::Struct
|
|
1060
|
-
const :child_standing, String
|
|
1061
|
-
const :management, Inttegro::AppManagementRole
|
|
1062
|
-
const :credentials, Inttegro::AppCredentialOwner
|
|
1063
|
-
end
|
|
1064
|
-
|
|
1065
|
-
class CreateApplicationResponseAppRelationship < T::Struct
|
|
1066
|
-
const :id, String
|
|
1067
|
-
const :kind, Inttegro::AppRelationshipKind
|
|
1068
|
-
const :policy_version, String
|
|
1069
|
-
const :status, Inttegro::AppRelationshipStatus
|
|
1070
|
-
const :actor_app_id, String
|
|
1071
|
-
const :creator_app_id, String
|
|
1072
|
-
const :placement_parent_app_id, String
|
|
1073
|
-
const :subject_app_id, String
|
|
1074
|
-
const :child_app_id, String
|
|
1075
|
-
const :child_standing, String
|
|
1076
|
-
const :relationship_policy, Inttegro::CreateApplicationResponseAppRelationshipRelationshipPolicy
|
|
1077
|
-
const :retained_creator_authority_exists, T::Boolean
|
|
1078
|
-
const :created_at, String
|
|
1079
|
-
end
|
|
1080
|
-
|
|
1081
|
-
class CreateApplicationResponseApp < T::Struct
|
|
1082
|
-
const :id, String
|
|
1083
|
-
const :name, String
|
|
1084
|
-
const :alias, T.nilable(String), default: nil
|
|
1085
|
-
const :description, T.nilable(String), default: nil
|
|
1086
|
-
const :created_at, String
|
|
1087
|
-
const :secret_key, T.nilable(Inttegro::CreateApplicationResponseAppSecretKey), default: nil
|
|
1088
|
-
const :relationship, T.nilable(Inttegro::CreateApplicationResponseAppRelationship), default: nil
|
|
1089
|
-
end
|
|
1090
|
-
|
|
1091
1111
|
class CreateApplicationResponse < T::Struct
|
|
1092
|
-
const :app, Inttegro::
|
|
1112
|
+
const :app, Inttegro::Application
|
|
1093
1113
|
end
|
|
1094
1114
|
|
|
1095
1115
|
class CustomerAddressInput < T::Struct
|
|
@@ -1180,45 +1200,6 @@ module Inttegro
|
|
|
1180
1200
|
const :expires_at, T.nilable(String), default: nil
|
|
1181
1201
|
end
|
|
1182
1202
|
|
|
1183
|
-
class FileLinkAccess < T::Struct
|
|
1184
|
-
const :max_accesses, T.nilable(Integer), default: nil
|
|
1185
|
-
const :access_count, T.nilable(Integer), default: nil
|
|
1186
|
-
const :last_accessed_at, T.nilable(String), default: nil
|
|
1187
|
-
const :allow_download, T.nilable(T::Boolean), default: nil
|
|
1188
|
-
const :allowed_origins, T.nilable(T::Array[String]), default: nil
|
|
1189
|
-
end
|
|
1190
|
-
|
|
1191
|
-
class FileLinkActor < T::Struct
|
|
1192
|
-
const :email, T.nilable(String), default: nil
|
|
1193
|
-
const :id, T.nilable(String), default: nil
|
|
1194
|
-
const :name, T.nilable(String), default: nil
|
|
1195
|
-
const :type, String
|
|
1196
|
-
end
|
|
1197
|
-
|
|
1198
|
-
class FileLinkObject < T::Struct
|
|
1199
|
-
const :id, String
|
|
1200
|
-
const :kind, Inttegro::FileLinkKind
|
|
1201
|
-
const :file_id, String
|
|
1202
|
-
const :purpose, String
|
|
1203
|
-
const :status, Inttegro::FileLinkStatus
|
|
1204
|
-
const :active, T::Boolean
|
|
1205
|
-
const :delivery, Inttegro::FileLinkDelivery
|
|
1206
|
-
const :access, Inttegro::FileLinkAccess
|
|
1207
|
-
const :created_by, Inttegro::FileLinkActor
|
|
1208
|
-
const :revoked_by, T.nilable(Inttegro::FileLinkActor), default: nil
|
|
1209
|
-
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
1210
|
-
const :metadata, T.nilable(T::Hash[String, String]), default: nil
|
|
1211
|
-
const :created_at, String
|
|
1212
|
-
const :updated_at, String
|
|
1213
|
-
const :expires_at, String
|
|
1214
|
-
const :revoked_at, T.nilable(String), default: nil
|
|
1215
|
-
end
|
|
1216
|
-
|
|
1217
|
-
class CreateFileLinkResponse < T::Struct
|
|
1218
|
-
const :file_link, Inttegro::FileLinkObject
|
|
1219
|
-
const :url, String
|
|
1220
|
-
end
|
|
1221
|
-
|
|
1222
1203
|
class CreateFileRequest < T::Struct
|
|
1223
1204
|
const :file, String
|
|
1224
1205
|
const :purpose, String
|
|
@@ -1226,7 +1207,7 @@ module Inttegro
|
|
|
1226
1207
|
const :custom_data, T.nilable(String), default: nil
|
|
1227
1208
|
end
|
|
1228
1209
|
|
|
1229
|
-
class
|
|
1210
|
+
class CreatedFinancialAccountAddress < T::Struct
|
|
1230
1211
|
const :application_id, String
|
|
1231
1212
|
const :city, String
|
|
1232
1213
|
const :country, String
|
|
@@ -1239,27 +1220,27 @@ module Inttegro
|
|
|
1239
1220
|
const :region, String
|
|
1240
1221
|
end
|
|
1241
1222
|
|
|
1242
|
-
class
|
|
1243
|
-
const :address, Inttegro::
|
|
1223
|
+
class CreatedFinancialAccountOwner < T::Struct
|
|
1224
|
+
const :address, Inttegro::CreatedFinancialAccountAddress
|
|
1244
1225
|
const :name, String
|
|
1245
1226
|
end
|
|
1246
1227
|
|
|
1247
|
-
class
|
|
1228
|
+
class CreatedGhanaBankAccount < T::Struct
|
|
1248
1229
|
const :branch, T.nilable(String), default: nil
|
|
1249
|
-
const :holder, Inttegro::
|
|
1230
|
+
const :holder, Inttegro::CreatedFinancialAccountOwner
|
|
1250
1231
|
const :name, String
|
|
1251
1232
|
const :number, String
|
|
1252
1233
|
const :sort_code, T.nilable(String), default: nil
|
|
1253
1234
|
const :swift_code, T.nilable(String), default: nil
|
|
1254
1235
|
end
|
|
1255
1236
|
|
|
1256
|
-
class
|
|
1237
|
+
class CreatedFinancialAccountBank < T::Struct
|
|
1257
1238
|
const :id, String
|
|
1258
1239
|
const :type, Inttegro::BankAccountType
|
|
1259
|
-
const :ghana_bank_account, T.nilable(Inttegro::
|
|
1240
|
+
const :ghana_bank_account, T.nilable(Inttegro::CreatedGhanaBankAccount), default: nil
|
|
1260
1241
|
end
|
|
1261
1242
|
|
|
1262
|
-
class
|
|
1243
|
+
class CreatedFinancialAccount < T::Struct
|
|
1263
1244
|
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
1264
1245
|
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
1265
1246
|
const :archived_at, T.nilable(String), default: nil
|
|
@@ -1276,14 +1257,14 @@ module Inttegro
|
|
|
1276
1257
|
const :supplied, T.nilable(Inttegro::ResourceSupply), default: nil
|
|
1277
1258
|
const :type, Inttegro::FinancialAccountType
|
|
1278
1259
|
const :universal_fingerprint, T.nilable(String), default: nil
|
|
1279
|
-
const :verification, T.nilable(Inttegro::
|
|
1280
|
-
const :bank_account, T.nilable(Inttegro::
|
|
1281
|
-
const :owner, T.nilable(Inttegro::
|
|
1282
|
-
const :wallet, T.nilable(Inttegro::
|
|
1260
|
+
const :verification, T.nilable(Inttegro::FinancialAccountDetailsVerification), default: nil
|
|
1261
|
+
const :bank_account, T.nilable(Inttegro::CreatedFinancialAccountBank), default: nil
|
|
1262
|
+
const :owner, T.nilable(Inttegro::CreatedFinancialAccountOwner), default: nil
|
|
1263
|
+
const :wallet, T.nilable(Inttegro::FinancialAccountWallet), default: nil
|
|
1283
1264
|
end
|
|
1284
1265
|
|
|
1285
1266
|
class CreateFinancialAccountResponse < T::Struct
|
|
1286
|
-
const :account, T.nilable(Inttegro::
|
|
1267
|
+
const :account, T.nilable(Inttegro::CreatedFinancialAccount), default: nil
|
|
1287
1268
|
end
|
|
1288
1269
|
|
|
1289
1270
|
class MessageTemplateSMSContent < T::Struct
|
|
@@ -1302,6 +1283,16 @@ module Inttegro
|
|
|
1302
1283
|
|
|
1303
1284
|
CreateMessageTemplateRequest = T.type_alias { T.any(Inttegro::CreateSMSMessageTemplateRequest, Inttegro::CreateEmailMessageTemplateRequest) }
|
|
1304
1285
|
|
|
1286
|
+
class PaymentMethodDataMobileMoney < T::Struct
|
|
1287
|
+
const :network, Inttegro::MobileMoneyNetwork
|
|
1288
|
+
const :account_number, String
|
|
1289
|
+
end
|
|
1290
|
+
|
|
1291
|
+
class PaymentMethodData < T::Struct
|
|
1292
|
+
const :type, Inttegro::PaymentMethodDataType
|
|
1293
|
+
const :mobile_money, T.nilable(Inttegro::PaymentMethodDataMobileMoney), default: nil
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1305
1296
|
class CreateOrderExistingCustomerRequestMeta < T::Struct
|
|
1306
1297
|
const :idempotency_key, T.nilable(String), default: nil
|
|
1307
1298
|
end
|
|
@@ -1373,6 +1364,7 @@ module Inttegro
|
|
|
1373
1364
|
class CreateOrderExistingCustomer < T::Struct
|
|
1374
1365
|
const :customer_id, String
|
|
1375
1366
|
const :payment_method_id, T.nilable(String), default: nil
|
|
1367
|
+
const :payment_method_data, T.nilable(Inttegro::PaymentMethodData), default: nil
|
|
1376
1368
|
const :receipt_number, T.nilable(String), default: nil
|
|
1377
1369
|
const :statement_descriptor, T.nilable(String), default: nil
|
|
1378
1370
|
const :statement_descriptor_prefix, T.nilable(String), default: nil
|
|
@@ -1407,6 +1399,7 @@ module Inttegro
|
|
|
1407
1399
|
|
|
1408
1400
|
class CreateOrderNewCustomer < T::Struct
|
|
1409
1401
|
const :customer_data, Inttegro::CustomerData
|
|
1402
|
+
const :payment_method_data, T.nilable(Inttegro::PaymentMethodData), default: nil
|
|
1410
1403
|
const :number, T.nilable(String), default: nil
|
|
1411
1404
|
const :receipt_number, T.nilable(String), default: nil
|
|
1412
1405
|
const :statement_descriptor, T.nilable(String), default: nil
|
|
@@ -1677,7 +1670,7 @@ module Inttegro
|
|
|
1677
1670
|
end
|
|
1678
1671
|
|
|
1679
1672
|
class DisableAutomaticPayoutsRequest < T::Struct
|
|
1680
|
-
# This
|
|
1673
|
+
# This object intentionally has no fields.
|
|
1681
1674
|
end
|
|
1682
1675
|
|
|
1683
1676
|
class PayoutSettingsMutationScheduleSpec < T::Struct
|
|
@@ -1708,11 +1701,11 @@ module Inttegro
|
|
|
1708
1701
|
end
|
|
1709
1702
|
|
|
1710
1703
|
class DisableFinancialAccountPullResponse < T::Struct
|
|
1711
|
-
const :account, T.nilable(Inttegro::
|
|
1704
|
+
const :account, T.nilable(Inttegro::ConnectedFinancialAccount), default: nil
|
|
1712
1705
|
end
|
|
1713
1706
|
|
|
1714
1707
|
class DisableFinancialAccountPushResponse < T::Struct
|
|
1715
|
-
const :account, T.nilable(Inttegro::
|
|
1708
|
+
const :account, T.nilable(Inttegro::ConnectedFinancialAccount), default: nil
|
|
1716
1709
|
end
|
|
1717
1710
|
|
|
1718
1711
|
class DisactivatePaymentMethodRequest < T::Struct
|
|
@@ -1720,25 +1713,15 @@ module Inttegro
|
|
|
1720
1713
|
end
|
|
1721
1714
|
|
|
1722
1715
|
class DisactivatePaymentMethodResponse < T::Struct
|
|
1723
|
-
const :payment_method, T.nilable(Inttegro::
|
|
1724
|
-
end
|
|
1725
|
-
|
|
1726
|
-
class FinancialAccountCompactResponse < T::Struct
|
|
1727
|
-
const :created_at, String
|
|
1728
|
-
const :currency, String
|
|
1729
|
-
const :description, T.nilable(String), default: nil
|
|
1730
|
-
const :disconnected_at, T.nilable(String), default: nil
|
|
1731
|
-
const :id, String
|
|
1732
|
-
const :label, T.nilable(String), default: nil
|
|
1733
|
-
const :type, Inttegro::FinancialAccountType
|
|
1716
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
1734
1717
|
end
|
|
1735
1718
|
|
|
1736
1719
|
class DisconnectFinancialAccountResponse < T::Struct
|
|
1737
|
-
const :account, T.nilable(Inttegro::
|
|
1720
|
+
const :account, T.nilable(Inttegro::CompactFinancialAccount), default: nil
|
|
1738
1721
|
end
|
|
1739
1722
|
|
|
1740
1723
|
class EnableAutomaticPayoutsRequest < T::Struct
|
|
1741
|
-
# This
|
|
1724
|
+
# This object intentionally has no fields.
|
|
1742
1725
|
end
|
|
1743
1726
|
|
|
1744
1727
|
class EnableAutomaticPayoutsResponse < T::Struct
|
|
@@ -1746,11 +1729,11 @@ module Inttegro
|
|
|
1746
1729
|
end
|
|
1747
1730
|
|
|
1748
1731
|
class EnableFinancialAccountPullResponse < T::Struct
|
|
1749
|
-
const :account, T.nilable(Inttegro::
|
|
1732
|
+
const :account, T.nilable(Inttegro::ConnectedFinancialAccount), default: nil
|
|
1750
1733
|
end
|
|
1751
1734
|
|
|
1752
1735
|
class EnableFinancialAccountPushResponse < T::Struct
|
|
1753
|
-
const :account, T.nilable(Inttegro::
|
|
1736
|
+
const :account, T.nilable(Inttegro::ConnectedFinancialAccount), default: nil
|
|
1754
1737
|
end
|
|
1755
1738
|
|
|
1756
1739
|
class ErrorEnvelope < T::Struct
|
|
@@ -1764,47 +1747,10 @@ module Inttegro
|
|
|
1764
1747
|
const :email, T.nilable(String), default: nil
|
|
1765
1748
|
end
|
|
1766
1749
|
|
|
1767
|
-
class
|
|
1768
|
-
const :
|
|
1769
|
-
const :
|
|
1770
|
-
const :
|
|
1771
|
-
const :cause, T.nilable(String), default: nil
|
|
1772
|
-
const :type, T.nilable(String), default: nil
|
|
1773
|
-
const :code, T.nilable(String), default: nil
|
|
1774
|
-
const :url, T.nilable(String), default: nil
|
|
1775
|
-
end
|
|
1776
|
-
|
|
1777
|
-
class FileContentsRequest < T::Struct
|
|
1778
|
-
const :file_id, String
|
|
1779
|
-
const :disposition, T.nilable(Inttegro::FileDisposition), default: nil
|
|
1780
|
-
const :delivery, T.nilable(Inttegro::FileContentsDeliveryMode), default: nil
|
|
1781
|
-
end
|
|
1782
|
-
|
|
1783
|
-
class FileDelivery < T::Struct
|
|
1784
|
-
const :public_url, T.nilable(String), default: nil
|
|
1785
|
-
const :cache_control, T.nilable(String), default: nil
|
|
1786
|
-
const :content_type, T.nilable(String), default: nil
|
|
1787
|
-
end
|
|
1788
|
-
|
|
1789
|
-
class FileLatestError < T::Struct
|
|
1790
|
-
const :code, T.nilable(String), default: nil
|
|
1791
|
-
const :message, T.nilable(String), default: nil
|
|
1792
|
-
const :retryable, T.nilable(T::Boolean), default: nil
|
|
1793
|
-
const :at, T.nilable(String), default: nil
|
|
1794
|
-
end
|
|
1795
|
-
|
|
1796
|
-
class FileLinkPage < T::Struct
|
|
1797
|
-
const :number, Integer
|
|
1798
|
-
const :size, Integer
|
|
1799
|
-
const :file_links, T::Array[Inttegro::FileLinkObject]
|
|
1800
|
-
end
|
|
1801
|
-
|
|
1802
|
-
class FileLinkPageResponse < T::Struct
|
|
1803
|
-
const :page, Inttegro::FileLinkPage
|
|
1804
|
-
end
|
|
1805
|
-
|
|
1806
|
-
class FileLinkResponse < T::Struct
|
|
1807
|
-
const :file_link, Inttegro::FileLinkObject
|
|
1750
|
+
class FileSource < T::Struct
|
|
1751
|
+
const :type, T.nilable(Inttegro::FileSourceType), default: nil
|
|
1752
|
+
const :service, T.nilable(String), default: nil
|
|
1753
|
+
const :upload_request_id, T.nilable(String), default: nil
|
|
1808
1754
|
end
|
|
1809
1755
|
|
|
1810
1756
|
class FileMedia < T::Struct
|
|
@@ -1820,18 +1766,25 @@ module Inttegro
|
|
|
1820
1766
|
const :aspect_ratio, T.nilable(String), default: nil
|
|
1821
1767
|
end
|
|
1822
1768
|
|
|
1823
|
-
class FileSource < T::Struct
|
|
1824
|
-
const :type, T.nilable(Inttegro::FileSourceType), default: nil
|
|
1825
|
-
const :service, T.nilable(String), default: nil
|
|
1826
|
-
const :upload_request_id, T.nilable(String), default: nil
|
|
1827
|
-
end
|
|
1828
|
-
|
|
1829
1769
|
class PublicFileStorage < T::Struct
|
|
1830
1770
|
const :encoding, Inttegro::FileStorageEncoding
|
|
1831
1771
|
const :stored_size, Integer
|
|
1832
1772
|
end
|
|
1833
1773
|
|
|
1834
|
-
class
|
|
1774
|
+
class FileDelivery < T::Struct
|
|
1775
|
+
const :public_url, T.nilable(String), default: nil
|
|
1776
|
+
const :cache_control, T.nilable(String), default: nil
|
|
1777
|
+
const :content_type, T.nilable(String), default: nil
|
|
1778
|
+
end
|
|
1779
|
+
|
|
1780
|
+
class FileLatestError < T::Struct
|
|
1781
|
+
const :code, T.nilable(String), default: nil
|
|
1782
|
+
const :message, T.nilable(String), default: nil
|
|
1783
|
+
const :retryable, T.nilable(T::Boolean), default: nil
|
|
1784
|
+
const :at, T.nilable(String), default: nil
|
|
1785
|
+
end
|
|
1786
|
+
|
|
1787
|
+
class File < T::Struct
|
|
1835
1788
|
const :id, String
|
|
1836
1789
|
const :purpose, String
|
|
1837
1790
|
const :status, Inttegro::FileStatus
|
|
@@ -1855,36 +1808,105 @@ module Inttegro
|
|
|
1855
1808
|
const :expires_at, T.nilable(String), default: nil
|
|
1856
1809
|
end
|
|
1857
1810
|
|
|
1858
|
-
class
|
|
1859
|
-
const :
|
|
1860
|
-
const :
|
|
1861
|
-
const :
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
const :
|
|
1811
|
+
class FileApiError < T::Struct
|
|
1812
|
+
const :message, T.nilable(String), default: nil
|
|
1813
|
+
const :fix_code, T.nilable(String), default: nil
|
|
1814
|
+
const :detail, T.nilable(String), default: nil
|
|
1815
|
+
const :cause, T.nilable(String), default: nil
|
|
1816
|
+
const :type, T.nilable(String), default: nil
|
|
1817
|
+
const :code, T.nilable(String), default: nil
|
|
1818
|
+
const :url, T.nilable(String), default: nil
|
|
1866
1819
|
end
|
|
1867
1820
|
|
|
1868
|
-
class
|
|
1821
|
+
class FileContentsRequest < T::Struct
|
|
1869
1822
|
const :file_id, String
|
|
1870
|
-
const :
|
|
1871
|
-
const :
|
|
1872
|
-
const :reference_kind, T.nilable(String), default: nil
|
|
1873
|
-
const :purpose, T.nilable(String), default: nil
|
|
1823
|
+
const :disposition, T.nilable(Inttegro::FileDisposition), default: nil
|
|
1824
|
+
const :delivery, T.nilable(Inttegro::FileContentsDeliveryMode), default: nil
|
|
1874
1825
|
end
|
|
1875
1826
|
|
|
1876
|
-
class
|
|
1877
|
-
const :
|
|
1878
|
-
const :
|
|
1879
|
-
const :
|
|
1827
|
+
class FileLinkAccess < T::Struct
|
|
1828
|
+
const :max_accesses, T.nilable(Integer), default: nil
|
|
1829
|
+
const :access_count, T.nilable(Integer), default: nil
|
|
1830
|
+
const :last_accessed_at, T.nilable(String), default: nil
|
|
1831
|
+
const :allow_download, T.nilable(T::Boolean), default: nil
|
|
1832
|
+
const :allowed_origins, T.nilable(T::Array[String]), default: nil
|
|
1880
1833
|
end
|
|
1881
1834
|
|
|
1882
|
-
class
|
|
1883
|
-
const :
|
|
1835
|
+
class FileLinkActor < T::Struct
|
|
1836
|
+
const :email, T.nilable(String), default: nil
|
|
1837
|
+
const :id, T.nilable(String), default: nil
|
|
1838
|
+
const :name, T.nilable(String), default: nil
|
|
1839
|
+
const :type, String
|
|
1884
1840
|
end
|
|
1885
1841
|
|
|
1886
|
-
class
|
|
1887
|
-
const :
|
|
1842
|
+
class FileLink < T::Struct
|
|
1843
|
+
const :id, String
|
|
1844
|
+
const :kind, Inttegro::FileLinkKind
|
|
1845
|
+
const :file_id, String
|
|
1846
|
+
const :purpose, String
|
|
1847
|
+
const :status, Inttegro::FileLinkStatus
|
|
1848
|
+
const :active, T::Boolean
|
|
1849
|
+
const :delivery, Inttegro::FileLinkDelivery
|
|
1850
|
+
const :access, Inttegro::FileLinkAccess
|
|
1851
|
+
const :created_by, Inttegro::FileLinkActor
|
|
1852
|
+
const :revoked_by, T.nilable(Inttegro::FileLinkActor), default: nil
|
|
1853
|
+
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
1854
|
+
const :metadata, T.nilable(T::Hash[String, String]), default: nil
|
|
1855
|
+
const :created_at, String
|
|
1856
|
+
const :updated_at, String
|
|
1857
|
+
const :expires_at, String
|
|
1858
|
+
const :revoked_at, T.nilable(String), default: nil
|
|
1859
|
+
end
|
|
1860
|
+
|
|
1861
|
+
class FileLinkCreation < T::Struct
|
|
1862
|
+
const :file_link, Inttegro::FileLink
|
|
1863
|
+
const :url, String
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1866
|
+
class FileLinkPage < T::Struct
|
|
1867
|
+
const :number, Integer
|
|
1868
|
+
const :size, Integer
|
|
1869
|
+
const :file_links, T::Array[Inttegro::FileLink]
|
|
1870
|
+
end
|
|
1871
|
+
|
|
1872
|
+
class FileLinkPageResponse < T::Struct
|
|
1873
|
+
const :page, Inttegro::FileLinkPage
|
|
1874
|
+
end
|
|
1875
|
+
|
|
1876
|
+
class FileLinkResponse < T::Struct
|
|
1877
|
+
const :file_link, Inttegro::FileLink
|
|
1878
|
+
end
|
|
1879
|
+
|
|
1880
|
+
class FilePage < T::Struct
|
|
1881
|
+
const :number, Integer
|
|
1882
|
+
const :size, Integer
|
|
1883
|
+
const :files, T::Array[Inttegro::File]
|
|
1884
|
+
end
|
|
1885
|
+
|
|
1886
|
+
class FilePageResponse < T::Struct
|
|
1887
|
+
const :page, Inttegro::FilePage
|
|
1888
|
+
end
|
|
1889
|
+
|
|
1890
|
+
class FileReferenceInput < T::Struct
|
|
1891
|
+
const :file_id, String
|
|
1892
|
+
const :field, String
|
|
1893
|
+
const :reference, T.nilable(String), default: nil
|
|
1894
|
+
const :reference_kind, T.nilable(String), default: nil
|
|
1895
|
+
const :purpose, T.nilable(String), default: nil
|
|
1896
|
+
end
|
|
1897
|
+
|
|
1898
|
+
class FileReferenceReconcileRequest < T::Struct
|
|
1899
|
+
const :resource_type, String
|
|
1900
|
+
const :resource_id, String
|
|
1901
|
+
const :references, T.nilable(T::Array[Inttegro::FileReferenceInput]), default: nil
|
|
1902
|
+
end
|
|
1903
|
+
|
|
1904
|
+
class FileReferenceReconciliation < T::Struct
|
|
1905
|
+
const :reconciled, T::Boolean
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
class FileResponse < T::Struct
|
|
1909
|
+
const :file, Inttegro::File
|
|
1888
1910
|
end
|
|
1889
1911
|
|
|
1890
1912
|
class FileServiceHealthResponse < T::Struct
|
|
@@ -1921,7 +1943,7 @@ module Inttegro
|
|
|
1921
1943
|
end
|
|
1922
1944
|
|
|
1923
1945
|
class FinancialAccountDoshAccount < T::Struct
|
|
1924
|
-
# This
|
|
1946
|
+
# This object intentionally has no fields.
|
|
1925
1947
|
end
|
|
1926
1948
|
|
|
1927
1949
|
class FinancialAccount < T::Struct
|
|
@@ -1941,24 +1963,12 @@ module Inttegro
|
|
|
1941
1963
|
const :supplied, T.nilable(Inttegro::ResourceSupply), default: nil
|
|
1942
1964
|
const :type, Inttegro::FinancialAccountType
|
|
1943
1965
|
const :universal_fingerprint, T.nilable(String), default: nil
|
|
1944
|
-
const :verification, T.nilable(Inttegro::
|
|
1945
|
-
const :bank_account, T.nilable(Inttegro::
|
|
1966
|
+
const :verification, T.nilable(Inttegro::FinancialAccountDetailsVerification), default: nil
|
|
1967
|
+
const :bank_account, T.nilable(Inttegro::FinancialAccountBank), default: nil
|
|
1946
1968
|
const :disconnected_at, T.nilable(String), default: nil
|
|
1947
1969
|
const :dosh_account, T.nilable(Inttegro::FinancialAccountDoshAccount), default: nil
|
|
1948
|
-
const :owner, T.nilable(Inttegro::
|
|
1949
|
-
const :wallet, T.nilable(Inttegro::
|
|
1950
|
-
end
|
|
1951
|
-
|
|
1952
|
-
class FinancialAccountAddressUpdateResponse < T::Struct
|
|
1953
|
-
const :city, String
|
|
1954
|
-
const :country, String
|
|
1955
|
-
const :id, T.nilable(String), default: nil
|
|
1956
|
-
const :line_1, String
|
|
1957
|
-
const :line_2, T.nilable(String), default: nil
|
|
1958
|
-
const :name, T.nilable(String), default: nil
|
|
1959
|
-
const :phone, T.nilable(String), default: nil
|
|
1960
|
-
const :post_code, T.nilable(String), default: nil
|
|
1961
|
-
const :region, String
|
|
1970
|
+
const :owner, T.nilable(Inttegro::FinancialAccountOwner), default: nil
|
|
1971
|
+
const :wallet, T.nilable(Inttegro::FinancialAccountWallet), default: nil
|
|
1962
1972
|
end
|
|
1963
1973
|
|
|
1964
1974
|
class FinancialAccountOwnerInputAddress < T::Struct
|
|
@@ -2010,41 +2020,6 @@ module Inttegro
|
|
|
2010
2020
|
const :bank_account, Inttegro::FinancialAccountBankRequestBankAccount
|
|
2011
2021
|
end
|
|
2012
2022
|
|
|
2013
|
-
class GhanaBankAccountUpdateResponse < T::Struct
|
|
2014
|
-
const :branch, T.nilable(String), default: nil
|
|
2015
|
-
const :holder, Inttegro::FinancialAccountOwnerResponse
|
|
2016
|
-
const :name, String
|
|
2017
|
-
const :number, String
|
|
2018
|
-
const :sort_code, T.nilable(String), default: nil
|
|
2019
|
-
const :swift_code, T.nilable(String), default: nil
|
|
2020
|
-
end
|
|
2021
|
-
|
|
2022
|
-
class FinancialAccountBankUpdateResponse < T::Struct
|
|
2023
|
-
const :id, String
|
|
2024
|
-
const :type, Inttegro::BankAccountType
|
|
2025
|
-
const :ghana_bank_account, T.nilable(Inttegro::GhanaBankAccountUpdateResponse), default: nil
|
|
2026
|
-
end
|
|
2027
|
-
|
|
2028
|
-
class FinancialAccountCommonResponse < T::Struct
|
|
2029
|
-
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
2030
|
-
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
2031
|
-
const :archived_at, T.nilable(String), default: nil
|
|
2032
|
-
const :created_at, String
|
|
2033
|
-
const :currency, String
|
|
2034
|
-
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
2035
|
-
const :description, T.nilable(String), default: nil
|
|
2036
|
-
const :id, String
|
|
2037
|
-
const :institution, T.nilable(Inttegro::FinancialInstitution), default: nil
|
|
2038
|
-
const :label, T.nilable(String), default: nil
|
|
2039
|
-
const :pull_configuration, T.nilable(Inttegro::FinancialAccountPullConfiguration), default: nil
|
|
2040
|
-
const :push_configuration, T.nilable(Inttegro::FinancialAccountPushConfiguration), default: nil
|
|
2041
|
-
const :reference, T.nilable(String), default: nil
|
|
2042
|
-
const :supplied, T.nilable(Inttegro::ResourceSupply), default: nil
|
|
2043
|
-
const :type, Inttegro::FinancialAccountType
|
|
2044
|
-
const :universal_fingerprint, T.nilable(String), default: nil
|
|
2045
|
-
const :verification, T.nilable(Inttegro::FinancialAccountCommonResponseVerification), default: nil
|
|
2046
|
-
end
|
|
2047
|
-
|
|
2048
2023
|
class FinancialAccountWalletRequestWalletMobileMoney < T::Struct
|
|
2049
2024
|
const :account_number, String
|
|
2050
2025
|
const :network, Inttegro::MobileMoneyNetwork
|
|
@@ -2069,7 +2044,7 @@ module Inttegro
|
|
|
2069
2044
|
end
|
|
2070
2045
|
|
|
2071
2046
|
class FinancialAccountDoshRequestDoshAccount < T::Struct
|
|
2072
|
-
# This
|
|
2047
|
+
# This object intentionally has no fields.
|
|
2073
2048
|
end
|
|
2074
2049
|
|
|
2075
2050
|
class FinancialAccountDoshRequest < T::Struct
|
|
@@ -2087,6 +2062,26 @@ module Inttegro
|
|
|
2087
2062
|
|
|
2088
2063
|
FinancialAccountCreateRequest = T.type_alias { T.any(Inttegro::FinancialAccountWalletRequest, Inttegro::FinancialAccountBankRequest, Inttegro::FinancialAccountDoshRequest) }
|
|
2089
2064
|
|
|
2065
|
+
class FinancialAccountDetails < T::Struct
|
|
2066
|
+
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
2067
|
+
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
2068
|
+
const :archived_at, T.nilable(String), default: nil
|
|
2069
|
+
const :created_at, String
|
|
2070
|
+
const :currency, String
|
|
2071
|
+
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
2072
|
+
const :description, T.nilable(String), default: nil
|
|
2073
|
+
const :id, String
|
|
2074
|
+
const :institution, T.nilable(Inttegro::FinancialInstitution), default: nil
|
|
2075
|
+
const :label, T.nilable(String), default: nil
|
|
2076
|
+
const :pull_configuration, T.nilable(Inttegro::FinancialAccountPullConfiguration), default: nil
|
|
2077
|
+
const :push_configuration, T.nilable(Inttegro::FinancialAccountPushConfiguration), default: nil
|
|
2078
|
+
const :reference, T.nilable(String), default: nil
|
|
2079
|
+
const :supplied, T.nilable(Inttegro::ResourceSupply), default: nil
|
|
2080
|
+
const :type, Inttegro::FinancialAccountType
|
|
2081
|
+
const :universal_fingerprint, T.nilable(String), default: nil
|
|
2082
|
+
const :verification, T.nilable(Inttegro::FinancialAccountDetailsVerification), default: nil
|
|
2083
|
+
end
|
|
2084
|
+
|
|
2090
2085
|
class FinancialAccountDisableRequest < T::Struct
|
|
2091
2086
|
const :account_id, String
|
|
2092
2087
|
const :unset_as_payout_destination, T.nilable(T::Boolean), default: nil
|
|
@@ -2118,11 +2113,6 @@ module Inttegro
|
|
|
2118
2113
|
const :address, T.nilable(Inttegro::FinancialAccountOwnerUpdateInputAddress), default: nil
|
|
2119
2114
|
end
|
|
2120
2115
|
|
|
2121
|
-
class FinancialAccountOwnerUpdateResponse < T::Struct
|
|
2122
|
-
const :address, Inttegro::FinancialAccountAddressUpdateResponse
|
|
2123
|
-
const :name, String
|
|
2124
|
-
end
|
|
2125
|
-
|
|
2126
2116
|
class FinancialAccountPage < T::Struct
|
|
2127
2117
|
const :accounts, T::Array[Inttegro::FinancialAccount]
|
|
2128
2118
|
const :number, Integer
|
|
@@ -2155,130 +2145,26 @@ module Inttegro
|
|
|
2155
2145
|
const :reference, T.nilable(String), default: nil
|
|
2156
2146
|
end
|
|
2157
2147
|
|
|
2158
|
-
class
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
class FinancialAccountWalletRawResponse < T::Struct
|
|
2163
|
-
const :id, String
|
|
2164
|
-
const :type, Inttegro::WalletType
|
|
2165
|
-
const :mobile_money, T.nilable(Inttegro::FinancialAccountWalletResponseMobileMoney), default: nil
|
|
2166
|
-
end
|
|
2167
|
-
|
|
2168
|
-
class FinancialAccountUpdateResponse < T::Struct
|
|
2169
|
-
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
2170
|
-
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
2171
|
-
const :archived_at, T.nilable(String), default: nil
|
|
2172
|
-
const :created_at, String
|
|
2173
|
-
const :currency, String
|
|
2174
|
-
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
2175
|
-
const :description, T.nilable(String), default: nil
|
|
2176
|
-
const :id, String
|
|
2177
|
-
const :institution, T.nilable(Inttegro::FinancialInstitution), default: nil
|
|
2148
|
+
class FinancialAccountWirePageAccountsItem < T::Struct
|
|
2149
|
+
const :id, T.nilable(String), default: nil
|
|
2150
|
+
const :type, T.nilable(Inttegro::FinancialAccountType), default: nil
|
|
2151
|
+
const :currency, T.nilable(String), default: nil
|
|
2178
2152
|
const :label, T.nilable(String), default: nil
|
|
2179
|
-
const :
|
|
2180
|
-
const :push_configuration, T.nilable(Inttegro::FinancialAccountPushConfiguration), default: nil
|
|
2153
|
+
const :description, T.nilable(String), default: nil
|
|
2181
2154
|
const :reference, T.nilable(String), default: nil
|
|
2182
|
-
const :
|
|
2183
|
-
const :
|
|
2184
|
-
const :
|
|
2185
|
-
const :verification, T.nilable(Inttegro::FinancialAccountCommonResponseVerification), default: nil
|
|
2186
|
-
const :bank_account, T.nilable(Inttegro::FinancialAccountBankUpdateResponse), default: nil
|
|
2187
|
-
const :disconnected_at, T.nilable(String), default: nil
|
|
2188
|
-
const :dosh_account, T.nilable(Inttegro::FinancialAccountUpdateResponseDoshAccount), default: nil
|
|
2189
|
-
const :owner, T.nilable(Inttegro::FinancialAccountOwnerUpdateResponse), default: nil
|
|
2190
|
-
const :wallet, T.nilable(Inttegro::FinancialAccountWalletRawResponse), default: nil
|
|
2191
|
-
end
|
|
2192
|
-
|
|
2193
|
-
class FulfillUploadRequestRequest < T::Struct
|
|
2194
|
-
const :file, String
|
|
2195
|
-
end
|
|
2196
|
-
|
|
2197
|
-
class UploadRequestActor < T::Struct
|
|
2198
|
-
const :email, T.nilable(String), default: nil
|
|
2199
|
-
const :id, T.nilable(String), default: nil
|
|
2200
|
-
const :name, T.nilable(String), default: nil
|
|
2201
|
-
const :type, String
|
|
2202
|
-
end
|
|
2203
|
-
|
|
2204
|
-
class UploadRequestAttempts < T::Struct
|
|
2205
|
-
const :max_attempts, T.nilable(Integer), default: nil
|
|
2206
|
-
const :attempt_count, Integer
|
|
2207
|
-
const :failed_attempt_count, Integer
|
|
2208
|
-
const :last_attempted_at, T.nilable(String), default: nil
|
|
2209
|
-
end
|
|
2210
|
-
|
|
2211
|
-
class UploadRequestLatestError < T::Struct
|
|
2212
|
-
const :code, T.nilable(String), default: nil
|
|
2213
|
-
const :param, T.nilable(String), default: nil
|
|
2214
|
-
const :message, T.nilable(String), default: nil
|
|
2215
|
-
const :retryable, T.nilable(T::Boolean), default: nil
|
|
2216
|
-
const :at, T.nilable(String), default: nil
|
|
2217
|
-
end
|
|
2218
|
-
|
|
2219
|
-
class UploadRequestReviewReason < T::Struct
|
|
2220
|
-
const :code, String
|
|
2221
|
-
const :message, String
|
|
2222
|
-
const :param, T.nilable(String), default: nil
|
|
2223
|
-
end
|
|
2224
|
-
|
|
2225
|
-
class UploadRequestReview < T::Struct
|
|
2226
|
-
const :created_at, String
|
|
2227
|
-
const :decision, Inttegro::UploadReviewDecision
|
|
2228
|
-
const :file_id, T.nilable(String), default: nil
|
|
2229
|
-
const :public_message, T.nilable(String), default: nil
|
|
2230
|
-
const :reasons, T.nilable(T::Array[Inttegro::UploadRequestReviewReason]), default: nil
|
|
2231
|
-
const :reviewed_at, String
|
|
2232
|
-
const :type, Inttegro::UploadReviewType
|
|
2233
|
-
end
|
|
2234
|
-
|
|
2235
|
-
class UploadRequestAttempt < T::Struct
|
|
2236
|
-
const :attempted_at, String
|
|
2237
|
-
const :content_type, T.nilable(String), default: nil
|
|
2238
|
-
const :declared_size, T.nilable(Integer), default: nil
|
|
2239
|
-
const :error, T.nilable(Inttegro::UploadRequestLatestError), default: nil
|
|
2240
|
-
const :failed_at, T.nilable(String), default: nil
|
|
2241
|
-
const :file_id, T.nilable(String), default: nil
|
|
2242
|
-
const :filename, T.nilable(String), default: nil
|
|
2243
|
-
const :id, String
|
|
2244
|
-
const :ordinal, Integer
|
|
2245
|
-
const :review, T.nilable(Inttegro::UploadRequestReview), default: nil
|
|
2246
|
-
const :status, String
|
|
2247
|
-
const :succeeded_at, T.nilable(String), default: nil
|
|
2248
|
-
const :upload_request_id, String
|
|
2155
|
+
const :created_at, T.nilable(String), default: nil
|
|
2156
|
+
const :archived_at, T.nilable(String), default: nil
|
|
2157
|
+
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
2249
2158
|
end
|
|
2250
2159
|
|
|
2251
|
-
class
|
|
2252
|
-
const :
|
|
2253
|
-
const :
|
|
2254
|
-
const :
|
|
2255
|
-
const :active, T::Boolean
|
|
2256
|
-
const :file_id, T.nilable(String), default: nil
|
|
2257
|
-
const :upload_url, T.nilable(String), default: nil
|
|
2258
|
-
const :constraints, Inttegro::UploadRequestConstraints
|
|
2259
|
-
const :display_data, Inttegro::UploadRequestDisplay, name: "display"
|
|
2260
|
-
const :subject, Inttegro::FileParty
|
|
2261
|
-
const :recipient, Inttegro::FileParty
|
|
2262
|
-
const :resource, Inttegro::FileResource
|
|
2263
|
-
const :requester, Inttegro::UploadRequestActor
|
|
2264
|
-
const :attempts, Inttegro::UploadRequestAttempts
|
|
2265
|
-
const :latest_error, T.nilable(Inttegro::UploadRequestLatestError), default: nil
|
|
2266
|
-
const :canceled_by, T.nilable(Inttegro::UploadRequestActor), default: nil
|
|
2267
|
-
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
2268
|
-
const :metadata, T.nilable(T::Hash[String, String]), default: nil
|
|
2269
|
-
const :created_at, String
|
|
2270
|
-
const :updated_at, String
|
|
2271
|
-
const :expires_at, String
|
|
2272
|
-
const :uploading_at, T.nilable(String), default: nil
|
|
2273
|
-
const :fulfilled_at, T.nilable(String), default: nil
|
|
2274
|
-
const :expired_at, T.nilable(String), default: nil
|
|
2275
|
-
const :canceled_at, T.nilable(String), default: nil
|
|
2276
|
-
const :attempt, T.nilable(Inttegro::UploadRequestAttempt), default: nil
|
|
2160
|
+
class FinancialAccountWirePage < T::Struct
|
|
2161
|
+
const :number, T.nilable(Integer), default: nil
|
|
2162
|
+
const :size, T.nilable(Integer), default: nil
|
|
2163
|
+
const :accounts, T.nilable(T::Array[Inttegro::FinancialAccountWirePageAccountsItem]), default: nil
|
|
2277
2164
|
end
|
|
2278
2165
|
|
|
2279
|
-
class
|
|
2280
|
-
const :
|
|
2281
|
-
const :file, Inttegro::FileUploadReceipt
|
|
2166
|
+
class FulfillUploadRequestRequest < T::Struct
|
|
2167
|
+
const :file, String
|
|
2282
2168
|
end
|
|
2283
2169
|
|
|
2284
2170
|
class GenerateSecretKeyRequest < T::Struct
|
|
@@ -2298,7 +2184,7 @@ module Inttegro
|
|
|
2298
2184
|
end
|
|
2299
2185
|
|
|
2300
2186
|
class GetPaymentMethodSettingsRequest < T::Struct
|
|
2301
|
-
# This
|
|
2187
|
+
# This object intentionally has no fields.
|
|
2302
2188
|
end
|
|
2303
2189
|
|
|
2304
2190
|
class PaymentMethodTypeSetting < T::Struct
|
|
@@ -2321,7 +2207,7 @@ module Inttegro
|
|
|
2321
2207
|
end
|
|
2322
2208
|
|
|
2323
2209
|
class GetPayoutSettingsRequest < T::Struct
|
|
2324
|
-
# This
|
|
2210
|
+
# This object intentionally has no fields.
|
|
2325
2211
|
end
|
|
2326
2212
|
|
|
2327
2213
|
class PayoutSettingsLookupScheduleAgingSpec < T::Struct
|
|
@@ -2386,14 +2272,10 @@ module Inttegro
|
|
|
2386
2272
|
end
|
|
2387
2273
|
|
|
2388
2274
|
class ListCountrySpecsRequest < T::Struct
|
|
2389
|
-
# This
|
|
2275
|
+
# This object intentionally has no fields.
|
|
2390
2276
|
end
|
|
2391
2277
|
|
|
2392
|
-
class
|
|
2393
|
-
const :countries, T::Hash[String, Inttegro::CountrySpecification]
|
|
2394
|
-
end
|
|
2395
|
-
|
|
2396
|
-
class LookupApplicationResponseApp < T::Struct
|
|
2278
|
+
class LookedUpApplication < T::Struct
|
|
2397
2279
|
const :id, String
|
|
2398
2280
|
const :name, String
|
|
2399
2281
|
const :alias, T.nilable(String), default: nil
|
|
@@ -2404,7 +2286,7 @@ module Inttegro
|
|
|
2404
2286
|
end
|
|
2405
2287
|
|
|
2406
2288
|
class LookupApplicationResponse < T::Struct
|
|
2407
|
-
const :app, Inttegro::
|
|
2289
|
+
const :app, Inttegro::LookedUpApplication
|
|
2408
2290
|
end
|
|
2409
2291
|
|
|
2410
2292
|
class LookupBalanceTransactionRequest < T::Struct
|
|
@@ -2412,7 +2294,7 @@ module Inttegro
|
|
|
2412
2294
|
end
|
|
2413
2295
|
|
|
2414
2296
|
class LookupBalancesRequest < T::Struct
|
|
2415
|
-
# This
|
|
2297
|
+
# This object intentionally has no fields.
|
|
2416
2298
|
end
|
|
2417
2299
|
|
|
2418
2300
|
class LookupBroadcastRequest < T::Struct
|
|
@@ -2460,7 +2342,7 @@ module Inttegro
|
|
|
2460
2342
|
end
|
|
2461
2343
|
|
|
2462
2344
|
class LookupPaymentMethodResponse < T::Struct
|
|
2463
|
-
const :payment_method, T.nilable(Inttegro::
|
|
2345
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
2464
2346
|
end
|
|
2465
2347
|
|
|
2466
2348
|
class LookupPayoutRequest < T::Struct
|
|
@@ -2559,6 +2441,10 @@ module Inttegro
|
|
|
2559
2441
|
const :id, String
|
|
2560
2442
|
end
|
|
2561
2443
|
|
|
2444
|
+
class RenderedSMSMessageTemplate < T::Struct
|
|
2445
|
+
const :full_message, String
|
|
2446
|
+
end
|
|
2447
|
+
|
|
2562
2448
|
class MessageTemplateScannedLink < T::Struct
|
|
2563
2449
|
const :host, T.nilable(String), default: nil
|
|
2564
2450
|
const :raw, String
|
|
@@ -2578,6 +2464,28 @@ module Inttegro
|
|
|
2578
2464
|
const :status, Inttegro::ContentSafetyStatus
|
|
2579
2465
|
end
|
|
2580
2466
|
|
|
2467
|
+
class RenderedEmailMessageTemplate < T::Struct
|
|
2468
|
+
const :subject, String
|
|
2469
|
+
const :text, String
|
|
2470
|
+
const :html, T.nilable(String), default: nil
|
|
2471
|
+
const :from, T.nilable(Inttegro::MessageTemplateMailbox), default: nil
|
|
2472
|
+
const :reply_to, T.nilable(Inttegro::MessageTemplateMailbox), default: nil
|
|
2473
|
+
const :headers, T.nilable(T::Hash[String, String]), default: nil
|
|
2474
|
+
const :safety, T.nilable(Inttegro::MessageTemplateSafetyResult), default: nil
|
|
2475
|
+
end
|
|
2476
|
+
|
|
2477
|
+
class RenderedMessageTemplate < T::Struct
|
|
2478
|
+
const :channel, Inttegro::MessageTemplateChannel
|
|
2479
|
+
const :attachments, T.nilable(Inttegro::MessageTemplateAttachmentIDs), default: nil
|
|
2480
|
+
const :sms, T.nilable(Inttegro::RenderedSMSMessageTemplate), default: nil
|
|
2481
|
+
const :email, T.nilable(Inttegro::RenderedEmailMessageTemplate), default: nil
|
|
2482
|
+
end
|
|
2483
|
+
|
|
2484
|
+
class MessageTemplatePreview < T::Struct
|
|
2485
|
+
const :message_template, Inttegro::MessageTemplate
|
|
2486
|
+
const :rendered, Inttegro::RenderedMessageTemplate
|
|
2487
|
+
end
|
|
2488
|
+
|
|
2581
2489
|
class MessageTemplatesPage < T::Struct
|
|
2582
2490
|
const :number, Integer
|
|
2583
2491
|
const :size, Integer
|
|
@@ -2606,6 +2514,11 @@ module Inttegro
|
|
|
2606
2514
|
const :result, Inttegro::OTPVerificationAttemptResult
|
|
2607
2515
|
end
|
|
2608
2516
|
|
|
2517
|
+
class OTPVerification < T::Struct
|
|
2518
|
+
const :transaction, Inttegro::OTPTransaction
|
|
2519
|
+
const :verification_attempt, Inttegro::OTPVerificationAttempt
|
|
2520
|
+
end
|
|
2521
|
+
|
|
2609
2522
|
class OrderDocumentDeliveryAttempt < T::Struct
|
|
2610
2523
|
const :channel, T.nilable(Inttegro::DeliveryChannel), default: nil
|
|
2611
2524
|
const :chime_id, T.nilable(String), default: nil
|
|
@@ -2657,14 +2570,8 @@ module Inttegro
|
|
|
2657
2570
|
const :recipient, T.nilable(String), default: nil
|
|
2658
2571
|
end
|
|
2659
2572
|
|
|
2660
|
-
class PageChimesResponsePage < T::Struct
|
|
2661
|
-
const :number, Integer
|
|
2662
|
-
const :size, Integer
|
|
2663
|
-
const :chimes, T::Array[Inttegro::Chime]
|
|
2664
|
-
end
|
|
2665
|
-
|
|
2666
2573
|
class PageChimesResponse < T::Struct
|
|
2667
|
-
const :page, T.nilable(Inttegro::
|
|
2574
|
+
const :page, T.nilable(Inttegro::ChimePage), default: nil
|
|
2668
2575
|
end
|
|
2669
2576
|
|
|
2670
2577
|
class PageCustomersRequest < T::Struct
|
|
@@ -2697,26 +2604,8 @@ module Inttegro
|
|
|
2697
2604
|
const :page_size, T.nilable(Integer), default: nil
|
|
2698
2605
|
end
|
|
2699
2606
|
|
|
2700
|
-
class PageFinancialAccountsResponsePageAccountsItem < T::Struct
|
|
2701
|
-
const :id, T.nilable(String), default: nil
|
|
2702
|
-
const :type, T.nilable(Inttegro::FinancialAccountType), default: nil
|
|
2703
|
-
const :currency, T.nilable(String), default: nil
|
|
2704
|
-
const :label, T.nilable(String), default: nil
|
|
2705
|
-
const :description, T.nilable(String), default: nil
|
|
2706
|
-
const :reference, T.nilable(String), default: nil
|
|
2707
|
-
const :created_at, T.nilable(String), default: nil
|
|
2708
|
-
const :archived_at, T.nilable(String), default: nil
|
|
2709
|
-
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
2710
|
-
end
|
|
2711
|
-
|
|
2712
|
-
class PageFinancialAccountsResponsePage < T::Struct
|
|
2713
|
-
const :number, T.nilable(Integer), default: nil
|
|
2714
|
-
const :size, T.nilable(Integer), default: nil
|
|
2715
|
-
const :accounts, T.nilable(T::Array[Inttegro::PageFinancialAccountsResponsePageAccountsItem]), default: nil
|
|
2716
|
-
end
|
|
2717
|
-
|
|
2718
2607
|
class PageFinancialAccountsResponse < T::Struct
|
|
2719
|
-
const :page, T.nilable(Inttegro::
|
|
2608
|
+
const :page, T.nilable(Inttegro::FinancialAccountWirePage), default: nil
|
|
2720
2609
|
const :error, T.nilable(Inttegro::ErrorPayload), default: nil
|
|
2721
2610
|
end
|
|
2722
2611
|
|
|
@@ -2748,14 +2637,14 @@ module Inttegro
|
|
|
2748
2637
|
const :page_size, T.nilable(Integer), default: nil
|
|
2749
2638
|
end
|
|
2750
2639
|
|
|
2751
|
-
class
|
|
2640
|
+
class PayoutPage < T::Struct
|
|
2752
2641
|
const :number, Integer
|
|
2753
2642
|
const :size, Integer
|
|
2754
2643
|
const :payouts, T.nilable(T::Array[Inttegro::Payout]), default: nil
|
|
2755
2644
|
end
|
|
2756
2645
|
|
|
2757
2646
|
class PagePayoutsResponse < T::Struct
|
|
2758
|
-
const :page, T.nilable(Inttegro::
|
|
2647
|
+
const :page, T.nilable(Inttegro::PayoutPage), default: nil
|
|
2759
2648
|
end
|
|
2760
2649
|
|
|
2761
2650
|
class PageProductsRequest < T::Struct
|
|
@@ -2776,23 +2665,23 @@ module Inttegro
|
|
|
2776
2665
|
end
|
|
2777
2666
|
|
|
2778
2667
|
class ProductShipmentDelivery < T::Struct
|
|
2779
|
-
# This
|
|
2668
|
+
# This object intentionally has no fields.
|
|
2780
2669
|
end
|
|
2781
2670
|
|
|
2782
2671
|
class ProductShipmentDownload < T::Struct
|
|
2783
|
-
# This
|
|
2672
|
+
# This object intentionally has no fields.
|
|
2784
2673
|
end
|
|
2785
2674
|
|
|
2786
2675
|
class ProductShipmentRender < T::Struct
|
|
2787
|
-
# This
|
|
2676
|
+
# This object intentionally has no fields.
|
|
2788
2677
|
end
|
|
2789
2678
|
|
|
2790
2679
|
class ProductShipmentService < T::Struct
|
|
2791
|
-
# This
|
|
2680
|
+
# This object intentionally has no fields.
|
|
2792
2681
|
end
|
|
2793
2682
|
|
|
2794
2683
|
class ProductShipmentStream < T::Struct
|
|
2795
|
-
# This
|
|
2684
|
+
# This object intentionally has no fields.
|
|
2796
2685
|
end
|
|
2797
2686
|
|
|
2798
2687
|
class ProductShipment < T::Struct
|
|
@@ -2827,14 +2716,14 @@ module Inttegro
|
|
|
2827
2716
|
const :unit_dim, T.nilable(String), default: nil
|
|
2828
2717
|
end
|
|
2829
2718
|
|
|
2830
|
-
class
|
|
2719
|
+
class ProductPage < T::Struct
|
|
2831
2720
|
const :number, T.nilable(Integer), default: nil
|
|
2832
2721
|
const :size, T.nilable(Integer), default: nil
|
|
2833
2722
|
const :products, T.nilable(T::Array[Inttegro::Product]), default: nil
|
|
2834
2723
|
end
|
|
2835
2724
|
|
|
2836
2725
|
class PageProductsResponse < T::Struct
|
|
2837
|
-
const :page, T.nilable(Inttegro::
|
|
2726
|
+
const :page, T.nilable(Inttegro::ProductPage), default: nil
|
|
2838
2727
|
end
|
|
2839
2728
|
|
|
2840
2729
|
class PagePurchaseIntentsRequest < T::Struct
|
|
@@ -2922,15 +2811,15 @@ module Inttegro
|
|
|
2922
2811
|
end
|
|
2923
2812
|
|
|
2924
2813
|
class PurchaseIntentProductDimensions < T::Struct
|
|
2925
|
-
# This
|
|
2814
|
+
# This object intentionally has no fields.
|
|
2926
2815
|
end
|
|
2927
2816
|
|
|
2928
2817
|
class PurchaseIntentProductMedia < T::Struct
|
|
2929
|
-
# This
|
|
2818
|
+
# This object intentionally has no fields.
|
|
2930
2819
|
end
|
|
2931
2820
|
|
|
2932
2821
|
class PurchaseIntentProductShipment < T::Struct
|
|
2933
|
-
# This
|
|
2822
|
+
# This object intentionally has no fields.
|
|
2934
2823
|
end
|
|
2935
2824
|
|
|
2936
2825
|
class PurchaseIntentProduct < T::Struct
|
|
@@ -3017,14 +2906,14 @@ module Inttegro
|
|
|
3017
2906
|
const :variant_set, T.nilable(Inttegro::PurchaseIntentVariantSetInline), default: nil
|
|
3018
2907
|
end
|
|
3019
2908
|
|
|
3020
|
-
class
|
|
2909
|
+
class PurchaseIntentPage < T::Struct
|
|
3021
2910
|
const :number, Integer
|
|
3022
2911
|
const :purchase_intents, T::Array[Inttegro::PurchaseIntent]
|
|
3023
2912
|
const :size, Integer
|
|
3024
2913
|
end
|
|
3025
2914
|
|
|
3026
2915
|
class PagePurchaseIntentsResponse < T::Struct
|
|
3027
|
-
const :page, Inttegro::
|
|
2916
|
+
const :page, Inttegro::PurchaseIntentPage
|
|
3028
2917
|
end
|
|
3029
2918
|
|
|
3030
2919
|
class PageRefundsRequest < T::Struct
|
|
@@ -3059,16 +2948,6 @@ module Inttegro
|
|
|
3059
2948
|
const :page_size, T.nilable(Integer), default: nil
|
|
3060
2949
|
end
|
|
3061
2950
|
|
|
3062
|
-
class PaymentMethodDataMobileMoney < T::Struct
|
|
3063
|
-
const :network, Inttegro::MobileMoneyNetwork
|
|
3064
|
-
const :account_number, String
|
|
3065
|
-
end
|
|
3066
|
-
|
|
3067
|
-
class PaymentMethodData < T::Struct
|
|
3068
|
-
const :type, Inttegro::PaymentMethodDataType
|
|
3069
|
-
const :mobile_money, T.nilable(Inttegro::PaymentMethodDataMobileMoney), default: nil
|
|
3070
|
-
end
|
|
3071
|
-
|
|
3072
2951
|
class PayOrderRequest < T::Struct
|
|
3073
2952
|
const :order_id, String
|
|
3074
2953
|
const :payment_method_data, T.nilable(Inttegro::PaymentMethodData), default: nil
|
|
@@ -3092,20 +2971,20 @@ module Inttegro
|
|
|
3092
2971
|
const :name, String
|
|
3093
2972
|
end
|
|
3094
2973
|
|
|
2974
|
+
class PaymentMethodPage < T::Struct
|
|
2975
|
+
const :number, Integer
|
|
2976
|
+
const :payment_methods, T::Array[Inttegro::PaymentMethod]
|
|
2977
|
+
const :size, Integer
|
|
2978
|
+
end
|
|
2979
|
+
|
|
3095
2980
|
class PaymentMethodPageRequest < T::Struct
|
|
3096
2981
|
const :customer_id, T.nilable(String), default: nil
|
|
3097
2982
|
const :page_number, T.nilable(Integer), default: nil
|
|
3098
2983
|
const :page_size, T.nilable(Integer), default: nil
|
|
3099
2984
|
end
|
|
3100
2985
|
|
|
3101
|
-
class PaymentMethodPageResponsePage < T::Struct
|
|
3102
|
-
const :number, Integer
|
|
3103
|
-
const :payment_methods, T::Array[Inttegro::PaymentMethodObject]
|
|
3104
|
-
const :size, Integer
|
|
3105
|
-
end
|
|
3106
|
-
|
|
3107
2986
|
class PaymentMethodPageResponse < T::Struct
|
|
3108
|
-
const :page, Inttegro::
|
|
2987
|
+
const :page, Inttegro::PaymentMethodPage
|
|
3109
2988
|
end
|
|
3110
2989
|
|
|
3111
2990
|
class PaymentMethodTokenizeBase < T::Struct
|
|
@@ -3114,10 +2993,10 @@ module Inttegro
|
|
|
3114
2993
|
const :type, Inttegro::PaymentMethodTokenizeBaseType
|
|
3115
2994
|
end
|
|
3116
2995
|
|
|
3117
|
-
class
|
|
2996
|
+
class PaymentResult < T::Struct
|
|
3118
2997
|
const :payment_id, T.nilable(String), default: nil
|
|
3119
2998
|
const :order_id, T.nilable(String), default: nil
|
|
3120
|
-
const :status, T.nilable(Inttegro::
|
|
2999
|
+
const :status, T.nilable(Inttegro::PaymentResultStatus), default: nil
|
|
3121
3000
|
const :requires_confirmation, T.nilable(T::Boolean), default: nil
|
|
3122
3001
|
const :confirmation_sent, T.nilable(T::Boolean), default: nil
|
|
3123
3002
|
end
|
|
@@ -3167,20 +3046,20 @@ module Inttegro
|
|
|
3167
3046
|
|
|
3168
3047
|
PricePageItem = T.type_alias { Inttegro::Price }
|
|
3169
3048
|
|
|
3049
|
+
class PricePage < T::Struct
|
|
3050
|
+
const :number, T.nilable(Integer), default: nil
|
|
3051
|
+
const :size, T.nilable(Integer), default: nil
|
|
3052
|
+
const :prices, T.nilable(T::Array[Inttegro::PricePageItem]), default: nil
|
|
3053
|
+
end
|
|
3054
|
+
|
|
3170
3055
|
class PricePageRequest < T::Struct
|
|
3171
3056
|
const :page_number, T.nilable(Integer), default: nil
|
|
3172
3057
|
const :page_size, T.nilable(Integer), default: nil
|
|
3173
3058
|
const :product_id, T.nilable(String), default: nil
|
|
3174
3059
|
end
|
|
3175
3060
|
|
|
3176
|
-
class PricePageResponsePage < T::Struct
|
|
3177
|
-
const :number, T.nilable(Integer), default: nil
|
|
3178
|
-
const :size, T.nilable(Integer), default: nil
|
|
3179
|
-
const :prices, T.nilable(T::Array[Inttegro::PricePageItem]), default: nil
|
|
3180
|
-
end
|
|
3181
|
-
|
|
3182
3061
|
class PricePageResponse < T::Struct
|
|
3183
|
-
const :page, T.nilable(Inttegro::
|
|
3062
|
+
const :page, T.nilable(Inttegro::PricePage), default: nil
|
|
3184
3063
|
const :error, T.nilable(Inttegro::ErrorPayload), default: nil
|
|
3185
3064
|
end
|
|
3186
3065
|
|
|
@@ -3235,7 +3114,7 @@ module Inttegro
|
|
|
3235
3114
|
end
|
|
3236
3115
|
|
|
3237
3116
|
class ReconnectFinancialAccountResponse < T::Struct
|
|
3238
|
-
const :account, T.nilable(Inttegro::
|
|
3117
|
+
const :account, T.nilable(Inttegro::CompactFinancialAccount), default: nil
|
|
3239
3118
|
end
|
|
3240
3119
|
|
|
3241
3120
|
class RefundPage < T::Struct
|
|
@@ -3256,32 +3135,6 @@ module Inttegro
|
|
|
3256
3135
|
const :message_template, Inttegro::MessageTemplateReference
|
|
3257
3136
|
end
|
|
3258
3137
|
|
|
3259
|
-
class RenderedSMSMessageTemplate < T::Struct
|
|
3260
|
-
const :full_message, String
|
|
3261
|
-
end
|
|
3262
|
-
|
|
3263
|
-
class RenderedEmailMessageTemplate < T::Struct
|
|
3264
|
-
const :subject, String
|
|
3265
|
-
const :text, String
|
|
3266
|
-
const :html, T.nilable(String), default: nil
|
|
3267
|
-
const :from, T.nilable(Inttegro::MessageTemplateMailbox), default: nil
|
|
3268
|
-
const :reply_to, T.nilable(Inttegro::MessageTemplateMailbox), default: nil
|
|
3269
|
-
const :headers, T.nilable(T::Hash[String, String]), default: nil
|
|
3270
|
-
const :safety, T.nilable(Inttegro::MessageTemplateSafetyResult), default: nil
|
|
3271
|
-
end
|
|
3272
|
-
|
|
3273
|
-
class RenderedMessageTemplate < T::Struct
|
|
3274
|
-
const :channel, Inttegro::MessageTemplateChannel
|
|
3275
|
-
const :attachments, T.nilable(Inttegro::MessageTemplateAttachmentIDs), default: nil
|
|
3276
|
-
const :sms, T.nilable(Inttegro::RenderedSMSMessageTemplate), default: nil
|
|
3277
|
-
const :email, T.nilable(Inttegro::RenderedEmailMessageTemplate), default: nil
|
|
3278
|
-
end
|
|
3279
|
-
|
|
3280
|
-
class RenderMessageTemplatePreviewResponse < T::Struct
|
|
3281
|
-
const :message_template, Inttegro::MessageTemplate
|
|
3282
|
-
const :rendered, Inttegro::RenderedMessageTemplate
|
|
3283
|
-
end
|
|
3284
|
-
|
|
3285
3138
|
class RequestConfirmationRequest < T::Struct
|
|
3286
3139
|
const :order_id, String
|
|
3287
3140
|
end
|
|
@@ -3421,6 +3274,11 @@ module Inttegro
|
|
|
3421
3274
|
const :rows, T::Array[Inttegro::SecretKeyUsageRow]
|
|
3422
3275
|
end
|
|
3423
3276
|
|
|
3277
|
+
class SecretKeyUsage < T::Struct
|
|
3278
|
+
const :key, Inttegro::SecretKey
|
|
3279
|
+
const :usage, Inttegro::SecretKeyUsagePage
|
|
3280
|
+
end
|
|
3281
|
+
|
|
3424
3282
|
class SecretKeyUsageRequest < T::Struct
|
|
3425
3283
|
const :number, T.nilable(Integer), default: nil
|
|
3426
3284
|
const :page, T.nilable(Integer), default: nil
|
|
@@ -3428,11 +3286,6 @@ module Inttegro
|
|
|
3428
3286
|
const :size, T.nilable(Integer), default: nil
|
|
3429
3287
|
end
|
|
3430
3288
|
|
|
3431
|
-
class SecretKeyUsageResponse < T::Struct
|
|
3432
|
-
const :key, Inttegro::SecretKey
|
|
3433
|
-
const :usage, Inttegro::SecretKeyUsagePage
|
|
3434
|
-
end
|
|
3435
|
-
|
|
3436
3289
|
class SendChimeRequestRequestMeta < T::Struct
|
|
3437
3290
|
const :idempotency_key, T.nilable(String), default: nil
|
|
3438
3291
|
end
|
|
@@ -3470,7 +3323,7 @@ module Inttegro
|
|
|
3470
3323
|
end
|
|
3471
3324
|
|
|
3472
3325
|
class TokenizePaymentMethodResponse < T::Struct
|
|
3473
|
-
const :payment_method, T.nilable(Inttegro::
|
|
3326
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
3474
3327
|
end
|
|
3475
3328
|
|
|
3476
3329
|
class UnarchivePaymentMethodRequest < T::Struct
|
|
@@ -3478,7 +3331,7 @@ module Inttegro
|
|
|
3478
3331
|
end
|
|
3479
3332
|
|
|
3480
3333
|
class UnarchivePaymentMethodResponse < T::Struct
|
|
3481
|
-
const :payment_method, T.nilable(Inttegro::
|
|
3334
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
3482
3335
|
end
|
|
3483
3336
|
|
|
3484
3337
|
class UpdateApplicationRequest < T::Struct
|
|
@@ -3488,7 +3341,7 @@ module Inttegro
|
|
|
3488
3341
|
const :legal_entity_type, T.nilable(String), default: nil
|
|
3489
3342
|
end
|
|
3490
3343
|
|
|
3491
|
-
class
|
|
3344
|
+
class UpdatedApplication < T::Struct
|
|
3492
3345
|
const :id, String
|
|
3493
3346
|
const :name, String
|
|
3494
3347
|
const :alias, T.nilable(String), default: nil
|
|
@@ -3498,7 +3351,7 @@ module Inttegro
|
|
|
3498
3351
|
end
|
|
3499
3352
|
|
|
3500
3353
|
class UpdateApplicationResponse < T::Struct
|
|
3501
|
-
const :app, Inttegro::
|
|
3354
|
+
const :app, Inttegro::UpdatedApplication
|
|
3502
3355
|
end
|
|
3503
3356
|
|
|
3504
3357
|
class UpdateCustomerRequest < T::Struct
|
|
@@ -3514,8 +3367,75 @@ module Inttegro
|
|
|
3514
3367
|
const :title, T.nilable(String), default: nil
|
|
3515
3368
|
end
|
|
3516
3369
|
|
|
3370
|
+
class UpdatedGhanaBankAccount < T::Struct
|
|
3371
|
+
const :branch, T.nilable(String), default: nil
|
|
3372
|
+
const :holder, Inttegro::FinancialAccountOwner
|
|
3373
|
+
const :name, String
|
|
3374
|
+
const :number, String
|
|
3375
|
+
const :sort_code, T.nilable(String), default: nil
|
|
3376
|
+
const :swift_code, T.nilable(String), default: nil
|
|
3377
|
+
end
|
|
3378
|
+
|
|
3379
|
+
class UpdatedFinancialAccountBank < T::Struct
|
|
3380
|
+
const :id, String
|
|
3381
|
+
const :type, Inttegro::BankAccountType
|
|
3382
|
+
const :ghana_bank_account, T.nilable(Inttegro::UpdatedGhanaBankAccount), default: nil
|
|
3383
|
+
end
|
|
3384
|
+
|
|
3385
|
+
class UpdatedFinancialAccountDoshAccount < T::Struct
|
|
3386
|
+
# This object intentionally has no fields.
|
|
3387
|
+
end
|
|
3388
|
+
|
|
3389
|
+
class UpdatedFinancialAccountAddress < T::Struct
|
|
3390
|
+
const :city, String
|
|
3391
|
+
const :country, String
|
|
3392
|
+
const :id, T.nilable(String), default: nil
|
|
3393
|
+
const :line_1, String
|
|
3394
|
+
const :line_2, T.nilable(String), default: nil
|
|
3395
|
+
const :name, T.nilable(String), default: nil
|
|
3396
|
+
const :phone, T.nilable(String), default: nil
|
|
3397
|
+
const :post_code, T.nilable(String), default: nil
|
|
3398
|
+
const :region, String
|
|
3399
|
+
end
|
|
3400
|
+
|
|
3401
|
+
class UpdatedFinancialAccountOwner < T::Struct
|
|
3402
|
+
const :address, Inttegro::UpdatedFinancialAccountAddress
|
|
3403
|
+
const :name, String
|
|
3404
|
+
end
|
|
3405
|
+
|
|
3406
|
+
class UpdatedFinancialAccountWallet < T::Struct
|
|
3407
|
+
const :id, String
|
|
3408
|
+
const :type, Inttegro::WalletType
|
|
3409
|
+
const :mobile_money, T.nilable(Inttegro::FinancialAccountWalletMobileMoney), default: nil
|
|
3410
|
+
end
|
|
3411
|
+
|
|
3412
|
+
class UpdatedFinancialAccount < T::Struct
|
|
3413
|
+
const :app_customer_local_fingerprint, T.nilable(String), default: nil
|
|
3414
|
+
const :app_local_fingerprint, T.nilable(String), default: nil
|
|
3415
|
+
const :archived_at, T.nilable(String), default: nil
|
|
3416
|
+
const :created_at, String
|
|
3417
|
+
const :currency, String
|
|
3418
|
+
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
3419
|
+
const :description, T.nilable(String), default: nil
|
|
3420
|
+
const :id, String
|
|
3421
|
+
const :institution, T.nilable(Inttegro::FinancialInstitution), default: nil
|
|
3422
|
+
const :label, T.nilable(String), default: nil
|
|
3423
|
+
const :pull_configuration, T.nilable(Inttegro::FinancialAccountPullConfiguration), default: nil
|
|
3424
|
+
const :push_configuration, T.nilable(Inttegro::FinancialAccountPushConfiguration), default: nil
|
|
3425
|
+
const :reference, T.nilable(String), default: nil
|
|
3426
|
+
const :supplied, T.nilable(Inttegro::ResourceSupply), default: nil
|
|
3427
|
+
const :type, Inttegro::FinancialAccountType
|
|
3428
|
+
const :universal_fingerprint, T.nilable(String), default: nil
|
|
3429
|
+
const :verification, T.nilable(Inttegro::FinancialAccountDetailsVerification), default: nil
|
|
3430
|
+
const :bank_account, T.nilable(Inttegro::UpdatedFinancialAccountBank), default: nil
|
|
3431
|
+
const :disconnected_at, T.nilable(String), default: nil
|
|
3432
|
+
const :dosh_account, T.nilable(Inttegro::UpdatedFinancialAccountDoshAccount), default: nil
|
|
3433
|
+
const :owner, T.nilable(Inttegro::UpdatedFinancialAccountOwner), default: nil
|
|
3434
|
+
const :wallet, T.nilable(Inttegro::UpdatedFinancialAccountWallet), default: nil
|
|
3435
|
+
end
|
|
3436
|
+
|
|
3517
3437
|
class UpdateFinancialAccountResponse < T::Struct
|
|
3518
|
-
const :account, T.nilable(Inttegro::
|
|
3438
|
+
const :account, T.nilable(Inttegro::UpdatedFinancialAccount), default: nil
|
|
3519
3439
|
end
|
|
3520
3440
|
|
|
3521
3441
|
class UpdateMessageTemplateRequest < T::Struct
|
|
@@ -3576,7 +3496,7 @@ module Inttegro
|
|
|
3576
3496
|
end
|
|
3577
3497
|
|
|
3578
3498
|
class UpdatePaymentMethodResponse < T::Struct
|
|
3579
|
-
const :payment_method, T.nilable(Inttegro::
|
|
3499
|
+
const :payment_method, T.nilable(Inttegro::PaymentMethod), default: nil
|
|
3580
3500
|
end
|
|
3581
3501
|
|
|
3582
3502
|
class UpdatePriceRequest < T::Struct
|
|
@@ -3645,7 +3565,94 @@ module Inttegro
|
|
|
3645
3565
|
const :key, Inttegro::SecretKey
|
|
3646
3566
|
end
|
|
3647
3567
|
|
|
3648
|
-
class
|
|
3568
|
+
class UploadRequestActor < T::Struct
|
|
3569
|
+
const :email, T.nilable(String), default: nil
|
|
3570
|
+
const :id, T.nilable(String), default: nil
|
|
3571
|
+
const :name, T.nilable(String), default: nil
|
|
3572
|
+
const :type, String
|
|
3573
|
+
end
|
|
3574
|
+
|
|
3575
|
+
class UploadRequestAttempts < T::Struct
|
|
3576
|
+
const :max_attempts, T.nilable(Integer), default: nil
|
|
3577
|
+
const :attempt_count, Integer
|
|
3578
|
+
const :failed_attempt_count, Integer
|
|
3579
|
+
const :last_attempted_at, T.nilable(String), default: nil
|
|
3580
|
+
end
|
|
3581
|
+
|
|
3582
|
+
class UploadRequestLatestError < T::Struct
|
|
3583
|
+
const :code, T.nilable(String), default: nil
|
|
3584
|
+
const :param, T.nilable(String), default: nil
|
|
3585
|
+
const :message, T.nilable(String), default: nil
|
|
3586
|
+
const :retryable, T.nilable(T::Boolean), default: nil
|
|
3587
|
+
const :at, T.nilable(String), default: nil
|
|
3588
|
+
end
|
|
3589
|
+
|
|
3590
|
+
class UploadRequestReviewReason < T::Struct
|
|
3591
|
+
const :code, String
|
|
3592
|
+
const :message, String
|
|
3593
|
+
const :param, T.nilable(String), default: nil
|
|
3594
|
+
end
|
|
3595
|
+
|
|
3596
|
+
class UploadRequestReview < T::Struct
|
|
3597
|
+
const :created_at, String
|
|
3598
|
+
const :decision, Inttegro::UploadReviewDecision
|
|
3599
|
+
const :file_id, T.nilable(String), default: nil
|
|
3600
|
+
const :public_message, T.nilable(String), default: nil
|
|
3601
|
+
const :reasons, T.nilable(T::Array[Inttegro::UploadRequestReviewReason]), default: nil
|
|
3602
|
+
const :reviewed_at, String
|
|
3603
|
+
const :type, Inttegro::UploadReviewType
|
|
3604
|
+
end
|
|
3605
|
+
|
|
3606
|
+
class UploadRequestAttempt < T::Struct
|
|
3607
|
+
const :attempted_at, String
|
|
3608
|
+
const :content_type, T.nilable(String), default: nil
|
|
3609
|
+
const :declared_size, T.nilable(Integer), default: nil
|
|
3610
|
+
const :error, T.nilable(Inttegro::UploadRequestLatestError), default: nil
|
|
3611
|
+
const :failed_at, T.nilable(String), default: nil
|
|
3612
|
+
const :file_id, T.nilable(String), default: nil
|
|
3613
|
+
const :filename, T.nilable(String), default: nil
|
|
3614
|
+
const :id, String
|
|
3615
|
+
const :ordinal, Integer
|
|
3616
|
+
const :review, T.nilable(Inttegro::UploadRequestReview), default: nil
|
|
3617
|
+
const :status, String
|
|
3618
|
+
const :succeeded_at, T.nilable(String), default: nil
|
|
3619
|
+
const :upload_request_id, String
|
|
3620
|
+
end
|
|
3621
|
+
|
|
3622
|
+
class UploadRequestDetails < T::Struct
|
|
3623
|
+
const :id, String
|
|
3624
|
+
const :purpose, String
|
|
3625
|
+
const :status, Inttegro::UploadRequestStatus
|
|
3626
|
+
const :active, T::Boolean
|
|
3627
|
+
const :file_id, T.nilable(String), default: nil
|
|
3628
|
+
const :upload_url, T.nilable(String), default: nil
|
|
3629
|
+
const :constraints, Inttegro::UploadRequestConstraints
|
|
3630
|
+
const :display_data, Inttegro::UploadRequestDisplay, name: "display"
|
|
3631
|
+
const :subject, Inttegro::FileParty
|
|
3632
|
+
const :recipient, Inttegro::FileParty
|
|
3633
|
+
const :resource, Inttegro::FileResource
|
|
3634
|
+
const :requester, Inttegro::UploadRequestActor
|
|
3635
|
+
const :attempts, Inttegro::UploadRequestAttempts
|
|
3636
|
+
const :latest_error, T.nilable(Inttegro::UploadRequestLatestError), default: nil
|
|
3637
|
+
const :canceled_by, T.nilable(Inttegro::UploadRequestActor), default: nil
|
|
3638
|
+
const :custom_data, T.nilable(T::Hash[String, String]), default: nil
|
|
3639
|
+
const :metadata, T.nilable(T::Hash[String, String]), default: nil
|
|
3640
|
+
const :created_at, String
|
|
3641
|
+
const :updated_at, String
|
|
3642
|
+
const :expires_at, String
|
|
3643
|
+
const :uploading_at, T.nilable(String), default: nil
|
|
3644
|
+
const :fulfilled_at, T.nilable(String), default: nil
|
|
3645
|
+
const :expired_at, T.nilable(String), default: nil
|
|
3646
|
+
const :canceled_at, T.nilable(String), default: nil
|
|
3647
|
+
const :attempt, T.nilable(Inttegro::UploadRequestAttempt), default: nil
|
|
3648
|
+
end
|
|
3649
|
+
|
|
3650
|
+
class UploadFulfillment < T::Struct
|
|
3651
|
+
const :upload_request, Inttegro::UploadRequestDetails
|
|
3652
|
+
const :file, Inttegro::FileUploadReceipt
|
|
3653
|
+
end
|
|
3654
|
+
|
|
3655
|
+
class UploadRequest < T::Struct
|
|
3649
3656
|
const :id, String
|
|
3650
3657
|
const :purpose, String
|
|
3651
3658
|
const :status, Inttegro::UploadRequestStatus
|
|
@@ -3675,7 +3682,7 @@ module Inttegro
|
|
|
3675
3682
|
class UploadRequestPage < T::Struct
|
|
3676
3683
|
const :number, Integer
|
|
3677
3684
|
const :size, Integer
|
|
3678
|
-
const :upload_requests, T::Array[Inttegro::
|
|
3685
|
+
const :upload_requests, T::Array[Inttegro::UploadRequest]
|
|
3679
3686
|
end
|
|
3680
3687
|
|
|
3681
3688
|
class UploadRequestPageResponse < T::Struct
|
|
@@ -3683,23 +3690,23 @@ module Inttegro
|
|
|
3683
3690
|
end
|
|
3684
3691
|
|
|
3685
3692
|
class UploadRequestResponse < T::Struct
|
|
3686
|
-
const :upload_request, Inttegro::
|
|
3693
|
+
const :upload_request, Inttegro::UploadRequest
|
|
3687
3694
|
end
|
|
3688
3695
|
|
|
3689
|
-
class
|
|
3696
|
+
class UploadRequestValidationFailureError < T::Struct
|
|
3690
3697
|
const :code, String
|
|
3691
3698
|
const :param, T.nilable(String), default: nil
|
|
3692
3699
|
const :message, String
|
|
3693
3700
|
const :retryable, T::Boolean
|
|
3694
3701
|
end
|
|
3695
3702
|
|
|
3696
|
-
class
|
|
3697
|
-
const :upload_request, Inttegro::
|
|
3698
|
-
const :error, Inttegro::
|
|
3703
|
+
class UploadRequestValidationFailure < T::Struct
|
|
3704
|
+
const :upload_request, Inttegro::UploadRequestDetails
|
|
3705
|
+
const :error, Inttegro::UploadRequestValidationFailureError
|
|
3699
3706
|
end
|
|
3700
3707
|
|
|
3701
3708
|
class UploadRequestWithAttemptResponse < T::Struct
|
|
3702
|
-
const :upload_request, Inttegro::
|
|
3709
|
+
const :upload_request, Inttegro::UploadRequestDetails
|
|
3703
3710
|
end
|
|
3704
3711
|
|
|
3705
3712
|
class VerifyOTPRequest < T::Struct
|
|
@@ -3707,9 +3714,4 @@ module Inttegro
|
|
|
3707
3714
|
const :recipient, String
|
|
3708
3715
|
const :token, String
|
|
3709
3716
|
end
|
|
3710
|
-
|
|
3711
|
-
class VerifyOTPResponse < T::Struct
|
|
3712
|
-
const :transaction, Inttegro::OTPTransaction
|
|
3713
|
-
const :verification_attempt, Inttegro::OTPVerificationAttempt
|
|
3714
|
-
end
|
|
3715
3717
|
end
|