increase 1.362.0 → 1.363.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/README.md +1 -1
- data/lib/increase/client.rb +0 -16
- data/lib/increase/models/ach_transfer.rb +38 -23
- data/lib/increase/models/check_transfer.rb +58 -44
- data/lib/increase/models/check_transfer_create_params.rb +35 -21
- data/lib/increase/models/export.rb +12 -1
- data/lib/increase/models/export_create_params.rb +26 -4
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
- data/lib/increase/models/inbound_real_time_payments_transfer_return_params.rb +36 -0
- data/lib/increase/models/real_time_payments_transfer.rb +21 -1
- data/lib/increase/models/transaction.rb +3 -3
- data/lib/increase/models.rb +3 -20
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +28 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -14
- data/rbi/increase/client.rbi +0 -12
- data/rbi/increase/models/ach_transfer.rbi +35 -23
- data/rbi/increase/models/check_transfer.rbi +72 -54
- data/rbi/increase/models/check_transfer_create_params.rbi +55 -21
- data/rbi/increase/models/export.rbi +15 -3
- data/rbi/increase/models/export_create_params.rbi +27 -3
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi +61 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +18 -0
- data/rbi/increase/models/transaction.rbi +3 -3
- data/rbi/increase/models.rbi +3 -22
- data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +19 -0
- data/sig/increase/client.rbs +0 -8
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/check_transfer.rbs +59 -49
- data/sig/increase/models/check_transfer_create_params.rbs +20 -12
- data/sig/increase/models/export.rbs +13 -3
- data/sig/increase/models/export_create_params.rbs +7 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs +30 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +10 -0
- data/sig/increase/models/transaction.rbs +4 -4
- data/sig/increase/models.rbs +2 -20
- data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +6 -0
- metadata +6 -45
- data/lib/increase/models/group.rb +0 -57
- data/lib/increase/models/group_retrieve_params.rb +0 -14
- data/lib/increase/models/oauth_application.rb +0 -111
- data/lib/increase/models/oauth_application_list_params.rb +0 -129
- data/lib/increase/models/oauth_application_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_connection.rb +0 -107
- data/lib/increase/models/oauth_connection_list_params.rb +0 -88
- data/lib/increase/models/oauth_connection_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_token.rb +0 -76
- data/lib/increase/models/oauth_token_create_params.rb +0 -85
- data/lib/increase/resources/groups.rb +0 -32
- data/lib/increase/resources/oauth_applications.rb +0 -68
- data/lib/increase/resources/oauth_connections.rb +0 -70
- data/lib/increase/resources/oauth_tokens.rb +0 -54
- data/rbi/increase/models/group.rbi +0 -74
- data/rbi/increase/models/group_retrieve_params.rbi +0 -27
- data/rbi/increase/models/oauth_application.rbi +0 -146
- data/rbi/increase/models/oauth_application_list_params.rbi +0 -263
- data/rbi/increase/models/oauth_application_retrieve_params.rbi +0 -46
- data/rbi/increase/models/oauth_connection.rbi +0 -142
- data/rbi/increase/models/oauth_connection_list_params.rbi +0 -187
- data/rbi/increase/models/oauth_connection_retrieve_params.rbi +0 -46
- data/rbi/increase/models/oauth_token.rbi +0 -106
- data/rbi/increase/models/oauth_token_create_params.rbi +0 -133
- data/rbi/increase/resources/groups.rbi +0 -21
- data/rbi/increase/resources/oauth_applications.rbi +0 -50
- data/rbi/increase/resources/oauth_connections.rbi +0 -52
- data/rbi/increase/resources/oauth_tokens.rbi +0 -44
- data/sig/increase/models/group.rbs +0 -36
- data/sig/increase/models/group_retrieve_params.rbs +0 -15
- data/sig/increase/models/oauth_application.rbs +0 -74
- data/sig/increase/models/oauth_application_list_params.rbs +0 -123
- data/sig/increase/models/oauth_application_retrieve_params.rbs +0 -24
- data/sig/increase/models/oauth_connection.rbs +0 -74
- data/sig/increase/models/oauth_connection_list_params.rbs +0 -86
- data/sig/increase/models/oauth_connection_retrieve_params.rbs +0 -24
- data/sig/increase/models/oauth_token.rbs +0 -55
- data/sig/increase/models/oauth_token_create_params.rbs +0 -68
- data/sig/increase/resources/groups.rbs +0 -11
- data/sig/increase/resources/oauth_applications.rbs +0 -20
- data/sig/increase/resources/oauth_connections.rbs +0 -20
- data/sig/increase/resources/oauth_tokens.rbs +0 -16
|
@@ -289,6 +289,16 @@ module Increase
|
|
|
289
289
|
sig { returns(String) }
|
|
290
290
|
attr_accessor :memo
|
|
291
291
|
|
|
292
|
+
# The payee of the check. This will be printed in the Pay to the Order Of portion
|
|
293
|
+
# of the check. This should be an array of up to 4 elements, each of which
|
|
294
|
+
# represents a line of the payee.
|
|
295
|
+
sig do
|
|
296
|
+
returns(
|
|
297
|
+
T::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payee]
|
|
298
|
+
)
|
|
299
|
+
end
|
|
300
|
+
attr_accessor :payee
|
|
301
|
+
|
|
292
302
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
293
303
|
# check. This should be an array of up to 4 elements, each of which represents a
|
|
294
304
|
# line of the payer.
|
|
@@ -299,10 +309,6 @@ module Increase
|
|
|
299
309
|
end
|
|
300
310
|
attr_accessor :payer
|
|
301
311
|
|
|
302
|
-
# The name that will be printed on the check in the 'To:' field.
|
|
303
|
-
sig { returns(String) }
|
|
304
|
-
attr_accessor :recipient_name
|
|
305
|
-
|
|
306
312
|
# The ID of a File to be attached to the check. This must have
|
|
307
313
|
# `purpose: check_attachment`. For details on pricing and restrictions, see
|
|
308
314
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
@@ -412,11 +418,14 @@ module Increase
|
|
|
412
418
|
mailing_address:
|
|
413
419
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress::OrHash,
|
|
414
420
|
memo: String,
|
|
421
|
+
payee:
|
|
422
|
+
T::Array[
|
|
423
|
+
Increase::CheckTransferCreateParams::PhysicalCheck::Payee::OrHash
|
|
424
|
+
],
|
|
415
425
|
payer:
|
|
416
426
|
T::Array[
|
|
417
427
|
Increase::CheckTransferCreateParams::PhysicalCheck::Payer::OrHash
|
|
418
428
|
],
|
|
419
|
-
recipient_name: String,
|
|
420
429
|
attachment_file_id: String,
|
|
421
430
|
check_voucher_image_file_id: String,
|
|
422
431
|
note: String,
|
|
@@ -436,12 +445,14 @@ module Increase
|
|
|
436
445
|
mailing_address:,
|
|
437
446
|
# The descriptor that will be printed on the memo field on the check.
|
|
438
447
|
memo:,
|
|
448
|
+
# The payee of the check. This will be printed in the Pay to the Order Of portion
|
|
449
|
+
# of the check. This should be an array of up to 4 elements, each of which
|
|
450
|
+
# represents a line of the payee.
|
|
451
|
+
payee:,
|
|
439
452
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
440
453
|
# check. This should be an array of up to 4 elements, each of which represents a
|
|
441
454
|
# line of the payer.
|
|
442
455
|
payer:,
|
|
443
|
-
# The name that will be printed on the check in the 'To:' field.
|
|
444
|
-
recipient_name:,
|
|
445
456
|
# The ID of a File to be attached to the check. This must have
|
|
446
457
|
# `purpose: check_attachment`. For details on pricing and restrictions, see
|
|
447
458
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
@@ -479,11 +490,14 @@ module Increase
|
|
|
479
490
|
mailing_address:
|
|
480
491
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress,
|
|
481
492
|
memo: String,
|
|
493
|
+
payee:
|
|
494
|
+
T::Array[
|
|
495
|
+
Increase::CheckTransferCreateParams::PhysicalCheck::Payee
|
|
496
|
+
],
|
|
482
497
|
payer:
|
|
483
498
|
T::Array[
|
|
484
499
|
Increase::CheckTransferCreateParams::PhysicalCheck::Payer
|
|
485
500
|
],
|
|
486
|
-
recipient_name: String,
|
|
487
501
|
attachment_file_id: String,
|
|
488
502
|
check_voucher_image_file_id: String,
|
|
489
503
|
note: String,
|
|
@@ -518,6 +532,10 @@ module Increase
|
|
|
518
532
|
sig { returns(String) }
|
|
519
533
|
attr_accessor :line1
|
|
520
534
|
|
|
535
|
+
# The name component of the check's destination address.
|
|
536
|
+
sig { returns(String) }
|
|
537
|
+
attr_accessor :name
|
|
538
|
+
|
|
521
539
|
# The postal code component of the check's destination address.
|
|
522
540
|
sig { returns(String) }
|
|
523
541
|
attr_accessor :postal_code
|
|
@@ -533,14 +551,6 @@ module Increase
|
|
|
533
551
|
sig { params(line2: String).void }
|
|
534
552
|
attr_writer :line2
|
|
535
553
|
|
|
536
|
-
# The name component of the check's destination address. Defaults to the provided
|
|
537
|
-
# `recipient_name` parameter if `name` is not provided.
|
|
538
|
-
sig { returns(T.nilable(String)) }
|
|
539
|
-
attr_reader :name
|
|
540
|
-
|
|
541
|
-
sig { params(name: String).void }
|
|
542
|
-
attr_writer :name
|
|
543
|
-
|
|
544
554
|
# The phone number to associate with the check's destination address. The phone
|
|
545
555
|
# number is only used when `shipping_method` is `fedex_overnight` and will be
|
|
546
556
|
# supplied to FedEx to be used in case of delivery issues.
|
|
@@ -556,10 +566,10 @@ module Increase
|
|
|
556
566
|
params(
|
|
557
567
|
city: String,
|
|
558
568
|
line1: String,
|
|
569
|
+
name: String,
|
|
559
570
|
postal_code: String,
|
|
560
571
|
state: String,
|
|
561
572
|
line2: String,
|
|
562
|
-
name: String,
|
|
563
573
|
phone: String
|
|
564
574
|
).returns(T.attached_class)
|
|
565
575
|
end
|
|
@@ -568,15 +578,14 @@ module Increase
|
|
|
568
578
|
city:,
|
|
569
579
|
# The first line of the address component of the check's destination address.
|
|
570
580
|
line1:,
|
|
581
|
+
# The name component of the check's destination address.
|
|
582
|
+
name:,
|
|
571
583
|
# The postal code component of the check's destination address.
|
|
572
584
|
postal_code:,
|
|
573
585
|
# The US state component of the check's destination address.
|
|
574
586
|
state:,
|
|
575
587
|
# The second line of the address component of the check's destination address.
|
|
576
588
|
line2: nil,
|
|
577
|
-
# The name component of the check's destination address. Defaults to the provided
|
|
578
|
-
# `recipient_name` parameter if `name` is not provided.
|
|
579
|
-
name: nil,
|
|
580
589
|
# The phone number to associate with the check's destination address. The phone
|
|
581
590
|
# number is only used when `shipping_method` is `fedex_overnight` and will be
|
|
582
591
|
# supplied to FedEx to be used in case of delivery issues.
|
|
@@ -589,10 +598,10 @@ module Increase
|
|
|
589
598
|
{
|
|
590
599
|
city: String,
|
|
591
600
|
line1: String,
|
|
601
|
+
name: String,
|
|
592
602
|
postal_code: String,
|
|
593
603
|
state: String,
|
|
594
604
|
line2: String,
|
|
595
|
-
name: String,
|
|
596
605
|
phone: String
|
|
597
606
|
}
|
|
598
607
|
)
|
|
@@ -601,6 +610,31 @@ module Increase
|
|
|
601
610
|
end
|
|
602
611
|
end
|
|
603
612
|
|
|
613
|
+
class Payee < Increase::Internal::Type::BaseModel
|
|
614
|
+
OrHash =
|
|
615
|
+
T.type_alias do
|
|
616
|
+
T.any(
|
|
617
|
+
Increase::CheckTransferCreateParams::PhysicalCheck::Payee,
|
|
618
|
+
Increase::Internal::AnyHash
|
|
619
|
+
)
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# The contents of the line.
|
|
623
|
+
sig { returns(String) }
|
|
624
|
+
attr_accessor :contents
|
|
625
|
+
|
|
626
|
+
sig { params(contents: String).returns(T.attached_class) }
|
|
627
|
+
def self.new(
|
|
628
|
+
# The contents of the line.
|
|
629
|
+
contents:
|
|
630
|
+
)
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
sig { override.returns({ contents: String }) }
|
|
634
|
+
def to_hash
|
|
635
|
+
end
|
|
636
|
+
end
|
|
637
|
+
|
|
604
638
|
class Payer < Increase::Internal::Type::BaseModel
|
|
605
639
|
OrHash =
|
|
606
640
|
T.type_alias do
|
|
@@ -903,23 +903,35 @@ module Increase
|
|
|
903
903
|
end
|
|
904
904
|
attr_writer :created_at
|
|
905
905
|
|
|
906
|
+
# Filter fees by the UTC start date of their fee statement's period, such as
|
|
907
|
+
# `2026-08-01`.
|
|
908
|
+
sig { returns(T.nilable(Date)) }
|
|
909
|
+
attr_accessor :fee_statement_period_start
|
|
910
|
+
|
|
906
911
|
# Details of the fee CSV export. This field will be present when the `category` is
|
|
907
912
|
# equal to `fee_csv`.
|
|
908
913
|
sig do
|
|
909
914
|
params(
|
|
910
|
-
created_at: T.nilable(Increase::Export::FeeCsv::CreatedAt::OrHash)
|
|
915
|
+
created_at: T.nilable(Increase::Export::FeeCsv::CreatedAt::OrHash),
|
|
916
|
+
fee_statement_period_start: T.nilable(Date)
|
|
911
917
|
).returns(T.attached_class)
|
|
912
918
|
end
|
|
913
919
|
def self.new(
|
|
914
920
|
# Filter fees by their created date. The time range must not include any fees on
|
|
915
921
|
# an open fee statement.
|
|
916
|
-
created_at
|
|
922
|
+
created_at:,
|
|
923
|
+
# Filter fees by the UTC start date of their fee statement's period, such as
|
|
924
|
+
# `2026-08-01`.
|
|
925
|
+
fee_statement_period_start:
|
|
917
926
|
)
|
|
918
927
|
end
|
|
919
928
|
|
|
920
929
|
sig do
|
|
921
930
|
override.returns(
|
|
922
|
-
{
|
|
931
|
+
{
|
|
932
|
+
created_at: T.nilable(Increase::Export::FeeCsv::CreatedAt),
|
|
933
|
+
fee_statement_period_start: T.nilable(Date)
|
|
934
|
+
}
|
|
923
935
|
)
|
|
924
936
|
end
|
|
925
937
|
def to_hash
|
|
@@ -709,7 +709,10 @@ module Increase
|
|
|
709
709
|
)
|
|
710
710
|
end
|
|
711
711
|
|
|
712
|
-
# Filter
|
|
712
|
+
# Filter exported Fees by the time they were created. This suits historical
|
|
713
|
+
# exports across many fee statements. To get all of the Fees for a given fee
|
|
714
|
+
# statement period, we recommend using `fee_statement_period_start` instead. The
|
|
715
|
+
# time range must not include any Fees on an open fee statement.
|
|
713
716
|
sig do
|
|
714
717
|
returns(T.nilable(Increase::ExportCreateParams::FeeCsv::CreatedAt))
|
|
715
718
|
end
|
|
@@ -722,6 +725,15 @@ module Increase
|
|
|
722
725
|
end
|
|
723
726
|
attr_writer :created_at
|
|
724
727
|
|
|
728
|
+
# Filter exported Fees to the fee statements whose period starts on this UTC date,
|
|
729
|
+
# such as `2026-08-01`. Use this filter to export all of the Fees on a fee
|
|
730
|
+
# statement. The matching fee statements must be closed.
|
|
731
|
+
sig { returns(T.nilable(Date)) }
|
|
732
|
+
attr_reader :fee_statement_period_start
|
|
733
|
+
|
|
734
|
+
sig { params(fee_statement_period_start: Date).void }
|
|
735
|
+
attr_writer :fee_statement_period_start
|
|
736
|
+
|
|
725
737
|
# Filter exported Fees to the specified Program.
|
|
726
738
|
sig { returns(T.nilable(String)) }
|
|
727
739
|
attr_reader :program_id
|
|
@@ -733,12 +745,20 @@ module Increase
|
|
|
733
745
|
sig do
|
|
734
746
|
params(
|
|
735
747
|
created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt::OrHash,
|
|
748
|
+
fee_statement_period_start: Date,
|
|
736
749
|
program_id: String
|
|
737
750
|
).returns(T.attached_class)
|
|
738
751
|
end
|
|
739
752
|
def self.new(
|
|
740
|
-
# Filter
|
|
753
|
+
# Filter exported Fees by the time they were created. This suits historical
|
|
754
|
+
# exports across many fee statements. To get all of the Fees for a given fee
|
|
755
|
+
# statement period, we recommend using `fee_statement_period_start` instead. The
|
|
756
|
+
# time range must not include any Fees on an open fee statement.
|
|
741
757
|
created_at: nil,
|
|
758
|
+
# Filter exported Fees to the fee statements whose period starts on this UTC date,
|
|
759
|
+
# such as `2026-08-01`. Use this filter to export all of the Fees on a fee
|
|
760
|
+
# statement. The matching fee statements must be closed.
|
|
761
|
+
fee_statement_period_start: nil,
|
|
742
762
|
# Filter exported Fees to the specified Program.
|
|
743
763
|
program_id: nil
|
|
744
764
|
)
|
|
@@ -748,6 +768,7 @@ module Increase
|
|
|
748
768
|
override.returns(
|
|
749
769
|
{
|
|
750
770
|
created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
|
|
771
|
+
fee_statement_period_start: Date,
|
|
751
772
|
program_id: String
|
|
752
773
|
}
|
|
753
774
|
)
|
|
@@ -796,7 +817,10 @@ module Increase
|
|
|
796
817
|
sig { params(on_or_before: Time).void }
|
|
797
818
|
attr_writer :on_or_before
|
|
798
819
|
|
|
799
|
-
# Filter
|
|
820
|
+
# Filter exported Fees by the time they were created. This suits historical
|
|
821
|
+
# exports across many fee statements. To get all of the Fees for a given fee
|
|
822
|
+
# statement period, we recommend using `fee_statement_period_start` instead. The
|
|
823
|
+
# time range must not include any Fees on an open fee statement.
|
|
800
824
|
sig do
|
|
801
825
|
params(
|
|
802
826
|
after: Time,
|
|
@@ -95,6 +95,10 @@ module Increase
|
|
|
95
95
|
sig { returns(T.nilable(String)) }
|
|
96
96
|
attr_accessor :end_to_end_identification
|
|
97
97
|
|
|
98
|
+
# The identifier of the Real-Time Payments Transfer this transfer returns, if any.
|
|
99
|
+
sig { returns(T.nilable(String)) }
|
|
100
|
+
attr_accessor :return_of_real_time_payments_transfer_id
|
|
101
|
+
|
|
98
102
|
# The lifecycle status of the transfer.
|
|
99
103
|
sig do
|
|
100
104
|
returns(Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol)
|
|
@@ -140,6 +144,7 @@ module Increase
|
|
|
140
144
|
Increase::InboundRealTimePaymentsTransfer::Decline::OrHash
|
|
141
145
|
),
|
|
142
146
|
end_to_end_identification: T.nilable(String),
|
|
147
|
+
return_of_real_time_payments_transfer_id: T.nilable(String),
|
|
143
148
|
status: Increase::InboundRealTimePaymentsTransfer::Status::OrSymbol,
|
|
144
149
|
transaction_identification: String,
|
|
145
150
|
type: Increase::InboundRealTimePaymentsTransfer::Type::OrSymbol,
|
|
@@ -175,6 +180,8 @@ module Increase
|
|
|
175
180
|
decline:,
|
|
176
181
|
# A free-form reference string set by the sender, to help identify the transfer.
|
|
177
182
|
end_to_end_identification:,
|
|
183
|
+
# The identifier of the Real-Time Payments Transfer this transfer returns, if any.
|
|
184
|
+
return_of_real_time_payments_transfer_id:,
|
|
178
185
|
# The lifecycle status of the transfer.
|
|
179
186
|
status:,
|
|
180
187
|
# The Real-Time Payments network identification of the transfer.
|
|
@@ -208,6 +215,7 @@ module Increase
|
|
|
208
215
|
decline:
|
|
209
216
|
T.nilable(Increase::InboundRealTimePaymentsTransfer::Decline),
|
|
210
217
|
end_to_end_identification: T.nilable(String),
|
|
218
|
+
return_of_real_time_payments_transfer_id: T.nilable(String),
|
|
211
219
|
status:
|
|
212
220
|
Increase::InboundRealTimePaymentsTransfer::Status::TaggedSymbol,
|
|
213
221
|
transaction_identification: String,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class InboundRealTimePaymentsTransferReturnParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::InboundRealTimePaymentsTransferReturnParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Inbound Real-Time Payments Transfer to return to its
|
|
18
|
+
# sender.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :inbound_real_time_payments_transfer_id
|
|
21
|
+
|
|
22
|
+
# The amount to return, in USD cents. Defaults to the full amount of the Inbound
|
|
23
|
+
# Real-Time Payments Transfer, and can't be higher than it.
|
|
24
|
+
sig { returns(T.nilable(Integer)) }
|
|
25
|
+
attr_reader :amount
|
|
26
|
+
|
|
27
|
+
sig { params(amount: Integer).void }
|
|
28
|
+
attr_writer :amount
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
params(
|
|
32
|
+
inbound_real_time_payments_transfer_id: String,
|
|
33
|
+
amount: Integer,
|
|
34
|
+
request_options: Increase::RequestOptions::OrHash
|
|
35
|
+
).returns(T.attached_class)
|
|
36
|
+
end
|
|
37
|
+
def self.new(
|
|
38
|
+
# The identifier of the Inbound Real-Time Payments Transfer to return to its
|
|
39
|
+
# sender.
|
|
40
|
+
inbound_real_time_payments_transfer_id:,
|
|
41
|
+
# The amount to return, in USD cents. Defaults to the full amount of the Inbound
|
|
42
|
+
# Real-Time Payments Transfer, and can't be higher than it.
|
|
43
|
+
amount: nil,
|
|
44
|
+
request_options: {}
|
|
45
|
+
)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
sig do
|
|
49
|
+
override.returns(
|
|
50
|
+
{
|
|
51
|
+
inbound_real_time_payments_transfer_id: String,
|
|
52
|
+
amount: Integer,
|
|
53
|
+
request_options: Increase::RequestOptions
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
def to_hash
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -103,6 +103,10 @@ module Increase
|
|
|
103
103
|
sig { returns(T.nilable(String)) }
|
|
104
104
|
attr_accessor :debtor_name
|
|
105
105
|
|
|
106
|
+
# A free-form reference string set by the sender, to help identify the transfer.
|
|
107
|
+
sig { returns(T.nilable(String)) }
|
|
108
|
+
attr_accessor :end_to_end_identification
|
|
109
|
+
|
|
106
110
|
# The identifier of the External Account the transfer was made to, if any.
|
|
107
111
|
sig { returns(T.nilable(String)) }
|
|
108
112
|
attr_accessor :external_account_id
|
|
@@ -138,6 +142,11 @@ module Increase
|
|
|
138
142
|
end
|
|
139
143
|
attr_writer :rejection
|
|
140
144
|
|
|
145
|
+
# The identifier of the Inbound Real-Time Payments Transfer this transfer returns,
|
|
146
|
+
# if any.
|
|
147
|
+
sig { returns(T.nilable(String)) }
|
|
148
|
+
attr_accessor :return_of_inbound_real_time_payments_transfer_id
|
|
149
|
+
|
|
141
150
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
142
151
|
# (RTN).
|
|
143
152
|
sig { returns(String) }
|
|
@@ -209,12 +218,14 @@ module Increase
|
|
|
209
218
|
creditor_name: String,
|
|
210
219
|
currency: Increase::RealTimePaymentsTransfer::Currency::OrSymbol,
|
|
211
220
|
debtor_name: T.nilable(String),
|
|
221
|
+
end_to_end_identification: T.nilable(String),
|
|
212
222
|
external_account_id: T.nilable(String),
|
|
213
223
|
idempotency_key: T.nilable(String),
|
|
214
224
|
inbound_real_time_payments_request_for_payment_id: T.nilable(String),
|
|
215
225
|
pending_transaction_id: T.nilable(String),
|
|
216
226
|
rejection:
|
|
217
227
|
T.nilable(Increase::RealTimePaymentsTransfer::Rejection::OrHash),
|
|
228
|
+
return_of_inbound_real_time_payments_transfer_id: T.nilable(String),
|
|
218
229
|
routing_number: String,
|
|
219
230
|
source_account_number_id: String,
|
|
220
231
|
status: Increase::RealTimePaymentsTransfer::Status::OrSymbol,
|
|
@@ -259,6 +270,8 @@ module Increase
|
|
|
259
270
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
260
271
|
# account's entity.
|
|
261
272
|
debtor_name:,
|
|
273
|
+
# A free-form reference string set by the sender, to help identify the transfer.
|
|
274
|
+
end_to_end_identification:,
|
|
262
275
|
# The identifier of the External Account the transfer was made to, if any.
|
|
263
276
|
external_account_id:,
|
|
264
277
|
# The idempotency key you chose for this object. This value is unique across
|
|
@@ -276,6 +289,9 @@ module Increase
|
|
|
276
289
|
# If the transfer is rejected by Real-Time Payments or the destination financial
|
|
277
290
|
# institution, this will contain supplemental details.
|
|
278
291
|
rejection:,
|
|
292
|
+
# The identifier of the Inbound Real-Time Payments Transfer this transfer returns,
|
|
293
|
+
# if any.
|
|
294
|
+
return_of_inbound_real_time_payments_transfer_id:,
|
|
279
295
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
280
296
|
# (RTN).
|
|
281
297
|
routing_number:,
|
|
@@ -321,12 +337,14 @@ module Increase
|
|
|
321
337
|
currency:
|
|
322
338
|
Increase::RealTimePaymentsTransfer::Currency::TaggedSymbol,
|
|
323
339
|
debtor_name: T.nilable(String),
|
|
340
|
+
end_to_end_identification: T.nilable(String),
|
|
324
341
|
external_account_id: T.nilable(String),
|
|
325
342
|
idempotency_key: T.nilable(String),
|
|
326
343
|
inbound_real_time_payments_request_for_payment_id:
|
|
327
344
|
T.nilable(String),
|
|
328
345
|
pending_transaction_id: T.nilable(String),
|
|
329
346
|
rejection: T.nilable(Increase::RealTimePaymentsTransfer::Rejection),
|
|
347
|
+
return_of_inbound_real_time_payments_transfer_id: T.nilable(String),
|
|
330
348
|
routing_number: String,
|
|
331
349
|
source_account_number_id: String,
|
|
332
350
|
status: Increase::RealTimePaymentsTransfer::Status::TaggedSymbol,
|
|
@@ -2010,7 +2010,7 @@ module Increase
|
|
|
2010
2010
|
attr_accessor :routing_number
|
|
2011
2011
|
|
|
2012
2012
|
# A description set when the ACH Transfer was created.
|
|
2013
|
-
sig { returns(String) }
|
|
2013
|
+
sig { returns(T.nilable(String)) }
|
|
2014
2014
|
attr_accessor :statement_descriptor
|
|
2015
2015
|
|
|
2016
2016
|
# The identifier of the ACH Transfer that led to this Transaction.
|
|
@@ -2026,7 +2026,7 @@ module Increase
|
|
|
2026
2026
|
account_number: String,
|
|
2027
2027
|
amount: Integer,
|
|
2028
2028
|
routing_number: String,
|
|
2029
|
-
statement_descriptor: String,
|
|
2029
|
+
statement_descriptor: T.nilable(String),
|
|
2030
2030
|
transfer_id: String
|
|
2031
2031
|
).returns(T.attached_class)
|
|
2032
2032
|
end
|
|
@@ -2052,7 +2052,7 @@ module Increase
|
|
|
2052
2052
|
account_number: String,
|
|
2053
2053
|
amount: Integer,
|
|
2054
2054
|
routing_number: String,
|
|
2055
|
-
statement_descriptor: String,
|
|
2055
|
+
statement_descriptor: T.nilable(String),
|
|
2056
2056
|
transfer_id: String
|
|
2057
2057
|
}
|
|
2058
2058
|
)
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -327,10 +327,6 @@ module Increase
|
|
|
327
327
|
|
|
328
328
|
FileRetrieveParams = Increase::Models::FileRetrieveParams
|
|
329
329
|
|
|
330
|
-
Group = Increase::Models::Group
|
|
331
|
-
|
|
332
|
-
GroupRetrieveParams = Increase::Models::GroupRetrieveParams
|
|
333
|
-
|
|
334
330
|
InboundACHTransfer = Increase::Models::InboundACHTransfer
|
|
335
331
|
|
|
336
332
|
InboundACHTransferCreateNotificationOfChangeParams =
|
|
@@ -396,6 +392,9 @@ module Increase
|
|
|
396
392
|
InboundRealTimePaymentsTransferRetrieveParams =
|
|
397
393
|
Increase::Models::InboundRealTimePaymentsTransferRetrieveParams
|
|
398
394
|
|
|
395
|
+
InboundRealTimePaymentsTransferReturnParams =
|
|
396
|
+
Increase::Models::InboundRealTimePaymentsTransferReturnParams
|
|
397
|
+
|
|
399
398
|
InboundWireDrawdownRequest = Increase::Models::InboundWireDrawdownRequest
|
|
400
399
|
|
|
401
400
|
InboundWireDrawdownRequestListParams =
|
|
@@ -467,24 +466,6 @@ module Increase
|
|
|
467
466
|
|
|
468
467
|
LockboxRecipientUpdateParams = Increase::Models::LockboxRecipientUpdateParams
|
|
469
468
|
|
|
470
|
-
OAuthApplication = Increase::Models::OAuthApplication
|
|
471
|
-
|
|
472
|
-
OAuthApplicationListParams = Increase::Models::OAuthApplicationListParams
|
|
473
|
-
|
|
474
|
-
OAuthApplicationRetrieveParams =
|
|
475
|
-
Increase::Models::OAuthApplicationRetrieveParams
|
|
476
|
-
|
|
477
|
-
OAuthConnection = Increase::Models::OAuthConnection
|
|
478
|
-
|
|
479
|
-
OAuthConnectionListParams = Increase::Models::OAuthConnectionListParams
|
|
480
|
-
|
|
481
|
-
OAuthConnectionRetrieveParams =
|
|
482
|
-
Increase::Models::OAuthConnectionRetrieveParams
|
|
483
|
-
|
|
484
|
-
OAuthToken = Increase::Models::OAuthToken
|
|
485
|
-
|
|
486
|
-
OAuthTokenCreateParams = Increase::Models::OAuthTokenCreateParams
|
|
487
|
-
|
|
488
469
|
PendingTransaction = Increase::Models::PendingTransaction
|
|
489
470
|
|
|
490
471
|
PendingTransactionCreateParams =
|
|
@@ -50,6 +50,25 @@ module Increase
|
|
|
50
50
|
)
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
# Return an Inbound Real-Time Payments Transfer
|
|
54
|
+
sig do
|
|
55
|
+
params(
|
|
56
|
+
inbound_real_time_payments_transfer_id: String,
|
|
57
|
+
amount: Integer,
|
|
58
|
+
request_options: Increase::RequestOptions::OrHash
|
|
59
|
+
).returns(Increase::RealTimePaymentsTransfer)
|
|
60
|
+
end
|
|
61
|
+
def return_(
|
|
62
|
+
# The identifier of the Inbound Real-Time Payments Transfer to return to its
|
|
63
|
+
# sender.
|
|
64
|
+
inbound_real_time_payments_transfer_id,
|
|
65
|
+
# The amount to return, in USD cents. Defaults to the full amount of the Inbound
|
|
66
|
+
# Real-Time Payments Transfer, and can't be higher than it.
|
|
67
|
+
amount: nil,
|
|
68
|
+
request_options: {}
|
|
69
|
+
)
|
|
70
|
+
end
|
|
71
|
+
|
|
53
72
|
# @api private
|
|
54
73
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
55
74
|
def self.new(client:)
|
data/sig/increase/client.rbs
CHANGED
|
@@ -115,14 +115,6 @@ module Increase
|
|
|
115
115
|
|
|
116
116
|
attr_reader real_time_decisions: Increase::Resources::RealTimeDecisions
|
|
117
117
|
|
|
118
|
-
attr_reader groups: Increase::Resources::Groups
|
|
119
|
-
|
|
120
|
-
attr_reader oauth_applications: Increase::Resources::OAuthApplications
|
|
121
|
-
|
|
122
|
-
attr_reader oauth_connections: Increase::Resources::OAuthConnections
|
|
123
|
-
|
|
124
|
-
attr_reader oauth_tokens: Increase::Resources::OAuthTokens
|
|
125
|
-
|
|
126
118
|
attr_reader intrafi_account_enrollments: Increase::Resources::IntrafiAccountEnrollments
|
|
127
119
|
|
|
128
120
|
attr_reader intrafi_balances: Increase::Resources::IntrafiBalances
|
|
@@ -33,7 +33,7 @@ module Increase
|
|
|
33
33
|
routing_number: String,
|
|
34
34
|
settlement: Increase::ACHTransfer::Settlement?,
|
|
35
35
|
standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code,
|
|
36
|
-
statement_descriptor: String
|
|
36
|
+
statement_descriptor: String?,
|
|
37
37
|
status: Increase::Models::ACHTransfer::status,
|
|
38
38
|
submission: Increase::ACHTransfer::Submission?,
|
|
39
39
|
transaction_id: String?,
|
|
@@ -103,7 +103,7 @@ module Increase
|
|
|
103
103
|
|
|
104
104
|
attr_accessor standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code
|
|
105
105
|
|
|
106
|
-
attr_accessor statement_descriptor: String
|
|
106
|
+
attr_accessor statement_descriptor: String?
|
|
107
107
|
|
|
108
108
|
attr_accessor status: Increase::Models::ACHTransfer::status
|
|
109
109
|
|
|
@@ -145,7 +145,7 @@ module Increase
|
|
|
145
145
|
routing_number: String,
|
|
146
146
|
settlement: Increase::ACHTransfer::Settlement?,
|
|
147
147
|
standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code,
|
|
148
|
-
statement_descriptor: String
|
|
148
|
+
statement_descriptor: String?,
|
|
149
149
|
status: Increase::Models::ACHTransfer::status,
|
|
150
150
|
submission: Increase::ACHTransfer::Submission?,
|
|
151
151
|
transaction_id: String?,
|
|
@@ -184,7 +184,7 @@ module Increase
|
|
|
184
184
|
routing_number: String,
|
|
185
185
|
settlement: Increase::ACHTransfer::Settlement?,
|
|
186
186
|
standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code,
|
|
187
|
-
statement_descriptor: String
|
|
187
|
+
statement_descriptor: String?,
|
|
188
188
|
status: Increase::Models::ACHTransfer::status,
|
|
189
189
|
submission: Increase::ACHTransfer::Submission?,
|
|
190
190
|
transaction_id: String?,
|