speakeasy_client_sdk_ruby 4.1.4 → 4.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_signedaccess.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations.rb +3 -0
- data/lib/speakeasy_client_sdk/models/shared/clievent.rb +50 -2
- data/lib/speakeasy_client_sdk/models/shared/interactiontype.rb +2 -0
- data/lib/speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb +21 -0
- data/lib/speakeasy_client_sdk/models/shared.rb +1 -0
- data/lib/speakeasy_client_sdk/reports.rb +36 -0
- data/lib/speakeasy_client_sdk/sdkconfiguration.rb +3 -3
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53f1b23ef7976ad3187d48b68d001e2cea617d7fbc3f9101b1ec366967aa6d71
|
4
|
+
data.tar.gz: d1b12ab6caeca8e17be15494c3415775f6b5ce3d2bccc9c681406bdef815fa04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0a23272d8e6bf3e0e62600abc3e28eb90fa417db914a1815279d58707e2f28d13a19508bde9ade1d46e1c7ef9d00181096e1fb649b39da970218f879b3042c
|
7
|
+
data.tar.gz: 7a8e43966f192fcd616820f993688e82da83456d70a66590ba012c5a3856ad530b0b31b0ccd32d83d0b6386b978b454200bbb8a0fe91b147e1c6e2ca6755a580
|
@@ -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 GetChangesReportSignedUrlRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The checksum of the document to retrieve the signed access url for.
|
15
|
+
field :document_checksum, ::String, { 'path_param': { 'field_name': 'documentChecksum', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(document_checksum: ::String).void }
|
19
|
+
def initialize(document_checksum: nil)
|
20
|
+
@document_checksum = document_checksum
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
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 GetChangesReportSignedUrlResponse < ::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
|
+
# OK
|
21
|
+
field :signed_access, T.nilable(::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlSignedAccess)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, signed_access: T.nilable(::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlSignedAccess)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, signed_access: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@signed_access = signed_access
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
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
|
+
# OK
|
11
|
+
class GetChangesReportSignedUrlSignedAccess < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :url, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('url') } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(url: ::String).void }
|
19
|
+
def initialize(url: nil)
|
20
|
+
@url = url
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -82,6 +82,9 @@ module SpeakeasyClientSDK
|
|
82
82
|
autoload :QueryEventLogRequest, 'speakeasy_client_sdk/models/operations/queryeventlog_request.rb'
|
83
83
|
autoload :QueryEventLogResponse, 'speakeasy_client_sdk/models/operations/queryeventlog_response.rb'
|
84
84
|
autoload :GetOrganizationsResponse, 'speakeasy_client_sdk/models/operations/getorganizations_response.rb'
|
85
|
+
autoload :GetChangesReportSignedUrlRequest, 'speakeasy_client_sdk/models/operations/getchangesreportsignedurl_request.rb'
|
86
|
+
autoload :GetChangesReportSignedUrlSignedAccess, 'speakeasy_client_sdk/models/operations/getchangesreportsignedurl_signedaccess.rb'
|
87
|
+
autoload :GetChangesReportSignedUrlResponse, 'speakeasy_client_sdk/models/operations/getchangesreportsignedurl_response.rb'
|
85
88
|
autoload :GetLintingReportSignedUrlRequest, 'speakeasy_client_sdk/models/operations/getlintingreportsignedurl_request.rb'
|
86
89
|
autoload :GetLintingReportSignedUrlSignedAccess, 'speakeasy_client_sdk/models/operations/getlintingreportsignedurl_signedaccess.rb'
|
87
90
|
autoload :GetLintingReportSignedUrlResponse, 'speakeasy_client_sdk/models/operations/getlintingreportsignedurl_response.rb'
|
@@ -53,12 +53,18 @@ module SpeakeasyClientSDK
|
|
53
53
|
field :generate_gen_lock_id, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_id') } }
|
54
54
|
# Features post generation
|
55
55
|
field :generate_gen_lock_post_features, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_post_features') } }
|
56
|
+
# Blob digest of the Previous Generation
|
57
|
+
field :generate_gen_lock_pre_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_blob_digest') } }
|
56
58
|
# Checksum of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
|
57
59
|
field :generate_gen_lock_pre_doc_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_doc_checksum') } }
|
58
60
|
# info.Version of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
|
59
61
|
field :generate_gen_lock_pre_doc_version, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_doc_version') } }
|
60
62
|
# Features prior to generation
|
61
63
|
field :generate_gen_lock_pre_features, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_features') } }
|
64
|
+
# Namespace name of the Previous Generation
|
65
|
+
field :generate_gen_lock_pre_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_namespace_name') } }
|
66
|
+
# Revision digest of the Previous Generation
|
67
|
+
field :generate_gen_lock_pre_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_revision_digest') } }
|
62
68
|
# Artifact version for the Previous Generation
|
63
69
|
field :generate_gen_lock_pre_version, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('generate_gen_lock_pre_version') } }
|
64
70
|
# Indicates whether tests were output.
|
@@ -93,12 +99,32 @@ module SpeakeasyClientSDK
|
|
93
99
|
field :git_user_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('git_user_name') } }
|
94
100
|
# Remote hostname.
|
95
101
|
field :hostname, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('hostname') } }
|
102
|
+
# The checksum of the lint report.
|
103
|
+
field :lint_report_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('lint_report_digest') } }
|
104
|
+
# The number of errors in the lint report.
|
105
|
+
field :lint_report_error_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('lint_report_error_count') } }
|
106
|
+
# The number of info messages in the lint report.
|
107
|
+
field :lint_report_info_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('lint_report_info_count') } }
|
108
|
+
# The number of warnings in the lint report.
|
109
|
+
field :lint_report_warning_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('lint_report_warning_count') } }
|
96
110
|
# Timestamp when the event completed, in local time.
|
97
111
|
field :local_completed_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('local_completed_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
98
112
|
# Checksum of the currently Rendered OpenAPI document.
|
99
113
|
field :management_doc_checksum, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('management_doc_checksum') } }
|
100
114
|
# Version taken from info.version field of the Rendered OpenAPI document.
|
101
115
|
field :management_doc_version, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('management_doc_version') } }
|
116
|
+
# The blob digest of the base source.
|
117
|
+
field :openapi_diff_base_source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('openapi_diff_base_source_blob_digest') } }
|
118
|
+
# The namespace name of the base source.
|
119
|
+
field :openapi_diff_base_source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('openapi_diff_base_source_namespace_name') } }
|
120
|
+
# The revision digest of the base source.
|
121
|
+
field :openapi_diff_base_source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('openapi_diff_base_source_revision_digest') } }
|
122
|
+
# The number of breaking changes in the openapi diff report.
|
123
|
+
field :openapi_diff_breaking_changes_count, T.nilable(::Integer), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('openapi_diff_breaking_changes_count') } }
|
124
|
+
# Bump type of the lock file (calculated semver delta, or a custom change (manual release))
|
125
|
+
field :openapi_diff_bump_type, T.nilable(::SpeakeasyClientSDK::Shared::OpenapiDiffBumpType), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('openapi_diff_bump_type'), 'decoder': Utils.enum_from_string(::SpeakeasyClientSDK::Shared::OpenapiDiffBumpType, true) } }
|
126
|
+
# The checksum of the openapi diff report.
|
127
|
+
field :openapi_diff_report_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('openapi_diff_report_digest') } }
|
102
128
|
# Name of the published package.
|
103
129
|
field :publish_package_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('publish_package_name') } }
|
104
130
|
# Name of the registry where the package was published.
|
@@ -111,10 +137,16 @@ module SpeakeasyClientSDK
|
|
111
137
|
field :raw_command, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('raw_command') } }
|
112
138
|
# Label of the git repository.
|
113
139
|
field :repo_label, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('repo_label') } }
|
140
|
+
# The blob digest of the source.
|
141
|
+
field :source_blob_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('source_blob_digest') } }
|
142
|
+
# The namespace name of the source.
|
143
|
+
field :source_namespace_name, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('source_namespace_name') } }
|
144
|
+
# The revision digest of the source.
|
145
|
+
field :source_revision_digest, T.nilable(::String), { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('source_revision_digest') } }
|
114
146
|
|
115
147
|
|
116
|
-
sig { params(created_at: ::DateTime, execution_id: ::String, id: ::String, interaction_type: ::SpeakeasyClientSDK::Shared::InteractionType, local_started_at: ::DateTime, speakeasy_api_key_name: ::String, speakeasy_version: ::String, success: T::Boolean, workspace_id: ::String, commit_head: T.nilable(::String), continuous_integration_environment: T.nilable(::String), duration_ms: T.nilable(::Integer), generate_bump_type: T.nilable(::SpeakeasyClientSDK::Shared::GenerateBumpType), generate_config_post_checksum: T.nilable(::String), generate_config_post_raw: T.nilable(::String), generate_config_post_version: T.nilable(::String), generate_config_pre_checksum: T.nilable(::String), generate_config_pre_raw: T.nilable(::String), generate_config_pre_version: T.nilable(::String), generate_gen_lock_id: T.nilable(::String), generate_gen_lock_post_features: T.nilable(::String), generate_gen_lock_pre_doc_checksum: T.nilable(::String), generate_gen_lock_pre_doc_version: T.nilable(::String), generate_gen_lock_pre_features: T.nilable(::String), generate_gen_lock_pre_version: T.nilable(::String), generate_output_tests: T.nilable(T::Boolean), generate_published: T.nilable(T::Boolean), generate_repo_url: T.nilable(::String), generate_target: T.nilable(::String), generate_target_version: T.nilable(::String), generate_version: T.nilable(::String), gh_action_organization: T.nilable(::String), gh_action_repository: T.nilable(::String), gh_action_run_link: T.nilable(::String), gh_action_version: T.nilable(::String), git_relative_cwd: T.nilable(::String), git_remote_default_owner: T.nilable(::String), git_remote_default_repo: T.nilable(::String), git_user_email: T.nilable(::String), git_user_name: T.nilable(::String), hostname: T.nilable(::String), local_completed_at: T.nilable(::DateTime), management_doc_checksum: T.nilable(::String), management_doc_version: T.nilable(::String), publish_package_name: T.nilable(::String), publish_package_registry_name: T.nilable(::String), publish_package_url: T.nilable(::String), publish_package_version: T.nilable(::String), raw_command: T.nilable(::String), repo_label: T.nilable(::String)).void }
|
117
|
-
def initialize(created_at: nil, execution_id: nil, id: nil, interaction_type: nil, local_started_at: nil, speakeasy_api_key_name: nil, speakeasy_version: nil, success: nil, workspace_id: nil, commit_head: nil, continuous_integration_environment: nil, duration_ms: nil, generate_bump_type: nil, generate_config_post_checksum: nil, generate_config_post_raw: nil, generate_config_post_version: nil, generate_config_pre_checksum: nil, generate_config_pre_raw: nil, generate_config_pre_version: nil, generate_gen_lock_id: nil, generate_gen_lock_post_features: nil, generate_gen_lock_pre_doc_checksum: nil, generate_gen_lock_pre_doc_version: nil, generate_gen_lock_pre_features: nil, generate_gen_lock_pre_version: nil, generate_output_tests: nil, generate_published: nil, generate_repo_url: nil, generate_target: nil, generate_target_version: nil, generate_version: nil, gh_action_organization: nil, gh_action_repository: nil, gh_action_run_link: nil, gh_action_version: nil, git_relative_cwd: nil, git_remote_default_owner: nil, git_remote_default_repo: nil, git_user_email: nil, git_user_name: nil, hostname: nil, local_completed_at: nil, management_doc_checksum: nil, management_doc_version: nil, publish_package_name: nil, publish_package_registry_name: nil, publish_package_url: nil, publish_package_version: nil, raw_command: nil, repo_label: nil)
|
148
|
+
sig { params(created_at: ::DateTime, execution_id: ::String, id: ::String, interaction_type: ::SpeakeasyClientSDK::Shared::InteractionType, local_started_at: ::DateTime, speakeasy_api_key_name: ::String, speakeasy_version: ::String, success: T::Boolean, workspace_id: ::String, commit_head: T.nilable(::String), continuous_integration_environment: T.nilable(::String), duration_ms: T.nilable(::Integer), generate_bump_type: T.nilable(::SpeakeasyClientSDK::Shared::GenerateBumpType), generate_config_post_checksum: T.nilable(::String), generate_config_post_raw: T.nilable(::String), generate_config_post_version: T.nilable(::String), generate_config_pre_checksum: T.nilable(::String), generate_config_pre_raw: T.nilable(::String), generate_config_pre_version: T.nilable(::String), generate_gen_lock_id: T.nilable(::String), generate_gen_lock_post_features: T.nilable(::String), generate_gen_lock_pre_blob_digest: T.nilable(::String), generate_gen_lock_pre_doc_checksum: T.nilable(::String), generate_gen_lock_pre_doc_version: T.nilable(::String), generate_gen_lock_pre_features: T.nilable(::String), generate_gen_lock_pre_namespace_name: T.nilable(::String), generate_gen_lock_pre_revision_digest: T.nilable(::String), generate_gen_lock_pre_version: T.nilable(::String), generate_output_tests: T.nilable(T::Boolean), generate_published: T.nilable(T::Boolean), generate_repo_url: T.nilable(::String), generate_target: T.nilable(::String), generate_target_version: T.nilable(::String), generate_version: T.nilable(::String), gh_action_organization: T.nilable(::String), gh_action_repository: T.nilable(::String), gh_action_run_link: T.nilable(::String), gh_action_version: T.nilable(::String), git_relative_cwd: T.nilable(::String), git_remote_default_owner: T.nilable(::String), git_remote_default_repo: T.nilable(::String), git_user_email: T.nilable(::String), git_user_name: T.nilable(::String), hostname: T.nilable(::String), lint_report_digest: T.nilable(::String), lint_report_error_count: T.nilable(::Integer), lint_report_info_count: T.nilable(::Integer), lint_report_warning_count: T.nilable(::Integer), local_completed_at: T.nilable(::DateTime), management_doc_checksum: T.nilable(::String), management_doc_version: T.nilable(::String), openapi_diff_base_source_blob_digest: T.nilable(::String), openapi_diff_base_source_namespace_name: T.nilable(::String), openapi_diff_base_source_revision_digest: T.nilable(::String), openapi_diff_breaking_changes_count: T.nilable(::Integer), openapi_diff_bump_type: T.nilable(::SpeakeasyClientSDK::Shared::OpenapiDiffBumpType), openapi_diff_report_digest: T.nilable(::String), publish_package_name: T.nilable(::String), publish_package_registry_name: T.nilable(::String), publish_package_url: T.nilable(::String), publish_package_version: T.nilable(::String), raw_command: T.nilable(::String), repo_label: T.nilable(::String), source_blob_digest: T.nilable(::String), source_namespace_name: T.nilable(::String), source_revision_digest: T.nilable(::String)).void }
|
149
|
+
def initialize(created_at: nil, execution_id: nil, id: nil, interaction_type: nil, local_started_at: nil, speakeasy_api_key_name: nil, speakeasy_version: nil, success: nil, workspace_id: nil, commit_head: nil, continuous_integration_environment: nil, duration_ms: nil, generate_bump_type: nil, generate_config_post_checksum: nil, generate_config_post_raw: nil, generate_config_post_version: nil, generate_config_pre_checksum: nil, generate_config_pre_raw: nil, generate_config_pre_version: nil, generate_gen_lock_id: nil, generate_gen_lock_post_features: nil, generate_gen_lock_pre_blob_digest: nil, generate_gen_lock_pre_doc_checksum: nil, generate_gen_lock_pre_doc_version: nil, generate_gen_lock_pre_features: nil, generate_gen_lock_pre_namespace_name: nil, generate_gen_lock_pre_revision_digest: nil, generate_gen_lock_pre_version: nil, generate_output_tests: nil, generate_published: nil, generate_repo_url: nil, generate_target: nil, generate_target_version: nil, generate_version: nil, gh_action_organization: nil, gh_action_repository: nil, gh_action_run_link: nil, gh_action_version: nil, git_relative_cwd: nil, git_remote_default_owner: nil, git_remote_default_repo: nil, git_user_email: nil, git_user_name: nil, hostname: nil, lint_report_digest: nil, lint_report_error_count: nil, lint_report_info_count: nil, lint_report_warning_count: nil, local_completed_at: nil, management_doc_checksum: nil, management_doc_version: nil, openapi_diff_base_source_blob_digest: nil, openapi_diff_base_source_namespace_name: nil, openapi_diff_base_source_revision_digest: nil, openapi_diff_breaking_changes_count: nil, openapi_diff_bump_type: nil, openapi_diff_report_digest: nil, publish_package_name: nil, publish_package_registry_name: nil, publish_package_url: nil, publish_package_version: nil, raw_command: nil, repo_label: nil, source_blob_digest: nil, source_namespace_name: nil, source_revision_digest: nil)
|
118
150
|
@created_at = created_at
|
119
151
|
@execution_id = execution_id
|
120
152
|
@id = id
|
@@ -136,9 +168,12 @@ module SpeakeasyClientSDK
|
|
136
168
|
@generate_config_pre_version = generate_config_pre_version
|
137
169
|
@generate_gen_lock_id = generate_gen_lock_id
|
138
170
|
@generate_gen_lock_post_features = generate_gen_lock_post_features
|
171
|
+
@generate_gen_lock_pre_blob_digest = generate_gen_lock_pre_blob_digest
|
139
172
|
@generate_gen_lock_pre_doc_checksum = generate_gen_lock_pre_doc_checksum
|
140
173
|
@generate_gen_lock_pre_doc_version = generate_gen_lock_pre_doc_version
|
141
174
|
@generate_gen_lock_pre_features = generate_gen_lock_pre_features
|
175
|
+
@generate_gen_lock_pre_namespace_name = generate_gen_lock_pre_namespace_name
|
176
|
+
@generate_gen_lock_pre_revision_digest = generate_gen_lock_pre_revision_digest
|
142
177
|
@generate_gen_lock_pre_version = generate_gen_lock_pre_version
|
143
178
|
@generate_output_tests = generate_output_tests
|
144
179
|
@generate_published = generate_published
|
@@ -156,15 +191,28 @@ module SpeakeasyClientSDK
|
|
156
191
|
@git_user_email = git_user_email
|
157
192
|
@git_user_name = git_user_name
|
158
193
|
@hostname = hostname
|
194
|
+
@lint_report_digest = lint_report_digest
|
195
|
+
@lint_report_error_count = lint_report_error_count
|
196
|
+
@lint_report_info_count = lint_report_info_count
|
197
|
+
@lint_report_warning_count = lint_report_warning_count
|
159
198
|
@local_completed_at = local_completed_at
|
160
199
|
@management_doc_checksum = management_doc_checksum
|
161
200
|
@management_doc_version = management_doc_version
|
201
|
+
@openapi_diff_base_source_blob_digest = openapi_diff_base_source_blob_digest
|
202
|
+
@openapi_diff_base_source_namespace_name = openapi_diff_base_source_namespace_name
|
203
|
+
@openapi_diff_base_source_revision_digest = openapi_diff_base_source_revision_digest
|
204
|
+
@openapi_diff_breaking_changes_count = openapi_diff_breaking_changes_count
|
205
|
+
@openapi_diff_bump_type = openapi_diff_bump_type
|
206
|
+
@openapi_diff_report_digest = openapi_diff_report_digest
|
162
207
|
@publish_package_name = publish_package_name
|
163
208
|
@publish_package_registry_name = publish_package_registry_name
|
164
209
|
@publish_package_url = publish_package_url
|
165
210
|
@publish_package_version = publish_package_version
|
166
211
|
@raw_command = raw_command
|
167
212
|
@repo_label = repo_label
|
213
|
+
@source_blob_digest = source_blob_digest
|
214
|
+
@source_namespace_name = source_namespace_name
|
215
|
+
@source_revision_digest = source_revision_digest
|
168
216
|
end
|
169
217
|
end
|
170
218
|
end
|
@@ -12,6 +12,8 @@ module SpeakeasyClientSDK
|
|
12
12
|
enums do
|
13
13
|
CI_EXEC = new('CI_EXEC')
|
14
14
|
CLI_EXEC = new('CLI_EXEC')
|
15
|
+
LINT = new('LINT')
|
16
|
+
OPENAPI_DIFF = new('OPENAPI_DIFF')
|
15
17
|
TARGET_GENERATE = new('TARGET_GENERATE')
|
16
18
|
TOMBSTONE = new('TOMBSTONE')
|
17
19
|
AUTHENTICATE = new('AUTHENTICATE')
|
@@ -0,0 +1,21 @@
|
|
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
|
+
# OpenapiDiffBumpType - Bump type of the lock file (calculated semver delta, or a custom change (manual release))
|
11
|
+
class OpenapiDiffBumpType < T::Enum
|
12
|
+
enums do
|
13
|
+
MAJOR = new('major')
|
14
|
+
MINOR = new('minor')
|
15
|
+
PATCH = new('patch')
|
16
|
+
NONE = new('none')
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
21
|
+
end
|
@@ -50,6 +50,7 @@ module SpeakeasyClientSDK
|
|
50
50
|
autoload :EmbedAccessTokenResponse, 'speakeasy_client_sdk/models/shared/embedaccesstokenresponse.rb'
|
51
51
|
autoload :EmbedToken, 'speakeasy_client_sdk/models/shared/embedtoken.rb'
|
52
52
|
autoload :GenerateBumpType, 'speakeasy_client_sdk/models/shared/generate_bump_type.rb'
|
53
|
+
autoload :OpenapiDiffBumpType, 'speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb'
|
53
54
|
autoload :CliEvent, 'speakeasy_client_sdk/models/shared/clievent.rb'
|
54
55
|
autoload :InteractionType, 'speakeasy_client_sdk/models/shared/interactiontype.rb'
|
55
56
|
autoload :TargetSDK, 'speakeasy_client_sdk/models/shared/targetsdk.rb'
|
@@ -19,6 +19,42 @@ module SpeakeasyClientSDK
|
|
19
19
|
end
|
20
20
|
|
21
21
|
|
22
|
+
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlRequest)).returns(::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlResponse) }
|
23
|
+
def get_changes_report_signed_url(request)
|
24
|
+
# get_changes_report_signed_url - Get the signed access url for the change reports for a particular document.
|
25
|
+
url, params = @sdk_configuration.get_server_details
|
26
|
+
base_url = Utils.template_url(url, params)
|
27
|
+
url = Utils.generate_url(
|
28
|
+
::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlRequest,
|
29
|
+
base_url,
|
30
|
+
'/v1/reports/changes/{documentChecksum}',
|
31
|
+
request,
|
32
|
+
@sdk_configuration.globals
|
33
|
+
)
|
34
|
+
headers = {}
|
35
|
+
headers['Accept'] = 'application/json'
|
36
|
+
headers['user-agent'] = @sdk_configuration.user_agent
|
37
|
+
|
38
|
+
r = @sdk_configuration.client.get(url) do |req|
|
39
|
+
req.headers = headers
|
40
|
+
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
41
|
+
end
|
42
|
+
|
43
|
+
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
44
|
+
|
45
|
+
res = ::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlResponse.new(
|
46
|
+
status_code: r.status, content_type: content_type, raw_response: r
|
47
|
+
)
|
48
|
+
if r.status == 200
|
49
|
+
if Utils.match_content_type(content_type, 'application/json')
|
50
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::SpeakeasyClientSDK::Operations::GetChangesReportSignedUrlSignedAccess)
|
51
|
+
res.signed_access = out
|
52
|
+
end
|
53
|
+
end
|
54
|
+
res
|
55
|
+
end
|
56
|
+
|
57
|
+
|
22
58
|
sig { params(request: T.nilable(::SpeakeasyClientSDK::Operations::GetLintingReportSignedUrlRequest)).returns(::SpeakeasyClientSDK::Operations::GetLintingReportSignedUrlResponse) }
|
23
59
|
def get_linting_report_signed_url(request)
|
24
60
|
# get_linting_report_signed_url - Get the signed access url for the linting reports for a particular document.
|
@@ -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.1.
|
45
|
-
@gen_version = '2.
|
46
|
-
@user_agent = 'speakeasy-sdk/ruby 4.1.
|
44
|
+
@sdk_version = '4.1.6'
|
45
|
+
@gen_version = '2.311.1'
|
46
|
+
@user_agent = 'speakeasy-sdk/ruby 4.1.6 2.311.1 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.1.
|
4
|
+
version: 4.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Speakeasy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -189,6 +189,9 @@ files:
|
|
189
189
|
- lib/speakeasy_client_sdk/models/operations/getapis_response.rb
|
190
190
|
- lib/speakeasy_client_sdk/models/operations/getblob_request.rb
|
191
191
|
- lib/speakeasy_client_sdk/models/operations/getblob_response.rb
|
192
|
+
- lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_request.rb
|
193
|
+
- lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_response.rb
|
194
|
+
- lib/speakeasy_client_sdk/models/operations/getchangesreportsignedurl_signedaccess.rb
|
192
195
|
- lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb
|
193
196
|
- lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb
|
194
197
|
- lib/speakeasy_client_sdk/models/operations/getlintingreportsignedurl_request.rb
|
@@ -275,6 +278,7 @@ files:
|
|
275
278
|
- lib/speakeasy_client_sdk/models/shared/level.rb
|
276
279
|
- lib/speakeasy_client_sdk/models/shared/manifest.rb
|
277
280
|
- lib/speakeasy_client_sdk/models/shared/namespace.rb
|
281
|
+
- lib/speakeasy_client_sdk/models/shared/openapi_diff_bump_type.rb
|
278
282
|
- lib/speakeasy_client_sdk/models/shared/organization.rb
|
279
283
|
- lib/speakeasy_client_sdk/models/shared/organization_account_type.rb
|
280
284
|
- lib/speakeasy_client_sdk/models/shared/preflightrequest.rb
|