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.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/client.rb +0 -16
  4. data/lib/increase/models/ach_transfer.rb +38 -23
  5. data/lib/increase/models/check_transfer.rb +58 -44
  6. data/lib/increase/models/check_transfer_create_params.rb +35 -21
  7. data/lib/increase/models/export.rb +12 -1
  8. data/lib/increase/models/export_create_params.rb +26 -4
  9. data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
  10. data/lib/increase/models/inbound_real_time_payments_transfer_return_params.rb +36 -0
  11. data/lib/increase/models/real_time_payments_transfer.rb +21 -1
  12. data/lib/increase/models/transaction.rb +3 -3
  13. data/lib/increase/models.rb +3 -20
  14. data/lib/increase/resources/inbound_real_time_payments_transfers.rb +28 -0
  15. data/lib/increase/version.rb +1 -1
  16. data/lib/increase.rb +1 -14
  17. data/rbi/increase/client.rbi +0 -12
  18. data/rbi/increase/models/ach_transfer.rbi +35 -23
  19. data/rbi/increase/models/check_transfer.rbi +72 -54
  20. data/rbi/increase/models/check_transfer_create_params.rbi +55 -21
  21. data/rbi/increase/models/export.rbi +15 -3
  22. data/rbi/increase/models/export_create_params.rbi +27 -3
  23. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
  24. data/rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi +61 -0
  25. data/rbi/increase/models/real_time_payments_transfer.rbi +18 -0
  26. data/rbi/increase/models/transaction.rbi +3 -3
  27. data/rbi/increase/models.rbi +3 -22
  28. data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +19 -0
  29. data/sig/increase/client.rbs +0 -8
  30. data/sig/increase/models/ach_transfer.rbs +4 -4
  31. data/sig/increase/models/check_transfer.rbs +59 -49
  32. data/sig/increase/models/check_transfer_create_params.rbs +20 -12
  33. data/sig/increase/models/export.rbs +13 -3
  34. data/sig/increase/models/export_create_params.rbs +7 -0
  35. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
  36. data/sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs +30 -0
  37. data/sig/increase/models/real_time_payments_transfer.rbs +10 -0
  38. data/sig/increase/models/transaction.rbs +4 -4
  39. data/sig/increase/models.rbs +2 -20
  40. data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +6 -0
  41. metadata +6 -45
  42. data/lib/increase/models/group.rb +0 -57
  43. data/lib/increase/models/group_retrieve_params.rb +0 -14
  44. data/lib/increase/models/oauth_application.rb +0 -111
  45. data/lib/increase/models/oauth_application_list_params.rb +0 -129
  46. data/lib/increase/models/oauth_application_retrieve_params.rb +0 -22
  47. data/lib/increase/models/oauth_connection.rb +0 -107
  48. data/lib/increase/models/oauth_connection_list_params.rb +0 -88
  49. data/lib/increase/models/oauth_connection_retrieve_params.rb +0 -22
  50. data/lib/increase/models/oauth_token.rb +0 -76
  51. data/lib/increase/models/oauth_token_create_params.rb +0 -85
  52. data/lib/increase/resources/groups.rb +0 -32
  53. data/lib/increase/resources/oauth_applications.rb +0 -68
  54. data/lib/increase/resources/oauth_connections.rb +0 -70
  55. data/lib/increase/resources/oauth_tokens.rb +0 -54
  56. data/rbi/increase/models/group.rbi +0 -74
  57. data/rbi/increase/models/group_retrieve_params.rbi +0 -27
  58. data/rbi/increase/models/oauth_application.rbi +0 -146
  59. data/rbi/increase/models/oauth_application_list_params.rbi +0 -263
  60. data/rbi/increase/models/oauth_application_retrieve_params.rbi +0 -46
  61. data/rbi/increase/models/oauth_connection.rbi +0 -142
  62. data/rbi/increase/models/oauth_connection_list_params.rbi +0 -187
  63. data/rbi/increase/models/oauth_connection_retrieve_params.rbi +0 -46
  64. data/rbi/increase/models/oauth_token.rbi +0 -106
  65. data/rbi/increase/models/oauth_token_create_params.rbi +0 -133
  66. data/rbi/increase/resources/groups.rbi +0 -21
  67. data/rbi/increase/resources/oauth_applications.rbi +0 -50
  68. data/rbi/increase/resources/oauth_connections.rbi +0 -52
  69. data/rbi/increase/resources/oauth_tokens.rbi +0 -44
  70. data/sig/increase/models/group.rbs +0 -36
  71. data/sig/increase/models/group_retrieve_params.rbs +0 -15
  72. data/sig/increase/models/oauth_application.rbs +0 -74
  73. data/sig/increase/models/oauth_application_list_params.rbs +0 -123
  74. data/sig/increase/models/oauth_application_retrieve_params.rbs +0 -24
  75. data/sig/increase/models/oauth_connection.rbs +0 -74
  76. data/sig/increase/models/oauth_connection_list_params.rbs +0 -86
  77. data/sig/increase/models/oauth_connection_retrieve_params.rbs +0 -24
  78. data/sig/increase/models/oauth_token.rbs +0 -55
  79. data/sig/increase/models/oauth_token_create_params.rbs +0 -68
  80. data/sig/increase/resources/groups.rbs +0 -11
  81. data/sig/increase/resources/oauth_applications.rbs +0 -20
  82. data/sig/increase/resources/oauth_connections.rbs +0 -20
  83. data/sig/increase/resources/oauth_tokens.rbs +0 -16
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.362.0
4
+ version: 1.363.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-10-29 00:00:00.000000000 Z
11
+ date: 2026-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -245,8 +245,6 @@ files:
245
245
  - lib/increase/models/file_link_create_params.rb
