···3535} from '../../@hey-api/services/plugin-legacy';
3636import { typesId } from '../../@hey-api/types/plugin';
3737import type { PluginHandler } from '../../types';
3838+import { schemaToType, type SchemaToTypeOptions } from '../../utils/types';
3839import type { Config as AngularQueryConfig } from '../angular-query-experimental';
3940import type { Config as ReactQueryConfig } from '../react-query';
4041import type { Config as SolidQueryConfig } from '../solid-query';
+20
packages/openapi-ts/src/plugins/fastify/config.ts
···11+import type { DefineConfig, PluginConfig } from '../types';
22+import { handler } from './plugin';
33+import type { Config } from './types';
44+55+export const defaultConfig: PluginConfig<Config> = {
66+ _dependencies: ['@hey-api/services'],
77+ _handler: handler,
88+ _handlerLegacy: () => {},
99+ name: 'fastify',
1010+ operationId: true,
1111+ output: 'fastify',
1212+};
1313+1414+/**
1515+ * Type helper for the Fastify plugin, returns {@link PluginConfig} object
1616+ */
1717+export const defineConfig: DefineConfig<Config> = (config) => ({
1818+ ...defaultConfig,
1919+ ...config,
2020+});
+2
packages/openapi-ts/src/plugins/fastify/index.ts
···11+export { defaultConfig, defineConfig } from './config';
22+export type { Config } from './types';
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+/**
44+ * Model with number-only name
55+ */
66+export type _400 = string;
77+88+/**
99+ * Testing multiline comments in string: First line
1010+ * Second line
1111+ *
1212+ * Fourth line
1313+ */
1414+export type camelCaseCommentWithBreaks = number;
1515+1616+/**
1717+ * Testing multiline comments in string: First line
1818+ * Second line
1919+ *
2020+ * Fourth line
2121+ */
2222+export type CommentWithBreaks = number;
2323+2424+/**
2525+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
2626+ */
2727+export type CommentWithBackticks = number;
2828+2929+/**
3030+ * Testing backticks and quotes in string: `backticks`, 'quotes', "double quotes" and ```multiple backticks``` should work
3131+ */
3232+export type CommentWithBackticksAndQuotes = number;
3333+3434+/**
3535+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
3636+ */
3737+export type CommentWithSlashes = number;
3838+3939+/**
4040+ * Testing expression placeholders in string: ${expression} should work
4141+ */
4242+export type CommentWithExpressionPlaceholders = number;
4343+4444+/**
4545+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
4646+ */
4747+export type CommentWithQuotes = number;
4848+4949+/**
5050+ * Testing reserved characters in string: * inline * and ** inline ** should work
5151+ */
5252+export type CommentWithReservedCharacters = number;
5353+5454+/**
5555+ * This is a simple number
5656+ */
5757+export type SimpleInteger = number;
5858+5959+/**
6060+ * This is a simple boolean
6161+ */
6262+export type SimpleBoolean = boolean;
6363+6464+/**
6565+ * This is a simple string
6666+ */
6767+export type SimpleString = string;
6868+6969+/**
7070+ * A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ字符串)
7171+ */
7272+export type NonAsciiStringæøåÆØÅöôêÊ字符串 = string;
7373+7474+/**
7575+ * This is a simple file
7676+ */
7777+export type SimpleFile = Blob | File;
7878+7979+/**
8080+ * This is a simple reference
8181+ */
8282+export type SimpleReference = ModelWithString;
8383+8484+/**
8585+ * This is a simple string
8686+ */
8787+export type SimpleStringWithPattern = string | null;
8888+8989+/**
9090+ * This is a simple enum with strings
9191+ */
9292+export type EnumWithStrings = 'Success' | 'Warning' | 'Error' | "'Single Quote'" | '"Double Quotes"' | 'Non-ascii: øæåôöØÆÅÔÖ字符串';
9393+9494+export type EnumWithReplacedCharacters = "'Single Quote'" | '"Double Quotes"' | 'øæåôöØÆÅÔÖ字符串' | 3.1 | '';
9595+9696+/**
9797+ * This is a simple enum with numbers
9898+ */
9999+export type EnumWithNumbers = 1 | 2 | 3 | 1.1 | 1.2 | 1.3 | 100 | 200 | 300 | -100 | -200 | -300 | -1.1 | -1.2 | -1.3;
100100+101101+/**
102102+ * Success=1,Warning=2,Error=3
103103+ */
104104+export type EnumFromDescription = number;
105105+106106+/**
107107+ * This is a simple enum with numbers
108108+ */
109109+export type EnumWithExtensions = 200 | 400 | 500;
110110+111111+export type EnumWithXEnumNames = 0 | 1 | 2;
112112+113113+/**
114114+ * This is a simple array with numbers
115115+ */
116116+export type ArrayWithNumbers = Array<number>;
117117+118118+/**
119119+ * This is a simple array with booleans
120120+ */
121121+export type ArrayWithBooleans = Array<boolean>;
122122+123123+/**
124124+ * This is a simple array with strings
125125+ */
126126+export type ArrayWithStrings = Array<string>;
127127+128128+/**
129129+ * This is a simple array with references
130130+ */
131131+export type ArrayWithReferences = Array<ModelWithString>;
132132+133133+/**
134134+ * This is a simple array containing an array
135135+ */
136136+export type ArrayWithArray = Array<Array<ModelWithString>>;
137137+138138+/**
139139+ * This is a simple array with properties
140140+ */
141141+export type ArrayWithProperties = Array<{
142142+ '16x16'?: camelCaseCommentWithBreaks;
143143+ bar?: string;
144144+}>;
145145+146146+/**
147147+ * This is a simple array with any of properties
148148+ */
149149+export type ArrayWithAnyOfProperties = Array<{
150150+ foo?: string;
151151+} | {
152152+ bar?: string;
153153+}>;
154154+155155+export type AnyOfAnyAndNull = {
156156+ data?: unknown;
157157+};
158158+159159+/**
160160+ * This is a simple array with any of properties
161161+ */
162162+export type AnyOfArrays = {
163163+ results?: Array<{
164164+ foo?: string;
165165+ } | {
166166+ bar?: string;
167167+ }>;
168168+};
169169+170170+/**
171171+ * This is a string dictionary
172172+ */
173173+export type DictionaryWithString = {
174174+ [key: string]: string;
175175+};
176176+177177+export type DictionaryWithPropertiesAndAdditionalProperties = {
178178+ foo?: number;
179179+ bar?: boolean;
180180+ [key: string]: string | number | boolean | undefined;
181181+};
182182+183183+/**
184184+ * This is a string reference
185185+ */
186186+export type DictionaryWithReference = {
187187+ [key: string]: ModelWithString;
188188+};
189189+190190+/**
191191+ * This is a complex dictionary
192192+ */
193193+export type DictionaryWithArray = {
194194+ [key: string]: Array<ModelWithString>;
195195+};
196196+197197+/**
198198+ * This is a string dictionary
199199+ */
200200+export type DictionaryWithDictionary = {
201201+ [key: string]: {
202202+ [key: string]: string;
203203+ };
204204+};
205205+206206+/**
207207+ * This is a complex dictionary
208208+ */
209209+export type DictionaryWithProperties = {
210210+ [key: string]: {
211211+ foo?: string;
212212+ bar?: string;
213213+ };
214214+};
215215+216216+/**
217217+ * This is a model with one number property
218218+ */
219219+export type ModelWithInteger = {
220220+ /**
221221+ * This is a simple number property
222222+ */
223223+ prop?: number;
224224+};
225225+226226+/**
227227+ * This is a model with one boolean property
228228+ */
229229+export type ModelWithBoolean = {
230230+ /**
231231+ * This is a simple boolean property
232232+ */
233233+ prop?: boolean;
234234+};
235235+236236+/**
237237+ * This is a model with one string property
238238+ */
239239+export type ModelWithString = {
240240+ /**
241241+ * This is a simple string property
242242+ */
243243+ prop?: string;
244244+};
245245+246246+/**
247247+ * This is a model with one string property
248248+ */
249249+export type ModelWithStringError = {
250250+ /**
251251+ * This is a simple string property
252252+ */
253253+ prop?: string;
254254+};
255255+256256+/**
257257+ * `Comment` or `VoiceComment`. The JSON object for adding voice comments to tickets is different. See [Adding voice comments to tickets](/documentation/ticketing/managing-tickets/adding-voice-comments-to-tickets)
258258+ */
259259+export type Model_From_Zendesk = string;
260260+261261+/**
262262+ * This is a model with one string property
263263+ */
264264+export type ModelWithNullableString = {
265265+ /**
266266+ * This is a simple string property
267267+ */
268268+ nullableProp1?: string | null;
269269+ /**
270270+ * This is a simple string property
271271+ */
272272+ nullableRequiredProp1: string | null;
273273+ /**
274274+ * This is a simple string property
275275+ */
276276+ nullableProp2?: string | null;
277277+ /**
278278+ * This is a simple string property
279279+ */
280280+ nullableRequiredProp2: string | null;
281281+ /**
282282+ * This is a simple enum with strings
283283+ */
284284+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
285285+};
286286+287287+/**
288288+ * This is a model with one enum
289289+ */
290290+export type ModelWithEnum = {
291291+ /**
292292+ * This is a simple enum with strings
293293+ */
294294+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
295295+ /**
296296+ * These are the HTTP error code enums
297297+ */
298298+ statusCode?: '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
299299+ /**
300300+ * Simple boolean enum
301301+ */
302302+ bool?: true;
303303+};
304304+305305+/**
306306+ * This is a model with one enum with escaped name
307307+ */
308308+export type ModelWithEnumWithHyphen = {
309309+ 'foo-bar-baz-qux'?: '3.0';
310310+};
311311+312312+/**
313313+ * This is a model with one enum
314314+ */
315315+export type ModelWithEnumFromDescription = {
316316+ /**
317317+ * Success=1,Warning=2,Error=3
318318+ */
319319+ test?: number;
320320+};
321321+322322+/**
323323+ * This is a model with nested enums
324324+ */
325325+export type ModelWithNestedEnums = {
326326+ dictionaryWithEnum?: {
327327+ [key: string]: 'Success' | 'Warning' | 'Error';
328328+ };
329329+ dictionaryWithEnumFromDescription?: {
330330+ [key: string]: number;
331331+ };
332332+ arrayWithEnum?: Array<'Success' | 'Warning' | 'Error'>;
333333+ arrayWithDescription?: Array<number>;
334334+ /**
335335+ * This is a simple enum with strings
336336+ */
337337+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
338338+};
339339+340340+/**
341341+ * This is a model with one property containing a reference
342342+ */
343343+export type ModelWithReference = {
344344+ prop?: ModelWithProperties;
345345+};
346346+347347+/**
348348+ * This is a model with one property containing an array
349349+ */
350350+export type ModelWithArrayReadOnlyAndWriteOnly = {
351351+ prop?: Array<ModelWithReadOnlyAndWriteOnly>;
352352+ propWithFile?: Array<Blob | File>;
353353+ propWithNumber?: Array<number>;
354354+};
355355+356356+/**
357357+ * This is a model with one property containing an array
358358+ */
359359+export type ModelWithArray = {
360360+ prop?: Array<ModelWithString>;
361361+ propWithFile?: Array<Blob | File>;
362362+ propWithNumber?: Array<number>;
363363+};
364364+365365+/**
366366+ * This is a model with one property containing a dictionary
367367+ */
368368+export type ModelWithDictionary = {
369369+ prop?: {
370370+ [key: string]: string;
371371+ };
372372+};
373373+374374+/**
375375+ * This is a deprecated model with a deprecated property
376376+ * @deprecated
377377+ */
378378+export type DeprecatedModel = {
379379+ /**
380380+ * This is a deprecated property
381381+ * @deprecated
382382+ */
383383+ prop?: string;
384384+};
385385+386386+/**
387387+ * This is a model with one property containing a circular reference
388388+ */
389389+export type ModelWithCircularReference = {
390390+ prop?: ModelWithCircularReference;
391391+};
392392+393393+/**
394394+ * This is a model with one property with a 'one of' relationship
395395+ */
396396+export type CompositionWithOneOf = {
397397+ propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
398398+};
399399+400400+/**
401401+ * This is a model with one property with a 'one of' relationship where the options are not $ref
402402+ */
403403+export type CompositionWithOneOfAnonymous = {
404404+ propA?: {
405405+ propA?: string;
406406+ } | string | number;
407407+};
408408+409409+/**
410410+ * Circle
411411+ */
412412+export type ModelCircle = {
413413+ kind: string;
414414+ radius?: number;
415415+};
416416+417417+/**
418418+ * Square
419419+ */
420420+export type ModelSquare = {
421421+ kind: string;
422422+ sideLength?: number;
423423+};
424424+425425+/**
426426+ * This is a model with one property with a 'one of' relationship where the options are not $ref
427427+ */
428428+export type CompositionWithOneOfDiscriminator = ({
429429+ kind?: 'circle';
430430+} & ModelCircle) | ({
431431+ kind?: 'square';
432432+} & ModelSquare);
433433+434434+/**
435435+ * This is a model with one property with a 'any of' relationship
436436+ */
437437+export type CompositionWithAnyOf = {
438438+ propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
439439+};
440440+441441+/**
442442+ * This is a model with one property with a 'any of' relationship where the options are not $ref
443443+ */
444444+export type CompositionWithAnyOfAnonymous = {
445445+ propA?: {
446446+ propA?: string;
447447+ } | string | number;
448448+};
449449+450450+/**
451451+ * This is a model with nested 'any of' property with a type null
452452+ */
453453+export type CompositionWithNestedAnyAndTypeNull = {
454454+ propA?: Array<ModelWithDictionary | null> | Array<ModelWithArray | null>;
455455+};
456456+457457+export type _3e_num_1Период = 'Bird' | 'Dog';
458458+459459+export type ConstValue = 'ConstValue';
460460+461461+/**
462462+ * This is a model with one property with a 'any of' relationship where the options are not $ref
463463+ */
464464+export type CompositionWithNestedAnyOfAndNull = {
465465+ propA?: Array<_3e_num_1Период | ConstValue> | null;
466466+};
467467+468468+/**
469469+ * This is a model with one property with a 'one of' relationship
470470+ */
471471+export type CompositionWithOneOfAndNullable = {
472472+ propA?: {
473473+ boolean?: boolean;
474474+ } | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
475475+};
476476+477477+/**
478478+ * This is a model that contains a simple dictionary within composition
479479+ */
480480+export type CompositionWithOneOfAndSimpleDictionary = {
481481+ propA?: boolean | {
482482+ [key: string]: number;
483483+ };
484484+};
485485+486486+/**
487487+ * This is a model that contains a dictionary of simple arrays within composition
488488+ */
489489+export type CompositionWithOneOfAndSimpleArrayDictionary = {
490490+ propA?: boolean | {
491491+ [key: string]: Array<boolean>;
492492+ };
493493+};
494494+495495+/**
496496+ * This is a model that contains a dictionary of complex arrays (composited) within composition
497497+ */
498498+export type CompositionWithOneOfAndComplexArrayDictionary = {
499499+ propA?: boolean | {
500500+ [key: string]: Array<number | string>;
501501+ };
502502+};
503503+504504+/**
505505+ * This is a model with one property with a 'all of' relationship
506506+ */
507507+export type CompositionWithAllOfAndNullable = {
508508+ propA?: ({
509509+ boolean?: boolean;
510510+ } & ModelWithEnum & ModelWithArray & ModelWithDictionary) | null;
511511+};
512512+513513+/**
514514+ * This is a model with one property with a 'any of' relationship
515515+ */
516516+export type CompositionWithAnyOfAndNullable = {
517517+ propA?: {
518518+ boolean?: boolean;
519519+ } | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
520520+};
521521+522522+/**
523523+ * This is a base model with two simple optional properties
524524+ */
525525+export type CompositionBaseModel = {
526526+ firstName?: string;
527527+ lastname?: string;
528528+};
529529+530530+/**
531531+ * This is a model that extends the base model
532532+ */
533533+export type CompositionExtendedModel = CompositionBaseModel & {
534534+ age: number;
535535+ firstName: string;
536536+ lastname: string;
537537+};
538538+539539+/**
540540+ * This is a model with one nested property
541541+ */
542542+export type ModelWithProperties = {
543543+ required: string;
544544+ readonly requiredAndReadOnly: string;
545545+ requiredAndNullable: string | null;
546546+ string?: string;
547547+ number?: number;
548548+ boolean?: boolean;
549549+ reference?: ModelWithString;
550550+ 'property with space'?: string;
551551+ default?: string;
552552+ try?: string;
553553+ readonly '@namespace.string'?: string;
554554+ readonly '@namespace.integer'?: number;
555555+};
556556+557557+/**
558558+ * This is a model with one nested property
559559+ */
560560+export type ModelWithNestedProperties = {
561561+ readonly first: {
562562+ readonly second: {
563563+ readonly third: string | null;
564564+ } | null;
565565+ } | null;
566566+};
567567+568568+/**
569569+ * This is a model with duplicated properties
570570+ */
571571+export type ModelWithDuplicateProperties = {
572572+ prop?: ModelWithString;
573573+};
574574+575575+/**
576576+ * This is a model with ordered properties
577577+ */
578578+export type ModelWithOrderedProperties = {
579579+ zebra?: string;
580580+ apple?: string;
581581+ hawaii?: string;
582582+};
583583+584584+/**
585585+ * This is a model with duplicated imports
586586+ */
587587+export type ModelWithDuplicateImports = {
588588+ propA?: ModelWithString;
589589+ propB?: ModelWithString;
590590+ propC?: ModelWithString;
591591+};
592592+593593+/**
594594+ * This is a model that extends another model
595595+ */
596596+export type ModelThatExtends = ModelWithString & {
597597+ propExtendsA?: string;
598598+ propExtendsB?: ModelWithString;
599599+};
600600+601601+/**
602602+ * This is a model that extends another model
603603+ */
604604+export type ModelThatExtendsExtends = ModelWithString & ModelThatExtends & {
605605+ propExtendsC?: string;
606606+ propExtendsD?: ModelWithString;
607607+};
608608+609609+/**
610610+ * This is a model that contains a some patterns
611611+ */
612612+export type ModelWithPattern = {
613613+ key: string;
614614+ name: string;
615615+ readonly enabled?: boolean;
616616+ readonly modified?: string;
617617+ id?: string;
618618+ text?: string;
619619+ patternWithSingleQuotes?: string;
620620+ patternWithNewline?: string;
621621+ patternWithBacktick?: string;
622622+};
623623+624624+export type File = {
625625+ readonly id?: string;
626626+ readonly updated_at?: string;
627627+ readonly created_at?: string;
628628+ mime: string;
629629+ readonly file?: string;
630630+};
631631+632632+export type _default = {
633633+ name?: string;
634634+};
635635+636636+export type Pageable = {
637637+ page?: number;
638638+ size?: number;
639639+ sort?: Array<string>;
640640+};
641641+642642+/**
643643+ * This is a free-form object without additionalProperties.
644644+ */
645645+export type FreeFormObjectWithoutAdditionalProperties = {};
646646+647647+/**
648648+ * This is a free-form object with additionalProperties: true.
649649+ */
650650+export type FreeFormObjectWithAdditionalPropertiesEqTrue = {
651651+ [key: string]: unknown;
652652+};
653653+654654+/**
655655+ * This is a free-form object with additionalProperties: {}.
656656+ */
657657+export type FreeFormObjectWithAdditionalPropertiesEqEmptyObject = {};
658658+659659+export type ModelWithConst = {
660660+ String?: 'String';
661661+ number?: 0;
662662+ null?: unknown;
663663+ withType?: 'Some string';
664664+};
665665+666666+/**
667667+ * This is a model with one property and additionalProperties: true
668668+ */
669669+export type ModelWithAdditionalPropertiesEqTrue = {
670670+ /**
671671+ * This is a simple string property
672672+ */
673673+ prop?: string;
674674+ [key: string]: unknown | string | undefined;
675675+};
676676+677677+export type NestedAnyOfArraysNullable = {
678678+ nullableArray?: Array<string | boolean> | null;
679679+};
680680+681681+export type CompositionWithOneOfAndProperties = ({
682682+ foo: SimpleParameter;
683683+} | {
684684+ bar: NonAsciiStringæøåÆØÅöôêÊ字符串;
685685+}) & {
686686+ baz: number | null;
687687+ qux: number;
688688+};
689689+690690+/**
691691+ * An object that can be null
692692+ */
693693+export type NullableObject = {
694694+ foo?: string;
695695+} | null;
696696+697697+/**
698698+ * Some % character
699699+ */
700700+export type CharactersInDescription = string;
701701+702702+export type ModelWithNullableObject = {
703703+ data?: NullableObject;
704704+};
705705+706706+export type ModelWithOneOfEnum = {
707707+ foo: 'Bar';
708708+} | {
709709+ foo: 'Baz';
710710+} | {
711711+ foo: 'Qux';
712712+} | {
713713+ content: string;
714714+ foo: 'Quux';
715715+} | {
716716+ content: [
717717+ string,
718718+ string
719719+ ];
720720+ foo: 'Corge';
721721+};
722722+723723+export type ModelWithNestedArrayEnumsDataFoo = 'foo' | 'bar';
724724+725725+export type ModelWithNestedArrayEnumsDataBar = 'baz' | 'qux';
726726+727727+export type ModelWithNestedArrayEnumsData = {
728728+ foo?: Array<ModelWithNestedArrayEnumsDataFoo>;
729729+ bar?: Array<ModelWithNestedArrayEnumsDataBar>;
730730+};
731731+732732+export type ModelWithNestedArrayEnums = {
733733+ array_strings?: Array<string>;
734734+ data?: ModelWithNestedArrayEnumsData;
735735+};
736736+737737+export type ModelWithNestedCompositionEnums = {
738738+ foo?: ModelWithNestedArrayEnumsDataFoo;
739739+};
740740+741741+export type ModelWithReadOnlyAndWriteOnly = {
742742+ foo: string;
743743+ readonly bar: string;
744744+ baz: string;
745745+};
746746+747747+export type ModelWithConstantSizeArray = [
748748+ number,
749749+ number
750750+];
751751+752752+export type ModelWithAnyOfConstantSizeArray = [
753753+ number | string,
754754+ number | string,
755755+ number | string
756756+];
757757+758758+export type ModelWithPrefixItemsConstantSizeArray = Array<ModelWithInteger | number | string>;
759759+760760+export type ModelWithAnyOfConstantSizeArrayNullable = [
761761+ number | null | string,
762762+ number | null | string,
763763+ number | null | string
764764+];
765765+766766+export type ModelWithAnyOfConstantSizeArrayWithNSizeAndOptions = [
767767+ number | _import,
768768+ number | _import
769769+];
770770+771771+export type ModelWithAnyOfConstantSizeArrayAndIntersect = [
772772+ number & string,
773773+ number & string
774774+];
775775+776776+export type ModelWithNumericEnumUnion = {
777777+ /**
778778+ * Период
779779+ */
780780+ value?: -10 | -1 | 0 | 1 | 3 | 6 | 12;
781781+};
782782+783783+/**
784784+ * Some description with `back ticks`
785785+ */
786786+export type ModelWithBackticksInDescription = {
787787+ /**
788788+ * The template `that` should be used for parsing and importing the contents of the CSV file.
789789+ *
790790+ * <br/><p>There is one placeholder currently supported:<ul> <li><b>${x}</b> - refers to the n-th column in the CSV file, e.g. ${1}, ${2}, ...)</li></ul><p>Example of a correct JSON template:</p>
791791+ * <pre>
792792+ * [
793793+ * {
794794+ * "resourceType": "Asset",
795795+ * "identifier": {
796796+ * "name": "${1}",
797797+ * "domain": {
798798+ * "name": "${2}",
799799+ * "community": {
800800+ * "name": "Some Community"
801801+ * }
802802+ * }
803803+ * },
804804+ * "attributes" : {
805805+ * "00000000-0000-0000-0000-000000003115" : [ {
806806+ * "value" : "${3}"
807807+ * } ],
808808+ * "00000000-0000-0000-0000-000000000222" : [ {
809809+ * "value" : "${4}"
810810+ * } ]
811811+ * }
812812+ * }
813813+ * ]
814814+ * </pre>
815815+ */
816816+ template?: string;
817817+};
818818+819819+export type ModelWithOneOfAndProperties = (SimpleParameter | NonAsciiStringæøåÆØÅöôêÊ字符串) & {
820820+ baz: number | null;
821821+ qux: number;
822822+};
823823+824824+/**
825825+ * Model used to test deduplication strategy (unused)
826826+ */
827827+export type ParameterSimpleParameterUnused = string;
828828+829829+/**
830830+ * Model used to test deduplication strategy
831831+ */
832832+export type PostServiceWithEmptyTagResponse = string;
833833+834834+/**
835835+ * Model used to test deduplication strategy
836836+ */
837837+export type PostServiceWithEmptyTagResponse2 = string;
838838+839839+/**
840840+ * Model used to test deduplication strategy
841841+ */
842842+export type DeleteFooData = string;
843843+844844+/**
845845+ * Model used to test deduplication strategy
846846+ */
847847+export type DeleteFooData2 = string;
848848+849849+/**
850850+ * Model with restricted keyword name
851851+ */
852852+export type _import = string;
853853+854854+export type SchemaWithFormRestrictedKeys = {
855855+ description?: string;
856856+ 'x-enum-descriptions'?: string;
857857+ 'x-enum-varnames'?: string;
858858+ 'x-enumNames'?: string;
859859+ title?: string;
860860+ object?: {
861861+ description?: string;
862862+ 'x-enum-descriptions'?: string;
863863+ 'x-enum-varnames'?: string;
864864+ 'x-enumNames'?: string;
865865+ title?: string;
866866+ };
867867+ array?: Array<{
868868+ description?: string;
869869+ 'x-enum-descriptions'?: string;
870870+ 'x-enum-varnames'?: string;
871871+ 'x-enumNames'?: string;
872872+ title?: string;
873873+ }>;
874874+};
875875+876876+/**
877877+ * This schema was giving PascalCase transformations a hard time
878878+ */
879879+export type io_k8s_apimachinery_pkg_apis_meta_v1_DeleteOptions = {
880880+ /**
881881+ * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.
882882+ */
883883+ preconditions?: io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions;
884884+};
885885+886886+/**
887887+ * This schema was giving PascalCase transformations a hard time
888888+ */
889889+export type io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions = {
890890+ /**
891891+ * Specifies the target ResourceVersion
892892+ */
893893+ resourceVersion?: string;
894894+ /**
895895+ * Specifies the target UID.
896896+ */
897897+ uid?: string;
898898+};
899899+900900+export type AdditionalPropertiesUnknownIssue = {
901901+ [key: string]: string | number;
902902+};
903903+904904+export type AdditionalPropertiesUnknownIssue2 = {
905905+ [key: string]: string | number;
906906+};
907907+908908+export type AdditionalPropertiesUnknownIssue3 = string & {
909909+ entries: {
910910+ [key: string]: AdditionalPropertiesUnknownIssue;
911911+ };
912912+};
913913+914914+export type AdditionalPropertiesIntegerIssue = {
915915+ value: number;
916916+ [key: string]: number;
917917+};
918918+919919+export type OneOfAllOfIssue = ((ConstValue | Generic_Schema_Duplicate_Issue_1_System_Boolean_) & _3e_num_1Период) | Generic_Schema_Duplicate_Issue_1_System_String_;
920920+921921+export type Generic_Schema_Duplicate_Issue_1_System_Boolean_ = {
922922+ item?: boolean;
923923+ error?: string | null;
924924+ readonly hasError?: boolean;
925925+ data?: {
926926+ [key: string]: never;
927927+ };
928928+};
929929+930930+export type Generic_Schema_Duplicate_Issue_1_System_String_ = {
931931+ item?: string | null;
932932+ error?: string | null;
933933+ readonly hasError?: boolean;
934934+};
935935+936936+/**
937937+ * This is a reusable parameter
938938+ */
939939+export type SimpleParameter = string;
940940+941941+/**
942942+ * Parameter with illegal characters
943943+ */
944944+export type x_Foo_Bar = ModelWithString;
945945+946946+export type ImportData = {
947947+ body: ModelWithReadOnlyAndWriteOnly | ModelWithArrayReadOnlyAndWriteOnly;
948948+};
949949+950950+export type ImportResponse = Model_From_Zendesk | ModelWithReadOnlyAndWriteOnly;
951951+952952+export type ApiVversionOdataControllerCountResponse = Model_From_Zendesk;
953953+954954+export type GetApiVbyApiVersionSimpleOperationData = {
955955+ body?: never;
956956+ path: {
957957+ /**
958958+ * foo in method
959959+ */
960960+ foo_param: string;
961961+ };
962962+ query?: never;
963963+};
964964+965965+export type GetApiVbyApiVersionSimpleOperationError = ModelWithBoolean;
966966+967967+export type GetApiVbyApiVersionSimpleOperationResponse = number;
968968+969969+export type DeleteFooData3 = {
970970+ body?: never;
971971+ headers: {
972972+ /**
973973+ * Parameter with illegal characters
974974+ */
975975+ 'x-Foo-Bar': ModelWithString;
976976+ };
977977+ path: {
978978+ /**
979979+ * foo in method
980980+ */
981981+ foo_param: string;
982982+ /**
983983+ * bar in method
984984+ */
985985+ BarParam: string;
986986+ };
987987+ query?: never;
988988+};
989989+990990+export type CallWithDescriptionsData = {
991991+ body?: never;
992992+ path?: never;
993993+ query?: {
994994+ /**
995995+ * Testing multiline comments in string: First line
996996+ * Second line
997997+ *
998998+ * Fourth line
999999+ */
10001000+ parameterWithBreaks?: string;
10011001+ /**
10021002+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
10031003+ */
10041004+ parameterWithBackticks?: string;
10051005+ /**
10061006+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
10071007+ */
10081008+ parameterWithSlashes?: string;
10091009+ /**
10101010+ * Testing expression placeholders in string: ${expression} should work
10111011+ */
10121012+ parameterWithExpressionPlaceholders?: string;
10131013+ /**
10141014+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
10151015+ */
10161016+ parameterWithQuotes?: string;
10171017+ /**
10181018+ * Testing reserved characters in string: * inline * and ** inline ** should work
10191019+ */
10201020+ parameterWithReservedCharacters?: string;
10211021+ };
10221022+};
10231023+10241024+export type DeprecatedCallData = {
10251025+ body?: never;
10261026+ headers: {
10271027+ /**
10281028+ * This parameter is deprecated
10291029+ * @deprecated
10301030+ */
10311031+ parameter: DeprecatedModel | null;
10321032+ };
10331033+ path?: never;
10341034+ query?: never;
10351035+};
10361036+10371037+export type CallWithParametersData = {
10381038+ /**
10391039+ * This is the parameter that goes into the body
10401040+ */
10411041+ body: {} | null;
10421042+ headers: {
10431043+ /**
10441044+ * This is the parameter that goes into the header
10451045+ */
10461046+ parameterHeader: string | null;
10471047+ };
10481048+ path: {
10491049+ /**
10501050+ * This is the parameter that goes into the path
10511051+ */
10521052+ parameterPath: string | null;
10531053+ /**
10541054+ * api-version should be required in standalone clients
10551055+ */
10561056+ 'api-version': string | null;
10571057+ };
10581058+ query: {
10591059+ foo_ref_enum?: ModelWithNestedArrayEnumsDataFoo;
10601060+ foo_all_of_enum: ModelWithNestedArrayEnumsDataFoo;
10611061+ /**
10621062+ * This is the parameter that goes into the query params
10631063+ */
10641064+ cursor: string | null;
10651065+ };
10661066+};
10671067+10681068+export type CallWithWeirdParameterNamesData = {
10691069+ /**
10701070+ * This is the parameter that goes into the body
10711071+ */
10721072+ body: ModelWithString | null;
10731073+ headers: {
10741074+ /**
10751075+ * This is the parameter that goes into the request header
10761076+ */
10771077+ 'parameter.header': string | null;
10781078+ };
10791079+ path: {
10801080+ /**
10811081+ * This is the parameter that goes into the path
10821082+ */
10831083+ 'parameter.path.1'?: string;
10841084+ /**
10851085+ * This is the parameter that goes into the path
10861086+ */
10871087+ 'parameter-path-2'?: string;
10881088+ /**
10891089+ * This is the parameter that goes into the path
10901090+ */
10911091+ 'PARAMETER-PATH-3'?: string;
10921092+ /**
10931093+ * api-version should be required in standalone clients
10941094+ */
10951095+ 'api-version': string | null;
10961096+ };
10971097+ query: {
10981098+ /**
10991099+ * This is the parameter with a reserved keyword
11001100+ */
11011101+ default?: string;
11021102+ /**
11031103+ * This is the parameter that goes into the request query params
11041104+ */
11051105+ 'parameter-query': string | null;
11061106+ };
11071107+};
11081108+11091109+export type GetCallWithOptionalParamData = {
11101110+ /**
11111111+ * This is a required parameter
11121112+ */
11131113+ body: ModelWithOneOfEnum;
11141114+ path?: never;
11151115+ query?: {
11161116+ /**
11171117+ * This is an optional parameter
11181118+ */
11191119+ page?: number;
11201120+ };
11211121+};
11221122+11231123+export type PostCallWithOptionalParamData = {
11241124+ /**
11251125+ * This is an optional parameter
11261126+ */
11271127+ body?: {
11281128+ offset?: number | null;
11291129+ };
11301130+ path?: never;
11311131+ query: {
11321132+ /**
11331133+ * This is a required parameter
11341134+ */
11351135+ parameter: Pageable;
11361136+ };
11371137+};
11381138+11391139+export type PostCallWithOptionalParamResponse = number | void;
11401140+11411141+export type PostApiVbyApiVersionRequestBodyData = {
11421142+ /**
11431143+ * A reusable request body
11441144+ */
11451145+ body?: ModelWithString;
11461146+ path?: never;
11471147+ query?: {
11481148+ /**
11491149+ * This is a reusable parameter
11501150+ */
11511151+ parameter?: string;
11521152+ };
11531153+};
11541154+11551155+export type PostApiVbyApiVersionFormDataData = {
11561156+ /**
11571157+ * A reusable request body
11581158+ */
11591159+ body?: ModelWithString;
11601160+ path?: never;
11611161+ query?: {
11621162+ /**
11631163+ * This is a reusable parameter
11641164+ */
11651165+ parameter?: string;
11661166+ };
11671167+};
11681168+11691169+export type CallWithDefaultParametersData = {
11701170+ body?: never;
11711171+ path?: never;
11721172+ query?: {
11731173+ /**
11741174+ * This is a simple string with default value
11751175+ */
11761176+ parameterString?: string | null;
11771177+ /**
11781178+ * This is a simple number with default value
11791179+ */
11801180+ parameterNumber?: number | null;
11811181+ /**
11821182+ * This is a simple boolean with default value
11831183+ */
11841184+ parameterBoolean?: boolean | null;
11851185+ /**
11861186+ * This is a simple enum with default value
11871187+ */
11881188+ parameterEnum?: 'Success' | 'Warning' | 'Error';
11891189+ /**
11901190+ * This is a simple model with default value
11911191+ */
11921192+ parameterModel?: ModelWithString | null;
11931193+ };
11941194+};
11951195+11961196+export type CallWithDefaultOptionalParametersData = {
11971197+ body?: never;
11981198+ path?: never;
11991199+ query?: {
12001200+ /**
12011201+ * This is a simple string that is optional with default value
12021202+ */
12031203+ parameterString?: string;
12041204+ /**
12051205+ * This is a simple number that is optional with default value
12061206+ */
12071207+ parameterNumber?: number;
12081208+ /**
12091209+ * This is a simple boolean that is optional with default value
12101210+ */
12111211+ parameterBoolean?: boolean;
12121212+ /**
12131213+ * This is a simple enum that is optional with default value
12141214+ */
12151215+ parameterEnum?: 'Success' | 'Warning' | 'Error';
12161216+ /**
12171217+ * This is a simple model that is optional with default value
12181218+ */
12191219+ parameterModel?: ModelWithString;
12201220+ };
12211221+};
12221222+12231223+export type CallToTestOrderOfParamsData = {
12241224+ body?: never;
12251225+ path?: never;
12261226+ query: {
12271227+ /**
12281228+ * This is a optional string with default
12291229+ */
12301230+ parameterOptionalStringWithDefault?: string;
12311231+ /**
12321232+ * This is a optional string with empty default
12331233+ */
12341234+ parameterOptionalStringWithEmptyDefault?: string;
12351235+ /**
12361236+ * This is a optional string with no default
12371237+ */
12381238+ parameterOptionalStringWithNoDefault?: string;
12391239+ /**
12401240+ * This is a string with default
12411241+ */
12421242+ parameterStringWithDefault: string;
12431243+ /**
12441244+ * This is a string with empty default
12451245+ */
12461246+ parameterStringWithEmptyDefault: string;
12471247+ /**
12481248+ * This is a string with no default
12491249+ */
12501250+ parameterStringWithNoDefault: string;
12511251+ /**
12521252+ * This is a string that can be null with no default
12531253+ */
12541254+ parameterStringNullableWithNoDefault?: string | null;
12551255+ /**
12561256+ * This is a string that can be null with default
12571257+ */
12581258+ parameterStringNullableWithDefault?: string | null;
12591259+ };
12601260+};
12611261+12621262+export type CallWithNoContentResponseResponse = void;
12631263+12641264+export type CallWithResponseAndNoContentResponseResponse = number | void;
12651265+12661266+export type DummyAResponse = _400;
12671267+12681268+export type DummyBResponse = void;
12691269+12701270+export type CallWithResponseResponse = _import;
12711271+12721272+export type CallWithDuplicateResponsesError = ModelWithStringError | DictionaryWithArray | ModelWithBoolean;
12731273+12741274+export type CallWithDuplicateResponsesResponse = (ModelWithBoolean & ModelWithInteger) | ModelWithString;
12751275+12761276+export type CallWithResponsesError = ModelWithStringError;
12771277+12781278+export type CallWithResponsesResponse = {
12791279+ readonly '@namespace.string'?: string;
12801280+ readonly '@namespace.integer'?: number;
12811281+ readonly value?: Array<ModelWithString>;
12821282+} | ModelThatExtends | ModelThatExtendsExtends;
12831283+12841284+export type CollectionFormatData = {
12851285+ body?: never;
12861286+ path?: never;
12871287+ query: {
12881288+ /**
12891289+ * This is an array parameter that is sent as csv format (comma-separated values)
12901290+ */
12911291+ parameterArrayCSV: Array<string> | null;
12921292+ /**
12931293+ * This is an array parameter that is sent as ssv format (space-separated values)
12941294+ */
12951295+ parameterArraySSV: Array<string> | null;
12961296+ /**
12971297+ * This is an array parameter that is sent as tsv format (tab-separated values)
12981298+ */
12991299+ parameterArrayTSV: Array<string> | null;
13001300+ /**
13011301+ * This is an array parameter that is sent as pipes format (pipe-separated values)
13021302+ */
13031303+ parameterArrayPipes: Array<string> | null;
13041304+ /**
13051305+ * This is an array parameter that is sent as multi format (multiple parameter instances)
13061306+ */
13071307+ parameterArrayMulti: Array<string> | null;
13081308+ };
13091309+};
13101310+13111311+export type TypesData = {
13121312+ body?: never;
13131313+ path?: {
13141314+ /**
13151315+ * This is a number parameter
13161316+ */
13171317+ id?: number;
13181318+ };
13191319+ query: {
13201320+ /**
13211321+ * This is a number parameter
13221322+ */
13231323+ parameterNumber: number;
13241324+ /**
13251325+ * This is a string parameter
13261326+ */
13271327+ parameterString: string | null;
13281328+ /**
13291329+ * This is a boolean parameter
13301330+ */
13311331+ parameterBoolean: boolean | null;
13321332+ /**
13331333+ * This is an object parameter
13341334+ */
13351335+ parameterObject: {} | null;
13361336+ /**
13371337+ * This is an array parameter
13381338+ */
13391339+ parameterArray: Array<string> | null;
13401340+ /**
13411341+ * This is a dictionary parameter
13421342+ */
13431343+ parameterDictionary: {} | null;
13441344+ /**
13451345+ * This is an enum parameter
13461346+ */
13471347+ parameterEnum: 'Success' | 'Warning' | 'Error';
13481348+ };
13491349+};
13501350+13511351+export type TypesResponse = number | string | boolean | {};
13521352+13531353+export type UploadFileData = {
13541354+ body: Blob | File;
13551355+ path: {
13561356+ /**
13571357+ * api-version should be required in standalone clients
13581358+ */
13591359+ 'api-version': string | null;
13601360+ };
13611361+ query?: never;
13621362+};
13631363+13641364+export type UploadFileResponse = boolean;
13651365+13661366+export type FileResponseData = {
13671367+ body?: never;
13681368+ path: {
13691369+ id: string;
13701370+ /**
13711371+ * api-version should be required in standalone clients
13721372+ */
13731373+ 'api-version': string;
13741374+ };
13751375+ query?: never;
13761376+};
13771377+13781378+export type FileResponseResponse = Blob | File;
13791379+13801380+export type ComplexTypesData = {
13811381+ body?: never;
13821382+ path?: never;
13831383+ query: {
13841384+ /**
13851385+ * Parameter containing object
13861386+ */
13871387+ parameterObject: {
13881388+ first?: {
13891389+ second?: {
13901390+ third?: string;
13911391+ };
13921392+ };
13931393+ };
13941394+ /**
13951395+ * Parameter containing reference
13961396+ */
13971397+ parameterReference: ModelWithString;
13981398+ };
13991399+};
14001400+14011401+export type ComplexTypesResponse = Array<ModelWithString>;
14021402+14031403+export type MultipartResponseResponse = {
14041404+ file?: Blob | File;
14051405+ metadata?: {
14061406+ foo?: string;
14071407+ bar?: string;
14081408+ };
14091409+};
14101410+14111411+export type MultipartRequestData = {
14121412+ body?: {
14131413+ content?: Blob | File;
14141414+ data?: ModelWithString | null;
14151415+ };
14161416+};
14171417+14181418+export type ComplexParamsData = {
14191419+ body?: {
14201420+ readonly key: string | null;
14211421+ name: string | null;
14221422+ enabled?: boolean;
14231423+ type: 'Monkey' | 'Horse' | 'Bird';
14241424+ listOfModels?: Array<ModelWithString> | null;
14251425+ listOfStrings?: Array<string> | null;
14261426+ parameters: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
14271427+ readonly user?: {
14281428+ readonly id?: number;
14291429+ readonly name?: string | null;
14301430+ };
14311431+ };
14321432+ path: {
14331433+ id: number;
14341434+ /**
14351435+ * api-version should be required in standalone clients
14361436+ */
14371437+ 'api-version': string;
14381438+ };
14391439+ query?: never;
14401440+};
14411441+14421442+export type ComplexParamsResponse = ModelWithString;
14431443+14441444+export type TestErrorCodeData = {
14451445+ body?: never;
14461446+ path?: never;
14471447+ query: {
14481448+ /**
14491449+ * Status code to return
14501450+ */
14511451+ status: number;
14521452+ };
14531453+};
14541454+14551455+export type NonAsciiæøåÆøÅöôêÊ字符串Data = {
14561456+ body?: never;
14571457+ path?: never;
14581458+ query: {
14591459+ /**
14601460+ * Dummy input param
14611461+ */
14621462+ nonAsciiParamæøåÆØÅöôêÊ: number;
14631463+ };
14641464+};
14651465+14661466+export type NonAsciiæøåÆøÅöôêÊ字符串Response = Array<NonAsciiStringæøåÆØÅöôêÊ字符串>;
14671467+14681468+export type PutWithFormUrlEncodedData = {
14691469+ body: ArrayWithStrings;
14701470+};
···11+// This file is auto-generated by @hey-api/openapi-ts
22+33+/**
44+ * Model with number-only name
55+ */
66+export type _400 = string;
77+88+/**
99+ * Testing multiline comments in string: First line
1010+ * Second line
1111+ *
1212+ * Fourth line
1313+ */
1414+export type camelCaseCommentWithBreaks = number;
1515+1616+/**
1717+ * Testing multiline comments in string: First line
1818+ * Second line
1919+ *
2020+ * Fourth line
2121+ */
2222+export type CommentWithBreaks = number;
2323+2424+/**
2525+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
2626+ */
2727+export type CommentWithBackticks = number;
2828+2929+/**
3030+ * Testing backticks and quotes in string: `backticks`, 'quotes', "double quotes" and ```multiple backticks``` should work
3131+ */
3232+export type CommentWithBackticksAndQuotes = number;
3333+3434+/**
3535+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
3636+ */
3737+export type CommentWithSlashes = number;
3838+3939+/**
4040+ * Testing expression placeholders in string: ${expression} should work
4141+ */
4242+export type CommentWithExpressionPlaceholders = number;
4343+4444+/**
4545+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
4646+ */
4747+export type CommentWithQuotes = number;
4848+4949+/**
5050+ * Testing reserved characters in string: * inline * and ** inline ** should work
5151+ */
5252+export type CommentWithReservedCharacters = number;
5353+5454+/**
5555+ * This is a simple number
5656+ */
5757+export type SimpleInteger = number;
5858+5959+/**
6060+ * This is a simple boolean
6161+ */
6262+export type SimpleBoolean = boolean;
6363+6464+/**
6565+ * This is a simple string
6666+ */
6767+export type SimpleString = string;
6868+6969+/**
7070+ * A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ字符串)
7171+ */
7272+export type NonAsciiStringæøåÆØÅöôêÊ字符串 = string;
7373+7474+/**
7575+ * This is a simple file
7676+ */
7777+export type SimpleFile = Blob | File;
7878+7979+/**
8080+ * This is a simple reference
8181+ */
8282+export type SimpleReference = ModelWithString;
8383+8484+/**
8585+ * This is a simple string
8686+ */
8787+export type SimpleStringWithPattern = string | null;
8888+8989+/**
9090+ * This is a simple enum with strings
9191+ */
9292+export type EnumWithStrings = 'Success' | 'Warning' | 'Error' | "'Single Quote'" | '"Double Quotes"' | 'Non-ascii: øæåôöØÆÅÔÖ字符串';
9393+9494+export type EnumWithReplacedCharacters = "'Single Quote'" | '"Double Quotes"' | 'øæåôöØÆÅÔÖ字符串' | 3.1 | '';
9595+9696+/**
9797+ * This is a simple enum with numbers
9898+ */
9999+export type EnumWithNumbers = 1 | 2 | 3 | 1.1 | 1.2 | 1.3 | 100 | 200 | 300 | -100 | -200 | -300 | -1.1 | -1.2 | -1.3;
100100+101101+/**
102102+ * Success=1,Warning=2,Error=3
103103+ */
104104+export type EnumFromDescription = number;
105105+106106+/**
107107+ * This is a simple enum with numbers
108108+ */
109109+export type EnumWithExtensions = 200 | 400 | 500;
110110+111111+export type EnumWithXEnumNames = 0 | 1 | 2;
112112+113113+/**
114114+ * This is a simple array with numbers
115115+ */
116116+export type ArrayWithNumbers = Array<number>;
117117+118118+/**
119119+ * This is a simple array with booleans
120120+ */
121121+export type ArrayWithBooleans = Array<boolean>;
122122+123123+/**
124124+ * This is a simple array with strings
125125+ */
126126+export type ArrayWithStrings = Array<string>;
127127+128128+/**
129129+ * This is a simple array with references
130130+ */
131131+export type ArrayWithReferences = Array<ModelWithString>;
132132+133133+/**
134134+ * This is a simple array containing an array
135135+ */
136136+export type ArrayWithArray = Array<Array<ModelWithString>>;
137137+138138+/**
139139+ * This is a simple array with properties
140140+ */
141141+export type ArrayWithProperties = Array<{
142142+ '16x16'?: camelCaseCommentWithBreaks;
143143+ bar?: string;
144144+}>;
145145+146146+/**
147147+ * This is a simple array with any of properties
148148+ */
149149+export type ArrayWithAnyOfProperties = Array<{
150150+ foo?: string;
151151+} | {
152152+ bar?: string;
153153+}>;
154154+155155+export type AnyOfAnyAndNull = {
156156+ data?: unknown | null;
157157+};
158158+159159+/**
160160+ * This is a simple array with any of properties
161161+ */
162162+export type AnyOfArrays = {
163163+ results?: Array<{
164164+ foo?: string;
165165+ } | {
166166+ bar?: string;
167167+ }>;
168168+};
169169+170170+/**
171171+ * This is a string dictionary
172172+ */
173173+export type DictionaryWithString = {
174174+ [key: string]: string;
175175+};
176176+177177+export type DictionaryWithPropertiesAndAdditionalProperties = {
178178+ foo?: number;
179179+ bar?: boolean;
180180+ [key: string]: string | number | boolean | undefined;
181181+};
182182+183183+/**
184184+ * This is a string reference
185185+ */
186186+export type DictionaryWithReference = {
187187+ [key: string]: ModelWithString;
188188+};
189189+190190+/**
191191+ * This is a complex dictionary
192192+ */
193193+export type DictionaryWithArray = {
194194+ [key: string]: Array<ModelWithString>;
195195+};
196196+197197+/**
198198+ * This is a string dictionary
199199+ */
200200+export type DictionaryWithDictionary = {
201201+ [key: string]: {
202202+ [key: string]: string;
203203+ };
204204+};
205205+206206+/**
207207+ * This is a complex dictionary
208208+ */
209209+export type DictionaryWithProperties = {
210210+ [key: string]: {
211211+ foo?: string;
212212+ bar?: string;
213213+ };
214214+};
215215+216216+/**
217217+ * This is a model with one number property
218218+ */
219219+export type ModelWithInteger = {
220220+ /**
221221+ * This is a simple number property
222222+ */
223223+ prop?: number;
224224+};
225225+226226+/**
227227+ * This is a model with one boolean property
228228+ */
229229+export type ModelWithBoolean = {
230230+ /**
231231+ * This is a simple boolean property
232232+ */
233233+ prop?: boolean;
234234+};
235235+236236+/**
237237+ * This is a model with one string property
238238+ */
239239+export type ModelWithString = {
240240+ /**
241241+ * This is a simple string property
242242+ */
243243+ prop?: string;
244244+};
245245+246246+/**
247247+ * This is a model with one string property
248248+ */
249249+export type ModelWithStringError = {
250250+ /**
251251+ * This is a simple string property
252252+ */
253253+ prop?: string;
254254+};
255255+256256+/**
257257+ * `Comment` or `VoiceComment`. The JSON object for adding voice comments to tickets is different. See [Adding voice comments to tickets](/documentation/ticketing/managing-tickets/adding-voice-comments-to-tickets)
258258+ */
259259+export type Model_From_Zendesk = string;
260260+261261+/**
262262+ * This is a model with one string property
263263+ */
264264+export type ModelWithNullableString = {
265265+ /**
266266+ * This is a simple string property
267267+ */
268268+ nullableProp1?: string | null;
269269+ /**
270270+ * This is a simple string property
271271+ */
272272+ nullableRequiredProp1: string | null;
273273+ /**
274274+ * This is a simple string property
275275+ */
276276+ nullableProp2?: string | null;
277277+ /**
278278+ * This is a simple string property
279279+ */
280280+ nullableRequiredProp2: string | null;
281281+ /**
282282+ * This is a simple enum with strings
283283+ */
284284+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
285285+};
286286+287287+/**
288288+ * This is a model with one enum
289289+ */
290290+export type ModelWithEnum = {
291291+ /**
292292+ * This is a simple enum with strings
293293+ */
294294+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
295295+ /**
296296+ * These are the HTTP error code enums
297297+ */
298298+ statusCode?: '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
299299+ /**
300300+ * Simple boolean enum
301301+ */
302302+ bool?: true;
303303+};
304304+305305+/**
306306+ * This is a model with one enum with escaped name
307307+ */
308308+export type ModelWithEnumWithHyphen = {
309309+ 'foo-bar-baz-qux'?: '3.0';
310310+};
311311+312312+/**
313313+ * This is a model with one enum
314314+ */
315315+export type ModelWithEnumFromDescription = {
316316+ /**
317317+ * Success=1,Warning=2,Error=3
318318+ */
319319+ test?: number;
320320+};
321321+322322+/**
323323+ * This is a model with nested enums
324324+ */
325325+export type ModelWithNestedEnums = {
326326+ dictionaryWithEnum?: {
327327+ [key: string]: 'Success' | 'Warning' | 'Error';
328328+ };
329329+ dictionaryWithEnumFromDescription?: {
330330+ [key: string]: number;
331331+ };
332332+ arrayWithEnum?: Array<'Success' | 'Warning' | 'Error'>;
333333+ arrayWithDescription?: Array<number>;
334334+ /**
335335+ * This is a simple enum with strings
336336+ */
337337+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
338338+};
339339+340340+/**
341341+ * This is a model with one property containing a reference
342342+ */
343343+export type ModelWithReference = {
344344+ prop?: ModelWithProperties;
345345+};
346346+347347+/**
348348+ * This is a model with one property containing an array
349349+ */
350350+export type ModelWithArrayReadOnlyAndWriteOnly = {
351351+ prop?: Array<ModelWithReadOnlyAndWriteOnly>;
352352+ propWithFile?: Array<Blob | File>;
353353+ propWithNumber?: Array<number>;
354354+};
355355+356356+/**
357357+ * This is a model with one property containing an array
358358+ */
359359+export type ModelWithArray = {
360360+ prop?: Array<ModelWithString>;
361361+ propWithFile?: Array<Blob | File>;
362362+ propWithNumber?: Array<number>;
363363+};
364364+365365+/**
366366+ * This is a model with one property containing a dictionary
367367+ */
368368+export type ModelWithDictionary = {
369369+ prop?: {
370370+ [key: string]: string;
371371+ };
372372+};
373373+374374+/**
375375+ * This is a deprecated model with a deprecated property
376376+ * @deprecated
377377+ */
378378+export type DeprecatedModel = {
379379+ /**
380380+ * This is a deprecated property
381381+ * @deprecated
382382+ */
383383+ prop?: string;
384384+};
385385+386386+/**
387387+ * This is a model with one property containing a circular reference
388388+ */
389389+export type ModelWithCircularReference = {
390390+ prop?: ModelWithCircularReference;
391391+};
392392+393393+/**
394394+ * This is a model with one property with a 'one of' relationship
395395+ */
396396+export type CompositionWithOneOf = {
397397+ propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
398398+};
399399+400400+/**
401401+ * This is a model with one property with a 'one of' relationship where the options are not $ref
402402+ */
403403+export type CompositionWithOneOfAnonymous = {
404404+ propA?: {
405405+ propA?: string;
406406+ } | string | number;
407407+};
408408+409409+/**
410410+ * Circle
411411+ */
412412+export type ModelCircle = {
413413+ kind: string;
414414+ radius?: number;
415415+};
416416+417417+/**
418418+ * Square
419419+ */
420420+export type ModelSquare = {
421421+ kind: string;
422422+ sideLength?: number;
423423+};
424424+425425+/**
426426+ * This is a model with one property with a 'one of' relationship where the options are not $ref
427427+ */
428428+export type CompositionWithOneOfDiscriminator = ({
429429+ kind?: 'circle';
430430+} & ModelCircle) | ({
431431+ kind?: 'square';
432432+} & ModelSquare);
433433+434434+/**
435435+ * This is a model with one property with a 'any of' relationship
436436+ */
437437+export type CompositionWithAnyOf = {
438438+ propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
439439+};
440440+441441+/**
442442+ * This is a model with one property with a 'any of' relationship where the options are not $ref
443443+ */
444444+export type CompositionWithAnyOfAnonymous = {
445445+ propA?: {
446446+ propA?: string;
447447+ } | string | number;
448448+};
449449+450450+/**
451451+ * This is a model with nested 'any of' property with a type null
452452+ */
453453+export type CompositionWithNestedAnyAndTypeNull = {
454454+ propA?: Array<ModelWithDictionary | null> | Array<ModelWithArray | null>;
455455+};
456456+457457+export type _3e_num_1Период = 'Bird' | 'Dog';
458458+459459+export type ConstValue = 'ConstValue';
460460+461461+/**
462462+ * This is a model with one property with a 'any of' relationship where the options are not $ref
463463+ */
464464+export type CompositionWithNestedAnyOfAndNull = {
465465+ propA?: Array<_3e_num_1Период | ConstValue> | null;
466466+};
467467+468468+/**
469469+ * This is a model with one property with a 'one of' relationship
470470+ */
471471+export type CompositionWithOneOfAndNullable = {
472472+ propA?: {
473473+ boolean?: boolean;
474474+ } | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
475475+};
476476+477477+/**
478478+ * This is a model that contains a simple dictionary within composition
479479+ */
480480+export type CompositionWithOneOfAndSimpleDictionary = {
481481+ propA?: boolean | {
482482+ [key: string]: number;
483483+ };
484484+};
485485+486486+/**
487487+ * This is a model that contains a dictionary of simple arrays within composition
488488+ */
489489+export type CompositionWithOneOfAndSimpleArrayDictionary = {
490490+ propA?: boolean | {
491491+ [key: string]: Array<boolean>;
492492+ };
493493+};
494494+495495+/**
496496+ * This is a model that contains a dictionary of complex arrays (composited) within composition
497497+ */
498498+export type CompositionWithOneOfAndComplexArrayDictionary = {
499499+ propA?: boolean | {
500500+ [key: string]: Array<number | string>;
501501+ };
502502+};
503503+504504+/**
505505+ * This is a model with one property with a 'all of' relationship
506506+ */
507507+export type CompositionWithAllOfAndNullable = {
508508+ propA?: ({
509509+ boolean?: boolean;
510510+ } & ModelWithEnum & ModelWithArray & ModelWithDictionary) | null;
511511+};
512512+513513+/**
514514+ * This is a model with one property with a 'any of' relationship
515515+ */
516516+export type CompositionWithAnyOfAndNullable = {
517517+ propA?: {
518518+ boolean?: boolean;
519519+ } | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
520520+};
521521+522522+/**
523523+ * This is a base model with two simple optional properties
524524+ */
525525+export type CompositionBaseModel = {
526526+ firstName?: string;
527527+ lastname?: string;
528528+};
529529+530530+/**
531531+ * This is a model that extends the base model
532532+ */
533533+export type CompositionExtendedModel = CompositionBaseModel & {
534534+ age: number;
535535+ firstName: string;
536536+ lastname: string;
537537+};
538538+539539+/**
540540+ * This is a model with one nested property
541541+ */
542542+export type ModelWithProperties = {
543543+ required: string;
544544+ readonly requiredAndReadOnly: string;
545545+ requiredAndNullable: string | null;
546546+ string?: string;
547547+ number?: number;
548548+ boolean?: boolean;
549549+ reference?: ModelWithString;
550550+ 'property with space'?: string;
551551+ default?: string;
552552+ try?: string;
553553+ readonly '@namespace.string'?: string;
554554+ readonly '@namespace.integer'?: number;
555555+};
556556+557557+/**
558558+ * This is a model with one nested property
559559+ */
560560+export type ModelWithNestedProperties = {
561561+ readonly first: {
562562+ readonly second: {
563563+ readonly third: string | null;
564564+ } | null;
565565+ } | null;
566566+};
567567+568568+/**
569569+ * This is a model with duplicated properties
570570+ */
571571+export type ModelWithDuplicateProperties = {
572572+ prop?: ModelWithString;
573573+};
574574+575575+/**
576576+ * This is a model with ordered properties
577577+ */
578578+export type ModelWithOrderedProperties = {
579579+ zebra?: string;
580580+ apple?: string;
581581+ hawaii?: string;
582582+};
583583+584584+/**
585585+ * This is a model with duplicated imports
586586+ */
587587+export type ModelWithDuplicateImports = {
588588+ propA?: ModelWithString;
589589+ propB?: ModelWithString;
590590+ propC?: ModelWithString;
591591+};
592592+593593+/**
594594+ * This is a model that extends another model
595595+ */
596596+export type ModelThatExtends = ModelWithString & {
597597+ propExtendsA?: string;
598598+ propExtendsB?: ModelWithString;
599599+};
600600+601601+/**
602602+ * This is a model that extends another model
603603+ */
604604+export type ModelThatExtendsExtends = ModelWithString & ModelThatExtends & {
605605+ propExtendsC?: string;
606606+ propExtendsD?: ModelWithString;
607607+};
608608+609609+/**
610610+ * This is a model that contains a some patterns
611611+ */
612612+export type ModelWithPattern = {
613613+ key: string;
614614+ name: string;
615615+ readonly enabled?: boolean;
616616+ readonly modified?: string;
617617+ id?: string;
618618+ text?: string;
619619+ patternWithSingleQuotes?: string;
620620+ patternWithNewline?: string;
621621+ patternWithBacktick?: string;
622622+};
623623+624624+export type File = {
625625+ readonly id?: string;
626626+ readonly updated_at?: string;
627627+ readonly created_at?: string;
628628+ mime: string;
629629+ readonly file?: string;
630630+};
631631+632632+export type _default = {
633633+ name?: string;
634634+};
635635+636636+export type Pageable = {
637637+ page?: number;
638638+ size?: number;
639639+ sort?: Array<string>;
640640+};
641641+642642+/**
643643+ * This is a free-form object without additionalProperties.
644644+ */
645645+export type FreeFormObjectWithoutAdditionalProperties = {};
646646+647647+/**
648648+ * This is a free-form object with additionalProperties: true.
649649+ */
650650+export type FreeFormObjectWithAdditionalPropertiesEqTrue = {
651651+ [key: string]: unknown;
652652+};
653653+654654+/**
655655+ * This is a free-form object with additionalProperties: {}.
656656+ */
657657+export type FreeFormObjectWithAdditionalPropertiesEqEmptyObject = {};
658658+659659+export type ModelWithConst = {
660660+ String?: 'String';
661661+ number?: 0;
662662+ null?: null;
663663+ withType?: 'Some string';
664664+};
665665+666666+/**
667667+ * This is a model with one property and additionalProperties: true
668668+ */
669669+export type ModelWithAdditionalPropertiesEqTrue = {
670670+ /**
671671+ * This is a simple string property
672672+ */
673673+ prop?: string;
674674+ [key: string]: unknown | string | undefined;
675675+};
676676+677677+export type NestedAnyOfArraysNullable = {
678678+ nullableArray?: Array<string | boolean> | null;
679679+};
680680+681681+export type CompositionWithOneOfAndProperties = ({
682682+ foo: SimpleParameter;
683683+} | {
684684+ bar: NonAsciiStringæøåÆØÅöôêÊ字符串;
685685+}) & {
686686+ baz: number | null;
687687+ qux: number;
688688+};
689689+690690+/**
691691+ * An object that can be null
692692+ */
693693+export type NullableObject = {
694694+ foo?: string;
695695+} | null;
696696+697697+/**
698698+ * Some % character
699699+ */
700700+export type CharactersInDescription = string;
701701+702702+export type ModelWithNullableObject = {
703703+ data?: NullableObject;
704704+};
705705+706706+export type ModelWithOneOfEnum = {
707707+ foo: 'Bar';
708708+} | {
709709+ foo: 'Baz';
710710+} | {
711711+ foo: 'Qux';
712712+} | {
713713+ content: string;
714714+ foo: 'Quux';
715715+} | {
716716+ content: [
717717+ string,
718718+ string
719719+ ];
720720+ foo: 'Corge';
721721+};
722722+723723+export type ModelWithNestedArrayEnumsDataFoo = 'foo' | 'bar';
724724+725725+export type ModelWithNestedArrayEnumsDataBar = 'baz' | 'qux';
726726+727727+export type ModelWithNestedArrayEnumsData = {
728728+ foo?: Array<ModelWithNestedArrayEnumsDataFoo>;
729729+ bar?: Array<ModelWithNestedArrayEnumsDataBar>;
730730+};
731731+732732+export type ModelWithNestedArrayEnums = {
733733+ array_strings?: Array<string>;
734734+ data?: ModelWithNestedArrayEnumsData;
735735+};
736736+737737+export type ModelWithNestedCompositionEnums = {
738738+ foo?: ModelWithNestedArrayEnumsDataFoo;
739739+};
740740+741741+export type ModelWithReadOnlyAndWriteOnly = {
742742+ foo: string;
743743+ readonly bar: string;
744744+ baz: string;
745745+};
746746+747747+export type ModelWithConstantSizeArray = [
748748+ number,
749749+ number
750750+];
751751+752752+export type ModelWithAnyOfConstantSizeArray = [
753753+ number | string,
754754+ number | string,
755755+ number | string
756756+];
757757+758758+export type ModelWithPrefixItemsConstantSizeArray = [
759759+ ModelWithInteger,
760760+ number | string,
761761+ string
762762+];
763763+764764+export type ModelWithAnyOfConstantSizeArrayNullable = [
765765+ number | null | string,
766766+ number | null | string,
767767+ number | null | string
768768+];
769769+770770+export type ModelWithAnyOfConstantSizeArrayWithNSizeAndOptions = [
771771+ number | _import,
772772+ number | _import
773773+];
774774+775775+export type ModelWithAnyOfConstantSizeArrayAndIntersect = [
776776+ number & string,
777777+ number & string
778778+];
779779+780780+export type ModelWithNumericEnumUnion = {
781781+ /**
782782+ * Период
783783+ */
784784+ value?: -10 | -1 | 0 | 1 | 3 | 6 | 12;
785785+};
786786+787787+/**
788788+ * Some description with `back ticks`
789789+ */
790790+export type ModelWithBackticksInDescription = {
791791+ /**
792792+ * The template `that` should be used for parsing and importing the contents of the CSV file.
793793+ *
794794+ * <br/><p>There is one placeholder currently supported:<ul> <li><b>${x}</b> - refers to the n-th column in the CSV file, e.g. ${1}, ${2}, ...)</li></ul><p>Example of a correct JSON template:</p>
795795+ * <pre>
796796+ * [
797797+ * {
798798+ * "resourceType": "Asset",
799799+ * "identifier": {
800800+ * "name": "${1}",
801801+ * "domain": {
802802+ * "name": "${2}",
803803+ * "community": {
804804+ * "name": "Some Community"
805805+ * }
806806+ * }
807807+ * },
808808+ * "attributes" : {
809809+ * "00000000-0000-0000-0000-000000003115" : [ {
810810+ * "value" : "${3}"
811811+ * } ],
812812+ * "00000000-0000-0000-0000-000000000222" : [ {
813813+ * "value" : "${4}"
814814+ * } ]
815815+ * }
816816+ * }
817817+ * ]
818818+ * </pre>
819819+ */
820820+ template?: string;
821821+};
822822+823823+export type ModelWithOneOfAndProperties = (SimpleParameter | NonAsciiStringæøåÆØÅöôêÊ字符串) & {
824824+ baz: number | null;
825825+ qux: number;
826826+};
827827+828828+/**
829829+ * Model used to test deduplication strategy (unused)
830830+ */
831831+export type ParameterSimpleParameterUnused = string;
832832+833833+/**
834834+ * Model used to test deduplication strategy
835835+ */
836836+export type PostServiceWithEmptyTagResponse = string;
837837+838838+/**
839839+ * Model used to test deduplication strategy
840840+ */
841841+export type PostServiceWithEmptyTagResponse2 = string;
842842+843843+/**
844844+ * Model used to test deduplication strategy
845845+ */
846846+export type DeleteFooData = string;
847847+848848+/**
849849+ * Model used to test deduplication strategy
850850+ */
851851+export type DeleteFooData2 = string;
852852+853853+/**
854854+ * Model with restricted keyword name
855855+ */
856856+export type _import = string;
857857+858858+export type SchemaWithFormRestrictedKeys = {
859859+ description?: string;
860860+ 'x-enum-descriptions'?: string;
861861+ 'x-enum-varnames'?: string;
862862+ 'x-enumNames'?: string;
863863+ title?: string;
864864+ object?: {
865865+ description?: string;
866866+ 'x-enum-descriptions'?: string;
867867+ 'x-enum-varnames'?: string;
868868+ 'x-enumNames'?: string;
869869+ title?: string;
870870+ };
871871+ array?: Array<{
872872+ description?: string;
873873+ 'x-enum-descriptions'?: string;
874874+ 'x-enum-varnames'?: string;
875875+ 'x-enumNames'?: string;
876876+ title?: string;
877877+ }>;
878878+};
879879+880880+/**
881881+ * This schema was giving PascalCase transformations a hard time
882882+ */
883883+export type io_k8s_apimachinery_pkg_apis_meta_v1_DeleteOptions = {
884884+ /**
885885+ * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.
886886+ */
887887+ preconditions?: io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions;
888888+};
889889+890890+/**
891891+ * This schema was giving PascalCase transformations a hard time
892892+ */
893893+export type io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions = {
894894+ /**
895895+ * Specifies the target ResourceVersion
896896+ */
897897+ resourceVersion?: string;
898898+ /**
899899+ * Specifies the target UID.
900900+ */
901901+ uid?: string;
902902+};
903903+904904+export type AdditionalPropertiesUnknownIssue = {
905905+ [key: string]: string | number;
906906+};
907907+908908+export type AdditionalPropertiesUnknownIssue2 = {
909909+ [key: string]: string | number;
910910+};
911911+912912+export type AdditionalPropertiesUnknownIssue3 = string & {
913913+ entries: {
914914+ [key: string]: AdditionalPropertiesUnknownIssue;
915915+ };
916916+};
917917+918918+export type AdditionalPropertiesIntegerIssue = {
919919+ value: number;
920920+ [key: string]: number;
921921+};
922922+923923+export type OneOfAllOfIssue = ((ConstValue | Generic_Schema_Duplicate_Issue_1_System_Boolean_) & _3e_num_1Период) | Generic_Schema_Duplicate_Issue_1_System_String_;
924924+925925+export type Generic_Schema_Duplicate_Issue_1_System_Boolean_ = {
926926+ item?: boolean;
927927+ error?: string | null;
928928+ readonly hasError?: boolean;
929929+ data?: {
930930+ [key: string]: never;
931931+ };
932932+};
933933+934934+export type Generic_Schema_Duplicate_Issue_1_System_String_ = {
935935+ item?: string | null;
936936+ error?: string | null;
937937+ readonly hasError?: boolean;
938938+};
939939+940940+/**
941941+ * This is a reusable parameter
942942+ */
943943+export type SimpleParameter = string;
944944+945945+/**
946946+ * Parameter with illegal characters
947947+ */
948948+export type x_Foo_Bar = ModelWithString;
949949+950950+export type ImportData = {
951951+ body: ModelWithReadOnlyAndWriteOnly | ModelWithArrayReadOnlyAndWriteOnly;
952952+};
953953+954954+export type ImportResponse = Model_From_Zendesk | ModelWithReadOnlyAndWriteOnly;
955955+956956+export type ApiVversionOdataControllerCountResponse = Model_From_Zendesk;
957957+958958+export type GetApiVbyApiVersionSimpleOperationData = {
959959+ body?: never;
960960+ path: {
961961+ /**
962962+ * foo in method
963963+ */
964964+ foo_param: string;
965965+ };
966966+ query?: never;
967967+};
968968+969969+export type GetApiVbyApiVersionSimpleOperationError = ModelWithBoolean;
970970+971971+export type GetApiVbyApiVersionSimpleOperationResponse = number;
972972+973973+export type DeleteFooData3 = {
974974+ body?: never;
975975+ headers: {
976976+ /**
977977+ * Parameter with illegal characters
978978+ */
979979+ 'x-Foo-Bar': ModelWithString;
980980+ };
981981+ path: {
982982+ /**
983983+ * foo in method
984984+ */
985985+ foo_param: string;
986986+ /**
987987+ * bar in method
988988+ */
989989+ BarParam: string;
990990+ };
991991+ query?: never;
992992+};
993993+994994+export type CallWithDescriptionsData = {
995995+ body?: never;
996996+ path?: never;
997997+ query?: {
998998+ /**
999999+ * Testing multiline comments in string: First line
10001000+ * Second line
10011001+ *
10021002+ * Fourth line
10031003+ */
10041004+ parameterWithBreaks?: string;
10051005+ /**
10061006+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
10071007+ */
10081008+ parameterWithBackticks?: string;
10091009+ /**
10101010+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
10111011+ */
10121012+ parameterWithSlashes?: string;
10131013+ /**
10141014+ * Testing expression placeholders in string: ${expression} should work
10151015+ */
10161016+ parameterWithExpressionPlaceholders?: string;
10171017+ /**
10181018+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
10191019+ */
10201020+ parameterWithQuotes?: string;
10211021+ /**
10221022+ * Testing reserved characters in string: * inline * and ** inline ** should work
10231023+ */
10241024+ parameterWithReservedCharacters?: string;
10251025+ };
10261026+};
10271027+10281028+export type DeprecatedCallData = {
10291029+ body?: never;
10301030+ headers: {
10311031+ /**
10321032+ * This parameter is deprecated
10331033+ * @deprecated
10341034+ */
10351035+ parameter: DeprecatedModel | null;
10361036+ };
10371037+ path?: never;
10381038+ query?: never;
10391039+};
10401040+10411041+export type CallWithParametersData = {
10421042+ /**
10431043+ * This is the parameter that goes into the body
10441044+ */
10451045+ body: {} | null;
10461046+ headers: {
10471047+ /**
10481048+ * This is the parameter that goes into the header
10491049+ */
10501050+ parameterHeader: string | null;
10511051+ };
10521052+ path: {
10531053+ /**
10541054+ * This is the parameter that goes into the path
10551055+ */
10561056+ parameterPath: string | null;
10571057+ /**
10581058+ * api-version should be required in standalone clients
10591059+ */
10601060+ 'api-version': string | null;
10611061+ };
10621062+ query: {
10631063+ foo_ref_enum?: ModelWithNestedArrayEnumsDataFoo;
10641064+ foo_all_of_enum: ModelWithNestedArrayEnumsDataFoo;
10651065+ /**
10661066+ * This is the parameter that goes into the query params
10671067+ */
10681068+ cursor: string | null;
10691069+ };
10701070+};
10711071+10721072+export type CallWithWeirdParameterNamesData = {
10731073+ /**
10741074+ * This is the parameter that goes into the body
10751075+ */
10761076+ body: ModelWithString | null;
10771077+ headers: {
10781078+ /**
10791079+ * This is the parameter that goes into the request header
10801080+ */
10811081+ 'parameter.header': string | null;
10821082+ };
10831083+ path: {
10841084+ /**
10851085+ * This is the parameter that goes into the path
10861086+ */
10871087+ 'parameter.path.1'?: string;
10881088+ /**
10891089+ * This is the parameter that goes into the path
10901090+ */
10911091+ 'parameter-path-2'?: string;
10921092+ /**
10931093+ * This is the parameter that goes into the path
10941094+ */
10951095+ 'PARAMETER-PATH-3'?: string;
10961096+ /**
10971097+ * api-version should be required in standalone clients
10981098+ */
10991099+ 'api-version': string | null;
11001100+ };
11011101+ query: {
11021102+ /**
11031103+ * This is the parameter with a reserved keyword
11041104+ */
11051105+ default?: string;
11061106+ /**
11071107+ * This is the parameter that goes into the request query params
11081108+ */
11091109+ 'parameter-query': string | null;
11101110+ };
11111111+};
11121112+11131113+export type GetCallWithOptionalParamData = {
11141114+ /**
11151115+ * This is a required parameter
11161116+ */
11171117+ body: ModelWithOneOfEnum;
11181118+ path?: never;
11191119+ query?: {
11201120+ /**
11211121+ * This is an optional parameter
11221122+ */
11231123+ page?: number;
11241124+ };
11251125+};
11261126+11271127+export type PostCallWithOptionalParamData = {
11281128+ /**
11291129+ * This is an optional parameter
11301130+ */
11311131+ body?: {
11321132+ offset?: number | null;
11331133+ };
11341134+ path?: never;
11351135+ query: {
11361136+ /**
11371137+ * This is a required parameter
11381138+ */
11391139+ parameter: Pageable;
11401140+ };
11411141+};
11421142+11431143+export type PostCallWithOptionalParamResponse = number | void;
11441144+11451145+export type PostApiVbyApiVersionRequestBodyData = {
11461146+ /**
11471147+ * A reusable request body
11481148+ */
11491149+ body?: ModelWithString;
11501150+ path?: never;
11511151+ query?: {
11521152+ /**
11531153+ * This is a reusable parameter
11541154+ */
11551155+ parameter?: string;
11561156+ };
11571157+};
11581158+11591159+export type PostApiVbyApiVersionFormDataData = {
11601160+ /**
11611161+ * A reusable request body
11621162+ */
11631163+ body?: ModelWithString;
11641164+ path?: never;
11651165+ query?: {
11661166+ /**
11671167+ * This is a reusable parameter
11681168+ */
11691169+ parameter?: string;
11701170+ };
11711171+};
11721172+11731173+export type CallWithDefaultParametersData = {
11741174+ body?: never;
11751175+ path?: never;
11761176+ query?: {
11771177+ /**
11781178+ * This is a simple string with default value
11791179+ */
11801180+ parameterString?: string | null;
11811181+ /**
11821182+ * This is a simple number with default value
11831183+ */
11841184+ parameterNumber?: number | null;
11851185+ /**
11861186+ * This is a simple boolean with default value
11871187+ */
11881188+ parameterBoolean?: boolean | null;
11891189+ /**
11901190+ * This is a simple enum with default value
11911191+ */
11921192+ parameterEnum?: 'Success' | 'Warning' | 'Error';
11931193+ /**
11941194+ * This is a simple model with default value
11951195+ */
11961196+ parameterModel?: ModelWithString | null;
11971197+ };
11981198+};
11991199+12001200+export type CallWithDefaultOptionalParametersData = {
12011201+ body?: never;
12021202+ path?: never;
12031203+ query?: {
12041204+ /**
12051205+ * This is a simple string that is optional with default value
12061206+ */
12071207+ parameterString?: string;
12081208+ /**
12091209+ * This is a simple number that is optional with default value
12101210+ */
12111211+ parameterNumber?: number;
12121212+ /**
12131213+ * This is a simple boolean that is optional with default value
12141214+ */
12151215+ parameterBoolean?: boolean;
12161216+ /**
12171217+ * This is a simple enum that is optional with default value
12181218+ */
12191219+ parameterEnum?: 'Success' | 'Warning' | 'Error';
12201220+ /**
12211221+ * This is a simple model that is optional with default value
12221222+ */
12231223+ parameterModel?: ModelWithString;
12241224+ };
12251225+};
12261226+12271227+export type CallToTestOrderOfParamsData = {
12281228+ body?: never;
12291229+ path?: never;
12301230+ query: {
12311231+ /**
12321232+ * This is a optional string with default
12331233+ */
12341234+ parameterOptionalStringWithDefault?: string;
12351235+ /**
12361236+ * This is a optional string with empty default
12371237+ */
12381238+ parameterOptionalStringWithEmptyDefault?: string;
12391239+ /**
12401240+ * This is a optional string with no default
12411241+ */
12421242+ parameterOptionalStringWithNoDefault?: string;
12431243+ /**
12441244+ * This is a string with default
12451245+ */
12461246+ parameterStringWithDefault: string;
12471247+ /**
12481248+ * This is a string with empty default
12491249+ */
12501250+ parameterStringWithEmptyDefault: string;
12511251+ /**
12521252+ * This is a string with no default
12531253+ */
12541254+ parameterStringWithNoDefault: string;
12551255+ /**
12561256+ * This is a string that can be null with no default
12571257+ */
12581258+ parameterStringNullableWithNoDefault?: string | null;
12591259+ /**
12601260+ * This is a string that can be null with default
12611261+ */
12621262+ parameterStringNullableWithDefault?: string | null;
12631263+ };
12641264+};
12651265+12661266+export type CallWithNoContentResponseResponse = void;
12671267+12681268+export type CallWithResponseAndNoContentResponseResponse = number | void;
12691269+12701270+export type DummyAResponse = _400;
12711271+12721272+export type DummyBResponse = void;
12731273+12741274+export type CallWithResponseResponse = _import;
12751275+12761276+export type CallWithDuplicateResponsesError = ModelWithStringError | DictionaryWithArray | ModelWithBoolean;
12771277+12781278+export type CallWithDuplicateResponsesResponse = (ModelWithBoolean & ModelWithInteger) | ModelWithString;
12791279+12801280+export type CallWithResponsesError = ModelWithStringError;
12811281+12821282+export type CallWithResponsesResponse = {
12831283+ readonly '@namespace.string'?: string;
12841284+ readonly '@namespace.integer'?: number;
12851285+ readonly value?: Array<ModelWithString>;
12861286+} | ModelThatExtends | ModelThatExtendsExtends;
12871287+12881288+export type CollectionFormatData = {
12891289+ body?: never;
12901290+ path?: never;
12911291+ query: {
12921292+ /**
12931293+ * This is an array parameter that is sent as csv format (comma-separated values)
12941294+ */
12951295+ parameterArrayCSV: Array<string> | null;
12961296+ /**
12971297+ * This is an array parameter that is sent as ssv format (space-separated values)
12981298+ */
12991299+ parameterArraySSV: Array<string> | null;
13001300+ /**
13011301+ * This is an array parameter that is sent as tsv format (tab-separated values)
13021302+ */
13031303+ parameterArrayTSV: Array<string> | null;
13041304+ /**
13051305+ * This is an array parameter that is sent as pipes format (pipe-separated values)
13061306+ */
13071307+ parameterArrayPipes: Array<string> | null;
13081308+ /**
13091309+ * This is an array parameter that is sent as multi format (multiple parameter instances)
13101310+ */
13111311+ parameterArrayMulti: Array<string> | null;
13121312+ };
13131313+};
13141314+13151315+export type TypesData = {
13161316+ body?: never;
13171317+ path?: {
13181318+ /**
13191319+ * This is a number parameter
13201320+ */
13211321+ id?: number;
13221322+ };
13231323+ query: {
13241324+ /**
13251325+ * This is a number parameter
13261326+ */
13271327+ parameterNumber: number;
13281328+ /**
13291329+ * This is a string parameter
13301330+ */
13311331+ parameterString: string | null;
13321332+ /**
13331333+ * This is a boolean parameter
13341334+ */
13351335+ parameterBoolean: boolean | null;
13361336+ /**
13371337+ * This is an object parameter
13381338+ */
13391339+ parameterObject: {} | null;
13401340+ /**
13411341+ * This is an array parameter
13421342+ */
13431343+ parameterArray: Array<string> | null;
13441344+ /**
13451345+ * This is a dictionary parameter
13461346+ */
13471347+ parameterDictionary: {} | null;
13481348+ /**
13491349+ * This is an enum parameter
13501350+ */
13511351+ parameterEnum: 'Success' | 'Warning' | 'Error' | null;
13521352+ };
13531353+};
13541354+13551355+export type TypesResponse = number | string | boolean | {};
13561356+13571357+export type UploadFileData = {
13581358+ body: Blob | File;
13591359+ path: {
13601360+ /**
13611361+ * api-version should be required in standalone clients
13621362+ */
13631363+ 'api-version': string | null;
13641364+ };
13651365+ query?: never;
13661366+};
13671367+13681368+export type UploadFileResponse = boolean;
13691369+13701370+export type FileResponseData = {
13711371+ body?: never;
13721372+ path: {
13731373+ id: string;
13741374+ /**
13751375+ * api-version should be required in standalone clients
13761376+ */
13771377+ 'api-version': string;
13781378+ };
13791379+ query?: never;
13801380+};
13811381+13821382+export type FileResponseResponse = Blob | File;
13831383+13841384+export type ComplexTypesData = {
13851385+ body?: never;
13861386+ path?: never;
13871387+ query: {
13881388+ /**
13891389+ * Parameter containing object
13901390+ */
13911391+ parameterObject: {
13921392+ first?: {
13931393+ second?: {
13941394+ third?: string;
13951395+ };
13961396+ };
13971397+ };
13981398+ /**
13991399+ * Parameter containing reference
14001400+ */
14011401+ parameterReference: ModelWithString;
14021402+ };
14031403+};
14041404+14051405+export type ComplexTypesResponse = Array<ModelWithString>;
14061406+14071407+export type MultipartResponseResponse = {
14081408+ file?: Blob | File;
14091409+ metadata?: {
14101410+ foo?: string;
14111411+ bar?: string;
14121412+ };
14131413+};
14141414+14151415+export type MultipartRequestData = {
14161416+ body?: {
14171417+ content?: Blob | File;
14181418+ data?: ModelWithString | null;
14191419+ };
14201420+};
14211421+14221422+export type ComplexParamsData = {
14231423+ body?: {
14241424+ readonly key: string | null;
14251425+ name: string | null;
14261426+ enabled?: boolean;
14271427+ type: 'Monkey' | 'Horse' | 'Bird';
14281428+ listOfModels?: Array<ModelWithString> | null;
14291429+ listOfStrings?: Array<string> | null;
14301430+ parameters: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
14311431+ readonly user?: {
14321432+ readonly id?: number;
14331433+ readonly name?: string | null;
14341434+ };
14351435+ };
14361436+ path: {
14371437+ id: number;
14381438+ /**
14391439+ * api-version should be required in standalone clients
14401440+ */
14411441+ 'api-version': string;
14421442+ };
14431443+ query?: never;
14441444+};
14451445+14461446+export type ComplexParamsResponse = ModelWithString;
14471447+14481448+export type TestErrorCodeData = {
14491449+ body?: never;
14501450+ path?: never;
14511451+ query: {
14521452+ /**
14531453+ * Status code to return
14541454+ */
14551455+ status: number;
14561456+ };
14571457+};
14581458+14591459+export type NonAsciiæøåÆøÅöôêÊ字符串Data = {
14601460+ body?: never;
14611461+ path?: never;
14621462+ query: {
14631463+ /**
14641464+ * Dummy input param
14651465+ */
14661466+ nonAsciiParamæøåÆØÅöôêÊ: number;
14671467+ };
14681468+};
14691469+14701470+export type NonAsciiæøåÆøÅöôêÊ字符串Response = Array<NonAsciiStringæøåÆØÅöôêÊ字符串>;
14711471+14721472+export type PutWithFormUrlEncodedData = {
14731473+ body: ArrayWithStrings;
14741474+};