@kubb/plugin-ts 4.29.1 → 4.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/package.json +9 -8
  2. package/dist/types-BX_NNqoT.d.ts +0 -171
  3. package/src/generators/__snapshots__/ACHDetailsResponse.ts +0 -19
  4. package/src/generators/__snapshots__/bodyTest.ts +0 -11
  5. package/src/generators/__snapshots__/bodyUploadFileApiAssetsPost.ts +0 -14
  6. package/src/generators/__snapshots__/catDogDiscriminator.ts +0 -18
  7. package/src/generators/__snapshots__/catDogDiscriminatorWithoutMapping.ts +0 -15
  8. package/src/generators/__snapshots__/catTypeAsConst.ts +0 -22
  9. package/src/generators/__snapshots__/createPet.ts +0 -47
  10. package/src/generators/__snapshots__/createPetWithEmptySchemaTypeUnknown.ts +0 -47
  11. package/src/generators/__snapshots__/createPetWithEmptySchemaTypeVoid.ts +0 -47
  12. package/src/generators/__snapshots__/createPetWithUnknownTypeUnknown.ts +0 -47
  13. package/src/generators/__snapshots__/createPetWithUnknownTypeVoid.ts +0 -47
  14. package/src/generators/__snapshots__/deletePet.ts +0 -11
  15. package/src/generators/__snapshots__/discriminatorInheritVehicle.ts +0 -17
  16. package/src/generators/__snapshots__/discriminatorStrictVehicle.ts +0 -11
  17. package/src/generators/__snapshots__/dogTypeAsConst.ts +0 -22
  18. package/src/generators/__snapshots__/enumAllOf.ts +0 -18
  19. package/src/generators/__snapshots__/enumArray.ts +0 -8
  20. package/src/generators/__snapshots__/enumArray20.ts +0 -20
  21. package/src/generators/__snapshots__/enumInObject.ts +0 -18
  22. package/src/generators/__snapshots__/enumItems.ts +0 -13
  23. package/src/generators/__snapshots__/enumNames.ts +0 -11
  24. package/src/generators/__snapshots__/enumNamesCamelCase.ts +0 -11
  25. package/src/generators/__snapshots__/enumNamesConst.ts +0 -11
  26. package/src/generators/__snapshots__/enumNamesInlineLiteral.ts +0 -6
  27. package/src/generators/__snapshots__/enumNamesLiteral.ts +0 -8
  28. package/src/generators/__snapshots__/enumNamesPascalCase.ts +0 -11
  29. package/src/generators/__snapshots__/enumNamesPascalConst.ts +0 -13
  30. package/src/generators/__snapshots__/enumNamesScreamingSnakeCase.ts +0 -11
  31. package/src/generators/__snapshots__/enumNamesSnakeCase.ts +0 -11
  32. package/src/generators/__snapshots__/enumNamesType.ts +0 -13
  33. package/src/generators/__snapshots__/enumNullableMember.ts +0 -13
  34. package/src/generators/__snapshots__/enumNullableType.ts +0 -13
  35. package/src/generators/__snapshots__/enumString.ts +0 -15
  36. package/src/generators/__snapshots__/enumStringScreamingSnakeCase.ts +0 -15
  37. package/src/generators/__snapshots__/enumVarNamesType.ts +0 -13
  38. package/src/generators/__snapshots__/findArtifactsWithMixedQueryParams.ts +0 -49
  39. package/src/generators/__snapshots__/fooBase.ts +0 -16
  40. package/src/generators/__snapshots__/fooNumber.ts +0 -16
  41. package/src/generators/__snapshots__/getPets.ts +0 -30
  42. package/src/generators/__snapshots__/mixedValueTypeConst.ts +0 -14
  43. package/src/generators/__snapshots__/nullConstNull.ts +0 -11
  44. package/src/generators/__snapshots__/nullable.ts +0 -11
  45. package/src/generators/__snapshots__/numberValueConst.ts +0 -14
  46. package/src/generators/__snapshots__/pascalEnum.ts +0 -13
  47. package/src/generators/__snapshots__/paymentAccountDetailsResponse.ts +0 -12
  48. package/src/generators/__snapshots__/performActionTestingWithSnakeCaseParamsAndParamsCasingCamelcase.ts +0 -45
  49. package/src/generators/__snapshots__/petDict.ts +0 -16
  50. package/src/generators/__snapshots__/petIntegerTypeNumber.ts +0 -35
  51. package/src/generators/__snapshots__/petMapper.ts +0 -23
  52. package/src/generators/__snapshots__/petQuestionToken.ts +0 -35
  53. package/src/generators/__snapshots__/petQuestionTokenAndUndefined.ts +0 -37
  54. package/src/generators/__snapshots__/petUndefined.ts +0 -37
  55. package/src/generators/__snapshots__/pets.ts +0 -19
  56. package/src/generators/__snapshots__/petsInterface.ts +0 -19
  57. package/src/generators/__snapshots__/petsStoreAdvancedDiscriminator.ts +0 -33
  58. package/src/generators/__snapshots__/petsStoreDiscriminator.ts +0 -18
  59. package/src/generators/__snapshots__/petsStoreNotifcationDiscriminator.ts +0 -26
  60. package/src/generators/__snapshots__/petsStoreRef.ts +0 -6
  61. package/src/generators/__snapshots__/plainDateDate.ts +0 -9
  62. package/src/generators/__snapshots__/plainDateString.ts +0 -9
  63. package/src/generators/__snapshots__/plainEmail.ts +0 -9
  64. package/src/generators/__snapshots__/plainFile.ts +0 -9
  65. package/src/generators/__snapshots__/plainTimeDate.ts +0 -9
  66. package/src/generators/__snapshots__/plainUuid.ts +0 -9
  67. package/src/generators/__snapshots__/readOnly.ts +0 -25
  68. package/src/generators/__snapshots__/showPetById.ts +0 -36
  69. package/src/generators/__snapshots__/stringValueConst.ts +0 -14
  70. package/src/generators/__snapshots__/systemsWithExplodeForm.ts +0 -24