246
246
  - lib/increase/models/file_list_params.rb
247
247
  - lib/increase/models/file_retrieve_params.rb
248
- - lib/increase/models/group.rb
249
- - lib/increase/models/group_retrieve_params.rb
250
248
  - lib/increase/models/inbound_ach_transfer.rb
251
249
  - lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb
252
250
  - lib/increase/models/inbound_ach_transfer_decline_params.rb
@@ -271,6 +269,7 @@ files:
271
269
  - lib/increase/models/inbound_real_time_payments_transfer.rb
272
270
  - lib/increase/models/inbound_real_time_payments_transfer_list_params.rb
273
271
  - lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb
272
+ - lib/increase/models/inbound_real_time_payments_transfer_return_params.rb
274
273
  - lib/increase/models/inbound_wire_drawdown_request.rb
275
274
  - lib/increase/models/inbound_wire_drawdown_request_list_params.rb
276
275
  - lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb
@@ -300,14 +299,6 @@ files:
300
299
  - lib/increase/models/lockbox_recipient_list_params.rb
301
300
  - lib/increase/models/lockbox_recipient_retrieve_params.rb
302
301
  - lib/increase/models/lockbox_recipient_update_params.rb
303
- - lib/increase/models/oauth_application.rb
304
- - lib/increase/models/oauth_application_list_params.rb
305
- - lib/increase/models/oauth_application_retrieve_params.rb
306
- - lib/increase/models/oauth_connection.rb
307
- - lib/increase/models/oauth_connection_list_params.rb
308
- - lib/increase/models/oauth_connection_retrieve_params.rb
309
- - lib/increase/models/oauth_token.rb
310
- - lib/increase/models/oauth_token_create_params.rb
311
302
  - lib/increase/models/pending_transaction.rb
312
303
  - lib/increase/models/pending_transaction_create_params.rb
313
304
  - lib/increase/models/pending_transaction_list_params.rb
@@ -451,7 +442,6 @@ files:
451
442
  - lib/increase/resources/fednow_transfers.rb
452
443
  - lib/increase/resources/file_links.rb
453
444
  - lib/increase/resources/files.rb
454
- - lib/increase/resources/groups.rb
455
445
  - lib/increase/resources/inbound_ach_transfers.rb
456
446
  - lib/increase/resources/inbound_check_deposits.rb
457
447
  - lib/increase/resources/inbound_fednow_transfers.rb
@@ -465,9 +455,6 @@ files:
465
455
  - lib/increase/resources/intrafi_exclusions.rb
