···11// This file is auto-generated by @hey-api/openapi-ts
22-export * from './services.gen';22+export * from './services.gen';
33+export * from './types.gen';
···33import type { CancelablePromise } from './core/CancelablePromise';
44import { OpenAPI } from './core/OpenAPI';
55import { request as __request } from './core/request';
66+import type { ApiVversionOdataControllerCountResponse, DeleteFooData3, CallWithParametersData, CallWithWeirdParameterNamesData, GetCallWithOptionalParamData, PostCallWithOptionalParamData, PostCallWithOptionalParamResponse } from './types.gen';
6778export class myAwesomeSimpleApi {
89 /**
···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+/**
9595+ * This is a simple enum with strings
9696+ */
9797+export const EnumWithStrings = {
9898+ SUCCESS: 'Success',
9999+ WARNING: 'Warning',
100100+ ERROR: 'Error',
101101+ _SINGLE_QUOTE_: "'Single Quote'",
102102+ _DOUBLE_QUOTES_: '"Double Quotes"',
103103+ NON_ASCII__ØÆÅÔÖ_ØÆÅÔÖ字符串: 'Non-ascii: øæåôöØÆÅÔÖ字符串'
104104+} as const;
105105+106106+export type EnumWithReplacedCharacters = "'Single Quote'" | '"Double Quotes"' | 'øæåôöØÆÅÔÖ字符串' | 3.1 | '';
107107+108108+export const EnumWithReplacedCharacters = {
109109+ _SINGLE_QUOTE_: "'Single Quote'",
110110+ _DOUBLE_QUOTES_: '"Double Quotes"',
111111+ ØÆÅÔÖ_ØÆÅÔÖ字符串: 'øæåôöØÆÅÔÖ字符串',
112112+ '_3.1': 3.1,
113113+ EMPTY_STRING: ''
114114+} as const;
115115+116116+/**
117117+ * This is a simple enum with numbers
118118+ */
119119+export type EnumWithNumbers = 1 | 2 | 3 | 1.1 | 1.2 | 1.3 | 100 | 200 | 300 | -100 | -200 | -300 | -1.1 | -1.2 | -1.3;
120120+121121+/**
122122+ * This is a simple enum with numbers
123123+ */
124124+export const EnumWithNumbers = {
125125+ '_1': 1,
126126+ '_2': 2,
127127+ '_3': 3,
128128+ '_1.1': 1.1,
129129+ '_1.2': 1.2,
130130+ '_1.3': 1.3,
131131+ '_100': 100,
132132+ '_200': 200,
133133+ '_300': 300,
134134+ '_-100': -100,
135135+ '_-200': -200,
136136+ '_-300': -300,
137137+ '_-1.1': -1.1,
138138+ '_-1.2': -1.2,
139139+ '_-1.3': -1.3
140140+} as const;
141141+142142+/**
143143+ * Success=1,Warning=2,Error=3
144144+ */
145145+export type EnumFromDescription = number;
146146+147147+/**
148148+ * This is a simple enum with numbers
149149+ */
150150+export type EnumWithExtensions = 200 | 400 | 500;
151151+152152+/**
153153+ * This is a simple enum with numbers
154154+ */
155155+export const EnumWithExtensions = {
156156+ /**
157157+ * Used when the status of something is successful
158158+ */
159159+ CUSTOM_SUCCESS: 200,
160160+ /**
161161+ * Used when the status of something has a warning
162162+ */
163163+ CUSTOM_WARNING: 400,
164164+ /**
165165+ * Used when the status of something has an error
166166+ */
167167+ CUSTOM_ERROR: 500
168168+} as const;
169169+170170+export type EnumWithXEnumNames = 0 | 1 | 2;
171171+172172+export const EnumWithXEnumNames = {
173173+ zero: 0,
174174+ one: 1,
175175+ two: 2
176176+} as const;
177177+178178+/**
179179+ * This is a simple array with numbers
180180+ */
181181+export type ArrayWithNumbers = Array<(number)>;
182182+183183+/**
184184+ * This is a simple array with booleans
185185+ */
186186+export type ArrayWithBooleans = Array<(boolean)>;
187187+188188+/**
189189+ * This is a simple array with strings
190190+ */
191191+export type ArrayWithStrings = Array<(string)>;
192192+193193+/**
194194+ * This is a simple array with references
195195+ */
196196+export type ArrayWithReferences = Array<ModelWithString>;
197197+198198+/**
199199+ * This is a simple array containing an array
200200+ */
201201+export type ArrayWithArray = Array<Array<ModelWithString>>;
202202+203203+/**
204204+ * This is a simple array with properties
205205+ */
206206+export type ArrayWithProperties = Array<{
207207+ '16x16'?: camelCaseCommentWithBreaks;
208208+ bar?: string;
209209+}>;
210210+211211+/**
212212+ * This is a simple array with any of properties
213213+ */
214214+export type ArrayWithAnyOfProperties = Array<({
215215+ foo?: string;
216216+} | {
217217+ bar?: string;
218218+})>;
219219+220220+export type AnyOfAnyAndNull = {
221221+ data?: unknown | null;
222222+};
223223+224224+/**
225225+ * This is a simple array with any of properties
226226+ */
227227+export type AnyOfArrays = {
228228+ results?: Array<({
229229+ foo?: string;
230230+} | {
231231+ bar?: string;
232232+})>;
233233+};
234234+235235+/**
236236+ * This is a string dictionary
237237+ */
238238+export type DictionaryWithString = {
239239+ [key: string]: (string);
240240+};
241241+242242+export type DictionaryWithPropertiesAndAdditionalProperties = {
243243+ foo?: number;
244244+ bar?: boolean;
245245+ [key: string]: (string | number | boolean) | undefined;
246246+};
247247+248248+/**
249249+ * This is a string reference
250250+ */
251251+export type DictionaryWithReference = {
252252+ [key: string]: ModelWithString;
253253+};
254254+255255+/**
256256+ * This is a complex dictionary
257257+ */
258258+export type DictionaryWithArray = {
259259+ [key: string]: Array<ModelWithString>;
260260+};
261261+262262+/**
263263+ * This is a string dictionary
264264+ */
265265+export type DictionaryWithDictionary = {
266266+ [key: string]: {
267267+ [key: string]: (string);
268268+ };
269269+};
270270+271271+/**
272272+ * This is a complex dictionary
273273+ */
274274+export type DictionaryWithProperties = {
275275+ [key: string]: {
276276+ foo?: string;
277277+ bar?: string;
278278+ };
279279+};
280280+281281+/**
282282+ * This is a model with one number property
283283+ */
284284+export type ModelWithInteger = {
285285+ /**
286286+ * This is a simple number property
287287+ */
288288+ prop?: number;
289289+};
290290+291291+/**
292292+ * This is a model with one boolean property
293293+ */
294294+export type ModelWithBoolean = {
295295+ /**
296296+ * This is a simple boolean property
297297+ */
298298+ prop?: boolean;
299299+};
300300+301301+/**
302302+ * This is a model with one string property
303303+ */
304304+export type ModelWithString = {
305305+ /**
306306+ * This is a simple string property
307307+ */
308308+ prop?: string;
309309+};
310310+311311+/**
312312+ * This is a model with one string property
313313+ */
314314+export type ModelWithStringError = {
315315+ /**
316316+ * This is a simple string property
317317+ */
318318+ prop?: string;
319319+};
320320+321321+/**
322322+ * `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)
323323+ */
324324+export type Model_From_Zendesk = string;
325325+326326+/**
327327+ * This is a model with one string property
328328+ */
329329+export type ModelWithNullableString = {
330330+ /**
331331+ * This is a simple string property
332332+ */
333333+ nullableProp1?: string | null;
334334+ /**
335335+ * This is a simple string property
336336+ */
337337+ nullableRequiredProp1: string | null;
338338+ /**
339339+ * This is a simple string property
340340+ */
341341+ nullableProp2?: string | null;
342342+ /**
343343+ * This is a simple string property
344344+ */
345345+ nullableRequiredProp2: string | null;
346346+ /**
347347+ * This is a simple enum with strings
348348+ */
349349+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
350350+};
351351+352352+/**
353353+ * This is a simple enum with strings
354354+ */
355355+export type foo_bar_enum = 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
356356+357357+/**
358358+ * This is a simple enum with strings
359359+ */
360360+export const foo_bar_enum = {
361361+ SUCCESS: 'Success',
362362+ WARNING: 'Warning',
363363+ ERROR: 'Error',
364364+ ØÆÅ字符串: 'ØÆÅ字符串'
365365+} as const;
366366+367367+/**
368368+ * This is a model with one enum
369369+ */
370370+export type ModelWithEnum = {
371371+ /**
372372+ * This is a simple enum with strings
373373+ */
374374+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
375375+ /**
376376+ * These are the HTTP error code enums
377377+ */
378378+ statusCode?: '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
379379+ /**
380380+ * Simple boolean enum
381381+ */
382382+ bool?: boolean;
383383+};
384384+385385+/**
386386+ * These are the HTTP error code enums
387387+ */
388388+export type statusCode = '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
389389+390390+/**
391391+ * These are the HTTP error code enums
392392+ */
393393+export const statusCode = {
394394+ _100: '100',
395395+ _200_FOO: '200 FOO',
396396+ _300_FOO_BAR: '300 FOO_BAR',
397397+ _400_FOO_BAR: '400 foo-bar',
398398+ _500_FOO_BAR: '500 foo.bar',
399399+ _600_FOO_BAR: '600 foo&bar'
400400+} as const;
401401+402402+/**
403403+ * This is a model with one enum with escaped name
404404+ */
405405+export type ModelWithEnumWithHyphen = {
406406+ 'foo-bar-baz-qux'?: '3.0';
407407+};
408408+409409+export type foo_bar_baz_qux = '3.0';
410410+411411+export const foo_bar_baz_qux = {
412412+ _3_0: '3.0'
413413+} as const;
414414+415415+/**
416416+ * This is a model with one enum
417417+ */
418418+export type ModelWithEnumFromDescription = {
419419+ /**
420420+ * Success=1,Warning=2,Error=3
421421+ */
422422+ test?: number;
423423+};
424424+425425+/**
426426+ * This is a model with nested enums
427427+ */
428428+export type ModelWithNestedEnums = {
429429+ dictionaryWithEnum?: {
430430+ [key: string]: ('Success' | 'Warning' | 'Error');
431431+ };
432432+ dictionaryWithEnumFromDescription?: {
433433+ [key: string]: (number);
434434+ };
435435+ arrayWithEnum?: Array<('Success' | 'Warning' | 'Error')>;
436436+ arrayWithDescription?: Array<(number)>;
437437+ /**
438438+ * This is a simple enum with strings
439439+ */
440440+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
441441+};
442442+443443+/**
444444+ * This is a model with one property containing a reference
445445+ */
446446+export type ModelWithReference = {
447447+ prop?: ModelWithProperties;
448448+};
449449+450450+/**
451451+ * This is a model with one property containing an array
452452+ */
453453+export type ModelWithArrayReadOnlyAndWriteOnly = {
454454+ prop?: Array<ModelWithReadOnlyAndWriteOnly>;
455455+ propWithFile?: Array<((Blob | File))>;
456456+ propWithNumber?: Array<(number)>;
457457+};
458458+459459+/**
460460+ * This is a model with one property containing an array
461461+ */
462462+export type ModelWithArray = {
463463+ prop?: Array<ModelWithString>;
464464+ propWithFile?: Array<((Blob | File))>;
465465+ propWithNumber?: Array<(number)>;
466466+};
467467+468468+/**
469469+ * This is a model with one property containing a dictionary
470470+ */
471471+export type ModelWithDictionary = {
472472+ prop?: {
473473+ [key: string]: (string);
474474+ };
475475+};
476476+477477+/**
478478+ * This is a deprecated model with a deprecated property
479479+ * @deprecated
480480+ */
481481+export type DeprecatedModel = {
482482+ /**
483483+ * This is a deprecated property
484484+ * @deprecated
485485+ */
486486+ prop?: string;
487487+};
488488+489489+/**
490490+ * This is a model with one property containing a circular reference
491491+ */
492492+export type ModelWithCircularReference = {
493493+ prop?: ModelWithCircularReference;
494494+};
495495+496496+/**
497497+ * This is a model with one property with a 'one of' relationship
498498+ */
499499+export type CompositionWithOneOf = {
500500+ propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
501501+};
502502+503503+/**
504504+ * This is a model with one property with a 'one of' relationship where the options are not $ref
505505+ */
506506+export type CompositionWithOneOfAnonymous = {
507507+ propA?: {
508508+ propA?: string;
509509+} | string | number;
510510+};
511511+512512+/**
513513+ * Circle
514514+ */
515515+export type ModelCircle = {
516516+ kind: 'circle';
517517+ radius?: number;
518518+};
519519+520520+/**
521521+ * Square
522522+ */
523523+export type ModelSquare = {
524524+ kind: 'square';
525525+ sideLength?: number;
526526+};
527527+528528+/**
529529+ * This is a model with one property with a 'one of' relationship where the options are not $ref
530530+ */
531531+export type CompositionWithOneOfDiscriminator = ModelCircle | ModelSquare;
532532+533533+/**
534534+ * This is a model with one property with a 'any of' relationship
535535+ */
536536+export type CompositionWithAnyOf = {
537537+ propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
538538+};
539539+540540+/**
541541+ * This is a model with one property with a 'any of' relationship where the options are not $ref
542542+ */
543543+export type CompositionWithAnyOfAnonymous = {
544544+ propA?: {
545545+ propA?: string;
546546+} | string | number;
547547+};
548548+549549+/**
550550+ * This is a model with nested 'any of' property with a type null
551551+ */
552552+export type CompositionWithNestedAnyAndTypeNull = {
553553+ propA?: Array<(ModelWithDictionary | null)> | Array<(ModelWithArray | null)>;
554554+};
555555+556556+export type _3e_num_1Период = 'Bird' | 'Dog';
557557+558558+export const _3e_num_1Период = {
559559+ BIRD: 'Bird',
560560+ DOG: 'Dog'
561561+} as const;
562562+563563+export type ConstValue = "ConstValue";
564564+565565+/**
566566+ * This is a model with one property with a 'any of' relationship where the options are not $ref
567567+ */
568568+export type CompositionWithNestedAnyOfAndNull = {
569569+ propA?: Array<(_3e_num_1Период | ConstValue)> | null;
570570+};
571571+572572+/**
573573+ * This is a model with one property with a 'one of' relationship
574574+ */
575575+export type CompositionWithOneOfAndNullable = {
576576+ propA?: {
577577+ boolean?: boolean;
578578+} | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
579579+};
580580+581581+/**
582582+ * This is a model that contains a simple dictionary within composition
583583+ */
584584+export type CompositionWithOneOfAndSimpleDictionary = {
585585+ propA?: boolean | {
586586+ [key: string]: (number);
587587+};
588588+};
589589+590590+/**
591591+ * This is a model that contains a dictionary of simple arrays within composition
592592+ */
593593+export type CompositionWithOneOfAndSimpleArrayDictionary = {
594594+ propA?: boolean | {
595595+ [key: string]: Array<(boolean)>;
596596+};
597597+};
598598+599599+/**
600600+ * This is a model that contains a dictionary of complex arrays (composited) within composition
601601+ */
602602+export type CompositionWithOneOfAndComplexArrayDictionary = {
603603+ propA?: boolean | {
604604+ [key: string]: Array<(number | string)>;
605605+};
606606+};
607607+608608+/**
609609+ * This is a model with one property with a 'all of' relationship
610610+ */
611611+export type CompositionWithAllOfAndNullable = {
612612+ propA?: ({
613613+ boolean?: boolean;
614614+} & ModelWithEnum & ModelWithArray & ModelWithDictionary) | null;
615615+};
616616+617617+/**
618618+ * This is a model with one property with a 'any of' relationship
619619+ */
620620+export type CompositionWithAnyOfAndNullable = {
621621+ propA?: {
622622+ boolean?: boolean;
623623+} | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
624624+};
625625+626626+/**
627627+ * This is a base model with two simple optional properties
628628+ */
629629+export type CompositionBaseModel = {
630630+ firstName?: string;
631631+ lastname?: string;
632632+};
633633+634634+/**
635635+ * This is a model that extends the base model
636636+ */
637637+export type CompositionExtendedModel = CompositionBaseModel & {
638638+ firstName: string;
639639+ lastname: string;
640640+ age: number;
641641+};
642642+643643+/**
644644+ * This is a model with one nested property
645645+ */
646646+export type ModelWithProperties = {
647647+ required: string;
648648+ readonly requiredAndReadOnly: string;
649649+ requiredAndNullable: string | null;
650650+ string?: string;
651651+ number?: number;
652652+ boolean?: boolean;
653653+ reference?: ModelWithString;
654654+ 'property with space'?: string;
655655+ default?: string;
656656+ try?: string;
657657+ readonly '@namespace.string'?: string;
658658+ readonly '@namespace.integer'?: number;
659659+};
660660+661661+/**
662662+ * This is a model with one nested property
663663+ */
664664+export type ModelWithNestedProperties = {
665665+ readonly first: {
666666+ readonly second: {
667667+ readonly third: string | null;
668668+ } | null;
669669+ } | null;
670670+};
671671+672672+/**
673673+ * This is a model with duplicated properties
674674+ */
675675+export type ModelWithDuplicateProperties = {
676676+ prop?: ModelWithString;
677677+};
678678+679679+/**
680680+ * This is a model with ordered properties
681681+ */
682682+export type ModelWithOrderedProperties = {
683683+ zebra?: string;
684684+ apple?: string;
685685+ hawaii?: string;
686686+};
687687+688688+/**
689689+ * This is a model with duplicated imports
690690+ */
691691+export type ModelWithDuplicateImports = {
692692+ propA?: ModelWithString;
693693+ propB?: ModelWithString;
694694+ propC?: ModelWithString;
695695+};
696696+697697+/**
698698+ * This is a model that extends another model
699699+ */
700700+export type ModelThatExtends = ModelWithString & {
701701+ propExtendsA?: string;
702702+ propExtendsB?: ModelWithString;
703703+};
704704+705705+/**
706706+ * This is a model that extends another model
707707+ */
708708+export type ModelThatExtendsExtends = ModelWithString & ModelThatExtends & {
709709+ propExtendsC?: string;
710710+ propExtendsD?: ModelWithString;
711711+};
712712+713713+/**
714714+ * This is a model that contains a some patterns
715715+ */
716716+export type ModelWithPattern = {
717717+ key: string;
718718+ name: string;
719719+ readonly enabled?: boolean;
720720+ readonly modified?: string;
721721+ id?: string;
722722+ text?: string;
723723+ patternWithSingleQuotes?: string;
724724+ patternWithNewline?: string;
725725+ patternWithBacktick?: string;
726726+};
727727+728728+export type File = {
729729+ readonly id?: string;
730730+ readonly updated_at?: string;
731731+ readonly created_at?: string;
732732+ mime: string;
733733+ readonly file?: string;
734734+};
735735+736736+export type _default = {
737737+ name?: string;
738738+};
739739+740740+export type Pageable = {
741741+ page?: number;
742742+ size?: number;
743743+ sort?: Array<(string)>;
744744+};
745745+746746+/**
747747+ * This is a free-form object without additionalProperties.
748748+ */
749749+export type FreeFormObjectWithoutAdditionalProperties = {
750750+ [key: string]: unknown;
751751+};
752752+753753+/**
754754+ * This is a free-form object with additionalProperties: true.
755755+ */
756756+export type FreeFormObjectWithAdditionalPropertiesEqTrue = {
757757+ [key: string]: unknown;
758758+};
759759+760760+/**
761761+ * This is a free-form object with additionalProperties: {}.
762762+ */
763763+export type FreeFormObjectWithAdditionalPropertiesEqEmptyObject = {
764764+ [key: string]: unknown;
765765+};
766766+767767+export type ModelWithConst = {
768768+ String?: "String";
769769+ number?: 0;
770770+ null?: null;
771771+ withType?: "Some string";
772772+};
773773+774774+/**
775775+ * This is a model with one property and additionalProperties: true
776776+ */
777777+export type ModelWithAdditionalPropertiesEqTrue = {
778778+ /**
779779+ * This is a simple string property
780780+ */
781781+ prop?: string;
782782+ [key: string]: unknown | string;
783783+};
784784+785785+export type NestedAnyOfArraysNullable = {
786786+ nullableArray?: Array<(string | boolean)> | null;
787787+};
788788+789789+export type CompositionWithOneOfAndProperties = {
790790+ foo: ParameterSimpleParameter;
791791+} | {
792792+ bar: NonAsciiStringæøåÆØÅöôêÊ字符串;
793793+} & {
794794+ baz: number | null;
795795+ qux: number;
796796+};
797797+798798+/**
799799+ * An object that can be null
800800+ */
801801+export type NullableObject = {
802802+ foo?: string;
803803+} | null;
804804+805805+/**
806806+ * Some % character
807807+ */
808808+export type CharactersInDescription = string;
809809+810810+export type ModelWithNullableObject = {
811811+ data?: NullableObject;
812812+};
813813+814814+export type ModelWithOneOfEnum = {
815815+ foo: 'Bar';
816816+} | {
817817+ foo: 'Baz';
818818+} | {
819819+ foo: 'Qux';
820820+} | {
821821+ content: string;
822822+ foo: 'Quux';
823823+} | {
824824+ content: [
825825+ string,
826826+ string
827827+ ];
828828+ foo: 'Corge';
829829+};
830830+831831+export type foo = 'Bar';
832832+833833+export const foo = {
834834+ BAR: 'Bar'
835835+} as const;
836836+837837+export type ModelWithNestedArrayEnumsDataFoo = 'foo' | 'bar';
838838+839839+export const ModelWithNestedArrayEnumsDataFoo = {
840840+ FOO: 'foo',
841841+ BAR: 'bar'
842842+} as const;
843843+844844+export type ModelWithNestedArrayEnumsDataBar = 'baz' | 'qux';
845845+846846+export const ModelWithNestedArrayEnumsDataBar = {
847847+ BAZ: 'baz',
848848+ QUX: 'qux'
849849+} as const;
850850+851851+export type ModelWithNestedArrayEnumsData = {
852852+ foo?: Array<ModelWithNestedArrayEnumsDataFoo>;
853853+ bar?: Array<ModelWithNestedArrayEnumsDataBar>;
854854+};
855855+856856+export type ModelWithNestedArrayEnums = {
857857+ array_strings?: Array<(string)>;
858858+ data?: ModelWithNestedArrayEnumsData;
859859+};
860860+861861+export type ModelWithNestedCompositionEnums = {
862862+ foo?: ModelWithNestedArrayEnumsDataFoo;
863863+};
864864+865865+export type ModelWithReadOnlyAndWriteOnly = {
866866+ foo: string;
867867+ readonly bar: string;
868868+ baz: string;
869869+};
870870+871871+export type ModelWithConstantSizeArray = [
872872+ number,
873873+ number
874874+];
875875+876876+export type ModelWithAnyOfConstantSizeArray = [
877877+ number | string,
878878+ number | string,
879879+ number | string
880880+];
881881+882882+export type ModelWithPrefixItemsConstantSizeArray = [
883883+ ModelWithInteger,
884884+ number | string,
885885+ string
886886+];
887887+888888+export type ModelWithAnyOfConstantSizeArrayNullable = [
889889+ number | null | string,
890890+ number | null | string,
891891+ number | null | string
892892+];
893893+894894+export type ModelWithAnyOfConstantSizeArrayWithNSizeAndOptions = [
895895+ number | _import,
896896+ number | _import
897897+];
898898+899899+export type ModelWithAnyOfConstantSizeArrayAndIntersect = [
900900+ number & string,
901901+ number & string
902902+];
903903+904904+export type ModelWithNumericEnumUnion = {
905905+ /**
906906+ * Период
907907+ */
908908+ value?: -10 | -1 | 0 | 1 | 3 | 6 | 12;
909909+};
910910+911911+/**
912912+ * Период
913913+ */
914914+export type value = -10 | -1 | 0 | 1 | 3 | 6 | 12;
915915+916916+/**
917917+ * Период
918918+ */
919919+export const value = {
920920+ '_-10': -10,
921921+ '_-1': -1,
922922+ '_0': 0,
923923+ '_1': 1,
924924+ '_3': 3,
925925+ '_6': 6,
926926+ '_12': 12
927927+} as const;
928928+929929+/**
930930+ * Some description with `back ticks`
931931+ */
932932+export type ModelWithBackticksInDescription = {
933933+ /**
934934+ * The template `that` should be used for parsing and importing the contents of the CSV file.
935935+ *
936936+ * <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>
937937+ * <pre>
938938+ * [
939939+ * {
940940+ * "resourceType": "Asset",
941941+ * "identifier": {
942942+ * "name": "${1}",
943943+ * "domain": {
944944+ * "name": "${2}",
945945+ * "community": {
946946+ * "name": "Some Community"
947947+ * }
948948+ * }
949949+ * },
950950+ * "attributes" : {
951951+ * "00000000-0000-0000-0000-000000003115" : [ {
952952+ * "value" : "${3}"
953953+ * } ],
954954+ * "00000000-0000-0000-0000-000000000222" : [ {
955955+ * "value" : "${4}"
956956+ * } ]
957957+ * }
958958+ * }
959959+ * ]
960960+ * </pre>
961961+ */
962962+ template?: string;
963963+};
964964+965965+export type ModelWithOneOfAndProperties = ParameterSimpleParameter | NonAsciiStringæøåÆØÅöôêÊ字符串 & {
966966+ baz: number | null;
967967+ qux: number;
968968+};
969969+970970+/**
971971+ * Model used to test deduplication strategy (unused)
972972+ */
973973+export type ParameterSimpleParameterUnused = string;
974974+975975+/**
976976+ * Model used to test deduplication strategy
977977+ */
978978+export type PostServiceWithEmptyTagResponse = string;
979979+980980+/**
981981+ * Model used to test deduplication strategy
982982+ */
983983+export type PostServiceWithEmptyTagResponse2 = string;
984984+985985+/**
986986+ * Model used to test deduplication strategy
987987+ */
988988+export type DeleteFooData = string;
989989+990990+/**
991991+ * Model used to test deduplication strategy
992992+ */
993993+export type DeleteFooData2 = string;
994994+995995+/**
996996+ * Model with restricted keyword name
997997+ */
998998+export type _import = string;
999999+10001000+export type SchemaWithFormRestrictedKeys = {
10011001+ description?: string;
10021002+ 'x-enum-descriptions'?: string;
10031003+ 'x-enum-varnames'?: string;
10041004+ 'x-enumNames'?: string;
10051005+ title?: string;
10061006+ object?: {
10071007+ description?: string;
10081008+ 'x-enum-descriptions'?: string;
10091009+ 'x-enum-varnames'?: string;
10101010+ 'x-enumNames'?: string;
10111011+ title?: string;
10121012+ };
10131013+ array?: Array<({
10141014+ description?: string;
10151015+ 'x-enum-descriptions'?: string;
10161016+ 'x-enum-varnames'?: string;
10171017+ 'x-enumNames'?: string;
10181018+ title?: string;
10191019+})>;
10201020+};
10211021+10221022+/**
10231023+ * This is a reusable parameter
10241024+ */
10251025+export type ParameterSimpleParameter = string;
10261026+10271027+/**
10281028+ * Parameter with illegal characters
10291029+ */
10301030+export type Parameterx_Foo_Bar = ModelWithString;
10311031+10321032+export type ApiVversionOdataControllerCountResponse = Model_From_Zendesk;
10331033+10341034+export type DeleteFooData3 = {
10351035+ /**
10361036+ * bar in method
10371037+ */
10381038+ barParam: string;
10391039+ /**
10401040+ * foo in method
10411041+ */
10421042+ fooParam: string;
10431043+ /**
10441044+ * Parameter with illegal characters
10451045+ */
10461046+ xFooBar: ModelWithString;
10471047+};
10481048+10491049+export type CallWithParametersData = {
10501050+ /**
10511051+ * This is the parameter that goes into the query params
10521052+ */
10531053+ cursor: string | null;
10541054+ fooAllOfEnum: ModelWithNestedArrayEnumsDataFoo;
10551055+ fooRefEnum?: ModelWithNestedArrayEnumsDataFoo;
10561056+ /**
10571057+ * This is the parameter that goes into the cookie
10581058+ */
10591059+ parameterCookie: string | null;
10601060+ /**
10611061+ * This is the parameter that goes into the header
10621062+ */
10631063+ parameterHeader: string | null;
10641064+ /**
10651065+ * This is the parameter that goes into the path
10661066+ */
10671067+ parameterPath: string | null;
10681068+ /**
10691069+ * This is the parameter that goes into the body
10701070+ */
10711071+ requestBody: {
10721072+ [key: string]: unknown;
10731073+ } | null;
10741074+};
10751075+10761076+export type CallWithWeirdParameterNamesData = {
10771077+ /**
10781078+ * This is the parameter with a reserved keyword
10791079+ */
10801080+ _default?: string;
10811081+ /**
10821082+ * This is the parameter that goes into the cookie
10831083+ */
10841084+ parameterCookie: string | null;
10851085+ /**
10861086+ * This is the parameter that goes into the request header
10871087+ */
10881088+ parameterHeader: string | null;
10891089+ /**
10901090+ * This is the parameter that goes into the path
10911091+ */
10921092+ parameterPath1?: string;
10931093+ /**
10941094+ * This is the parameter that goes into the path
10951095+ */
10961096+ parameterPath2?: string;
10971097+ /**
10981098+ * This is the parameter that goes into the path
10991099+ */
11001100+ parameterPath3?: string;
11011101+ /**
11021102+ * This is the parameter that goes into the request query params
11031103+ */
11041104+ parameterQuery: string | null;
11051105+ /**
11061106+ * This is the parameter that goes into the body
11071107+ */
11081108+ requestBody: ModelWithString | null;
11091109+};
11101110+11111111+export type GetCallWithOptionalParamData = {
11121112+ /**
11131113+ * This is an optional parameter
11141114+ */
11151115+ page?: number;
11161116+ /**
11171117+ * This is a required parameter
11181118+ */
11191119+ requestBody: ModelWithOneOfEnum;
11201120+};
11211121+11221122+export type PostCallWithOptionalParamData = {
11231123+ /**
11241124+ * This is a required parameter
11251125+ */
11261126+ parameter: Pageable;
11271127+ /**
11281128+ * This is an optional parameter
11291129+ */
11301130+ requestBody?: {
11311131+ offset?: number | null;
11321132+ };
11331133+};
11341134+11351135+export type PostCallWithOptionalParamResponse = number | void;
11361136+11371137+export type $OpenApiTs = {
11381138+ '/api/v{api-version}/simple/$count': {
11391139+ get: {
11401140+ res: {
11411141+ /**
11421142+ * Success
11431143+ */
11441144+ 200: Model_From_Zendesk;
11451145+ };
11461146+ };
11471147+ };
11481148+ '/api/v{api-version}/foo/{foo_param}/bar/{BarParam}': {
11491149+ delete: {
11501150+ req: DeleteFooData3;
11511151+ };
11521152+ };
11531153+ '/api/v{api-version}/parameters/{parameterPath}': {
11541154+ post: {
11551155+ req: CallWithParametersData;
11561156+ };
11571157+ };
11581158+ '/api/v{api-version}/parameters/{parameter.path.1}/{parameter-path-2}/{PARAMETER-PATH-3}': {
11591159+ post: {
11601160+ req: CallWithWeirdParameterNamesData;
11611161+ };
11621162+ };
11631163+ '/api/v{api-version}/parameters/': {
11641164+ get: {
11651165+ req: GetCallWithOptionalParamData;
11661166+ };
11671167+ post: {
11681168+ req: PostCallWithOptionalParamData;
11691169+ res: {
11701170+ /**
11711171+ * Response is a simple number
11721172+ */
11731173+ 200: number;
11741174+ /**
11751175+ * Success
11761176+ */
11771177+ 204: void;
11781178+ };
11791179+ };
11801180+ };
11811181+};