increase 1.361.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/internal/transport/pooled_net_requester.rb +3 -0
- data/lib/increase/internal/util.rb +22 -17
- data/lib/increase/models/ach_transfer.rb +38 -23
- data/lib/increase/models/ach_transfer_create_params.rb +73 -42
- 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/simulations/card_dispute_action_params.rb +26 -4
- data/lib/increase/models/simulations/wire_drawdown_request_refuse_params.rb +52 -1
- data/lib/increase/models/transaction.rb +3 -3
- data/lib/increase/models/wire_drawdown_request.rb +78 -1
- data/lib/increase/models.rb +3 -20
- data/lib/increase/resources/ach_transfers.rb +43 -22
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +28 -0
- data/lib/increase/resources/simulations/wire_drawdown_requests.rb +12 -2
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -14
- data/rbi/increase/client.rbi +0 -12
- data/rbi/increase/internal/util.rbi +3 -1
- data/rbi/increase/models/ach_transfer.rbi +35 -23
- data/rbi/increase/models/ach_transfer_create_params.rbi +72 -42
- 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/simulations/card_dispute_action_params.rbi +56 -3
- data/rbi/increase/models/simulations/wire_drawdown_request_refuse_params.rbi +107 -0
- data/rbi/increase/models/transaction.rbi +3 -3
- data/rbi/increase/models/wire_drawdown_request.rbi +146 -0
- data/rbi/increase/models.rbi +3 -22
- data/rbi/increase/resources/ach_transfers.rbi +42 -22
- data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +19 -0
- data/rbi/increase/resources/simulations/wire_drawdown_requests.rbi +9 -0
- data/sig/increase/client.rbs +0 -8
- data/sig/increase/internal/util.rbs +1 -1
- 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/simulations/card_dispute_action_params.rbs +24 -3
- data/sig/increase/models/simulations/wire_drawdown_request_refuse_params.rbs +51 -1
- data/sig/increase/models/transaction.rbs +4 -4
- data/sig/increase/models/wire_drawdown_request.rbs +64 -0
- data/sig/increase/models.rbs +2 -20
- data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +6 -0
- data/sig/increase/resources/simulations/wire_drawdown_requests.rbs +2 -0
- metadata +20 -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
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
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-
|
|
11
|
+
date: 2026-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: base64
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
- !ruby/object:Gem::Dependency
|
|
14
28
|
name: cgi
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -231,8 +245,6 @@ files:
|
|
|
231
245
|
- lib/increase/models/file_link_create_params.rb
|
|
232
246
|
- lib/increase/models/file_list_params.rb
|
|
233
247
|
- lib/increase/models/file_retrieve_params.rb
|
|
234
|
-
- lib/increase/models/group.rb
|
|
235
|
-
- lib/increase/models/group_retrieve_params.rb
|
|
236
248
|
- lib/increase/models/inbound_ach_transfer.rb
|
|
237
249
|
- lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb
|
|
238
250
|
- lib/increase/models/inbound_ach_transfer_decline_params.rb
|
|
@@ -257,6 +269,7 @@ files:
|
|
|
257
269
|
- lib/increase/models/inbound_real_time_payments_transfer.rb
|
|
258
270
|
- lib/increase/models/inbound_real_time_payments_transfer_list_params.rb
|
|
259
271
|
- lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb
|
|
272
|
+
- lib/increase/models/inbound_real_time_payments_transfer_return_params.rb
|
|
260
273
|
- lib/increase/models/inbound_wire_drawdown_request.rb
|
|
261
274
|
- lib/increase/models/inbound_wire_drawdown_request_list_params.rb
|
|
262
275
|
- lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb
|
|
@@ -286,14 +299,6 @@ files:
|
|
|
286
299
|
- lib/increase/models/lockbox_recipient_list_params.rb
|
|
287
300
|
- lib/increase/models/lockbox_recipient_retrieve_params.rb
|
|
288
301
|
- lib/increase/models/lockbox_recipient_update_params.rb
|
|
289
|
-
- lib/increase/models/oauth_application.rb
|
|
290
|
-
- lib/increase/models/oauth_application_list_params.rb
|
|
291
|
-
- lib/increase/models/oauth_application_retrieve_params.rb
|
|
292
|
-
- lib/increase/models/oauth_connection.rb
|
|
293
|
-
- lib/increase/models/oauth_connection_list_params.rb
|
|
294
|
-
- lib/increase/models/oauth_connection_retrieve_params.rb
|
|
295
|
-
- lib/increase/models/oauth_token.rb
|
|
296
|
-
- lib/increase/models/oauth_token_create_params.rb
|
|
297
302
|
- lib/increase/models/pending_transaction.rb
|
|
298
303
|
- lib/increase/models/pending_transaction_create_params.rb
|
|
299
304
|
- lib/increase/models/pending_transaction_list_params.rb
|
|
@@ -437,7 +442,6 @@ files:
|
|
|
437
442
|
- lib/increase/resources/fednow_transfers.rb
|
|
438
443
|
- lib/increase/resources/file_links.rb
|
|
439
444
|
- lib/increase/resources/files.rb
|
|
440
|
-
- lib/increase/resources/groups.rb
|
|
441
445
|
- lib/increase/resources/inbound_ach_transfers.rb
|
|
442
446
|
- lib/increase/resources/inbound_check_deposits.rb
|
|
443
447
|
- lib/increase/resources/inbound_fednow_transfers.rb
|
|
@@ -451,9 +455,6 @@ files:
|
|
|
451
455
|
- lib/increase/resources/intrafi_exclusions.rb
|
|
452
456
|
- lib/increase/resources/lockbox_addresses.rb
|
|
453
457
|
- lib/increase/resources/lockbox_recipients.rb
|
|
454
|
-
- lib/increase/resources/oauth_applications.rb
|
|
455
|
-
- lib/increase/resources/oauth_connections.rb
|
|
456
|
-
- lib/increase/resources/oauth_tokens.rb
|
|
457
458
|
- lib/increase/resources/pending_transactions.rb
|
|
458
459
|
- lib/increase/resources/physical_card_profiles.rb
|
|
459
460
|
- lib/increase/resources/physical_cards.rb
|
|
@@ -675,8 +676,6 @@ files:
|
|
|
675
676
|
- rbi/increase/models/file_link_create_params.rbi
|
|
676
677
|
- rbi/increase/models/file_list_params.rbi
|
|
677
678
|
- rbi/increase/models/file_retrieve_params.rbi
|
|
678
|
-
- rbi/increase/models/group.rbi
|
|
679
|
-
- rbi/increase/models/group_retrieve_params.rbi
|
|
680
679
|
- rbi/increase/models/inbound_ach_transfer.rbi
|
|
681
680
|
- rbi/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbi
|
|
682
681
|
- rbi/increase/models/inbound_ach_transfer_decline_params.rbi
|
|
@@ -701,6 +700,7 @@ files:
|
|
|
701
700
|
- rbi/increase/models/inbound_real_time_payments_transfer.rbi
|
|
702
701
|
- rbi/increase/models/inbound_real_time_payments_transfer_list_params.rbi
|
|
703
702
|
- rbi/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbi
|
|
703
|
+
- rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi
|
|
704
704
|
- rbi/increase/models/inbound_wire_drawdown_request.rbi
|
|
705
705
|
- rbi/increase/models/inbound_wire_drawdown_request_list_params.rbi
|
|
706
706
|
- rbi/increase/models/inbound_wire_drawdown_request_retrieve_params.rbi
|
|
@@ -730,14 +730,6 @@ files:
|
|
|
730
730
|
- rbi/increase/models/lockbox_recipient_list_params.rbi
|
|
731
731
|
- rbi/increase/models/lockbox_recipient_retrieve_params.rbi
|
|
732
732
|
- rbi/increase/models/lockbox_recipient_update_params.rbi
|
|
733
|
-
- rbi/increase/models/oauth_application.rbi
|
|
734
|
-
- rbi/increase/models/oauth_application_list_params.rbi
|
|
735
|
-
- rbi/increase/models/oauth_application_retrieve_params.rbi
|
|
736
|
-
- rbi/increase/models/oauth_connection.rbi
|
|
737
|
-
- rbi/increase/models/oauth_connection_list_params.rbi
|
|
738
|
-
- rbi/increase/models/oauth_connection_retrieve_params.rbi
|
|
739
|
-
- rbi/increase/models/oauth_token.rbi
|
|
740
|
-
- rbi/increase/models/oauth_token_create_params.rbi
|
|
741
733
|
- rbi/increase/models/pending_transaction.rbi
|
|
742
734
|
- rbi/increase/models/pending_transaction_create_params.rbi
|
|
743
735
|
- rbi/increase/models/pending_transaction_list_params.rbi
|
|
@@ -881,7 +873,6 @@ files:
|
|
|
881
873
|
- rbi/increase/resources/fednow_transfers.rbi
|
|
882
874
|
- rbi/increase/resources/file_links.rbi
|
|
883
875
|
- rbi/increase/resources/files.rbi
|
|
884
|
-
- rbi/increase/resources/groups.rbi
|
|
885
876
|
- rbi/increase/resources/inbound_ach_transfers.rbi
|
|
886
877
|
- rbi/increase/resources/inbound_check_deposits.rbi
|
|
887
878
|
- rbi/increase/resources/inbound_fednow_transfers.rbi
|
|
@@ -895,9 +886,6 @@ files:
|
|
|
895
886
|
- rbi/increase/resources/intrafi_exclusions.rbi
|
|
896
887
|
- rbi/increase/resources/lockbox_addresses.rbi
|
|
897
888
|
- rbi/increase/resources/lockbox_recipients.rbi
|
|
898
|
-
- rbi/increase/resources/oauth_applications.rbi
|
|
899
|
-
- rbi/increase/resources/oauth_connections.rbi
|
|
900
|
-
- rbi/increase/resources/oauth_tokens.rbi
|
|
901
889
|
- rbi/increase/resources/pending_transactions.rbi
|
|
902
890
|
- rbi/increase/resources/physical_card_profiles.rbi
|
|
903
891
|
- rbi/increase/resources/physical_cards.rbi
|
|
@@ -1118,8 +1106,6 @@ files:
|
|
|
1118
1106
|
- sig/increase/models/file_link_create_params.rbs
|
|
1119
1107
|
- sig/increase/models/file_list_params.rbs
|
|
1120
1108
|
- sig/increase/models/file_retrieve_params.rbs
|
|
1121
|
-
- sig/increase/models/group.rbs
|
|
1122
|
-
- sig/increase/models/group_retrieve_params.rbs
|
|
1123
1109
|
- sig/increase/models/inbound_ach_transfer.rbs
|
|
1124
1110
|
- sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs
|
|
1125
1111
|
- sig/increase/models/inbound_ach_transfer_decline_params.rbs
|
|
@@ -1144,6 +1130,7 @@ files:
|
|
|
1144
1130
|
- sig/increase/models/inbound_real_time_payments_transfer.rbs
|
|
1145
1131
|
- sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs
|
|
1146
1132
|
- sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs
|
|
1133
|
+
- sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs
|
|
1147
1134
|
- sig/increase/models/inbound_wire_drawdown_request.rbs
|
|
1148
1135
|
- sig/increase/models/inbound_wire_drawdown_request_list_params.rbs
|
|
1149
1136
|
- sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs
|
|
@@ -1173,14 +1160,6 @@ files:
|
|
|
1173
1160
|
- sig/increase/models/lockbox_recipient_list_params.rbs
|
|
1174
1161
|
- sig/increase/models/lockbox_recipient_retrieve_params.rbs
|
|
1175
1162
|
- sig/increase/models/lockbox_recipient_update_params.rbs
|
|
1176
|
-
- sig/increase/models/oauth_application.rbs
|
|
1177
|
-
- sig/increase/models/oauth_application_list_params.rbs
|
|
1178
|
-
- sig/increase/models/oauth_application_retrieve_params.rbs
|
|
1179
|
-
- sig/increase/models/oauth_connection.rbs
|
|
1180
|
-
- sig/increase/models/oauth_connection_list_params.rbs
|
|
1181
|
-
- sig/increase/models/oauth_connection_retrieve_params.rbs
|
|
1182
|
-
- sig/increase/models/oauth_token.rbs
|
|
1183
|
-
- sig/increase/models/oauth_token_create_params.rbs
|
|
1184
1163
|
- sig/increase/models/pending_transaction.rbs
|
|
1185
1164
|
- sig/increase/models/pending_transaction_create_params.rbs
|
|
1186
1165
|
- sig/increase/models/pending_transaction_list_params.rbs
|
|
@@ -1324,7 +1303,6 @@ files:
|
|
|
1324
1303
|
- sig/increase/resources/fednow_transfers.rbs
|
|
1325
1304
|
- sig/increase/resources/file_links.rbs
|
|
1326
1305
|
- sig/increase/resources/files.rbs
|
|
1327
|
-
- sig/increase/resources/groups.rbs
|
|
1328
1306
|
- sig/increase/resources/inbound_ach_transfers.rbs
|
|
1329
1307
|
- sig/increase/resources/inbound_check_deposits.rbs
|
|
1330
1308
|
- sig/increase/resources/inbound_fednow_transfers.rbs
|
|
@@ -1338,9 +1316,6 @@ files:
|
|
|
1338
1316
|
- sig/increase/resources/intrafi_exclusions.rbs
|
|
1339
1317
|
- sig/increase/resources/lockbox_addresses.rbs
|
|
1340
1318
|
- sig/increase/resources/lockbox_recipients.rbs
|
|
1341
|
-
- sig/increase/resources/oauth_applications.rbs
|
|
1342
|
-
- sig/increase/resources/oauth_connections.rbs
|
|
1343
|
-
- sig/increase/resources/oauth_tokens.rbs
|
|
1344
1319
|
- sig/increase/resources/pending_transactions.rbs
|
|
1345
1320
|
- sig/increase/resources/physical_card_profiles.rbs
|
|
1346
1321
|
- sig/increase/resources/physical_cards.rbs
|
|
@@ -1414,7 +1389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1414
1389
|
- !ruby/object:Gem::Version
|
|
1415
1390
|
version: '0'
|
|
1416
1391
|
requirements: []
|
|
1417
|
-
rubygems_version: 3.5.
|
|
1392
|
+
rubygems_version: 3.5.22
|
|
1418
1393
|
signing_key:
|
|
1419
1394
|
specification_version: 4
|
|
1420
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
|