speakeasy_client_sdk_ruby 2.2.3 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/{sdk → speakeasy_client_sdk}/apiendpoints.rb +66 -49
- data/lib/{sdk → speakeasy_client_sdk}/apis.rb +49 -37
- data/lib/speakeasy_client_sdk/auth.rb +57 -0
- data/lib/{sdk → speakeasy_client_sdk}/embeds.rb +20 -15
- data/lib/speakeasy_client_sdk/events.rb +63 -0
- data/lib/{sdk → speakeasy_client_sdk}/metadata.rb +26 -19
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteapi_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteschema_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +39 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +39 -0
- data/lib/speakeasy_client_sdk/models/operations/file.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getallapiversions_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getapis_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getapis_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschema_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getschema_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemadiff_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemarevision_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/getschemas_request.rb +27 -0
- data/lib/{sdk/models/operations/getplugins.rb → speakeasy_client_sdk/models/operations/getschemas_response.rb} +8 -10
- data/lib/{sdk/models/operations/getvalidembedaccesstokens.rb → speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb} +9 -11
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/op.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/postworkspaceevents_response.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/queryeventlog_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/queryparam_op.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/registerschema_request.rb +30 -0
- data/lib/speakeasy_client_sdk/models/operations/registerschema_requestbody.rb +24 -0
- data/lib/{sdk/models/operations/validateapikey.rb → speakeasy_client_sdk/models/operations/registerschema_response.rb} +7 -9
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb +24 -0
- data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_request.rb +27 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapi_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_request.rb +33 -0
- data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations/validateapikey_response.rb +36 -0
- data/lib/speakeasy_client_sdk/models/operations.rb +77 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/api.rb +9 -10
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/api_input.rb +6 -7
- data/lib/speakeasy_client_sdk/models/shared/apiendpoint.rb +54 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/apiendpoint_input.rb +8 -9
- data/lib/speakeasy_client_sdk/models/shared/apikeydetails.rb +24 -0
- data/lib/speakeasy_client_sdk/models/shared/boundedrequest.rb +63 -0
- data/lib/speakeasy_client_sdk/models/shared/clievent.rb +156 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/embedaccesstokenresponse.rb +3 -4
- data/lib/speakeasy_client_sdk/models/shared/embedtoken.rb +51 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/error.rb +4 -5
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/filter.rb +5 -6
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/filters.rb +6 -7
- data/lib/speakeasy_client_sdk/models/shared/generate_bump_type.rb +22 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/generateopenapispecdiff.rb +4 -5
- data/lib/speakeasy_client_sdk/models/shared/interaction_type.rb +19 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/requestmetadata.rb +4 -5
- data/lib/speakeasy_client_sdk/models/shared/schema.rb +39 -0
- data/lib/speakeasy_client_sdk/models/shared/schemadiff.rb +30 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/security.rb +3 -4
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/unboundedrequest.rb +7 -8
- data/lib/speakeasy_client_sdk/models/shared/valuechange.rb +27 -0
- data/lib/speakeasy_client_sdk/models/shared/versionmetadata.rb +39 -0
- data/lib/{sdk → speakeasy_client_sdk}/models/shared/versionmetadata_input.rb +4 -5
- data/lib/speakeasy_client_sdk/models/shared.rb +32 -0
- data/lib/{sdk → speakeasy_client_sdk}/requests.rb +24 -18
- data/lib/{sdk → speakeasy_client_sdk}/schemas.rb +62 -45
- data/lib/{sdk → speakeasy_client_sdk}/sdk.rb +18 -37
- data/lib/{sdk → speakeasy_client_sdk}/sdkconfiguration.rb +11 -8
- data/lib/{sdk → speakeasy_client_sdk}/utils/utils.rb +2 -2
- data/lib/speakeasy_client_sdk_ruby.rb +14 -66
- metadata +107 -67
- data/lib/sdk/models/operations/deleteapi.rb +0 -52
- data/lib/sdk/models/operations/deleteapiendpoint.rb +0 -55
- data/lib/sdk/models/operations/deleteschema.rb +0 -55
- data/lib/sdk/models/operations/deleteversionmetadata.rb +0 -58
- data/lib/sdk/models/operations/downloadschema.rb +0 -58
- data/lib/sdk/models/operations/downloadschemarevision.rb +0 -61
- data/lib/sdk/models/operations/findapiendpoint.rb +0 -59
- data/lib/sdk/models/operations/generateopenapispec.rb +0 -56
- data/lib/sdk/models/operations/generateopenapispecforapiendpoint.rb +0 -59
- data/lib/sdk/models/operations/generatepostmancollection.rb +0 -55
- data/lib/sdk/models/operations/generatepostmancollectionforapiendpoint.rb +0 -58
- data/lib/sdk/models/operations/generaterequestpostmancollection.rb +0 -52
- data/lib/sdk/models/operations/getallapiendpoints.rb +0 -52
- data/lib/sdk/models/operations/getallapiversions.rb +0 -72
- data/lib/sdk/models/operations/getallforversionapiendpoints.rb +0 -55
- data/lib/sdk/models/operations/getapiendpoint.rb +0 -59
- data/lib/sdk/models/operations/getapis.rb +0 -69
- data/lib/sdk/models/operations/getembedaccesstoken.rb +0 -60
- data/lib/sdk/models/operations/getrequestfromeventlog.rb +0 -53
- data/lib/sdk/models/operations/getschema.rb +0 -56
- data/lib/sdk/models/operations/getschemadiff.rb +0 -62
- data/lib/sdk/models/operations/getschemarevision.rb +0 -59
- data/lib/sdk/models/operations/getschemas.rb +0 -55
- data/lib/sdk/models/operations/getversionmetadata.rb +0 -55
- data/lib/sdk/models/operations/insertversionmetadata.rb +0 -59
- data/lib/sdk/models/operations/queryeventlog.rb +0 -53
- data/lib/sdk/models/operations/registerschema.rb +0 -86
- data/lib/sdk/models/operations/revokeembedaccesstoken.rb +0 -49
- data/lib/sdk/models/operations/runplugin.rb +0 -56
- data/lib/sdk/models/operations/upsertapi.rb +0 -56
- data/lib/sdk/models/operations/upsertapiendpoint.rb +0 -62
- data/lib/sdk/models/operations/upsertplugin.rb +0 -39
- data/lib/sdk/models/shared/apiendpoint.rb +0 -55
- data/lib/sdk/models/shared/boundedrequest.rb +0 -64
- data/lib/sdk/models/shared/embedtoken.rb +0 -52
- data/lib/sdk/models/shared/plugin.rb +0 -43
- data/lib/sdk/models/shared/schema.rb +0 -40
- data/lib/sdk/models/shared/schemadiff.rb +0 -48
- data/lib/sdk/models/shared/versionmetadata.rb +0 -40
- data/lib/sdk/plugins.rb +0 -142
- /data/lib/{sdk → speakeasy_client_sdk}/utils/metadata_fields.rb +0 -0
@@ -1,56 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
require_relative '../shared/schema'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class GetSchemaRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# The ID of the Api to get the schema for.
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
19
|
-
# The version ID of the Api to delete metadata for.
|
20
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
21
|
-
|
22
|
-
|
23
|
-
sig { params(api_id: String, version_id: String).void }
|
24
|
-
def initialize(api_id: nil, version_id: nil)
|
25
|
-
@api_id = api_id
|
26
|
-
@version_id = version_id
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
class GetSchemaResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
32
|
-
extend T::Sig
|
33
|
-
|
34
|
-
# HTTP response content type for this operation
|
35
|
-
field :content_type, String
|
36
|
-
# Raw HTTP response; suitable for custom response parsing
|
37
|
-
field :raw_response, Faraday::Response
|
38
|
-
# HTTP response status code for this operation
|
39
|
-
field :status_code, Integer
|
40
|
-
# Default error response
|
41
|
-
field :error, T.nilable(Shared::Error)
|
42
|
-
# OK
|
43
|
-
field :schema, T.nilable(Shared::Schema)
|
44
|
-
|
45
|
-
|
46
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), schema: T.nilable(Shared::Schema)).void }
|
47
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, schema: nil)
|
48
|
-
@content_type = content_type
|
49
|
-
@raw_response = raw_response
|
50
|
-
@status_code = status_code
|
51
|
-
@error = error
|
52
|
-
@schema = schema
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,62 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
require_relative '../shared/schemadiff'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class GetSchemaDiffRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# The ID of the Api to retrieve schemas for.
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
19
|
-
# The base revision ID of the schema to retrieve.
|
20
|
-
field :base_revision_id, String, { 'path_param': { 'field_name': 'baseRevisionID', 'style': 'simple', 'explode': false } }
|
21
|
-
# The target revision ID of the schema to retrieve.
|
22
|
-
field :target_revision_id, String, { 'path_param': { 'field_name': 'targetRevisionID', 'style': 'simple', 'explode': false } }
|
23
|
-
# The version ID of the Api to delete metadata for.
|
24
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
25
|
-
|
26
|
-
|
27
|
-
sig { params(api_id: String, base_revision_id: String, target_revision_id: String, version_id: String).void }
|
28
|
-
def initialize(api_id: nil, base_revision_id: nil, target_revision_id: nil, version_id: nil)
|
29
|
-
@api_id = api_id
|
30
|
-
@base_revision_id = base_revision_id
|
31
|
-
@target_revision_id = target_revision_id
|
32
|
-
@version_id = version_id
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
|
37
|
-
class GetSchemaDiffResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
38
|
-
extend T::Sig
|
39
|
-
|
40
|
-
# HTTP response content type for this operation
|
41
|
-
field :content_type, String
|
42
|
-
# Raw HTTP response; suitable for custom response parsing
|
43
|
-
field :raw_response, Faraday::Response
|
44
|
-
# HTTP response status code for this operation
|
45
|
-
field :status_code, Integer
|
46
|
-
# Default error response
|
47
|
-
field :error, T.nilable(Shared::Error)
|
48
|
-
# OK
|
49
|
-
field :schema_diff, T.nilable(Shared::SchemaDiff)
|
50
|
-
|
51
|
-
|
52
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), schema_diff: T.nilable(Shared::SchemaDiff)).void }
|
53
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, schema_diff: nil)
|
54
|
-
@content_type = content_type
|
55
|
-
@raw_response = raw_response
|
56
|
-
@status_code = status_code
|
57
|
-
@error = error
|
58
|
-
@schema_diff = schema_diff
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
62
|
-
end
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
require_relative '../shared/schema'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class GetSchemaRevisionRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# The ID of the Api to retrieve schemas for.
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
19
|
-
# The revision ID of the schema to retrieve.
|
20
|
-
field :revision_id, String, { 'path_param': { 'field_name': 'revisionID', 'style': 'simple', 'explode': false } }
|
21
|
-
# The version ID of the Api to delete metadata for.
|
22
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(api_id: String, revision_id: String, version_id: String).void }
|
26
|
-
def initialize(api_id: nil, revision_id: nil, version_id: nil)
|
27
|
-
@api_id = api_id
|
28
|
-
@revision_id = revision_id
|
29
|
-
@version_id = version_id
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
|
34
|
-
class GetSchemaRevisionResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
35
|
-
extend T::Sig
|
36
|
-
|
37
|
-
# HTTP response content type for this operation
|
38
|
-
field :content_type, String
|
39
|
-
# Raw HTTP response; suitable for custom response parsing
|
40
|
-
field :raw_response, Faraday::Response
|
41
|
-
# HTTP response status code for this operation
|
42
|
-
field :status_code, Integer
|
43
|
-
# Default error response
|
44
|
-
field :error, T.nilable(Shared::Error)
|
45
|
-
# OK
|
46
|
-
field :schema, T.nilable(Shared::Schema)
|
47
|
-
|
48
|
-
|
49
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), schema: T.nilable(Shared::Schema)).void }
|
50
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, schema: nil)
|
51
|
-
@content_type = content_type
|
52
|
-
@raw_response = raw_response
|
53
|
-
@status_code = status_code
|
54
|
-
@error = error
|
55
|
-
@schema = schema
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
@@ -1,55 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
|
10
|
-
module SpeakeasyClientSDK
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class GetSchemasRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The ID of the Api to retrieve schemas for.
|
17
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
18
|
-
# The version ID of the Api to delete metadata for.
|
19
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(api_id: String, version_id: String).void }
|
23
|
-
def initialize(api_id: nil, version_id: nil)
|
24
|
-
@api_id = api_id
|
25
|
-
@version_id = version_id
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
|
30
|
-
class GetSchemasResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
31
|
-
extend T::Sig
|
32
|
-
|
33
|
-
# HTTP response content type for this operation
|
34
|
-
field :content_type, String
|
35
|
-
# Raw HTTP response; suitable for custom response parsing
|
36
|
-
field :raw_response, Faraday::Response
|
37
|
-
# HTTP response status code for this operation
|
38
|
-
field :status_code, Integer
|
39
|
-
# OK
|
40
|
-
field :classes, T.nilable(T::Array[Shared::Schema])
|
41
|
-
# Default error response
|
42
|
-
field :error, T.nilable(Shared::Error)
|
43
|
-
|
44
|
-
|
45
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::Schema]), error: T.nilable(Shared::Error)).void }
|
46
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
47
|
-
@content_type = content_type
|
48
|
-
@raw_response = raw_response
|
49
|
-
@status_code = status_code
|
50
|
-
@classes = classes
|
51
|
-
@error = error
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
@@ -1,55 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
|
10
|
-
module SpeakeasyClientSDK
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class GetVersionMetadataRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The ID of the Api to retrieve metadata for.
|
17
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
18
|
-
# The version ID of the Api to retrieve metadata for.
|
19
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(api_id: String, version_id: String).void }
|
23
|
-
def initialize(api_id: nil, version_id: nil)
|
24
|
-
@api_id = api_id
|
25
|
-
@version_id = version_id
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
|
30
|
-
class GetVersionMetadataResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
31
|
-
extend T::Sig
|
32
|
-
|
33
|
-
# HTTP response content type for this operation
|
34
|
-
field :content_type, String
|
35
|
-
# Raw HTTP response; suitable for custom response parsing
|
36
|
-
field :raw_response, Faraday::Response
|
37
|
-
# HTTP response status code for this operation
|
38
|
-
field :status_code, Integer
|
39
|
-
# OK
|
40
|
-
field :classes, T.nilable(T::Array[Shared::VersionMetadata])
|
41
|
-
# Default error response
|
42
|
-
field :error, T.nilable(Shared::Error)
|
43
|
-
|
44
|
-
|
45
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::VersionMetadata]), error: T.nilable(Shared::Error)).void }
|
46
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
47
|
-
@content_type = content_type
|
48
|
-
@raw_response = raw_response
|
49
|
-
@status_code = status_code
|
50
|
-
@classes = classes
|
51
|
-
@error = error
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/versionmetadata'
|
9
|
-
require_relative '../shared/error'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class InsertVersionMetadataRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# The ID of the Api to insert metadata for.
|
18
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
19
|
-
# The version ID of the Api to insert metadata for.
|
20
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
21
|
-
# A JSON representation of the metadata to insert.
|
22
|
-
field :version_metadata, Shared::VersionMetadataInput, { 'request': { 'media_type': 'application/json' } }
|
23
|
-
|
24
|
-
|
25
|
-
sig { params(api_id: String, version_id: String, version_metadata: Shared::VersionMetadataInput).void }
|
26
|
-
def initialize(api_id: nil, version_id: nil, version_metadata: nil)
|
27
|
-
@api_id = api_id
|
28
|
-
@version_id = version_id
|
29
|
-
@version_metadata = version_metadata
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
|
34
|
-
class InsertVersionMetadataResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
35
|
-
extend T::Sig
|
36
|
-
|
37
|
-
# HTTP response content type for this operation
|
38
|
-
field :content_type, String
|
39
|
-
# Raw HTTP response; suitable for custom response parsing
|
40
|
-
field :raw_response, Faraday::Response
|
41
|
-
# HTTP response status code for this operation
|
42
|
-
field :status_code, Integer
|
43
|
-
# Default error response
|
44
|
-
field :error, T.nilable(Shared::Error)
|
45
|
-
# OK
|
46
|
-
field :version_metadata, T.nilable(Shared::VersionMetadata)
|
47
|
-
|
48
|
-
|
49
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), version_metadata: T.nilable(Shared::VersionMetadata)).void }
|
50
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, version_metadata: nil)
|
51
|
-
@content_type = content_type
|
52
|
-
@raw_response = raw_response
|
53
|
-
@status_code = status_code
|
54
|
-
@error = error
|
55
|
-
@version_metadata = version_metadata
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
@@ -1,53 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/filters'
|
9
|
-
require_relative '../shared/error'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class QueryEventLogRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# The filter to apply to the query.
|
18
|
-
field :filters, T.nilable(Shared::Filters), { 'query_param': { 'field_name': 'filters', 'serialization': 'json' } }
|
19
|
-
|
20
|
-
|
21
|
-
sig { params(filters: T.nilable(Shared::Filters)).void }
|
22
|
-
def initialize(filters: nil)
|
23
|
-
@filters = filters
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
|
28
|
-
class QueryEventLogResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
29
|
-
extend T::Sig
|
30
|
-
|
31
|
-
# HTTP response content type for this operation
|
32
|
-
field :content_type, String
|
33
|
-
# Raw HTTP response; suitable for custom response parsing
|
34
|
-
field :raw_response, Faraday::Response
|
35
|
-
# HTTP response status code for this operation
|
36
|
-
field :status_code, Integer
|
37
|
-
# OK
|
38
|
-
field :classes, T.nilable(T::Array[Shared::BoundedRequest])
|
39
|
-
# Default error response
|
40
|
-
field :error, T.nilable(Shared::Error)
|
41
|
-
|
42
|
-
|
43
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::BoundedRequest]), error: T.nilable(Shared::Error)).void }
|
44
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
45
|
-
@content_type = content_type
|
46
|
-
@raw_response = raw_response
|
47
|
-
@status_code = status_code
|
48
|
-
@classes = classes
|
49
|
-
@error = error
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|
@@ -1,86 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
|
10
|
-
module SpeakeasyClientSDK
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class File < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
field :content, String, { 'multipart_form': { 'content': true } }
|
18
|
-
|
19
|
-
field :file_name, String, { 'multipart_form': { 'field_name': 'file' } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(content: String, file_name: String).void }
|
23
|
-
def initialize(content: nil, file_name: nil)
|
24
|
-
@content = content
|
25
|
-
@file_name = file_name
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
# The schema file to upload provided as a multipart/form-data file segment.
|
30
|
-
class RegisterSchemaRequestBody < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
31
|
-
extend T::Sig
|
32
|
-
|
33
|
-
|
34
|
-
field :file, Operations::File, { 'multipart_form': { 'file': true } }
|
35
|
-
|
36
|
-
|
37
|
-
sig { params(file: Operations::File).void }
|
38
|
-
def initialize(file: nil)
|
39
|
-
@file = file
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
|
44
|
-
class RegisterSchemaRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
45
|
-
extend T::Sig
|
46
|
-
|
47
|
-
# The ID of the Api to get the schema for.
|
48
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
49
|
-
# The schema file to upload provided as a multipart/form-data file segment.
|
50
|
-
field :request_body, Operations::RegisterSchemaRequestBody, { 'request': { 'media_type': 'multipart/form-data' } }
|
51
|
-
# The version ID of the Api to delete metadata for.
|
52
|
-
field :version_id, String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
|
53
|
-
|
54
|
-
|
55
|
-
sig { params(api_id: String, request_body: Operations::RegisterSchemaRequestBody, version_id: String).void }
|
56
|
-
def initialize(api_id: nil, request_body: nil, version_id: nil)
|
57
|
-
@api_id = api_id
|
58
|
-
@request_body = request_body
|
59
|
-
@version_id = version_id
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
|
64
|
-
class RegisterSchemaResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
65
|
-
extend T::Sig
|
66
|
-
|
67
|
-
# HTTP response content type for this operation
|
68
|
-
field :content_type, String
|
69
|
-
# Raw HTTP response; suitable for custom response parsing
|
70
|
-
field :raw_response, Faraday::Response
|
71
|
-
# HTTP response status code for this operation
|
72
|
-
field :status_code, Integer
|
73
|
-
# Default error response
|
74
|
-
field :error, T.nilable(Shared::Error)
|
75
|
-
|
76
|
-
|
77
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
|
78
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
79
|
-
@content_type = content_type
|
80
|
-
@raw_response = raw_response
|
81
|
-
@status_code = status_code
|
82
|
-
@error = error
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
86
|
-
end
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/error'
|
9
|
-
|
10
|
-
module SpeakeasyClientSDK
|
11
|
-
module Operations
|
12
|
-
|
13
|
-
class RevokeEmbedAccessTokenRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
# The ID of the EmbedToken to revoke.
|
17
|
-
field :token_id, String, { 'path_param': { 'field_name': 'tokenID', 'style': 'simple', 'explode': false } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(token_id: String).void }
|
21
|
-
def initialize(token_id: nil)
|
22
|
-
@token_id = token_id
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
|
27
|
-
class RevokeEmbedAccessTokenResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
28
|
-
extend T::Sig
|
29
|
-
|
30
|
-
# HTTP response content type for this operation
|
31
|
-
field :content_type, String
|
32
|
-
# Raw HTTP response; suitable for custom response parsing
|
33
|
-
field :raw_response, Faraday::Response
|
34
|
-
# HTTP response status code for this operation
|
35
|
-
field :status_code, Integer
|
36
|
-
# Default error response
|
37
|
-
field :error, T.nilable(Shared::Error)
|
38
|
-
|
39
|
-
|
40
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
|
41
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
|
42
|
-
@content_type = content_type
|
43
|
-
@raw_response = raw_response
|
44
|
-
@status_code = status_code
|
45
|
-
@error = error
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/filters'
|
9
|
-
require_relative '../shared/error'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class RunPluginRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# The ID of the plugin to run.
|
18
|
-
field :plugin_id, String, { 'path_param': { 'field_name': 'pluginID', 'style': 'simple', 'explode': false } }
|
19
|
-
# The filter to apply to the query.
|
20
|
-
field :filters, T.nilable(Shared::Filters), { 'query_param': { 'field_name': 'filters', 'serialization': 'json' } }
|
21
|
-
|
22
|
-
|
23
|
-
sig { params(plugin_id: String, filters: T.nilable(Shared::Filters)).void }
|
24
|
-
def initialize(plugin_id: nil, filters: nil)
|
25
|
-
@plugin_id = plugin_id
|
26
|
-
@filters = filters
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
class RunPluginResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
32
|
-
extend T::Sig
|
33
|
-
|
34
|
-
# HTTP response content type for this operation
|
35
|
-
field :content_type, String
|
36
|
-
# Raw HTTP response; suitable for custom response parsing
|
37
|
-
field :raw_response, Faraday::Response
|
38
|
-
# HTTP response status code for this operation
|
39
|
-
field :status_code, Integer
|
40
|
-
# OK
|
41
|
-
field :classes, T.nilable(T::Array[Shared::BoundedRequest])
|
42
|
-
# Default error response
|
43
|
-
field :error, T.nilable(Shared::Error)
|
44
|
-
|
45
|
-
|
46
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, classes: T.nilable(T::Array[Shared::BoundedRequest]), error: T.nilable(Shared::Error)).void }
|
47
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
|
48
|
-
@content_type = content_type
|
49
|
-
@raw_response = raw_response
|
50
|
-
@status_code = status_code
|
51
|
-
@classes = classes
|
52
|
-
@error = error
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/api'
|
9
|
-
require_relative '../shared/error'
|
10
|
-
|
11
|
-
module SpeakeasyClientSDK
|
12
|
-
module Operations
|
13
|
-
|
14
|
-
class UpsertApiRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
15
|
-
extend T::Sig
|
16
|
-
|
17
|
-
# A JSON representation of the Api to upsert
|
18
|
-
field :api, Shared::ApiInput, { 'request': { 'media_type': 'application/json' } }
|
19
|
-
# The ID of the Api to upsert.
|
20
|
-
field :api_id, String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
|
21
|
-
|
22
|
-
|
23
|
-
sig { params(api: Shared::ApiInput, api_id: String).void }
|
24
|
-
def initialize(api: nil, api_id: nil)
|
25
|
-
@api = api
|
26
|
-
@api_id = api_id
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
class UpsertApiResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
|
32
|
-
extend T::Sig
|
33
|
-
|
34
|
-
# HTTP response content type for this operation
|
35
|
-
field :content_type, String
|
36
|
-
# Raw HTTP response; suitable for custom response parsing
|
37
|
-
field :raw_response, Faraday::Response
|
38
|
-
# HTTP response status code for this operation
|
39
|
-
field :status_code, Integer
|
40
|
-
# OK
|
41
|
-
field :api, T.nilable(Shared::Api)
|
42
|
-
# Default error response
|
43
|
-
field :error, T.nilable(Shared::Error)
|
44
|
-
|
45
|
-
|
46
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, api: T.nilable(Shared::Api), error: T.nilable(Shared::Error)).void }
|
47
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, api: nil, error: nil)
|
48
|
-
@content_type = content_type
|
49
|
-
@raw_response = raw_response
|
50
|
-
@status_code = status_code
|
51
|
-
@api = api
|
52
|
-
@error = error
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|