@igniter-js/caller 0.1.51 → 0.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -389,7 +389,7 @@ type IgniterCallerSchemaBuildResult<TSchemas extends IgniterCallerSchemaMap, TRe
389
389
  /**
390
390
  * Accepted input types for `withSchemas`.
391
391
  */
392
- type IgniterCallerSchemaInput<TSchemas extends IgniterCallerSchemaMap = IgniterCallerSchemaMap, TRegistry extends IgniterCallerSchemaRegistry = IgniterCallerSchemaRegistry> = TSchemas | IgniterCallerSchemaBuildResult<TSchemas, TRegistry> | IgniterCallerSchemaBuildResult<any, any>;
392
+ type IgniterCallerSchemaInput<TSchemas extends IgniterCallerSchemaMap = IgniterCallerSchemaMap, TRegistry extends IgniterCallerSchemaRegistry = IgniterCallerSchemaRegistry> = TSchemas | IgniterCallerSchemaBuildResult<TSchemas, TRegistry>;
393
393
  /**
394
394
  * Extracts the schema map from a build result or raw map.
395
395
  */
@@ -1123,4 +1123,4 @@ declare class IgniterCallerManager<TSchemas extends IgniterCallerSchemaMap> impl
1123
1123
  static emitEvent(url: string, method: string, result: IgniterCallerApiResponse<any>): Promise<void>;
1124
1124
  }
1125
1125
 
1126
- export { type SchemaMapEndpoint as $, type IgniterCallerMockPathDefinition as A, type IgniterCallerFileResponse as B, IgniterCallerRequestBuilder as C, type DeletePaths as D, type EndpointInfo as E, type IgniterCallerHttpMethod as F, type GetPaths as G, type HeadPaths as H, IgniterCallerManager as I, type IgniterCallerBaseRequestOptions as J, type IgniterCallerRequestOptions as K, type IgniterCallerDirectRequestOptions as L, type IgniterCallerResponseContentType as M, type IgniterCallerValidatableContentType as N, type IgniterCallerResponseMarker as O, type PostPaths as P, type IgniterCallerRetryOptions as Q, type ResolveStatusKey as R, type SchemaArray as S, type TypedRequestBuilder as T, type ExtractPathParams as U, type InferRequestType as V, type InferResponseType as W, type InferSuccessResponseType as X, type InferAllResponseTypes as Y, type SchemaMapMethods as Z, type PathsForMethod as _, type IgniterCallerApiResponse as a, type SchemaMapResponseType as a0, type SchemaMapRequestType as a1, type SchemaMapResponses as a2, type SchemaMapResponsesType as a3, type SchemaMapRequestSchema as a4, type SchemaMapResponseSchema as a5, type IgniterCallerSchemaInfer as a6, type IgniterCallerSchemaGetters as a7, type IgniterCallerMockStatus as a8, type IgniterCallerMockDefaultStatus as a9, type IgniterCallerMockRequest as aa, type IgniterCallerMockResponseForStatus as ab, type IgniterCallerMockResponseDefault as ac, type IgniterCallerMockResponse as ad, type IgniterCallerMockHandler as ae, type IgniterCallerMockHandlerDefinition as af, type IgniterCallerBuilderState as ag, type IgniterCallerRequestBuilderParams as ah, type IgniterCallerMethodRequestBuilder as ai, type InferSuccessResponse as aj, type GetEndpoint as ak, type IIgniterCallerManager as al, type IgniterCallerSchemaMap as b, type IgniterCallerSchemaMethod as c, type InferResponse as d, type IgniterCallerTypedRequestBuilder as e, type PutPaths as f, type PatchPaths as g, type IgniterCallerUrlPattern as h, type IgniterCallerEventCallback as i, type IIgniterCallerMockManager as j, type IgniterCallerMockRegistry as k, type IgniterCallerMockResolvedHandler as l, type IgniterCallerRequestInterceptor as m, type IgniterCallerResponseInterceptor as n, type IgniterCallerSchemaInput as o, type IgniterCallerSchemaValidationOptions as p, type IgniterCallerSchemaMapFrom as q, type IgniterCallerMockConfig as r, type IgniterCallerEndpointSchema as s, type IgniterCallerSchemaRegistry as t, type SchemaNullable as u, type SchemaOptional as v, type SchemaRecord as w, type IgniterCallerSchemaEndpointConfig as x, type IgniterCallerSchemaBuildResult as y, type SchemaMapPaths as z };
1126
+ export { type SchemaMapRequestType as $, IgniterCallerRequestBuilder as A, type IgniterCallerHttpMethod as B, type IgniterCallerBaseRequestOptions as C, type DeletePaths as D, type EndpointInfo as E, type IgniterCallerRequestOptions as F, type GetPaths as G, type HeadPaths as H, IgniterCallerManager as I, type IgniterCallerDirectRequestOptions as J, type IgniterCallerResponseContentType as K, type IgniterCallerValidatableContentType as L, type IgniterCallerResponseMarker as M, type IgniterCallerRetryOptions as N, type ExtractPathParams as O, type PostPaths as P, type InferRequestType as Q, type ResolveStatusKey as R, type SchemaArray as S, type TypedRequestBuilder as T, type InferResponseType as U, type InferSuccessResponseType as V, type InferAllResponseTypes as W, type SchemaMapMethods as X, type PathsForMethod as Y, type SchemaMapEndpoint as Z, type SchemaMapResponseType as _, type IgniterCallerApiResponse as a, type SchemaMapResponses as a0, type SchemaMapResponsesType as a1, type SchemaMapRequestSchema as a2, type SchemaMapResponseSchema as a3, type IgniterCallerSchemaInfer as a4, type IgniterCallerSchemaGetters as a5, type IgniterCallerSchemaInput as a6, type IgniterCallerSchemaMapFrom as a7, type IgniterCallerMockStatus as a8, type IgniterCallerMockDefaultStatus as a9, type IgniterCallerMockRequest as aa, type IgniterCallerMockResponseForStatus as ab, type IgniterCallerMockResponseDefault as ac, type IgniterCallerMockResponse as ad, type IgniterCallerMockHandler as ae, type IgniterCallerMockHandlerDefinition as af, type IgniterCallerBuilderState as ag, type IgniterCallerRequestBuilderParams as ah, type IgniterCallerMethodRequestBuilder as ai, type InferSuccessResponse as aj, type GetEndpoint as ak, type IIgniterCallerManager as al, type IgniterCallerSchemaMap as b, type IgniterCallerSchemaMethod as c, type InferResponse as d, type IgniterCallerTypedRequestBuilder as e, type PutPaths as f, type PatchPaths as g, type IgniterCallerUrlPattern as h, type IgniterCallerEventCallback as i, type IIgniterCallerMockManager as j, type IgniterCallerMockRegistry as k, type IgniterCallerMockResolvedHandler as l, type IgniterCallerRequestInterceptor as m, type IgniterCallerResponseInterceptor as n, type IgniterCallerSchemaValidationOptions as o, type IgniterCallerSchemaRegistry as p, type IgniterCallerSchemaBuildResult as q, type IgniterCallerMockConfig as r, type IgniterCallerEndpointSchema as s, type SchemaNullable as t, type SchemaOptional as u, type SchemaRecord as v, type IgniterCallerSchemaEndpointConfig as w, type SchemaMapPaths as x, type IgniterCallerMockPathDefinition as y, type IgniterCallerFileResponse as z };
@@ -389,7 +389,7 @@ type IgniterCallerSchemaBuildResult<TSchemas extends IgniterCallerSchemaMap, TRe
389
389
  /**
390
390
  * Accepted input types for `withSchemas`.
391
391
  */