@@ -1,19 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type pets = {
7
- /**
8
- * @type integer, int64
9
- */
10
- id: bigint
11
- /**
12
- * @type string
13
- */
14
- name: string
15
- /**
16
- * @type string | undefined
17
- */
18
- tag?: string
19
- }[]
@@ -1,19 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type pets = {
7
- /**
8
- * @type integer, int64
9
- */
10
- id: bigint
11
- /**
12
- * @type string
13
- */
14
- name: string
15
- /**
16
- * @type string | undefined
17
- */
18
- tag?: string
19
- }[]
@@ -1,33 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * ValueSpecification
8
- */
9
- export type advanced =
10
- | (enumerationValueSpecificationDto & {
11
- /**
12
- * @type string
13
- */
14
- readonly type: 'enum'
15
- })
16
- | (rangeValueSpecificationDto & {
17
- /**
18
- * @type string
19
- */
20
- readonly type: 'range'
21
- })
22
- | (regexValueSpecificationDto & {
23
- /**
24
- * @type string
25
- */
26
- readonly type: 'regex'
27
- })
28
- | (sliderValueSpecificationDto & {
29
- /**
30
- * @type string
31
- */
32
- readonly type: 'slider'
33
- })
@@ -1,18 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @description A project is an analysis project. It has a name, an id, and has a dataset
8
- */
9
- export type petstore = {
10
- /**
11
- * @type integer
12
- */
13
- id: number
14
- /**
15
- * @type array | undefined
16
- */
17
- pets?: (cat | dog)[]
18
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type notification = (
7
- | (documentDisapprovedNotification & {
8
- notificationType: 'DOCUMENT_DISAPPROVED'
9
- })
10
- | (documentApprovedNotification & {
11
- notificationType: 'DOCUMENT_APPROVED'
12
- })
13
- ) & {
14
- /**
15
- * @type integer
16
- */
17
- id: number
18
- /**
19
- * @type string, date-time
20
- */
21
- createdAt: string
22
- /**
23
- * @type boolean
24
- */
25
- isSeen: boolean
26
- }
@@ -1,6 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type pets = pet[]
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Date
8
- */
9
- export type plainDate = Date
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Date
8
- */
9
- export type plainDate = string
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Email
8
- */
9
- export type plainEmail = string
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * File
8
- */
9
- export type plainFile = Blob
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * Time
8
- */
9
- export type plainTime = Date
@@ -1,9 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * UUID
8
- */
9
- export type plainUuid = string
@@ -1,25 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type demo = {
7
- /**
8
- * @type integer | undefined
9
- */
10
- readonly attribute_readonly?: number
11
- /**
12
- * @description not required
13
- * @type integer | undefined
14
- */
15
- attribute_writeOnly?: number
16
- /**
17
- * @type integer | undefined
18
- */
19
- readonly attribute_with_ref?: attributeReadonly
20
- /**
21
- * @description not required
22
- * @type integer | undefined
23
- */
24
- attribute_with_ref_readonly?: attributeWriteOnly
25
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- export type ShowPetByIdPathParams = {
7
- /**
8
- * @description The id of the pet to retrieve
9
- * @type string
10
- */
11
- petId: string
12
- /**
13
- * @description The id of the pet to retrieve
14
- * @type string
15
- */
16
- testId: string
17
- }
18
-
19
- /**
20
- * Pet
21
- * @description Expected response to a valid request
22
- */
23
- export type ShowPetById200 = pet
24
-
25
- /**
26
- * @description unexpected error
27
- */
28
- export type ShowPetByIdError = error
29
-
30
- export type ShowPetByIdQueryResponse = showPetById200
31
-
32
- export type ShowPetByIdQuery = {
33
- Response: showPetById200
34
- PathParams: showPetByIdPathParams
35
- Errors: any
36
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * StringValueConst
8
- */
9
- export type stringValueConst = {
10
- /**
11
- * @type string
12
- */
13
- foobar: 'foobar'
14
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
-
6
- /**
7
- * @example [object Object]
8
- */
9
- export type SystemsQueryParams = {
10
- [key: string]: string
11
- }
12
-
13
- /**
14
- * @description OK
15
- */
16
- export type Systems200 = object
17
-
18
- export type SystemsQueryResponse = systems200
19
-
20
- export type SystemsQuery = {
21
- Response: systems200
22
- QueryParams: systemsQueryParams
23
- Errors: any
24
- }