speakeasy_client_sdk_ruby 4.2.5 → 4.2.7
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/lib/speakeasy_client_sdk/github.rb +118 -0
- data/lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations.rb +5 -0
- data/lib/speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb +24 -0
- data/lib/speakeasy_client_sdk/models/shared/githubpublishingprresponse.rb +27 -0
- data/lib/speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb +27 -0
- data/lib/speakeasy_client_sdk/models/shared.rb +3 -0
- data/lib/speakeasy_client_sdk/sdkconfiguration.rb +3 -3
- metadata +10 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5aa099f059474f1b0e2aa04fc88e5dc1c2abcf6b8f8d3ea84552cebbe4cfc3e3
|
|
4
|
+
data.tar.gz: 226ad6aaebf35680b603d2dca36c68b3a553bbd760115362bc4cd0db81dd2aaa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b61441fb1555af95669364f6e802a599593c4b546bb8a5945c81e778a7fb48f0b5883f108987388fe264a6c1fbcc0ee41a2c2dd115de132da8268c017980ca4
|
|
7
|
+
data.tar.gz: 8400924b5ee0fd7cd089721e99101291399be2bb4be1671f29c4496642f4b13a016e2169db72935f30bd709ca1d850f73f76323c64aaac593542c51f8448bac4
|
|
@@ -19,6 +19,44 @@ module SpeakeasyClientSDK
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::FetchPublishingPRsRequest)).returns(::SpeakeasyClientSDK::Operations::FetchPublishingPRsResponse) }
|
|
23
|
+
def fetch_publishing_p_rs(request)
|
|
24
|
+
|
|
25
|
+
url, params = @sdk_configuration.get_server_details
|
|
26
|
+
base_url = Utils.template_url(url, params)
|
|
27
|
+
url = "#{base_url}/v1/github/publishing_prs"
|
|
28
|
+
headers = {}
|
|
29
|
+
query_params = Utils.get_query_params(::SpeakeasyClientSDK::Operations::FetchPublishingPRsRequest, request, @sdk_configuration.globals)
|
|
30
|
+
headers['Accept'] = 'application/json'
|
|
31
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
|
32
|
+
|
|
33
|
+
r = @sdk_configuration.client.get(url) do |req|
|
|
34
|
+
req.headers = headers
|
|
35
|
+
req.params = query_params
|
|
36
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
|
40
|
+
|
|
41
|
+
res = ::SpeakeasyClientSDK::Operations::FetchPublishingPRsResponse.new(
|
|
42
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
|
43
|
+
)
|
|
44
|
+
if r.status == 200
|
|
45
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
46
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::GithubPublishingPRResponse)
|
|
47
|
+
res.github_publishing_pr_response = out
|
|
48
|
+
end
|
|
49
|
+
else
|
|
50
|
+
|
|
51
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
52
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
|
53
|
+
res.error = out
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
res
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
|
|
22
60
|
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GithubCheckAccessRequest)).returns(::SpeakeasyClientSDK::Operations::GithubCheckAccessResponse) }
|
|
23
61
|
def github_check_access(request)
|
|
24
62
|
|
|
@@ -53,6 +91,44 @@ module SpeakeasyClientSDK
|
|
|
53
91
|
end
|
|
54
92
|
|
|
55
93
|
|
|
94
|
+
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GithubCheckPublishingSecretsRequest)).returns(::SpeakeasyClientSDK::Operations::GithubCheckPublishingSecretsResponse) }
|
|
95
|
+
def github_check_publishing_secrets(request)
|
|
96
|
+
|
|
97
|
+
url, params = @sdk_configuration.get_server_details
|
|
98
|
+
base_url = Utils.template_url(url, params)
|
|
99
|
+
url = "#{base_url}/v1/github/publishing_secrets"
|
|
100
|
+
headers = {}
|
|
101
|
+
query_params = Utils.get_query_params(::SpeakeasyClientSDK::Operations::GithubCheckPublishingSecretsRequest, request, @sdk_configuration.globals)
|
|
102
|
+
headers['Accept'] = 'application/json'
|
|
103
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
|
104
|
+
|
|
105
|
+
r = @sdk_configuration.client.get(url) do |req|
|
|
106
|
+
req.headers = headers
|
|
107
|
+
req.params = query_params
|
|
108
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
|
112
|
+
|
|
113
|
+
res = ::SpeakeasyClientSDK::Operations::GithubCheckPublishingSecretsResponse.new(
|
|
114
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
|
115
|
+
)
|
|
116
|
+
if r.status == 200
|
|
117
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
118
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::GithubMissingPublishingSecretsResponse)
|
|
119
|
+
res.github_missing_publishing_secrets_response = out
|
|
120
|
+
end
|
|
121
|
+
else
|
|
122
|
+
|
|
123
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
124
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
|
125
|
+
res.error = out
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
res
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
|
|
56
132
|
sig { params(request: ::SpeakeasyClientSDK::Shared::GithubConfigureTargetRequest).returns(::SpeakeasyClientSDK::Operations::GithubConfigureTargetResponse) }
|
|
57
133
|
def github_configure_target(request)
|
|
58
134
|
|
|
@@ -95,6 +171,48 @@ module SpeakeasyClientSDK
|
|
|
95
171
|
end
|
|
96
172
|
|
|
97
173
|
|
|
174
|
+
sig { params(request: ::SpeakeasyClientSDK::Shared::GithubStorePublishingSecretsRequest).returns(::SpeakeasyClientSDK::Operations::GithubStorePublishingSecretsResponse) }
|
|
175
|
+
def github_store_publishing_secrets(request)
|
|
176
|
+
|
|
177
|
+
url, params = @sdk_configuration.get_server_details
|
|
178
|
+
base_url = Utils.template_url(url, params)
|
|
179
|
+
url = "#{base_url}/v1/github/publishing_secrets"
|
|
180
|
+
headers = {}
|
|
181
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :request, :json)
|
|
182
|
+
headers['content-type'] = req_content_type
|
|
183
|
+
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
|
184
|
+
headers['Accept'] = 'application/json'
|
|
185
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
|
186
|
+
|
|
187
|
+
r = @sdk_configuration.client.post(url) do |req|
|
|
188
|
+
req.headers = headers
|
|
189
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
|
190
|
+
if form
|
|
191
|
+
req.body = Utils.encode_form(form)
|
|
192
|
+
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
|
193
|
+
req.body = URI.encode_www_form(data)
|
|
194
|
+
else
|
|
195
|
+
req.body = data
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
|
200
|
+
|
|
201
|
+
res = ::SpeakeasyClientSDK::Operations::GithubStorePublishingSecretsResponse.new(
|
|
202
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
|
203
|
+
)
|
|
204
|
+
if r.status == 200
|
|
205
|
+
else
|
|
206
|
+
|
|
207
|
+
if Utils.match_content_type(content_type, 'application/json')
|
|
208
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Shared::Error)
|
|
209
|
+
res.error = out
|
|
210
|
+
end
|
|
211
|
+
end
|
|
212
|
+
res
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
|
|
98
216
|
sig { params(request: ::SpeakeasyClientSDK::Shared::GithubTriggerActionRequest).returns(::SpeakeasyClientSDK::Operations::GithubTriggerActionResponse) }
|
|
99
217
|
def github_trigger_action(request)
|
|
100
218
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class FetchPublishingPRsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :generate_gen_lock_id, ::String, { 'query_param': { 'field_name': 'generate_gen_lock_id', 'style': 'form', 'explode': true } }
|
|
16
|
+
|
|
17
|
+
field :org, ::String, { 'query_param': { 'field_name': 'org', 'style': 'form', 'explode': true } }
|
|
18
|
+
|
|
19
|
+
field :repo, ::String, { 'query_param': { 'field_name': 'repo', 'style': 'form', 'explode': true } }
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
sig { params(generate_gen_lock_id: ::String, org: ::String, repo: ::String).void }
|
|
23
|
+
def initialize(generate_gen_lock_id: nil, org: nil, repo: nil)
|
|
24
|
+
@generate_gen_lock_id = generate_gen_lock_id
|
|
25
|
+
@org = org
|
|
26
|
+
@repo = repo
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class FetchPublishingPRsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
17
|
+
field :raw_response, ::Faraday::Response
|
|
18
|
+
# HTTP response status code for this operation
|
|
19
|
+
field :status_code, ::Integer
|
|
20
|
+
# Default error response
|
|
21
|
+
field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
|
|
22
|
+
# OK
|
|
23
|
+
field :github_publishing_pr_response, T.nilable(::SpeakeasyClientSDK::Shared::GithubPublishingPRResponse)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error), github_publishing_pr_response: T.nilable(::SpeakeasyClientSDK::Shared::GithubPublishingPRResponse)).void }
|
|
27
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, github_publishing_pr_response: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@raw_response = raw_response
|
|
30
|
+
@status_code = status_code
|
|
31
|
+
@error = error
|
|
32
|
+
@github_publishing_pr_response = github_publishing_pr_response
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GithubCheckPublishingSecretsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :generate_gen_lock_id, ::String, { 'query_param': { 'field_name': 'generate_gen_lock_id', 'style': 'form', 'explode': true } }
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
sig { params(generate_gen_lock_id: ::String).void }
|
|
19
|
+
def initialize(generate_gen_lock_id: nil)
|
|
20
|
+
@generate_gen_lock_id = generate_gen_lock_id
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GithubCheckPublishingSecretsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
17
|
+
field :raw_response, ::Faraday::Response
|
|
18
|
+
# HTTP response status code for this operation
|
|
19
|
+
field :status_code, ::Integer
|
|
20
|
+
# Default error response
|
|
21
|
+
field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
|
|
22
|
+
# OK
|
|
23
|
+
field :github_missing_publishing_secrets_response, T.nilable(::SpeakeasyClientSDK::Shared::GithubMissingPublishingSecretsResponse)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error), github_missing_publishing_secrets_response: T.nilable(::SpeakeasyClientSDK::Shared::GithubMissingPublishingSecretsResponse)).void }
|
|
27
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, github_missing_publishing_secrets_response: nil)
|
|
28
|
+
@content_type = content_type
|
|
29
|
+
@raw_response = raw_response
|
|
30
|
+
@status_code = status_code
|
|
31
|
+
@error = error
|
|
32
|
+
@github_missing_publishing_secrets_response = github_missing_publishing_secrets_response
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GithubStorePublishingSecretsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
17
|
+
field :raw_response, ::Faraday::Response
|
|
18
|
+
# HTTP response status code for this operation
|
|
19
|
+
field :status_code, ::Integer
|
|
20
|
+
# Default error response
|
|
21
|
+
field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@error = error
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -83,9 +83,14 @@ module SpeakeasyClientSDK
|
|
|
83
83
|
autoload :GetRequestFromEventLogResponse, 'speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb'
|
|
84
84
|
autoload :QueryEventLogRequest, 'speakeasy_client_sdk/models/operations/queryeventlog_request.rb'
|
|
85
85
|
autoload :QueryEventLogResponse, 'speakeasy_client_sdk/models/operations/queryeventlog_response.rb'
|
|
86
|
+
autoload :FetchPublishingPRsRequest, 'speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb'
|
|
87
|
+
autoload :FetchPublishingPRsResponse, 'speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb'
|
|
86
88
|
autoload :GithubCheckAccessRequest, 'speakeasy_client_sdk/models/operations/githubcheckaccess_request.rb'
|
|
87
89
|
autoload :GithubCheckAccessResponse, 'speakeasy_client_sdk/models/operations/githubcheckaccess_response.rb'
|
|
90
|
+
autoload :GithubCheckPublishingSecretsRequest, 'speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_request.rb'
|
|
91
|
+
autoload :GithubCheckPublishingSecretsResponse, 'speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_response.rb'
|
|
88
92
|
autoload :GithubConfigureTargetResponse, 'speakeasy_client_sdk/models/operations/githubconfiguretarget_response.rb'
|
|
93
|
+
autoload :GithubStorePublishingSecretsResponse, 'speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb'
|
|
89
94
|
autoload :GithubTriggerActionResponse, 'speakeasy_client_sdk/models/operations/githubtriggeraction_response.rb'
|
|
90
95
|
autoload :CreateFreeTrialResponse, 'speakeasy_client_sdk/models/operations/createfreetrial_response.rb'
|
|
91
96
|
autoload :GetOrganizationUsageResponse, 'speakeasy_client_sdk/models/operations/getorganizationusage_response.rb'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Shared
|
|
9
|
+
|
|
10
|
+
# A valid response containing MISSING publishing secret keys for a github target
|
|
11
|
+
class GithubMissingPublishingSecretsResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :missing_secrets, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('missing_secrets') } }
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
sig { params(missing_secrets: T.nilable(T::Array[::String])).void }
|
|
19
|
+
def initialize(missing_secrets: nil)
|
|
20
|
+
@missing_secrets = missing_secrets
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Shared
|
|
9
|
+
|
|
10
|
+
# Open generation PRs pending publishing
|
|
11
|
+
class GithubPublishingPRResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :generation_pull_request, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generation_pull_request') } }
|
|
16
|
+
|
|
17
|
+
field :pending_version, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('pending_version') } }
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
sig { params(generation_pull_request: T.nilable(::String), pending_version: T.nilable(::String)).void }
|
|
21
|
+
def initialize(generation_pull_request: nil, pending_version: nil)
|
|
22
|
+
@generation_pull_request = generation_pull_request
|
|
23
|
+
@pending_version = pending_version
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module SpeakeasyClientSDK
|
|
8
|
+
module Shared
|
|
9
|
+
|
|
10
|
+
# A request to store publishing secrets for a github target
|
|
11
|
+
class GithubStorePublishingSecretsRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# The generation lock ID
|
|
15
|
+
field :generate_gen_lock_id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_id') } }
|
|
16
|
+
# A map of secrets to store in the GitHub target
|
|
17
|
+
field :secrets, T.nilable(T::Hash[Symbol, ::String]), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('secrets') } }
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
sig { params(generate_gen_lock_id: ::String, secrets: T.nilable(T::Hash[Symbol, ::String])).void }
|
|
21
|
+
def initialize(generate_gen_lock_id: nil, secrets: nil)
|
|
22
|
+
@generate_gen_lock_id = generate_gen_lock_id
|
|
23
|
+
@secrets = secrets
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -44,7 +44,10 @@ module SpeakeasyClientSDK
|
|
|
44
44
|
autoload :RequestMetadata, 'speakeasy_client_sdk/models/shared/requestmetadata.rb'
|
|
45
45
|
autoload :Filters, 'speakeasy_client_sdk/models/shared/filters.rb'
|
|
46
46
|
autoload :Filter, 'speakeasy_client_sdk/models/shared/filter.rb'
|
|
47
|
+
autoload :GithubPublishingPRResponse, 'speakeasy_client_sdk/models/shared/githubpublishingprresponse.rb'
|
|
48
|
+
autoload :GithubMissingPublishingSecretsResponse, 'speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb'
|
|
47
49
|
autoload :GithubConfigureTargetRequest, 'speakeasy_client_sdk/models/shared/githubconfiguretargetrequest.rb'
|
|
50
|
+
autoload :GithubStorePublishingSecretsRequest, 'speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb'
|
|
48
51
|
autoload :GithubTriggerActionRequest, 'speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb'
|
|
49
52
|
autoload :OrganizationUsageResponse, 'speakeasy_client_sdk/models/shared/organizationusageresponse.rb'
|
|
50
53
|
autoload :OrganizationUsage, 'speakeasy_client_sdk/models/shared/organizationusage.rb'
|
|
@@ -41,9 +41,9 @@ module SpeakeasyClientSDK
|
|
|
41
41
|
@globals = globals.nil? ? {} : globals
|
|
42
42
|
@language = 'ruby'
|
|
43
43
|
@openapi_doc_version = '0.4.0 .'
|
|
44
|
-
@sdk_version = '4.2.
|
|
45
|
-
@gen_version = '2.
|
|
46
|
-
@user_agent = 'speakeasy-sdk/ruby 4.2.
|
|
44
|
+
@sdk_version = '4.2.7'
|
|
45
|
+
@gen_version = '2.347.4'
|
|
46
|
+
@user_agent = 'speakeasy-sdk/ruby 4.2.7 2.347.4 0.4.0 . speakeasy_client_sdk_ruby'
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: speakeasy_client_sdk_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-06-
|
|
11
|
+
date: 2024-06-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -165,6 +165,8 @@ files:
|
|
|
165
165
|
- lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb
|
|
166
166
|
- lib/speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb
|
|
167
167
|
- lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb
|
|
168
|
+
- lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_request.rb
|
|
169
|
+
- lib/speakeasy_client_sdk/models/operations/fetchpublishingprs_response.rb
|
|
168
170
|
- lib/speakeasy_client_sdk/models/operations/file.rb
|
|
169
171
|
- lib/speakeasy_client_sdk/models/operations/findapiendpoint_request.rb
|
|
170
172
|
- lib/speakeasy_client_sdk/models/operations/findapiendpoint_response.rb
|
|
@@ -231,7 +233,10 @@ files:
|
|
|
231
233
|
- lib/speakeasy_client_sdk/models/operations/getworkspacetargets_response.rb
|
|
232
234
|
- lib/speakeasy_client_sdk/models/operations/githubcheckaccess_request.rb
|
|
233
235
|
- lib/speakeasy_client_sdk/models/operations/githubcheckaccess_response.rb
|
|
236
|
+
- lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_request.rb
|
|
237
|
+
- lib/speakeasy_client_sdk/models/operations/githubcheckpublishingsecrets_response.rb
|
|
234
238
|
- lib/speakeasy_client_sdk/models/operations/githubconfiguretarget_response.rb
|
|
239
|
+
- lib/speakeasy_client_sdk/models/operations/githubstorepublishingsecrets_response.rb
|
|
235
240
|
- lib/speakeasy_client_sdk/models/operations/githubtriggeraction_response.rb
|
|
236
241
|
- lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb
|
|
237
242
|
- lib/speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb
|
|
@@ -294,6 +299,9 @@ files:
|
|
|
294
299
|
- lib/speakeasy_client_sdk/models/shared/getrevisionsresponse.rb
|
|
295
300
|
- lib/speakeasy_client_sdk/models/shared/gettagsresponse.rb
|
|
296
301
|
- lib/speakeasy_client_sdk/models/shared/githubconfiguretargetrequest.rb
|
|
302
|
+
- lib/speakeasy_client_sdk/models/shared/githubmissingpublishingsecretsresponse.rb
|
|
303
|
+
- lib/speakeasy_client_sdk/models/shared/githubpublishingprresponse.rb
|
|
304
|
+
- lib/speakeasy_client_sdk/models/shared/githubstorepublishingsecretsrequest.rb
|
|
297
305
|
- lib/speakeasy_client_sdk/models/shared/githubtriggeractionrequest.rb
|
|
298
306
|
- lib/speakeasy_client_sdk/models/shared/interactiontype.rb
|
|
299
307
|
- lib/speakeasy_client_sdk/models/shared/level.rb
|