466
456
  - lib/increase/resources/lockbox_addresses.rb
467
457
  - lib/increase/resources/lockbox_recipients.rb
468
- - lib/increase/resources/oauth_applications.rb
469
- - lib/increase/resources/oauth_connections.rb
470
- - lib/increase/resources/oauth_tokens.rb
471
458
  - lib/increase/resources/pending_transactions.rb
472
459
  - lib/increase/resources/physical_card_profiles.rb
473
460
  - lib/increase/resources/physical_cards.rb
@@ -689,8 +676,6 @@ files:
689
676
  - rbi/increase/models/file_link_create_params.rbi
690
677
  - rbi/increase/models/file_list_params.rbi
691
678
  - rbi/increase/models/file_retrieve_params.rbi
692
- - rbi/increase/models/group.rbi
693
- - rbi/increase/models/group_retrieve_params.rbi
694
679
  - rbi/increase/models/inbound_ach_transfer.rbi
695
680
  - rbi/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbi
696
681
  - rbi/increase/models/inbound_ach_transfer_decline_params.rbi
@@ -715,6 +700,7 @@ files:
715
700
  - rbi/increase/models/inbound_real_time_payments_transfer.rbi
716
701
  - rbi/increase/models/inbound_real_time_payments_transfer_list_params.rbi
717
702
  - rbi/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbi
703
+ - rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi
718
704
  - rbi/increase/models/inbound_wire_drawdown_request.rbi
719
705
  - rbi/increase/models/inbound_wire_drawdown_request_list_params.rbi
720
706
  - rbi/increase/models/inbound_wire_drawdown_request_retrieve_params.rbi
@@ -744,14 +730,6 @@ files:
744
730
  - rbi/increase/models/lockbox_recipient_list_params.rbi
745
731
  - rbi/increase/models/lockbox_recipient_retrieve_params.rbi
746
732
  - rbi/increase/models/lockbox_recipient_update_params.rbi
747
- - rbi/increase/models/oauth_application.rbi
748
- - rbi/increase/models/oauth_application_list_params.rbi
749
- - rbi/increase/models/oauth_application_retrieve_params.rbi
750
- - rbi/increase/models/oauth_connection.rbi
751
- - rbi/increase/models/oauth_connection_list_params.rbi
752
- - rbi/increase/models/oauth_connection_retrieve_params.rbi
753
- - rbi/increase/models/oauth_token.rbi
754
- - rbi/increase/models/oauth_token_create_params.rbi
755
733
  - rbi/increase/models/pending_transaction.rbi
756
734
  - rbi/increase/models/pending_transaction_create_params.rbi
757
735
  - rbi/increase/models/pending_transaction_list_params.rbi
@@ -895,7 +873,6 @@ files:
895
873
  - rbi/increase/resources/fednow_transfers.rbi
896
874
  - rbi/increase/resources/file_links.rbi
897
875
  - rbi/increase/resources/files.rbi
898
- - rbi/increase/resources/groups.rbi
899
876
  - rbi/increase/resources/inbound_ach_transfers.rbi
900
877
  - rbi/increase/resources/inbound_check_deposits.rbi
901
878
  - rbi/increase/resources/inbound_fednow_transfers.rbi
@@ -909,9 +886,6 @@ files:
909
886
  - rbi/increase/resources/intrafi_exclusions.rbi
910
887
  - rbi/increase/resources/lockbox_addresses.rbi
911
888
  - rbi/increase/resources/lockbox_recipients.rbi
912
- - rbi/increase/resources/oauth_applications.rbi
913
- - rbi/increase/resources/oauth_connections.rbi
914
- - rbi/increase/resources/oauth_tokens.rbi
915
889
  - rbi/increase/resources/pending_transactions.rbi
916
890
  - rbi/increase/resources/physical_card_profiles.rbi
917
891
  - rbi/increase/resources/physical_cards.rbi
@@ -1132,8 +1106,6 @@ files:
1132
1106
  - sig/increase/models/file_link_create_params.rbs
1133
1107
  - sig/increase/models/file_list_params.rbs
1134
1108
  - sig/increase/models/file_retrieve_params.rbs
