speakeasy_client_sdk_ruby 2.2.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/lib/{sdk → speakeasy_client_sdk}/apiendpoints.rb +48 -39
  3. data/lib/{sdk → speakeasy_client_sdk}/apis.rb +37 -30
  4. data/lib/{sdk → speakeasy_client_sdk}/embeds.rb +17 -13
  5. data/lib/{sdk → speakeasy_client_sdk}/metadata.rb +19 -15
  6. data/lib/speakeasy_client_sdk/models/operations/deleteapi_request.rb +27 -0
  7. data/lib/speakeasy_client_sdk/models/operations/deleteapi_response.rb +33 -0
  8. data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_request.rb +30 -0
  9. data/lib/speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb +33 -0
  10. data/lib/speakeasy_client_sdk/models/operations/deleteschema_request.rb +30 -0
  11. data/lib/speakeasy_client_sdk/models/operations/deleteschema_response.rb +33 -0
  12. data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_request.rb +33 -0
  13. data/lib/speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb +33 -0
  14. data/lib/speakeasy_client_sdk/models/operations/downloadschema_request.rb +27 -0
  15. data/lib/speakeasy_client_sdk/models/operations/downloadschema_response.rb +39 -0
  16. data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb +30 -0
  17. data/lib/speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb +39 -0
  18. data/lib/speakeasy_client_sdk/models/operations/file.rb +27 -0
  19. data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_request.rb +30 -0
  20. data/lib/speakeasy_client_sdk/models/operations/findapiendpoint_response.rb +36 -0
  21. data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_request.rb +27 -0
  22. data/lib/speakeasy_client_sdk/models/operations/generateopenapispec_response.rb +36 -0
  23. data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_request.rb +30 -0
  24. data/lib/speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_response.rb +36 -0
  25. data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_request.rb +27 -0
  26. data/lib/speakeasy_client_sdk/models/operations/generatepostmancollection_response.rb +36 -0
  27. data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb +30 -0
  28. data/lib/speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb +36 -0
  29. data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_request.rb +24 -0
  30. data/lib/speakeasy_client_sdk/models/operations/generaterequestpostmancollection_response.rb +36 -0
  31. data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_request.rb +24 -0
  32. data/lib/speakeasy_client_sdk/models/operations/getallapiendpoints_response.rb +36 -0
  33. data/lib/speakeasy_client_sdk/models/operations/getallapiversions_request.rb +30 -0
  34. data/lib/speakeasy_client_sdk/models/operations/getallapiversions_response.rb +36 -0
  35. data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_request.rb +27 -0
  36. data/lib/speakeasy_client_sdk/models/operations/getallforversionapiendpoints_response.rb +36 -0
  37. data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_request.rb +30 -0
  38. data/lib/speakeasy_client_sdk/models/operations/getapiendpoint_response.rb +36 -0
  39. data/lib/speakeasy_client_sdk/models/operations/getapis_request.rb +27 -0
  40. data/lib/speakeasy_client_sdk/models/operations/getapis_response.rb +36 -0
  41. data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb +30 -0
  42. data/lib/speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb +36 -0
  43. data/lib/{sdk/models/operations/getplugins.rb → speakeasy_client_sdk/models/operations/getplugins_response.rb} +7 -9
  44. data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb +24 -0
  45. data/lib/speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb +36 -0
  46. data/lib/speakeasy_client_sdk/models/operations/getschema_request.rb +27 -0
  47. data/lib/speakeasy_client_sdk/models/operations/getschema_response.rb +36 -0
  48. data/lib/speakeasy_client_sdk/models/operations/getschemadiff_request.rb +33 -0
  49. data/lib/speakeasy_client_sdk/models/operations/getschemadiff_response.rb +36 -0
  50. data/lib/speakeasy_client_sdk/models/operations/getschemarevision_request.rb +30 -0
  51. data/lib/speakeasy_client_sdk/models/operations/getschemarevision_response.rb +36 -0
  52. data/lib/speakeasy_client_sdk/models/operations/getschemas_request.rb +27 -0
  53. data/lib/speakeasy_client_sdk/models/operations/getschemas_response.rb +36 -0
  54. data/lib/{sdk/models/operations/getvalidembedaccesstokens.rb → speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb} +7 -9
  55. data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_request.rb +27 -0
  56. data/lib/speakeasy_client_sdk/models/operations/getversionmetadata_response.rb +36 -0
  57. data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb +30 -0
  58. data/lib/speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb +36 -0
  59. data/lib/speakeasy_client_sdk/models/operations/op.rb +24 -0
  60. data/lib/speakeasy_client_sdk/models/operations/queryeventlog_request.rb +24 -0
  61. data/lib/speakeasy_client_sdk/models/operations/queryeventlog_response.rb +36 -0
  62. data/lib/speakeasy_client_sdk/models/operations/queryparam_op.rb +24 -0
  63. data/lib/speakeasy_client_sdk/models/operations/registerschema_request.rb +30 -0
  64. data/lib/speakeasy_client_sdk/models/operations/registerschema_requestbody.rb +24 -0
  65. data/lib/speakeasy_client_sdk/models/operations/registerschema_response.rb +33 -0
  66. data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb +24 -0
  67. data/lib/speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb +33 -0
  68. data/lib/speakeasy_client_sdk/models/operations/runplugin_request.rb +27 -0
  69. data/lib/speakeasy_client_sdk/models/operations/runplugin_response.rb +36 -0
  70. data/lib/speakeasy_client_sdk/models/operations/upsertapi_request.rb +27 -0
  71. data/lib/speakeasy_client_sdk/models/operations/upsertapi_response.rb +36 -0
  72. data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_request.rb +33 -0
  73. data/lib/speakeasy_client_sdk/models/operations/upsertapiendpoint_response.rb +36 -0
  74. data/lib/{sdk/models/operations/upsertplugin.rb → speakeasy_client_sdk/models/operations/upsertplugin_response.rb} +7 -10
  75. data/lib/{sdk/models/operations/validateapikey.rb → speakeasy_client_sdk/models/operations/validateapikey_response.rb} +6 -8
  76. data/lib/speakeasy_client_sdk/models/operations.rb +79 -0
  77. data/lib/{sdk → speakeasy_client_sdk}/models/shared/api.rb +9 -10
  78. data/lib/{sdk → speakeasy_client_sdk}/models/shared/api_input.rb +6 -7
  79. data/lib/speakeasy_client_sdk/models/shared/apiendpoint.rb +54 -0
  80. data/lib/{sdk → speakeasy_client_sdk}/models/shared/apiendpoint_input.rb +8 -9
  81. data/lib/speakeasy_client_sdk/models/shared/boundedrequest.rb +63 -0
  82. data/lib/{sdk → speakeasy_client_sdk}/models/shared/embedaccesstokenresponse.rb +3 -4
  83. data/lib/speakeasy_client_sdk/models/shared/embedtoken.rb +51 -0
  84. data/lib/{sdk → speakeasy_client_sdk}/models/shared/error.rb +4 -5
  85. data/lib/{sdk → speakeasy_client_sdk}/models/shared/filter.rb +5 -6
  86. data/lib/{sdk → speakeasy_client_sdk}/models/shared/filters.rb +6 -7
  87. data/lib/{sdk → speakeasy_client_sdk}/models/shared/generateopenapispecdiff.rb +4 -5
  88. data/lib/speakeasy_client_sdk/models/shared/plugin.rb +42 -0
  89. data/lib/{sdk → speakeasy_client_sdk}/models/shared/requestmetadata.rb +4 -5
  90. data/lib/speakeasy_client_sdk/models/shared/schema.rb +39 -0
  91. data/lib/speakeasy_client_sdk/models/shared/schemadiff.rb +30 -0
  92. data/lib/{sdk → speakeasy_client_sdk}/models/shared/security.rb +3 -4
  93. data/lib/{sdk → speakeasy_client_sdk}/models/shared/unboundedrequest.rb +7 -8
  94. data/lib/speakeasy_client_sdk/models/shared/valuechange.rb +27 -0
  95. data/lib/speakeasy_client_sdk/models/shared/versionmetadata.rb +39 -0
  96. data/lib/{sdk → speakeasy_client_sdk}/models/shared/versionmetadata_input.rb +4 -5
  97. data/lib/speakeasy_client_sdk/models/shared.rb +29 -0
  98. data/lib/{sdk → speakeasy_client_sdk}/plugins.rb +18 -14
  99. data/lib/{sdk → speakeasy_client_sdk}/requests.rb +19 -15
  100. data/lib/{sdk → speakeasy_client_sdk}/schemas.rb +46 -37
  101. data/lib/{sdk → speakeasy_client_sdk}/sdk.rb +3 -3
  102. data/lib/{sdk → speakeasy_client_sdk}/sdkconfiguration.rb +5 -5
  103. data/lib/{sdk → speakeasy_client_sdk}/utils/utils.rb +2 -2
  104. data/lib/speakeasy_client_sdk_ruby.rb +13 -66
  105. metadata +105 -67
  106. data/lib/sdk/models/operations/deleteapi.rb +0 -52
  107. data/lib/sdk/models/operations/deleteapiendpoint.rb +0 -55
  108. data/lib/sdk/models/operations/deleteschema.rb +0 -55
  109. data/lib/sdk/models/operations/deleteversionmetadata.rb +0 -58
  110. data/lib/sdk/models/operations/downloadschema.rb +0 -58
  111. data/lib/sdk/models/operations/downloadschemarevision.rb +0 -61
  112. data/lib/sdk/models/operations/findapiendpoint.rb +0 -59
  113. data/lib/sdk/models/operations/generateopenapispec.rb +0 -56
  114. data/lib/sdk/models/operations/generateopenapispecforapiendpoint.rb +0 -59
  115. data/lib/sdk/models/operations/generatepostmancollection.rb +0 -55
  116. data/lib/sdk/models/operations/generatepostmancollectionforapiendpoint.rb +0 -58
  117. data/lib/sdk/models/operations/generaterequestpostmancollection.rb +0 -52
  118. data/lib/sdk/models/operations/getallapiendpoints.rb +0 -52
  119. data/lib/sdk/models/operations/getallapiversions.rb +0 -72
  120. data/lib/sdk/models/operations/getallforversionapiendpoints.rb +0 -55
  121. data/lib/sdk/models/operations/getapiendpoint.rb +0 -59
  122. data/lib/sdk/models/operations/getapis.rb +0 -69
  123. data/lib/sdk/models/operations/getembedaccesstoken.rb +0 -60
  124. data/lib/sdk/models/operations/getrequestfromeventlog.rb +0 -53
  125. data/lib/sdk/models/operations/getschema.rb +0 -56
  126. data/lib/sdk/models/operations/getschemadiff.rb +0 -62
  127. data/lib/sdk/models/operations/getschemarevision.rb +0 -59
  128. data/lib/sdk/models/operations/getschemas.rb +0 -55
  129. data/lib/sdk/models/operations/getversionmetadata.rb +0 -55
  130. data/lib/sdk/models/operations/insertversionmetadata.rb +0 -59
  131. data/lib/sdk/models/operations/queryeventlog.rb +0 -53
  132. data/lib/sdk/models/operations/registerschema.rb +0 -86
  133. data/lib/sdk/models/operations/revokeembedaccesstoken.rb +0 -49
  134. data/lib/sdk/models/operations/runplugin.rb +0 -56
  135. data/lib/sdk/models/operations/upsertapi.rb +0 -56
  136. data/lib/sdk/models/operations/upsertapiendpoint.rb +0 -62
  137. data/lib/sdk/models/shared/apiendpoint.rb +0 -55
  138. data/lib/sdk/models/shared/boundedrequest.rb +0 -64
  139. data/lib/sdk/models/shared/embedtoken.rb +0 -52
  140. data/lib/sdk/models/shared/plugin.rb +0 -43
  141. data/lib/sdk/models/shared/schema.rb +0 -40
  142. data/lib/sdk/models/shared/schemadiff.rb +0 -48
  143. data/lib/sdk/models/shared/versionmetadata.rb +0 -40
  144. /data/lib/{sdk → speakeasy_client_sdk}/utils/metadata_fields.rb +0 -0