392
- type IgniterCallerSchemaInput<TSchemas extends IgniterCallerSchemaMap = IgniterCallerSchemaMap, TRegistry extends IgniterCallerSchemaRegistry = IgniterCallerSchemaRegistry> = TSchemas | IgniterCallerSchemaBuildResult<TSchemas, TRegistry> | IgniterCallerSchemaBuildResult<any, any>;
392
+ type IgniterCallerSchemaInput<TSchemas extends IgniterCallerSchemaMap = IgniterCallerSchemaMap, TRegistry extends IgniterCallerSchemaRegistry = IgniterCallerSchemaRegistry> = TSchemas | IgniterCallerSchemaBuildResult<TSchemas, TRegistry>;
393
393
  /**
394
394
  * Extracts the schema map from a build result or raw map.
395
395
  */
@@ -1123,4 +1123,4 @@ declare class IgniterCallerManager<TSchemas extends IgniterCallerSchemaMap> impl
1123
1123
  static emitEvent(url: string, method: string, result: IgniterCallerApiResponse<any>): Promise<void>;
1124
1124
  }
1125
1125
 
1126
- export { type SchemaMapEndpoint as $, type IgniterCallerMockPathDefinition as A, type IgniterCallerFileResponse as B, IgniterCallerRequestBuilder as C, type DeletePaths as D, type EndpointInfo as E, type IgniterCallerHttpMethod as F, type GetPaths as G, type HeadPaths as H, IgniterCallerManager as I, type IgniterCallerBaseRequestOptions as J, type IgniterCallerRequestOptions as K, type IgniterCallerDirectRequestOptions as L, type IgniterCallerResponseContentType as M, type IgniterCallerValidatableContentType as N, type IgniterCallerResponseMarker as O, type PostPaths as P, type IgniterCallerRetryOptions as Q, type ResolveStatusKey as R, type SchemaArray as S, type TypedRequestBuilder as T, type ExtractPathParams as U, type InferRequestType as V, type InferResponseType as W, type InferSuccessResponseType as X, type InferAllResponseTypes as Y, type SchemaMapMethods as Z, type PathsForMethod as _, type IgniterCallerApiResponse as a, type SchemaMapResponseType as a0, type SchemaMapRequestType as a1, type SchemaMapResponses as a2, type SchemaMapResponsesType as a3, type SchemaMapRequestSchema as a4, type SchemaMapResponseSchema as a5, type IgniterCallerSchemaInfer as a6, type IgniterCallerSchemaGetters as a7, type IgniterCallerMockStatus as a8, type IgniterCallerMockDefaultStatus as a9, type IgniterCallerMockRequest as aa, type IgniterCallerMockResponseForStatus as ab, type IgniterCallerMockResponseDefault as ac, type IgniterCallerMockResponse as ad, type IgniterCallerMockHandler as ae, type IgniterCallerMockHandlerDefinition as af, type IgniterCallerBuilderState as ag, type IgniterCallerRequestBuilderParams as ah, type IgniterCallerMethodRequestBuilder as ai, type InferSuccessResponse as aj, type GetEndpoint as ak, type IIgniterCallerManager as al, type IgniterCallerSchemaMap as b, type IgniterCallerSchemaMethod as c, type InferResponse as d, type IgniterCallerTypedRequestBuilder as e, type PutPaths as f, type PatchPaths as g, type IgniterCallerUrlPattern as h, type IgniterCallerEventCallback as i, type IIgniterCallerMockManager as j, type IgniterCallerMockRegistry as k, type IgniterCallerMockResolvedHandler as l, type IgniterCallerRequestInterceptor as m, type IgniterCallerResponseInterceptor as n, type IgniterCallerSchemaInput as o, type IgniterCallerSchemaValidationOptions as p, type IgniterCallerSchemaMapFrom as q, type IgniterCallerMockConfig as r, type IgniterCallerEndpointSchema as s, type IgniterCallerSchemaRegistry as t, type SchemaNullable as u, type SchemaOptional as v, type SchemaRecord as w, type IgniterCallerSchemaEndpointConfig as x, type IgniterCallerSchemaBuildResult as y, type SchemaMapPaths as z };
1126
+ export { type SchemaMapRequestType as $, IgniterCallerRequestBuilder as A, type IgniterCallerHttpMethod as B, type IgniterCallerBaseRequestOptions as C, type DeletePaths as D, type EndpointInfo as E, type IgniterCallerRequestOptions as F, type GetPaths as G, type HeadPaths as H, IgniterCallerManager as I, type IgniterCallerDirectRequestOptions as J, type IgniterCallerResponseContentType as K, type IgniterCallerValidatableContentType as L, type IgniterCallerResponseMarker as M, type IgniterCallerRetryOptions as N, type ExtractPathParams as O, type PostPaths as P, type InferRequestType as Q, type ResolveStatusKey as R, type SchemaArray as S, type TypedRequestBuilder as T, type InferResponseType as U, type InferSuccessResponseType as V, type InferAllResponseTypes as W, type SchemaMapMethods as X, type PathsForMethod as Y, type SchemaMapEndpoint as Z, type SchemaMapResponseType as _, type IgniterCallerApiResponse as a, type SchemaMapResponses as a0, type SchemaMapResponsesType as a1, type SchemaMapRequestSchema as a2, type SchemaMapResponseSchema as a3, type IgniterCallerSchemaInfer as a4, type IgniterCallerSchemaGetters as a5, type IgniterCallerSchemaInput as a6, type IgniterCallerSchemaMapFrom as a7, type IgniterCallerMockStatus as a8, type IgniterCallerMockDefaultStatus as a9, type IgniterCallerMockRequest as aa, type IgniterCallerMockResponseForStatus as ab, type IgniterCallerMockResponseDefault as ac, type IgniterCallerMockResponse as ad, type IgniterCallerMockHandler as ae, type IgniterCallerMockHandlerDefinition as af, type IgniterCallerBuilderState as ag, type IgniterCallerRequestBuilderParams as ah, type IgniterCallerMethodRequestBuilder as ai, type InferSuccessResponse as aj, type GetEndpoint as ak, type IIgniterCallerManager as al, type IgniterCallerSchemaMap as b, type IgniterCallerSchemaMethod as c, type InferResponse as d, type IgniterCallerTypedRequestBuilder as e, type PutPaths as f, type PatchPaths as g, type IgniterCallerUrlPattern as h, type IgniterCallerEventCallback as i, type IIgniterCallerMockManager as j, type IgniterCallerMockRegistry as k, type IgniterCallerMockResolvedHandler as l, type IgniterCallerRequestInterceptor as m, type IgniterCallerResponseInterceptor as n, type IgniterCallerSchemaValidationOptions as o, type IgniterCallerSchemaRegistry as p, type IgniterCallerSchemaBuildResult as q, type IgniterCallerMockConfig as r, type IgniterCallerEndpointSchema as s, type SchemaNullable as t, type SchemaOptional as u, type SchemaRecord as v, type IgniterCallerSchemaEndpointConfig as w, type SchemaMapPaths as x, type IgniterCallerMockPathDefinition as y, type IgniterCallerFileResponse as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igniter-js/caller",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "description": "Type-safe HTTP client for Igniter.js with interceptors, retries, caching, and StandardSchema validation",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",