@@ -11,7 +11,7 @@ import struct Foundation.Date
11
11
#endif
12
12
import HTTPTypes
13
13
/// OFREP define the protocol for remote flag evaluations
14
- internal struct Client : APIProtocol {
14
+ package struct Client : APIProtocol {
15
15
/// The underlying HTTP client.
16
16
private let client : UniversalClient
17
17
/// Creates a new client.
@@ -22,7 +22,7 @@ internal struct Client: APIProtocol {
22
22
/// - configuration: A set of configuration values for the client.
23
23
/// - transport: A transport that performs HTTP operations.
24
24
/// - middlewares: A list of middlewares to call before the transport.
25
- internal init (
25
+ package init (
26
26
serverURL: Foundation . URL ,
27
27
configuration: Configuration = . init( ) ,
28
28
transport: any ClientTransport ,
@@ -46,7 +46,7 @@ internal struct Client: APIProtocol {
46
46
///
47
47
/// - Remark: HTTP `POST /ofrep/v1/evaluate/flags/{key}`.
48
48
/// - Remark: Generated from `#/paths//ofrep/v1/evaluate/flags/{key}/post`.
49
- internal func postOfrepV1EvaluateFlagsKey( _ input: Operations . PostOfrepV1EvaluateFlagsKey . Input ) async throws -> Operations . PostOfrepV1EvaluateFlagsKey . Output {
49
+ package func postOfrepV1EvaluateFlagsKey( _ input: Operations . PostOfrepV1EvaluateFlagsKey . Input ) async throws -> Operations . PostOfrepV1EvaluateFlagsKey . Output {
50
50
try await client. send (
51
51
input: input,
52
52
forOperation: Operations . PostOfrepV1EvaluateFlagsKey. id,
@@ -200,7 +200,7 @@ internal struct Client: APIProtocol {
200
200
///
201
201
/// - Remark: HTTP `POST /ofrep/v1/evaluate/flags`.
202
202
/// - Remark: Generated from `#/paths//ofrep/v1/evaluate/flags/post`.
203
- internal func postOfrepV1EvaluateFlags( _ input: Operations . PostOfrepV1EvaluateFlags . Input ) async throws -> Operations . PostOfrepV1EvaluateFlags . Output {
203
+ package func postOfrepV1EvaluateFlags( _ input: Operations . PostOfrepV1EvaluateFlags . Input ) async throws -> Operations . PostOfrepV1EvaluateFlags . Output {
204
204
try await client. send (
205
205
input: input,
206
206
forOperation: Operations . PostOfrepV1EvaluateFlags. id,
@@ -345,7 +345,7 @@ internal struct Client: APIProtocol {
345
345
///
346
346
/// - Remark: HTTP `GET /ofrep/v1/configuration`.
347
347
/// - Remark: Generated from `#/paths//ofrep/v1/configuration/get`.
348
- internal func getOfrepV1Configuration( _ input: Operations . GetOfrepV1Configuration . Input ) async throws -> Operations . GetOfrepV1Configuration . Output {
348
+ package func getOfrepV1Configuration( _ input: Operations . GetOfrepV1Configuration . Input ) async throws -> Operations . GetOfrepV1Configuration . Output {
349
349
try await client. send (
350
350
input: input,
351
351
forOperation: Operations . GetOfrepV1Configuration. id,
0 commit comments