@@ -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 InsertVersionMetadataResponse < ::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 :version_metadata, T.nilable(::SpeakeasyClientSDK::Shared::VersionMetadata)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error), version_metadata: T.nilable(::SpeakeasyClientSDK::Shared::VersionMetadata)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, version_metadata: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @error = error
32
+ @version_metadata = version_metadata
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
+ # Configuration for filter operations
11
+ class Op < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Whether to AND or OR the filters
15
+ field :and_, T::Boolean, { 'query_param': { 'field_name': 'and' } }
16
+
17
+
18
+ sig { params(and_: T::Boolean).void }
19
+ def initialize(and_: nil)
20
+ @and_ = and_
21
+ end
22
+ end
23
+ end
24
+ 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 QueryEventLogRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The filter to apply to the query.
15
+ field :filters, T.nilable(::SpeakeasyClientSDK::Shared::Filters), { 'query_param': { 'field_name': 'filters', 'serialization': 'json' } }
16
+
17
+
18
+ sig { params(filters: T.nilable(::SpeakeasyClientSDK::Shared::Filters)).void }
19
+ def initialize(filters: nil)
20
+ @filters = filters
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 QueryEventLogResponse < ::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 :classes, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::BoundedRequest])
22
+ # Default error response
23
+ field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, classes: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::BoundedRequest]), error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @classes = classes
32
+ @error = error
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
+ # Configuration for filter operations
11
+ class QueryParamOp < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # Whether to AND or OR the filters
15
+ field :and_, T::Boolean, { 'query_param': { 'field_name': 'and' } }
16
+
17
+
18
+ sig { params(and_: T::Boolean).void }
19
+ def initialize(and_: nil)
20
+ @and_ = and_
21
+ end
22
+ end
23
+ end
24
+ end
@@ -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 RegisterSchemaRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The ID of the Api to get the schema for.
15
+ field :api_id, ::String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
16
+ # The schema file to upload provided as a multipart/form-data file segment.
17
+ field :request_body, ::SpeakeasyClientSDK::Operations::RegisterSchemaRequestBody, { 'request': { 'media_type': 'multipart/form-data' } }
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, request_body: ::SpeakeasyClientSDK::Operations::RegisterSchemaRequestBody, version_id: ::String).void }
23
+ def initialize(api_id: nil, request_body: nil, version_id: nil)
24
+ @api_id = api_id
25
+ @request_body = request_body
26
+ @version_id = version_id
27
+ end
28
+ end
29
+ end
30
+ 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
+ # The schema file to upload provided as a multipart/form-data file segment.
11
+ class RegisterSchemaRequestBody < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+
15
+ field :file, ::SpeakeasyClientSDK::Operations::File, { 'multipart_form': { 'file': true } }
16
+
17
+
18
+ sig { params(file: ::SpeakeasyClientSDK::Operations::File).void }
19
+ def initialize(file: nil)
20
+ @file = file
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 RegisterSchemaResponse < ::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
@@ -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 RevokeEmbedAccessTokenRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The ID of the EmbedToken to revoke.
15
+ field :token_id, ::String, { 'path_param': { 'field_name': 'tokenID', 'style': 'simple', 'explode': false } }
16
+
17
+
18
+ sig { params(token_id: ::String).void }
19
+ def initialize(token_id: nil)
20
+ @token_id = token_id
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 RevokeEmbedAccessTokenResponse < ::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
@@ -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 Operations
9
+
10
+
11
+ class RunPluginRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # The ID of the plugin to run.
15
+ field :plugin_id, ::String, { 'path_param': { 'field_name': 'pluginID', 'style': 'simple', 'explode': false } }
16
+ # The filter to apply to the query.
17
+ field :filters, T.nilable(::SpeakeasyClientSDK::Shared::Filters), { 'query_param': { 'field_name': 'filters', 'serialization': 'json' } }
18
+
19
+
20
+ sig { params(plugin_id: ::String, filters: T.nilable(::SpeakeasyClientSDK::Shared::Filters)).void }
21
+ def initialize(plugin_id: nil, filters: nil)
22
+ @plugin_id = plugin_id
23
+ @filters = filters
24
+ end
25
+ end
26
+ end
27
+ 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 RunPluginResponse < ::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 :classes, T.nilable(T::Array[::SpeakeasyClientSDK::Shared::BoundedRequest])
22
+ # Default error response
23
+ field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, classes: T.nilable(T::Array[::SpeakeasyClientSDK::Shared::BoundedRequest]), error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, classes: nil, error: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @classes = classes
32
+ @error = error
33
+ end
34
+ end
35
+ end
36
+ 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 Operations
9
+
10
+
11
+ class UpsertApiRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # A JSON representation of the Api to upsert
15
+ field :api, ::SpeakeasyClientSDK::Shared::ApiInput, { 'request': { 'media_type': 'application/json' } }
16
+ # The ID of the Api to upsert.
17
+ field :api_id, ::String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
18
+
19
+
20
+ sig { params(api: ::SpeakeasyClientSDK::Shared::ApiInput, api_id: ::String).void }
21
+ def initialize(api: nil, api_id: nil)
22
+ @api = api
23
+ @api_id = api_id
24
+ end
25
+ end
26
+ end
27
+ 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 UpsertApiResponse < ::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 :api, T.nilable(::SpeakeasyClientSDK::Shared::Api)
22
+ # Default error response
23
+ field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, api: T.nilable(::SpeakeasyClientSDK::Shared::Api), error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, api: nil, error: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @api = api
32
+ @error = error
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 UpsertApiEndpointRequest < ::SpeakeasyClientSDK::Utils::FieldAugmented
12
+ extend T::Sig
13
+
14
+ # A JSON representation of the ApiEndpoint to upsert.
15
+ field :api_endpoint, ::SpeakeasyClientSDK::Shared::ApiEndpointInput, { 'request': { 'media_type': 'application/json' } }
16
+ # The ID of the ApiEndpoint to upsert.
17
+ field :api_endpoint_id, ::String, { 'path_param': { 'field_name': 'apiEndpointID', 'style': 'simple', 'explode': false } }
18
+ # The ID of the Api the ApiEndpoint belongs to.
19
+ field :api_id, ::String, { 'path_param': { 'field_name': 'apiID', 'style': 'simple', 'explode': false } }
20
+ # The version ID of the Api the ApiEndpoint belongs to.
21
+ field :version_id, ::String, { 'path_param': { 'field_name': 'versionID', 'style': 'simple', 'explode': false } }
22
+
23
+
24
+ sig { params(api_endpoint: ::SpeakeasyClientSDK::Shared::ApiEndpointInput, api_endpoint_id: ::String, api_id: ::String, version_id: ::String).void }
25
+ def initialize(api_endpoint: nil, api_endpoint_id: nil, api_id: nil, version_id: nil)
26
+ @api_endpoint = api_endpoint
27
+ @api_endpoint_id = api_endpoint_id
28
+ @api_id = api_id
29
+ @version_id = version_id
30
+ end
31
+ end
32
+ end
33
+ 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 UpsertApiEndpointResponse < ::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 :api_endpoint, T.nilable(::SpeakeasyClientSDK::Shared::ApiEndpoint)
22
+ # Default error response
23
+ field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
24
+
25
+
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, api_endpoint: T.nilable(::SpeakeasyClientSDK::Shared::ApiEndpoint), error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
27
+ def initialize(content_type: nil, raw_response: nil, status_code: nil, api_endpoint: nil, error: nil)
28
+ @content_type = content_type
29
+ @raw_response = raw_response
30
+ @status_code = status_code
31
+ @api_endpoint = api_endpoint
32
+ @error = error
33
+ end
34
+ end
35
+ end
36
+ end
@@ -3,30 +3,27 @@
3
3
  # typed: true
