···11-// This file is auto-generated by @hey-api/openapi-ts
22-33-/**
44- * Testing multiline comments in string: First line
55- * Second line
66- *
77- * Fourth line
88- */
99-export type camelCaseCommentWithBreaks = number;
1010-1111-/**
1212- * Testing multiline comments in string: First line
1313- * Second line
1414- *
1515- * Fourth line
1616- */
1717-export type CommentWithBreaks = number;
1818-1919-/**
2020- * Testing backticks in string: `backticks` and ```multiple backticks``` should work
2121- */
2222-export type CommentWithBackticks = number;
2323-2424-/**
2525- * Testing backticks and quotes in string: `backticks`, 'quotes', "double quotes" and ```multiple backticks``` should work
2626- */
2727-export type CommentWithBackticksAndQuotes = number;
2828-2929-/**
3030- * Testing slashes in string: \backwards\\\ and /forwards/// should work
3131- */
3232-export type CommentWithSlashes = number;
3333-3434-/**
3535- * Testing expression placeholders in string: ${expression} should work
3636- */
3737-export type CommentWithExpressionPlaceholders = number;
3838-3939-/**
4040- * Testing quotes in string: 'single quote''' and "double quotes""" should work
4141- */
4242-export type CommentWithQuotes = number;
4343-4444-/**
4545- * Testing reserved characters in string: * inline * and ** inline ** should work
4646- */
4747-export type CommentWithReservedCharacters = number;
4848-4949-/**
5050- * This is a simple number
5151- */
5252-export type SimpleInteger = number;
5353-5454-/**
5555- * This is a simple boolean
5656- */
5757-export type SimpleBoolean = boolean;
5858-5959-/**
6060- * This is a simple string
6161- */
6262-export type SimpleString = string;
6363-6464-/**
6565- * A string with non-ascii (unicode) characters valid in typescript identifiers (æøåÆØÅöÔèÈ字符串)
6666- */
6767-export type NonAsciiStringæøåÆØÅöôêÊ字符串 = string;
6868-6969-/**
7070- * This is a simple file
7171- */
7272-export type SimpleFile = (Blob | File);
7373-7474-/**
7575- * This is a simple reference
7676- */
7777-export type SimpleReference = ModelWithString;
7878-7979-/**
8080- * This is a simple string
8181- */
8282-export type SimpleStringWithPattern = string | null;
8383-8484-/**
8585- * This is a simple enum with strings
8686- */
8787-export type EnumWithStrings = 'Success' | 'Warning' | 'Error' | "'Single Quote'" | '"Double Quotes"' | 'Non-ascii: øæåôöØÆÅÔÖ字符串';
8888-8989-export type EnumWithReplacedCharacters = "'Single Quote'" | '"Double Quotes"' | 'øæåôöØÆÅÔÖ字符串' | 3.1 | '';
9090-9191-/**
9292- * This is a simple enum with numbers
9393- */
9494-export type EnumWithNumbers = 1 | 2 | 3 | 1.1 | 1.2 | 1.3 | 100 | 200 | 300 | -100 | -200 | -300 | -1.1 | -1.2 | -1.3;
9595-9696-/**
9797- * Success=1,Warning=2,Error=3
9898- */
9999-export type EnumFromDescription = number;
100100-101101-/**
102102- * This is a simple enum with numbers
103103- */
104104-export type EnumWithExtensions = 200 | 400 | 500;
105105-106106-export type EnumWithXEnumNames = 0 | 1 | 2;
107107-108108-/**
109109- * This is a simple array with numbers
110110- */
111111-export type ArrayWithNumbers = Array<(number)>;
112112-113113-/**
114114- * This is a simple array with booleans
115115- */
116116-export type ArrayWithBooleans = Array<(boolean)>;
117117-118118-/**
119119- * This is a simple array with strings
120120- */
121121-export type ArrayWithStrings = Array<(string)>;
122122-123123-/**
124124- * This is a simple array with references
125125- */
126126-export type ArrayWithReferences = Array<ModelWithString>;
127127-128128-/**
129129- * This is a simple array containing an array
130130- */
131131-export type ArrayWithArray = Array<Array<ModelWithString>>;
132132-133133-/**
134134- * This is a simple array with properties
135135- */
136136-export type ArrayWithProperties = Array<{
137137- '16x16'?: camelCaseCommentWithBreaks;
138138- bar?: string;
139139-}>;
140140-141141-/**
142142- * This is a simple array with any of properties
143143- */
144144-export type ArrayWithAnyOfProperties = Array<({
145145- foo?: string;
146146-} | {
147147- bar?: string;
148148-})>;
149149-150150-export type AnyOfAnyAndNull = {
151151- data?: unknown | null;
152152-};
153153-154154-/**
155155- * This is a simple array with any of properties
156156- */
157157-export type AnyOfArrays = {
158158- results?: Array<({
159159- foo?: string;
160160-} | {
161161- bar?: string;
162162-})>;
163163-};
164164-165165-/**
166166- * This is a string dictionary
167167- */
168168-export type DictionaryWithString = {
169169- [key: string]: (string);
170170-};
171171-172172-export type DictionaryWithPropertiesAndAdditionalProperties = {
173173- foo?: number;
174174- bar?: boolean;
175175- [key: string]: (string | number | boolean) | undefined;
176176-};
177177-178178-/**
179179- * This is a string reference
180180- */
181181-export type DictionaryWithReference = {
182182- [key: string]: ModelWithString;
183183-};
184184-185185-/**
186186- * This is a complex dictionary
187187- */
188188-export type DictionaryWithArray = {
189189- [key: string]: Array<ModelWithString>;
190190-};
191191-192192-/**
193193- * This is a string dictionary
194194- */
195195-export type DictionaryWithDictionary = {
196196- [key: string]: {
197197- [key: string]: (string);
198198- };
199199-};
200200-201201-/**
202202- * This is a complex dictionary
203203- */
204204-export type DictionaryWithProperties = {
205205- [key: string]: {
206206- foo?: string;
207207- bar?: string;
208208- };
209209-};
210210-211211-/**
212212- * This is a model with one number property
213213- */
214214-export type ModelWithInteger = {
215215- /**
216216- * This is a simple number property
217217- */
218218- prop?: number;
219219-};
220220-221221-/**
222222- * This is a model with one boolean property
223223- */
224224-export type ModelWithBoolean = {
225225- /**
226226- * This is a simple boolean property
227227- */
228228- prop?: boolean;
229229-};
230230-231231-/**
232232- * This is a model with one string property
233233- */
234234-export type ModelWithString = {
235235- /**
236236- * This is a simple string property
237237- */
238238- prop?: string;
239239-};
240240-241241-/**
242242- * This is a model with one string property
243243- */
244244-export type ModelWithStringError = {
245245- /**
246246- * This is a simple string property
247247- */
248248- prop?: string;
249249-};
250250-251251-/**
252252- * `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)
253253- */
254254-export type Model_From_Zendesk = string;
255255-256256-/**
257257- * This is a model with one string property
258258- */
259259-export type ModelWithNullableString = {
260260- /**
261261- * This is a simple string property
262262- */
263263- nullableProp1?: string | null;
264264- /**
265265- * This is a simple string property
266266- */
267267- nullableRequiredProp1: string | null;
268268- /**
269269- * This is a simple string property
270270- */
271271- nullableProp2?: string | null;
272272- /**
273273- * This is a simple string property
274274- */
275275- nullableRequiredProp2: string | null;
276276- /**
277277- * This is a simple enum with strings
278278- */
279279- 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
280280-};
281281-282282-/**
283283- * This is a simple enum with strings
284284- */
285285-export type foo_bar_enum = 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
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?: boolean;
303303-};
304304-305305-/**
306306- * These are the HTTP error code enums
307307- */
308308-export type statusCode = '100' | '200 FOO' | '300 FOO_BAR' | '400 foo-bar' | '500 foo.bar' | '600 foo&bar';
309309-310310-/**
311311- * This is a model with one enum with escaped name
312312- */
313313-export type ModelWithEnumWithHyphen = {
314314- 'foo-bar-baz-qux'?: '3.0';
315315-};
316316-317317-export type foo_bar_baz_qux = '3.0';
318318-319319-/**
320320- * This is a model with one enum
321321- */
322322-export type ModelWithEnumFromDescription = {
323323- /**
324324- * Success=1,Warning=2,Error=3
325325- */
326326- test?: number;
327327-};
328328-329329-/**
330330- * This is a model with nested enums
331331- */
332332-export type ModelWithNestedEnums = {
333333- dictionaryWithEnum?: {
334334- [key: string]: ('Success' | 'Warning' | 'Error');
335335- };
336336- dictionaryWithEnumFromDescription?: {
337337- [key: string]: (number);
338338- };
339339- arrayWithEnum?: Array<('Success' | 'Warning' | 'Error')>;
340340- arrayWithDescription?: Array<(number)>;
341341- /**
342342- * This is a simple enum with strings
343343- */
344344- 'foo_bar-enum'?: 'Success' | 'Warning' | 'Error' | 'ØÆÅ字符串';
345345-};
346346-347347-/**
348348- * This is a model with one property containing a reference
349349- */
350350-export type ModelWithReference = {
351351- prop?: ModelWithProperties;
352352-};
353353-354354-/**
355355- * This is a model with one property containing an array
356356- */
357357-export type ModelWithArrayReadOnlyAndWriteOnly = {
358358- prop?: Array<ModelWithReadOnlyAndWriteOnly>;
359359- propWithFile?: Array<((Blob | File))>;
360360- propWithNumber?: Array<(number)>;
361361-};
362362-363363-/**
364364- * This is a model with one property containing an array
365365- */
366366-export type ModelWithArray = {
367367- prop?: Array<ModelWithString>;
368368- propWithFile?: Array<((Blob | File))>;
369369- propWithNumber?: Array<(number)>;
370370-};
371371-372372-/**
373373- * This is a model with one property containing a dictionary
374374- */
375375-export type ModelWithDictionary = {
376376- prop?: {
377377- [key: string]: (string);
378378- };
379379-};
380380-381381-/**
382382- * This is a deprecated model with a deprecated property
383383- * @deprecated
384384- */
385385-export type DeprecatedModel = {
386386- /**
387387- * This is a deprecated property
388388- * @deprecated
389389- */
390390- prop?: string;
391391-};
392392-393393-/**
394394- * This is a model with one property containing a circular reference
395395- */
396396-export type ModelWithCircularReference = {
397397- prop?: ModelWithCircularReference;
398398-};
399399-400400-/**
401401- * This is a model with one property with a 'one of' relationship
402402- */
403403-export type CompositionWithOneOf = {
404404- propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
405405-};
406406-407407-/**
408408- * This is a model with one property with a 'one of' relationship where the options are not $ref
409409- */
410410-export type CompositionWithOneOfAnonymous = {
411411- propA?: {
412412- propA?: string;
413413-} | string | number;
414414-};
415415-416416-/**
417417- * Circle
418418- */
419419-export type ModelCircle = {
420420- kind: 'circle';
421421- radius?: number;
422422-};
423423-424424-/**
425425- * Square
426426- */
427427-export type ModelSquare = {
428428- kind: 'square';
429429- sideLength?: number;
430430-};
431431-432432-/**
433433- * This is a model with one property with a 'one of' relationship where the options are not $ref
434434- */
435435-export type CompositionWithOneOfDiscriminator = ModelCircle | ModelSquare;
436436-437437-/**
438438- * This is a model with one property with a 'any of' relationship
439439- */
440440-export type CompositionWithAnyOf = {
441441- propA?: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
442442-};
443443-444444-/**
445445- * This is a model with one property with a 'any of' relationship where the options are not $ref
446446- */
447447-export type CompositionWithAnyOfAnonymous = {
448448- propA?: {
449449- propA?: string;
450450-} | string | number;
451451-};
452452-453453-/**
454454- * This is a model with nested 'any of' property with a type null
455455- */
456456-export type CompositionWithNestedAnyAndTypeNull = {
457457- propA?: Array<(ModelWithDictionary | null)> | Array<(ModelWithArray | null)>;
458458-};
459459-460460-export type e_num_1Период = 'Bird' | 'Dog';
461461-462462-export type ConstValue = "ConstValue";
463463-464464-/**
465465- * This is a model with one property with a 'any of' relationship where the options are not $ref
466466- */
467467-export type CompositionWithNestedAnyOfAndNull = {
468468- propA?: Array<(e_num_1Период | ConstValue)> | null;
469469-};
470470-471471-/**
472472- * This is a model with one property with a 'one of' relationship
473473- */
474474-export type CompositionWithOneOfAndNullable = {
475475- propA?: {
476476- boolean?: boolean;
477477-} | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
478478-};
479479-480480-/**
481481- * This is a model that contains a simple dictionary within composition
482482- */
483483-export type CompositionWithOneOfAndSimpleDictionary = {
484484- propA?: boolean | {
485485- [key: string]: (number);
486486-};
487487-};
488488-489489-/**
490490- * This is a model that contains a dictionary of simple arrays within composition
491491- */
492492-export type CompositionWithOneOfAndSimpleArrayDictionary = {
493493- propA?: boolean | {
494494- [key: string]: Array<(boolean)>;
495495-};
496496-};
497497-498498-/**
499499- * This is a model that contains a dictionary of complex arrays (composited) within composition
500500- */
501501-export type CompositionWithOneOfAndComplexArrayDictionary = {
502502- propA?: boolean | {
503503- [key: string]: Array<(number | string)>;
504504-};
505505-};
506506-507507-/**
508508- * This is a model with one property with a 'all of' relationship
509509- */
510510-export type CompositionWithAllOfAndNullable = {
511511- propA?: ({
512512- boolean?: boolean;
513513-} & ModelWithEnum & ModelWithArray & ModelWithDictionary) | null;
514514-};
515515-516516-/**
517517- * This is a model with one property with a 'any of' relationship
518518- */
519519-export type CompositionWithAnyOfAndNullable = {
520520- propA?: {
521521- boolean?: boolean;
522522-} | ModelWithEnum | ModelWithArray | ModelWithDictionary | null;
523523-};
524524-525525-/**
526526- * This is a base model with two simple optional properties
527527- */
528528-export type CompositionBaseModel = {
529529- firstName?: string;
530530- lastname?: string;
531531-};
532532-533533-/**
534534- * This is a model that extends the base model
535535- */
536536-export type CompositionExtendedModel = CompositionBaseModel & {
537537- firstName: string;
538538- lastname: string;
539539- age: number;
540540-};
541541-542542-/**
543543- * This is a model with one nested property
544544- */
545545-export type ModelWithProperties = {
546546- required: string;
547547- readonly requiredAndReadOnly: string;
548548- requiredAndNullable: string | null;
549549- string?: string;
550550- number?: number;
551551- boolean?: boolean;
552552- reference?: ModelWithString;
553553- 'property with space'?: string;
554554- default?: string;
555555- try?: string;
556556- readonly '@namespace.string'?: string;
557557- readonly '@namespace.integer'?: number;
558558-};
559559-560560-/**
561561- * This is a model with one nested property
562562- */
563563-export type ModelWithNestedProperties = {
564564- readonly first: {
565565- readonly second: {
566566- readonly third: string | null;
567567- } | null;
568568- } | null;
569569-};
570570-571571-/**
572572- * This is a model with duplicated properties
573573- */
574574-export type ModelWithDuplicateProperties = {
575575- prop?: ModelWithString;
576576-};
577577-578578-/**
579579- * This is a model with ordered properties
580580- */
581581-export type ModelWithOrderedProperties = {
582582- zebra?: string;
583583- apple?: string;
584584- hawaii?: string;
585585-};
586586-587587-/**
588588- * This is a model with duplicated imports
589589- */
590590-export type ModelWithDuplicateImports = {
591591- propA?: ModelWithString;
592592- propB?: ModelWithString;
593593- propC?: ModelWithString;
594594-};
595595-596596-/**
597597- * This is a model that extends another model
598598- */
599599-export type ModelThatExtends = ModelWithString & {
600600- propExtendsA?: string;
601601- propExtendsB?: ModelWithString;
602602-};
603603-604604-/**
605605- * This is a model that extends another model
606606- */
607607-export type ModelThatExtendsExtends = ModelWithString & ModelThatExtends & {
608608- propExtendsC?: string;
609609- propExtendsD?: ModelWithString;
610610-};
611611-612612-/**
613613- * This is a model that contains a some patterns
614614- */
615615-export type ModelWithPattern = {
616616- key: string;
617617- name: string;
618618- readonly enabled?: boolean;
619619- readonly modified?: string;
620620- id?: string;
621621- text?: string;
622622- patternWithSingleQuotes?: string;
623623- patternWithNewline?: string;
624624- patternWithBacktick?: string;
625625-};
626626-627627-export type File = {
628628- readonly id?: string;
629629- readonly updated_at?: string;
630630- readonly created_at?: string;
631631- mime: string;
632632- readonly file?: string;
633633-};
634634-635635-export type _default = {
636636- name?: string;
637637-};
638638-639639-export type Pageable = {
640640- page?: number;
641641- size?: number;
642642- sort?: Array<(string)>;
643643-};
644644-645645-/**
646646- * This is a free-form object without additionalProperties.
647647- */
648648-export type FreeFormObjectWithoutAdditionalProperties = {
649649- [key: string]: unknown;
650650-};
651651-652652-/**
653653- * This is a free-form object with additionalProperties: true.
654654- */
655655-export type FreeFormObjectWithAdditionalPropertiesEqTrue = {
656656- [key: string]: unknown;
657657-};
658658-659659-/**
660660- * This is a free-form object with additionalProperties: {}.
661661- */
662662-export type FreeFormObjectWithAdditionalPropertiesEqEmptyObject = {
663663- [key: string]: unknown;
664664-};
665665-666666-export type ModelWithConst = {
667667- String?: "String";
668668- number?: 0;
669669- null?: null;
670670- withType?: "Some string";
671671-};
672672-673673-/**
674674- * This is a model with one property and additionalProperties: true
675675- */
676676-export type ModelWithAdditionalPropertiesEqTrue = {
677677- /**
678678- * This is a simple string property
679679- */
680680- prop?: string;
681681- [key: string]: unknown | string;
682682-};
683683-684684-export type NestedAnyOfArraysNullable = {
685685- nullableArray?: Array<(string | boolean)> | null;
686686-};
687687-688688-export type CompositionWithOneOfAndProperties = {
689689- foo: ParameterSimpleParameter;
690690- baz: number | null;
691691- qux: number;
692692-} | {
693693- bar: NonAsciiStringæøåÆØÅöôêÊ字符串;
694694- baz: number | null;
695695- qux: number;
696696-};
697697-698698-/**
699699- * An object that can be null
700700- */
701701-export type NullableObject = {
702702- foo?: string;
703703-} | null;
704704-705705-/**
706706- * Some % character
707707- */
708708-export type CharactersInDescription = string;
709709-710710-export type ModelWithNullableObject = {
711711- data?: NullableObject;
712712-};
713713-714714-export type ModelWithOneOfEnum = {
715715- foo: 'Bar';
716716-} | {
717717- foo: 'Baz';
718718-} | {
719719- foo: 'Qux';
720720-} | {
721721- content: string;
722722- foo: 'Quux';
723723-} | {
724724- content: [
725725- string,
726726- string
727727- ];
728728- foo: 'Corge';
729729-};
730730-731731-export type foo = 'Bar';
732732-733733-export type ModelWithNestedArrayEnumsDataFoo = 'foo' | 'bar';
734734-735735-export type ModelWithNestedArrayEnumsDataBar = 'baz' | 'qux';
736736-737737-export type ModelWithNestedArrayEnumsData = {
738738- foo?: Array<ModelWithNestedArrayEnumsDataFoo>;
739739- bar?: Array<ModelWithNestedArrayEnumsDataBar>;
740740-};
741741-742742-export type ModelWithNestedArrayEnums = {
743743- array_strings?: Array<(string)>;
744744- data?: ModelWithNestedArrayEnumsData;
745745-};
746746-747747-export type ModelWithNestedCompositionEnums = {
748748- foo?: ModelWithNestedArrayEnumsDataFoo;
749749-};
750750-751751-export type ModelWithReadOnlyAndWriteOnly = {
752752- foo: string;
753753- readonly bar: string;
754754- baz: string;
755755-};
756756-757757-export type ModelWithConstantSizeArray = [
758758- number,
759759- number
760760-];
761761-762762-export type ModelWithAnyOfConstantSizeArray = [
763763- number | string,
764764- number | string,
765765- number | string
766766-];
767767-768768-export type ModelWithPrefixItemsConstantSizeArray = [
769769- ModelWithInteger,
770770- number | string,
771771- string
772772-];
773773-774774-export type ModelWithAnyOfConstantSizeArrayNullable = [
775775- number | null | string,
776776- number | null | string,
777777- number | null | string
778778-];
779779-780780-export type ModelWithAnyOfConstantSizeArrayWithNSizeAndOptions = [
781781- number | string,
782782- number | string
783783-];
784784-785785-export type ModelWithAnyOfConstantSizeArrayAndIntersect = [
786786- number & string,
787787- number & string
788788-];
789789-790790-export type ModelWithNumericEnumUnion = {
791791- /**
792792- * Период
793793- */
794794- value?: -10 | -1 | 0 | 1 | 3 | 6 | 12;
795795-};
796796-797797-/**
798798- * Период
799799- */
800800-export type value = -10 | -1 | 0 | 1 | 3 | 6 | 12;
801801-802802-/**
803803- * Some description with `back ticks`
804804- */
805805-export type ModelWithBackticksInDescription = {
806806- /**
807807- * The template `that` should be used for parsing and importing the contents of the CSV file.
808808- *
809809- * <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>
810810- * <pre>
811811- * [
812812- * {
813813- * "resourceType": "Asset",
814814- * "identifier": {
815815- * "name": "${1}",
816816- * "domain": {
817817- * "name": "${2}",
818818- * "community": {
819819- * "name": "Some Community"
820820- * }
821821- * }
822822- * },
823823- * "attributes" : {
824824- * "00000000-0000-0000-0000-000000003115" : [ {
825825- * "value" : "${3}"
826826- * } ],
827827- * "00000000-0000-0000-0000-000000000222" : [ {
828828- * "value" : "${4}"
829829- * } ]
830830- * }
831831- * }
832832- * ]
833833- * </pre>
834834- */
835835- template?: string;
836836-};
837837-838838-/**
839839- * Model used to test deduplication strategy (unused)
840840- */
841841-export type ParameterSimpleParameterUnused = string;
842842-843843-/**
844844- * Model used to test deduplication strategy
845845- */
846846-export type PostServiceWithEmptyTagResponse = string;
847847-848848-/**
849849- * Model used to test deduplication strategy
850850- */
851851-export type PostServiceWithEmptyTagResponse2 = string;
852852-853853-/**
854854- * Model used to test deduplication strategy
855855- */
856856-export type DeleteFooData = string;
857857-858858-/**
859859- * Model used to test deduplication strategy
860860- */
861861-export type DeleteFooData2 = string;
862862-863863-/**
864864- * This is a reusable parameter
865865- */
866866-export type ParameterSimpleParameter = string;
867867-868868-/**
869869- * Parameter with illegal characters
870870- */
871871-export type Parameterx_Foo_Bar = ModelWithString;