surge_api 0.3.0 → 0.5.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/CHANGELOG.md +27 -0
- data/README.md +1 -1
- data/lib/surge_api/internal/util.rb +7 -2
- data/lib/surge_api/models/account_archive_params.rb +14 -0
- data/lib/surge_api/models/user_delete_params.rb +14 -0
- data/lib/surge_api/models.rb +4 -0
- data/lib/surge_api/resources/accounts.rb +29 -0
- data/lib/surge_api/resources/users.rb +24 -0
- data/lib/surge_api/version.rb +1 -1
- data/lib/surge_api.rb +2 -0
- data/rbi/surge_api/models/account_archive_params.rbi +27 -0
- data/rbi/surge_api/models/user_delete_params.rbi +27 -0
- data/rbi/surge_api/models.rbi +4 -0
- data/rbi/surge_api/resources/accounts.rbi +23 -0
- data/rbi/surge_api/resources/users.rbi +18 -0
- data/sig/surge_api/models/account_archive_params.rbs +15 -0
- data/sig/surge_api/models/user_delete_params.rbs +15 -0
- data/sig/surge_api/models.rbs +4 -0
- data/sig/surge_api/resources/accounts.rbs +5 -0
- data/sig/surge_api/resources/users.rbs +5 -0
- metadata +22 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6419099e30ee4893563ecd9e9fd2e4707dedf5af633e5972d25b0848228deef9
|
|
4
|
+
data.tar.gz: 1c60adc5936f072f87f8b534f26a4cab6bf3a34ea5d48428675c8cfea4da6159
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bcb5e868464704dad067a2a1e5b36a695689c3adf03e7b8e5978b2469dbe69bf2da75d7a4b0d6ad1613357a991e5a0f57e3110a95afc20eae0df4a7cc0ac751
|
|
7
|
+
data.tar.gz: 95e41f79bf6d869ac3201c21f15c1ceb7514d2d2e35c5172cba0e5db199bd1817300c9eea8d2050ad3493f08b2ecade4288c6c6b8907f53309cff1baf2001f65
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.0 (2026-01-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.4.0...v0.5.0](https://github.com/surgeapi/ruby-sdk/compare/v0.4.0...v0.5.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add delete user endpoint ([424ea71](https://github.com/surgeapi/ruby-sdk/commit/424ea7107c3039b175ccdc6066d04dec9d094dfd))
|
|
10
|
+
|
|
11
|
+
## 0.4.0 (2026-01-10)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/surgeapi/ruby-sdk/compare/v0.3.0...v0.4.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** add archive account endpoint ([b56a3ac](https://github.com/surgeapi/ruby-sdk/commit/b56a3ac799df5e73cfea5416bb6af32cdeaac64d))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* issue where json.parse errors when receiving HTTP 204 with nobody ([a54e6ff](https://github.com/surgeapi/ruby-sdk/commit/a54e6ff310c9d5d146161a33971eb0dc541c9774))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Chores
|
|
26
|
+
|
|
27
|
+
* **internal:** codegen related update ([6dda266](https://github.com/surgeapi/ruby-sdk/commit/6dda2669de3018139c1ff15a9c23edda513fd899))
|
|
28
|
+
* move `cgi` into dependencies for ruby 4 ([03ce06b](https://github.com/surgeapi/ruby-sdk/commit/03ce06b6a4f4d7f510dee6ece06e89ff93ede89d))
|
|
29
|
+
|
|
3
30
|
## 0.3.0 (2025-12-17)
|
|
4
31
|
|
|
5
32
|
Full Changelog: [v0.2.1...v0.3.0](https://github.com/surgeapi/ruby-sdk/compare/v0.2.1...v0.3.0)
|
data/README.md
CHANGED
|
@@ -657,7 +657,8 @@ module SurgeAPI
|
|
|
657
657
|
def decode_content(headers, stream:, suppress_error: false)
|
|
658
658
|
case (content_type = headers["content-type"])
|
|
659
659
|
in SurgeAPI::Internal::Util::JSON_CONTENT
|
|
660
|
-
json = stream.to_a.join
|
|
660
|
+
return nil if (json = stream.to_a.join).empty?
|
|
661
|
+
|
|
661
662
|
begin
|
|
662
663
|
JSON.parse(json, symbolize_names: true)
|
|
663
664
|
rescue JSON::ParserError => e
|
|
@@ -667,7 +668,11 @@ module SurgeAPI
|
|
|
667
668
|
in SurgeAPI::Internal::Util::JSONL_CONTENT
|
|
668
669
|
lines = decode_lines(stream)
|
|
669
670
|
chain_fused(lines) do |y|
|
|
670
|
-
lines.each
|
|
671
|
+
lines.each do
|
|
672
|
+
next if _1.empty?
|
|
673
|
+
|
|
674
|
+
y << JSON.parse(_1, symbolize_names: true)
|
|
675
|
+
end
|
|
671
676
|
end
|
|
672
677
|
in %r{^text/event-stream}
|
|
673
678
|
lines = decode_lines(stream)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module SurgeAPI
|
|
4
|
+
module Models
|
|
5
|
+
# @see SurgeAPI::Resources::Accounts#archive
|
|
6
|
+
class AccountArchiveParams < SurgeAPI::Internal::Type::BaseModel
|
|
7
|
+
extend SurgeAPI::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include SurgeAPI::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!method initialize(request_options: {})
|
|
11
|
+
# @param request_options [SurgeAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module SurgeAPI
|
|
4
|
+
module Models
|
|
5
|
+
# @see SurgeAPI::Resources::Users#delete
|
|
6
|
+
class UserDeleteParams < SurgeAPI::Internal::Type::BaseModel
|
|
7
|
+
extend SurgeAPI::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include SurgeAPI::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!method initialize(request_options: {})
|
|
11
|
+
# @param request_options [SurgeAPI::RequestOptions, Hash{Symbol=>Object}]
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/lib/surge_api/models.rb
CHANGED
|
@@ -41,6 +41,8 @@ module SurgeAPI
|
|
|
41
41
|
|
|
42
42
|
Account = SurgeAPI::Models::Account
|
|
43
43
|
|
|
44
|
+
AccountArchiveParams = SurgeAPI::Models::AccountArchiveParams
|
|
45
|
+
|
|
44
46
|
AccountCreateParams = SurgeAPI::Models::AccountCreateParams
|
|
45
47
|
|
|
46
48
|
AccountRetrieveStatusParams = SurgeAPI::Models::AccountRetrieveStatusParams
|
|
@@ -109,6 +111,8 @@ module SurgeAPI
|
|
|
109
111
|
|
|
110
112
|
UserCreateTokenParams = SurgeAPI::Models::UserCreateTokenParams
|
|
111
113
|
|
|
114
|
+
UserDeleteParams = SurgeAPI::Models::UserDeleteParams
|
|
115
|
+
|
|
112
116
|
UserRetrieveParams = SurgeAPI::Models::UserRetrieveParams
|
|
113
117
|
|
|
114
118
|
UserTokenResponse = SurgeAPI::Models::UserTokenResponse
|
|
@@ -67,6 +67,35 @@ module SurgeAPI
|
|
|
67
67
|
)
|
|
68
68
|
end
|
|
69
69
|
|
|
70
|
+
# Archives an account and releases all associated resources.
|
|
71
|
+
#
|
|
72
|
+
# **Warning**: This action will:
|
|
73
|
+
#
|
|
74
|
+
# - Release all phone numbers associated with the account
|
|
75
|
+
# - Deactivate all campaigns
|
|
76
|
+
# - Make the account unusable for sending messages
|
|
77
|
+
#
|
|
78
|
+
# This operation is irreversible. If you need to send SMS in the future, you will
|
|
79
|
+
# need to re-register new phone numbers and campaigns.
|
|
80
|
+
#
|
|
81
|
+
# @overload archive(id, request_options: {})
|
|
82
|
+
#
|
|
83
|
+
# @param id [String] The ID of the account to archive.
|
|
84
|
+
#
|
|
85
|
+
# @param request_options [SurgeAPI::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
86
|
+
#
|
|
87
|
+
# @return [SurgeAPI::Models::Account]
|
|
88
|
+
#
|
|
89
|
+
# @see SurgeAPI::Models::AccountArchiveParams
|
|
90
|
+
def archive(id, params = {})
|
|
91
|
+
@client.request(
|
|
92
|
+
method: :delete,
|
|
93
|
+
path: ["accounts/%1$s", id],
|
|
94
|
+
model: SurgeAPI::Account,
|
|
95
|
+
options: params[:request_options]
|
|
96
|
+
)
|
|
97
|
+
end
|
|
98
|
+
|
|
70
99
|
# Check an account's status and capabilities
|
|
71
100
|
#
|
|
72
101
|
# @overload retrieve_status(account_id, capabilities: nil, request_options: {})
|
|
@@ -83,6 +83,30 @@ module SurgeAPI
|
|
|
83
83
|
)
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
# Deletes a user.
|
|
87
|
+
#
|
|
88
|
+
# Once a user has been deleted, they will no longer be permitted to access any of
|
|
89
|
+
# the embedded components. Attempting to access a deleted user will return a 404
|
|
90
|
+
# Not Found error.
|
|
91
|
+
#
|
|
92
|
+
# @overload delete(id, request_options: {})
|
|
93
|
+
#
|
|
94
|
+
# @param id [String] The ID of the user to delete.
|
|
95
|
+
#
|
|
96
|
+
# @param request_options [SurgeAPI::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
97
|
+
#
|
|
98
|
+
# @return [SurgeAPI::Models::User]
|
|
99
|
+
#
|
|
100
|
+
# @see SurgeAPI::Models::UserDeleteParams
|
|
101
|
+
def delete(id, params = {})
|
|
102
|
+
@client.request(
|
|
103
|
+
method: :delete,
|
|
104
|
+
path: ["users/%1$s", id],
|
|
105
|
+
model: SurgeAPI::User,
|
|
106
|
+
options: params[:request_options]
|
|
107
|
+
)
|
|
108
|
+
end
|
|
109
|
+
|
|
86
110
|
# Provides a mechanism for having Surge create a signed token for embeds instead
|
|
87
111
|
# of signing with your own signing key.
|
|
88
112
|
#
|
data/lib/surge_api/version.rb
CHANGED
data/lib/surge_api.rb
CHANGED
|
@@ -55,6 +55,7 @@ require_relative "surge_api/client"
|
|
|
55
55
|
require_relative "surge_api/models/campaign_params"
|
|
56
56
|
require_relative "surge_api/models/message_params"
|
|
57
57
|
require_relative "surge_api/models/account"
|
|
58
|
+
require_relative "surge_api/models/account_archive_params"
|
|
58
59
|
require_relative "surge_api/models/account_create_params"
|
|
59
60
|
require_relative "surge_api/models/account_retrieve_status_params"
|
|
60
61
|
require_relative "surge_api/models/account_status"
|
|
@@ -87,6 +88,7 @@ require_relative "surge_api/models/unwrap_webhook_event"
|
|
|
87
88
|
require_relative "surge_api/models/user"
|
|
88
89
|
require_relative "surge_api/models/user_create_params"
|
|
89
90
|
require_relative "surge_api/models/user_create_token_params"
|
|
91
|
+
require_relative "surge_api/models/user_delete_params"
|
|
90
92
|
require_relative "surge_api/models/user_retrieve_params"
|
|
91
93
|
require_relative "surge_api/models/user_token_response"
|
|
92
94
|
require_relative "surge_api/models/user_update_params"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module SurgeAPI
|
|
4
|
+
module Models
|
|
5
|
+
class AccountArchiveParams < SurgeAPI::Internal::Type::BaseModel
|
|
6
|
+
extend SurgeAPI::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include SurgeAPI::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(SurgeAPI::AccountArchiveParams, SurgeAPI::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig do
|
|
15
|
+
params(request_options: SurgeAPI::RequestOptions::OrHash).returns(
|
|
16
|
+
T.attached_class
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
def self.new(request_options: {})
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
sig { override.returns({ request_options: SurgeAPI::RequestOptions }) }
|
|
23
|
+
def to_hash
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module SurgeAPI
|
|
4
|
+
module Models
|
|
5
|
+
class UserDeleteParams < SurgeAPI::Internal::Type::BaseModel
|
|
6
|
+
extend SurgeAPI::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include SurgeAPI::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(SurgeAPI::UserDeleteParams, SurgeAPI::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
sig do
|
|
15
|
+
params(request_options: SurgeAPI::RequestOptions::OrHash).returns(
|
|
16
|
+
T.attached_class
|
|
17
|
+
)
|
|
18
|
+
end
|
|
19
|
+
def self.new(request_options: {})
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
sig { override.returns({ request_options: SurgeAPI::RequestOptions }) }
|
|
23
|
+
def to_hash
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
data/rbi/surge_api/models.rbi
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
module SurgeAPI
|
|
4
4
|
Account = SurgeAPI::Models::Account
|
|
5
5
|
|
|
6
|
+
AccountArchiveParams = SurgeAPI::Models::AccountArchiveParams
|
|
7
|
+
|
|
6
8
|
AccountCreateParams = SurgeAPI::Models::AccountCreateParams
|
|
7
9
|
|
|
8
10
|
AccountRetrieveStatusParams = SurgeAPI::Models::AccountRetrieveStatusParams
|
|
@@ -72,6 +74,8 @@ module SurgeAPI
|
|
|
72
74
|
|
|
73
75
|
UserCreateTokenParams = SurgeAPI::Models::UserCreateTokenParams
|
|
74
76
|
|
|
77
|
+
UserDeleteParams = SurgeAPI::Models::UserDeleteParams
|
|
78
|
+
|
|
75
79
|
UserRetrieveParams = SurgeAPI::Models::UserRetrieveParams
|
|
76
80
|
|
|
77
81
|
UserTokenResponse = SurgeAPI::Models::UserTokenResponse
|
|
@@ -65,6 +65,29 @@ module SurgeAPI
|
|
|
65
65
|
)
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
+
# Archives an account and releases all associated resources.
|
|
69
|
+
#
|
|
70
|
+
# **Warning**: This action will:
|
|
71
|
+
#
|
|
72
|
+
# - Release all phone numbers associated with the account
|
|
73
|
+
# - Deactivate all campaigns
|
|
74
|
+
# - Make the account unusable for sending messages
|
|
75
|
+
#
|
|
76
|
+
# This operation is irreversible. If you need to send SMS in the future, you will
|
|
77
|
+
# need to re-register new phone numbers and campaigns.
|
|
78
|
+
sig do
|
|
79
|
+
params(
|
|
80
|
+
id: String,
|
|
81
|
+
request_options: SurgeAPI::RequestOptions::OrHash
|
|
82
|
+
).returns(SurgeAPI::Account)
|
|
83
|
+
end
|
|
84
|
+
def archive(
|
|
85
|
+
# The ID of the account to archive.
|
|
86
|
+
id,
|
|
87
|
+
request_options: {}
|
|
88
|
+
)
|
|
89
|
+
end
|
|
90
|
+
|
|
68
91
|
# Check an account's status and capabilities
|
|
69
92
|
sig do
|
|
70
93
|
params(
|
|
@@ -69,6 +69,24 @@ module SurgeAPI
|
|
|
69
69
|
)
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
# Deletes a user.
|
|
73
|
+
#
|
|
74
|
+
# Once a user has been deleted, they will no longer be permitted to access any of
|
|
75
|
+
# the embedded components. Attempting to access a deleted user will return a 404
|
|
76
|
+
# Not Found error.
|
|
77
|
+
sig do
|
|
78
|
+
params(
|
|
79
|
+
id: String,
|
|
80
|
+
request_options: SurgeAPI::RequestOptions::OrHash
|
|
81
|
+
).returns(SurgeAPI::User)
|
|
82
|
+
end
|
|
83
|
+
def delete(
|
|
84
|
+
# The ID of the user to delete.
|
|
85
|
+
id,
|
|
86
|
+
request_options: {}
|
|
87
|
+
)
|
|
88
|
+
end
|
|
89
|
+
|
|
72
90
|
# Provides a mechanism for having Surge create a signed token for embeds instead
|
|
73
91
|
# of signing with your own signing key.
|
|
74
92
|
sig do
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module SurgeAPI
|
|
2
|
+
module Models
|
|
3
|
+
type account_archive_params =
|
|
4
|
+
{ } & SurgeAPI::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class AccountArchiveParams < SurgeAPI::Internal::Type::BaseModel
|
|
7
|
+
extend SurgeAPI::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include SurgeAPI::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: SurgeAPI::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: SurgeAPI::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module SurgeAPI
|
|
2
|
+
module Models
|
|
3
|
+
type user_delete_params =
|
|
4
|
+
{ } & SurgeAPI::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class UserDeleteParams < SurgeAPI::Internal::Type::BaseModel
|
|
7
|
+
extend SurgeAPI::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include SurgeAPI::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
def initialize: (?request_options: SurgeAPI::request_opts) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { request_options: SurgeAPI::RequestOptions }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/sig/surge_api/models.rbs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
module SurgeAPI
|
|
2
2
|
class Account = SurgeAPI::Models::Account
|
|
3
3
|
|
|
4
|
+
class AccountArchiveParams = SurgeAPI::Models::AccountArchiveParams
|
|
5
|
+
|
|
4
6
|
class AccountCreateParams = SurgeAPI::Models::AccountCreateParams
|
|
5
7
|
|
|
6
8
|
class AccountRetrieveStatusParams = SurgeAPI::Models::AccountRetrieveStatusParams
|
|
@@ -69,6 +71,8 @@ module SurgeAPI
|
|
|
69
71
|
|
|
70
72
|
class UserCreateTokenParams = SurgeAPI::Models::UserCreateTokenParams
|
|
71
73
|
|
|
74
|
+
class UserDeleteParams = SurgeAPI::Models::UserDeleteParams
|
|
75
|
+
|
|
72
76
|
class UserRetrieveParams = SurgeAPI::Models::UserRetrieveParams
|
|
73
77
|
|
|
74
78
|
class UserTokenResponse = SurgeAPI::Models::UserTokenResponse
|
|
@@ -18,6 +18,11 @@ module SurgeAPI
|
|
|
18
18
|
?request_options: SurgeAPI::request_opts
|
|
19
19
|
) -> SurgeAPI::Account
|
|
20
20
|
|
|
21
|
+
def archive: (
|
|
22
|
+
String id,
|
|
23
|
+
?request_options: SurgeAPI::request_opts
|
|
24
|
+
) -> SurgeAPI::Account
|
|
25
|
+
|
|
21
26
|
def retrieve_status: (
|
|
22
27
|
String account_id,
|
|
23
28
|
?capabilities: ::Array[SurgeAPI::Models::AccountRetrieveStatusParams::capability],
|
|
@@ -24,6 +24,11 @@ module SurgeAPI
|
|
|
24
24
|
?request_options: SurgeAPI::request_opts
|
|
25
25
|
) -> SurgeAPI::User
|
|
26
26
|
|
|
27
|
+
def delete: (
|
|
28
|
+
String id,
|
|
29
|
+
?request_options: SurgeAPI::request_opts
|
|
30
|
+
) -> SurgeAPI::User
|
|
31
|
+
|
|
27
32
|
def create_token: (
|
|
28
33
|
String user_id,
|
|
29
34
|
?duration_seconds: Integer,
|
metadata
CHANGED
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: surge_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Surge
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: cgi
|
|
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: connection_pool
|
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -56,6 +70,7 @@ files:
|
|
|
56
70
|
- lib/surge_api/internal/util.rb
|
|
57
71
|
- lib/surge_api/models.rb
|
|
58
72
|
- lib/surge_api/models/account.rb
|
|
73
|
+
- lib/surge_api/models/account_archive_params.rb
|
|
59
74
|
- lib/surge_api/models/account_create_params.rb
|
|
60
75
|
- lib/surge_api/models/account_retrieve_status_params.rb
|
|
61
76
|
- lib/surge_api/models/account_status.rb
|
|
@@ -90,6 +105,7 @@ files:
|
|
|
90
105
|
- lib/surge_api/models/user.rb
|
|
91
106
|
- lib/surge_api/models/user_create_params.rb
|
|
92
107
|
- lib/surge_api/models/user_create_token_params.rb
|
|
108
|
+
- lib/surge_api/models/user_delete_params.rb
|
|
93
109
|
- lib/surge_api/models/user_retrieve_params.rb
|
|
94
110
|
- lib/surge_api/models/user_token_response.rb
|
|
95
111
|
- lib/surge_api/models/user_update_params.rb
|
|
@@ -130,6 +146,7 @@ files:
|
|
|
130
146
|
- rbi/surge_api/internal/util.rbi
|
|
131
147
|
- rbi/surge_api/models.rbi
|
|
132
148
|
- rbi/surge_api/models/account.rbi
|
|
149
|
+
- rbi/surge_api/models/account_archive_params.rbi
|
|
133
150
|
- rbi/surge_api/models/account_create_params.rbi
|
|
134
151
|
- rbi/surge_api/models/account_retrieve_status_params.rbi
|
|
135
152
|
- rbi/surge_api/models/account_status.rbi
|
|
@@ -164,6 +181,7 @@ files:
|
|
|
164
181
|
- rbi/surge_api/models/user.rbi
|
|
165
182
|
- rbi/surge_api/models/user_create_params.rbi
|
|
166
183
|
- rbi/surge_api/models/user_create_token_params.rbi
|
|
184
|
+
- rbi/surge_api/models/user_delete_params.rbi
|
|
167
185
|
- rbi/surge_api/models/user_retrieve_params.rbi
|
|
168
186
|
- rbi/surge_api/models/user_token_response.rbi
|
|
169
187
|
- rbi/surge_api/models/user_update_params.rbi
|
|
@@ -203,6 +221,7 @@ files:
|
|
|
203
221
|
- sig/surge_api/internal/util.rbs
|
|
204
222
|
- sig/surge_api/models.rbs
|
|
205
223
|
- sig/surge_api/models/account.rbs
|
|
224
|
+
- sig/surge_api/models/account_archive_params.rbs
|
|
206
225
|
- sig/surge_api/models/account_create_params.rbs
|
|
207
226
|
- sig/surge_api/models/account_retrieve_status_params.rbs
|
|
208
227
|
- sig/surge_api/models/account_status.rbs
|
|
@@ -237,6 +256,7 @@ files:
|
|
|
237
256
|
- sig/surge_api/models/user.rbs
|
|
238
257
|
- sig/surge_api/models/user_create_params.rbs
|
|
239
258
|
- sig/surge_api/models/user_create_token_params.rbs
|
|
259
|
+
- sig/surge_api/models/user_delete_params.rbs
|
|
240
260
|
- sig/surge_api/models/user_retrieve_params.rbs
|
|
241
261
|
- sig/surge_api/models/user_token_response.rbs
|
|
242
262
|
- sig/surge_api/models/user_update_params.rbs
|