4
4
  # frozen_string_literal: true
5
5
 
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/error'
9
- require_relative '../shared/plugin'
10
6
 
11
7
  module SpeakeasyClientSDK
12
8
  module Operations
9
+
13
10
 
14
11
  class UpsertPluginResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
15
12
  extend T::Sig
16
13
 
17
14
  # HTTP response content type for this operation
18
- field :content_type, String
15
+ field :content_type, ::String
19
16
  # Raw HTTP response; suitable for custom response parsing
20
- field :raw_response, Faraday::Response
17
+ field :raw_response, ::Faraday::Response
21
18
  # HTTP response status code for this operation
22
- field :status_code, Integer
19
+ field :status_code, ::Integer
23
20
  # Default error response
24
- field :error, T.nilable(Shared::Error)
21
+ field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
25
22
  # OK
26
- field :plugin, T.nilable(Shared::Plugin)
23
+ field :plugin, T.nilable(::SpeakeasyClientSDK::Shared::Plugin)
27
24
 
28
25
 
29
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error), plugin: T.nilable(Shared::Plugin)).void }
26
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error), plugin: T.nilable(::SpeakeasyClientSDK::Shared::Plugin)).void }
30
27
  def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil, plugin: nil)
31
28
  @content_type = content_type
32
29
  @raw_response = raw_response
