···11+// This file is auto-generated by @hey-api/openapi-ts
22+export { ApiError } from './core/ApiError';
33+export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
44+export * from './services.gen';
55+export * from './types.gen';
···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 simple enum with strings
289289+ */
290290+export type foo_bar_enum = 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
291291+292292+/**
293293+ * This is a model with one enum
294294+ */
295295+export type ModelWithEnum = {
296296+ /**
297297+ * This is a simple enum with strings
298298+ */
299299+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
300300+ /**
301301+ * These are the HTTP error code enums
302302+ */
303303+ statusCode?: '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
304304+ /**
305305+ * Simple boolean enum
306306+ */
307307+ bool?: boolean;
308308+};
309309+310310+/**
311311+ * These are the HTTP error code enums
312312+ */
313313+export type statusCode = '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
314314+315315+/**
316316+ * This is a model with one enum with escaped name
317317+ */
318318+export type ModelWithEnumWithHyphen = {
319319+ 'foo-bar-baz-qux'?: '3.0';
320320+};
321321+322322+export type foo_bar_baz_qux = '3.0';
323323+324324+/**
325325+ * This is a model with one enum
326326+ */
327327+export type ModelWithEnumFromDescription = {
328328+ /**
329329+ * Success=1,Warning=2,Error=3
330330+ */
331331+ test?: number;
332332+};
333333+334334+/**
335335+ * This is a model with nested enums
336336+ */
337337+export type ModelWithNestedEnums = {
338338+ dictionaryWithEnum?: {
339339+ [key: string]: ('Success' | 'Warning' | 'Error');
340340+ };
341341+ dictionaryWithEnumFromDescription?: {
342342+ [key: string]: (number);
343343+ };
344344+ arrayWithEnum?: Array<('Success' | 'Warning' | 'Error')>;
345345+ arrayWithDescription?: Array<(number)>;
346346+ /**
347347+ * This is a simple enum with strings
348348+ */
349349+ 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
350350+};
351351+352352+/**
353353+ * This is a model with one property containing a reference
354354+ */
355355+export type ModelWithReference = {
356356+ prop?: ModelWithProperties;
357357+};
358358+359359+/**
360360+ * This is a model with one property containing an array
361361+ */
362362+export type ModelWithArrayReadOnlyAndWriteOnly = {
363363+ prop?: Array<ModelWithReadOnlyAndWriteOnly>;
364364+ propWithFile?: Array<((Blob | File))>;
365365+ propWithNumber?: Array<(number)>;
366366+};
367367+368368+/**
369369+ * This is a model with one property containing an array
370370+ */
371371+export type ModelWithArray = {
372372+ prop?: Array<ModelWithString>;
373373+ propWithFile?: Array<((Blob | File))>;
374374+ propWithNumber?: Array<(number)>;
375375+};
376376+377377+/**
378378+ * This is a model with one property containing a dictionary
379379+ */
380380+export type ModelWithDictionary = {
381381+ prop?: {
382382+ [key: string]: (string);
383383+ };
384384+};
385385+386386+/**
387387+ * This is a deprecated model with a deprecated property
388388+ * @deprecated
389389+ */
390390+export type DeprecatedModel = {
391391+ /**
392392+ * This is a deprecated property
393393+ * @deprecated
394394+ */
395395+ prop?: string;
396396+};
397397+398398+/**
399399+ * This is a model with one property containing a circular reference
400400+ */
401401+export type ModelWithCircularReference = {
402402+ prop?: ModelWithCircularReference;
403403+};
404404+405405+/**
406406+ * This is a model with one property with a 'one of' relationship
407407+ */
408408+export type CompositionWithOneOf = {
409409+ propA?: (ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary);
410410+};
411411+412412+/**
413413+ * This is a model with one property with a 'one of' relationship where the options are not $ref
414414+ */
415415+export type CompositionWithOneOfAnonymous = {
416416+ propA?: ({
417417+ propA?: string;
418418+} | string | number);
419419+};
420420+421421+/**
422422+ * Circle
423423+ */
424424+export type ModelCircle = {
425425+ kind: 'circle';
426426+ radius?: number;
427427+};
428428+429429+/**
430430+ * Square
431431+ */
432432+export type ModelSquare = {
433433+ kind: 'square';
434434+ sideLength?: number;
435435+};
436436+437437+/**
438438+ * This is a model with one property with a 'one of' relationship where the options are not $ref
439439+ */
440440+export type CompositionWithOneOfDiscriminator = ModelCircle | ModelSquare;
441441+442442+/**
443443+ * This is a model with one property with a 'any of' relationship
444444+ */
445445+export type CompositionWithAnyOf = {
446446+ propA?: (ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary);
447447+};
448448+449449+/**
450450+ * This is a model with one property with a 'any of' relationship where the options are not $ref
451451+ */
452452+export type CompositionWithAnyOfAnonymous = {
453453+ propA?: ({
454454+ propA?: string;
455455+} | string | number);
456456+};
457457+458458+/**
459459+ * This is a model with nested 'any of' property with a type null
460460+ */
461461+export type CompositionWithNestedAnyAndTypeNull = {
462462+ propA?: (Array<(ModelWithDictionary | null)> | Array<(ModelWithArray | null)>);
463463+};
464464+465465+export type _3e_num_1Период = 'Bird' | 'Dog';
466466+467467+export type ConstValue = "ConstValue";
468468+469469+/**
470470+ * This is a model with one property with a 'any of' relationship where the options are not $ref
471471+ */
472472+export type CompositionWithNestedAnyOfAndNull = {
473473+ propA?: (Array<(_3e_num_1Период | ConstValue)> | null);
474474+};
475475+476476+/**
477477+ * This is a model with one property with a 'one of' relationship
478478+ */
479479+export type CompositionWithOneOfAndNullable = {
480480+ propA?: (({
481481+ boolean?: boolean;
482482+} | ModelWithEnum | ModelWithArray | ModelWithDictionary) | null);
483483+};
484484+485485+/**
486486+ * This is a model that contains a simple dictionary within composition
487487+ */
488488+export type CompositionWithOneOfAndSimpleDictionary = {
489489+ propA?: (boolean | {
490490+ [key: string]: (number);
491491+});
492492+};
493493+494494+/**
495495+ * This is a model that contains a dictionary of simple arrays within composition
496496+ */
497497+export type CompositionWithOneOfAndSimpleArrayDictionary = {
498498+ propA?: (boolean | {
499499+ [key: string]: Array<(boolean)>;
500500+});
501501+};
502502+503503+/**
504504+ * This is a model that contains a dictionary of complex arrays (composited) within composition
505505+ */
506506+export type CompositionWithOneOfAndComplexArrayDictionary = {
507507+ propA?: (boolean | {
508508+ [key: string]: Array<(number | string)>;
509509+});
510510+};
511511+512512+/**
513513+ * This is a model with one property with a 'all of' relationship
514514+ */
515515+export type CompositionWithAllOfAndNullable = {
516516+ propA?: (({
517517+ boolean?: boolean;
518518+} & ModelWithEnum & ModelWithArray & ModelWithDictionary) | null);
519519+};
520520+521521+/**
522522+ * This is a model with one property with a 'any of' relationship
523523+ */
524524+export type CompositionWithAnyOfAndNullable = {
525525+ propA?: (({
526526+ boolean?: boolean;
527527+} | ModelWithEnum | ModelWithArray | ModelWithDictionary) | null);
528528+};
529529+530530+/**
531531+ * This is a base model with two simple optional properties
532532+ */
533533+export type CompositionBaseModel = {
534534+ firstName?: string;
535535+ lastname?: string;
536536+};
537537+538538+/**
539539+ * This is a model that extends the base model
540540+ */
541541+export type CompositionExtendedModel = CompositionBaseModel & {
542542+ firstName: string;
543543+ lastname: string;
544544+ age: number;
545545+};
546546+547547+/**
548548+ * This is a model with one nested property
549549+ */
550550+export type ModelWithProperties = {
551551+ required: string;
552552+ readonly requiredAndReadOnly: string;
553553+ requiredAndNullable: (string) | null;
554554+ string?: string;
555555+ number?: number;
556556+ boolean?: boolean;
557557+ reference?: ModelWithString;
558558+ 'property with space'?: string;
559559+ default?: string;
560560+ try?: string;
561561+ readonly '@namespace.string'?: string;
562562+ readonly '@namespace.integer'?: number;
563563+};
564564+565565+/**
566566+ * This is a model with one nested property
567567+ */
568568+export type ModelWithNestedProperties = {
569569+ readonly first: {
570570+ readonly second: {
571571+ readonly third: (string) | null;
572572+ } | null;
573573+ } | null;
574574+};
575575+576576+/**
577577+ * This is a model with duplicated properties
578578+ */
579579+export type ModelWithDuplicateProperties = {
580580+ prop?: ModelWithString;
581581+};
582582+583583+/**
584584+ * This is a model with ordered properties
585585+ */
586586+export type ModelWithOrderedProperties = {
587587+ zebra?: string;
588588+ apple?: string;
589589+ hawaii?: string;
590590+};
591591+592592+/**
593593+ * This is a model with duplicated imports
594594+ */
595595+export type ModelWithDuplicateImports = {
596596+ propA?: ModelWithString;
597597+ propB?: ModelWithString;
598598+ propC?: ModelWithString;
599599+};
600600+601601+/**
602602+ * This is a model that extends another model
603603+ */
604604+export type ModelThatExtends = ModelWithString & {
605605+ propExtendsA?: string;
606606+ propExtendsB?: ModelWithString;
607607+};
608608+609609+/**
610610+ * This is a model that extends another model
611611+ */
612612+export type ModelThatExtendsExtends = ModelWithString & ModelThatExtends & {
613613+ propExtendsC?: string;
614614+ propExtendsD?: ModelWithString;
615615+};
616616+617617+/**
618618+ * This is a model that contains a some patterns
619619+ */
620620+export type ModelWithPattern = {
621621+ key: string;
622622+ name: string;
623623+ readonly enabled?: boolean;
624624+ readonly modified?: string;
625625+ id?: string;
626626+ text?: string;
627627+ patternWithSingleQuotes?: string;
628628+ patternWithNewline?: string;
629629+ patternWithBacktick?: string;
630630+};
631631+632632+export type File = {
633633+ readonly id?: string;
634634+ readonly updated_at?: string;
635635+ readonly created_at?: string;
636636+ mime: string;
637637+ readonly file?: string;
638638+};
639639+640640+export type _default = {
641641+ name?: string;
642642+};
643643+644644+export type Pageable = {
645645+ page?: number;
646646+ size?: number;
647647+ sort?: Array<(string)>;
648648+};
649649+650650+/**
651651+ * This is a free-form object without additionalProperties.
652652+ */
653653+export type FreeFormObjectWithoutAdditionalProperties = {
654654+ [key: string]: unknown;
655655+};
656656+657657+/**
658658+ * This is a free-form object with additionalProperties: true.
659659+ */
660660+export type FreeFormObjectWithAdditionalPropertiesEqTrue = {
661661+ [key: string]: unknown;
662662+};
663663+664664+/**
665665+ * This is a free-form object with additionalProperties: {}.
666666+ */
667667+export type FreeFormObjectWithAdditionalPropertiesEqEmptyObject = {
668668+ [key: string]: unknown;
669669+};
670670+671671+export type ModelWithConst = {
672672+ String?: "String";
673673+ number?: 0;
674674+ null?: null;
675675+ withType?: "Some string";
676676+};
677677+678678+/**
679679+ * This is a model with one property and additionalProperties: true
680680+ */
681681+export type ModelWithAdditionalPropertiesEqTrue = {
682682+ /**
683683+ * This is a simple string property
684684+ */
685685+ prop?: string;
686686+ [key: string]: unknown | string;
687687+};
688688+689689+export type NestedAnyOfArraysNullable = {
690690+ nullableArray?: (Array<(string | boolean)> | null);
691691+};
692692+693693+export type CompositionWithOneOfAndProperties = ({
694694+ foo: ParameterSimpleParameter;
695695+} | {
696696+ bar: NonAsciiStringæøåÆØÅöôêÊ字符串;
697697+}) & {
698698+ baz: (number) | null;
699699+ qux: number;
700700+};
701701+702702+/**
703703+ * An object that can be null
704704+ */
705705+export type NullableObject = {
706706+ foo?: string;
707707+} | null;
708708+709709+/**
710710+ * Some % character
711711+ */
712712+export type CharactersInDescription = string;
713713+714714+export type ModelWithNullableObject = {
715715+ data?: NullableObject;
716716+};
717717+718718+export type ModelWithOneOfEnum = {
719719+ foo: 'Bar';
720720+} | {
721721+ foo: 'Baz';
722722+} | {
723723+ foo: 'Qux';
724724+} | {
725725+ content: string;
726726+ foo: 'Quux';
727727+} | {
728728+ content: [
729729+ (string),
730730+ (string)
731731+ ];
732732+ foo: 'Corge';
733733+};
734734+735735+export type foo = 'Bar';
736736+737737+export type ModelWithNestedArrayEnumsDataFoo = 'foo' | 'bar';
738738+739739+export type ModelWithNestedArrayEnumsDataBar = 'baz' | 'qux';
740740+741741+export type ModelWithNestedArrayEnumsData = {
742742+ foo?: Array<ModelWithNestedArrayEnumsDataFoo>;
743743+ bar?: Array<ModelWithNestedArrayEnumsDataBar>;
744744+};
745745+746746+export type ModelWithNestedArrayEnums = {
747747+ array_strings?: Array<(string)>;
748748+ data?: (ModelWithNestedArrayEnumsData);
749749+};
750750+751751+export type ModelWithNestedCompositionEnums = {
752752+ foo?: (ModelWithNestedArrayEnumsDataFoo);
753753+};
754754+755755+export type ModelWithReadOnlyAndWriteOnly = {
756756+ foo: string;
757757+ readonly bar: string;
758758+ baz: string;
759759+};
760760+761761+export type ModelWithConstantSizeArray = [
762762+ number,
763763+ number
764764+];
765765+766766+export type ModelWithAnyOfConstantSizeArray = [
767767+ (number | string),
768768+ (number | string),
769769+ (number | string)
770770+];
771771+772772+export type ModelWithPrefixItemsConstantSizeArray = [
773773+ ModelWithInteger,
774774+ (number | string),
775775+ string
776776+];
777777+778778+export type ModelWithAnyOfConstantSizeArrayNullable = [
779779+ ((number) | null | string),
780780+ ((number) | null | string),
781781+ ((number) | null | string)
782782+];
783783+784784+export type ModelWithAnyOfConstantSizeArrayWithNSizeAndOptions = [
785785+ (number | _import),
786786+ (number | _import)
787787+];
788788+789789+export type ModelWithAnyOfConstantSizeArrayAndIntersect = [
790790+ (number & string),
791791+ (number & string)
792792+];
793793+794794+export type ModelWithNumericEnumUnion = {
795795+ /**
796796+ * Период
797797+ */
798798+ value?: -10 | -1 | 0 | 1 | 3 | 6 | 12;
799799+};
800800+801801+/**
802802+ * Период
803803+ */
804804+export type value = -10 | -1 | 0 | 1 | 3 | 6 | 12;
805805+806806+/**
807807+ * Some description with `back ticks`
808808+ */
809809+export type ModelWithBackticksInDescription = {
810810+ /**
811811+ * The template `that` should be used for parsing and importing the contents of the CSV file.
812812+ *
813813+ * <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>
814814+ * <pre>
815815+ * [
816816+ * {
817817+ * "resourceType": "Asset",
818818+ * "identifier": {
819819+ * "name": "${1}",
820820+ * "domain": {
821821+ * "name": "${2}",
822822+ * "community": {
823823+ * "name": "Some Community"
824824+ * }
825825+ * }
826826+ * },
827827+ * "attributes" : {
828828+ * "00000000-0000-0000-0000-000000003115" : [ {
829829+ * "value" : "${3}"
830830+ * } ],
831831+ * "00000000-0000-0000-0000-000000000222" : [ {
832832+ * "value" : "${4}"
833833+ * } ]
834834+ * }
835835+ * }
836836+ * ]
837837+ * </pre>
838838+ */
839839+ template?: string;
840840+};
841841+842842+export type ModelWithOneOfAndProperties = (ParameterSimpleParameter | NonAsciiStringæøåÆØÅöôêÊ字符串) & {
843843+ baz: (number) | null;
844844+ qux: number;
845845+};
846846+847847+/**
848848+ * Model used to test deduplication strategy (unused)
849849+ */
850850+export type ParameterSimpleParameterUnused = string;
851851+852852+/**
853853+ * Model used to test deduplication strategy
854854+ */
855855+export type PostServiceWithEmptyTagResponse = string;
856856+857857+/**
858858+ * Model used to test deduplication strategy
859859+ */
860860+export type PostServiceWithEmptyTagResponse2 = string;
861861+862862+/**
863863+ * Model used to test deduplication strategy
864864+ */
865865+export type DeleteFooData = string;
866866+867867+/**
868868+ * Model used to test deduplication strategy
869869+ */
870870+export type DeleteFooData2 = string;
871871+872872+/**
873873+ * Model with restricted keyword name
874874+ */
875875+export type _import = string;
876876+877877+export type SchemaWithFormRestrictedKeys = {
878878+ description?: string;
879879+ 'x-enum-descriptions'?: string;
880880+ 'x-enum-varnames'?: string;
881881+ 'x-enumNames'?: string;
882882+ title?: string;
883883+ object?: {
884884+ description?: string;
885885+ 'x-enum-descriptions'?: string;
886886+ 'x-enum-varnames'?: string;
887887+ 'x-enumNames'?: string;
888888+ title?: string;
889889+ };
890890+ array?: Array<({
891891+ description?: string;
892892+ 'x-enum-descriptions'?: string;
893893+ 'x-enum-varnames'?: string;
894894+ 'x-enumNames'?: string;
895895+ title?: string;
896896+})>;
897897+};
898898+899899+/**
900900+ * This schema was giving PascalCase transformations a hard time
901901+ */
902902+export type io_k8s_apimachinery_pkg_apis_meta_v1_DeleteOptions = {
903903+ /**
904904+ * Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned.
905905+ */
906906+ preconditions?: (io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions);
907907+};
908908+909909+/**
910910+ * This schema was giving PascalCase transformations a hard time
911911+ */
912912+export type io_k8s_apimachinery_pkg_apis_meta_v1_Preconditions = {
913913+ /**
914914+ * Specifies the target ResourceVersion
915915+ */
916916+ resourceVersion?: string;
917917+ /**
918918+ * Specifies the target UID.
919919+ */
920920+ uid?: string;
921921+};
922922+923923+export type AdditionalPropertiesUnknownIssue = {
924924+ [key: string]: (string | number);
925925+};
926926+927927+export type AdditionalPropertiesUnknownIssue2 = {
928928+ [key: string]: (string | number);
929929+};
930930+931931+export type AdditionalPropertiesUnknownIssue3 = string & {
932932+ entries: {
933933+ [key: string]: AdditionalPropertiesUnknownIssue;
934934+ };
935935+};
936936+937937+export type AdditionalPropertiesIntegerIssue = {
938938+ value: number;
939939+ [key: string]: (number) | undefined;
940940+};
941941+942942+export type OneOfAllOfIssue = ((ConstValue | Generic_Schema_Duplicate_Issue_1_System_Boolean_) & _3e_num_1Период) | Generic_Schema_Duplicate_Issue_1_System_String_;
943943+944944+export type Generic_Schema_Duplicate_Issue_1_System_Boolean_ = {
945945+ item?: boolean;
946946+ error?: (string) | null;
947947+ readonly hasError?: boolean;
948948+};
949949+950950+export type Generic_Schema_Duplicate_Issue_1_System_String_ = {
951951+ item?: (string) | null;
952952+ error?: (string) | null;
953953+ readonly hasError?: boolean;
954954+};
955955+956956+/**
957957+ * This is a reusable parameter
958958+ */
959959+export type ParameterSimpleParameter = string;
960960+961961+/**
962962+ * Parameter with illegal characters
963963+ */
964964+export type Parameterx_Foo_Bar = ModelWithString;
965965+966966+export type ImportData = {
967967+ requestBody: (ModelWithReadOnlyAndWriteOnly | ModelWithArrayReadOnlyAndWriteOnly);
968968+};
969969+970970+export type ImportResponse = (Model_From_Zendesk | ModelWithReadOnlyAndWriteOnly);
971971+972972+export type ApiVversionOdataControllerCountResponse = (Model_From_Zendesk);
973973+974974+export type DeleteFooData3 = {
975975+ /**
976976+ * bar in method
977977+ */
978978+ barParam: string;
979979+ /**
980980+ * foo in method
981981+ */
982982+ fooParam: string;
983983+ /**
984984+ * Parameter with illegal characters
985985+ */
986986+ xFooBar: ModelWithString;
987987+};
988988+989989+export type CallWithDescriptionsData = {
990990+ /**
991991+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
992992+ */
993993+ parameterWithBackticks?: unknown;
994994+ /**
995995+ * Testing multiline comments in string: First line
996996+ * Second line
997997+ *
998998+ * Fourth line
999999+ */
10001000+ parameterWithBreaks?: unknown;
10011001+ /**
10021002+ * Testing expression placeholders in string: ${expression} should work
10031003+ */
10041004+ parameterWithExpressionPlaceholders?: unknown;
10051005+ /**
10061006+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
10071007+ */
10081008+ parameterWithQuotes?: unknown;
10091009+ /**
10101010+ * Testing reserved characters in string: * inline * and ** inline ** should work
10111011+ */
10121012+ parameterWithReservedCharacters?: unknown;
10131013+ /**
10141014+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
10151015+ */
10161016+ parameterWithSlashes?: unknown;
10171017+};
10181018+10191019+export type DeprecatedCallData = {
10201020+ /**
10211021+ * This parameter is deprecated
10221022+ * @deprecated
10231023+ */
10241024+ parameter: (DeprecatedModel) | null;
10251025+};
10261026+10271027+export type CallWithParametersData = {
10281028+ /**
10291029+ * This is the parameter that goes into the query params
10301030+ */
10311031+ cursor: (string) | null;
10321032+ fooAllOfEnum: (ModelWithNestedArrayEnumsDataFoo);
10331033+ fooRefEnum?: ModelWithNestedArrayEnumsDataFoo;
10341034+ /**
10351035+ * This is the parameter that goes into the cookie
10361036+ */
10371037+ parameterCookie: (string) | null;
10381038+ /**
10391039+ * This is the parameter that goes into the header
10401040+ */
10411041+ parameterHeader: (string) | null;
10421042+ /**
10431043+ * This is the parameter that goes into the path
10441044+ */
10451045+ parameterPath: (string) | null;
10461046+ /**
10471047+ * This is the parameter that goes into the body
10481048+ */
10491049+ requestBody: {
10501050+ [key: string]: unknown;
10511051+ } | null;
10521052+};
10531053+10541054+export type CallWithWeirdParameterNamesData = {
10551055+ /**
10561056+ * This is the parameter with a reserved keyword
10571057+ */
10581058+ _default?: string;
10591059+ /**
10601060+ * This is the parameter that goes into the cookie
10611061+ */
10621062+ parameterCookie: (string) | null;
10631063+ /**
10641064+ * This is the parameter that goes into the request header
10651065+ */
10661066+ parameterHeader: (string) | null;
10671067+ /**
10681068+ * This is the parameter that goes into the path
10691069+ */
10701070+ parameterPath1?: string;
10711071+ /**
10721072+ * This is the parameter that goes into the path
10731073+ */
10741074+ parameterPath2?: string;
10751075+ /**
10761076+ * This is the parameter that goes into the path
10771077+ */
10781078+ parameterPath3?: string;
10791079+ /**
10801080+ * This is the parameter that goes into the request query params
10811081+ */
10821082+ parameterQuery: (string) | null;
10831083+ /**
10841084+ * This is the parameter that goes into the body
10851085+ */
10861086+ requestBody: (ModelWithString) | null;
10871087+};
10881088+10891089+export type GetCallWithOptionalParamData = {
10901090+ /**
10911091+ * This is an optional parameter
10921092+ */
10931093+ page?: number;
10941094+ /**
10951095+ * This is a required parameter
10961096+ */
10971097+ requestBody: ModelWithOneOfEnum;
10981098+};
10991099+11001100+export type PostCallWithOptionalParamData = {
11011101+ /**
11021102+ * This is a required parameter
11031103+ */
11041104+ parameter: Pageable;
11051105+ /**
11061106+ * This is an optional parameter
11071107+ */
11081108+ requestBody?: {
11091109+ offset?: (number) | null;
11101110+ };
11111111+};
11121112+11131113+export type PostCallWithOptionalParamResponse = (number | void);
11141114+11151115+export type PostApiRequestBodyData = {
11161116+ /**
11171117+ * A reusable request body
11181118+ */
11191119+ foo?: ModelWithString;
11201120+ /**
11211121+ * This is a reusable parameter
11221122+ */
11231123+ parameter?: string;
11241124+};
11251125+11261126+export type PostApiFormDataData = {
11271127+ /**
11281128+ * A reusable request body
11291129+ */
11301130+ formData?: ModelWithString;
11311131+ /**
11321132+ * This is a reusable parameter
11331133+ */
11341134+ parameter?: string;
11351135+};
11361136+11371137+export type CallWithDefaultParametersData = {
11381138+ /**
11391139+ * This is a simple boolean with default value
11401140+ */
11411141+ parameterBoolean?: (boolean) | null;
11421142+ /**
11431143+ * This is a simple enum with default value
11441144+ */
11451145+ parameterEnum?: 'Success' | 'Warning' | 'Error';
11461146+ /**
11471147+ * This is a simple model with default value
11481148+ */
11491149+ parameterModel?: (ModelWithString) | null;
11501150+ /**
11511151+ * This is a simple number with default value
11521152+ */
11531153+ parameterNumber?: (number) | null;
11541154+ /**
11551155+ * This is a simple string with default value
11561156+ */
11571157+ parameterString?: (string) | null;
11581158+};
11591159+11601160+export type CallWithDefaultOptionalParametersData = {
11611161+ /**
11621162+ * This is a simple boolean that is optional with default value
11631163+ */
11641164+ parameterBoolean?: boolean;
11651165+ /**
11661166+ * This is a simple enum that is optional with default value
11671167+ */
11681168+ parameterEnum?: 'Success' | 'Warning' | 'Error';
11691169+ /**
11701170+ * This is a simple model that is optional with default value
11711171+ */
11721172+ parameterModel?: ModelWithString;
11731173+ /**
11741174+ * This is a simple number that is optional with default value
11751175+ */
11761176+ parameterNumber?: number;
11771177+ /**
11781178+ * This is a simple string that is optional with default value
11791179+ */
11801180+ parameterString?: string;
11811181+};
11821182+11831183+export type CallToTestOrderOfParamsData = {
11841184+ /**
11851185+ * This is a optional string with default
11861186+ */
11871187+ parameterOptionalStringWithDefault?: string;
11881188+ /**
11891189+ * This is a optional string with empty default
11901190+ */
11911191+ parameterOptionalStringWithEmptyDefault?: string;
11921192+ /**
11931193+ * This is a optional string with no default
11941194+ */
11951195+ parameterOptionalStringWithNoDefault?: string;
11961196+ /**
11971197+ * This is a string that can be null with default
11981198+ */
11991199+ parameterStringNullableWithDefault?: (string) | null;
12001200+ /**
12011201+ * This is a string that can be null with no default
12021202+ */
12031203+ parameterStringNullableWithNoDefault?: (string) | null;
12041204+ /**
12051205+ * This is a string with default
12061206+ */
12071207+ parameterStringWithDefault: string;
12081208+ /**
12091209+ * This is a string with empty default
12101210+ */
12111211+ parameterStringWithEmptyDefault: string;
12121212+ /**
12131213+ * This is a string with no default
12141214+ */
12151215+ parameterStringWithNoDefault: string;
12161216+};
12171217+12181218+export type CallWithNoContentResponseResponse = (void);
12191219+12201220+export type CallWithResponseAndNoContentResponseResponse = (number | void);
12211221+12221222+export type DummyAResponse = (_400);
12231223+12241224+export type DummyBResponse = (void);
12251225+12261226+export type CallWithResponseResponse = (_import);
12271227+12281228+export type CallWithDuplicateResponsesResponse = ((ModelWithBoolean & ModelWithInteger) | ModelWithString);
12291229+12301230+export type CallWithResponsesResponse = ({
12311231+ readonly '@namespace.string'?: string;
12321232+ readonly '@namespace.integer'?: number;
12331233+ readonly value?: Array<ModelWithString>;
12341234+} | ModelThatExtends | ModelThatExtendsExtends);
12351235+12361236+export type CollectionFormatData = {
12371237+ /**
12381238+ * This is an array parameter that is sent as csv format (comma-separated values)
12391239+ */
12401240+ parameterArrayCsv: Array<(string)> | null;
12411241+ /**
12421242+ * This is an array parameter that is sent as multi format (multiple parameter instances)
12431243+ */
12441244+ parameterArrayMulti: Array<(string)> | null;
12451245+ /**
12461246+ * This is an array parameter that is sent as pipes format (pipe-separated values)
12471247+ */
12481248+ parameterArrayPipes: Array<(string)> | null;
12491249+ /**
12501250+ * This is an array parameter that is sent as ssv format (space-separated values)
12511251+ */
12521252+ parameterArraySsv: Array<(string)> | null;
12531253+ /**
12541254+ * This is an array parameter that is sent as tsv format (tab-separated values)
12551255+ */
12561256+ parameterArrayTsv: Array<(string)> | null;
12571257+};
12581258+12591259+export type TypesData = {
12601260+ /**
12611261+ * This is a number parameter
12621262+ */
12631263+ id?: number;
12641264+ /**
12651265+ * This is an array parameter
12661266+ */
12671267+ parameterArray: Array<(string)> | null;
12681268+ /**
12691269+ * This is a boolean parameter
12701270+ */
12711271+ parameterBoolean: (boolean) | null;
12721272+ /**
12731273+ * This is a dictionary parameter
12741274+ */
12751275+ parameterDictionary: {
12761276+ [key: string]: unknown;
12771277+ } | null;
12781278+ /**
12791279+ * This is an enum parameter
12801280+ */
12811281+ parameterEnum: ('Success' | 'Warning' | 'Error') | null;
12821282+ /**
12831283+ * This is a number parameter
12841284+ */
12851285+ parameterNumber: number;
12861286+ /**
12871287+ * This is an object parameter
12881288+ */
12891289+ parameterObject: {
12901290+ [key: string]: unknown;
12911291+ } | null;
12921292+ /**
12931293+ * This is a string parameter
12941294+ */
12951295+ parameterString: (string) | null;
12961296+};
12971297+12981298+export type TypesResponse = (number | string | boolean | {
12991299+ [key: string]: unknown;
13001300+});
13011301+13021302+export type UploadFileData = {
13031303+ formData: (Blob | File);
13041304+};
13051305+13061306+export type UploadFileResponse = (boolean);
13071307+13081308+export type FileResponseData = {
13091309+ id: string;
13101310+};
13111311+13121312+export type FileResponseResponse = ((Blob | File));
13131313+13141314+export type ComplexTypesData = {
13151315+ /**
13161316+ * Parameter containing object
13171317+ */
13181318+ parameterObject: {
13191319+ first?: {
13201320+ second?: {
13211321+ third?: string;
13221322+ };
13231323+ };
13241324+ };
13251325+ /**
13261326+ * Parameter containing reference
13271327+ */
13281328+ parameterReference: ModelWithString;
13291329+};
13301330+13311331+export type ComplexTypesResponse = (Array<ModelWithString>);
13321332+13331333+export type MultipartRequestData = {
13341334+ formData?: {
13351335+ content?: (Blob | File);
13361336+ data?: ((ModelWithString) | null);
13371337+ };
13381338+};
13391339+13401340+export type MultipartResponseResponse = ({
13411341+ file?: (Blob | File);
13421342+ metadata?: {
13431343+ foo?: string;
13441344+ bar?: string;
13451345+ };
13461346+});
13471347+13481348+export type ComplexParamsData = {
13491349+ id: number;
13501350+ requestBody?: {
13511351+ readonly key: (string) | null;
13521352+ name: (string) | null;
13531353+ enabled?: boolean;
13541354+ readonly type: 'Monkey' | 'Horse' | 'Bird';
13551355+ listOfModels?: Array<ModelWithString> | null;
13561356+ listOfStrings?: Array<(string)> | null;
13571357+ parameters: (ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary);
13581358+ readonly user?: {
13591359+ readonly id?: number;
13601360+ readonly name?: (string) | null;
13611361+ };
13621362+ };
13631363+};
13641364+13651365+export type ComplexParamsResponse = (ModelWithString);
13661366+13671367+export type CallWithResultFromHeaderResponse = (string);
13681368+13691369+export type TestErrorCodeData = {
13701370+ /**
13711371+ * Status code to return
13721372+ */
13731373+ status: number;
13741374+};
13751375+13761376+export type TestErrorCodeResponse = (unknown);
13771377+13781378+export type NonAsciiæøåÆøÅöôêÊ字符串Data = {
13791379+ /**
13801380+ * Dummy input param
13811381+ */
13821382+ nonAsciiParamæøåÆøÅöôêÊ: number;
13831383+};
13841384+13851385+export type NonAsciiæøåÆøÅöôêÊ字符串Response = (Array<NonAsciiStringæøåÆØÅöôêÊ字符串>);
13861386+13871387+export type PutWithFormUrlEncodedData = {
13881388+ formData: ArrayWithStrings;
13891389+};
···11+// This file is auto-generated by @hey-api/openapi-ts
22+export { ApiError } from './core/ApiError';
33+export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
44+export * from './services.gen';
55+export * from './types.gen';