1135
- - sig/increase/models/group.rbs
1136
- - sig/increase/models/group_retrieve_params.rbs
1137
1109
  - sig/increase/models/inbound_ach_transfer.rbs
1138
1110
  - sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs
1139
1111
  - sig/increase/models/inbound_ach_transfer_decline_params.rbs
@@ -1158,6 +1130,7 @@ files:
1158
1130
  - sig/increase/models/inbound_real_time_payments_transfer.rbs
1159
1131
  - sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs
1160
1132
  - sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs
1133
+ - sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs
1161
1134
  - sig/increase/models/inbound_wire_drawdown_request.rbs
1162
1135
  - sig/increase/models/inbound_wire_drawdown_request_list_params.rbs
1163
1136
  - sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs
@@ -1187,14 +1160,6 @@ files:
1187
1160
  - sig/increase/models/lockbox_recipient_list_params.rbs
1188
1161
  - sig/increase/models/lockbox_recipient_retrieve_params.rbs
1189
1162
  - sig/increase/models/lockbox_recipient_update_params.rbs
1190
- - sig/increase/models/oauth_application.rbs
1191
- - sig/increase/models/oauth_application_list_params.rbs
1192
- - sig/increase/models/oauth_application_retrieve_params.rbs
1193
- - sig/increase/models/oauth_connection.rbs
1194
- - sig/increase/models/oauth_connection_list_params.rbs
1195
- - sig/increase/models/oauth_connection_retrieve_params.rbs
1196
- - sig/increase/models/oauth_token.rbs
1197
- - sig/increase/models/oauth_token_create_params.rbs
1198
1163
  - sig/increase/models/pending_transaction.rbs
1199
1164
  - sig/increase/models/pending_transaction_create_params.rbs
1200
1165
  - sig/increase/models/pending_transaction_list_params.rbs
@@ -1338,7 +1303,6 @@ files:
1338
1303
  - sig/increase/resources/fednow_transfers.rbs
1339
1304
  - sig/increase/resources/file_links.rbs
1340
1305
  - sig/increase/resources/files.rbs
1341
- - sig/increase/resources/groups.rbs
1342
1306
  - sig/increase/resources/inbound_ach_transfers.rbs
1343
1307
  - sig/increase/resources/inbound_check_deposits.rbs
1344
1308
  - sig/increase/resources/inbound_fednow_transfers.rbs
@@ -1352,9 +1316,6 @@ files:
1352
1316
  - sig/increase/resources/intrafi_exclusions.rbs
1353
1317
  - sig/increase/resources/lockbox_addresses.rbs
1354
1318
  - sig/increase/resources/lockbox_recipients.rbs
1355
- - sig/increase/resources/oauth_applications.rbs
1356
- - sig/increase/resources/oauth_connections.rbs
1357
- - sig/increase/resources/oauth_tokens.rbs
1358
1319
  - sig/increase/resources/pending_transactions.rbs
1359
1320
  - sig/increase/resources/physical_card_profiles.rbs
1360
1321
  - sig/increase/resources/physical_cards.rbs
@@ -1428,7 +1389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1428
1389
  - !ruby/object:Gem::Version
1429
1390
  version: '0'
1430
1391
  requirements: []
1431
- rubygems_version: 3.5.3
1392
+ rubygems_version: 3.5.22
1432
1393
  signing_key:
1433
1394
  specification_version: 4
1434
1395
  summary: Ruby library to access the Increase API
