@hey-api/openapi-ts 0.86.2 → 0.86.4

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.
@@ -1,9 +1,8 @@
1
1
  import { n as __export } from "./chunk-C-EqMg7d.js";
2
+ import { IProject, Project, Selector, Symbol, SymbolIn, SymbolMeta } from "@hey-api/codegen-core";
2
3
  import fs from "node:fs";
3
- import * as typescript0 from "typescript";
4
4
  import ts from "typescript";
5
5
  import { RangeOptions, SemVer } from "semver";
6
- import { IProject, Project, Selector, Symbol, SymbolIn } from "@hey-api/codegen-core";
7
6
 
8
7
  //#region src/openApi/shared/types/openapi-spec-extensions.d.ts
9
8
  interface EnumExtensions {
@@ -2945,52 +2944,7 @@ type Package = {
2945
2944
  satisfies: (nameOrVersion: string | SemVer, range: string, optionsOrLoose?: boolean | RangeOptions) => boolean;
2946
2945
  };
2947
2946
  //#endregion
2948
- //#region src/utils/logger.d.ts
2949
- declare class Logger {
2950
- private events;
2951
- private end;
2952
- report(print?: boolean): PerformanceMeasure | undefined;
2953
- private reportEvent;
2954
- private start;
2955
- private storeEvent;
2956
- timeEvent(name: string): {
2957
- mark: PerformanceMark;
2958
- timeEnd: () => void;
2959
- };
2960
- }
2961
- //#endregion
2962
- //#region src/openApi/shared/utils/graph.d.ts
2963
- /**
2964
- * Represents the possible access scopes for OpenAPI nodes.
2965
- * - 'normal': Default scope for regular nodes.
2966
- * - 'read': Node is read-only (e.g., readOnly: true).
2967
- * - 'write': Node is write-only (e.g., writeOnly: true).
2968
- */
2969
- type Scope = 'normal' | 'read' | 'write';
2970
- /**
2971
- * Information about a node in the OpenAPI graph.
2972
- *
2973
- * @property deprecated - Whether the node is deprecated. Optional.
2974
- * @property key - The property name or array index in the parent, or null for root.
2975
- * @property node - The actual object at this pointer in the spec.
2976
- * @property parentPointer - The JSON Pointer of the parent node, or null for root.
2977
- * @property scopes - The set of access scopes for this node, if any. Optional.
2978
- * @property tags - The set of tags for this node, if any. Optional.
2979
- */
2980
- type NodeInfo = {
2981
- /** Whether the node is deprecated. Optional. */
2982
- deprecated?: boolean;
2983
- /** The property name or array index in the parent, or null for root. */
2984
- key: string | number | null;
2985
- /** The actual object at this pointer in the spec. */
2986
- node: unknown;
2987
- /** The JSON Pointer of the parent node, or null for root. */
2988
- parentPointer: string | null;
2989
- /** The set of access scopes for this node, if any. Optional. */
2990
- scopes?: Set<Scope>;
2991
- /** The set of tags for this node, if any. Optional. */
2992
- tags?: Set<string>;
2993
- };
2947
+ //#region src/graph/types/graph.d.ts
2994
2948
  /**
2995
2949
  * The main graph structure for OpenAPI node analysis.
2996
2950
  *
@@ -3026,6 +2980,116 @@ type Graph = {
3026
2980
  */
3027
2981
  transitiveDependencies: Map<string, Set<string>>;
3028
2982
  };
2983
+ /**
2984
+ * Information about a node in the OpenAPI graph.
2985
+ *
2986
+ * @property deprecated - Whether the node is deprecated. Optional.
2987
+ * @property key - The property name or array index in the parent, or null for root.
2988
+ * @property node - The actual object at this pointer in the spec.
2989
+ * @property parentPointer - The JSON Pointer of the parent node, or null for root.
2990
+ * @property scopes - The set of access scopes for this node, if any. Optional.
2991
+ * @property tags - The set of tags for this node, if any. Optional.
2992
+ */
2993
+ type NodeInfo = {
2994
+ /** Whether the node is deprecated. Optional. */
2995
+ deprecated?: boolean;
2996
+ /** The property name or array index in the parent, or null for root. */
2997
+ key: string | number | null;
2998
+ /** The actual object at this pointer in the spec. */
2999
+ node: unknown;
3000
+ /** The JSON Pointer of the parent node, or null for root. */
3001
+ parentPointer: string | null;
3002
+ /** The set of access scopes for this node, if any. Optional. */
3003
+ scopes?: Set<Scope>;
3004
+ /** The set of tags for this node, if any. Optional. */
3005
+ tags?: Set<string>;
3006
+ };
3007
+ //#endregion
3008
+ //#region src/graph/types/walk.d.ts
3009
+ type GetPointerPriorityFn = (pointer: string) => number;
3010
+ type MatchPointerToGroupFn<T$1 extends string = string> = (pointer: string, kind?: T$1) => PointerGroupMatch<T$1>;
3011
+ type PointerGroupMatch<T$1 extends string = string> = {
3012
+ kind: T$1;
3013
+ matched: true;
3014
+ } | {
3015
+ kind?: undefined;
3016
+ matched: false;
3017
+ };
3018
+ type WalkOptions<T$1 extends string = string> = {
3019
+ /**
3020
+ * Optional priority function used to compute a numeric priority for each
3021
+ * pointer. Lower values are emitted earlier. Useful to customize ordering
3022
+ * beyond the built-in group preferences.
3023
+ */
3024
+ getPointerPriority?: GetPointerPriorityFn;
3025
+ /**
3026
+ * Optional function to match a pointer to a group name.
3027
+ *
3028
+ * @param pointer The pointer string
3029
+ * @returns The group name, or undefined if no match
3030
+ */
3031
+ matchPointerToGroup?: MatchPointerToGroupFn<T$1>;
3032
+ /**
3033
+ * Order of walking schemas.
3034
+ *
3035
+ * The "declarations" option ensures that schemas are walked in the order
3036
+ * they are declared in the input document. This is useful for scenarios where
3037
+ * the order of declaration matters, such as when generating code that relies
3038
+ * on the sequence of schema definitions.
3039
+ *
3040
+ * The "topological" option ensures that schemas are walked in an order
3041
+ * where dependencies are visited before the schemas that depend on them.
3042
+ * This is useful for scenarios where you need to process or generate
3043
+ * schemas in a way that respects their interdependencies.
3044
+ *
3045
+ * @default 'topological'
3046
+ */
3047
+ order?: 'declarations' | 'topological';
3048
+ /**
3049
+ * Optional grouping preference for walking. When provided, walk function
3050
+ * will prefer emitting kinds listed earlier in this array when it is safe
3051
+ * to do so (it will only apply the preference when doing so does not
3052
+ * violate dependency ordering).
3053
+ */
3054
+ preferGroups?: ReadonlyArray<T$1>;
3055
+ };
3056
+ //#endregion
3057
+ //#region src/plugins/shared/types/refs.d.ts
3058
+ /**
3059
+ * Ref wrapper which ensures a stable reference for a value.
3060
+ *
3061
+ * @example
3062
+ * ```ts
3063
+ * type NumRef = Ref<number>; // { value: number }
3064
+ * const num: NumRef = { value: 42 };
3065
+ * console.log(num.value); // 42
3066
+ * ```
3067
+ */
3068
+ type Ref<T$1> = {
3069
+ value: T$1;
3070
+ };
3071
+
3072
+ /**
3073
+ * Utility type: wraps a value in a Ref.
3074
+ *
3075
+ * @example
3076
+ * ```ts
3077
+ * type R = ToRef<number>; // { value: number }
3078
+ * ```
3079
+ */
3080
+
3081
+ /**
3082
+ * Maps every property of `T` to a `Ref` of that property.
3083
+ *
3084
+ * @example
3085
+ * ```ts
3086
+ * type Foo = { a: number; b: string };
3087
+ * type Refs = ToRefs<Foo>; // { a: Ref<number>; b: Ref<string> }
3088
+ * const refs: Refs = { a: { value: 1 }, b: { value: 'x' } };
3089
+ * console.log(refs.a.value, refs.b.value); // 1 'x'
3090
+ * ```
3091
+ */
3092
+ type ToRefs<T$1> = { [K in keyof T$1]: Ref<T$1[K]> };
3029
3093
  //#endregion
3030
3094
  //#region src/config/utils/config.d.ts
3031
3095
  type ObjectType<T$1> = Extract<T$1, Record<string, any>> extends never ? Record<string, any> : Extract<T$1, Record<string, any>>;
@@ -6556,7 +6620,7 @@ interface OpenApiV3_1_XTypes {
6556
6620
  }
6557
6621
  //#endregion
6558
6622
  //#region src/openApi/types.d.ts
