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
@@ -1,187 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Models
5
- class OAuthConnectionListParams < 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::OAuthConnectionListParams,
13
- Increase::Internal::AnyHash
14
- )
15
- end
16
-
17
- # Return the page of entries after this one.
18
- sig { returns(T.nilable(String)) }
19
- attr_reader :cursor
20
-
21
- sig { params(cursor: String).void }
22
- attr_writer :cursor
23
-
24
- # Limit the size of the list that is returned. The default (and maximum) is 100
25
- # objects.
26
- #
27
- # Defaults to `100`.
28
- sig { returns(T.nilable(Integer)) }
29
- attr_reader :limit
30
-
31
- sig { params(limit: Integer).void }
32
- attr_writer :limit
33
-
34
- # Filter results to only include OAuth Connections for a specific OAuth
35
- # Application.
36
- sig { returns(T.nilable(String)) }
37
- attr_reader :oauth_application_id
38
-
39
- sig { params(oauth_application_id: String).void }
40
- attr_writer :oauth_application_id
41
-
42
- sig { returns(T.nilable(Increase::OAuthConnectionListParams::Status)) }
43
- attr_reader :status
44
-
45
- sig do
46
- params(status: Increase::OAuthConnectionListParams::Status::OrHash).void
47
- end
48
- attr_writer :status
49
-
50
- sig do
51
- params(
52
- cursor: String,
53
- limit: Integer,
54
- oauth_application_id: String,
55
- status: Increase::OAuthConnectionListParams::Status::OrHash,
56
- request_options: Increase::RequestOptions::OrHash
57
- ).returns(T.attached_class)
58
- end
59
- def self.new(
60
- # Return the page of entries after this one.
61
- cursor: nil,
62
- # Limit the size of the list that is returned. The default (and maximum) is 100
63
- # objects.
64
- #
65
- # Defaults to `100`.
66
- limit: nil,
67
- # Filter results to only include OAuth Connections for a specific OAuth
68
- # Application.
69
- oauth_application_id: nil,
70
- status: nil,
71
- request_options: {}
72
- )
73
- end
74
-
75
- sig do
76
- override.returns(
77
- {
78
- cursor: String,
79
- limit: Integer,
80
- oauth_application_id: String,
81
- status: Increase::OAuthConnectionListParams::Status,
82
- request_options: Increase::RequestOptions
83
- }
84
- )
85
- end
86
- def to_hash
87
- end
88
-
89
- class Status < Increase::Internal::Type::BaseModel
90
- OrHash =
91
- T.type_alias do
92
- T.any(
93
- Increase::OAuthConnectionListParams::Status,
94
- Increase::Internal::AnyHash
95
- )
96
- end
97
-
98
- # Filter to OAuth Connections by their status. By default, return only the
99
- # `active` ones. For GET requests, this should be encoded as a comma-delimited
100
- # string, such as `?in=one,two,three`.
101
- sig do
102
- returns(
103
- T.nilable(
104
- T::Array[
105
- Increase::OAuthConnectionListParams::Status::In::OrSymbol
106
- ]
107
- )
108
- )
109
- end
110
- attr_reader :in_
111
-
112
- sig do
113
- params(
114
- in_:
115
- T::Array[
116
- Increase::OAuthConnectionListParams::Status::In::OrSymbol
117
- ]
118
- ).void
119
- end
120
- attr_writer :in_
121
-
122
- sig do
123
- params(
124
- in_:
125
- T::Array[
126
- Increase::OAuthConnectionListParams::Status::In::OrSymbol
127
- ]
128
- ).returns(T.attached_class)
129
- end
130
- def self.new(
131
- # Filter to OAuth Connections by their status. By default, return only the
132
- # `active` ones. For GET requests, this should be encoded as a comma-delimited
133
- # string, such as `?in=one,two,three`.
134
- in_: nil
135
- )
136
- end
137
-
138
- sig do
139
- override.returns(
140
- {
141
- in_:
142
- T::Array[
143
- Increase::OAuthConnectionListParams::Status::In::OrSymbol
144
- ]
145
- }
146
- )
147
- end
148
- def to_hash
149
- end
150
-
151
- module In
152
- extend Increase::Internal::Type::Enum
153
-
154
- TaggedSymbol =
155
- T.type_alias do
156
- T.all(Symbol, Increase::OAuthConnectionListParams::Status::In)
157
- end
158
- OrSymbol = T.type_alias { T.any(Symbol, String) }
159
-
160
- # The OAuth connection is active.
161
- ACTIVE =
162
- T.let(
163
- :active,
164
- Increase::OAuthConnectionListParams::Status::In::TaggedSymbol
165
- )
166
-
167
- # The OAuth connection is permanently deactivated.
168
- INACTIVE =
169
- T.let(
170
- :inactive,
171
- Increase::OAuthConnectionListParams::Status::In::TaggedSymbol
172
- )
173
-
174
- sig do
175
- override.returns(
176
- T::Array[
177
- Increase::OAuthConnectionListParams::Status::In::TaggedSymbol
178
- ]
179
- )
180
- end
181
- def self.values
182
- end
183
- end
184
- end
185
- end
186
- end
187
- end
@@ -1,46 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Models
5
- class OAuthConnectionRetrieveParams < 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::OAuthConnectionRetrieveParams,
13
- Increase::Internal::AnyHash
14
- )
15
- end
16
-
17
- # The identifier of the OAuth Connection.
18
- sig { returns(String) }
19
- attr_accessor :oauth_connection_id
20
-
21
- sig do
22
- params(
23
- oauth_connection_id: String,
24
- request_options: Increase::RequestOptions::OrHash
25
- ).returns(T.attached_class)
26
- end
27
- def self.new(
28
- # The identifier of the OAuth Connection.
29
- oauth_connection_id:,
30
- request_options: {}
31
- )
32
- end
33
-
34
- sig do
35
- override.returns(
36
- {
37
- oauth_connection_id: String,
38
- request_options: Increase::RequestOptions
39
- }
40
- )
41
- end
42
- def to_hash
43
- end
44
- end
45
- end
46
- end
@@ -1,106 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Models
5
- class OAuthToken < Increase::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(Increase::OAuthToken, Increase::Internal::AnyHash)
9
- end
10
-
11
- # You may use this token in place of an API key to make OAuth requests on a user's
12
- # behalf.
13
- sig { returns(String) }
14
- attr_accessor :access_token
15
-
16
- # The Group's identifier. A Group is the top-level organization in Increase.
17
- sig { returns(String) }
18
- attr_accessor :group_id
19
-
20
- # The type of OAuth token.
21
- sig { returns(Increase::OAuthToken::TokenType::TaggedSymbol) }
22
- attr_accessor :token_type
23
-
24
- # A constant representing the object's type. For this resource it will always be
25
- # `oauth_token`.
26
- sig { returns(Increase::OAuthToken::Type::TaggedSymbol) }
27
- attr_accessor :type
28
-
29
- # A token that is returned to your application when a user completes the OAuth
30
- # flow and may be used to authenticate requests. Learn more about OAuth
31
- # [here](/documentation/oauth).
32
- sig do
33
- params(
34
- access_token: String,
35
- group_id: String,
36
- token_type: Increase::OAuthToken::TokenType::OrSymbol,
37
- type: Increase::OAuthToken::Type::OrSymbol
38
- ).returns(T.attached_class)
39
- end
40
- def self.new(
41
- # You may use this token in place of an API key to make OAuth requests on a user's
42
- # behalf.
43
- access_token:,
44
- # The Group's identifier. A Group is the top-level organization in Increase.
45
- group_id:,
46
- # The type of OAuth token.
47
- token_type:,
48
- # A constant representing the object's type. For this resource it will always be
49
- # `oauth_token`.
50
- type:
51
- )
52
- end
53
-
54
- sig do
55
- override.returns(
56
- {
57
- access_token: String,
58
- group_id: String,
59
- token_type: Increase::OAuthToken::TokenType::TaggedSymbol,
60
- type: Increase::OAuthToken::Type::TaggedSymbol
61
- }
62
- )
63
- end
64
- def to_hash
65
- end
66
-
67
- # The type of OAuth token.
68
- module TokenType
69
- extend Increase::Internal::Type::Enum
70
-
71
- TaggedSymbol =
72
- T.type_alias { T.all(Symbol, Increase::OAuthToken::TokenType) }
73
- OrSymbol = T.type_alias { T.any(Symbol, String) }
74
-
75
- BEARER = T.let(:bearer, Increase::OAuthToken::TokenType::TaggedSymbol)
76
-
77
- sig do
78
- override.returns(
79
- T::Array[Increase::OAuthToken::TokenType::TaggedSymbol]
80
- )
81
- end
82
- def self.values
83
- end
84
- end
85
-
86
- # A constant representing the object's type. For this resource it will always be
87
- # `oauth_token`.
88
- module Type
89
- extend Increase::Internal::Type::Enum
90
-
91
- TaggedSymbol =
92
- T.type_alias { T.all(Symbol, Increase::OAuthToken::Type) }
93
- OrSymbol = T.type_alias { T.any(Symbol, String) }
94
-
95
- OAUTH_TOKEN =
96
- T.let(:oauth_token, Increase::OAuthToken::Type::TaggedSymbol)
97
-
98
- sig do
99
- override.returns(T::Array[Increase::OAuthToken::Type::TaggedSymbol])
100
- end
101
- def self.values
102
- end
103
- end
104
- end
105
- end
106
- end
@@ -1,133 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Models
5
- class OAuthTokenCreateParams < 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(Increase::OAuthTokenCreateParams, Increase::Internal::AnyHash)
12
- end
13
-
14
- # The credential you request in exchange for the code. In Production, this is
15
- # always `authorization_code`. In Sandbox, you can pass either enum value.
16
- sig { returns(Increase::OAuthTokenCreateParams::GrantType::OrSymbol) }
17
- attr_accessor :grant_type
18
-
19
- # The public identifier for your application.
20
- sig { returns(T.nilable(String)) }
21
- attr_reader :client_id
22
-
23
- sig { params(client_id: String).void }
24
- attr_writer :client_id
25
-
26
- # The secret that confirms you own the application. This is redundant given that
27
- # the request is made with your API key but it's a required component of OAuth
28
- # 2.0.
29
- sig { returns(T.nilable(String)) }
30
- attr_reader :client_secret
31
-
32
- sig { params(client_secret: String).void }
33
- attr_writer :client_secret
34
-
35
- # The authorization code generated by the user and given to you as a query
36
- # parameter.
37
- sig { returns(T.nilable(String)) }
38
- attr_reader :code
39
-
40
- sig { params(code: String).void }
41
- attr_writer :code
42
-
43
- # The production token you want to exchange for a sandbox token. This is only
44
- # available in Sandbox. Set `grant_type` to `production_token` to use this
45
- # parameter.
46
- sig { returns(T.nilable(String)) }
47
- attr_reader :production_token
48
-
49
- sig { params(production_token: String).void }
50
- attr_writer :production_token
51
-
52
- sig do
53
- params(
54
- grant_type: Increase::OAuthTokenCreateParams::GrantType::OrSymbol,
55
- client_id: String,
56
- client_secret: String,
57
- code: String,
58
- production_token: String,
59
- request_options: Increase::RequestOptions::OrHash
60
- ).returns(T.attached_class)
61
- end
62
- def self.new(
63
- # The credential you request in exchange for the code. In Production, this is
64
- # always `authorization_code`. In Sandbox, you can pass either enum value.
65
- grant_type:,
66
- # The public identifier for your application.
67
- client_id: nil,
68
- # The secret that confirms you own the application. This is redundant given that
69
- # the request is made with your API key but it's a required component of OAuth
70
- # 2.0.
71
- client_secret: nil,
72
- # The authorization code generated by the user and given to you as a query
73
- # parameter.
74
- code: nil,
75
- # The production token you want to exchange for a sandbox token. This is only
76
- # available in Sandbox. Set `grant_type` to `production_token` to use this
77
- # parameter.
78
- production_token: nil,
79
- request_options: {}
80
- )
81
- end
82
-
83
- sig do
84
- override.returns(
85
- {
86
- grant_type: Increase::OAuthTokenCreateParams::GrantType::OrSymbol,
87
- client_id: String,
88
- client_secret: String,
89
- code: String,
90
- production_token: String,
91
- request_options: Increase::RequestOptions
92
- }
93
- )
94
- end
95
- def to_hash
96
- end
97
-
98
- # The credential you request in exchange for the code. In Production, this is
99
- # always `authorization_code`. In Sandbox, you can pass either enum value.
100
- module GrantType
101
- extend Increase::Internal::Type::Enum
102
-
103
- TaggedSymbol =
104
- T.type_alias do
105
- T.all(Symbol, Increase::OAuthTokenCreateParams::GrantType)
106
- end
107
- OrSymbol = T.type_alias { T.any(Symbol, String) }
108
-
109
- # An OAuth authorization code.
110
- AUTHORIZATION_CODE =
111
- T.let(
112
- :authorization_code,
113
- Increase::OAuthTokenCreateParams::GrantType::TaggedSymbol
114
- )
115
-
116
- # An OAuth production token.
117
- PRODUCTION_TOKEN =
118
- T.let(
119
- :production_token,
120
- Increase::OAuthTokenCreateParams::GrantType::TaggedSymbol
121
- )
122
-
123
- sig do
124
- override.returns(
125
- T::Array[Increase::OAuthTokenCreateParams::GrantType::TaggedSymbol]
126
- )
127
- end
128
- def self.values
129
- end
130
- end
131
- end
132
- end
133
- end
@@ -1,21 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Resources
5
- class Groups
6
- # Returns details for the currently authenticated Group.
7
- sig do
8
- params(request_options: Increase::RequestOptions::OrHash).returns(
9
- Increase::Group
10
- )
11
- end
12
- def retrieve(request_options: {})
13
- end
14
-
15
- # @api private
16
- sig { params(client: Increase::Client).returns(T.attached_class) }
17
- def self.new(client:)
18
- end
19
- end
20
- end
21
- end
@@ -1,50 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Resources
5
- class OAuthApplications
6
- # Retrieve an OAuth Application
7
- sig do
8
- params(
9
- oauth_application_id: String,
10
- request_options: Increase::RequestOptions::OrHash
11
- ).returns(Increase::OAuthApplication)
12
- end
13
- def retrieve(
14
- # The identifier of the OAuth Application.
15
- oauth_application_id,
16
- request_options: {}
17
- )
18
- end
19
-
20
- # List OAuth Applications
21
- sig do
22
- params(
23
- created_at: Increase::OAuthApplicationListParams::CreatedAt::OrHash,
24
- cursor: String,
25
- limit: Integer,
26
- status: Increase::OAuthApplicationListParams::Status::OrHash,
27
- request_options: Increase::RequestOptions::OrHash
28
- ).returns(Increase::Internal::Page[Increase::OAuthApplication])
29
- end
30
- def list(
31
- created_at: nil,
32
- # Return the page of entries after this one.
33
- cursor: nil,
34
- # Limit the size of the list that is returned. The default (and maximum) is 100
35
- # objects.
36
- #
37
- # Defaults to `100`.
38
- limit: nil,
39
- status: nil,
40
- request_options: {}
41
- )
42
- end
43
-
44
- # @api private
45
- sig { params(client: Increase::Client).returns(T.attached_class) }
46
- def self.new(client:)
47
- end
48
- end
49
- end
50
- end
@@ -1,52 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Resources
5
- class OAuthConnections
6
- # Retrieve an OAuth Connection
7
- sig do
8
- params(
9
- oauth_connection_id: String,
10
- request_options: Increase::RequestOptions::OrHash
11
- ).returns(Increase::OAuthConnection)
12
- end
13
- def retrieve(
14
- # The identifier of the OAuth Connection.
15
- oauth_connection_id,
16
- request_options: {}
17
- )
18
- end
19
-
20
- # List OAuth Connections
21
- sig do
22
- params(
23
- cursor: String,
24
- limit: Integer,
25
- oauth_application_id: String,
26
- status: Increase::OAuthConnectionListParams::Status::OrHash,
27
- request_options: Increase::RequestOptions::OrHash
28
- ).returns(Increase::Internal::Page[Increase::OAuthConnection])
29
- end
30
- def list(
31
- # Return the page of entries after this one.
32
- cursor: nil,
33
- # Limit the size of the list that is returned. The default (and maximum) is 100
34
- # objects.
35
- #
36
- # Defaults to `100`.
37
- limit: nil,
38
- # Filter results to only include OAuth Connections for a specific OAuth
39
- # Application.
40
- oauth_application_id: nil,
41
- status: nil,
42
- request_options: {}
43
- )
44
- end
45
-
46
- # @api private
47
- sig { params(client: Increase::Client).returns(T.attached_class) }
48
- def self.new(client:)
49
- end
50
- end
51
- end
52
- end
@@ -1,44 +0,0 @@
1
- # typed: strong
2
-
3
- module Increase
4
- module Resources
5
- class OAuthTokens
6
- # Create an OAuth Token
7
- sig do
8
- params(
9
- grant_type: Increase::OAuthTokenCreateParams::GrantType::OrSymbol,
10
- client_id: String,
11
- client_secret: String,
12
- code: String,
13
- production_token: String,
14
- request_options: Increase::RequestOptions::OrHash
15
- ).returns(Increase::OAuthToken)
16
- end
17
- def create(
18
- # The credential you request in exchange for the code. In Production, this is
19
- # always `authorization_code`. In Sandbox, you can pass either enum value.
20
- grant_type:,
21
- # The public identifier for your application.
22
- client_id: nil,
23
- # The secret that confirms you own the application. This is redundant given that
24
- # the request is made with your API key but it's a required component of OAuth
25
- # 2.0.
26
- client_secret: nil,
27
- # The authorization code generated by the user and given to you as a query
28
- # parameter.
29
- code: nil,
30
- # The production token you want to exchange for a sandbox token. This is only
31
- # available in Sandbox. Set `grant_type` to `production_token` to use this
32
- # parameter.
33
- production_token: nil,
34
- request_options: {}
35
- )
36
- end
37
-
38
- # @api private
39
- sig { params(client: Increase::Client).returns(T.attached_class) }
40
- def self.new(client:)
41
- end
42
- end
43
- end
44
- end
@@ -1,36 +0,0 @@
1
- module Increase
2
- module Models
3
- type group =
4
- { id: String, created_at: Time, type: Increase::Models::Group::type_ }
5
-
6
- class Group < Increase::Internal::Type::BaseModel
7
- attr_accessor id: String
8
-
9
- attr_accessor created_at: Time
10
-
11
- attr_accessor type: Increase::Models::Group::type_
12
-
13
- def initialize: (
14
- id: String,
15
- created_at: Time,
16
- type: Increase::Models::Group::type_
17
- ) -> void
18
-
19
- def to_hash: -> {
20
- id: String,
21
- created_at: Time,
22
- type: Increase::Models::Group::type_
23
- }
24
-
25
- type type_ = :group
26
-
27
- module Type
28
- extend Increase::Internal::Type::Enum
29
-
30
- GROUP: :group
31
-
32
- def self?.values: -> ::Array[Increase::Models::Group::type_]
33
- end
34
- end
35
- end
36
- end
@@ -1,15 +0,0 @@
1
- module Increase
2
- module Models
3
- type group_retrieve_params =
4
- { } & Increase::Internal::Type::request_parameters
5
-
6
- class GroupRetrieveParams < Increase::Internal::Type::BaseModel
7
- extend Increase::Internal::Type::RequestParameters::Converter
8
- include Increase::Internal::Type::RequestParameters
9
-
10
- def initialize: (?request_options: Increase::request_opts) -> void
11
-
12
- def to_hash: -> { request_options: Increase::RequestOptions }
13
- end
14
- end
15
- end