@@ -1,57 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Groups#retrieve
6
- class Group < Increase::Internal::Type::BaseModel
7
- # @!attribute id
8
- # The Group identifier.
9
- #
10
- # @return [String]
11
- required :id, String
12
-
13
- # @!attribute created_at
14
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group
15
- # was created.
16
- #
17
- # @return [Time]
18
- required :created_at, Time
19
-
20
- # @!attribute type
21
- # A constant representing the object's type. For this resource it will always be
22
- # `group`.
23
- #
24
- # @return [Symbol, Increase::Models::Group::Type]
25
- required :type, enum: -> { Increase::Group::Type }
26
-
27
- # @!method initialize(id:, created_at:, type:)
28
- # Groups represent organizations using Increase. You can retrieve information
29
- # about your own organization via the API. More commonly, OAuth platforms can
30
- # retrieve information about the organizations that have granted them access.
31
- # Learn more about OAuth [here](https://increase.com/documentation/oauth).
32
- #
33
- # @param id [String] The Group identifier.
34
- #
35
- # @param created_at [Time]
36
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group
37
- # was created.
38
- #
39
- # @param type [Symbol, Increase::Models::Group::Type]
40
- # A constant representing the object's type. For this resource it will always be
41
- # `group`.
42
-
43
- # A constant representing the object's type. For this resource it will always be
44
- # `group`.
45
- #
46
- # @see Increase::Models::Group#type
47
- module Type
48
- extend Increase::Internal::Type::Enum
49
-
50
- GROUP = :group
51
-
52
- # @!method self.values
53
- # @return [Array<Symbol>]
54
- end
55
- end
56
- end
57
- end
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::Groups#retrieve
6
- class GroupRetrieveParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!method initialize(request_options: {})
11
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
12
- end
13
- end
14
- end
@@ -1,111 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::OAuthApplications#retrieve
6
- class OAuthApplication < Increase::Internal::Type::BaseModel
7
- # @!attribute id
8
- # The OAuth Application's identifier.
9
- #
10
- # @return [String]
11
- required :id, String
12
-
13
- # @!attribute client_id
14
- # The OAuth Application's client_id. Use this to authenticate with the OAuth
15
- # Application.
16
- #
17
- # @return [String]
18
- required :client_id, String
19
-
20
- # @!attribute created_at
21
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
22
- # Application was created.
23
- #
24
- # @return [Time]
25
- required :created_at, Time
26
-
27
- # @!attribute deleted_at
28
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
29
- # Application was deleted.
30
- #
31
- # @return [Time, nil]
32
- required :deleted_at, Time, nil?: true
33
-
34
- # @!attribute name
35
- # The name you chose for this OAuth Application.
36
- #
37
- # @return [String, nil]
38
- required :name, String, nil?: true
39
-
40
- # @!attribute status
41
- # Whether the application is active.
42
- #
43
- # @return [Symbol, Increase::Models::OAuthApplication::Status]
44
- required :status, enum: -> { Increase::OAuthApplication::Status }
45
-
46
- # @!attribute type
47
- # A constant representing the object's type. For this resource it will always be
48
- # `oauth_application`.
49
- #
50
- # @return [Symbol, Increase::Models::OAuthApplication::Type]
51
- required :type, enum: -> { Increase::OAuthApplication::Type }
52
-
53
- # @!method initialize(id:, client_id:, created_at:, deleted_at:, name:, status:, type:)
54
- # An OAuth Application lets you build an application for others to use with their
55
- # Increase data. You can create an OAuth Application via the Dashboard and read
56
- # information about it with the API. Learn more about OAuth
57
- # [here](https://increase.com/documentation/oauth).
58
- #
59
- # @param id [String] The OAuth Application's identifier.
60
- #
61
- # @param client_id [String]
62
- # The OAuth Application's client_id. Use this to authenticate with the OAuth
63
- # Application.
64
- #
65
- # @param created_at [Time]
66
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
67
- # Application was created.
68
- #
69
- # @param deleted_at [Time, nil]
70
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
71
- # Application was deleted.
72
- #
73
- # @param name [String, nil] The name you chose for this OAuth Application.
74
- #
75
- # @param status [Symbol, Increase::Models::OAuthApplication::Status] Whether the application is active.
76
- #
77
- # @param type [Symbol, Increase::Models::OAuthApplication::Type]
78
- # A constant representing the object's type. For this resource it will always be
79
- # `oauth_application`.
80
-
81
- # Whether the application is active.
82
- #
83
- # @see Increase::Models::OAuthApplication#status
84
- module Status
85
- extend Increase::Internal::Type::Enum
86
-
87
- # The application is active and can be used by your users.
88
- ACTIVE = :active
89
-
90
- # The application is deleted.
91
- DELETED = :deleted
92
-
93
- # @!method self.values
94
- # @return [Array<Symbol>]
95
- end
96
-
97
- # A constant representing the object's type. For this resource it will always be
98
- # `oauth_application`.
99
- #
100
- # @see Increase::Models::OAuthApplication#type
101
- module Type
102
- extend Increase::Internal::Type::Enum
103
-
104
- OAUTH_APPLICATION = :oauth_application
105
-
106
- # @!method self.values
107
- # @return [Array<Symbol>]
108
- end
109
- end
110
- end
111
- end
@@ -1,129 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::OAuthApplications#list
6
- class OAuthApplicationListParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!attribute created_at
11
- #
12
- # @return [Increase::Models::OAuthApplicationListParams::CreatedAt, nil]
13
- optional :created_at, -> { Increase::OAuthApplicationListParams::CreatedAt }
14
-
15
- # @!attribute cursor
16
- # Return the page of entries after this one.
17
- #
18
- # @return [String, nil]
19
- optional :cursor, String
20
-
21
- # @!attribute limit
22
- # Limit the size of the list that is returned. The default (and maximum) is 100
23
- # objects.
24
- #
25
- # Defaults to `100`.
26
- #
27
- # @return [Integer, nil]
28
- optional :limit, Integer
29
-
30
- # @!attribute status
31
- #
32
- # @return [Increase::Models::OAuthApplicationListParams::Status, nil]
33
- optional :status, -> { Increase::OAuthApplicationListParams::Status }
34
-
35
- # @!method initialize(created_at: nil, cursor: nil, limit: nil, status: nil, request_options: {})
36
- # @param created_at [Increase::Models::OAuthApplicationListParams::CreatedAt]
37
- #
38
- # @param cursor [String] Return the page of entries after this one.
39
- #
40
- # @param limit [Integer]
41
- # Limit the size of the list that is returned. The default (and maximum) is 100
42
- # objects.
43
- #
44
- # Defaults to `100`.
45
- #
46
- # @param status [Increase::Models::OAuthApplicationListParams::Status]
47
- #
48
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
49
-
50
- class CreatedAt < Increase::Internal::Type::BaseModel
51
- # @!attribute after
52
- # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
53
- # timestamp.
54
- #
55
- # @return [Time, nil]
56
- optional :after, Time
57
-
58
- # @!attribute before
59
- # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
60
- # timestamp.
61
- #
62
- # @return [Time, nil]
63
- optional :before, Time
64
-
65
- # @!attribute on_or_after
66
- # Return results on or after this
67
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
68
- #
69
- # @return [Time, nil]
70
- optional :on_or_after, Time
71
-
72
- # @!attribute on_or_before
73
- # Return results on or before this
74
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
75
- #
76
- # @return [Time, nil]
77
- optional :on_or_before, Time
78
-
79
- # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
80
- # @param after [Time]
81
- # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
82
- # timestamp.
83
- #
84
- # @param before [Time]
85
- # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
86
- # timestamp.
87
- #
88
- # @param on_or_after [Time]
89
- # Return results on or after this
90
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
91
- #
92
- # @param on_or_before [Time]
93
- # Return results on or before this
94
- # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
95
- end
96
-
97
- class Status < Increase::Internal::Type::BaseModel
98
- # @!attribute in_
99
- # Return results whose value is in the provided list. For GET requests, this
100
- # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
101
- #
102
- # @return [Array<Symbol, Increase::Models::OAuthApplicationListParams::Status::In>, nil]
103
- optional :in_,
104
- -> {
105
- Increase::Internal::Type::ArrayOf[enum: Increase::OAuthApplicationListParams::Status::In]
106
- },
107
- api_name: :in
108
-
109
- # @!method initialize(in_: nil)
110
- # @param in_ [Array<Symbol, Increase::Models::OAuthApplicationListParams::Status::In>]
111
- # Return results whose value is in the provided list. For GET requests, this
112
- # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
113
-
114
- module In
115
- extend Increase::Internal::Type::Enum
116
-
117
- # The application is active and can be used by your users.
118
- ACTIVE = :active
119
-
120
- # The application is deleted.
121
- DELETED = :deleted
122
-
123
- # @!method self.values
124
- # @return [Array<Symbol>]
125
- end
126
- end
127
- end
128
- end
129
- end
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::OAuthApplications#retrieve
6
- class OAuthApplicationRetrieveParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- # @!attribute oauth_application_id
11
- # The identifier of the OAuth Application.
12
- #
13
- # @return [String]
14
- required :oauth_application_id, String
15
-
16
- # @!method initialize(oauth_application_id:, request_options: {})
17
- # @param oauth_application_id [String] The identifier of the OAuth Application.
18
- #
19
- # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
20
- end
21
- end
22
- end
@@ -1,107 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Increase
4
- module Models
5
- # @see Increase::Resources::OAuthConnections#retrieve
6
- class OAuthConnection < Increase::Internal::Type::BaseModel
7
- # @!attribute id
8
- # The OAuth Connection's identifier.
9
- #
10
- # @return [String]
11
- required :id, String
12
-
13
- # @!attribute created_at
14
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
15
- # Connection was created.
16
- #
17
- # @return [Time]
18
- required :created_at, Time
19
-
20
- # @!attribute deleted_at
21
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
22
- # Connection was deleted.
23
- #
24
- # @return [Time, nil]
25
- required :deleted_at, Time, nil?: true
26
-
27
- # @!attribute group_id
28
- # The identifier of the Group that has authorized your OAuth application.
29
- #
30
- # @return [String]
31
- required :group_id, String
32
-
33
- # @!attribute oauth_application_id
34
- # The identifier of the OAuth application this connection is for.
35
- #
36
- # @return [String]
37
- required :oauth_application_id, String
38
-
39
- # @!attribute status
40
- # Whether the connection is active.
41
- #
42
- # @return [Symbol, Increase::Models::OAuthConnection::Status]
43
- required :status, enum: -> { Increase::OAuthConnection::Status }
44
-
45
- # @!attribute type
46
- # A constant representing the object's type. For this resource it will always be
47
- # `oauth_connection`.
48
- #
49
- # @return [Symbol, Increase::Models::OAuthConnection::Type]
50
- required :type, enum: -> { Increase::OAuthConnection::Type }
51
-
52
- # @!method initialize(id:, created_at:, deleted_at:, group_id:, oauth_application_id:, status:, type:)
53
- # When a user authorizes your OAuth application, an OAuth Connection object is
54
- # created. Learn more about OAuth
55
- # [here](https://increase.com/documentation/oauth).
56
- #
57
- # @param id [String] The OAuth Connection's identifier.
58
- #
59
- # @param created_at [Time]
60
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
61
- # Connection was created.
62
- #
63
- # @param deleted_at [Time, nil]
64
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the OAuth
65
- # Connection was deleted.
66
- #
67
- # @param group_id [String] The identifier of the Group that has authorized your OAuth application.
68
- #
69
- # @param oauth_application_id [String] The identifier of the OAuth application this connection is for.
70
- #
71
- # @param status [Symbol, Increase::Models::OAuthConnection::Status] Whether the connection is active.
72
- #
73
- # @param type [Symbol, Increase::Models::OAuthConnection::Type]
74
- # A constant representing the object's type. For this resource it will always be
75
- # `oauth_connection`.
76
-
77
- # Whether the connection is active.
78
- #
79
- # @see Increase::Models::OAuthConnection#status
80
- module Status
81
- extend Increase::Internal::Type::Enum
82
-
83
- # The OAuth connection is active.
84
- ACTIVE = :active
85
-
86
- # The OAuth connection is permanently deactivated.
87
- INACTIVE = :inactive
88
-
89
- # @!method self.values
90
- # @return [Array<Symbol>]
91
- end
92
-
93
- # A constant representing the object's type. For this resource it will always be
94
- # `oauth_connection`.
95
- #
96
- # @see Increase::Models::OAuthConnection#type
97
- module Type
98
- extend Increase::Internal::Type::Enum
99
-
100
- OAUTH_CONNECTION = :oauth_connection
101
-
102
- # @!method self.values
103
- # @return [Array<Symbol>]
104
- end
105
- end
106
- end
107
- end