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
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_application =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
client_id: String,
|
|
7
|
-
created_at: Time,
|
|
8
|
-
deleted_at: Time?,
|
|
9
|
-
name: String?,
|
|
10
|
-
status: Increase::Models::OAuthApplication::status,
|
|
11
|
-
type: Increase::Models::OAuthApplication::type_
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
class OAuthApplication < Increase::Internal::Type::BaseModel
|
|
15
|
-
attr_accessor id: String
|
|
16
|
-
|
|
17
|
-
attr_accessor client_id: String
|
|
18
|
-
|
|
19
|
-
attr_accessor created_at: Time
|
|
20
|
-
|
|
21
|
-
attr_accessor deleted_at: Time?
|
|
22
|
-
|
|
23
|
-
attr_accessor name: String?
|
|
24
|
-
|
|
25
|
-
attr_accessor status: Increase::Models::OAuthApplication::status
|
|
26
|
-
|
|
27
|
-
attr_accessor type: Increase::Models::OAuthApplication::type_
|
|
28
|
-
|
|
29
|
-
def initialize: (
|
|
30
|
-
id: String,
|
|
31
|
-
client_id: String,
|
|
32
|
-
created_at: Time,
|
|
33
|
-
deleted_at: Time?,
|
|
34
|
-
name: String?,
|
|
35
|
-
status: Increase::Models::OAuthApplication::status,
|
|
36
|
-
type: Increase::Models::OAuthApplication::type_
|
|
37
|
-
) -> void
|
|
38
|
-
|
|
39
|
-
def to_hash: -> {
|
|
40
|
-
id: String,
|
|
41
|
-
client_id: String,
|
|
42
|
-
created_at: Time,
|
|
43
|
-
deleted_at: Time?,
|
|
44
|
-
name: String?,
|
|
45
|
-
status: Increase::Models::OAuthApplication::status,
|
|
46
|
-
type: Increase::Models::OAuthApplication::type_
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
type status = :active | :deleted
|
|
50
|
-
|
|
51
|
-
module Status
|
|
52
|
-
extend Increase::Internal::Type::Enum
|
|
53
|
-
|
|
54
|
-
# The application is active and can be used by your users.
|
|
55
|
-
ACTIVE: :active
|
|
56
|
-
|
|
57
|
-
# The application is deleted.
|
|
58
|
-
DELETED: :deleted
|
|
59
|
-
|
|
60
|
-
def self?.values: -> ::Array[Increase::Models::OAuthApplication::status]
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
type type_ = :oauth_application
|
|
64
|
-
|
|
65
|
-
module Type
|
|
66
|
-
extend Increase::Internal::Type::Enum
|
|
67
|
-
|
|
68
|
-
OAUTH_APPLICATION: :oauth_application
|
|
69
|
-
|
|
70
|
-
def self?.values: -> ::Array[Increase::Models::OAuthApplication::type_]
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_application_list_params =
|
|
4
|
-
{
|
|
5
|
-
created_at: Increase::OAuthApplicationListParams::CreatedAt,
|
|
6
|
-
cursor: String,
|
|
7
|
-
limit: Integer,
|
|
8
|
-
status: Increase::OAuthApplicationListParams::Status
|
|
9
|
-
}
|
|
10
|
-
& Increase::Internal::Type::request_parameters
|
|
11
|
-
|
|
12
|
-
class OAuthApplicationListParams < Increase::Internal::Type::BaseModel
|
|
13
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
-
include Increase::Internal::Type::RequestParameters
|
|
15
|
-
|
|
16
|
-
attr_reader created_at: Increase::OAuthApplicationListParams::CreatedAt?
|
|
17
|
-
|
|
18
|
-
def created_at=: (
|
|
19
|
-
Increase::OAuthApplicationListParams::CreatedAt
|
|
20
|
-
) -> Increase::OAuthApplicationListParams::CreatedAt
|
|
21
|
-
|
|
22
|
-
attr_reader cursor: String?
|
|
23
|
-
|
|
24
|
-
def cursor=: (String) -> String
|
|
25
|
-
|
|
26
|
-
attr_reader limit: Integer?
|
|
27
|
-
|
|
28
|
-
def limit=: (Integer) -> Integer
|
|
29
|
-
|
|
30
|
-
attr_reader status: Increase::OAuthApplicationListParams::Status?
|
|
31
|
-
|
|
32
|
-
def status=: (
|
|
33
|
-
Increase::OAuthApplicationListParams::Status
|
|
34
|
-
) -> Increase::OAuthApplicationListParams::Status
|
|
35
|
-
|
|
36
|
-
def initialize: (
|
|
37
|
-
?created_at: Increase::OAuthApplicationListParams::CreatedAt,
|
|
38
|
-
?cursor: String,
|
|
39
|
-
?limit: Integer,
|
|
40
|
-
?status: Increase::OAuthApplicationListParams::Status,
|
|
41
|
-
?request_options: Increase::request_opts
|
|
42
|
-
) -> void
|
|
43
|
-
|
|
44
|
-
def to_hash: -> {
|
|
45
|
-
created_at: Increase::OAuthApplicationListParams::CreatedAt,
|
|
46
|
-
cursor: String,
|
|
47
|
-
limit: Integer,
|
|
48
|
-
status: Increase::OAuthApplicationListParams::Status,
|
|
49
|
-
request_options: Increase::RequestOptions
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
type created_at =
|
|
53
|
-
{ after: Time, before: Time, on_or_after: Time, on_or_before: Time }
|
|
54
|
-
|
|
55
|
-
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
56
|
-
attr_reader after: Time?
|
|
57
|
-
|
|
58
|
-
def after=: (Time) -> Time
|
|
59
|
-
|
|
60
|
-
attr_reader before: Time?
|
|
61
|
-
|
|
62
|
-
def before=: (Time) -> Time
|
|
63
|
-
|
|
64
|
-
attr_reader on_or_after: Time?
|
|
65
|
-
|
|
66
|
-
def on_or_after=: (Time) -> Time
|
|
67
|
-
|
|
68
|
-
attr_reader on_or_before: Time?
|
|
69
|
-
|
|
70
|
-
def on_or_before=: (Time) -> Time
|
|
71
|
-
|
|
72
|
-
def initialize: (
|
|
73
|
-
?after: Time,
|
|
74
|
-
?before: Time,
|
|
75
|
-
?on_or_after: Time,
|
|
76
|
-
?on_or_before: Time
|
|
77
|
-
) -> void
|
|
78
|
-
|
|
79
|
-
def to_hash: -> {
|
|
80
|
-
after: Time,
|
|
81
|
-
before: Time,
|
|
82
|
-
on_or_after: Time,
|
|
83
|
-
on_or_before: Time
|
|
84
|
-
}
|
|
85
|
-
end
|
|
86
|
-
|
|
87
|
-
type status =
|
|
88
|
-
{
|
|
89
|
-
in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
class Status < Increase::Internal::Type::BaseModel
|
|
93
|
-
attr_reader in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]?
|
|
94
|
-
|
|
95
|
-
def in_=: (
|
|
96
|
-
::Array[Increase::Models::OAuthApplicationListParams::Status::in_]
|
|
97
|
-
) -> ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]
|
|
98
|
-
|
|
99
|
-
def initialize: (
|
|
100
|
-
?in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]
|
|
101
|
-
) -> void
|
|
102
|
-
|
|
103
|
-
def to_hash: -> {
|
|
104
|
-
in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
type in_ = :active | :deleted
|
|
108
|
-
|
|
109
|
-
module In
|
|
110
|
-
extend Increase::Internal::Type::Enum
|
|
111
|
-
|
|
112
|
-
# The application is active and can be used by your users.
|
|
113
|
-
ACTIVE: :active
|
|
114
|
-
|
|
115
|
-
# The application is deleted.
|
|
116
|
-
DELETED: :deleted
|
|
117
|
-
|
|
118
|
-
def self?.values: -> ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]
|
|
119
|
-
end
|
|
120
|
-
end
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_application_retrieve_params =
|
|
4
|
-
{ oauth_application_id: String }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class OAuthApplicationRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor oauth_application_id: String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
oauth_application_id: String,
|
|
15
|
-
?request_options: Increase::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
oauth_application_id: String,
|
|
20
|
-
request_options: Increase::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_connection =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
created_at: Time,
|
|
7
|
-
deleted_at: Time?,
|
|
8
|
-
group_id: String,
|
|
9
|
-
oauth_application_id: String,
|
|
10
|
-
status: Increase::Models::OAuthConnection::status,
|
|
11
|
-
type: Increase::Models::OAuthConnection::type_
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
class OAuthConnection < Increase::Internal::Type::BaseModel
|
|
15
|
-
attr_accessor id: String
|
|
16
|
-
|
|
17
|
-
attr_accessor created_at: Time
|
|
18
|
-
|
|
19
|
-
attr_accessor deleted_at: Time?
|
|
20
|
-
|
|
21
|
-
attr_accessor group_id: String
|
|
22
|
-
|
|
23
|
-
attr_accessor oauth_application_id: String
|
|
24
|
-
|
|
25
|
-
attr_accessor status: Increase::Models::OAuthConnection::status
|
|
26
|
-
|
|
27
|
-
attr_accessor type: Increase::Models::OAuthConnection::type_
|
|
28
|
-
|
|
29
|
-
def initialize: (
|
|
30
|
-
id: String,
|
|
31
|
-
created_at: Time,
|
|
32
|
-
deleted_at: Time?,
|
|
33
|
-
group_id: String,
|
|
34
|
-
oauth_application_id: String,
|
|
35
|
-
status: Increase::Models::OAuthConnection::status,
|
|
36
|
-
type: Increase::Models::OAuthConnection::type_
|
|
37
|
-
) -> void
|
|
38
|
-
|
|
39
|
-
def to_hash: -> {
|
|
40
|
-
id: String,
|
|
41
|
-
created_at: Time,
|
|
42
|
-
deleted_at: Time?,
|
|
43
|
-
group_id: String,
|
|
44
|
-
oauth_application_id: String,
|
|
45
|
-
status: Increase::Models::OAuthConnection::status,
|
|
46
|
-
type: Increase::Models::OAuthConnection::type_
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
type status = :active | :inactive
|
|
50
|
-
|
|
51
|
-
module Status
|
|
52
|
-
extend Increase::Internal::Type::Enum
|
|
53
|
-
|
|
54
|
-
# The OAuth connection is active.
|
|
55
|
-
ACTIVE: :active
|
|
56
|
-
|
|
57
|
-
# The OAuth connection is permanently deactivated.
|
|
58
|
-
INACTIVE: :inactive
|
|
59
|
-
|
|
60
|
-
def self?.values: -> ::Array[Increase::Models::OAuthConnection::status]
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
type type_ = :oauth_connection
|
|
64
|
-
|
|
65
|
-
module Type
|
|
66
|
-
extend Increase::Internal::Type::Enum
|
|
67
|
-
|
|
68
|
-
OAUTH_CONNECTION: :oauth_connection
|
|
69
|
-
|
|
70
|
-
def self?.values: -> ::Array[Increase::Models::OAuthConnection::type_]
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_connection_list_params =
|
|
4
|
-
{
|
|
5
|
-
cursor: String,
|
|
6
|
-
limit: Integer,
|
|
7
|
-
oauth_application_id: String,
|
|
8
|
-
status: Increase::OAuthConnectionListParams::Status
|
|
9
|
-
}
|
|
10
|
-
& Increase::Internal::Type::request_parameters
|
|
11
|
-
|
|
12
|
-
class OAuthConnectionListParams < Increase::Internal::Type::BaseModel
|
|
13
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
14
|
-
include Increase::Internal::Type::RequestParameters
|
|
15
|
-
|
|
16
|
-
attr_reader cursor: String?
|
|
17
|
-
|
|
18
|
-
def cursor=: (String) -> String
|
|
19
|
-
|
|
20
|
-
attr_reader limit: Integer?
|
|
21
|
-
|
|
22
|
-
def limit=: (Integer) -> Integer
|
|
23
|
-
|
|
24
|
-
attr_reader oauth_application_id: String?
|
|
25
|
-
|
|
26
|
-
def oauth_application_id=: (String) -> String
|
|
27
|
-
|
|
28
|
-
attr_reader status: Increase::OAuthConnectionListParams::Status?
|
|
29
|
-
|
|
30
|
-
def status=: (
|
|
31
|
-
Increase::OAuthConnectionListParams::Status
|
|
32
|
-
) -> Increase::OAuthConnectionListParams::Status
|
|
33
|
-
|
|
34
|
-
def initialize: (
|
|
35
|
-
?cursor: String,
|
|
36
|
-
?limit: Integer,
|
|
37
|
-
?oauth_application_id: String,
|
|
38
|
-
?status: Increase::OAuthConnectionListParams::Status,
|
|
39
|
-
?request_options: Increase::request_opts
|
|
40
|
-
) -> void
|
|
41
|
-
|
|
42
|
-
def to_hash: -> {
|
|
43
|
-
cursor: String,
|
|
44
|
-
limit: Integer,
|
|
45
|
-
oauth_application_id: String,
|
|
46
|
-
status: Increase::OAuthConnectionListParams::Status,
|
|
47
|
-
request_options: Increase::RequestOptions
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
type status =
|
|
51
|
-
{
|
|
52
|
-
in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
class Status < Increase::Internal::Type::BaseModel
|
|
56
|
-
attr_reader in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]?
|
|
57
|
-
|
|
58
|
-
def in_=: (
|
|
59
|
-
::Array[Increase::Models::OAuthConnectionListParams::Status::in_]
|
|
60
|
-
) -> ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]
|
|
61
|
-
|
|
62
|
-
def initialize: (
|
|
63
|
-
?in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]
|
|
64
|
-
) -> void
|
|
65
|
-
|
|
66
|
-
def to_hash: -> {
|
|
67
|
-
in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
type in_ = :active | :inactive
|
|
71
|
-
|
|
72
|
-
module In
|
|
73
|
-
extend Increase::Internal::Type::Enum
|
|
74
|
-
|
|
75
|
-
# The OAuth connection is active.
|
|
76
|
-
ACTIVE: :active
|
|
77
|
-
|
|
78
|
-
# The OAuth connection is permanently deactivated.
|
|
79
|
-
INACTIVE: :inactive
|
|
80
|
-
|
|
81
|
-
def self?.values: -> ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|
|
85
|
-
end
|
|
86
|
-
end
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_connection_retrieve_params =
|
|
4
|
-
{ oauth_connection_id: String }
|
|
5
|
-
& Increase::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class OAuthConnectionRetrieveParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor oauth_connection_id: String
|
|
12
|
-
|
|
13
|
-
def initialize: (
|
|
14
|
-
oauth_connection_id: String,
|
|
15
|
-
?request_options: Increase::request_opts
|
|
16
|
-
) -> void
|
|
17
|
-
|
|
18
|
-
def to_hash: -> {
|
|
19
|
-
oauth_connection_id: String,
|
|
20
|
-
request_options: Increase::RequestOptions
|
|
21
|
-
}
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_token =
|
|
4
|
-
{
|
|
5
|
-
access_token: String,
|
|
6
|
-
group_id: String,
|
|
7
|
-
token_type: Increase::Models::OAuthToken::token_type,
|
|
8
|
-
type: Increase::Models::OAuthToken::type_
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
class OAuthToken < Increase::Internal::Type::BaseModel
|
|
12
|
-
attr_accessor access_token: String
|
|
13
|
-
|
|
14
|
-
attr_accessor group_id: String
|
|
15
|
-
|
|
16
|
-
attr_accessor token_type: Increase::Models::OAuthToken::token_type
|
|
17
|
-
|
|
18
|
-
attr_accessor type: Increase::Models::OAuthToken::type_
|
|
19
|
-
|
|
20
|
-
def initialize: (
|
|
21
|
-
access_token: String,
|
|
22
|
-
group_id: String,
|
|
23
|
-
token_type: Increase::Models::OAuthToken::token_type,
|
|
24
|
-
type: Increase::Models::OAuthToken::type_
|
|
25
|
-
) -> void
|
|
26
|
-
|
|
27
|
-
def to_hash: -> {
|
|
28
|
-
access_token: String,
|
|
29
|
-
group_id: String,
|
|
30
|
-
token_type: Increase::Models::OAuthToken::token_type,
|
|
31
|
-
type: Increase::Models::OAuthToken::type_
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
type token_type = :bearer
|
|
35
|
-
|
|
36
|
-
module TokenType
|
|
37
|
-
extend Increase::Internal::Type::Enum
|
|
38
|
-
|
|
39
|
-
BEARER: :bearer
|
|
40
|
-
|
|
41
|
-
def self?.values: -> ::Array[Increase::Models::OAuthToken::token_type]
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
type type_ = :oauth_token
|
|
45
|
-
|
|
46
|
-
module Type
|
|
47
|
-
extend Increase::Internal::Type::Enum
|
|
48
|
-
|
|
49
|
-
OAUTH_TOKEN: :oauth_token
|
|
50
|
-
|
|
51
|
-
def self?.values: -> ::Array[Increase::Models::OAuthToken::type_]
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
type oauth_token_create_params =
|
|
4
|
-
{
|
|
5
|
-
grant_type: Increase::Models::OAuthTokenCreateParams::grant_type,
|
|
6
|
-
client_id: String,
|
|
7
|
-
client_secret: String,
|
|
8
|
-
code: String,
|
|
9
|
-
production_token: String
|
|
10
|
-
}
|
|
11
|
-
& Increase::Internal::Type::request_parameters
|
|
12
|
-
|
|
13
|
-
class OAuthTokenCreateParams < Increase::Internal::Type::BaseModel
|
|
14
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
15
|
-
include Increase::Internal::Type::RequestParameters
|
|
16
|
-
|
|
17
|
-
attr_accessor grant_type: Increase::Models::OAuthTokenCreateParams::grant_type
|
|
18
|
-
|
|
19
|
-
attr_reader client_id: String?
|
|
20
|
-
|
|
21
|
-
def client_id=: (String) -> String
|
|
22
|
-
|
|
23
|
-
attr_reader client_secret: String?
|
|
24
|
-
|
|
25
|
-
def client_secret=: (String) -> String
|
|
26
|
-
|
|
27
|
-
attr_reader code: String?
|
|
28
|
-
|
|
29
|
-
def code=: (String) -> String
|
|
30
|
-
|
|
31
|
-
attr_reader production_token: String?
|
|
32
|
-
|
|
33
|
-
def production_token=: (String) -> String
|
|
34
|
-
|
|
35
|
-
def initialize: (
|
|
36
|
-
grant_type: Increase::Models::OAuthTokenCreateParams::grant_type,
|
|
37
|
-
?client_id: String,
|
|
38
|
-
?client_secret: String,
|
|
39
|
-
?code: String,
|
|
40
|
-
?production_token: String,
|
|
41
|
-
?request_options: Increase::request_opts
|
|
42
|
-
) -> void
|
|
43
|
-
|
|
44
|
-
def to_hash: -> {
|
|
45
|
-
grant_type: Increase::Models::OAuthTokenCreateParams::grant_type,
|
|
46
|
-
client_id: String,
|
|
47
|
-
client_secret: String,
|
|
48
|
-
code: String,
|
|
49
|
-
production_token: String,
|
|
50
|
-
request_options: Increase::RequestOptions
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
type grant_type = :authorization_code | :production_token
|
|
54
|
-
|
|
55
|
-
module GrantType
|
|
56
|
-
extend Increase::Internal::Type::Enum
|
|
57
|
-
|
|
58
|
-
# An OAuth authorization code.
|
|
59
|
-
AUTHORIZATION_CODE: :authorization_code
|
|
60
|
-
|
|
61
|
-
# An OAuth production token.
|
|
62
|
-
PRODUCTION_TOKEN: :production_token
|
|
63
|
-
|
|
64
|
-
def self?.values: -> ::Array[Increase::Models::OAuthTokenCreateParams::grant_type]
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class OAuthApplications
|
|
4
|
-
def retrieve: (
|
|
5
|
-
String oauth_application_id,
|
|
6
|
-
?request_options: Increase::request_opts
|
|
7
|
-
) -> Increase::OAuthApplication
|
|
8
|
-
|
|
9
|
-
def list: (
|
|
10
|
-
?created_at: Increase::OAuthApplicationListParams::CreatedAt,
|
|
11
|
-
?cursor: String,
|
|
12
|
-
?limit: Integer,
|
|
13
|
-
?status: Increase::OAuthApplicationListParams::Status,
|
|
14
|
-
?request_options: Increase::request_opts
|
|
15
|
-
) -> Increase::Internal::Page[Increase::OAuthApplication]
|
|
16
|
-
|
|
17
|
-
def initialize: (client: Increase::Client) -> void
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class OAuthConnections
|
|
4
|
-
def retrieve: (
|
|
5
|
-
String oauth_connection_id,
|
|
6
|
-
?request_options: Increase::request_opts
|
|
7
|
-
) -> Increase::OAuthConnection
|
|
8
|
-
|
|
9
|
-
def list: (
|
|
10
|
-
?cursor: String,
|
|
11
|
-
?limit: Integer,
|
|
12
|
-
?oauth_application_id: String,
|
|
13
|
-
?status: Increase::OAuthConnectionListParams::Status,
|
|
14
|
-
?request_options: Increase::request_opts
|
|
15
|
-
) -> Increase::Internal::Page[Increase::OAuthConnection]
|
|
16
|
-
|
|
17
|
-
def initialize: (client: Increase::Client) -> void
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class OAuthTokens
|
|
4
|
-
def create: (
|
|
5
|
-
grant_type: Increase::Models::OAuthTokenCreateParams::grant_type,
|
|
6
|
-
?client_id: String,
|
|
7
|
-
?client_secret: String,
|
|
8
|
-
?code: String,
|
|
9
|
-
?production_token: String,
|
|
10
|
-
?request_options: Increase::request_opts
|
|
11
|
-
) -> Increase::OAuthToken
|
|
12
|
-
|
|
13
|
-
def initialize: (client: Increase::Client) -> void
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|