increase 1.174.0 → 1.175.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +4 -0
- data/lib/increase/models/swift_transfer.rb +478 -0
- data/lib/increase/models/swift_transfer_approve_params.rb +14 -0
- data/lib/increase/models/swift_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/swift_transfer_create_params.rb +253 -0
- data/lib/increase/models/swift_transfer_list_params.rb +159 -0
- data/lib/increase/models/swift_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models.rb +12 -0
- data/lib/increase/resources/swift_transfers.rb +159 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +7 -0
- data/rbi/increase/client.rbi +3 -0
- data/rbi/increase/models/swift_transfer.rbi +732 -0
- data/rbi/increase/models/swift_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/swift_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/swift_transfer_create_params.rbi +391 -0
- data/rbi/increase/models/swift_transfer_list_params.rbi +316 -0
- data/rbi/increase/models/swift_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models.rbi +12 -0
- data/rbi/increase/resources/swift_transfers.rbi +142 -0
- data/sig/increase/client.rbs +2 -0
- data/sig/increase/models/swift_transfer.rbs +349 -0
- data/sig/increase/models/swift_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/swift_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/swift_transfer_create_params.rbs +197 -0
- data/sig/increase/models/swift_transfer_list_params.rbs +161 -0
- data/sig/increase/models/swift_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models.rbs +12 -0
- data/sig/increase/resources/swift_transfers.rbs +49 -0
- metadata +23 -2
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type swift_transfer_list_params =
|
|
4
|
+
{
|
|
5
|
+
account_id: String,
|
|
6
|
+
created_at: Increase::SwiftTransferListParams::CreatedAt,
|
|
7
|
+
cursor: String,
|
|
8
|
+
idempotency_key: String,
|
|
9
|
+
limit: Integer,
|
|
10
|
+
status: Increase::SwiftTransferListParams::Status
|
|
11
|
+
}
|
|
12
|
+
& Increase::Internal::Type::request_parameters
|
|
13
|
+
|
|
14
|
+
class SwiftTransferListParams < Increase::Internal::Type::BaseModel
|
|
15
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
16
|
+
include Increase::Internal::Type::RequestParameters
|
|
17
|
+
|
|
18
|
+
attr_reader account_id: String?
|
|
19
|
+
|
|
20
|
+
def account_id=: (String) -> String
|
|
21
|
+
|
|
22
|
+
attr_reader created_at: Increase::SwiftTransferListParams::CreatedAt?
|
|
23
|
+
|
|
24
|
+
def created_at=: (
|
|
25
|
+
Increase::SwiftTransferListParams::CreatedAt
|
|
26
|
+
) -> Increase::SwiftTransferListParams::CreatedAt
|
|
27
|
+
|
|
28
|
+
attr_reader cursor: String?
|
|
29
|
+
|
|
30
|
+
def cursor=: (String) -> String
|
|
31
|
+
|
|
32
|
+
attr_reader idempotency_key: String?
|
|
33
|
+
|
|
34
|
+
def idempotency_key=: (String) -> String
|
|
35
|
+
|
|
36
|
+
attr_reader limit: Integer?
|
|
37
|
+
|
|
38
|
+
def limit=: (Integer) -> Integer
|
|
39
|
+
|
|
40
|
+
attr_reader status: Increase::SwiftTransferListParams::Status?
|
|
41
|
+
|
|
42
|
+
def status=: (
|
|
43
|
+
Increase::SwiftTransferListParams::Status
|
|
44
|
+
) -> Increase::SwiftTransferListParams::Status
|
|
45
|
+
|
|
46
|
+
def initialize: (
|
|
47
|
+
?account_id: String,
|
|
48
|
+
?created_at: Increase::SwiftTransferListParams::CreatedAt,
|
|
49
|
+
?cursor: String,
|
|
50
|
+
?idempotency_key: String,
|
|
51
|
+
?limit: Integer,
|
|
52
|
+
?status: Increase::SwiftTransferListParams::Status,
|
|
53
|
+
?request_options: Increase::request_opts
|
|
54
|
+
) -> void
|
|
55
|
+
|
|
56
|
+
def to_hash: -> {
|
|
57
|
+
account_id: String,
|
|
58
|
+
created_at: Increase::SwiftTransferListParams::CreatedAt,
|
|
59
|
+
cursor: String,
|
|
60
|
+
idempotency_key: String,
|
|
61
|
+
limit: Integer,
|
|
62
|
+
status: Increase::SwiftTransferListParams::Status,
|
|
63
|
+
request_options: Increase::RequestOptions
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
type created_at =
|
|
67
|
+
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
68
|
+
|
|
69
|
+
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
70
|
+
attr_reader after: Time?
|
|
71
|
+
|
|
72
|
+
def after=: (Time) -> Time
|
|
73
|
+
|
|
74
|
+
attr_reader before: Time?
|
|
75
|
+
|
|
76
|
+
def before=: (Time) -> Time
|
|
77
|
+
|
|
78
|
+
attr_reader on_or_after: Time?
|
|
79
|
+
|
|
80
|
+
def on_or_after=: (Time) -> Time
|
|
81
|
+
|
|
82
|
+
attr_reader on_or_before: Time?
|
|
83
|
+
|
|
84
|
+
def on_or_before=: (Time) -> Time
|
|
85
|
+
|
|
86
|
+
def initialize: (
|
|
87
|
+
?after: Time,
|
|
88
|
+
?before: Time,
|
|
89
|
+
?on_or_after: Time,
|
|
90
|
+
?on_or_before: Time
|
|
91
|
+
) -> void
|
|
92
|
+
|
|
93
|
+
def to_hash: -> {
|
|
94
|
+
after: Time,
|
|
95
|
+
before: Time,
|
|
96
|
+
on_or_after: Time,
|
|
97
|
+
on_or_before: Time
|
|
98
|
+
}
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
type status =
|
|
102
|
+
{ in_: ::Array[Increase::Models::SwiftTransferListParams::Status::in_] }
|
|
103
|
+
|
|
104
|
+
class Status < Increase::Internal::Type::BaseModel
|
|
105
|
+
attr_reader in_: ::Array[Increase::Models::SwiftTransferListParams::Status::in_]?
|
|
106
|
+
|
|
107
|
+
def in_=: (
|
|
108
|
+
::Array[Increase::Models::SwiftTransferListParams::Status::in_]
|
|
109
|
+
) -> ::Array[Increase::Models::SwiftTransferListParams::Status::in_]
|
|
110
|
+
|
|
111
|
+
def initialize: (
|
|
112
|
+
?in_: ::Array[Increase::Models::SwiftTransferListParams::Status::in_]
|
|
113
|
+
) -> void
|
|
114
|
+
|
|
115
|
+
def to_hash: -> {
|
|
116
|
+
in_: ::Array[Increase::Models::SwiftTransferListParams::Status::in_]
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
type in_ =
|
|
120
|
+
:pending_approval
|
|
121
|
+
| :canceled
|
|
122
|
+
| :pending_reviewing
|
|
123
|
+
| :requires_attention
|
|
124
|
+
| :pending_initiating
|
|
125
|
+
| :initiated
|
|
126
|
+
| :rejected
|
|
127
|
+
| :returned
|
|
128
|
+
|
|
129
|
+
module In
|
|
130
|
+
extend Increase::Internal::Type::Enum
|
|
131
|
+
|
|
132
|
+
# The transfer is pending approval.
|
|
133
|
+
PENDING_APPROVAL: :pending_approval
|
|
134
|
+
|
|
135
|
+
# The transfer has been canceled.
|
|
136
|
+
CANCELED: :canceled
|
|
137
|
+
|
|
138
|
+
# The transfer is pending review by Increase.
|
|
139
|
+
PENDING_REVIEWING: :pending_reviewing
|
|
140
|
+
|
|
141
|
+
# The transfer requires attention from an Increase operator.
|
|
142
|
+
REQUIRES_ATTENTION: :requires_attention
|
|
143
|
+
|
|
144
|
+
# The transfer is pending initiation.
|
|
145
|
+
PENDING_INITIATING: :pending_initiating
|
|
146
|
+
|
|
147
|
+
# The transfer has been initiated.
|
|
148
|
+
INITIATED: :initiated
|
|
149
|
+
|
|
150
|
+
# The transfer has been rejected by Increase.
|
|
151
|
+
REJECTED: :rejected
|
|
152
|
+
|
|
153
|
+
# The transfer has been returned.
|
|
154
|
+
RETURNED: :returned
|
|
155
|
+
|
|
156
|
+
def self?.values: -> ::Array[Increase::Models::SwiftTransferListParams::Status::in_]
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Models
|
|
3
|
+
type swift_transfer_retrieve_params =
|
|
4
|
+
{ } & Increase::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class SwiftTransferRetrieveParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: Increase::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: Increase::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/sig/increase/models.rbs
CHANGED
|
@@ -467,6 +467,18 @@ module Increase
|
|
|
467
467
|
|
|
468
468
|
class SupplementalDocumentListParams = Increase::Models::SupplementalDocumentListParams
|
|
469
469
|
|
|
470
|
+
class SwiftTransfer = Increase::Models::SwiftTransfer
|
|
471
|
+
|
|
472
|
+
class SwiftTransferApproveParams = Increase::Models::SwiftTransferApproveParams
|
|
473
|
+
|
|
474
|
+
class SwiftTransferCancelParams = Increase::Models::SwiftTransferCancelParams
|
|
475
|
+
|
|
476
|
+
class SwiftTransferCreateParams = Increase::Models::SwiftTransferCreateParams
|
|
477
|
+
|
|
478
|
+
class SwiftTransferListParams = Increase::Models::SwiftTransferListParams
|
|
479
|
+
|
|
480
|
+
class SwiftTransferRetrieveParams = Increase::Models::SwiftTransferRetrieveParams
|
|
481
|
+
|
|
470
482
|
class Transaction = Increase::Models::Transaction
|
|
471
483
|
|
|
472
484
|
class TransactionListParams = Increase::Models::TransactionListParams
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
module Increase
|
|
2
|
+
module Resources
|
|
3
|
+
class SwiftTransfers
|
|
4
|
+
def create: (
|
|
5
|
+
account_id: String,
|
|
6
|
+
account_number: String,
|
|
7
|
+
bank_identification_code: String,
|
|
8
|
+
creditor_address: Increase::SwiftTransferCreateParams::CreditorAddress,
|
|
9
|
+
creditor_name: String,
|
|
10
|
+
debtor_address: Increase::SwiftTransferCreateParams::DebtorAddress,
|
|
11
|
+
debtor_name: String,
|
|
12
|
+
instructed_amount: Integer,
|
|
13
|
+
instructed_currency: Increase::Models::SwiftTransferCreateParams::instructed_currency,
|
|
14
|
+
source_account_number_id: String,
|
|
15
|
+
unstructured_remittance_information: String,
|
|
16
|
+
?require_approval: bool,
|
|
17
|
+
?routing_number: String,
|
|
18
|
+
?request_options: Increase::request_opts
|
|
19
|
+
) -> Increase::SwiftTransfer
|
|
20
|
+
|
|
21
|
+
def retrieve: (
|
|
22
|
+
String swift_transfer_id,
|
|
23
|
+
?request_options: Increase::request_opts
|
|
24
|
+
) -> Increase::SwiftTransfer
|
|
25
|
+
|
|
26
|
+
def list: (
|
|
27
|
+
?account_id: String,
|
|
28
|
+
?created_at: Increase::SwiftTransferListParams::CreatedAt,
|
|
29
|
+
?cursor: String,
|
|
30
|
+
?idempotency_key: String,
|
|
31
|
+
?limit: Integer,
|
|
32
|
+
?status: Increase::SwiftTransferListParams::Status,
|
|
33
|
+
?request_options: Increase::request_opts
|
|
34
|
+
) -> Increase::Internal::Page[Increase::SwiftTransfer]
|
|
35
|
+
|
|
36
|
+
def approve: (
|
|
37
|
+
String swift_transfer_id,
|
|
38
|
+
?request_options: Increase::request_opts
|
|
39
|
+
) -> Increase::SwiftTransfer
|
|
40
|
+
|
|
41
|
+
def cancel: (
|
|
42
|
+
String swift_transfer_id,
|
|
43
|
+
?request_options: Increase::request_opts
|
|
44
|
+
) -> Increase::SwiftTransfer
|
|
45
|
+
|
|
46
|
+
def initialize: (client: Increase::Client) -> void
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.175.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|
|
@@ -332,6 +332,12 @@ files:
|
|
|
332
332
|
- lib/increase/models/simulations/wire_transfer_submit_params.rb
|
|
333
333
|
- lib/increase/models/supplemental_document_create_params.rb
|
|
334
334
|
- lib/increase/models/supplemental_document_list_params.rb
|
|
335
|
+
- lib/increase/models/swift_transfer.rb
|
|
336
|
+
- lib/increase/models/swift_transfer_approve_params.rb
|
|
337
|
+
- lib/increase/models/swift_transfer_cancel_params.rb
|
|
338
|
+
- lib/increase/models/swift_transfer_create_params.rb
|
|
339
|
+
- lib/increase/models/swift_transfer_list_params.rb
|
|
340
|
+
- lib/increase/models/swift_transfer_retrieve_params.rb
|
|
335
341
|
- lib/increase/models/transaction.rb
|
|
336
342
|
- lib/increase/models/transaction_list_params.rb
|
|
337
343
|
- lib/increase/models/transaction_retrieve_params.rb
|
|
@@ -430,6 +436,7 @@ files:
|
|
|
430
436
|
- lib/increase/resources/simulations/wire_drawdown_requests.rb
|
|
431
437
|
- lib/increase/resources/simulations/wire_transfers.rb
|
|
432
438
|
- lib/increase/resources/supplemental_documents.rb
|
|
439
|
+
- lib/increase/resources/swift_transfers.rb
|
|
433
440
|
- lib/increase/resources/transactions.rb
|
|
434
441
|
- lib/increase/resources/wire_drawdown_requests.rb
|
|
435
442
|
- lib/increase/resources/wire_transfers.rb
|
|
@@ -731,6 +738,12 @@ files:
|
|
|
731
738
|
- rbi/increase/models/simulations/wire_transfer_submit_params.rbi
|
|
732
739
|
- rbi/increase/models/supplemental_document_create_params.rbi
|
|
733
740
|
- rbi/increase/models/supplemental_document_list_params.rbi
|
|
741
|
+
- rbi/increase/models/swift_transfer.rbi
|
|
742
|
+
- rbi/increase/models/swift_transfer_approve_params.rbi
|
|
743
|
+
- rbi/increase/models/swift_transfer_cancel_params.rbi
|
|
744
|
+
- rbi/increase/models/swift_transfer_create_params.rbi
|
|
745
|
+
- rbi/increase/models/swift_transfer_list_params.rbi
|
|
746
|
+
- rbi/increase/models/swift_transfer_retrieve_params.rbi
|
|
734
747
|
- rbi/increase/models/transaction.rbi
|
|
735
748
|
- rbi/increase/models/transaction_list_params.rbi
|
|
736
749
|
- rbi/increase/models/transaction_retrieve_params.rbi
|
|
@@ -829,6 +842,7 @@ files:
|
|
|
829
842
|
- rbi/increase/resources/simulations/wire_drawdown_requests.rbi
|
|
830
843
|
- rbi/increase/resources/simulations/wire_transfers.rbi
|
|
831
844
|
- rbi/increase/resources/supplemental_documents.rbi
|
|
845
|
+
- rbi/increase/resources/swift_transfers.rbi
|
|
832
846
|
- rbi/increase/resources/transactions.rbi
|
|
833
847
|
- rbi/increase/resources/wire_drawdown_requests.rbi
|
|
834
848
|
- rbi/increase/resources/wire_transfers.rbi
|
|
@@ -1129,6 +1143,12 @@ files:
|
|
|
1129
1143
|
- sig/increase/models/simulations/wire_transfer_submit_params.rbs
|
|
1130
1144
|
- sig/increase/models/supplemental_document_create_params.rbs
|
|
1131
1145
|
- sig/increase/models/supplemental_document_list_params.rbs
|
|
1146
|
+
- sig/increase/models/swift_transfer.rbs
|
|
1147
|
+
- sig/increase/models/swift_transfer_approve_params.rbs
|
|
1148
|
+
- sig/increase/models/swift_transfer_cancel_params.rbs
|
|
1149
|
+
- sig/increase/models/swift_transfer_create_params.rbs
|
|
1150
|
+
- sig/increase/models/swift_transfer_list_params.rbs
|
|
1151
|
+
- sig/increase/models/swift_transfer_retrieve_params.rbs
|
|
1132
1152
|
- sig/increase/models/transaction.rbs
|
|
1133
1153
|
- sig/increase/models/transaction_list_params.rbs
|
|
1134
1154
|
- sig/increase/models/transaction_retrieve_params.rbs
|
|
@@ -1227,6 +1247,7 @@ files:
|
|
|
1227
1247
|
- sig/increase/resources/simulations/wire_drawdown_requests.rbs
|
|
1228
1248
|
- sig/increase/resources/simulations/wire_transfers.rbs
|
|
1229
1249
|
- sig/increase/resources/supplemental_documents.rbs
|
|
1250
|
+
- sig/increase/resources/swift_transfers.rbs
|
|
1230
1251
|
- sig/increase/resources/transactions.rbs
|
|
1231
1252
|
- sig/increase/resources/wire_drawdown_requests.rbs
|
|
1232
1253
|
- sig/increase/resources/wire_transfers.rbs
|