@@ -3,27 +3,25 @@
3
3
  # typed: true
4
4
  # frozen_string_literal: true
5
5
 
6
- require 'sorbet-runtime'
7
- require 'faraday'
8
- require_relative '../shared/error'
9
6
 
10
7
  module SpeakeasyClientSDK
11
8
  module Operations
9
+
12
10
 
13
11
  class ValidateApiKeyResponse < ::SpeakeasyClientSDK::Utils::FieldAugmented
14
12
  extend T::Sig
15
13
 
16
14
  # HTTP response content type for this operation
17
- field :content_type, String
15
+ field :content_type, ::String
18
16
  # Raw HTTP response; suitable for custom response parsing
19
- field :raw_response, Faraday::Response
17
+ field :raw_response, ::Faraday::Response
20
18
  # HTTP response status code for this operation
21
- field :status_code, Integer
19
+ field :status_code, ::Integer
22
20
  # Default error response
23
- field :error, T.nilable(Shared::Error)
21
+ field :error, T.nilable(::SpeakeasyClientSDK::Shared::Error)
24
22
 
25
23
 
26
- sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, error: T.nilable(Shared::Error)).void }
24
+ sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, error: T.nilable(::SpeakeasyClientSDK::Shared::Error)).void }
27
25
  def initialize(content_type: nil, raw_response: nil, status_code: nil, error: nil)