6559
- declare namespace OpenApi$1 {
6623
+ declare namespace OpenApi$3 {
6560
6624
  export type V2_0_X = OpenApiV2_0_X;
6561
6625
  export type V3_0_X = OpenApiV3_0_X;
6562
6626
  export type V3_1_X = OpenApiV3_1_X;
@@ -6589,51 +6653,372 @@ declare namespace OpenApiSchemaObject {
6589
6653
  export type V3_1_X = OpenApiV3_1_XTypes['SchemaObject'];
6590
6654
  }
6591
6655
  //#endregion
6592
- //#region src/types/parser.d.ts
6593
- type EnumsMode = 'inline' | 'root';
6594
- type UserParser = {
6656
+ //#region src/ir/graph.d.ts
6657
+ declare const irTopLevelKinds: readonly ["operation", "parameter", "requestBody", "schema", "server", "webhook"];
6658
+ type IrTopLevelKind = (typeof irTopLevelKinds)[number];
6659
+ //#endregion
6660
+ //#region src/plugins/shared/types/instance.d.ts
6661
+ type BaseEvent = {
6595
6662
  /**
6596
- * Filters can be used to select a subset of your input before it's passed
6597
- * to plugins.
6663
+ * Path to the node, derived from the pointer.
6598
6664
  */
6599
- filters?: Filters;
6665
+ _path: ReadonlyArray<string | number>;
6600
6666
  /**
6601
- * Optional hooks to override default plugin behavior.
6667
+ * Pointer to the node in the graph.
6668
+ */
6669
+ pointer: string;
6670
+ /**
6671
+ * Tags associated with the node.
6672
+ */
6673
+ tags?: Set<string>;
6674
+ };
6675
+ type WalkEvents = BaseEvent & ({
6676
+ method: keyof IR$1.PathItemObject;
6677
+ operation: IR$1.OperationObject;
6678
+ path: string;
6679
+ type: Extract<IrTopLevelKind, 'operation'>;
6680
+ } | {
6681
+ name: string;
6682
+ parameter: IR$1.ParameterObject;
6683
+ type: Extract<IrTopLevelKind, 'parameter'>;
6684
+ } | {
6685
+ name: string;
6686
+ requestBody: IR$1.RequestBodyObject;
6687
+ type: Extract<IrTopLevelKind, 'requestBody'>;
6688
+ } | {
6689
+ name: string;
6690
+ schema: IR$1.SchemaObject;
6691
+ type: Extract<IrTopLevelKind, 'schema'>;
6692
+ } | {
6693
+ server: IR$1.ServerObject;
6694
+ type: Extract<IrTopLevelKind, 'server'>;
6695
+ } | {
6696
+ key: string;
6697
+ method: keyof IR$1.PathItemObject;
6698
+ operation: IR$1.OperationObject;
6699
+ type: Extract<IrTopLevelKind, 'webhook'>;
6700
+ });
6701
+ type WalkEvent<T$1 extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents, {
6702
+ type: T$1;
6703
+ }>;
6704
+ //#endregion
6705
+ //#region src/plugins/shared/utils/instance.d.ts
6706
+ declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
6707
+ api: T$1['api'];
6708
+ config: Omit<T$1['resolvedConfig'], 'name' | 'output'>;
6709
+ context: IR$1.Context;
6710
+ dependencies: Required<Plugin.Config<T$1>>['dependencies'];
6711
+ private eventHooks;
6712
+ gen: IProject;
6713
+ private handler;
6714
+ name: T$1['resolvedConfig']['name'];
6715
+ output: string;
6716
+ /**
6717
+ * The package metadata and utilities for the current context, constructed
6718
+ * from the provided dependencies. Used for managing package-related
6719
+ * information such as name, version, and dependency resolution during
6720
+ * code generation.
6721
+ */
6722
+ package: IR$1.Context['package'];
6723
+ constructor(props: Pick<Required<Plugin.Config<T$1>>, 'config' | 'dependencies' | 'handler'> & {
6724
+ api?: T$1['api'];
6725
+ context: IR$1.Context<OpenApi$3.V2_0_X | OpenApi$3.V3_0_X | OpenApi$3.V3_1_X>;
6726
+ gen: IProject;
6727
+ name: string;
6728
+ output: string;
6729
+ });
6730
+ /**
6731
+ * Iterates over various input elements as specified by the event types, in
6732
+ * a specific order: servers, schemas, parameters, request bodies, then
6733
+ * operations.
6602
6734
  *
6603
- * Use these to classify resources, control which outputs are generated,
6604
- * or provide custom behavior for specific resources.
6735
+ * This ensures, for example, that schemas are always processed before
6736
+ * operations, which may reference them.
6737
+ *
6738
+ * @template T - The event type(s) to yield. Defaults to all event types.
6739
+ * @param events - The event types to walk over. If none are provided, all event types are included.
6740
+ * @param callback - Function to execute for each event.
6741
+ *
6742
+ * @example
6743
+ * // Iterate over all operations and schemas
6744
+ * plugin.forEach('operation', 'schema', (event) => {
6745
+ * if (event.type === 'operation') {
6746
+ * // handle operation
6747
+ * } else if (event.type === 'schema') {
6748
+ * // handle schema
6749
+ * }
6750
+ * });
6605
6751
  */
6606
- hooks?: IR$1.Hooks;
6752
+ forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
6753
+ forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions<T$1>]): void;
6607
6754
  /**
6608
- * Pagination configuration.
6755
+ * Retrieves a registered plugin instance by its name from the context. This
6756
+ * allows plugins to access other plugins that have been registered in the
6757
+ * same context, enabling cross-plugin communication and dependencies.
6758
+ *
6759
+ * @param name Plugin name as defined in the configuration.
6760
+ * @returns The plugin instance if found, undefined otherwise.
6609
6761
  */
6610
- pagination?: {
6611
- /**
6612
- * Array of keywords to be considered as pagination field names.
6613
- * These will be used to detect pagination fields in schemas and parameters.
6614
- *
6615
- * @default ['after', 'before', 'cursor', 'offset', 'page', 'start']
6616
- */
6617
- keywords?: ReadonlyArray<string>;
6762
+ getPlugin<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> | undefined : never;
6763
+ /**
6764
+ * Retrieves a registered plugin instance by its name from the context. This
6765
+ * allows plugins to access other plugins that have been registered in the
6766
+ * same context, enabling cross-plugin communication and dependencies.
6767
+ *
6768
+ * @param name Plugin name as defined in the configuration.
6769
+ * @returns The plugin instance if found, throw otherwise.
6770
+ */
6771
+ getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
6772
+ getSymbol(symbolIdOrSelector: number | Selector): Symbol | undefined;
6773
+ hooks: {
6774
+ operation: {
6775
+ isMutation: (operation: IR$1.OperationObject) => boolean;
6776
+ isQuery: (operation: IR$1.OperationObject) => boolean;
6777
+ };
6618
6778
  };
6779
+ isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
6780
+ referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
6781
+ registerSymbol(symbol: SymbolIn): Symbol;
6619
6782
  /**
6620
- * Custom input transformations to execute before parsing. Use this
6621
- * to modify, fix, or enhance input before it's passed to plugins.
6783
+ * Executes plugin's handler function.
6622
6784
  */
6623
- patch?: Patch;
6785
+ run(): Promise<void>;
6786
+ setSymbolValue(symbol: Symbol, value: unknown): void;
6787
+ private buildEventHooks;
6788
+ private forEachError;
6789
+ private getSymbolFilePath;
6790
+ private isOperationKind;
6791
+ }
6792
+ //#endregion
6793
+ //#region src/parser/types/hooks.d.ts
6794
+ type Hooks = {
6624
6795
  /**
6625
- * Built-in transformations that modify or normalize the input before it's
6626
- * passed to plugins. These options enable predictable, documented behaviors
6627
- * and are distinct from custom patches. Use this to perform structural
6628
- * changes to input in a standardized way.
6796
+ * Event hooks.
6629
6797
  */
6630
- transforms?: {
6798
+ events?: {
6631
6799
  /**
6632
- * Your input might contain two types of enums:
6633
- * - enums defined as reusable components (root enums)
6634
- * - non-reusable enums nested within other schemas (inline enums)
6800
+ * Triggered after executing a plugin handler.
6635
6801
  *
6636
- * You may want all enums to be reusable. This is because only root enums
6802
+ * @param args Arguments object.
6803
+ * @returns void
6804
+ */
6805
+ 'plugin:handler:after'?: (args: {
6806
+ /** Plugin that just executed. */
6807
+ plugin: PluginInstance;
6808
+ }) => void;
6809
+ /**
6810
+ * Triggered before executing a plugin handler.
6811
+ *
6812
+ * @param args Arguments object.
6813
+ * @returns void
6814
+ */
6815
+ 'plugin:handler:before'?: (args: {
6816
+ /** Plugin about to execute. */
6817
+ plugin: PluginInstance;
6818
+ }) => void;
6819
+ /**
6820
+ * Triggered after registering a symbol.
6821
+ *
6822
+ * You can use this to perform actions after a symbol is registered.
6823
+ *
6824
+ * @param args Arguments object.
6825
+ * @returns void
6826
+ */
6827
+ 'symbol:register:after'?: (args: {
6828
+ /** Plugin that registered the symbol. */
6829
+ plugin: PluginInstance;
6830
+ /** The registered symbol. */
6831
+ symbol: Symbol;
6832
+ }) => void;
6833
+ /**
6834
+ * Triggered before registering a symbol.
6835
+ *
6836
+ * You can use this to modify the symbol before it's registered.
6837
+ *
6838
+ * @param args Arguments object.
6839
+ * @returns void
6840
+ */
6841
+ 'symbol:register:before'?: (args: {
6842
+ /** Plugin registering the symbol. */
6843
+ plugin: PluginInstance;
6844
+ /** Symbol to register. */
6845
+ symbol: SymbolIn;
6846
+ }) => void;
6847
+ /**
6848
+ * Triggered after setting a symbol value.
6849
+ *
6850
+ * You can use this to perform actions after a symbol's value is set.
6851
+ *
6852
+ * @param args Arguments object.
6853
+ * @returns void
6854
+ */
6855
+ 'symbol:setValue:after'?: (args: {
6856
+ /** Plugin that set the symbol value. */
6857
+ plugin: PluginInstance;
6858
+ /** The symbol. */
6859
+ symbol: Symbol;
6860
+ /** The value that was set. */
6861
+ value: unknown;
6862
+ }) => void;
6863
+ /**
6864
+ * Triggered before setting a symbol value.
6865
+ *
6866
+ * You can use this to modify the value before it's set.
6867
+ *
6868
+ * @param args Arguments object.
6869
+ * @returns void
6870
+ */
6871
+ 'symbol:setValue:before'?: (args: {
6872
+ /** Plugin setting the symbol value. */
6873
+ plugin: PluginInstance;
6874
+ /** The symbol. */
6875
+ symbol: Symbol;
6876
+ /** The value to set. */
6877
+ value: unknown;
6878
+ }) => void;
6879
+ };
6880
+ /**
6881
+ * Hooks specifically for overriding operations behavior.
6882
+ *
6883
+ * Use these to classify operations, decide which outputs to generate,
6884
+ * or apply custom behavior to individual operations.
6885
+ */
6886
+ operations?: {
6887
+ /**
6888
+ * Classify the given operation into one or more kinds.
6889
+ *
6890
+ * Each kind determines how we treat the operation (e.g., generating queries or mutations).
6891
+ *
6892
+ * **Default behavior:**
6893
+ * - GET → 'query'
6894
+ * - DELETE, PATCH, POST, PUT → 'mutation'
6895
+ *
6896
+ * **Resolution order:**
6897
+ * 1. If `isQuery` or `isMutation` returns `true` or `false`, that overrides `getKind`.
6898
+ * 2. If `isQuery` or `isMutation` returns `undefined`, the result of `getKind` is used.
6899
+ *
6900
+ * @param operation - The operation object to classify.
6901
+ * @returns An array containing one or more of 'query' or 'mutation', or undefined to fallback to default behavior.
6902
+ * @example
6903
+ * ```ts
6904
+ * getKind: (operation) => {
6905
+ * if (operation.method === 'get' && operation.path === '/search') {
6906
+ * return ['query', 'mutation'];
6907
+ * }
6908
+ * return; // fallback to default behavior
6909
+ * }
6910
+ * ```
6911
+ */
6912
+ getKind?: (operation: IROperationObject) => ReadonlyArray<'mutation' | 'query'> | undefined;
6913
+ /**
6914
+ * Check if the given operation should be treated as a mutation.
6915
+ *
6916
+ * This affects which outputs are generated for the operation.
6917
+ *
6918
+ * **Default behavior:** DELETE, PATCH, POST, and PUT operations are treated as mutations.
6919
+ *
6920
+ * **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
6921
+ * If it returns `undefined`, `getKind` is used instead.
6922
+ *
6923
+ * @param operation - The operation object to check.
6924
+ * @returns true if the operation is a mutation, false otherwise, or undefined to fallback to `getKind`.
6925
+ * @example
6926
+ * ```ts
6927
+ * isMutation: (operation) => {
6928
+ * if (operation.method === 'post' && operation.path === '/search') {
6929
+ * return true;
6930
+ * }
6931
+ * return; // fallback to default behavior
6932
+ * }
6933
+ * ```
6934
+ */
6935
+ isMutation?: (operation: IROperationObject) => boolean | undefined;
6936
+ /**
6937
+ * Check if the given operation should be treated as a query.
6938
+ *
6939
+ * This affects which outputs are generated for the operation.
6940
+ *
6941
+ * **Default behavior:** GET operations are treated as queries.
6942
+ *
6943
+ * **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
6944
+ * If it returns `undefined`, `getKind` is used instead.
6945
+ *
6946
+ * @param operation - The operation object to check.
6947
+ * @returns true if the operation is a query, false otherwise, or undefined to fallback to `getKind`.
6948
+ * @example
6949
+ * ```ts
6950
+ * isQuery: (operation) => {
6951
+ * if (operation.method === 'post' && operation.path === '/search') {
6952
+ * return true;
6953
+ * }
6954
+ * return; // fallback to default behavior
6955
+ * }
6956
+ * ```
6957
+ */
6958
+ isQuery?: (operation: IROperationObject) => boolean | undefined;
6959
+ };
6960
+ /**
6961
+ * Hooks specifically for overriding symbols behavior.
6962
+ *
6963
+ * Use these to customize file placement.
6964
+ */
6965
+ symbols?: {
6966
+ /**
6967
+ * Optional output strategy to override default plugin behavior.
6968
+ *
6969
+ * Use this to route generated symbols to specific files.
6970
+ *
6971
+ * @returns The file path to output the symbol to, or undefined to fallback to default behavior.
6972
+ */
6973
+ getFilePath?: (symbol: Symbol) => string | undefined;
6974
+ };
6975
+ };
6976
+ //#endregion
6977
+ //#region src/types/parser.d.ts
6978
+ type EnumsMode = 'inline' | 'root';
6979
+ type UserParser = {
6980
+ /**
6981
+ * Filters can be used to select a subset of your input before it's passed
6982
+ * to plugins.
6983
+ */
6984
+ filters?: Filters;
6985
+ /**
6986
+ * Optional hooks to override default plugin behavior.
6987
+ *
6988
+ * Use these to classify resources, control which outputs are generated,
6989
+ * or provide custom behavior for specific resources.
6990
+ */
6991
+ hooks?: Hooks;
6992
+ /**
6993
+ * Pagination configuration.
6994
+ */
6995
+ pagination?: {
6996
+ /**
6997
+ * Array of keywords to be considered as pagination field names.
6998
+ * These will be used to detect pagination fields in schemas and parameters.
6999
+ *
7000
+ * @default ['after', 'before', 'cursor', 'offset', 'page', 'start']
7001
+ */
7002
+ keywords?: ReadonlyArray<string>;
7003
+ };
7004
+ /**
7005
+ * Custom input transformations to execute before parsing. Use this
7006
+ * to modify, fix, or enhance input before it's passed to plugins.
7007
+ */
7008
+ patch?: Patch;
7009
+ /**
7010
+ * Built-in transformations that modify or normalize the input before it's
7011
+ * passed to plugins. These options enable predictable, documented behaviors
7012
+ * and are distinct from custom patches. Use this to perform structural
7013
+ * changes to input in a standardized way.
7014
+ */
7015
+ transforms?: {
7016
+ /**
7017
+ * Your input might contain two types of enums:
7018
+ * - enums defined as reusable components (root enums)
7019
+ * - non-reusable enums nested within other schemas (inline enums)
7020
+ *
7021
+ * You may want all enums to be reusable. This is because only root enums
6637
7022
  * are typically exported by plugins. Inline enums will never be directly
6638
7023
  * importable since they're nested inside other schemas.
6639
7024
  *
@@ -6775,7 +7160,7 @@ type Parser = {
6775
7160
  * Use these to classify resources, control which outputs are generated,
6776
7161
  * or provide custom behavior for specific resources.
6777
7162
  */
6778
- hooks: IR$1.Hooks;
7163
+ hooks: Hooks;
6779
7164
  /**
6780
7165
  * Pagination configuration.
6781
7166
  */
@@ -7400,6 +7785,20 @@ interface Client$2 {
7400
7785
  version: string;
7401
7786
  }
7402
7787
  //#endregion
7788
+ //#region src/utils/logger.d.ts
7789
+ declare class Logger {
7790
+ private events;
7791
+ private end;
7792
+ report(print?: boolean): PerformanceMeasure | undefined;
7793
+ private reportEvent;
7794
+ private start;
7795
+ private storeEvent;
7796
+ timeEvent(name: string): {
7797
+ mark: PerformanceMark;
7798
+ timeEnd: () => void;
7799
+ };
7800
+ }
7801
+ //#endregion
7403
7802
  //#region src/openApi/v2/interfaces/OpenApiExternalDocs.d.ts
7404
7803
  /**
7405
7804
  * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#external-documentation-object
@@ -7684,7 +8083,7 @@ interface OpenApiTag$1 {
7684
8083
  /**
7685
8084
  * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md
7686
8085
  */
7687
- interface OpenApi$2 {
8086
+ interface OpenApi$1 {
7688
8087
  basePath?: string;
7689
8088
  consumes?: string[];
7690
8089
  definitions?: Dictionary<OpenApiSchema>;
@@ -7972,7 +8371,7 @@ interface OpenApiTag {
7972
8371
  /**
7973
8372
  * {@link} https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md
7974
8373
  */
7975
- interface OpenApi$3 {
8374
+ interface OpenApi$2 {
7976
8375
  components?: OpenApiComponents;
7977
8376
  externalDocs?: OpenApiExternalDocs;
7978
8377
  info: OpenApiInfo;
@@ -7984,7 +8383,7 @@ interface OpenApi$3 {
7984
8383
  }
7985
8384
  //#endregion
7986
8385
  //#region src/openApi/common/interfaces/OpenApi.d.ts
7987
- type OpenApi = OpenApi$2 | OpenApi$3;
8386
+ type OpenApi = OpenApi$1 | OpenApi$2;
7988
8387
  //#endregion
7989
8388
  //#region src/openApi/index.d.ts
7990
8389
  /**
@@ -8004,160 +8403,6 @@ declare const parseOpenApiSpec: ({
8004
8403
  spec: unknown;
8005
8404
  }) => IR$1.Context | undefined;
8006
8405
  //#endregion
8007
- //#region src/ir/graph.d.ts
8008
- declare const irTopLevelKinds: readonly ["operation", "parameter", "requestBody", "schema", "server", "webhook"];
8009
- type IrTopLevelKind = (typeof irTopLevelKinds)[number];
8010
- //#endregion
8011
- //#region src/plugins/shared/types/instance.d.ts
8012
- type WalkEvents = {
8013
- _path: ReadonlyArray<string | number>;
8014
- method: keyof IR$1.PathItemObject;
8015
- operation: IR$1.OperationObject;
8016
- path: string;
8017
- type: Extract<IrTopLevelKind, 'operation'>;
8018
- } | {
8019
- $ref: string;
8020
- _path: ReadonlyArray<string | number>;
8021
- name: string;
8022
- parameter: IR$1.ParameterObject;
8023
- type: Extract<IrTopLevelKind, 'parameter'>;
8024
- } | {
8025
- $ref: string;
8026
- _path: ReadonlyArray<string | number>;
8027
- name: string;
8028
- requestBody: IR$1.RequestBodyObject;
8029
- type: Extract<IrTopLevelKind, 'requestBody'>;
8030
- } | {
8031
- $ref: string;
8032
- _path: ReadonlyArray<string | number>;
8033
- name: string;
8034
- schema: IR$1.SchemaObject;
8035
- type: Extract<IrTopLevelKind, 'schema'>;
8036
- } | {
8037
- _path: ReadonlyArray<string | number>;
8038
- server: IR$1.ServerObject;
8039
- type: Extract<IrTopLevelKind, 'server'>;
8040
- } | {
8041
- _path: ReadonlyArray<string | number>;
8042
- key: string;
8043
- method: keyof IR$1.PathItemObject;
8044
- operation: IR$1.OperationObject;
8045
- type: Extract<IrTopLevelKind, 'webhook'>;
8046
- };
8047
- type WalkEvent<T$1 extends IrTopLevelKind = IrTopLevelKind> = Extract<WalkEvents, {
8048
- type: T$1;
8049
- }>;
8050
- type WalkOptions = {
8051
- /**
8052
- * Order of walking schemas.
8053
- *
8054
- * The "declarations" option ensures that schemas are walked in the order
8055
- * they are declared in the input document. This is useful for scenarios where
8056
- * the order of declaration matters, such as when generating code that relies
8057
- * on the sequence of schema definitions.
8058
- *
8059
- * The "topological" option ensures that schemas are walked in an order
8060
- * where dependencies are visited before the schemas that depend on them.
8061
- * This is useful for scenarios where you need to process or generate
8062
- * schemas in a way that respects their interdependencies.
8063
- *
8064
- * @default 'topological'
8065
- */
8066
- order?: 'declarations' | 'topological';
8067
- };
8068
- //#endregion
8069
- //#region src/plugins/shared/utils/instance.d.ts
8070
- declare class PluginInstance<T$1 extends Plugin.Types = Plugin.Types> {
8071
- api: T$1['api'];
8072
- config: Omit<T$1['resolvedConfig'], 'name' | 'output'>;
8073
- context: IR$1.Context;
8074
- dependencies: Required<Plugin.Config<T$1>>['dependencies'];
8075
- gen: IProject;
8076
- private handler;
8077
- name: T$1['resolvedConfig']['name'];
8078
- output: string;
8079
- /**
8080
- * The package metadata and utilities for the current context, constructed
8081
- * from the provided dependencies. Used for managing package-related
8082
- * information such as name, version, and dependency resolution during
8083
- * code generation.
8084
- */
8085
- package: IR$1.Context['package'];
8086
- constructor(props: Pick<Required<Plugin.Config<T$1>>, 'config' | 'dependencies' | 'handler'> & {
8087
- api?: T$1['api'];
8088
- context: IR$1.Context<OpenApi$1.V2_0_X | OpenApi$1.V3_0_X | OpenApi$1.V3_1_X>;
8089
- gen: IProject;
8090
- name: string;
8091
- output: string;
8092
- });
8093
- /**
8094
- * Iterates over various input elements as specified by the event types, in
8095
- * a specific order: servers, schemas, parameters, request bodies, then
8096
- * operations.
8097
- *
8098
- * This ensures, for example, that schemas are always processed before
8099
- * operations, which may reference them.
8100
- *
8101
- * @template T - The event type(s) to yield. Defaults to all event types.
8102
- * @param events - The event types to walk over. If none are provided, all event types are included.
8103
- * @param callback - Function to execute for each event.
8104
- *
8105
- * @example
8106
- * // Iterate over all operations and schemas
8107
- * plugin.forEach('operation', 'schema', (event) => {
8108
- * if (event.type === 'operation') {
8109
- * // handle operation
8110
- * } else if (event.type === 'schema') {
8111
- * // handle schema
8112
- * }
8113
- * });
8114
- */
8115
- forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void]): void;
8116
- forEach<T extends IrTopLevelKind = IrTopLevelKind>(...args: [...events: ReadonlyArray<T$1>, callback: (event: WalkEvent<T$1>) => void, options: WalkOptions]): void;
8117
- private forEachError;
8118
- /**
8119
- * Retrieves a registered plugin instance by its name from the context. This
8120
- * allows plugins to access other plugins that have been registered in the
8121
- * same context, enabling cross-plugin communication and dependencies.
8122
- *
8123
- * @param name Plugin name as defined in the configuration.
8124
- * @returns The plugin instance if found, undefined otherwise.
8125
- */
8126
- getPlugin<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> | undefined : never;
8127
- /**
8128
- * Retrieves a registered plugin instance by its name from the context. This
8129
- * allows plugins to access other plugins that have been registered in the
8130
- * same context, enabling cross-plugin communication and dependencies.
8131
- *
8132
- * @param name Plugin name as defined in the configuration.
8133
- * @returns The plugin instance if found, throw otherwise.
8134
- */
8135
- getPluginOrThrow<T extends keyof PluginConfigMap>(name: T$1): T$1 extends any ? PluginInstance<PluginConfigMap[T$1]> : never;
8136
- getSymbol(symbolIdOrSelector: number | Selector): Symbol | undefined;
8137
- private getSymbolFilePath;
8138
- getSymbolValue(idOrSymbol: number | Symbol): unknown;
8139
- hasSymbolValue(idOrSymbol: number | Symbol): boolean;
8140
- hooks: {
8141
- operation: {
8142
- isMutation: (operation: IR$1.OperationObject) => boolean;
8143
- isQuery: (operation: IR$1.OperationObject) => boolean;
8144
- };
8145
- symbol: {
8146
- getFilePath: (symbol: Symbol) => string | undefined;
8147
- };
8148
- };
8149
- private isOperationKind;
8150
- isSymbolRegistered(symbolIdOrSelector: number | Selector): boolean;
8151
- referenceSymbol(symbolIdOrSelector: number | Selector): Symbol;
8152
- registerSymbol(symbol: SymbolIn): Symbol;
8153
- /**
8154
- * Executes plugin's handler function.
8155
- */
8156
- run(): Promise<void>;
8157
- setSymbolValue(idOrSymbol: number | Symbol, value: unknown): Map<number, unknown>;
8158
- private symbolToId;
8159
- }
8160
- //#endregion
8161
8406
  //#region src/types/client.d.ts
8162
8407
  interface Operation extends Omit<Operation$1, 'tags'> {
8163
8408
  service: string;
@@ -8197,7 +8442,7 @@ type BaseConfig = {
8197
8442
  * Use these to classify resources, control which outputs are generated,
8198
8443
  * or provide custom behavior for specific resources.
8199
8444
  */
8200
- '~hooks'?: IR$1.Hooks;
8445
+ '~hooks'?: Hooks;
8201
8446
  };
8202
8447
 
8203
8448
  /**
@@ -8596,1284 +8841,107 @@ declare namespace Client {
8596
8841
  * `setConfig()`. This is useful for example if you're using Next.js
8597
8842
  * to ensure your client always has the correct values.
8598
8843
  */
8599
- runtimeConfigPath?: string;
8600
- /**
8601
- * Should the type helper for base URL allow only values matching the
8602
- * server(s) defined in the input? By default, `strictBaseUrl` is `false`
8603
- * which will provide type hints and allow you to pass any string.
8604
- *
8605
- * Note that setting `strictBaseUrl` to `true` can produce an invalid
8606
- * build if you specify `baseUrl` which doesn't conform to the type helper.
8607
- *
8608
- * @default false
8609
- */
8610
- strictBaseUrl?: boolean;
8611
- };
8612
- }
8613
- //#endregion
8614
- //#region src/plugins/@hey-api/client-angular/api.d.ts
8615
- type SelectorType$14 = 'client';
8616
- type IApi$14 = {
8617
- /**
8618
- * @param type Selector type.
8619
- * @param value Depends on `type`:
8620
- * - `client`: never
8621
- * @returns Selector array
8622
- */
8623
- selector: (type: SelectorType$14, value?: string) => Selector;
8624
- };
8625
- //#endregion
8626
- //#region src/plugins/@hey-api/client-angular/types.d.ts
8627
- type UserConfig$20 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8628
- /**
8629
- * Throw an error instead of returning it in the response?
8630
- *
8631
- * @default false
8632
- */
8633
- throwOnError?: boolean;
8634
- };
8635
- type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$14>;
8636
- //#endregion
8637
- //#region src/plugins/@hey-api/legacy-angular/types.d.ts
8638
- type UserConfig$19 = Plugin.Name<'legacy/angular'> & Pick<Client.Config, 'output'>;
8639
- type HeyApiClientLegacyAngularPlugin = DefinePlugin<UserConfig$19>;
8640
- //#endregion
8641
- //#region src/plugins/@hey-api/legacy-axios/types.d.ts
8642
- type UserConfig$18 = Plugin.Name<'legacy/axios'> & Pick<Client.Config, 'output'>;
8643
- type HeyApiClientLegacyAxiosPlugin = DefinePlugin<UserConfig$18>;
8644
- //#endregion
8645
- //#region src/plugins/@hey-api/legacy-fetch/types.d.ts
8646
- type UserConfig$17 = Plugin.Name<'legacy/fetch'> & Pick<Client.Config, 'output'>;
8647
- type HeyApiClientLegacyFetchPlugin = DefinePlugin<UserConfig$17>;
8648
- //#endregion
8649
- //#region src/plugins/@hey-api/legacy-node/types.d.ts
8650
- type UserConfig$16 = Plugin.Name<'legacy/node'> & Pick<Client.Config, 'output'>;
8651
- type HeyApiClientLegacyNodePlugin = DefinePlugin<UserConfig$16>;
8652
- //#endregion
8653
- //#region src/plugins/@hey-api/legacy-xhr/types.d.ts
8654
- type UserConfig$15 = Plugin.Name<'legacy/xhr'> & Pick<Client.Config, 'output'>;
8655
- type HeyApiClientLegacyXhrPlugin = DefinePlugin<UserConfig$15>;
8656
- //#endregion
8657
- //#region src/plugins/@hey-api/schemas/api.d.ts
8658
- type SelectorType$13 = 'ref';
8659
- type IApi$13 = {
8660
- /**
8661
- * @param type Selector type.
8662
- * @param value Depends on `type`:
8663
- * - `ref`: `$ref` JSON pointer
8664
- * @returns Selector array
8665
- */
8666
- selector: (type: SelectorType$13, value?: string) => Selector;
8667
- };
8668
- //#endregion
8669
- //#region src/plugins/@hey-api/schemas/types.d.ts
8670
- type UserConfig$14 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8671
- /**
8672
- * Should the exports from the generated files be re-exported in the index
8673
- * barrel file?
8674
- *
8675
- * @default false
8676
- */
8677
- exportFromIndex?: boolean;
8678
- /**
8679
- * Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
8680
- * valid JavaScript/TypeScript identifier, e.g. if your schema name is
8681
- * "Foo-Bar", `name` value would be "FooBar".
8682
- *
8683
- * @default '{{name}}Schema'
8684
- */
8685
- nameBuilder?: string | ((name: string, schema: OpenApiSchema | OpenApiSchema$1 | OpenApiV2_0_XTypes['SchemaObject'] | OpenApiV3_0_XTypes['ReferenceObject'] | OpenApiV3_0_XTypes['SchemaObject'] | OpenApiV3_1_XTypes['SchemaObject']) => string);
8686
- /**
8687
- * Choose schema type to generate. Select 'form' if you don't want
8688
- * descriptions to reduce bundle size and you plan to use schemas
8689
- * for form validation
8690
- *
8691
- * @default 'json'
8692
- */
8693
- type?: 'form' | 'json';
8694
- };
8695
- type HeyApiSchemasPlugin = DefinePlugin<UserConfig$14, UserConfig$14, IApi$13>;
8696
- declare namespace module_d_exports {
8697
- export { ImportExportItem, createCallExpression, createConstVariable, createExportAllDeclaration, createNamedExportDeclarations, createNamedImportDeclarations };
8698
- }
8699
- /**
8700
- * Create export all declaration. Example: `export * from './y'`.
8701
- * @param module - module containing exports
8702
- * @returns ts.ExportDeclaration
8703
- */
8704
- declare const createExportAllDeclaration: ({
8705
- module,
8706
- shouldAppendJs
8707
- }: {
8708
- module: string;
8709
- shouldAppendJs?: boolean;
8710
- }) => ts.ExportDeclaration;
8711
- type ImportExportItem = ImportExportItemObject | string;
8712
- declare const createCallExpression: ({
8713
- functionName,
8714
- parameters,
8715
- types
8716
- }: {
8717
- functionName: string | ts.PropertyAccessExpression | ts.PropertyAccessChain | ts.ElementAccessExpression | ts.Expression;
8718
- parameters?: Array<string | ts.Expression | undefined>;
8719
- types?: ReadonlyArray<ts.TypeNode>;
8720
- }) => ts.CallExpression;
8721
- /**
8722
- * Create a named export declaration. Example: `export { X } from './y'`.
8723
- * @param exports - named imports to export
8724
- * @param module - module containing exports
8725
- * @returns ts.ExportDeclaration
8726
- */
8727
- declare const createNamedExportDeclarations: ({
8728
- exports,
8729
- module
8730
- }: {
8731
- exports: Array<ImportExportItem> | ImportExportItem;
8732
- module: string;
8733
- }) => ts.ExportDeclaration;
8734
- /**
8735
- * Create a const variable. Optionally, it can use const assertion or export
8736
- * statement. Example: `export x = {} as const`.
8737
- * @param assertion use const assertion?
8738
- * @param exportConst export created variable?
8739
- * @param expression expression for the variable.
8740
- * @param name name of the variable.
8741
- * @returns ts.VariableStatement
8742
- */
8743
- declare const createConstVariable: ({
8744
- assertion,
8745
- comment,
8746
- destructure,
8747
- exportConst,
8748
- expression,
8749
- name,
8750
- typeName
8751
- }: {
8752
- assertion?: "const" | ts.TypeNode;
8753
- comment?: Comments;
8754
- destructure?: boolean;
8755
- exportConst?: boolean;
8756
- expression: ts.Expression;
8757
- name: string | ts.TypeReferenceNode;
8758
- typeName?: string | ts.IndexedAccessTypeNode | ts.TypeNode;
8759
- }) => ts.VariableStatement;
8760
- /**
8761
- * Create a named import declaration. Example: `import { X } from './y'`.
8762
- * @param imports - named exports to import
8763
- * @param module - module containing imports
8764
- * @returns ts.ImportDeclaration
8765
- */
8766
- declare const createNamedImportDeclarations: ({
8767
- imports,
8768
- module
8769
- }: {
8770
- imports: Array<ImportExportItem> | ImportExportItem;
8771
- module: string;
8772
- }) => ts.ImportDeclaration;
8773
- //#endregion
8774
- //#region src/tsc/typedef.d.ts
8775
- type Property = {
8776
- comment?: Comments;
8777
- isReadOnly?: boolean;
8778
- isRequired?: boolean;
8779
- name: string | ts.PropertyName;
8780
- type: any | ts.TypeNode;
8781
- };
8782
- //#endregion
8783
- //#region src/tsc/index.d.ts
8784
- declare const tsc: {
8785
- anonymousFunction: ({
8786
- async,
8787
- comment,
8788
- multiLine,
8789
- parameters,
8790
- returnType,
8791
- statements,
8792
- types: types_d_exports
8793
- }: {
8794
- async?: boolean;
8795
- comment?: Comments;
8796
- multiLine?: boolean;
8797
- parameters?: FunctionParameter[];
8798
- returnType?: string | typescript0.TypeNode;
8799
- statements?: ReadonlyArray<typescript0.Statement>;
8800
- types?: FunctionTypeParameter[];
8801
- }) => typescript0.FunctionExpression;
8802
- arrayLiteralExpression: <T>({
8803
- elements,
8804
- multiLine
8805
- }: {
8806
- elements: T[];
8807
- multiLine?: boolean;
8808
- }) => typescript0.ArrayLiteralExpression;
8809
- arrowFunction: ({
8810
- async,
8811
- comment,
8812
- multiLine,
8813
- parameters,
8814
- returnType,
8815
- statements,
8816
- types: types_d_exports
8817
- }: {
8818
- async?: boolean;
8819
- comment?: Comments;
8820
- multiLine?: boolean;
8821
- parameters?: ReadonlyArray<FunctionParameter>;
8822
- returnType?: string | typescript0.TypeNode;
8823
- statements?: typescript0.Statement[] | typescript0.Expression;
8824
- types?: FunctionTypeParameter[];
8825
- }) => typescript0.ArrowFunction;
8826
- asExpression: ({
8827
- expression,
8828
- type
8829
- }: {
8830
- expression: typescript0.Expression;
8831
- type: typescript0.TypeNode;
8832
- }) => typescript0.AsExpression;
8833
- assignment: ({
8834
- left,
8835
- right
8836
- }: {
8837
- left: typescript0.Expression;
8838
- right: typescript0.Expression;
8839
- }) => typescript0.AssignmentExpression<typescript0.EqualsToken>;
8840
- awaitExpression: ({
8841
- expression
8842
- }: {
8843
- expression: typescript0.Expression;
8844
- }) => typescript0.AwaitExpression;
8845
- binaryExpression: ({
8846
- left,
8847
- operator,
8848
- right
8849
- }: {
8850
- left: typescript0.Expression;
8851
- operator?: "=" | "===" | "!==" | "in" | "??";
8852
- right: typescript0.Expression | string;
8853
- }) => typescript0.BinaryExpression;
8854
- block: ({
8855
- multiLine,
8856
- statements
8857
- }: {
8858
- multiLine?: boolean;
8859
- statements: ReadonlyArray<typescript0.Statement>;
8860
- }) => typescript0.Block;
8861
- callExpression: ({
8862
- functionName,
8863
- parameters,
8864
- types: types_d_exports
8865
- }: {
8866
- functionName: string | typescript0.PropertyAccessExpression | typescript0.PropertyAccessChain | typescript0.ElementAccessExpression | typescript0.Expression;
8867
- parameters?: Array<string | typescript0.Expression | undefined>;
8868
- types?: ReadonlyArray<typescript0.TypeNode>;
8869
- }) => typescript0.CallExpression;
8870
- classDeclaration: ({
8871
- decorator,
8872
- exportClass,
8873
- extendedClasses,
8874
- name,
8875
- nodes
8876
- }: {
8877
- decorator?: {
8878
- args: any[];
8879
- name: string;
8880
- };
8881
- exportClass?: boolean;
8882
- extendedClasses?: ReadonlyArray<string>;
8883
- name: string;
8884
- nodes: ReadonlyArray<typescript0.ClassElement>;
8885
- }) => typescript0.ClassDeclaration;
8886
- conditionalExpression: ({
8887
- condition,
8888
- whenFalse,
8889
- whenTrue
8890
- }: {
8891
- condition: typescript0.Expression;
8892
- whenFalse: typescript0.Expression;
8893
- whenTrue: typescript0.Expression;
8894
- }) => typescript0.ConditionalExpression;
8895
- constVariable: ({
8896
- assertion,
8897
- comment,
8898
- destructure,
8899
- exportConst,
8900
- expression,
8901
- name,
8902
- typeName
8903
- }: {
8904
- assertion?: "const" | typescript0.TypeNode;
8905
- comment?: Comments;
8906
- destructure?: boolean;
8907
- exportConst?: boolean;
8908
- expression: typescript0.Expression;
8909
- name: string | typescript0.TypeReferenceNode;
8910
- typeName?: string | typescript0.IndexedAccessTypeNode | typescript0.TypeNode;
8911
- }) => typescript0.VariableStatement;
8912
- constructorDeclaration: ({
8913
- accessLevel,
8914
- comment,
8915
- multiLine,
8916
- parameters,
8917
- statements
8918
- }: {
8919
- accessLevel?: AccessLevel;
8920
- comment?: Comments;
8921
- multiLine?: boolean;
8922
- parameters?: FunctionParameter[];
8923
- statements?: typescript0.Statement[];
8924
- }) => typescript0.ConstructorDeclaration;
8925
- enumDeclaration: <T extends Record<string, any> | Array<ObjectValue>>({
8926
- asConst,
8927
- comments: enumMemberComments,
8928
- leadingComment: comments,
8929
- name,
8930
- obj
8931
- }: {
8932
- asConst: boolean;
8933
- comments?: Record<string | number, Comments>;
8934
- leadingComment?: Comments;
8935
- name: string | typescript0.TypeReferenceNode;
8936
- obj: T;
8937
- }) => typescript0.EnumDeclaration;
8938
- exportAllDeclaration: ({
8939
- module: module_d_exports,
8940
- shouldAppendJs
8941
- }: {
8942
- module: string;
8943
- shouldAppendJs?: boolean;
8944
- }) => typescript0.ExportDeclaration;
8945
- exportNamedDeclaration: ({
8946
- exports,
8947
- module: module_d_exports
8948
- }: {
8949
- exports: Array<ImportExportItem> | ImportExportItem;
8950
- module: string;
8951
- }) => typescript0.ExportDeclaration;
8952
- expressionToStatement: ({
8953
- expression
8954
- }: {
8955
- expression: typescript0.Expression;
8956
- }) => typescript0.ExpressionStatement;
8957
- forOfStatement: ({
8958
- awaitModifier,
8959
- expression,
8960
- initializer,
8961
- statement
8962
- }: {
8963
- awaitModifier?: typescript0.AwaitKeyword;
8964
- expression: typescript0.Expression;
8965
- initializer: typescript0.ForInitializer;
8966
- statement: typescript0.Statement;
8967
- }) => typescript0.ForOfStatement;
8968
- functionTypeNode: ({
8969
- parameters,
8970
- returnType,
8971
- typeParameters
8972
- }: {
8973
- parameters?: typescript0.ParameterDeclaration[];
8974
- returnType: typescript0.TypeNode;
8975
- typeParameters?: typescript0.TypeParameterDeclaration[];
8976
- }) => typescript0.FunctionTypeNode;
8977
- getAccessorDeclaration: ({
8978
- name,
8979
- returnType,
8980
- statements
8981
- }: {
8982
- name: string | typescript0.PropertyName;
8983
- returnType?: string | typescript0.Identifier;
8984
- statements: ReadonlyArray<typescript0.Statement>;
8985
- }) => typescript0.GetAccessorDeclaration;
8986
- identifier: ({
8987
- text
8988
- }: {
8989
- text: string;
8990
- }) => typescript0.Identifier;
8991
- ifStatement: ({
8992
- elseStatement,
8993
- expression,
8994
- thenStatement
8995
- }: {
8996
- elseStatement?: typescript0.Statement;
8997
- expression: typescript0.Expression;
8998
- thenStatement: typescript0.Statement;
8999
- }) => typescript0.IfStatement;
9000
- indexedAccessTypeNode: ({
9001
- indexType,
9002
- objectType
9003
- }: {
9004
- indexType: typescript0.TypeNode;
9005
- objectType: typescript0.TypeNode;
9006
- }) => typescript0.IndexedAccessTypeNode;
9007
- isTsNode: (node: any) => node is typescript0.Expression;
9008
- keywordTypeNode: ({
9009
- keyword
9010
- }: {
9011
- keyword: Extract<SyntaxKindKeyword, "any" | "boolean" | "never" | "number" | "string" | "undefined" | "unknown" | "void">;
9012
- }) => typescript0.KeywordTypeNode<typescript0.SyntaxKind.VoidKeyword | typescript0.SyntaxKind.AnyKeyword | typescript0.SyntaxKind.BooleanKeyword | typescript0.SyntaxKind.NeverKeyword | typescript0.SyntaxKind.NumberKeyword | typescript0.SyntaxKind.StringKeyword | typescript0.SyntaxKind.UndefinedKeyword | typescript0.SyntaxKind.UnknownKeyword>;
9013
- literalTypeNode: ({
9014
- literal
9015
- }: {
9016
- literal: typescript0.LiteralTypeNode["literal"];
9017
- }) => typescript0.LiteralTypeNode;
9018
- mappedTypeNode: ({
9019
- members,
9020
- nameType,
9021
- questionToken,
9022
- readonlyToken,
9023
- type,
9024
- typeParameter
9025
- }: {
9026
- members?: typescript0.NodeArray<typescript0.TypeElement>;
9027
- nameType?: typescript0.TypeNode;
9028
- questionToken?: typescript0.QuestionToken | typescript0.PlusToken | typescript0.MinusToken;
9029
- readonlyToken?: typescript0.ReadonlyKeyword | typescript0.PlusToken | typescript0.MinusToken;
9030
- type?: typescript0.TypeNode;
9031
- typeParameter: typescript0.TypeParameterDeclaration;
9032
- }) => typescript0.MappedTypeNode;
9033
- methodDeclaration: ({
9034
- accessLevel,
9035
- comment,
9036
- isStatic,
9037
- multiLine,
9038
- name,
9039
- parameters,
9040
- returnType,
9041
- statements,
9042
- types: types_d_exports
9043
- }: {
9044
- accessLevel?: AccessLevel;
9045
- comment?: Comments;
9046
- isStatic?: boolean;
9047
- multiLine?: boolean;
9048
- name: string;
9049
- parameters?: ReadonlyArray<FunctionParameter>;
9050
- returnType?: string | typescript0.TypeNode;
9051
- statements?: typescript0.Statement[];
9052
- types?: FunctionTypeParameter[];
9053
- }) => typescript0.MethodDeclaration;
9054
- namedImportDeclarations: ({
9055
- imports,
9056
- module: module_d_exports
9057
- }: {
9058
- imports: Array<ImportExportItem> | ImportExportItem;
9059
- module: string;
9060
- }) => typescript0.ImportDeclaration;
9061
- namespaceDeclaration: ({
9062
- name,
9063
- statements
9064
- }: {
9065
- name: string;
9066
- statements: Array<typescript0.Statement>;
9067
- }) => typescript0.ModuleDeclaration;
9068
- newExpression: ({
9069
- argumentsArray,
9070
- expression,
9071
- typeArguments
9072
- }: {
9073
- argumentsArray?: Array<typescript0.Expression>;
9074
- expression: typescript0.Expression;
9075
- typeArguments?: Array<typescript0.TypeNode>;
9076
- }) => typescript0.NewExpression;
9077
- nodeToString: typeof tsNodeToString;
9078
- null: () => typescript0.NullLiteral;
9079
- objectExpression: <T extends Record<string, any> | Array<ObjectValue>>({
9080
- comments,
9081
- identifiers,
9082
- multiLine,
9083
- obj,
9084
- shorthand,
9085
- unescape
9086
- }: {
9087
- comments?: Comments;
9088
- identifiers?: string[];
9089
- multiLine?: boolean;
9090
- obj: T;
9091
- shorthand?: boolean;
9092
- unescape?: boolean;
9093
- }) => typescript0.ObjectLiteralExpression;
9094
- ots: {
9095
- boolean: (value: boolean) => typescript0.TrueLiteral | typescript0.FalseLiteral;
9096
- export: ({
9097
- alias,
9098
- asType,
9099
- name
9100
- }: ImportExportItemObject) => typescript0.ExportSpecifier;
9101
- import: ({
9102
- alias,
9103
- asType,
9104
- name
9105
- }: ImportExportItemObject) => typescript0.ImportSpecifier;
9106
- number: (value: number) => typescript0.NumericLiteral | typescript0.PrefixUnaryExpression;
9107
- string: (value: string, unescape?: boolean) => typescript0.Identifier | typescript0.StringLiteral;
9108
- };
9109
- parameterDeclaration: ({
9110
- initializer,
9111
- modifiers,
9112
- name,
9113
- required,
9114
- type
9115
- }: {
9116
- initializer?: typescript0.Expression;
9117
- modifiers?: ReadonlyArray<typescript0.ModifierLike>;
9118
- name: string | typescript0.BindingName;
9119
- required?: boolean;
9120
- type?: typescript0.TypeNode;
9121
- }) => typescript0.ParameterDeclaration;
9122
- propertyAccessExpression: ({
9123
- expression,
9124
- isOptional,
9125
- name
9126
- }: {
9127
- expression: string | typescript0.Expression;
9128
- isOptional?: boolean;
9129
- name: string | number | typescript0.MemberName;
9130
- }) => typescript0.PropertyAccessChain | typescript0.PropertyAccessExpression | typescript0.ElementAccessExpression;
9131
- propertyAccessExpressions: ({
9132
- expressions
9133
- }: {
9134
- expressions: Array<string | typescript0.Expression | typescript0.MemberName>;
9135
- }) => typescript0.PropertyAccessExpression;
9136
- propertyAssignment: ({
9137
- initializer,
9138
- name
9139
- }: {
9140
- initializer: typescript0.Expression;
9141
- name: string | typescript0.PropertyName;
9142
- }) => typescript0.PropertyAssignment;
9143
- propertyDeclaration: ({
9144
- initializer,
9145
- modifier,
9146
- name,
9147
- type
9148
- }: {
9149
- initializer?: typescript0.Expression;
9150
- modifier?: "async" | AccessLevel | "export" | "readonly" | "static";
9151
- name: string | typescript0.PropertyName;
9152
- type?: typescript0.TypeNode;
9153
- }) => typescript0.PropertyDeclaration;
9154
- regularExpressionLiteral: ({
9155
- flags,
9156
- text
9157
- }: {
9158
- flags?: ReadonlyArray<"g" | "i" | "m" | "s" | "u" | "y">;
9159
- text: string;
9160
- }) => typescript0.RegularExpressionLiteral;
9161
- returnFunctionCall: ({
9162
- args,
9163
- name,
9164
- types: types_d_exports
9165
- }: {
9166
- args: any[];
9167
- name: string | typescript0.Expression;
9168
- types?: ReadonlyArray<string | typescript0.StringLiteral>;
9169
- }) => typescript0.ReturnStatement;
9170
- returnStatement: ({
9171
- expression
9172
- }: {
9173
- expression?: typescript0.Expression;
9174
- }) => typescript0.ReturnStatement;
9175
- returnVariable: ({
9176
- expression
9177
- }: {
9178
- expression: string | typescript0.Expression;
9179
- }) => typescript0.ReturnStatement;
9180
- safeAccessExpression: (path: string[]) => typescript0.Expression;
9181
- stringLiteral: ({
9182
- isSingleQuote,
9183
- text
9184
- }: {
9185
- isSingleQuote?: boolean;
9186
- text: string;
9187
- }) => typescript0.StringLiteral;
9188
- templateLiteralType: ({
9189
- value
9190
- }: {
9191
- value: ReadonlyArray<string | typescript0.TypeNode>;
9192
- }) => typescript0.TemplateLiteralTypeNode;
9193
- this: () => typescript0.ThisExpression;
9194
- transformArrayMap: ({
9195
- path,
9196
- transformExpression
9197
- }: {
9198
- path: string[];
9199
- transformExpression: typescript0.Expression;
9200
- }) => typescript0.IfStatement;
9201
- transformArrayMutation: ({
9202
- path,
9203
- transformerName
9204
- }: {
9205
- path: string[];
9206
- transformerName: string;
9207
- }) => typescript0.Statement;
9208
- transformDateMutation: ({
9209
- path
9210
- }: {
9211
- path: string[];
9212
- }) => typescript0.Statement;
9213
- transformFunctionMutation: ({
9214
- path,
9215
- transformerName
9216
- }: {
9217
- path: string[];
9218
- transformerName: string;
9219
- }) => typescript0.IfStatement[];
9220
- transformNewDate: ({
9221
- parameterName
9222
- }: {
9223
- parameterName: string;
9224
- }) => typescript0.NewExpression;
9225
- typeAliasDeclaration: ({
9226
- comment,
9227
- exportType,
9228
- name,
9229
- type,
9230
- typeParameters
9231
- }: {
9232
- comment?: Comments;
9233
- exportType?: boolean;
9234
- name: string | typescript0.TypeReferenceNode;
9235
- type: string | typescript0.TypeNode | typescript0.Identifier;
9236
- typeParameters?: FunctionTypeParameter[];
9237
- }) => typescript0.TypeAliasDeclaration;
9238
- typeArrayNode: (types: ReadonlyArray<any | typescript0.TypeNode> | typescript0.TypeNode | typescript0.Identifier | string, isNullable?: boolean) => typescript0.TypeNode;
9239
- typeInterfaceNode: ({
9240
- indexKey,
9241
- indexProperty,
9242
- isNullable,
9243
- properties,
9244
- useLegacyResolution
9245
- }: {
9246
- indexKey?: typescript0.TypeReferenceNode;
9247
- indexProperty?: Property;
9248
- isNullable?: boolean;
9249
- properties: Property[];
9250
- useLegacyResolution: boolean;
9251
- }) => typescript0.TypeNode;
9252
- typeIntersectionNode: ({
9253
- isNullable,
9254
- types: types_d_exports
9255
- }: {
9256
- isNullable?: boolean;
9257
- types: (any | typescript0.TypeNode)[];
9258
- }) => typescript0.TypeNode;
9259
- typeNode: (base: any | typescript0.TypeNode, args?: (any | typescript0.TypeNode)[]) => typescript0.TypeNode;
9260
- typeOfExpression: ({
9261
- text
9262
- }: {
9263
- text: string | typescript0.Identifier;
9264
- }) => typescript0.TypeOfExpression;
9265
- typeOperatorNode: ({
9266
- operator,
9267
- type
9268
- }: {
9269
- operator: "keyof" | "readonly" | "unique";
9270
- type: typescript0.TypeNode;
9271
- }) => typescript0.TypeOperatorNode;
9272
- typeParameterDeclaration: ({
9273
- constraint,
9274
- defaultType,
9275
- modifiers,
9276
- name
9277
- }: {
9278
- constraint?: typescript0.TypeNode;
9279
- defaultType?: typescript0.TypeNode;
9280
- modifiers?: Array<typescript0.Modifier>;
9281
- name: string | typescript0.Identifier;
9282
- }) => typescript0.TypeParameterDeclaration;
9283
- typeParenthesizedNode: ({
9284
- type
9285
- }: {
9286
- type: typescript0.TypeNode;
9287
- }) => typescript0.ParenthesizedTypeNode;
9288
- typeRecordNode: (keys: (any | typescript0.TypeNode)[], values: (any | typescript0.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript0.TypeNode;
9289
- typeReferenceNode: ({
9290
- typeArguments,
9291
- typeName
9292
- }: {
9293
- typeArguments?: typescript0.TypeNode[];
9294
- typeName: string | typescript0.EntityName;
9295
- }) => typescript0.TypeReferenceNode;
9296
- typeTupleNode: ({
9297
- isNullable,
9298
- types: types_d_exports
9299
- }: {
9300
- isNullable?: boolean;
9301
- types: Array<any | typescript0.TypeNode>;
9302
- }) => typescript0.TypeNode;
9303
- typeUnionNode: ({
9304
- isNullable,
9305
- types: types_d_exports
9306
- }: {
9307
- isNullable?: boolean;
9308
- types: ReadonlyArray<any | typescript0.TypeNode>;
9309
- }) => typescript0.TypeNode;
9310
- valueToExpression: <T = unknown>({
9311
- identifiers,
9312
- isValueAccess,
9313
- shorthand,
9314
- unescape,
9315
- value
9316
- }: {
9317
- identifiers?: string[];
9318
- isValueAccess?: boolean;
9319
- shorthand?: boolean;
9320
- unescape?: boolean;
9321
- value: T;
9322
- }) => typescript0.Expression | undefined;
8844
+ runtimeConfigPath?: string;
8845
+ /**
8846
+ * Should the type helper for base URL allow only values matching the
8847
+ * server(s) defined in the input? By default, `strictBaseUrl` is `false`
8848
+ * which will provide type hints and allow you to pass any string.
8849
+ *
8850
+ * Note that setting `strictBaseUrl` to `true` can produce an invalid
8851
+ * build if you specify `baseUrl` which doesn't conform to the type helper.
8852
+ *
8853
+ * @default false
8854
+ */
8855
+ strictBaseUrl?: boolean;
8856
+ };
8857
+ }
8858
+ //#endregion
8859
+ //#region src/plugins/@hey-api/client-angular/api.d.ts
8860
+ type SelectorType$14 = 'client';
8861
+ type IApi$14 = {
8862
+ /**
8863
+ * @param type Selector type.
8864
+ * @param value Depends on `type`:
8865
+ * - `client`: never
8866
+ * @returns Selector array
8867
+ */
8868
+ selector: (type: SelectorType$14, value?: string) => Selector;
9323
8869
  };
9324
- /** @deprecated use tsc */
9325
- declare const compiler: {
9326
- anonymousFunction: ({
9327
- async,
9328
- comment,
9329
- multiLine,
9330
- parameters,
9331
- returnType,
9332
- statements,
9333
- types: types_d_exports
9334
- }: {
9335
- async?: boolean;
9336
- comment?: Comments;
9337
- multiLine?: boolean;
9338
- parameters?: FunctionParameter[];
9339
- returnType?: string | typescript0.TypeNode;
9340
- statements?: ReadonlyArray<typescript0.Statement>;
9341
- types?: FunctionTypeParameter[];
9342
- }) => typescript0.FunctionExpression;
9343
- arrayLiteralExpression: <T>({
9344
- elements,
9345
- multiLine
9346
- }: {
9347
- elements: T[];
9348
- multiLine?: boolean;
9349
- }) => typescript0.ArrayLiteralExpression;
9350
- arrowFunction: ({
9351
- async,
9352
- comment,
9353
- multiLine,
9354
- parameters,
9355
- returnType,
9356
- statements,
9357
- types: types_d_exports
9358
- }: {
9359
- async?: boolean;
9360
- comment?: Comments;
9361
- multiLine?: boolean;
9362
- parameters?: ReadonlyArray<FunctionParameter>;
9363
- returnType?: string | typescript0.TypeNode;
9364
- statements?: typescript0.Statement[] | typescript0.Expression;
9365
- types?: FunctionTypeParameter[];
9366
- }) => typescript0.ArrowFunction;
9367
- asExpression: ({
9368
- expression,
9369
- type
9370
- }: {
9371
- expression: typescript0.Expression;
9372
- type: typescript0.TypeNode;
9373
- }) => typescript0.AsExpression;
9374
- assignment: ({
9375
- left,
9376
- right
9377
- }: {
9378
- left: typescript0.Expression;
9379
- right: typescript0.Expression;
9380
- }) => typescript0.AssignmentExpression<typescript0.EqualsToken>;
9381
- awaitExpression: ({
9382
- expression
9383
- }: {
9384
- expression: typescript0.Expression;
9385
- }) => typescript0.AwaitExpression;
9386
- binaryExpression: ({
9387
- left,
9388
- operator,
9389
- right
9390
- }: {
9391
- left: typescript0.Expression;
9392
- operator?: "=" | "===" | "!==" | "in" | "??";
9393
- right: typescript0.Expression | string;
9394
- }) => typescript0.BinaryExpression;
9395
- block: ({
9396
- multiLine,
9397
- statements
9398
- }: {
9399
- multiLine?: boolean;
9400
- statements: ReadonlyArray<typescript0.Statement>;
9401
- }) => typescript0.Block;
9402
- callExpression: ({
9403
- functionName,
9404
- parameters,
9405
- types: types_d_exports
9406
- }: {
9407
- functionName: string | typescript0.PropertyAccessExpression | typescript0.PropertyAccessChain | typescript0.ElementAccessExpression | typescript0.Expression;
9408
- parameters?: Array<string | typescript0.Expression | undefined>;
9409
- types?: ReadonlyArray<typescript0.TypeNode>;
9410
- }) => typescript0.CallExpression;
9411
- classDeclaration: ({
9412
- decorator,
9413
- exportClass,
9414
- extendedClasses,
9415
- name,
9416
- nodes
9417
- }: {
9418
- decorator?: {
9419
- args: any[];
9420
- name: string;
9421
- };
9422
- exportClass?: boolean;
9423
- extendedClasses?: ReadonlyArray<string>;
9424
- name: string;
9425
- nodes: ReadonlyArray<typescript0.ClassElement>;
9426
- }) => typescript0.ClassDeclaration;
9427
- conditionalExpression: ({
9428
- condition,
9429
- whenFalse,
9430
- whenTrue
9431
- }: {
9432
- condition: typescript0.Expression;
9433
- whenFalse: typescript0.Expression;
9434
- whenTrue: typescript0.Expression;
9435
- }) => typescript0.ConditionalExpression;
9436
- constVariable: ({
9437
- assertion,
9438
- comment,
9439
- destructure,
9440
- exportConst,
9441
- expression,
9442
- name,
9443
- typeName
9444
- }: {
9445
- assertion?: "const" | typescript0.TypeNode;
9446
- comment?: Comments;
9447
- destructure?: boolean;
9448
- exportConst?: boolean;
9449
- expression: typescript0.Expression;
9450
- name: string | typescript0.TypeReferenceNode;
9451
- typeName?: string | typescript0.IndexedAccessTypeNode | typescript0.TypeNode;
9452
- }) => typescript0.VariableStatement;
9453
- constructorDeclaration: ({
9454
- accessLevel,
9455
- comment,
9456
- multiLine,
9457
- parameters,
9458
- statements
9459
- }: {
9460
- accessLevel?: AccessLevel;
9461
- comment?: Comments;
9462
- multiLine?: boolean;
9463
- parameters?: FunctionParameter[];
9464
- statements?: typescript0.Statement[];
9465
- }) => typescript0.ConstructorDeclaration;
9466
- enumDeclaration: <T extends Record<string, any> | Array<ObjectValue>>({
9467
- asConst,
9468
- comments: enumMemberComments,
9469
- leadingComment: comments,
9470
- name,
9471
- obj
9472
- }: {
9473
- asConst: boolean;
9474
- comments?: Record<string | number, Comments>;
9475
- leadingComment?: Comments;
9476
- name: string | typescript0.TypeReferenceNode;
9477
- obj: T;
9478
- }) => typescript0.EnumDeclaration;
9479
- exportAllDeclaration: ({
9480
- module: module_d_exports,
9481
- shouldAppendJs
9482
- }: {
9483
- module: string;
9484
- shouldAppendJs?: boolean;
9485
- }) => typescript0.ExportDeclaration;
9486
- exportNamedDeclaration: ({
9487
- exports,
9488
- module: module_d_exports
9489
- }: {
9490
- exports: Array<ImportExportItem> | ImportExportItem;
9491
- module: string;
9492
- }) => typescript0.ExportDeclaration;
9493
- expressionToStatement: ({
9494
- expression
9495
- }: {
9496
- expression: typescript0.Expression;
9497
- }) => typescript0.ExpressionStatement;
9498
- forOfStatement: ({
9499
- awaitModifier,
9500
- expression,
9501
- initializer,
9502
- statement
9503
- }: {
9504
- awaitModifier?: typescript0.AwaitKeyword;
9505
- expression: typescript0.Expression;
9506
- initializer: typescript0.ForInitializer;
9507
- statement: typescript0.Statement;
9508
- }) => typescript0.ForOfStatement;
9509
- functionTypeNode: ({
9510
- parameters,
9511
- returnType,
9512
- typeParameters
9513
- }: {
9514
- parameters?: typescript0.ParameterDeclaration[];
9515
- returnType: typescript0.TypeNode;
9516
- typeParameters?: typescript0.TypeParameterDeclaration[];
9517
- }) => typescript0.FunctionTypeNode;
9518
- getAccessorDeclaration: ({
9519
- name,
9520
- returnType,
9521
- statements
9522
- }: {
9523
- name: string | typescript0.PropertyName;
9524
- returnType?: string | typescript0.Identifier;
9525
- statements: ReadonlyArray<typescript0.Statement>;
9526
- }) => typescript0.GetAccessorDeclaration;
9527
- identifier: ({
9528
- text
9529
- }: {
9530
- text: string;
9531
- }) => typescript0.Identifier;
9532
- ifStatement: ({
9533
- elseStatement,
9534
- expression,
9535
- thenStatement
9536
- }: {
9537
- elseStatement?: typescript0.Statement;
9538
- expression: typescript0.Expression;
9539
- thenStatement: typescript0.Statement;
9540
- }) => typescript0.IfStatement;
9541
- indexedAccessTypeNode: ({
9542
- indexType,
9543
- objectType
9544
- }: {
9545
- indexType: typescript0.TypeNode;
9546
- objectType: typescript0.TypeNode;
9547
- }) => typescript0.IndexedAccessTypeNode;
9548
- isTsNode: (node: any) => node is typescript0.Expression;
9549
- keywordTypeNode: ({
9550
- keyword
9551
- }: {
9552
- keyword: Extract<SyntaxKindKeyword, "any" | "boolean" | "never" | "number" | "string" | "undefined" | "unknown" | "void">;
9553
- }) => typescript0.KeywordTypeNode<typescript0.SyntaxKind.VoidKeyword | typescript0.SyntaxKind.AnyKeyword | typescript0.SyntaxKind.BooleanKeyword | typescript0.SyntaxKind.NeverKeyword | typescript0.SyntaxKind.NumberKeyword | typescript0.SyntaxKind.StringKeyword | typescript0.SyntaxKind.UndefinedKeyword | typescript0.SyntaxKind.UnknownKeyword>;
9554
- literalTypeNode: ({
9555
- literal
9556
- }: {
9557
- literal: typescript0.LiteralTypeNode["literal"];
9558
- }) => typescript0.LiteralTypeNode;
9559
- mappedTypeNode: ({
9560
- members,
9561
- nameType,
9562
- questionToken,
9563
- readonlyToken,
9564
- type,
9565
- typeParameter
9566
- }: {
9567
- members?: typescript0.NodeArray<typescript0.TypeElement>;
9568
- nameType?: typescript0.TypeNode;
9569
- questionToken?: typescript0.QuestionToken | typescript0.PlusToken | typescript0.MinusToken;
9570
- readonlyToken?: typescript0.ReadonlyKeyword | typescript0.PlusToken | typescript0.MinusToken;
9571
- type?: typescript0.TypeNode;
9572
- typeParameter: typescript0.TypeParameterDeclaration;
9573
- }) => typescript0.MappedTypeNode;
9574
- methodDeclaration: ({
9575
- accessLevel,
9576
- comment,
9577
- isStatic,
9578
- multiLine,
9579
- name,
9580
- parameters,
9581
- returnType,
9582
- statements,
9583
- types: types_d_exports
9584
- }: {
9585
- accessLevel?: AccessLevel;
9586
- comment?: Comments;
9587
- isStatic?: boolean;
9588
- multiLine?: boolean;
9589
- name: string;
9590
- parameters?: ReadonlyArray<FunctionParameter>;
9591
- returnType?: string | typescript0.TypeNode;
9592
- statements?: typescript0.Statement[];
9593
- types?: FunctionTypeParameter[];
9594
- }) => typescript0.MethodDeclaration;
9595
- namedImportDeclarations: ({
9596
- imports,
9597
- module: module_d_exports
9598
- }: {
9599
- imports: Array<ImportExportItem> | ImportExportItem;
9600
- module: string;
9601
- }) => typescript0.ImportDeclaration;
9602
- namespaceDeclaration: ({
9603
- name,
9604
- statements
9605
- }: {
9606
- name: string;
9607
- statements: Array<typescript0.Statement>;
9608
- }) => typescript0.ModuleDeclaration;
9609
- newExpression: ({
9610
- argumentsArray,
9611
- expression,
9612
- typeArguments
9613
- }: {
9614
- argumentsArray?: Array<typescript0.Expression>;
9615
- expression: typescript0.Expression;
9616
- typeArguments?: Array<typescript0.TypeNode>;
9617
- }) => typescript0.NewExpression;
9618
- nodeToString: typeof tsNodeToString;
9619
- null: () => typescript0.NullLiteral;
9620
- objectExpression: <T extends Record<string, any> | Array<ObjectValue>>({
9621
- comments,
9622
- identifiers,
9623
- multiLine,
9624
- obj,
9625
- shorthand,
9626
- unescape
9627
- }: {
9628
- comments?: Comments;
9629
- identifiers?: string[];
9630
- multiLine?: boolean;
9631
- obj: T;
9632
- shorthand?: boolean;
9633
- unescape?: boolean;
9634
- }) => typescript0.ObjectLiteralExpression;
9635
- ots: {
9636
- boolean: (value: boolean) => typescript0.TrueLiteral | typescript0.FalseLiteral;
9637
- export: ({
9638
- alias,
9639
- asType,
9640
- name
9641
- }: ImportExportItemObject) => typescript0.ExportSpecifier;
9642
- import: ({
9643
- alias,
9644
- asType,
9645
- name
9646
- }: ImportExportItemObject) => typescript0.ImportSpecifier;
9647
- number: (value: number) => typescript0.NumericLiteral | typescript0.PrefixUnaryExpression;
9648
- string: (value: string, unescape?: boolean) => typescript0.Identifier | typescript0.StringLiteral;
9649
- };
9650
- parameterDeclaration: ({
9651
- initializer,
9652
- modifiers,
9653
- name,
9654
- required,
9655
- type
9656
- }: {
9657
- initializer?: typescript0.Expression;
9658
- modifiers?: ReadonlyArray<typescript0.ModifierLike>;
9659
- name: string | typescript0.BindingName;
9660
- required?: boolean;
9661
- type?: typescript0.TypeNode;
9662
- }) => typescript0.ParameterDeclaration;
9663
- propertyAccessExpression: ({
9664
- expression,
9665
- isOptional,
9666
- name
9667
- }: {
9668
- expression: string | typescript0.Expression;
9669
- isOptional?: boolean;
9670
- name: string | number | typescript0.MemberName;
9671
- }) => typescript0.PropertyAccessChain | typescript0.PropertyAccessExpression | typescript0.ElementAccessExpression;
9672
- propertyAccessExpressions: ({
9673
- expressions
9674
- }: {
9675
- expressions: Array<string | typescript0.Expression | typescript0.MemberName>;
9676
- }) => typescript0.PropertyAccessExpression;
9677
- propertyAssignment: ({
9678
- initializer,
9679
- name
9680
- }: {
9681
- initializer: typescript0.Expression;
9682
- name: string | typescript0.PropertyName;
9683
- }) => typescript0.PropertyAssignment;
9684
- propertyDeclaration: ({
9685
- initializer,
9686
- modifier,
9687
- name,
9688
- type
9689
- }: {
9690
- initializer?: typescript0.Expression;
9691
- modifier?: "async" | AccessLevel | "export" | "readonly" | "static";
9692
- name: string | typescript0.PropertyName;
9693
- type?: typescript0.TypeNode;
9694
- }) => typescript0.PropertyDeclaration;
9695
- regularExpressionLiteral: ({
9696
- flags,
9697
- text
9698
- }: {
9699
- flags?: ReadonlyArray<"g" | "i" | "m" | "s" | "u" | "y">;
9700
- text: string;
9701
- }) => typescript0.RegularExpressionLiteral;
9702
- returnFunctionCall: ({
9703
- args,
9704
- name,
9705
- types: types_d_exports
9706
- }: {
9707
- args: any[];
9708
- name: string | typescript0.Expression;
9709
- types?: ReadonlyArray<string | typescript0.StringLiteral>;
9710
- }) => typescript0.ReturnStatement;
9711
- returnStatement: ({
9712
- expression
9713
- }: {
9714
- expression?: typescript0.Expression;
9715
- }) => typescript0.ReturnStatement;
9716
- returnVariable: ({
9717
- expression
9718
- }: {
9719
- expression: string | typescript0.Expression;
9720
- }) => typescript0.ReturnStatement;
9721
- safeAccessExpression: (path: string[]) => typescript0.Expression;
9722
- stringLiteral: ({
9723
- isSingleQuote,
9724
- text
9725
- }: {
9726
- isSingleQuote?: boolean;
9727
- text: string;
9728
- }) => typescript0.StringLiteral;
9729
- templateLiteralType: ({
9730
- value
9731
- }: {
9732
- value: ReadonlyArray<string | typescript0.TypeNode>;
9733
- }) => typescript0.TemplateLiteralTypeNode;
9734
- this: () => typescript0.ThisExpression;
9735
- transformArrayMap: ({
9736
- path,
9737
- transformExpression
9738
- }: {
9739
- path: string[];
9740
- transformExpression: typescript0.Expression;
9741
- }) => typescript0.IfStatement;
9742
- transformArrayMutation: ({
9743
- path,
9744
- transformerName
9745
- }: {
9746
- path: string[];
9747
- transformerName: string;
9748
- }) => typescript0.Statement;
9749
- transformDateMutation: ({
9750
- path
9751
- }: {
9752
- path: string[];
9753
- }) => typescript0.Statement;
9754
- transformFunctionMutation: ({
9755
- path,
9756
- transformerName
9757
- }: {
9758
- path: string[];
9759
- transformerName: string;
9760
- }) => typescript0.IfStatement[];
9761
- transformNewDate: ({
9762
- parameterName
9763
- }: {
9764
- parameterName: string;
9765
- }) => typescript0.NewExpression;
9766
- typeAliasDeclaration: ({
9767
- comment,
9768
- exportType,
9769
- name,
9770
- type,
9771
- typeParameters
9772
- }: {
9773
- comment?: Comments;
9774
- exportType?: boolean;
9775
- name: string | typescript0.TypeReferenceNode;
9776
- type: string | typescript0.TypeNode | typescript0.Identifier;
9777
- typeParameters?: FunctionTypeParameter[];
9778
- }) => typescript0.TypeAliasDeclaration;
9779
- typeArrayNode: (types: ReadonlyArray<any | typescript0.TypeNode> | typescript0.TypeNode | typescript0.Identifier | string, isNullable?: boolean) => typescript0.TypeNode;
9780
- typeInterfaceNode: ({
9781
- indexKey,
9782
- indexProperty,
9783
- isNullable,
9784
- properties,
9785
- useLegacyResolution
9786
- }: {
9787
- indexKey?: typescript0.TypeReferenceNode;
9788
- indexProperty?: Property;
9789
- isNullable?: boolean;
9790
- properties: Property[];
9791
- useLegacyResolution: boolean;
9792
- }) => typescript0.TypeNode;
9793
- typeIntersectionNode: ({
9794
- isNullable,
9795
- types: types_d_exports
9796
- }: {
9797
- isNullable?: boolean;
9798
- types: (any | typescript0.TypeNode)[];
9799
- }) => typescript0.TypeNode;
9800
- typeNode: (base: any | typescript0.TypeNode, args?: (any | typescript0.TypeNode)[]) => typescript0.TypeNode;
9801
- typeOfExpression: ({
9802
- text
9803
- }: {
9804
- text: string | typescript0.Identifier;
9805
- }) => typescript0.TypeOfExpression;
9806
- typeOperatorNode: ({
9807
- operator,
9808
- type
9809
- }: {
9810
- operator: "keyof" | "readonly" | "unique";
9811
- type: typescript0.TypeNode;
9812
- }) => typescript0.TypeOperatorNode;
9813
- typeParameterDeclaration: ({
9814
- constraint,
9815
- defaultType,
9816
- modifiers,
9817
- name
9818
- }: {
9819
- constraint?: typescript0.TypeNode;
9820
- defaultType?: typescript0.TypeNode;
9821
- modifiers?: Array<typescript0.Modifier>;
9822
- name: string | typescript0.Identifier;
9823
- }) => typescript0.TypeParameterDeclaration;
9824
- typeParenthesizedNode: ({
9825
- type
9826
- }: {
9827
- type: typescript0.TypeNode;
9828
- }) => typescript0.ParenthesizedTypeNode;
9829
- typeRecordNode: (keys: (any | typescript0.TypeNode)[], values: (any | typescript0.TypeNode)[], isNullable?: boolean, useLegacyResolution?: boolean) => typescript0.TypeNode;
9830
- typeReferenceNode: ({
9831
- typeArguments,
9832
- typeName
9833
- }: {
9834
- typeArguments?: typescript0.TypeNode[];
9835
- typeName: string | typescript0.EntityName;
9836
- }) => typescript0.TypeReferenceNode;
9837
- typeTupleNode: ({
9838
- isNullable,
9839
- types: types_d_exports
9840
- }: {
9841
- isNullable?: boolean;
9842
- types: Array<any | typescript0.TypeNode>;
9843
- }) => typescript0.TypeNode;
9844
- typeUnionNode: ({
9845
- isNullable,
9846
- types: types_d_exports
9847
- }: {
9848
- isNullable?: boolean;
9849
- types: ReadonlyArray<any | typescript0.TypeNode>;
9850
- }) => typescript0.TypeNode;
9851
- valueToExpression: <T = unknown>({
9852
- identifiers,
9853
- isValueAccess,
9854
- shorthand,
9855
- unescape,
9856
- value
9857
- }: {
9858
- identifiers?: string[];
9859
- isValueAccess?: boolean;
9860
- shorthand?: boolean;
9861
- unescape?: boolean;
9862
- value: T;
9863
- }) => typescript0.Expression | undefined;
8870
+ //#endregion
8871
+ //#region src/plugins/@hey-api/client-angular/types.d.ts
8872
+ type UserConfig$20 = Plugin.Name<'@hey-api/client-angular'> & Client.Config & {
8873
+ /**
8874
+ * Throw an error instead of returning it in the response?
8875
+ *
8876
+ * @default false
8877
+ */
8878
+ throwOnError?: boolean;
9864
8879
  };
8880
+ type HeyApiClientAngularPlugin = DefinePlugin<UserConfig$20, UserConfig$20, IApi$14>;
9865
8881
  //#endregion
9866
- //#region src/plugins/@hey-api/sdk/comment.d.ts
9867
- declare const createOperationComment: ({
9868
- operation
9869
- }: {
9870
- operation: IR$1.OperationObject;
9871
- }) => Comments | undefined;
8882
+ //#region src/plugins/@hey-api/legacy-angular/types.d.ts
8883
+ type UserConfig$19 = Plugin.Name<'legacy/angular'> & Pick<Client.Config, 'output'>;
8884
+ type HeyApiClientLegacyAngularPlugin = DefinePlugin<UserConfig$19>;
8885
+ //#endregion
8886
+ //#region src/plugins/@hey-api/legacy-axios/types.d.ts
8887
+ type UserConfig$18 = Plugin.Name<'legacy/axios'> & Pick<Client.Config, 'output'>;
8888
+ type HeyApiClientLegacyAxiosPlugin = DefinePlugin<UserConfig$18>;
8889
+ //#endregion
8890
+ //#region src/plugins/@hey-api/legacy-fetch/types.d.ts
8891
+ type UserConfig$17 = Plugin.Name<'legacy/fetch'> & Pick<Client.Config, 'output'>;
8892
+ type HeyApiClientLegacyFetchPlugin = DefinePlugin<UserConfig$17>;
8893
+ //#endregion
8894
+ //#region src/plugins/@hey-api/legacy-node/types.d.ts
8895
+ type UserConfig$16 = Plugin.Name<'legacy/node'> & Pick<Client.Config, 'output'>;
8896
+ type HeyApiClientLegacyNodePlugin = DefinePlugin<UserConfig$16>;
8897
+ //#endregion
8898
+ //#region src/plugins/@hey-api/legacy-xhr/types.d.ts
8899
+ type UserConfig$15 = Plugin.Name<'legacy/xhr'> & Pick<Client.Config, 'output'>;
8900
+ type HeyApiClientLegacyXhrPlugin = DefinePlugin<UserConfig$15>;
8901
+ //#endregion
8902
+ //#region src/plugins/@hey-api/schemas/api.d.ts
8903
+ type SelectorType$13 = 'ref';
8904
+ type IApi$13 = {
8905
+ /**
8906
+ * @param type Selector type.
8907
+ * @param value Depends on `type`:
8908
+ * - `ref`: `$ref` JSON pointer
8909
+ * @returns Selector array
8910
+ */
8911
+ selector: (type: SelectorType$13, value?: string) => Selector;
8912
+ };
8913
+ //#endregion
8914
+ //#region src/plugins/@hey-api/schemas/types.d.ts
8915
+ type UserConfig$14 = Plugin.Name<'@hey-api/schemas'> & Plugin.Hooks & {
8916
+ /**
8917
+ * Should the exports from the generated files be re-exported in the index
8918
+ * barrel file?
8919
+ *
8920
+ * @default false
8921
+ */
8922
+ exportFromIndex?: boolean;
8923
+ /**
8924
+ * Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
8925
+ * valid JavaScript/TypeScript identifier, e.g. if your schema name is
8926
+ * "Foo-Bar", `name` value would be "FooBar".
8927
+ *
8928
+ * @default '{{name}}Schema'
8929
+ */
8930
+ nameBuilder?: string | ((name: string, schema: OpenApiSchema | OpenApiSchema$1 | OpenApiV2_0_XTypes['SchemaObject'] | OpenApiV3_0_XTypes['ReferenceObject'] | OpenApiV3_0_XTypes['SchemaObject'] | OpenApiV3_1_XTypes['SchemaObject']) => string);
8931
+ /**
8932
+ * Choose schema type to generate. Select 'form' if you don't want
8933
+ * descriptions to reduce bundle size and you plan to use schemas
8934
+ * for form validation
8935
+ *
8936
+ * @default 'json'
8937
+ */
8938
+ type?: 'form' | 'json';
8939
+ };
8940
+ type HeyApiSchemasPlugin = DefinePlugin<UserConfig$14, UserConfig$14, IApi$13>;
9872
8941
  //#endregion
9873
8942
  //#region src/plugins/@hey-api/sdk/api.d.ts
9874
8943
  type SelectorType$12 = 'buildClientParams' | 'class' | 'Client' | 'Composable' | 'formDataBodySerializer' | 'function' | 'Injectable' | 'Options' | 'urlSearchParamsBodySerializer';
9875
8944
  type IApi$12 = {
9876
- createOperationComment: typeof createOperationComment;
9877
8945
  /**
9878
8946
  * @param type Selector type.
9879
8947
  * @param value Depends on `type`:
@@ -10300,19 +9368,26 @@ type Config$12 = Plugin.Name<'@hey-api/transformers'> & Plugin.Hooks & {
10300
9368
  };
10301
9369
  type HeyApiTransformersPlugin = DefinePlugin<UserConfig$12, Config$12, IApi$11>;
10302
9370
  //#endregion
10303
- //#region src/plugins/@hey-api/typescript/plugin.d.ts
10304
- declare const schemaToType: ({
9371
+ //#region src/plugins/@hey-api/typescript/shared/types.d.ts
9372
+ type IrSchemaToAstOptions = {
9373
+ plugin: HeyApiTypeScriptPlugin['Instance'];
9374
+ state: ToRefs<PluginState>;
9375
+ };
9376
+ type PluginState = Pick<Required<SymbolMeta>, 'path'> & Pick<Partial<SymbolMeta>, 'tags'>;
9377
+ //#endregion
9378
+ //#region src/plugins/@hey-api/typescript/v1/plugin.d.ts
9379
+ declare const irSchemaToAst: ({
10305
9380
  plugin,
10306
- schema
10307
- }: {
10308
- plugin: HeyApiTypeScriptPlugin["Instance"];
9381
+ schema,
9382
+ state
9383
+ }: IrSchemaToAstOptions & {
10309
9384
  schema: IR$1.SchemaObject;
10310
9385
  }) => ts.TypeNode;
10311
9386
  //#endregion
10312
9387
  //#region src/plugins/@hey-api/typescript/api.d.ts
10313
9388
  type SelectorType$10 = 'ClientOptions' | 'data' | 'error' | 'errors' | 'ref' | 'response' | 'responses' | 'TypeID' | 'webhook-payload' | 'webhook-request' | 'Webhooks';
10314
9389
  type IApi$10 = {
10315
- schemaToType: (args: Parameters<typeof schemaToType>[0]) => ts.TypeNode;
9390
+ schemaToType: (args: Parameters<typeof irSchemaToAst>[0]) => ts.TypeNode;
10316
9391
  /**
10317
9392
  * @param type Selector type.
10318
9393
  * @param value Depends on `type`:
@@ -15847,97 +14922,6 @@ interface IRComponentsObject {
15847
14922
  requestBodies?: Record<string, IRRequestBodyObject>;
15848
14923
  schemas?: Record<string, IRSchemaObject>;
15849
14924
  }
15850
- interface IRHooks {
15851
- /**
15852
- * Hooks specifically for overriding operations behavior.
15853
- *
15854
- * Use these to classify operations, decide which outputs to generate,
15855
- * or apply custom behavior to individual operations.
15856
- */
15857
- operations?: {
15858
- /**
15859
- * Classify the given operation into one or more kinds.
15860
- *
15861
- * Each kind determines how we treat the operation (e.g., generating queries or mutations).
15862
- *
15863
- * **Default behavior:**
15864
- * - GET → 'query'
15865
- * - DELETE, PATCH, POST, PUT → 'mutation'
15866
- *
15867
- * **Resolution order:**
15868
- * 1. If `isQuery` or `isMutation` returns `true` or `false`, that overrides `getKind`.
15869
- * 2. If `isQuery` or `isMutation` returns `undefined`, the result of `getKind` is used.
15870
- *
15871
- * @param operation - The operation object to classify.
15872
- * @returns An array containing one or more of 'query' or 'mutation', or undefined to fallback to default behavior.
15873
- * @example
15874
- * getKind: (operation) => {
15875
- * if (operation.method === 'get' && operation.path === '/search') {
15876
- * return ['query', 'mutation'];
15877
- * }
15878
- * return; // fallback to default behavior
15879
- * }
15880
- */
15881
- getKind?: (operation: IROperationObject) => ReadonlyArray<'mutation' | 'query'> | undefined;
15882
- /**
15883
- * Check if the given operation should be treated as a mutation.
15884
- *
15885
- * This affects which outputs are generated for the operation.
15886
- *
15887
- * **Default behavior:** DELETE, PATCH, POST, and PUT operations are treated as mutations.
15888
- *
15889
- * **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
15890
- * If it returns `undefined`, `getKind` is used instead.
15891
- *
15892
- * @param operation - The operation object to check.
15893
- * @returns true if the operation is a mutation, false otherwise, or undefined to fallback to `getKind`.
15894
- * @example
15895
- * isMutation: (operation) => {
15896
- * if (operation.method === 'post' && operation.path === '/search') {
15897
- * return true;
15898
- * }
15899
- * return; // fallback to default behavior
15900
- }
15901
- */
15902
- isMutation?: (operation: IROperationObject) => boolean | undefined;
15903
- /**
15904
- * Check if the given operation should be treated as a query.
15905
- *
15906
- * This affects which outputs are generated for the operation.
15907
- *
15908
- * **Default behavior:** GET operations are treated as queries.
15909
- *
15910
- * **Resolution order:** If this returns `true` or `false`, it overrides `getKind`.
15911
- * If it returns `undefined`, `getKind` is used instead.
15912
- *
15913
- * @param operation - The operation object to check.
15914
- * @returns true if the operation is a query, false otherwise, or undefined to fallback to `getKind`.
15915
- * @example
15916
- * isQuery: (operation) => {
15917
- * if (operation.method === 'post' && operation.path === '/search') {
15918
- * return true;
15919
- * }
15920
- * return; // fallback to default behavior
15921
- }
15922
- */
15923
- isQuery?: (operation: IROperationObject) => boolean | undefined;
15924
- };
15925
- /**
15926
- * Hooks specifically for overriding symbols behavior.
15927
- *
15928
- * Use these to customize file placement.
15929
- */
15930
- symbols?: {
15931
- /**
15932
- * Optional output strategy to override default plugin behavior.
15933
- *
15934
- * Use this to route generated symbols to specific files.
15935
- *
15936
- * @returns The file path to output the symbol to, or undefined to fallback to default behavior.
15937
- */
15938
- getFilePath?: (symbol: Symbol) => string | undefined;
15939
- };
15940
- }
15941
14925
  interface IROperationObject {
15942
14926
  body?: IRBodyObject;
15943
14927
  deprecated?: boolean;
@@ -16080,7 +15064,6 @@ declare namespace IR$1 {
16080
15064
  export type BodyObject = IRBodyObject;
16081
15065
  export type ComponentsObject = IRComponentsObject;
16082
15066
  export type Context<Spec extends Record<string, any> = any> = IRContext<Spec>;
16083
- export type Hooks = IRHooks;
16084
15067
  export type Model = IRModel;
16085
15068
  export type OperationObject = IROperationObject;
16086
15069
  export type ParameterObject = IRParameterObject;
@@ -16119,5 +15102,5 @@ interface WatchValues {
16119
15102
  lastValue?: string;
16120
15103
  }
16121
15104
  //#endregion
16122
- export { StringCase as C, MaybeArray as D, LazyOrAsync as E, OpenApiSchemaObject as S, Logger as T, OpenApiMetaObject as _, ExpressionTransformer as a, OpenApiRequestBodyObject as b, Client as c, Plugin as d, Client$1 as f, OpenApi$1 as g, UserConfig$27 as h, TypeTransformer as i, PluginHandler as l, Config$1 as m, WatchValues as n, compiler as o, parseOpenApiSpec as p, IR$1 as r, tsc as s, LegacyIR as t, DefinePlugin as u, OpenApiOperationObject as v, Input as w, OpenApiResponseObject as x, OpenApiParameterObject as y };
16123
- //# sourceMappingURL=types-DGAzCzMG.d.ts.map
15105
+ export { FunctionParameter as A, Input as C, ImportExportItemObject as D, Comments as E, ObjectValue as M, SyntaxKindKeyword as N, tsNodeToString as O, types_d_exports as P, StringCase as S, MaybeArray as T, OpenApiOperationObject as _, ExpressionTransformer as a, OpenApiResponseObject as b, DefinePlugin as c, parseOpenApiSpec as d, Logger as f, OpenApiMetaObject as g, OpenApi$3 as h, TypeTransformer as i, FunctionTypeParameter as j, AccessLevel as k, Plugin as l, UserConfig$27 as m, WatchValues as n, Client as o, Config$1 as p, IR$1 as r, PluginHandler as s, LegacyIR as t, Client$1 as u, OpenApiParameterObject as v, LazyOrAsync as w, OpenApiSchemaObject as x, OpenApiRequestBodyObject as y };
15106
+ //# sourceMappingURL=types-yDJUUQN6.d.ts.map