28
26
  @content_type = content_type
29
27
  @raw_response = raw_response
@@ -0,0 +1,79 @@
1
+ # Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+ module SpeakeasyClientSDK
7
+ module Operations
8
+ autoload :ValidateApiKeyResponse, 'speakeasy_client_sdk/models/operations/validateapikey_response.rb'
9
+ autoload :DeleteApiRequest, 'speakeasy_client_sdk/models/operations/deleteapi_request.rb'
10
+ autoload :DeleteApiResponse, 'speakeasy_client_sdk/models/operations/deleteapi_response.rb'
11
+ autoload :GenerateOpenApiSpecRequest, 'speakeasy_client_sdk/models/operations/generateopenapispec_request.rb'
12
+ autoload :GenerateOpenApiSpecResponse, 'speakeasy_client_sdk/models/operations/generateopenapispec_response.rb'
13
+ autoload :GeneratePostmanCollectionRequest, 'speakeasy_client_sdk/models/operations/generatepostmancollection_request.rb'
14
+ autoload :GeneratePostmanCollectionResponse, 'speakeasy_client_sdk/models/operations/generatepostmancollection_response.rb'
15
+ autoload :Op, 'speakeasy_client_sdk/models/operations/op.rb'
16
+ autoload :GetAllApiVersionsRequest, 'speakeasy_client_sdk/models/operations/getallapiversions_request.rb'
17
+ autoload :GetAllApiVersionsResponse, 'speakeasy_client_sdk/models/operations/getallapiversions_response.rb'
18
+ autoload :QueryParamOp, 'speakeasy_client_sdk/models/operations/queryparam_op.rb'
19
+ autoload :GetApisRequest, 'speakeasy_client_sdk/models/operations/getapis_request.rb'
20
+ autoload :GetApisResponse, 'speakeasy_client_sdk/models/operations/getapis_response.rb'
21
+ autoload :UpsertApiRequest, 'speakeasy_client_sdk/models/operations/upsertapi_request.rb'
22
+ autoload :UpsertApiResponse, 'speakeasy_client_sdk/models/operations/upsertapi_response.rb'
23
+ autoload :DeleteApiEndpointRequest, 'speakeasy_client_sdk/models/operations/deleteapiendpoint_request.rb'
24
+ autoload :DeleteApiEndpointResponse, 'speakeasy_client_sdk/models/operations/deleteapiendpoint_response.rb'
25
+ autoload :FindApiEndpointRequest, 'speakeasy_client_sdk/models/operations/findapiendpoint_request.rb'
26
+ autoload :FindApiEndpointResponse, 'speakeasy_client_sdk/models/operations/findapiendpoint_response.rb'
27
+ autoload :GenerateOpenApiSpecForApiEndpointRequest, 'speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_request.rb'
28
+ autoload :GenerateOpenApiSpecForApiEndpointResponse, 'speakeasy_client_sdk/models/operations/generateopenapispecforapiendpoint_response.rb'
29
+ autoload :GeneratePostmanCollectionForApiEndpointRequest, 'speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_request.rb'
30
+ autoload :GeneratePostmanCollectionForApiEndpointResponse, 'speakeasy_client_sdk/models/operations/generatepostmancollectionforapiendpoint_response.rb'
31
+ autoload :GetAllApiEndpointsRequest, 'speakeasy_client_sdk/models/operations/getallapiendpoints_request.rb'
32
+ autoload :GetAllApiEndpointsResponse, 'speakeasy_client_sdk/models/operations/getallapiendpoints_response.rb'
33
+ autoload :GetAllForVersionApiEndpointsRequest, 'speakeasy_client_sdk/models/operations/getallforversionapiendpoints_request.rb'
34
+ autoload :GetAllForVersionApiEndpointsResponse, 'speakeasy_client_sdk/models/operations/getallforversionapiendpoints_response.rb'
35
+ autoload :GetApiEndpointRequest, 'speakeasy_client_sdk/models/operations/getapiendpoint_request.rb'
36
+ autoload :GetApiEndpointResponse, 'speakeasy_client_sdk/models/operations/getapiendpoint_response.rb'
37
+ autoload :UpsertApiEndpointRequest, 'speakeasy_client_sdk/models/operations/upsertapiendpoint_request.rb'
38
+ autoload :UpsertApiEndpointResponse, 'speakeasy_client_sdk/models/operations/upsertapiendpoint_response.rb'
39
+ autoload :DeleteVersionMetadataRequest, 'speakeasy_client_sdk/models/operations/deleteversionmetadata_request.rb'
40
+ autoload :DeleteVersionMetadataResponse, 'speakeasy_client_sdk/models/operations/deleteversionmetadata_response.rb'
41
+ autoload :GetVersionMetadataRequest, 'speakeasy_client_sdk/models/operations/getversionmetadata_request.rb'
42
+ autoload :GetVersionMetadataResponse, 'speakeasy_client_sdk/models/operations/getversionmetadata_response.rb'
43
+ autoload :InsertVersionMetadataRequest, 'speakeasy_client_sdk/models/operations/insertversionmetadata_request.rb'
44
+ autoload :InsertVersionMetadataResponse, 'speakeasy_client_sdk/models/operations/insertversionmetadata_response.rb'
45
+ autoload :DeleteSchemaRequest, 'speakeasy_client_sdk/models/operations/deleteschema_request.rb'
46
+ autoload :DeleteSchemaResponse, 'speakeasy_client_sdk/models/operations/deleteschema_response.rb'
47
+ autoload :DownloadSchemaRequest, 'speakeasy_client_sdk/models/operations/downloadschema_request.rb'
48
+ autoload :DownloadSchemaResponse, 'speakeasy_client_sdk/models/operations/downloadschema_response.rb'
49
+ autoload :DownloadSchemaRevisionRequest, 'speakeasy_client_sdk/models/operations/downloadschemarevision_request.rb'
50
+ autoload :DownloadSchemaRevisionResponse, 'speakeasy_client_sdk/models/operations/downloadschemarevision_response.rb'
51
+ autoload :GetSchemaRequest, 'speakeasy_client_sdk/models/operations/getschema_request.rb'
52
+ autoload :GetSchemaResponse, 'speakeasy_client_sdk/models/operations/getschema_response.rb'
53
+ autoload :GetSchemaDiffRequest, 'speakeasy_client_sdk/models/operations/getschemadiff_request.rb'
54
+ autoload :GetSchemaDiffResponse, 'speakeasy_client_sdk/models/operations/getschemadiff_response.rb'
55
+ autoload :GetSchemaRevisionRequest, 'speakeasy_client_sdk/models/operations/getschemarevision_request.rb'
56
+ autoload :GetSchemaRevisionResponse, 'speakeasy_client_sdk/models/operations/getschemarevision_response.rb'
57
+ autoload :GetSchemasRequest, 'speakeasy_client_sdk/models/operations/getschemas_request.rb'
58
+ autoload :GetSchemasResponse, 'speakeasy_client_sdk/models/operations/getschemas_response.rb'
59
+ autoload :File, 'speakeasy_client_sdk/models/operations/file.rb'
60
+ autoload :RegisterSchemaRequestBody, 'speakeasy_client_sdk/models/operations/registerschema_requestbody.rb'
61
+ autoload :RegisterSchemaRequest, 'speakeasy_client_sdk/models/operations/registerschema_request.rb'
62
+ autoload :RegisterSchemaResponse, 'speakeasy_client_sdk/models/operations/registerschema_response.rb'
63
+ autoload :GenerateRequestPostmanCollectionRequest, 'speakeasy_client_sdk/models/operations/generaterequestpostmancollection_request.rb'
64
+ autoload :GenerateRequestPostmanCollectionResponse, 'speakeasy_client_sdk/models/operations/generaterequestpostmancollection_response.rb'
65
+ autoload :GetRequestFromEventLogRequest, 'speakeasy_client_sdk/models/operations/getrequestfromeventlog_request.rb'
66
+ autoload :GetRequestFromEventLogResponse, 'speakeasy_client_sdk/models/operations/getrequestfromeventlog_response.rb'
67
+ autoload :QueryEventLogRequest, 'speakeasy_client_sdk/models/operations/queryeventlog_request.rb'
68
+ autoload :QueryEventLogResponse, 'speakeasy_client_sdk/models/operations/queryeventlog_response.rb'
69
+ autoload :GetPluginsResponse, 'speakeasy_client_sdk/models/operations/getplugins_response.rb'
70
+ autoload :RunPluginRequest, 'speakeasy_client_sdk/models/operations/runplugin_request.rb'
71
+ autoload :RunPluginResponse, 'speakeasy_client_sdk/models/operations/runplugin_response.rb'
72
+ autoload :UpsertPluginResponse, 'speakeasy_client_sdk/models/operations/upsertplugin_response.rb'
73
+ autoload :GetEmbedAccessTokenRequest, 'speakeasy_client_sdk/models/operations/getembedaccesstoken_request.rb'
74
+ autoload :GetEmbedAccessTokenResponse, 'speakeasy_client_sdk/models/operations/getembedaccesstoken_response.rb'
75
+ autoload :GetValidEmbedAccessTokensResponse, 'speakeasy_client_sdk/models/operations/getvalidembedaccesstokens_response.rb'
76
+ autoload :RevokeEmbedAccessTokenRequest, 'speakeasy_client_sdk/models/operations/revokeembedaccesstoken_request.rb'
77
+ autoload :RevokeEmbedAccessTokenResponse, 'speakeasy_client_sdk/models/operations/revokeembedaccesstoken_response.rb'
78
+ end
79
+ end