tsarr 1.2.0 → 1.3.0

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 (194) hide show
  1. package/README.md +1 -1
  2. package/dist/clients/lidarr.d.ts +10 -10
  3. package/dist/clients/lidarr.d.ts.map +1 -1
  4. package/dist/clients/lidarr.js +1183 -246
  5. package/dist/clients/prowlarr.d.ts +5 -5
  6. package/dist/clients/prowlarr.d.ts.map +1 -1
  7. package/dist/clients/prowlarr.js +825 -177
  8. package/dist/clients/radarr.d.ts +23 -23
  9. package/dist/clients/radarr.d.ts.map +1 -1
  10. package/dist/clients/radarr.js +1817 -347
  11. package/dist/clients/readarr.d.ts +5 -5
  12. package/dist/clients/readarr.d.ts.map +1 -1
  13. package/dist/clients/readarr.js +877 -192
  14. package/dist/clients/sonarr.d.ts +9 -9
  15. package/dist/clients/sonarr.d.ts.map +1 -1
  16. package/dist/clients/sonarr.js +847 -184
  17. package/dist/core/response.d.ts +1 -1
  18. package/dist/core/response.d.ts.map +1 -1
  19. package/dist/generated/lidarr/client/client.gen.d.ts +3 -0
  20. package/dist/generated/lidarr/client/client.gen.d.ts.map +1 -0
  21. package/dist/generated/lidarr/client/index.d.ts +8 -0
  22. package/dist/generated/lidarr/client/index.d.ts.map +1 -0
  23. package/dist/generated/lidarr/client/types.gen.d.ts +125 -0
  24. package/dist/generated/lidarr/client/types.gen.d.ts.map +1 -0
  25. package/dist/generated/lidarr/client/utils.gen.d.ts +39 -0
  26. package/dist/generated/lidarr/client/utils.gen.d.ts.map +1 -0
  27. package/dist/generated/lidarr/client.gen.d.ts +13 -0
  28. package/dist/generated/lidarr/client.gen.d.ts.map +1 -0
  29. package/dist/generated/lidarr/core/auth.gen.d.ts +19 -0
  30. package/dist/generated/lidarr/core/auth.gen.d.ts.map +1 -0
  31. package/dist/generated/lidarr/core/bodySerializer.gen.d.ts +18 -0
  32. package/dist/generated/lidarr/core/bodySerializer.gen.d.ts.map +1 -0
  33. package/dist/generated/lidarr/core/params.gen.d.ts +34 -0
  34. package/dist/generated/lidarr/core/params.gen.d.ts.map +1 -0
  35. package/dist/generated/lidarr/core/pathSerializer.gen.d.ts +34 -0
  36. package/dist/generated/lidarr/core/pathSerializer.gen.d.ts.map +1 -0
  37. package/dist/generated/lidarr/core/serverSentEvents.gen.d.ts +72 -0
  38. package/dist/generated/lidarr/core/serverSentEvents.gen.d.ts.map +1 -0
  39. package/dist/generated/lidarr/core/types.gen.d.ts +79 -0
  40. package/dist/generated/lidarr/core/types.gen.d.ts.map +1 -0
  41. package/dist/generated/lidarr/core/utils.gen.d.ts +15 -0
  42. package/dist/generated/lidarr/core/utils.gen.d.ts.map +1 -0
  43. package/dist/generated/lidarr/index.d.ts +1 -2
  44. package/dist/generated/lidarr/index.d.ts.map +1 -1
  45. package/dist/generated/lidarr/sdk.gen.d.ts +252 -0
  46. package/dist/generated/lidarr/sdk.gen.d.ts.map +1 -0
  47. package/dist/generated/lidarr/types.gen.d.ts +3117 -1056
  48. package/dist/generated/lidarr/types.gen.d.ts.map +1 -1
  49. package/dist/generated/prowlarr/client/client.gen.d.ts +3 -0
  50. package/dist/generated/prowlarr/client/client.gen.d.ts.map +1 -0
  51. package/dist/generated/prowlarr/client/index.d.ts +8 -0
  52. package/dist/generated/prowlarr/client/index.d.ts.map +1 -0
  53. package/dist/generated/prowlarr/client/types.gen.d.ts +125 -0
  54. package/dist/generated/prowlarr/client/types.gen.d.ts.map +1 -0
  55. package/dist/generated/prowlarr/client/utils.gen.d.ts +39 -0
  56. package/dist/generated/prowlarr/client/utils.gen.d.ts.map +1 -0
  57. package/dist/generated/prowlarr/client.gen.d.ts +13 -0
  58. package/dist/generated/prowlarr/client.gen.d.ts.map +1 -0
  59. package/dist/generated/prowlarr/core/auth.gen.d.ts +19 -0
  60. package/dist/generated/prowlarr/core/auth.gen.d.ts.map +1 -0
  61. package/dist/generated/prowlarr/core/bodySerializer.gen.d.ts +18 -0
  62. package/dist/generated/prowlarr/core/bodySerializer.gen.d.ts.map +1 -0
  63. package/dist/generated/prowlarr/core/params.gen.d.ts +34 -0
  64. package/dist/generated/prowlarr/core/params.gen.d.ts.map +1 -0
  65. package/dist/generated/prowlarr/core/pathSerializer.gen.d.ts +34 -0
  66. package/dist/generated/prowlarr/core/pathSerializer.gen.d.ts.map +1 -0
  67. package/dist/generated/prowlarr/core/serverSentEvents.gen.d.ts +72 -0
  68. package/dist/generated/prowlarr/core/serverSentEvents.gen.d.ts.map +1 -0
  69. package/dist/generated/prowlarr/core/types.gen.d.ts +79 -0
  70. package/dist/generated/prowlarr/core/types.gen.d.ts.map +1 -0
  71. package/dist/generated/prowlarr/core/utils.gen.d.ts +15 -0
  72. package/dist/generated/prowlarr/core/utils.gen.d.ts.map +1 -0
  73. package/dist/generated/prowlarr/index.d.ts +1 -2
  74. package/dist/generated/prowlarr/index.d.ts.map +1 -1
  75. package/dist/generated/prowlarr/sdk.gen.d.ts +145 -0
  76. package/dist/generated/prowlarr/sdk.gen.d.ts.map +1 -0
  77. package/dist/generated/prowlarr/types.gen.d.ts +1747 -592
  78. package/dist/generated/prowlarr/types.gen.d.ts.map +1 -1
  79. package/dist/generated/radarr/client/client.gen.d.ts +3 -0
  80. package/dist/generated/radarr/client/client.gen.d.ts.map +1 -0
  81. package/dist/generated/radarr/client/index.d.ts +8 -0
  82. package/dist/generated/radarr/client/index.d.ts.map +1 -0
  83. package/dist/generated/radarr/client/types.gen.d.ts +125 -0
  84. package/dist/generated/radarr/client/types.gen.d.ts.map +1 -0
  85. package/dist/generated/radarr/client/utils.gen.d.ts +39 -0
  86. package/dist/generated/radarr/client/utils.gen.d.ts.map +1 -0
  87. package/dist/generated/radarr/client.gen.d.ts +13 -0
  88. package/dist/generated/radarr/client.gen.d.ts.map +1 -0
  89. package/dist/generated/radarr/core/auth.gen.d.ts +19 -0
  90. package/dist/generated/radarr/core/auth.gen.d.ts.map +1 -0
  91. package/dist/generated/radarr/core/bodySerializer.gen.d.ts +18 -0
  92. package/dist/generated/radarr/core/bodySerializer.gen.d.ts.map +1 -0
  93. package/dist/generated/radarr/core/params.gen.d.ts +34 -0
  94. package/dist/generated/radarr/core/params.gen.d.ts.map +1 -0
  95. package/dist/generated/radarr/core/pathSerializer.gen.d.ts +34 -0
  96. package/dist/generated/radarr/core/pathSerializer.gen.d.ts.map +1 -0
  97. package/dist/generated/radarr/core/serverSentEvents.gen.d.ts +72 -0
  98. package/dist/generated/radarr/core/serverSentEvents.gen.d.ts.map +1 -0
  99. package/dist/generated/radarr/core/types.gen.d.ts +79 -0
  100. package/dist/generated/radarr/core/types.gen.d.ts.map +1 -0
  101. package/dist/generated/radarr/core/utils.gen.d.ts +15 -0
  102. package/dist/generated/radarr/core/utils.gen.d.ts.map +1 -0
  103. package/dist/generated/radarr/index.d.ts +1 -2
  104. package/dist/generated/radarr/index.d.ts.map +1 -1
  105. package/dist/generated/radarr/sdk.gen.d.ts +260 -0
  106. package/dist/generated/radarr/sdk.gen.d.ts.map +1 -0
  107. package/dist/generated/radarr/types.gen.d.ts +3066 -1064
  108. package/dist/generated/radarr/types.gen.d.ts.map +1 -1
  109. package/dist/generated/readarr/client/client.gen.d.ts +3 -0
  110. package/dist/generated/readarr/client/client.gen.d.ts.map +1 -0
  111. package/dist/generated/readarr/client/index.d.ts +8 -0
  112. package/dist/generated/readarr/client/index.d.ts.map +1 -0
  113. package/dist/generated/readarr/client/types.gen.d.ts +125 -0
  114. package/dist/generated/readarr/client/types.gen.d.ts.map +1 -0
  115. package/dist/generated/readarr/client/utils.gen.d.ts +39 -0
  116. package/dist/generated/readarr/client/utils.gen.d.ts.map +1 -0
  117. package/dist/generated/readarr/client.gen.d.ts +13 -0
  118. package/dist/generated/readarr/client.gen.d.ts.map +1 -0
  119. package/dist/generated/readarr/core/auth.gen.d.ts +19 -0
  120. package/dist/generated/readarr/core/auth.gen.d.ts.map +1 -0
  121. package/dist/generated/readarr/core/bodySerializer.gen.d.ts +18 -0
  122. package/dist/generated/readarr/core/bodySerializer.gen.d.ts.map +1 -0
  123. package/dist/generated/readarr/core/params.gen.d.ts +34 -0
  124. package/dist/generated/readarr/core/params.gen.d.ts.map +1 -0
  125. package/dist/generated/readarr/core/pathSerializer.gen.d.ts +34 -0
  126. package/dist/generated/readarr/core/pathSerializer.gen.d.ts.map +1 -0
  127. package/dist/generated/readarr/core/serverSentEvents.gen.d.ts +72 -0
  128. package/dist/generated/readarr/core/serverSentEvents.gen.d.ts.map +1 -0
  129. package/dist/generated/readarr/core/types.gen.d.ts +79 -0
  130. package/dist/generated/readarr/core/types.gen.d.ts.map +1 -0
  131. package/dist/generated/readarr/core/utils.gen.d.ts +15 -0
  132. package/dist/generated/readarr/core/utils.gen.d.ts.map +1 -0
  133. package/dist/generated/readarr/index.d.ts +1 -2
  134. package/dist/generated/readarr/index.d.ts.map +1 -1
  135. package/dist/generated/readarr/sdk.gen.d.ts +250 -0
  136. package/dist/generated/readarr/sdk.gen.d.ts.map +1 -0
  137. package/dist/generated/readarr/types.gen.d.ts +3219 -1142
  138. package/dist/generated/readarr/types.gen.d.ts.map +1 -1
  139. package/dist/generated/sonarr/client/client.gen.d.ts +3 -0
  140. package/dist/generated/sonarr/client/client.gen.d.ts.map +1 -0
  141. package/dist/generated/sonarr/client/index.d.ts +8 -0
  142. package/dist/generated/sonarr/client/index.d.ts.map +1 -0
  143. package/dist/generated/sonarr/client/types.gen.d.ts +125 -0
  144. package/dist/generated/sonarr/client/types.gen.d.ts.map +1 -0
  145. package/dist/generated/sonarr/client/utils.gen.d.ts +39 -0
  146. package/dist/generated/sonarr/client/utils.gen.d.ts.map +1 -0
  147. package/dist/generated/sonarr/client.gen.d.ts +13 -0
  148. package/dist/generated/sonarr/client.gen.d.ts.map +1 -0
  149. package/dist/generated/sonarr/core/auth.gen.d.ts +19 -0
  150. package/dist/generated/sonarr/core/auth.gen.d.ts.map +1 -0
  151. package/dist/generated/sonarr/core/bodySerializer.gen.d.ts +18 -0
  152. package/dist/generated/sonarr/core/bodySerializer.gen.d.ts.map +1 -0
  153. package/dist/generated/sonarr/core/params.gen.d.ts +34 -0
  154. package/dist/generated/sonarr/core/params.gen.d.ts.map +1 -0
  155. package/dist/generated/sonarr/core/pathSerializer.gen.d.ts +34 -0
  156. package/dist/generated/sonarr/core/pathSerializer.gen.d.ts.map +1 -0
  157. package/dist/generated/sonarr/core/serverSentEvents.gen.d.ts +72 -0
  158. package/dist/generated/sonarr/core/serverSentEvents.gen.d.ts.map +1 -0
  159. package/dist/generated/sonarr/core/types.gen.d.ts +79 -0
  160. package/dist/generated/sonarr/core/types.gen.d.ts.map +1 -0
  161. package/dist/generated/sonarr/core/utils.gen.d.ts +15 -0
  162. package/dist/generated/sonarr/core/utils.gen.d.ts.map +1 -0
  163. package/dist/generated/sonarr/index.d.ts +1 -2
  164. package/dist/generated/sonarr/index.d.ts.map +1 -1
  165. package/dist/generated/sonarr/sdk.gen.d.ts +37 -0
  166. package/dist/generated/sonarr/sdk.gen.d.ts.map +1 -0
  167. package/dist/generated/sonarr/types.gen.d.ts +349 -107
  168. package/dist/generated/sonarr/types.gen.d.ts.map +1 -1
  169. package/dist/index.d.ts +8 -8
  170. package/dist/index.d.ts.map +1 -1
  171. package/dist/index.js +21 -1
  172. package/dist/tsarr-1.3.0.tgz +0 -0
  173. package/package.json +40 -43
  174. package/dist/generated/lidarr/schemas.gen.d.ts +0 -4584
  175. package/dist/generated/lidarr/schemas.gen.d.ts.map +0 -1
  176. package/dist/generated/lidarr/services.gen.d.ts +0 -242
  177. package/dist/generated/lidarr/services.gen.d.ts.map +0 -1
  178. package/dist/generated/prowlarr/schemas.gen.d.ts +0 -2151
  179. package/dist/generated/prowlarr/schemas.gen.d.ts.map +0 -1
  180. package/dist/generated/prowlarr/services.gen.d.ts +0 -135
  181. package/dist/generated/prowlarr/services.gen.d.ts.map +0 -1
  182. package/dist/generated/radarr/schemas.gen.d.ts +0 -4402
  183. package/dist/generated/radarr/schemas.gen.d.ts.map +0 -1
  184. package/dist/generated/radarr/services.gen.d.ts +0 -250
  185. package/dist/generated/radarr/services.gen.d.ts.map +0 -1
  186. package/dist/generated/readarr/schemas.gen.d.ts +0 -5250
  187. package/dist/generated/readarr/schemas.gen.d.ts.map +0 -1
  188. package/dist/generated/readarr/services.gen.d.ts +0 -240
  189. package/dist/generated/readarr/services.gen.d.ts.map +0 -1
  190. package/dist/generated/sonarr/schemas.gen.d.ts +0 -612
  191. package/dist/generated/sonarr/schemas.gen.d.ts.map +0 -1
  192. package/dist/generated/sonarr/services.gen.d.ts +0 -27
  193. package/dist/generated/sonarr/services.gen.d.ts.map +0 -1
  194. package/dist/tsarr-1.2.0.tgz +0 -0
@@ -1,43 +1,43 @@
1
1
  export type ApiInfoResource = {
2
- current?: (string) | null;
3
- deprecated?: Array<(string)> | null;
2
+ current?: string | null;
3
+ deprecated?: Array<string> | null;
4
+ };
5
+ export type AppProfileResource = {
6
+ id?: number;
7
+ name?: string | null;
8
+ enableRss?: boolean;
9
+ enableAutomaticSearch?: boolean;
10
+ enableInteractiveSearch?: boolean;
11
+ minimumSeeders?: number;
4
12
  };
5
13
  export type ApplicationBulkResource = {
6
- ids?: Array<(number)> | null;
7
- tags?: Array<(number)> | null;
14
+ ids?: Array<number> | null;
15
+ tags?: Array<number> | null;
8
16
  applyTags?: ApplyTags;
9
17
  syncLevel?: ApplicationSyncLevel;
10
18
  };
11
19
  export type ApplicationResource = {
12
20
  id?: number;
13
- name?: (string) | null;
21
+ name?: string | null;
14
22
  fields?: Array<Field> | null;
15
- implementationName?: (string) | null;
16
- implementation?: (string) | null;
17
- configContract?: (string) | null;
18
- infoLink?: (string) | null;
23
+ implementationName?: string | null;
24
+ implementation?: string | null;
25
+ configContract?: string | null;
26
+ infoLink?: string | null;
19
27
  message?: ProviderMessage;
20
- tags?: Array<(number)> | null;
28
+ tags?: Array<number> | null;
21
29
  presets?: Array<ApplicationResource> | null;
22
30
  syncLevel?: ApplicationSyncLevel;
23
- testCommand?: (string) | null;
31
+ testCommand?: string | null;
24
32
  };
25
33
  export type ApplicationSyncLevel = 'disabled' | 'addOnly' | 'fullSync';
26
34
  export type ApplyTags = 'add' | 'remove' | 'replace';
27
- export type AppProfileResource = {
28
- id?: number;
29
- name?: (string) | null;
30
- enableRss?: boolean;
31
- enableAutomaticSearch?: boolean;
32
- enableInteractiveSearch?: boolean;
33
- minimumSeeders?: number;
34
- };
35
35
  export type AuthenticationRequiredType = 'enabled' | 'disabledForLocalAddresses';
36
36
  export type AuthenticationType = 'none' | 'basic' | 'forms' | 'external';
37
37
  export type BackupResource = {
38
38
  id?: number;
39
- name?: (string) | null;
40
- path?: (string) | null;
39
+ name?: string | null;
40
+ path?: string | null;
41
41
  type?: BackupType;
42
42
  size?: number;
43
43
  time?: string;
@@ -48,44 +48,44 @@ export type CertificateValidationType = 'enabled' | 'disabledForLocalAddresses'
48
48
  export type Command = {
49
49
  sendUpdatesToClient?: boolean;
50
50
  readonly updateScheduledTask?: boolean;
51
- readonly completionMessage?: (string) | null;
51
+ readonly completionMessage?: string | null;
52
52
  readonly requiresDiskAccess?: boolean;
53
53
  readonly isExclusive?: boolean;
54
54
  readonly isTypeExclusive?: boolean;
55
- readonly name?: (string) | null;
56
- lastExecutionTime?: (string) | null;
57
- lastStartTime?: (string) | null;
55
+ readonly name?: string | null;
56
+ lastExecutionTime?: string | null;
57
+ lastStartTime?: string | null;
58
58
  trigger?: CommandTrigger;
59
59
  suppressMessages?: boolean;
60
- clientUserAgent?: (string) | null;
60
+ clientUserAgent?: string | null;
61
61
  };
62
62
  export type CommandPriority = 'normal' | 'high' | 'low';
63
63
  export type CommandResource = {
64
64
  id?: number;
65
- name?: (string) | null;
66
- commandName?: (string) | null;
67
- message?: (string) | null;
65
+ name?: string | null;
66
+ commandName?: string | null;
67
+ message?: string | null;
68
68
  body?: Command;
69
69
  priority?: CommandPriority;
70
70
  status?: CommandStatus;
71
71
  queued?: string;
72
- started?: (string) | null;
73
- ended?: (string) | null;
74
- duration?: (string) | null;
75
- exception?: (string) | null;
72
+ started?: string | null;
73
+ ended?: string | null;
74
+ duration?: string | null;
75
+ exception?: string | null;
76
76
  trigger?: CommandTrigger;
77
- clientUserAgent?: (string) | null;
78
- stateChangeTime?: (string) | null;
77
+ clientUserAgent?: string | null;
78
+ stateChangeTime?: string | null;
79
79
  sendUpdatesToClient?: boolean;
80
80
  updateScheduledTask?: boolean;
81
- lastExecutionTime?: (string) | null;
81
+ lastExecutionTime?: string | null;
82
82
  };
83
83
  export type CommandStatus = 'queued' | 'started' | 'completed' | 'failed' | 'aborted' | 'cancelled' | 'orphaned';
84
84
  export type CommandTrigger = 'unspecified' | 'manual' | 'scheduled';
85
85
  export type CustomFilterResource = {
86
86
  id?: number;
87
- type?: (string) | null;
88
- label?: (string) | null;
87
+ type?: string | null;
88
+ label?: string | null;
89
89
  filters?: Array<{
90
90
  [key: string]: unknown;
91
91
  }> | null;
@@ -93,36 +93,36 @@ export type CustomFilterResource = {
93
93
  export type DatabaseType = 'sqLite' | 'postgreSQL';
94
94
  export type DevelopmentConfigResource = {
95
95
  id?: number;
96
- consoleLogLevel?: (string) | null;
96
+ consoleLogLevel?: string | null;
97
97
  logSql?: boolean;
98
98
  logIndexerResponse?: boolean;
99
99
  logRotate?: number;
100
100
  filterSentryEvents?: boolean;
101
101
  };
102
102
  export type DownloadClientBulkResource = {
103
- ids?: Array<(number)> | null;
104
- tags?: Array<(number)> | null;
103
+ ids?: Array<number> | null;
104
+ tags?: Array<number> | null;
105
105
  applyTags?: ApplyTags;
106
- enable?: (boolean) | null;
107
- priority?: (number) | null;
106
+ enable?: boolean | null;
107
+ priority?: number | null;
108
108
  };
109
109
  export type DownloadClientCategory = {
110
- clientCategory?: (string) | null;
111
- categories?: Array<(number)> | null;
110
+ clientCategory?: string | null;
111
+ categories?: Array<number> | null;
112
112
  };
113
113
  export type DownloadClientConfigResource = {
114
114
  id?: number;
115
115
  };
116
116
  export type DownloadClientResource = {
117
117
  id?: number;
118
- name?: (string) | null;
118
+ name?: string | null;
119
119
  fields?: Array<Field> | null;
120
- implementationName?: (string) | null;
121
- implementation?: (string) | null;
122
- configContract?: (string) | null;
123
- infoLink?: (string) | null;
120
+ implementationName?: string | null;
121
+ implementation?: string | null;
122
+ configContract?: string | null;
123
+ infoLink?: string | null;
124
124
  message?: ProviderMessage;
125
- tags?: Array<(number)> | null;
125
+ tags?: Array<number> | null;
126
126
  presets?: Array<DownloadClientResource> | null;
127
127
  enable?: boolean;
128
128
  protocol?: DownloadProtocol;
@@ -133,54 +133,54 @@ export type DownloadClientResource = {
133
133
  export type DownloadProtocol = 'unknown' | 'usenet' | 'torrent';
134
134
  export type Field = {
135
135
  order?: number;
136
- name?: (string) | null;
137
- label?: (string) | null;
138
- unit?: (string) | null;
139
- helpText?: (string) | null;
140
- helpTextWarning?: (string) | null;
141
- helpLink?: (string) | null;
136
+ name?: string | null;
137
+ label?: string | null;
138
+ unit?: string | null;
139
+ helpText?: string | null;
140
+ helpTextWarning?: string | null;
141
+ helpLink?: string | null;
142
142
  value?: unknown;
143
- type?: (string) | null;
143
+ type?: string | null;
144
144
  advanced?: boolean;
145
145
  selectOptions?: Array<SelectOption> | null;
146
- selectOptionsProviderAction?: (string) | null;
147
- section?: (string) | null;
148
- hidden?: (string) | null;
146
+ selectOptionsProviderAction?: string | null;
147
+ section?: string | null;
148
+ hidden?: string | null;
149
149
  privacy?: PrivacyLevel;
150
- placeholder?: (string) | null;
150
+ placeholder?: string | null;
151
151
  isFloat?: boolean;
152
152
  };
153
153
  export type HealthCheckResult = 'ok' | 'notice' | 'warning' | 'error';
154
154
  export type HealthResource = {
155
155
  id?: number;
156
- source?: (string) | null;
156
+ source?: string | null;
157
157
  type?: HealthCheckResult;
158
- message?: (string) | null;
159
- wikiUrl?: (string) | null;
158
+ message?: string | null;
159
+ wikiUrl?: string | null;
160
160
  };
161
161
  export type HistoryEventType = 'unknown' | 'releaseGrabbed' | 'indexerQuery' | 'indexerRss' | 'indexerAuth' | 'indexerInfo';
162
162
  export type HistoryResource = {
163
163
  id?: number;
164
164
  indexerId?: number;
165
165
  date?: string;
166
- downloadId?: (string) | null;
166
+ downloadId?: string | null;
167
167
  successful?: boolean;
168
168
  eventType?: HistoryEventType;
169
169
  data?: {
170
- [key: string]: ((string) | null);
170
+ [key: string]: string | null;
171
171
  } | null;
172
172
  };
173
173
  export type HistoryResourcePagingResource = {
174
174
  page?: number;
175
175
  pageSize?: number;
176
- sortKey?: (string) | null;
176
+ sortKey?: string | null;
177
177
  sortDirection?: SortDirection;
178
178
  totalRecords?: number;
179
179
  records?: Array<HistoryResource> | null;
180
180
  };
181
181
  export type HostConfigResource = {
182
182
  id?: number;
183
- bindAddress?: (string) | null;
183
+ bindAddress?: string | null;
184
184
  port?: number;
185
185
  sslPort?: number;
186
186
  enableSsl?: boolean;
@@ -188,62 +188,62 @@ export type HostConfigResource = {
188
188
  authenticationMethod?: AuthenticationType;
189
189
  authenticationRequired?: AuthenticationRequiredType;
190
190
  analyticsEnabled?: boolean;
191
- username?: (string) | null;
192
- password?: (string) | null;
193
- passwordConfirmation?: (string) | null;
194
- logLevel?: (string) | null;
191
+ username?: string | null;
192
+ password?: string | null;
193
+ passwordConfirmation?: string | null;
194
+ logLevel?: string | null;
195
195
  logSizeLimit?: number;
196
- consoleLogLevel?: (string) | null;
197
- branch?: (string) | null;
198
- apiKey?: (string) | null;
199
- sslCertPath?: (string) | null;
200
- sslCertPassword?: (string) | null;
201
- urlBase?: (string) | null;
202
- instanceName?: (string) | null;
203
- applicationUrl?: (string) | null;
196
+ consoleLogLevel?: string | null;
197
+ branch?: string | null;
198
+ apiKey?: string | null;
199
+ sslCertPath?: string | null;
200
+ sslCertPassword?: string | null;
201
+ urlBase?: string | null;
202
+ instanceName?: string | null;
203
+ applicationUrl?: string | null;
204
204
  updateAutomatically?: boolean;
205
205
  updateMechanism?: UpdateMechanism;
206
- updateScriptPath?: (string) | null;
206
+ updateScriptPath?: string | null;
207
207
  proxyEnabled?: boolean;
208
208
  proxyType?: ProxyType;
209
- proxyHostname?: (string) | null;
209
+ proxyHostname?: string | null;
210
210
  proxyPort?: number;
211
- proxyUsername?: (string) | null;
212
- proxyPassword?: (string) | null;
213
- proxyBypassFilter?: (string) | null;
211
+ proxyUsername?: string | null;
212
+ proxyPassword?: string | null;
213
+ proxyBypassFilter?: string | null;
214
214
  proxyBypassLocalAddresses?: boolean;
215
215
  certificateValidation?: CertificateValidationType;
216
- backupFolder?: (string) | null;
216
+ backupFolder?: string | null;
217
217
  backupInterval?: number;
218
218
  backupRetention?: number;
219
219
  historyCleanupDays?: number;
220
220
  trustCgnatIpAddresses?: boolean;
221
221
  };
222
222
  export type HostStatistics = {
223
- host?: (string) | null;
223
+ host?: string | null;
224
224
  numberOfQueries?: number;
225
225
  numberOfGrabs?: number;
226
226
  };
227
227
  export type IActionResult = {
228
- [key: string]: unknown;
228
+ [key: string]: never;
229
229
  };
230
230
  export type IndexerBulkResource = {
231
- ids?: Array<(number)> | null;
232
- tags?: Array<(number)> | null;
231
+ ids?: Array<number> | null;
232
+ tags?: Array<number> | null;
233
233
  applyTags?: ApplyTags;
234
- enable?: (boolean) | null;
235
- appProfileId?: (number) | null;
236
- priority?: (number) | null;
237
- minimumSeeders?: (number) | null;
238
- seedRatio?: (number) | null;
239
- seedTime?: (number) | null;
240
- packSeedTime?: (number) | null;
241
- preferMagnetUrl?: (boolean) | null;
234
+ enable?: boolean | null;
235
+ appProfileId?: number | null;
236
+ priority?: number | null;
237
+ minimumSeeders?: number | null;
238
+ seedRatio?: number | null;
239
+ seedTime?: number | null;
240
+ packSeedTime?: number | null;
241
+ preferMagnetUrl?: boolean | null;
242
242
  };
243
243
  export type IndexerCapabilityResource = {
244
244
  id?: number;
245
- limitsMax?: (number) | null;
246
- limitsDefault?: (number) | null;
245
+ limitsMax?: number | null;
246
+ limitsDefault?: number | null;
247
247
  categories?: Array<IndexerCategory> | null;
248
248
  supportsRawSearch?: boolean;
249
249
  searchParams?: Array<SearchParam> | null;
@@ -254,45 +254,45 @@ export type IndexerCapabilityResource = {
254
254
  };
255
255
  export type IndexerCategory = {
256
256
  id?: number;
257
- name?: (string) | null;
258
- description?: (string) | null;
257
+ name?: string | null;
258
+ description?: string | null;
259
259
  readonly subCategories?: Array<IndexerCategory> | null;
260
260
  };
261
261
  export type IndexerPrivacy = 'public' | 'semiPrivate' | 'private';
262
262
  export type IndexerProxyResource = {
263
263
  id?: number;
264
- name?: (string) | null;
264
+ name?: string | null;
265
265
  fields?: Array<Field> | null;
266
- implementationName?: (string) | null;
267
- implementation?: (string) | null;
268
- configContract?: (string) | null;
269
- infoLink?: (string) | null;
266
+ implementationName?: string | null;
267
+ implementation?: string | null;
268
+ configContract?: string | null;
269
+ infoLink?: string | null;
270
270
  message?: ProviderMessage;
271
- tags?: Array<(number)> | null;
271
+ tags?: Array<number> | null;
272
272
  presets?: Array<IndexerProxyResource> | null;
273
- link?: (string) | null;
273
+ link?: string | null;
274
274
  onHealthIssue?: boolean;
275
275
  supportsOnHealthIssue?: boolean;
276
276
  includeHealthWarnings?: boolean;
277
- testCommand?: (string) | null;
277
+ testCommand?: string | null;
278
278
  };
279
279
  export type IndexerResource = {
280
280
  id?: number;
281
- name?: (string) | null;
281
+ name?: string | null;
282
282
  fields?: Array<Field> | null;
283
- implementationName?: (string) | null;
284
- implementation?: (string) | null;
285
- configContract?: (string) | null;
286
- infoLink?: (string) | null;
283
+ implementationName?: string | null;
284
+ implementation?: string | null;
285
+ configContract?: string | null;
286
+ infoLink?: string | null;
287
287
  message?: ProviderMessage;
288
- tags?: Array<(number)> | null;
288
+ tags?: Array<number> | null;
289
289
  presets?: Array<IndexerResource> | null;
290
- indexerUrls?: Array<(string)> | null;
291
- legacyUrls?: Array<(string)> | null;
292
- definitionName?: (string) | null;
293
- description?: (string) | null;
294
- language?: (string) | null;
295
- encoding?: (string) | null;
290
+ indexerUrls?: Array<string> | null;
291
+ legacyUrls?: Array<string> | null;
292
+ definitionName?: string | null;
293
+ description?: string | null;
294
+ language?: string | null;
295
+ encoding?: string | null;
296
296
  enable?: boolean;
297
297
  redirect?: boolean;
298
298
  supportsRss?: boolean;
@@ -307,11 +307,11 @@ export type IndexerResource = {
307
307
  downloadClientId?: number;
308
308
  added?: string;
309
309
  status?: IndexerStatusResource;
310
- sortName?: (string) | null;
310
+ sortName?: string | null;
311
311
  };
312
312
  export type IndexerStatistics = {
313
313
  indexerId?: number;
314
- indexerName?: (string) | null;
314
+ indexerName?: string | null;
315
315
  averageResponseTime?: number;
316
316
  averageGrabResponseTime?: number;
317
317
  numberOfQueries?: number;
@@ -332,35 +332,35 @@ export type IndexerStatsResource = {
332
332
  export type IndexerStatusResource = {
333
333
  id?: number;
334
334
  indexerId?: number;
335
- disabledTill?: (string) | null;
336
- mostRecentFailure?: (string) | null;
337
- initialFailure?: (string) | null;
335
+ disabledTill?: string | null;
336
+ mostRecentFailure?: string | null;
337
+ initialFailure?: string | null;
338
338
  };
339
339
  export type LocalizationOption = {
340
- name?: (string) | null;
341
- value?: (string) | null;
340
+ name?: string | null;
341
+ value?: string | null;
342
342
  };
343
343
  export type LogFileResource = {
344
344
  id?: number;
345
- filename?: (string) | null;
345
+ filename?: string | null;
346
346
  lastWriteTime?: string;
347
- contentsUrl?: (string) | null;
348
- downloadUrl?: (string) | null;
347
+ contentsUrl?: string | null;
348
+ downloadUrl?: string | null;
349
349
  };
350
350
  export type LogResource = {
351
351
  id?: number;
352
352
  time?: string;
353
- exception?: (string) | null;
354
- exceptionType?: (string) | null;
355
- level?: (string) | null;
356
- logger?: (string) | null;
357
- message?: (string) | null;
358
- method?: (string) | null;
353
+ exception?: string | null;
354
+ exceptionType?: string | null;
355
+ level?: string | null;
356
+ logger?: string | null;
357
+ message?: string | null;
358
+ method?: string | null;
359
359
  };
360
360
  export type LogResourcePagingResource = {
361
361
  page?: number;
362
362
  pageSize?: number;
363
- sortKey?: (string) | null;
363
+ sortKey?: string | null;
364
364
  sortDirection?: SortDirection;
365
365
  totalRecords?: number;
366
366
  records?: Array<LogResource> | null;
@@ -369,16 +369,16 @@ export type MovieSearchParam = 'q' | 'imdbId' | 'tmdbId' | 'imdbTitle' | 'imdbYe
369
369
  export type MusicSearchParam = 'q' | 'album' | 'artist' | 'label' | 'year' | 'genre' | 'track';
370
370
  export type NotificationResource = {
371
371
  id?: number;
372
- name?: (string) | null;
372
+ name?: string | null;
373
373
  fields?: Array<Field> | null;
374
- implementationName?: (string) | null;
375
- implementation?: (string) | null;
376
- configContract?: (string) | null;
377
- infoLink?: (string) | null;
374
+ implementationName?: string | null;
375
+ implementation?: string | null;
376
+ configContract?: string | null;
377
+ infoLink?: string | null;
378
378
  message?: ProviderMessage;
379
- tags?: Array<(number)> | null;
379
+ tags?: Array<number> | null;
380
380
  presets?: Array<NotificationResource> | null;
381
- link?: (string) | null;
381
+ link?: string | null;
382
382
  onGrab?: boolean;
383
383
  onHealthIssue?: boolean;
384
384
  onHealthRestored?: boolean;
@@ -389,111 +389,111 @@ export type NotificationResource = {
389
389
  supportsOnHealthRestored?: boolean;
390
390
  includeHealthWarnings?: boolean;
391
391
  supportsOnApplicationUpdate?: boolean;
392
- testCommand?: (string) | null;
392
+ testCommand?: string | null;
393
393
  };
394
394
  export type PingResource = {
395
- status?: (string) | null;
395
+ status?: string | null;
396
396
  };
397
397
  export type PrivacyLevel = 'normal' | 'password' | 'apiKey' | 'userName';
398
398
  export type ProviderMessage = {
399
- message?: (string) | null;
399
+ message?: string | null;
400
400
  type?: ProviderMessageType;
401
401
  };
402
402
  export type ProviderMessageType = 'info' | 'warning' | 'error';
403
403
  export type ProxyType = 'http' | 'socks4' | 'socks5';
404
404
  export type ReleaseResource = {
405
405
  id?: number;
406
- guid?: (string) | null;
406
+ guid?: string | null;
407
407
  age?: number;
408
408
  ageHours?: number;
409
409
  ageMinutes?: number;
410
410
  size?: number;
411
- files?: (number) | null;
412
- grabs?: (number) | null;
411
+ files?: number | null;
412
+ grabs?: number | null;
413
413
  indexerId?: number;
414
- indexer?: (string) | null;
415
- subGroup?: (string) | null;
416
- releaseHash?: (string) | null;
417
- title?: (string) | null;
418
- sortTitle?: (string) | null;
414
+ indexer?: string | null;
415
+ subGroup?: string | null;
416
+ releaseHash?: string | null;
417
+ title?: string | null;
418
+ sortTitle?: string | null;
419
419
  imdbId?: number;
420
420
  tmdbId?: number;
421
421
  tvdbId?: number;
422
422
  tvMazeId?: number;
423
423
  publishDate?: string;
424
- commentUrl?: (string) | null;
425
- downloadUrl?: (string) | null;
426
- infoUrl?: (string) | null;
427
- posterUrl?: (string) | null;
428
- indexerFlags?: Array<(string)> | null;
424
+ commentUrl?: string | null;
425
+ downloadUrl?: string | null;
426
+ infoUrl?: string | null;
427
+ posterUrl?: string | null;
428
+ indexerFlags?: Array<string> | null;
429
429
  categories?: Array<IndexerCategory> | null;
430
- magnetUrl?: (string) | null;
431
- infoHash?: (string) | null;
432
- seeders?: (number) | null;
433
- leechers?: (number) | null;
430
+ magnetUrl?: string | null;
431
+ infoHash?: string | null;
432
+ seeders?: number | null;
433
+ leechers?: number | null;
434
434
  protocol?: DownloadProtocol;
435
- readonly fileName?: (string) | null;
436
- downloadClientId?: (number) | null;
435
+ readonly fileName?: string | null;
436
+ downloadClientId?: number | null;
437
437
  };
438
438
  export type RuntimeMode = 'console' | 'service' | 'tray';
439
439
  export type SearchParam = 'q';
440
440
  export type SelectOption = {
441
441
  value?: number;
442
- name?: (string) | null;
442
+ name?: string | null;
443
443
  order?: number;
444
- hint?: (string) | null;
445
- parentValue?: (number) | null;
444
+ hint?: string | null;
445
+ parentValue?: number | null;
446
446
  };
447
447
  export type SortDirection = 'default' | 'ascending' | 'descending';
448
448
  export type SystemResource = {
449
- appName?: (string) | null;
450
- instanceName?: (string) | null;
451
- version?: (string) | null;
449
+ appName?: string | null;
450
+ instanceName?: string | null;
451
+ version?: string | null;
452
452
  buildTime?: string;
453
453
  isDebug?: boolean;
454
454
  isProduction?: boolean;
455
455
  isAdmin?: boolean;
456
456
  isUserInteractive?: boolean;
457
- startupPath?: (string) | null;
458
- appData?: (string) | null;
459
- osName?: (string) | null;
460
- osVersion?: (string) | null;
457
+ startupPath?: string | null;
458
+ appData?: string | null;
459
+ osName?: string | null;
460
+ osVersion?: string | null;
461
461
  isNetCore?: boolean;
462
462
  isLinux?: boolean;
463
463
  isOsx?: boolean;
464
464
  isWindows?: boolean;
465
465
  isDocker?: boolean;
466
466
  mode?: RuntimeMode;
467
- branch?: (string) | null;
467
+ branch?: string | null;
468
468
  databaseType?: DatabaseType;
469
- databaseVersion?: (string) | null;
469
+ databaseVersion?: string | null;
470
470
  authentication?: AuthenticationType;
471
471
  migrationVersion?: number;
472
- urlBase?: (string) | null;
473
- runtimeVersion?: (string) | null;
474
- runtimeName?: (string) | null;
472
+ urlBase?: string | null;
473
+ runtimeVersion?: string | null;
474
+ runtimeName?: string | null;
475
475
  startTime?: string;
476
- packageVersion?: (string) | null;
477
- packageAuthor?: (string) | null;
476
+ packageVersion?: string | null;
477
+ packageAuthor?: string | null;
478
478
  packageUpdateMechanism?: UpdateMechanism;
479
- packageUpdateMechanismMessage?: (string) | null;
479
+ packageUpdateMechanismMessage?: string | null;
480
480
  };
481
481
  export type TagDetailsResource = {
482
482
  id?: number;
483
- label?: (string) | null;
484
- notificationIds?: Array<(number)> | null;
485
- indexerIds?: Array<(number)> | null;
486
- indexerProxyIds?: Array<(number)> | null;
487
- applicationIds?: Array<(number)> | null;
483
+ label?: string | null;
484
+ notificationIds?: Array<number> | null;
485
+ indexerIds?: Array<number> | null;
486
+ indexerProxyIds?: Array<number> | null;
487
+ applicationIds?: Array<number> | null;
488
488
  };
489
489
  export type TagResource = {
490
490
  id?: number;
491
- label?: (string) | null;
491
+ label?: string | null;
492
492
  };
493
493
  export type TaskResource = {
494
494
  id?: number;
495
- name?: (string) | null;
496
- taskName?: (string) | null;
495
+ name?: string | null;
496
+ taskName?: string | null;
497
497
  interval?: number;
498
498
  lastExecution?: string;
499
499
  lastStartTime?: string;
@@ -504,48 +504,136 @@ export type TvSearchParam = 'q' | 'season' | 'ep' | 'imdbId' | 'tvdbId' | 'rId'
504
504
  export type UiConfigResource = {
505
505
  id?: number;
506
506
  firstDayOfWeek?: number;
507
- calendarWeekColumnHeader?: (string) | null;
508
- shortDateFormat?: (string) | null;
509
- longDateFormat?: (string) | null;
510
- timeFormat?: (string) | null;
507
+ calendarWeekColumnHeader?: string | null;
508
+ shortDateFormat?: string | null;
509
+ longDateFormat?: string | null;
510
+ timeFormat?: string | null;
511
511
  showRelativeDates?: boolean;
512
512
  enableColorImpairedMode?: boolean;
513
- uiLanguage?: (string) | null;
514
- theme?: (string) | null;
513
+ uiLanguage?: string | null;
514
+ theme?: string | null;
515
515
  };
516
516
  export type UpdateChanges = {
517
- new?: Array<(string)> | null;
518
- fixed?: Array<(string)> | null;
517
+ new?: Array<string> | null;
518
+ fixed?: Array<string> | null;
519
519
  };
520
520
  export type UpdateMechanism = 'builtIn' | 'script' | 'external' | 'apt' | 'docker';
521
521
  export type UpdateResource = {
522
522
  id?: number;
523
- version?: (string) | null;
524
- branch?: (string) | null;
523
+ version?: string | null;
524
+ branch?: string | null;
525
525
  releaseDate?: string;
526
- fileName?: (string) | null;
527
- url?: (string) | null;
526
+ fileName?: string | null;
527
+ url?: string | null;
528
528
  installed?: boolean;
529
- installedOn?: (string) | null;
529
+ installedOn?: string | null;
530
530
  installable?: boolean;
531
531
  latest?: boolean;
532
532
  changes?: UpdateChanges;
533
- hash?: (string) | null;
533
+ hash?: string | null;
534
534
  };
535
535
  export type UserAgentStatistics = {
536
- userAgent?: (string) | null;
536
+ userAgent?: string | null;
537
537
  numberOfQueries?: number;
538
538
  numberOfGrabs?: number;
539
539
  };
540
- export type GetApiResponse = (ApiInfoResource);
541
- export type GetApiError = unknown;
540
+ export type CommandWritable = {
541
+ sendUpdatesToClient?: boolean;
542
+ lastExecutionTime?: string | null;
543
+ lastStartTime?: string | null;
544
+ trigger?: CommandTrigger;
545
+ suppressMessages?: boolean;
546
+ clientUserAgent?: string | null;
547
+ };
548
+ export type IndexerCategoryWritable = {
549
+ id?: number;
550
+ name?: string | null;
551
+ description?: string | null;
552
+ };
553
+ export type ReleaseResourceWritable = {
554
+ id?: number;
555
+ guid?: string | null;
556
+ age?: number;
557
+ ageHours?: number;
558
+ ageMinutes?: number;
559
+ size?: number;
560
+ files?: number | null;
561
+ grabs?: number | null;
562
+ indexerId?: number;
563
+ indexer?: string | null;
564
+ subGroup?: string | null;
565
+ releaseHash?: string | null;
566
+ title?: string | null;
567
+ sortTitle?: string | null;
568
+ imdbId?: number;
569
+ tmdbId?: number;
570
+ tvdbId?: number;
571
+ tvMazeId?: number;
572
+ publishDate?: string;
573
+ commentUrl?: string | null;
574
+ downloadUrl?: string | null;
575
+ infoUrl?: string | null;
576
+ posterUrl?: string | null;
577
+ indexerFlags?: Array<string> | null;
578
+ categories?: Array<IndexerCategoryWritable> | null;
579
+ magnetUrl?: string | null;
580
+ infoHash?: string | null;
581
+ seeders?: number | null;
582
+ leechers?: number | null;
583
+ protocol?: DownloadProtocol;
584
+ downloadClientId?: number | null;
585
+ };
586
+ export type TaskResourceWritable = {
587
+ id?: number;
588
+ name?: string | null;
589
+ taskName?: string | null;
590
+ interval?: number;
591
+ lastExecution?: string;
592
+ lastStartTime?: string;
593
+ nextExecution?: string;
594
+ };
595
+ export type GetApiData = {
596
+ body?: never;
597
+ path?: never;
598
+ query?: never;
599
+ url: '/api';
600
+ };
601
+ export type GetApiResponses = {
602
+ /**
603
+ * OK
604
+ */
605
+ 200: ApiInfoResource;
606
+ };
607
+ export type GetApiResponse = GetApiResponses[keyof GetApiResponses];
608
+ export type DeleteApiV1ApplicationsByIdData = {
609
+ body?: never;
610
+ path: {
611
+ id: number;
612
+ };
613
+ query?: never;
614
+ url: '/api/v1/applications/{id}';
615
+ };
616
+ export type DeleteApiV1ApplicationsByIdResponses = {
617
+ /**
618
+ * OK
619
+ */
620
+ 200: unknown;
621
+ };
542
622
  export type GetApiV1ApplicationsByIdData = {
623
+ body?: never;
543
624
  path: {
544
625
  id: number;
545
626
  };
627
+ query?: never;
628
+ url: '/api/v1/applications/{id}';
629
+ };
630
+ export type GetApiV1ApplicationsByIdResponses = {
631
+ /**
632
+ * OK
633
+ */
634
+ 200: ApplicationResource;
546
635
  };
547
- export type GetApiV1ApplicationsByIdResponse = (ApplicationResource);
548
- export type GetApiV1ApplicationsByIdError = unknown;
636
+ export type GetApiV1ApplicationsByIdResponse = GetApiV1ApplicationsByIdResponses[keyof GetApiV1ApplicationsByIdResponses];
549
637
  export type PutApiV1ApplicationsByIdData = {
550
638
  body?: ApplicationResource;
551
639
  path: {
@@ -554,197 +642,509 @@ export type PutApiV1ApplicationsByIdData = {
554
642
  query?: {
555
643
  forceSave?: boolean;
556
644
  };
645
+ url: '/api/v1/applications/{id}';
557
646
  };
558
- export type PutApiV1ApplicationsByIdResponse = (ApplicationResource);
559
- export type PutApiV1ApplicationsByIdError = unknown;
560
- export type DeleteApiV1ApplicationsByIdData = {
561
- path: {
562
- id: number;
563
- };
647
+ export type PutApiV1ApplicationsByIdResponses = {
648
+ /**
649
+ * OK
650
+ */
651
+ 200: ApplicationResource;
652
+ };
653
+ export type PutApiV1ApplicationsByIdResponse = PutApiV1ApplicationsByIdResponses[keyof PutApiV1ApplicationsByIdResponses];
654
+ export type GetApiV1ApplicationsData = {
655
+ body?: never;
656
+ path?: never;
657
+ query?: never;
658
+ url: '/api/v1/applications';
659
+ };
660
+ export type GetApiV1ApplicationsResponses = {
661
+ /**
662
+ * OK
663
+ */
664
+ 200: Array<ApplicationResource>;
564
665
  };
565
- export type DeleteApiV1ApplicationsByIdResponse = (unknown);
566
- export type DeleteApiV1ApplicationsByIdError = unknown;
567
- export type GetApiV1ApplicationsResponse = (Array<ApplicationResource>);
568
- export type GetApiV1ApplicationsError = unknown;
666
+ export type GetApiV1ApplicationsResponse = GetApiV1ApplicationsResponses[keyof GetApiV1ApplicationsResponses];
569
667
  export type PostApiV1ApplicationsData = {
570
668
  body?: ApplicationResource;
669
+ path?: never;
571
670
  query?: {
572
671
  forceSave?: boolean;
573
672
  };
673
+ url: '/api/v1/applications';
574
674
  };
575
- export type PostApiV1ApplicationsResponse = (ApplicationResource);
576
- export type PostApiV1ApplicationsError = unknown;
577
- export type PutApiV1ApplicationsBulkData = {
578
- body?: ApplicationBulkResource;
675
+ export type PostApiV1ApplicationsResponses = {
676
+ /**
677
+ * OK
678
+ */
679
+ 200: ApplicationResource;
579
680
  };
580
- export type PutApiV1ApplicationsBulkResponse = (ApplicationResource);
581
- export type PutApiV1ApplicationsBulkError = unknown;
681
+ export type PostApiV1ApplicationsResponse = PostApiV1ApplicationsResponses[keyof PostApiV1ApplicationsResponses];
582
682
  export type DeleteApiV1ApplicationsBulkData = {
583
683
  body?: ApplicationBulkResource;
684
+ path?: never;
685
+ query?: never;
686
+ url: '/api/v1/applications/bulk';
584
687
  };
585
- export type DeleteApiV1ApplicationsBulkResponse = (unknown);
586
- export type DeleteApiV1ApplicationsBulkError = unknown;
587
- export type GetApiV1ApplicationsSchemaResponse = (Array<ApplicationResource>);
588
- export type GetApiV1ApplicationsSchemaError = unknown;
688
+ export type DeleteApiV1ApplicationsBulkResponses = {
689
+ /**
690
+ * OK
691
+ */
692
+ 200: unknown;
693
+ };
694
+ export type PutApiV1ApplicationsBulkData = {
695
+ body?: ApplicationBulkResource;
696
+ path?: never;
697
+ query?: never;
698
+ url: '/api/v1/applications/bulk';
699
+ };
700
+ export type PutApiV1ApplicationsBulkResponses = {
701
+ /**
702
+ * OK
703
+ */
704
+ 200: ApplicationResource;
705
+ };
706
+ export type PutApiV1ApplicationsBulkResponse = PutApiV1ApplicationsBulkResponses[keyof PutApiV1ApplicationsBulkResponses];
707
+ export type GetApiV1ApplicationsSchemaData = {
708
+ body?: never;
709
+ path?: never;
710
+ query?: never;
711
+ url: '/api/v1/applications/schema';
712
+ };
713
+ export type GetApiV1ApplicationsSchemaResponses = {
714
+ /**
715
+ * OK
716
+ */
717
+ 200: Array<ApplicationResource>;
718
+ };
719
+ export type GetApiV1ApplicationsSchemaResponse = GetApiV1ApplicationsSchemaResponses[keyof GetApiV1ApplicationsSchemaResponses];
589
720
  export type PostApiV1ApplicationsTestData = {
590
721
  body?: ApplicationResource;
722
+ path?: never;
591
723
  query?: {
592
724
  forceTest?: boolean;
593
725
  };
726
+ url: '/api/v1/applications/test';
727
+ };
728
+ export type PostApiV1ApplicationsTestResponses = {
729
+ /**
730
+ * OK
731
+ */
732
+ 200: unknown;
733
+ };
734
+ export type PostApiV1ApplicationsTestallData = {
735
+ body?: never;
736
+ path?: never;
737
+ query?: never;
738
+ url: '/api/v1/applications/testall';
739
+ };
740
+ export type PostApiV1ApplicationsTestallResponses = {
741
+ /**
742
+ * OK
743
+ */
744
+ 200: unknown;
594
745
  };
595
- export type PostApiV1ApplicationsTestResponse = (unknown);
596
- export type PostApiV1ApplicationsTestError = unknown;
597
- export type PostApiV1ApplicationsTestallResponse = (unknown);
598
- export type PostApiV1ApplicationsTestallError = unknown;
599
746
  export type PostApiV1ApplicationsActionByNameData = {
600
747
  body?: ApplicationResource;
601
748
  path: {
602
749
  name: string;
603
750
  };
751
+ query?: never;
752
+ url: '/api/v1/applications/action/{name}';
604
753
  };
605
- export type PostApiV1ApplicationsActionByNameResponse = (unknown);
606
- export type PostApiV1ApplicationsActionByNameError = unknown;
754
+ export type PostApiV1ApplicationsActionByNameResponses = {
755
+ /**
756
+ * OK
757
+ */
758
+ 200: unknown;
759
+ };
760
+ export type GetApiV1AppprofileData = {
761
+ body?: never;
762
+ path?: never;
763
+ query?: never;
764
+ url: '/api/v1/appprofile';
765
+ };
766
+ export type GetApiV1AppprofileResponses = {
767
+ /**
768
+ * OK
769
+ */
770
+ 200: Array<AppProfileResource>;
771
+ };
772
+ export type GetApiV1AppprofileResponse = GetApiV1AppprofileResponses[keyof GetApiV1AppprofileResponses];
607
773
  export type PostApiV1AppprofileData = {
608
774
  body?: AppProfileResource;
775
+ path?: never;
776
+ query?: never;
777
+ url: '/api/v1/appprofile';
609
778
  };
610
- export type PostApiV1AppprofileResponse = (AppProfileResource);
611
- export type PostApiV1AppprofileError = unknown;
612
- export type GetApiV1AppprofileResponse = (Array<AppProfileResource>);
613
- export type GetApiV1AppprofileError = unknown;
779
+ export type PostApiV1AppprofileResponses = {
780
+ /**
781
+ * OK
782
+ */
783
+ 200: AppProfileResource;
784
+ };
785
+ export type PostApiV1AppprofileResponse = PostApiV1AppprofileResponses[keyof PostApiV1AppprofileResponses];
614
786
  export type DeleteApiV1AppprofileByIdData = {
787
+ body?: never;
615
788
  path: {
616
789
  id: number;
617
790
  };
791
+ query?: never;
792
+ url: '/api/v1/appprofile/{id}';
618
793
  };
619
- export type DeleteApiV1AppprofileByIdResponse = (unknown);
620
- export type DeleteApiV1AppprofileByIdError = unknown;
621
- export type PutApiV1AppprofileByIdData = {
622
- body?: AppProfileResource;
623
- path: {
624
- id: string;
625
- };
794
+ export type DeleteApiV1AppprofileByIdResponses = {
795
+ /**
796
+ * OK
797
+ */
798
+ 200: unknown;
626
799
  };
627
- export type PutApiV1AppprofileByIdResponse = (AppProfileResource);
628
- export type PutApiV1AppprofileByIdError = unknown;
629
800
  export type GetApiV1AppprofileByIdData = {
801
+ body?: never;
630
802
  path: {
631
803
  id: number;
632
804
  };
805
+ query?: never;
806
+ url: '/api/v1/appprofile/{id}';
807
+ };
808
+ export type GetApiV1AppprofileByIdErrors = {
809
+ /**
810
+ * Not Found
811
+ */
812
+ 404: {
813
+ [key: string]: string;
814
+ };
815
+ /**
816
+ * Internal Server Error
817
+ */
818
+ 500: unknown;
819
+ };
820
+ export type GetApiV1AppprofileByIdError = GetApiV1AppprofileByIdErrors[keyof GetApiV1AppprofileByIdErrors];
821
+ export type GetApiV1AppprofileByIdResponses = {
822
+ /**
823
+ * OK
824
+ */
825
+ 200: AppProfileResource;
826
+ };
827
+ export type GetApiV1AppprofileByIdResponse = GetApiV1AppprofileByIdResponses[keyof GetApiV1AppprofileByIdResponses];
828
+ export type PutApiV1AppprofileByIdData = {
829
+ body?: AppProfileResource;
830
+ path: {
831
+ id: string;
832
+ };
833
+ query?: never;
834
+ url: '/api/v1/appprofile/{id}';
835
+ };
836
+ export type PutApiV1AppprofileByIdResponses = {
837
+ /**
838
+ * OK
839
+ */
840
+ 200: AppProfileResource;
841
+ };
842
+ export type PutApiV1AppprofileByIdResponse = PutApiV1AppprofileByIdResponses[keyof PutApiV1AppprofileByIdResponses];
843
+ export type GetApiV1AppprofileSchemaData = {
844
+ body?: never;
845
+ path?: never;
846
+ query?: never;
847
+ url: '/api/v1/appprofile/schema';
848
+ };
849
+ export type GetApiV1AppprofileSchemaResponses = {
850
+ /**
851
+ * OK
852
+ */
853
+ 200: AppProfileResource;
854
+ };
855
+ export type GetApiV1AppprofileSchemaResponse = GetApiV1AppprofileSchemaResponses[keyof GetApiV1AppprofileSchemaResponses];
856
+ export type GetLoginData = {
857
+ body?: never;
858
+ path?: never;
859
+ query?: never;
860
+ url: '/login';
861
+ };
862
+ export type GetLoginResponses = {
863
+ /**
864
+ * OK
865
+ */
866
+ 200: unknown;
633
867
  };
634
- export type GetApiV1AppprofileByIdResponse = (AppProfileResource);
635
- export type GetApiV1AppprofileByIdError = ({
636
- [key: string]: (string);
637
- } | unknown);
638
- export type GetApiV1AppprofileSchemaResponse = (AppProfileResource);
639
- export type GetApiV1AppprofileSchemaError = unknown;
640
868
  export type PostLoginData = {
641
869
  body?: {
642
870
  username?: string;
643
871
  password?: string;
644
872
  rememberMe?: string;
645
873
  };
874
+ path?: never;
646
875
  query?: {
647
876
  returnUrl?: string;
648
877
  };
649
- };
650
- export type PostLoginResponse = (unknown);
651
- export type PostLoginError = unknown;
652
- export type GetLoginResponse = (unknown);
653
- export type GetLoginError = unknown;
654
- export type GetLogoutResponse = (unknown);
655
- export type GetLogoutError = unknown;
656
- export type GetApiV1SystemBackupResponse = (Array<BackupResource>);
657
- export type GetApiV1SystemBackupError = unknown;
878
+ url: '/login';
879
+ };
880
+ export type PostLoginResponses = {
881
+ /**
882
+ * OK
883
+ */
884
+ 200: unknown;
885
+ };
886
+ export type GetLogoutData = {
887
+ body?: never;
888
+ path?: never;
889
+ query?: never;
890
+ url: '/logout';
891
+ };
892
+ export type GetLogoutResponses = {
893
+ /**
894
+ * OK
895
+ */
896
+ 200: unknown;
897
+ };
898
+ export type GetApiV1SystemBackupData = {
899
+ body?: never;
900
+ path?: never;
901
+ query?: never;
902
+ url: '/api/v1/system/backup';
903
+ };
904
+ export type GetApiV1SystemBackupResponses = {
905
+ /**
906
+ * OK
907
+ */
908
+ 200: Array<BackupResource>;
909
+ };
910
+ export type GetApiV1SystemBackupResponse = GetApiV1SystemBackupResponses[keyof GetApiV1SystemBackupResponses];
658
911
  export type DeleteApiV1SystemBackupByIdData = {
912
+ body?: never;
659
913
  path: {
660
914
  id: number;
661
915
  };
916
+ query?: never;
917
+ url: '/api/v1/system/backup/{id}';
918
+ };
919
+ export type DeleteApiV1SystemBackupByIdResponses = {
920
+ /**
921
+ * OK
922
+ */
923
+ 200: unknown;
662
924
  };
663
- export type DeleteApiV1SystemBackupByIdResponse = (unknown);
664
- export type DeleteApiV1SystemBackupByIdError = unknown;
665
925
  export type PostApiV1SystemBackupRestoreByIdData = {
926
+ body?: never;
666
927
  path: {
667
928
  id: number;
668
929
  };
930
+ query?: never;
931
+ url: '/api/v1/system/backup/restore/{id}';
669
932
  };
670
- export type PostApiV1SystemBackupRestoreByIdResponse = (unknown);
671
- export type PostApiV1SystemBackupRestoreByIdError = unknown;
672
- export type PostApiV1SystemBackupRestoreUploadResponse = (unknown);
673
- export type PostApiV1SystemBackupRestoreUploadError = unknown;
674
- export type GetApiV1CommandByIdData = {
933
+ export type PostApiV1SystemBackupRestoreByIdResponses = {
934
+ /**
935
+ * OK
936
+ */
937
+ 200: unknown;
938
+ };
939
+ export type PostApiV1SystemBackupRestoreUploadData = {
940
+ body?: never;
941
+ path?: never;
942
+ query?: never;
943
+ url: '/api/v1/system/backup/restore/upload';
944
+ };
945
+ export type PostApiV1SystemBackupRestoreUploadResponses = {
946
+ /**
947
+ * OK
948
+ */
949
+ 200: unknown;
950
+ };
951
+ export type DeleteApiV1CommandByIdData = {
952
+ body?: never;
675
953
  path: {
676
954
  id: number;
677
955
  };
956
+ query?: never;
957
+ url: '/api/v1/command/{id}';
678
958
  };
679
- export type GetApiV1CommandByIdResponse = (CommandResource);
680
- export type GetApiV1CommandByIdError = unknown;
681
- export type DeleteApiV1CommandByIdData = {
959
+ export type DeleteApiV1CommandByIdResponses = {
960
+ /**
961
+ * OK
962
+ */
963
+ 200: unknown;
964
+ };
965
+ export type GetApiV1CommandByIdData = {
966
+ body?: never;
682
967
  path: {
683
968
  id: number;
684
969
  };
685
- };
686
- export type DeleteApiV1CommandByIdResponse = (unknown);
687
- export type DeleteApiV1CommandByIdError = unknown;
970
+ query?: never;
971
+ url: '/api/v1/command/{id}';
972
+ };
973
+ export type GetApiV1CommandByIdResponses = {
974
+ /**
975
+ * OK
976
+ */
977
+ 200: CommandResource;
978
+ };
979
+ export type GetApiV1CommandByIdResponse = GetApiV1CommandByIdResponses[keyof GetApiV1CommandByIdResponses];
980
+ export type GetApiV1CommandData = {
981
+ body?: never;
982
+ path?: never;
983
+ query?: never;
984
+ url: '/api/v1/command';
985
+ };
986
+ export type GetApiV1CommandResponses = {
987
+ /**
988
+ * OK
989
+ */
990
+ 200: Array<CommandResource>;
991
+ };
992
+ export type GetApiV1CommandResponse = GetApiV1CommandResponses[keyof GetApiV1CommandResponses];
688
993
  export type PostApiV1CommandData = {
689
994
  body?: CommandResource;
995
+ path?: never;
996
+ query?: never;
997
+ url: '/api/v1/command';
998
+ };
999
+ export type PostApiV1CommandResponses = {
1000
+ /**
1001
+ * OK
1002
+ */
1003
+ 200: CommandResource;
1004
+ };
1005
+ export type PostApiV1CommandResponse = PostApiV1CommandResponses[keyof PostApiV1CommandResponses];
1006
+ export type DeleteApiV1CustomfilterByIdData = {
1007
+ body?: never;
1008
+ path: {
1009
+ id: number;
1010
+ };
1011
+ query?: never;
1012
+ url: '/api/v1/customfilter/{id}';
1013
+ };
1014
+ export type DeleteApiV1CustomfilterByIdResponses = {
1015
+ /**
1016
+ * OK
1017
+ */
1018
+ 200: unknown;
690
1019
  };
691
- export type PostApiV1CommandResponse = (CommandResource);
692
- export type PostApiV1CommandError = unknown;
693
- export type GetApiV1CommandResponse = (Array<CommandResource>);
694
- export type GetApiV1CommandError = unknown;
695
1020
  export type GetApiV1CustomfilterByIdData = {
1021
+ body?: never;
696
1022
  path: {
697
1023
  id: number;
698
1024
  };
1025
+ query?: never;
1026
+ url: '/api/v1/customfilter/{id}';
1027
+ };
1028
+ export type GetApiV1CustomfilterByIdResponses = {
1029
+ /**
1030
+ * OK
1031
+ */
1032
+ 200: CustomFilterResource;
699
1033
  };
700
- export type GetApiV1CustomfilterByIdResponse = (CustomFilterResource);
701
- export type GetApiV1CustomfilterByIdError = unknown;
1034
+ export type GetApiV1CustomfilterByIdResponse = GetApiV1CustomfilterByIdResponses[keyof GetApiV1CustomfilterByIdResponses];
702
1035
  export type PutApiV1CustomfilterByIdData = {
703
1036
  body?: CustomFilterResource;
704
1037
  path: {
705
1038
  id: string;
706
1039
  };
1040
+ query?: never;
1041
+ url: '/api/v1/customfilter/{id}';
1042
+ };
1043
+ export type PutApiV1CustomfilterByIdResponses = {
1044
+ /**
1045
+ * OK
1046
+ */
1047
+ 200: CustomFilterResource;
1048
+ };
1049
+ export type PutApiV1CustomfilterByIdResponse = PutApiV1CustomfilterByIdResponses[keyof PutApiV1CustomfilterByIdResponses];
1050
+ export type GetApiV1CustomfilterData = {
1051
+ body?: never;
1052
+ path?: never;
1053
+ query?: never;
1054
+ url: '/api/v1/customfilter';
1055
+ };
1056
+ export type GetApiV1CustomfilterResponses = {
1057
+ /**
1058
+ * OK
1059
+ */
1060
+ 200: Array<CustomFilterResource>;
1061
+ };
1062
+ export type GetApiV1CustomfilterResponse = GetApiV1CustomfilterResponses[keyof GetApiV1CustomfilterResponses];
1063
+ export type PostApiV1CustomfilterData = {
1064
+ body?: CustomFilterResource;
1065
+ path?: never;
1066
+ query?: never;
1067
+ url: '/api/v1/customfilter';
707
1068
  };
708
- export type PutApiV1CustomfilterByIdResponse = (CustomFilterResource);
709
- export type PutApiV1CustomfilterByIdError = unknown;
710
- export type DeleteApiV1CustomfilterByIdData = {
1069
+ export type PostApiV1CustomfilterResponses = {
1070
+ /**
1071
+ * OK
1072
+ */
1073
+ 200: CustomFilterResource;
1074
+ };
1075
+ export type PostApiV1CustomfilterResponse = PostApiV1CustomfilterResponses[keyof PostApiV1CustomfilterResponses];
1076
+ export type GetApiV1ConfigDevelopmentByIdData = {
1077
+ body?: never;
711
1078
  path: {
712
1079
  id: number;
713
1080
  };
1081
+ query?: never;
1082
+ url: '/api/v1/config/development/{id}';
714
1083
  };
715
- export type DeleteApiV1CustomfilterByIdResponse = (unknown);
716
- export type DeleteApiV1CustomfilterByIdError = unknown;
717
- export type GetApiV1CustomfilterResponse = (Array<CustomFilterResource>);
718
- export type GetApiV1CustomfilterError = unknown;
719
- export type PostApiV1CustomfilterData = {
720
- body?: CustomFilterResource;
1084
+ export type GetApiV1ConfigDevelopmentByIdResponses = {
1085
+ /**
1086
+ * OK
1087
+ */
1088
+ 200: DevelopmentConfigResource;
721
1089
  };
722
- export type PostApiV1CustomfilterResponse = (CustomFilterResource);
723
- export type PostApiV1CustomfilterError = unknown;
1090
+ export type GetApiV1ConfigDevelopmentByIdResponse = GetApiV1ConfigDevelopmentByIdResponses[keyof GetApiV1ConfigDevelopmentByIdResponses];
724
1091
  export type PutApiV1ConfigDevelopmentByIdData = {
725
1092
  body?: DevelopmentConfigResource;
726
1093
  path: {
727
1094
  id: string;
728
1095
  };
729
- };
730
- export type PutApiV1ConfigDevelopmentByIdResponse = (DevelopmentConfigResource);
731
- export type PutApiV1ConfigDevelopmentByIdError = unknown;
732
- export type GetApiV1ConfigDevelopmentByIdData = {
1096
+ query?: never;
1097
+ url: '/api/v1/config/development/{id}';
1098
+ };
1099
+ export type PutApiV1ConfigDevelopmentByIdResponses = {
1100
+ /**
1101
+ * OK
1102
+ */
1103
+ 200: DevelopmentConfigResource;
1104
+ };
1105
+ export type PutApiV1ConfigDevelopmentByIdResponse = PutApiV1ConfigDevelopmentByIdResponses[keyof PutApiV1ConfigDevelopmentByIdResponses];
1106
+ export type GetApiV1ConfigDevelopmentData = {
1107
+ body?: never;
1108
+ path?: never;
1109
+ query?: never;
1110
+ url: '/api/v1/config/development';
1111
+ };
1112
+ export type GetApiV1ConfigDevelopmentResponses = {
1113
+ /**
1114
+ * OK
1115
+ */
1116
+ 200: DevelopmentConfigResource;
1117
+ };
1118
+ export type GetApiV1ConfigDevelopmentResponse = GetApiV1ConfigDevelopmentResponses[keyof GetApiV1ConfigDevelopmentResponses];
1119
+ export type DeleteApiV1DownloadclientByIdData = {
1120
+ body?: never;
733
1121
  path: {
734
1122
  id: number;
735
1123
  };
1124
+ query?: never;
1125
+ url: '/api/v1/downloadclient/{id}';
1126
+ };
1127
+ export type DeleteApiV1DownloadclientByIdResponses = {
1128
+ /**
1129
+ * OK
1130
+ */
1131
+ 200: unknown;
736
1132
  };
737
- export type GetApiV1ConfigDevelopmentByIdResponse = (DevelopmentConfigResource);
738
- export type GetApiV1ConfigDevelopmentByIdError = unknown;
739
- export type GetApiV1ConfigDevelopmentResponse = (DevelopmentConfigResource);
740
- export type GetApiV1ConfigDevelopmentError = unknown;
741
1133
  export type GetApiV1DownloadclientByIdData = {
1134
+ body?: never;
742
1135
  path: {
743
1136
  id: number;
744
1137
  };
1138
+ query?: never;
1139
+ url: '/api/v1/downloadclient/{id}';
1140
+ };
1141
+ export type GetApiV1DownloadclientByIdResponses = {
1142
+ /**
1143
+ * OK
1144
+ */
1145
+ 200: DownloadClientResource;
745
1146
  };
746
- export type GetApiV1DownloadclientByIdResponse = (DownloadClientResource);
747
- export type GetApiV1DownloadclientByIdError = unknown;
1147
+ export type GetApiV1DownloadclientByIdResponse = GetApiV1DownloadclientByIdResponses[keyof GetApiV1DownloadclientByIdResponses];
748
1148
  export type PutApiV1DownloadclientByIdData = {
749
1149
  body?: DownloadClientResource;
750
1150
  path: {
@@ -753,146 +1153,334 @@ export type PutApiV1DownloadclientByIdData = {
753
1153
  query?: {
754
1154
  forceSave?: boolean;
755
1155
  };
1156
+ url: '/api/v1/downloadclient/{id}';
756
1157
  };
757
- export type PutApiV1DownloadclientByIdResponse = (DownloadClientResource);
758
- export type PutApiV1DownloadclientByIdError = unknown;
759
- export type DeleteApiV1DownloadclientByIdData = {
760
- path: {
761
- id: number;
762
- };
1158
+ export type PutApiV1DownloadclientByIdResponses = {
1159
+ /**
1160
+ * OK
1161
+ */
1162
+ 200: DownloadClientResource;
1163
+ };
1164
+ export type PutApiV1DownloadclientByIdResponse = PutApiV1DownloadclientByIdResponses[keyof PutApiV1DownloadclientByIdResponses];
1165
+ export type GetApiV1DownloadclientData = {
1166
+ body?: never;
1167
+ path?: never;
1168
+ query?: never;
1169
+ url: '/api/v1/downloadclient';
763
1170
  };
764
- export type DeleteApiV1DownloadclientByIdResponse = (unknown);
765
- export type DeleteApiV1DownloadclientByIdError = unknown;
766
- export type GetApiV1DownloadclientResponse = (Array<DownloadClientResource>);
767
- export type GetApiV1DownloadclientError = unknown;
1171
+ export type GetApiV1DownloadclientResponses = {
1172
+ /**
1173
+ * OK
1174
+ */
1175
+ 200: Array<DownloadClientResource>;
1176
+ };
1177
+ export type GetApiV1DownloadclientResponse = GetApiV1DownloadclientResponses[keyof GetApiV1DownloadclientResponses];
768
1178
  export type PostApiV1DownloadclientData = {
769
1179
  body?: DownloadClientResource;
1180
+ path?: never;
770
1181
  query?: {
771
1182
  forceSave?: boolean;
772
1183
  };
1184
+ url: '/api/v1/downloadclient';
773
1185
  };
774
- export type PostApiV1DownloadclientResponse = (DownloadClientResource);
775
- export type PostApiV1DownloadclientError = unknown;
776
- export type PutApiV1DownloadclientBulkData = {
777
- body?: DownloadClientBulkResource;
1186
+ export type PostApiV1DownloadclientResponses = {
1187
+ /**
1188
+ * OK
1189
+ */
1190
+ 200: DownloadClientResource;
778
1191
  };
779
- export type PutApiV1DownloadclientBulkResponse = (DownloadClientResource);
780
- export type PutApiV1DownloadclientBulkError = unknown;
1192
+ export type PostApiV1DownloadclientResponse = PostApiV1DownloadclientResponses[keyof PostApiV1DownloadclientResponses];
781
1193
  export type DeleteApiV1DownloadclientBulkData = {
782
1194
  body?: DownloadClientBulkResource;
1195
+ path?: never;
1196
+ query?: never;
1197
+ url: '/api/v1/downloadclient/bulk';
783
1198
  };
784
- export type DeleteApiV1DownloadclientBulkResponse = (unknown);
785
- export type DeleteApiV1DownloadclientBulkError = unknown;
786
- export type GetApiV1DownloadclientSchemaResponse = (Array<DownloadClientResource>);
787
- export type GetApiV1DownloadclientSchemaError = unknown;
1199
+ export type DeleteApiV1DownloadclientBulkResponses = {
1200
+ /**
1201
+ * OK
1202
+ */
1203
+ 200: unknown;
1204
+ };
1205
+ export type PutApiV1DownloadclientBulkData = {
1206
+ body?: DownloadClientBulkResource;
1207
+ path?: never;
1208
+ query?: never;
1209
+ url: '/api/v1/downloadclient/bulk';
1210
+ };
1211
+ export type PutApiV1DownloadclientBulkResponses = {
1212
+ /**
1213
+ * OK
1214
+ */
1215
+ 200: DownloadClientResource;
1216
+ };
1217
+ export type PutApiV1DownloadclientBulkResponse = PutApiV1DownloadclientBulkResponses[keyof PutApiV1DownloadclientBulkResponses];
1218
+ export type GetApiV1DownloadclientSchemaData = {
1219
+ body?: never;
1220
+ path?: never;
1221
+ query?: never;
1222
+ url: '/api/v1/downloadclient/schema';
1223
+ };
1224
+ export type GetApiV1DownloadclientSchemaResponses = {
1225
+ /**
1226
+ * OK
1227
+ */
1228
+ 200: Array<DownloadClientResource>;
1229
+ };
1230
+ export type GetApiV1DownloadclientSchemaResponse = GetApiV1DownloadclientSchemaResponses[keyof GetApiV1DownloadclientSchemaResponses];
788
1231
  export type PostApiV1DownloadclientTestData = {
789
1232
  body?: DownloadClientResource;
1233
+ path?: never;
790
1234
  query?: {
791
1235
  forceTest?: boolean;
792
1236
  };
1237
+ url: '/api/v1/downloadclient/test';
1238
+ };
1239
+ export type PostApiV1DownloadclientTestResponses = {
1240
+ /**
1241
+ * OK
1242
+ */
1243
+ 200: unknown;
1244
+ };
1245
+ export type PostApiV1DownloadclientTestallData = {
1246
+ body?: never;
1247
+ path?: never;
1248
+ query?: never;
1249
+ url: '/api/v1/downloadclient/testall';
1250
+ };
1251
+ export type PostApiV1DownloadclientTestallResponses = {
1252
+ /**
1253
+ * OK
1254
+ */
1255
+ 200: unknown;
793
1256
  };
794
- export type PostApiV1DownloadclientTestResponse = (unknown);
795
- export type PostApiV1DownloadclientTestError = unknown;
796
- export type PostApiV1DownloadclientTestallResponse = (unknown);
797
- export type PostApiV1DownloadclientTestallError = unknown;
798
1257
  export type PostApiV1DownloadclientActionByNameData = {
799
1258
  body?: DownloadClientResource;
800
1259
  path: {
801
1260
  name: string;
802
1261
  };
1262
+ query?: never;
1263
+ url: '/api/v1/downloadclient/action/{name}';
1264
+ };
1265
+ export type PostApiV1DownloadclientActionByNameResponses = {
1266
+ /**
1267
+ * OK
1268
+ */
1269
+ 200: unknown;
803
1270
  };
804
- export type PostApiV1DownloadclientActionByNameResponse = (unknown);
805
- export type PostApiV1DownloadclientActionByNameError = unknown;
806
1271
  export type GetApiV1ConfigDownloadclientByIdData = {
1272
+ body?: never;
807
1273
  path: {
808
1274
  id: number;
809
1275
  };
1276
+ query?: never;
1277
+ url: '/api/v1/config/downloadclient/{id}';
1278
+ };
1279
+ export type GetApiV1ConfigDownloadclientByIdResponses = {
1280
+ /**
1281
+ * OK
1282
+ */
1283
+ 200: DownloadClientConfigResource;
810
1284
  };
811
- export type GetApiV1ConfigDownloadclientByIdResponse = (DownloadClientConfigResource);
812
- export type GetApiV1ConfigDownloadclientByIdError = unknown;
1285
+ export type GetApiV1ConfigDownloadclientByIdResponse = GetApiV1ConfigDownloadclientByIdResponses[keyof GetApiV1ConfigDownloadclientByIdResponses];
813
1286
  export type PutApiV1ConfigDownloadclientByIdData = {
814
1287
  body?: DownloadClientConfigResource;
815
1288
  path: {
816
1289
  id: string;
817
1290
  };
818
- };
819
- export type PutApiV1ConfigDownloadclientByIdResponse = (DownloadClientConfigResource);
820
- export type PutApiV1ConfigDownloadclientByIdError = unknown;
821
- export type GetApiV1ConfigDownloadclientResponse = (DownloadClientConfigResource);
822
- export type GetApiV1ConfigDownloadclientError = unknown;
1291
+ query?: never;
1292
+ url: '/api/v1/config/downloadclient/{id}';
1293
+ };
1294
+ export type PutApiV1ConfigDownloadclientByIdResponses = {
1295
+ /**
1296
+ * OK
1297
+ */
1298
+ 200: DownloadClientConfigResource;
1299
+ };
1300
+ export type PutApiV1ConfigDownloadclientByIdResponse = PutApiV1ConfigDownloadclientByIdResponses[keyof PutApiV1ConfigDownloadclientByIdResponses];
1301
+ export type GetApiV1ConfigDownloadclientData = {
1302
+ body?: never;
1303
+ path?: never;
1304
+ query?: never;
1305
+ url: '/api/v1/config/downloadclient';
1306
+ };
1307
+ export type GetApiV1ConfigDownloadclientResponses = {
1308
+ /**
1309
+ * OK
1310
+ */
1311
+ 200: DownloadClientConfigResource;
1312
+ };
1313
+ export type GetApiV1ConfigDownloadclientResponse = GetApiV1ConfigDownloadclientResponses[keyof GetApiV1ConfigDownloadclientResponses];
823
1314
  export type GetApiV1FilesystemData = {
1315
+ body?: never;
1316
+ path?: never;
824
1317
  query?: {
825
- allowFoldersWithoutTrailingSlashes?: boolean;
826
- includeFiles?: boolean;
827
1318
  path?: string;
1319
+ includeFiles?: boolean;
1320
+ allowFoldersWithoutTrailingSlashes?: boolean;
828
1321
  };
1322
+ url: '/api/v1/filesystem';
1323
+ };
1324
+ export type GetApiV1FilesystemResponses = {
1325
+ /**
1326
+ * OK
1327
+ */
1328
+ 200: unknown;
829
1329
  };
830
- export type GetApiV1FilesystemResponse = (unknown);
831
- export type GetApiV1FilesystemError = unknown;
832
1330
  export type GetApiV1FilesystemTypeData = {
1331
+ body?: never;
1332
+ path?: never;
833
1333
  query?: {
834
1334
  path?: string;
835
1335
  };
1336
+ url: '/api/v1/filesystem/type';
836
1337
  };
837
- export type GetApiV1FilesystemTypeResponse = (unknown);
838
- export type GetApiV1FilesystemTypeError = unknown;
839
- export type GetApiV1HealthResponse = (Array<HealthResource>);
840
- export type GetApiV1HealthError = unknown;
1338
+ export type GetApiV1FilesystemTypeResponses = {
1339
+ /**
1340
+ * OK
1341
+ */
1342
+ 200: unknown;
1343
+ };
1344
+ export type GetApiV1HealthData = {
1345
+ body?: never;
1346
+ path?: never;
1347
+ query?: never;
1348
+ url: '/api/v1/health';
1349
+ };
1350
+ export type GetApiV1HealthResponses = {
1351
+ /**
1352
+ * OK
1353
+ */
1354
+ 200: Array<HealthResource>;
1355
+ };
1356
+ export type GetApiV1HealthResponse = GetApiV1HealthResponses[keyof GetApiV1HealthResponses];
841
1357
  export type GetApiV1HistoryData = {
1358
+ body?: never;
1359
+ path?: never;
842
1360
  query?: {
843
- downloadId?: string;
844
- eventType?: Array<(number)>;
845
- indexerIds?: Array<(number)>;
846
1361
  page?: number;
847
1362
  pageSize?: number;
848
- sortDirection?: SortDirection;
849
1363
  sortKey?: string;
1364
+ sortDirection?: SortDirection;
1365
+ eventType?: Array<number>;
850
1366
  successful?: boolean;
1367
+ downloadId?: string;
1368
+ indexerIds?: Array<number>;
851
1369
  };
1370
+ url: '/api/v1/history';
1371
+ };
1372
+ export type GetApiV1HistoryResponses = {
1373
+ /**
1374
+ * OK
1375
+ */
1376
+ 200: HistoryResourcePagingResource;
852
1377
  };
853
- export type GetApiV1HistoryResponse = (HistoryResourcePagingResource);
854
- export type GetApiV1HistoryError = unknown;
1378
+ export type GetApiV1HistoryResponse = GetApiV1HistoryResponses[keyof GetApiV1HistoryResponses];
855
1379
  export type GetApiV1HistorySinceData = {
1380
+ body?: never;
1381
+ path?: never;
856
1382
  query?: {
857
1383
  date?: string;
858
1384
  eventType?: HistoryEventType;
859
1385
  };
1386
+ url: '/api/v1/history/since';
860
1387
  };
861
- export type GetApiV1HistorySinceResponse = (Array<HistoryResource>);
862
- export type GetApiV1HistorySinceError = unknown;
1388
+ export type GetApiV1HistorySinceResponses = {
1389
+ /**
1390
+ * OK
1391
+ */
1392
+ 200: Array<HistoryResource>;
1393
+ };
1394
+ export type GetApiV1HistorySinceResponse = GetApiV1HistorySinceResponses[keyof GetApiV1HistorySinceResponses];
863
1395
  export type GetApiV1HistoryIndexerData = {
1396
+ body?: never;
1397
+ path?: never;
864
1398
  query?: {
865
- eventType?: HistoryEventType;
866
1399
  indexerId?: number;
1400
+ eventType?: HistoryEventType;
867
1401
  limit?: number;
868
1402
  };
1403
+ url: '/api/v1/history/indexer';
869
1404
  };
870
- export type GetApiV1HistoryIndexerResponse = (Array<HistoryResource>);
871
- export type GetApiV1HistoryIndexerError = unknown;
1405
+ export type GetApiV1HistoryIndexerResponses = {
1406
+ /**
1407
+ * OK
1408
+ */
1409
+ 200: Array<HistoryResource>;
1410
+ };
1411
+ export type GetApiV1HistoryIndexerResponse = GetApiV1HistoryIndexerResponses[keyof GetApiV1HistoryIndexerResponses];
872
1412
  export type GetApiV1ConfigHostByIdData = {
1413
+ body?: never;
873
1414
  path: {
874
1415
  id: number;
875
1416
  };
1417
+ query?: never;
1418
+ url: '/api/v1/config/host/{id}';
1419
+ };
1420
+ export type GetApiV1ConfigHostByIdResponses = {
1421
+ /**
1422
+ * OK
1423
+ */
1424
+ 200: HostConfigResource;
876
1425
  };
877
- export type GetApiV1ConfigHostByIdResponse = (HostConfigResource);
878
- export type GetApiV1ConfigHostByIdError = unknown;
1426
+ export type GetApiV1ConfigHostByIdResponse = GetApiV1ConfigHostByIdResponses[keyof GetApiV1ConfigHostByIdResponses];
879
1427
  export type PutApiV1ConfigHostByIdData = {
880
1428
  body?: HostConfigResource;
881
1429
  path: {
882
1430
  id: string;
883
1431
  };
1432
+ query?: never;
1433
+ url: '/api/v1/config/host/{id}';
1434
+ };
1435
+ export type PutApiV1ConfigHostByIdResponses = {
1436
+ /**
1437
+ * OK
1438
+ */
1439
+ 200: HostConfigResource;
1440
+ };
1441
+ export type PutApiV1ConfigHostByIdResponse = PutApiV1ConfigHostByIdResponses[keyof PutApiV1ConfigHostByIdResponses];
1442
+ export type GetApiV1ConfigHostData = {
1443
+ body?: never;
1444
+ path?: never;
1445
+ query?: never;
1446
+ url: '/api/v1/config/host';
1447
+ };
1448
+ export type GetApiV1ConfigHostResponses = {
1449
+ /**
1450
+ * OK
1451
+ */
1452
+ 200: HostConfigResource;
1453
+ };
1454
+ export type GetApiV1ConfigHostResponse = GetApiV1ConfigHostResponses[keyof GetApiV1ConfigHostResponses];
1455
+ export type DeleteApiV1IndexerByIdData = {
1456
+ body?: never;
1457
+ path: {
1458
+ id: number;
1459
+ };
1460
+ query?: never;
1461
+ url: '/api/v1/indexer/{id}';
1462
+ };
1463
+ export type DeleteApiV1IndexerByIdResponses = {
1464
+ /**
1465
+ * OK
1466
+ */
1467
+ 200: unknown;
884
1468
  };
885
- export type PutApiV1ConfigHostByIdResponse = (HostConfigResource);
886
- export type PutApiV1ConfigHostByIdError = unknown;
887
- export type GetApiV1ConfigHostResponse = (HostConfigResource);
888
- export type GetApiV1ConfigHostError = unknown;
889
1469
  export type GetApiV1IndexerByIdData = {
1470
+ body?: never;
890
1471
  path: {
891
1472
  id: number;
892
1473
  };
1474
+ query?: never;
1475
+ url: '/api/v1/indexer/{id}';
1476
+ };
1477
+ export type GetApiV1IndexerByIdResponses = {
1478
+ /**
1479
+ * OK
1480
+ */
1481
+ 200: IndexerResource;
893
1482
  };
894
- export type GetApiV1IndexerByIdResponse = (IndexerResource);
895
- export type GetApiV1IndexerByIdError = unknown;
1483
+ export type GetApiV1IndexerByIdResponse = GetApiV1IndexerByIdResponses[keyof GetApiV1IndexerByIdResponses];
896
1484
  export type PutApiV1IndexerByIdData = {
897
1485
  body?: IndexerResource;
898
1486
  path: {
@@ -901,65 +1489,163 @@ export type PutApiV1IndexerByIdData = {
901
1489
  query?: {
902
1490
  forceSave?: boolean;
903
1491
  };
1492
+ url: '/api/v1/indexer/{id}';
904
1493
  };
905
- export type PutApiV1IndexerByIdResponse = (IndexerResource);
906
- export type PutApiV1IndexerByIdError = unknown;
907
- export type DeleteApiV1IndexerByIdData = {
908
- path: {
909
- id: number;
910
- };
1494
+ export type PutApiV1IndexerByIdResponses = {
1495
+ /**
1496
+ * OK
1497
+ */
1498
+ 200: IndexerResource;
1499
+ };
1500
+ export type PutApiV1IndexerByIdResponse = PutApiV1IndexerByIdResponses[keyof PutApiV1IndexerByIdResponses];
1501
+ export type GetApiV1IndexerData = {
1502
+ body?: never;
1503
+ path?: never;
1504
+ query?: never;
1505
+ url: '/api/v1/indexer';
1506
+ };
1507
+ export type GetApiV1IndexerResponses = {
1508
+ /**
1509
+ * OK
1510
+ */
1511
+ 200: Array<IndexerResource>;
911
1512
  };
912
- export type DeleteApiV1IndexerByIdResponse = (unknown);
913
- export type DeleteApiV1IndexerByIdError = unknown;
914
- export type GetApiV1IndexerResponse = (Array<IndexerResource>);
915
- export type GetApiV1IndexerError = unknown;
1513
+ export type GetApiV1IndexerResponse = GetApiV1IndexerResponses[keyof GetApiV1IndexerResponses];
916
1514
  export type PostApiV1IndexerData = {
917
1515
  body?: IndexerResource;
1516
+ path?: never;
918
1517
  query?: {
919
1518
  forceSave?: boolean;
920
1519
  };
1520
+ url: '/api/v1/indexer';
921
1521
  };
922
- export type PostApiV1IndexerResponse = (IndexerResource);
923
- export type PostApiV1IndexerError = unknown;
924
- export type PutApiV1IndexerBulkData = {
925
- body?: IndexerBulkResource;
1522
+ export type PostApiV1IndexerResponses = {
1523
+ /**
1524
+ * OK
1525
+ */
1526
+ 200: IndexerResource;
926
1527
  };
927
- export type PutApiV1IndexerBulkResponse = (IndexerResource);
928
- export type PutApiV1IndexerBulkError = unknown;
1528
+ export type PostApiV1IndexerResponse = PostApiV1IndexerResponses[keyof PostApiV1IndexerResponses];
929
1529
  export type DeleteApiV1IndexerBulkData = {
930
1530
  body?: IndexerBulkResource;
1531
+ path?: never;
1532
+ query?: never;
1533
+ url: '/api/v1/indexer/bulk';
931
1534
  };
932
- export type DeleteApiV1IndexerBulkResponse = (unknown);
933
- export type DeleteApiV1IndexerBulkError = unknown;
934
- export type GetApiV1IndexerSchemaResponse = (Array<IndexerResource>);
935
- export type GetApiV1IndexerSchemaError = unknown;
1535
+ export type DeleteApiV1IndexerBulkResponses = {
1536
+ /**
1537
+ * OK
1538
+ */
1539
+ 200: unknown;
1540
+ };
1541
+ export type PutApiV1IndexerBulkData = {
1542
+ body?: IndexerBulkResource;
1543
+ path?: never;
1544
+ query?: never;
1545
+ url: '/api/v1/indexer/bulk';
1546
+ };
1547
+ export type PutApiV1IndexerBulkResponses = {
1548
+ /**
1549
+ * OK
1550
+ */
1551
+ 200: IndexerResource;
1552
+ };
1553
+ export type PutApiV1IndexerBulkResponse = PutApiV1IndexerBulkResponses[keyof PutApiV1IndexerBulkResponses];
1554
+ export type GetApiV1IndexerSchemaData = {
1555
+ body?: never;
1556
+ path?: never;
1557
+ query?: never;
1558
+ url: '/api/v1/indexer/schema';
1559
+ };
1560
+ export type GetApiV1IndexerSchemaResponses = {
1561
+ /**
1562
+ * OK
1563
+ */
1564
+ 200: Array<IndexerResource>;
1565
+ };
1566
+ export type GetApiV1IndexerSchemaResponse = GetApiV1IndexerSchemaResponses[keyof GetApiV1IndexerSchemaResponses];
936
1567
  export type PostApiV1IndexerTestData = {
937
1568
  body?: IndexerResource;
1569
+ path?: never;
938
1570
  query?: {
939
1571
  forceTest?: boolean;
940
1572
  };
1573
+ url: '/api/v1/indexer/test';
1574
+ };
1575
+ export type PostApiV1IndexerTestResponses = {
1576
+ /**
1577
+ * OK
1578
+ */
1579
+ 200: unknown;
1580
+ };
1581
+ export type PostApiV1IndexerTestallData = {
1582
+ body?: never;
1583
+ path?: never;
1584
+ query?: never;
1585
+ url: '/api/v1/indexer/testall';
1586
+ };
1587
+ export type PostApiV1IndexerTestallResponses = {
1588
+ /**
1589
+ * OK
1590
+ */
1591
+ 200: unknown;
941
1592
  };
942
- export type PostApiV1IndexerTestResponse = (unknown);
943
- export type PostApiV1IndexerTestError = unknown;
944
- export type PostApiV1IndexerTestallResponse = (unknown);
945
- export type PostApiV1IndexerTestallError = unknown;
946
1593
  export type PostApiV1IndexerActionByNameData = {
947
1594
  body?: IndexerResource;
948
1595
  path: {
949
1596
  name: string;
950
1597
  };
1598
+ query?: never;
1599
+ url: '/api/v1/indexer/action/{name}';
1600
+ };
1601
+ export type PostApiV1IndexerActionByNameResponses = {
1602
+ /**
1603
+ * OK
1604
+ */
1605
+ 200: unknown;
1606
+ };
1607
+ export type GetApiV1IndexerCategoriesData = {
1608
+ body?: never;
1609
+ path?: never;
1610
+ query?: never;
1611
+ url: '/api/v1/indexer/categories';
1612
+ };
1613
+ export type GetApiV1IndexerCategoriesResponses = {
1614
+ /**
1615
+ * OK
1616
+ */
1617
+ 200: Array<IndexerCategory>;
1618
+ };
1619
+ export type GetApiV1IndexerCategoriesResponse = GetApiV1IndexerCategoriesResponses[keyof GetApiV1IndexerCategoriesResponses];
1620
+ export type DeleteApiV1IndexerproxyByIdData = {
1621
+ body?: never;
1622
+ path: {
1623
+ id: number;
1624
+ };
1625
+ query?: never;
1626
+ url: '/api/v1/indexerproxy/{id}';
1627
+ };
1628
+ export type DeleteApiV1IndexerproxyByIdResponses = {
1629
+ /**
1630
+ * OK
1631
+ */
1632
+ 200: unknown;
951
1633
  };
952
- export type PostApiV1IndexerActionByNameResponse = (unknown);
953
- export type PostApiV1IndexerActionByNameError = unknown;
954
- export type GetApiV1IndexerCategoriesResponse = (Array<IndexerCategory>);
955
- export type GetApiV1IndexerCategoriesError = unknown;
956
1634
  export type GetApiV1IndexerproxyByIdData = {
1635
+ body?: never;
957
1636
  path: {
958
1637
  id: number;
959
1638
  };
1639
+ query?: never;
1640
+ url: '/api/v1/indexerproxy/{id}';
1641
+ };
1642
+ export type GetApiV1IndexerproxyByIdResponses = {
1643
+ /**
1644
+ * OK
1645
+ */
1646
+ 200: IndexerProxyResource;
960
1647
  };
961
- export type GetApiV1IndexerproxyByIdResponse = (IndexerProxyResource);
962
- export type GetApiV1IndexerproxyByIdError = unknown;
1648
+ export type GetApiV1IndexerproxyByIdResponse = GetApiV1IndexerproxyByIdResponses[keyof GetApiV1IndexerproxyByIdResponses];
963
1649
  export type PutApiV1IndexerproxyByIdData = {
964
1650
  body?: IndexerProxyResource;
965
1651
  path: {
@@ -968,194 +1654,357 @@ export type PutApiV1IndexerproxyByIdData = {
968
1654
  query?: {
969
1655
  forceSave?: boolean;
970
1656
  };
1657
+ url: '/api/v1/indexerproxy/{id}';
971
1658
  };
972
- export type PutApiV1IndexerproxyByIdResponse = (IndexerProxyResource);
973
- export type PutApiV1IndexerproxyByIdError = unknown;
974
- export type DeleteApiV1IndexerproxyByIdData = {
975
- path: {
976
- id: number;
977
- };
1659
+ export type PutApiV1IndexerproxyByIdResponses = {
1660
+ /**
1661
+ * OK
1662
+ */
1663
+ 200: IndexerProxyResource;
1664
+ };
1665
+ export type PutApiV1IndexerproxyByIdResponse = PutApiV1IndexerproxyByIdResponses[keyof PutApiV1IndexerproxyByIdResponses];
1666
+ export type GetApiV1IndexerproxyData = {
1667
+ body?: never;
1668
+ path?: never;
1669
+ query?: never;
1670
+ url: '/api/v1/indexerproxy';
1671
+ };
1672
+ export type GetApiV1IndexerproxyResponses = {
1673
+ /**
1674
+ * OK
1675
+ */
1676
+ 200: Array<IndexerProxyResource>;
978
1677
  };
979
- export type DeleteApiV1IndexerproxyByIdResponse = (unknown);
980
- export type DeleteApiV1IndexerproxyByIdError = unknown;
981
- export type GetApiV1IndexerproxyResponse = (Array<IndexerProxyResource>);
982
- export type GetApiV1IndexerproxyError = unknown;
1678
+ export type GetApiV1IndexerproxyResponse = GetApiV1IndexerproxyResponses[keyof GetApiV1IndexerproxyResponses];
983
1679
  export type PostApiV1IndexerproxyData = {
984
1680
  body?: IndexerProxyResource;
1681
+ path?: never;
985
1682
  query?: {
986
1683
  forceSave?: boolean;
987
1684
  };
1685
+ url: '/api/v1/indexerproxy';
988
1686
  };
989
- export type PostApiV1IndexerproxyResponse = (IndexerProxyResource);
990
- export type PostApiV1IndexerproxyError = unknown;
991
- export type GetApiV1IndexerproxySchemaResponse = (Array<IndexerProxyResource>);
992
- export type GetApiV1IndexerproxySchemaError = unknown;
1687
+ export type PostApiV1IndexerproxyResponses = {
1688
+ /**
1689
+ * OK
1690
+ */
1691
+ 200: IndexerProxyResource;
1692
+ };
1693
+ export type PostApiV1IndexerproxyResponse = PostApiV1IndexerproxyResponses[keyof PostApiV1IndexerproxyResponses];
1694
+ export type GetApiV1IndexerproxySchemaData = {
1695
+ body?: never;
1696
+ path?: never;
1697
+ query?: never;
1698
+ url: '/api/v1/indexerproxy/schema';
1699
+ };
1700
+ export type GetApiV1IndexerproxySchemaResponses = {
1701
+ /**
1702
+ * OK
1703
+ */
1704
+ 200: Array<IndexerProxyResource>;
1705
+ };
1706
+ export type GetApiV1IndexerproxySchemaResponse = GetApiV1IndexerproxySchemaResponses[keyof GetApiV1IndexerproxySchemaResponses];
993
1707
  export type PostApiV1IndexerproxyTestData = {
994
1708
  body?: IndexerProxyResource;
1709
+ path?: never;
995
1710
  query?: {
996
1711
  forceTest?: boolean;
997
1712
  };
1713
+ url: '/api/v1/indexerproxy/test';
1714
+ };
1715
+ export type PostApiV1IndexerproxyTestResponses = {
1716
+ /**
1717
+ * OK
1718
+ */
1719
+ 200: unknown;
1720
+ };
1721
+ export type PostApiV1IndexerproxyTestallData = {
1722
+ body?: never;
1723
+ path?: never;
1724
+ query?: never;
1725
+ url: '/api/v1/indexerproxy/testall';
1726
+ };
1727
+ export type PostApiV1IndexerproxyTestallResponses = {
1728
+ /**
1729
+ * OK
1730
+ */
1731
+ 200: unknown;
998
1732
  };
999
- export type PostApiV1IndexerproxyTestResponse = (unknown);
1000
- export type PostApiV1IndexerproxyTestError = unknown;
1001
- export type PostApiV1IndexerproxyTestallResponse = (unknown);
1002
- export type PostApiV1IndexerproxyTestallError = unknown;
1003
1733
  export type PostApiV1IndexerproxyActionByNameData = {
1004
1734
  body?: IndexerProxyResource;
1005
1735
  path: {
1006
1736
  name: string;
1007
1737
  };
1738
+ query?: never;
1739
+ url: '/api/v1/indexerproxy/action/{name}';
1740
+ };
1741
+ export type PostApiV1IndexerproxyActionByNameResponses = {
1742
+ /**
1743
+ * OK
1744
+ */
1745
+ 200: unknown;
1008
1746
  };
1009
- export type PostApiV1IndexerproxyActionByNameResponse = (unknown);
1010
- export type PostApiV1IndexerproxyActionByNameError = unknown;
1011
1747
  export type GetApiV1IndexerstatsData = {
1748
+ body?: never;
1749
+ path?: never;
1012
1750
  query?: {
1751
+ startDate?: string;
1013
1752
  endDate?: string;
1014
1753
  indexers?: string;
1015
1754
  protocols?: string;
1016
- startDate?: string;
1017
1755
  tags?: string;
1018
1756
  };
1019
- };
1020
- export type GetApiV1IndexerstatsResponse = (IndexerStatsResource);
1021
- export type GetApiV1IndexerstatsError = unknown;
1022
- export type GetApiV1IndexerstatusResponse = (Array<IndexerStatusResource>);
1023
- export type GetApiV1IndexerstatusError = unknown;
1024
- export type GetApiV1LocalizationResponse = (unknown);
1025
- export type GetApiV1LocalizationError = unknown;
1026
- export type GetApiV1LocalizationOptionsResponse = (Array<LocalizationOption>);
1027
- export type GetApiV1LocalizationOptionsError = unknown;
1757
+ url: '/api/v1/indexerstats';
1758
+ };
1759
+ export type GetApiV1IndexerstatsResponses = {
1760
+ /**
1761
+ * OK
1762
+ */
1763
+ 200: IndexerStatsResource;
1764
+ };
1765
+ export type GetApiV1IndexerstatsResponse = GetApiV1IndexerstatsResponses[keyof GetApiV1IndexerstatsResponses];
1766
+ export type GetApiV1IndexerstatusData = {
1767
+ body?: never;
1768
+ path?: never;
1769
+ query?: never;
1770
+ url: '/api/v1/indexerstatus';
1771
+ };
1772
+ export type GetApiV1IndexerstatusResponses = {
1773
+ /**
1774
+ * OK
1775
+ */
1776
+ 200: Array<IndexerStatusResource>;
1777
+ };
1778
+ export type GetApiV1IndexerstatusResponse = GetApiV1IndexerstatusResponses[keyof GetApiV1IndexerstatusResponses];
1779
+ export type GetApiV1LocalizationData = {
1780
+ body?: never;
1781
+ path?: never;
1782
+ query?: never;
1783
+ url: '/api/v1/localization';
1784
+ };
1785
+ export type GetApiV1LocalizationResponses = {
1786
+ /**
1787
+ * OK
1788
+ */
1789
+ 200: unknown;
1790
+ };
1791
+ export type GetApiV1LocalizationOptionsData = {
1792
+ body?: never;
1793
+ path?: never;
1794
+ query?: never;
1795
+ url: '/api/v1/localization/options';
1796
+ };
1797
+ export type GetApiV1LocalizationOptionsResponses = {
1798
+ /**
1799
+ * OK
1800
+ */
1801
+ 200: Array<LocalizationOption>;
1802
+ };
1803
+ export type GetApiV1LocalizationOptionsResponse = GetApiV1LocalizationOptionsResponses[keyof GetApiV1LocalizationOptionsResponses];
1028
1804
  export type GetApiV1LogData = {
1805
+ body?: never;
1806
+ path?: never;
1029
1807
  query?: {
1030
- level?: string;
1031
1808
  page?: number;
1032
1809
  pageSize?: number;
1033
- sortDirection?: SortDirection;
1034
1810
  sortKey?: string;
1811
+ sortDirection?: SortDirection;
1812
+ level?: string;
1035
1813
  };
1814
+ url: '/api/v1/log';
1815
+ };
1816
+ export type GetApiV1LogResponses = {
1817
+ /**
1818
+ * OK
1819
+ */
1820
+ 200: LogResourcePagingResource;
1036
1821
  };
1037
- export type GetApiV1LogResponse = (LogResourcePagingResource);
1038
- export type GetApiV1LogError = unknown;
1039
- export type GetApiV1LogFileResponse = (Array<LogFileResource>);
1040
- export type GetApiV1LogFileError = unknown;
1822
+ export type GetApiV1LogResponse = GetApiV1LogResponses[keyof GetApiV1LogResponses];
1823
+ export type GetApiV1LogFileData = {
1824
+ body?: never;
1825
+ path?: never;
1826
+ query?: never;
1827
+ url: '/api/v1/log/file';
1828
+ };
1829
+ export type GetApiV1LogFileResponses = {
1830
+ /**
1831
+ * OK
1832
+ */
1833
+ 200: Array<LogFileResource>;
1834
+ };
1835
+ export type GetApiV1LogFileResponse = GetApiV1LogFileResponses[keyof GetApiV1LogFileResponses];
1041
1836
  export type GetApiV1LogFileByFilenameData = {
1837
+ body?: never;
1042
1838
  path: {
1043
1839
  filename: string;
1044
1840
  };
1841
+ query?: never;
1842
+ url: '/api/v1/log/file/{filename}';
1843
+ };
1844
+ export type GetApiV1LogFileByFilenameResponses = {
1845
+ /**
1846
+ * OK
1847
+ */
1848
+ 200: IActionResult;
1045
1849
  };
1046
- export type GetApiV1LogFileByFilenameResponse = (IActionResult);
1047
- export type GetApiV1LogFileByFilenameError = unknown;
1850
+ export type GetApiV1LogFileByFilenameResponse = GetApiV1LogFileByFilenameResponses[keyof GetApiV1LogFileByFilenameResponses];
1048
1851
  export type GetApiV1IndexerByIdNewznabData = {
1852
+ body?: never;
1049
1853
  path: {
1050
1854
  id: number;
1051
1855
  };
1052
1856
  query?: {
1053
- album?: string;
1054
- artist?: string;
1055
- author?: string;
1857
+ t?: string;
1858
+ q?: string;
1056
1859
  cat?: string;
1057
- configured?: string;
1058
- doubanid?: number;
1059
- ep?: string;
1060
- extended?: string;
1061
- genre?: string;
1062
- host?: string;
1063
1860
  imdbid?: string;
1064
- label?: string;
1861
+ tmdbid?: number;
1862
+ extended?: string;
1065
1863
  limit?: number;
1066
- maxage?: number;
1067
- maxsize?: number;
1864
+ offset?: number;
1068
1865
  minage?: number;
1866
+ maxage?: number;
1069
1867
  minsize?: number;
1070
- offset?: number;
1071
- publisher?: string;
1072
- q?: string;
1868
+ maxsize?: number;
1073
1869
  rid?: number;
1074
- season?: number;
1075
- server?: string;
1076
- source?: string;
1077
- t?: string;
1078
- title?: string;
1079
- tmdbid?: number;
1080
- track?: string;
1870
+ tvmazeid?: number;
1081
1871
  traktid?: number;
1082
1872
  tvdbid?: number;
1083
- tvmazeid?: number;
1873
+ doubanid?: number;
1874
+ season?: number;
1875
+ ep?: string;
1876
+ album?: string;
1877
+ artist?: string;
1878
+ label?: string;
1879
+ track?: string;
1084
1880
  year?: number;
1881
+ genre?: string;
1882
+ author?: string;
1883
+ title?: string;
1884
+ publisher?: string;
1885
+ configured?: string;
1886
+ source?: string;
1887
+ host?: string;
1888
+ server?: string;
1085
1889
  };
1890
+ url: '/api/v1/indexer/{id}/newznab';
1891
+ };
1892
+ export type GetApiV1IndexerByIdNewznabResponses = {
1893
+ /**
1894
+ * OK
1895
+ */
1896
+ 200: unknown;
1086
1897
  };
1087
- export type GetApiV1IndexerByIdNewznabResponse = (unknown);
1088
- export type GetApiV1IndexerByIdNewznabError = unknown;
1089
1898
  export type GetByIdApiData = {
1899
+ body?: never;
1090
1900
  path: {
1091
1901
  id: number;
1092
1902
  };
1093
1903
  query?: {
1094
- album?: string;
1095
- artist?: string;
1096
- author?: string;
1904
+ t?: string;
1905
+ q?: string;
1097
1906
  cat?: string;
1098
- configured?: string;
1099
- doubanid?: number;
1100
- ep?: string;
1101
- extended?: string;
1102
- genre?: string;
1103
- host?: string;
1104
1907
  imdbid?: string;
1105
- label?: string;
1908
+ tmdbid?: number;
1909
+ extended?: string;
1106
1910
  limit?: number;
1107
- maxage?: number;
1108
- maxsize?: number;
1911
+ offset?: number;
1109
1912
  minage?: number;
1913
+ maxage?: number;
1110
1914
  minsize?: number;
1111
- offset?: number;
1112
- publisher?: string;
1113
- q?: string;
1915
+ maxsize?: number;
1114
1916
  rid?: number;
1115
- season?: number;
1116
- server?: string;
1117
- source?: string;
1118
- t?: string;
1119
- title?: string;
1120
- tmdbid?: number;
1121
- track?: string;
1917
+ tvmazeid?: number;
1122
1918
  traktid?: number;
1123
1919
  tvdbid?: number;
1124
- tvmazeid?: number;
1920
+ doubanid?: number;
1921
+ season?: number;
1922
+ ep?: string;
1923
+ album?: string;
1924
+ artist?: string;
1925
+ label?: string;
1926
+ track?: string;
1125
1927
  year?: number;
1928
+ genre?: string;
1929
+ author?: string;
1930
+ title?: string;
1931
+ publisher?: string;
1932
+ configured?: string;
1933
+ source?: string;
1934
+ host?: string;
1935
+ server?: string;
1126
1936
  };
1937
+ url: '/{id}/api';
1938
+ };
1939
+ export type GetByIdApiResponses = {
1940
+ /**
1941
+ * OK
1942
+ */
1943
+ 200: unknown;
1127
1944
  };
1128
- export type GetByIdApiResponse = (unknown);
1129
- export type GetByIdApiError = unknown;
1130
1945
  export type GetApiV1IndexerByIdDownloadData = {
1946
+ body?: never;
1131
1947
  path: {
1132
1948
  id: number;
1133
1949
  };
1134
1950
  query?: {
1135
- file?: string;
1136
1951
  link?: string;
1952
+ file?: string;
1137
1953
  };
1954
+ url: '/api/v1/indexer/{id}/download';
1955
+ };
1956
+ export type GetApiV1IndexerByIdDownloadResponses = {
1957
+ /**
1958
+ * OK
1959
+ */
1960
+ 200: unknown;
1138
1961
  };
1139
- export type GetApiV1IndexerByIdDownloadResponse = (unknown);
1140
- export type GetApiV1IndexerByIdDownloadError = unknown;
1141
1962
  export type GetByIdDownloadData = {
1963
+ body?: never;
1142
1964
  path: {
1143
1965
  id: number;
1144
1966
  };
1145
1967
  query?: {
1146
- file?: string;
1147
1968
  link?: string;
1969
+ file?: string;
1970
+ };
1971
+ url: '/{id}/download';
1972
+ };
1973
+ export type GetByIdDownloadResponses = {
1974
+ /**
1975
+ * OK
1976
+ */
1977
+ 200: unknown;
1978
+ };
1979
+ export type DeleteApiV1NotificationByIdData = {
1980
+ body?: never;
1981
+ path: {
1982
+ id: number;
1148
1983
  };
1984
+ query?: never;
1985
+ url: '/api/v1/notification/{id}';
1986
+ };
1987
+ export type DeleteApiV1NotificationByIdResponses = {
1988
+ /**
1989
+ * OK
1990
+ */
1991
+ 200: unknown;
1149
1992
  };
1150
- export type GetByIdDownloadResponse = (unknown);
1151
- export type GetByIdDownloadError = unknown;
1152
1993
  export type GetApiV1NotificationByIdData = {
1994
+ body?: never;
1153
1995
  path: {
1154
1996
  id: number;
1155
1997
  };
1998
+ query?: never;
1999
+ url: '/api/v1/notification/{id}';
2000
+ };
2001
+ export type GetApiV1NotificationByIdResponses = {
2002
+ /**
2003
+ * OK
2004
+ */
2005
+ 200: NotificationResource;
1156
2006
  };
1157
- export type GetApiV1NotificationByIdResponse = (NotificationResource);
1158
- export type GetApiV1NotificationByIdError = unknown;
2007
+ export type GetApiV1NotificationByIdResponse = GetApiV1NotificationByIdResponses[keyof GetApiV1NotificationByIdResponses];
1159
2008
  export type PutApiV1NotificationByIdData = {
1160
2009
  body?: NotificationResource;
1161
2010
  path: {
@@ -1164,176 +2013,482 @@ export type PutApiV1NotificationByIdData = {
1164
2013
  query?: {
1165
2014
  forceSave?: boolean;
1166
2015
  };
2016
+ url: '/api/v1/notification/{id}';
1167
2017
  };
1168
- export type PutApiV1NotificationByIdResponse = (NotificationResource);
1169
- export type PutApiV1NotificationByIdError = unknown;
1170
- export type DeleteApiV1NotificationByIdData = {
1171
- path: {
1172
- id: number;
1173
- };
2018
+ export type PutApiV1NotificationByIdResponses = {
2019
+ /**
2020
+ * OK
2021
+ */
2022
+ 200: NotificationResource;
2023
+ };
2024
+ export type PutApiV1NotificationByIdResponse = PutApiV1NotificationByIdResponses[keyof PutApiV1NotificationByIdResponses];
2025
+ export type GetApiV1NotificationData = {
2026
+ body?: never;
2027
+ path?: never;
2028
+ query?: never;
2029
+ url: '/api/v1/notification';
2030
+ };
2031
+ export type GetApiV1NotificationResponses = {
2032
+ /**
2033
+ * OK
2034
+ */
2035
+ 200: Array<NotificationResource>;
1174
2036
  };
1175
- export type DeleteApiV1NotificationByIdResponse = (unknown);
1176
- export type DeleteApiV1NotificationByIdError = unknown;
1177
- export type GetApiV1NotificationResponse = (Array<NotificationResource>);
1178
- export type GetApiV1NotificationError = unknown;
2037
+ export type GetApiV1NotificationResponse = GetApiV1NotificationResponses[keyof GetApiV1NotificationResponses];
1179
2038
  export type PostApiV1NotificationData = {
1180
2039
  body?: NotificationResource;
2040
+ path?: never;
1181
2041
  query?: {
1182
2042
  forceSave?: boolean;
1183
2043
  };
2044
+ url: '/api/v1/notification';
2045
+ };
2046
+ export type PostApiV1NotificationResponses = {
2047
+ /**
2048
+ * OK
2049
+ */
2050
+ 200: NotificationResource;
2051
+ };
2052
+ export type PostApiV1NotificationResponse = PostApiV1NotificationResponses[keyof PostApiV1NotificationResponses];
2053
+ export type GetApiV1NotificationSchemaData = {
2054
+ body?: never;
2055
+ path?: never;
2056
+ query?: never;
2057
+ url: '/api/v1/notification/schema';
1184
2058
  };
1185
- export type PostApiV1NotificationResponse = (NotificationResource);
1186
- export type PostApiV1NotificationError = unknown;
1187
- export type GetApiV1NotificationSchemaResponse = (Array<NotificationResource>);
1188
- export type GetApiV1NotificationSchemaError = unknown;
2059
+ export type GetApiV1NotificationSchemaResponses = {
2060
+ /**
2061
+ * OK
2062
+ */
2063
+ 200: Array<NotificationResource>;
2064
+ };
2065
+ export type GetApiV1NotificationSchemaResponse = GetApiV1NotificationSchemaResponses[keyof GetApiV1NotificationSchemaResponses];
1189
2066
  export type PostApiV1NotificationTestData = {
1190
2067
  body?: NotificationResource;
2068
+ path?: never;
1191
2069
  query?: {
1192
2070
  forceTest?: boolean;
1193
2071
  };
2072
+ url: '/api/v1/notification/test';
2073
+ };
2074
+ export type PostApiV1NotificationTestResponses = {
2075
+ /**
2076
+ * OK
2077
+ */
2078
+ 200: unknown;
2079
+ };
2080
+ export type PostApiV1NotificationTestallData = {
2081
+ body?: never;
2082
+ path?: never;
2083
+ query?: never;
2084
+ url: '/api/v1/notification/testall';
2085
+ };
2086
+ export type PostApiV1NotificationTestallResponses = {
2087
+ /**
2088
+ * OK
2089
+ */
2090
+ 200: unknown;
1194
2091
  };
1195
- export type PostApiV1NotificationTestResponse = (unknown);
1196
- export type PostApiV1NotificationTestError = unknown;
1197
- export type PostApiV1NotificationTestallResponse = (unknown);
1198
- export type PostApiV1NotificationTestallError = unknown;
1199
2092
  export type PostApiV1NotificationActionByNameData = {
1200
2093
  body?: NotificationResource;
1201
2094
  path: {
1202
2095
  name: string;
1203
2096
  };
1204
- };
1205
- export type PostApiV1NotificationActionByNameResponse = (unknown);
1206
- export type PostApiV1NotificationActionByNameError = unknown;
1207
- export type GetPingResponse = (PingResource);
1208
- export type GetPingError = unknown;
1209
- export type HeadPingResponse = (PingResource);
1210
- export type HeadPingError = unknown;
1211
- export type PostApiV1SearchData = {
1212
- body?: ReleaseResource;
1213
- };
1214
- export type PostApiV1SearchResponse = (ReleaseResource);
1215
- export type PostApiV1SearchError = unknown;
2097
+ query?: never;
2098
+ url: '/api/v1/notification/action/{name}';
2099
+ };
2100
+ export type PostApiV1NotificationActionByNameResponses = {
2101
+ /**
2102
+ * OK
2103
+ */
2104
+ 200: unknown;
2105
+ };
2106
+ export type GetPingData = {
2107
+ body?: never;
2108
+ path?: never;
2109
+ query?: never;
2110
+ url: '/ping';
2111
+ };
2112
+ export type GetPingResponses = {
2113
+ /**
2114
+ * OK
2115
+ */
2116
+ 200: PingResource;
2117
+ };
2118
+ export type GetPingResponse = GetPingResponses[keyof GetPingResponses];
2119
+ export type HeadPingData = {
2120
+ body?: never;
2121
+ path?: never;
2122
+ query?: never;
2123
+ url: '/ping';
2124
+ };
2125
+ export type HeadPingResponses = {
2126
+ /**
2127
+ * OK
2128
+ */
2129
+ 200: PingResource;
2130
+ };
2131
+ export type HeadPingResponse = HeadPingResponses[keyof HeadPingResponses];
1216
2132
  export type GetApiV1SearchData = {
2133
+ body?: never;
2134
+ path?: never;
1217
2135
  query?: {
1218
- categories?: Array<(number)>;
1219
- indexerIds?: Array<(number)>;
1220
- limit?: number;
1221
- offset?: number;
1222
2136
  query?: string;
1223
2137
  type?: string;
2138
+ indexerIds?: Array<number>;
2139
+ categories?: Array<number>;
2140
+ limit?: number;
2141
+ offset?: number;
1224
2142
  };
2143
+ url: '/api/v1/search';
1225
2144
  };
1226
- export type GetApiV1SearchResponse = (Array<ReleaseResource>);
1227
- export type GetApiV1SearchError = unknown;
1228
- export type PostApiV1SearchBulkData = {
1229
- body?: Array<ReleaseResource>;
2145
+ export type GetApiV1SearchResponses = {
2146
+ /**
2147
+ * OK
2148
+ */
2149
+ 200: Array<ReleaseResource>;
1230
2150
  };
1231
- export type PostApiV1SearchBulkResponse = (ReleaseResource);
1232
- export type PostApiV1SearchBulkError = unknown;
2151
+ export type GetApiV1SearchResponse = GetApiV1SearchResponses[keyof GetApiV1SearchResponses];
2152
+ export type PostApiV1SearchData = {
2153
+ body?: ReleaseResourceWritable;
2154
+ path?: never;
2155
+ query?: never;
2156
+ url: '/api/v1/search';
2157
+ };
2158
+ export type PostApiV1SearchResponses = {
2159
+ /**
2160
+ * OK
2161
+ */
2162
+ 200: ReleaseResource;
2163
+ };
2164
+ export type PostApiV1SearchResponse = PostApiV1SearchResponses[keyof PostApiV1SearchResponses];
2165
+ export type PostApiV1SearchBulkData = {
2166
+ body?: Array<ReleaseResourceWritable>;
2167
+ path?: never;
2168
+ query?: never;
2169
+ url: '/api/v1/search/bulk';
2170
+ };
2171
+ export type PostApiV1SearchBulkResponses = {
2172
+ /**
2173
+ * OK
2174
+ */
2175
+ 200: ReleaseResource;
2176
+ };
2177
+ export type PostApiV1SearchBulkResponse = PostApiV1SearchBulkResponses[keyof PostApiV1SearchBulkResponses];
1233
2178
  export type GetContentByPathData = {
2179
+ body?: never;
1234
2180
  path: {
1235
2181
  path: string;
1236
2182
  };
2183
+ query?: never;
2184
+ url: '/content/{path}';
2185
+ };
2186
+ export type GetContentByPathResponses = {
2187
+ /**
2188
+ * OK
2189
+ */
2190
+ 200: unknown;
1237
2191
  };
1238
- export type GetContentByPathResponse = (unknown);
1239
- export type GetContentByPathError = unknown;
1240
2192
  export type GetData = {
2193
+ body?: never;
1241
2194
  path: {
1242
2195
  path: string;
1243
2196
  };
2197
+ query?: never;
2198
+ url: '/';
2199
+ };
2200
+ export type GetResponses = {
2201
+ /**
2202
+ * OK
2203
+ */
2204
+ 200: unknown;
1244
2205
  };
1245
- export type GetResponse = (unknown);
1246
- export type GetError = unknown;
1247
2206
  export type GetByPathData = {
2207
+ body?: never;
1248
2208
  path: {
1249
2209
  path: string;
1250
2210
  };
2211
+ query?: never;
2212
+ url: '/{path}';
2213
+ };
2214
+ export type GetByPathResponses = {
2215
+ /**
2216
+ * OK
2217
+ */
2218
+ 200: unknown;
2219
+ };
2220
+ export type GetApiV1SystemStatusData = {
2221
+ body?: never;
2222
+ path?: never;
2223
+ query?: never;
2224
+ url: '/api/v1/system/status';
2225
+ };
2226
+ export type GetApiV1SystemStatusResponses = {
2227
+ /**
2228
+ * OK
2229
+ */
2230
+ 200: SystemResource;
2231
+ };
2232
+ export type GetApiV1SystemStatusResponse = GetApiV1SystemStatusResponses[keyof GetApiV1SystemStatusResponses];
2233
+ export type GetApiV1SystemRoutesData = {
2234
+ body?: never;
2235
+ path?: never;
2236
+ query?: never;
2237
+ url: '/api/v1/system/routes';
2238
+ };
2239
+ export type GetApiV1SystemRoutesResponses = {
2240
+ /**
2241
+ * OK
2242
+ */
2243
+ 200: unknown;
2244
+ };
2245
+ export type GetApiV1SystemRoutesDuplicateData = {
2246
+ body?: never;
2247
+ path?: never;
2248
+ query?: never;
2249
+ url: '/api/v1/system/routes/duplicate';
2250
+ };
2251
+ export type GetApiV1SystemRoutesDuplicateResponses = {
2252
+ /**
2253
+ * OK
2254
+ */
2255
+ 200: unknown;
2256
+ };
2257
+ export type PostApiV1SystemShutdownData = {
2258
+ body?: never;
2259
+ path?: never;
2260
+ query?: never;
2261
+ url: '/api/v1/system/shutdown';
2262
+ };
2263
+ export type PostApiV1SystemShutdownResponses = {
2264
+ /**
2265
+ * OK
2266
+ */
2267
+ 200: unknown;
2268
+ };
2269
+ export type PostApiV1SystemRestartData = {
2270
+ body?: never;
2271
+ path?: never;
2272
+ query?: never;
2273
+ url: '/api/v1/system/restart';
2274
+ };
2275
+ export type PostApiV1SystemRestartResponses = {
2276
+ /**
2277
+ * OK
2278
+ */
2279
+ 200: unknown;
2280
+ };
2281
+ export type DeleteApiV1TagByIdData = {
2282
+ body?: never;
2283
+ path: {
2284
+ id: number;
2285
+ };
2286
+ query?: never;
2287
+ url: '/api/v1/tag/{id}';
2288
+ };
2289
+ export type DeleteApiV1TagByIdResponses = {
2290
+ /**
2291
+ * OK
2292
+ */
2293
+ 200: unknown;
1251
2294
  };
1252
- export type GetByPathResponse = (unknown);
1253
- export type GetByPathError = unknown;
1254
- export type GetApiV1SystemStatusResponse = (SystemResource);
1255
- export type GetApiV1SystemStatusError = unknown;
1256
- export type GetApiV1SystemRoutesResponse = (unknown);
1257
- export type GetApiV1SystemRoutesError = unknown;
1258
- export type GetApiV1SystemRoutesDuplicateResponse = (unknown);
1259
- export type GetApiV1SystemRoutesDuplicateError = unknown;
1260
- export type PostApiV1SystemShutdownResponse = (unknown);
1261
- export type PostApiV1SystemShutdownError = unknown;
1262
- export type PostApiV1SystemRestartResponse = (unknown);
1263
- export type PostApiV1SystemRestartError = unknown;
1264
2295
  export type GetApiV1TagByIdData = {
2296
+ body?: never;
1265
2297
  path: {
1266
2298
  id: number;
1267
2299
  };
2300
+ query?: never;
2301
+ url: '/api/v1/tag/{id}';
1268
2302
  };
1269
- export type GetApiV1TagByIdResponse = (TagResource);
1270
- export type GetApiV1TagByIdError = unknown;
2303
+ export type GetApiV1TagByIdResponses = {
2304
+ /**
2305
+ * OK
2306
+ */
2307
+ 200: TagResource;
2308
+ };
2309
+ export type GetApiV1TagByIdResponse = GetApiV1TagByIdResponses[keyof GetApiV1TagByIdResponses];
1271
2310
  export type PutApiV1TagByIdData = {
1272
2311
  body?: TagResource;
1273
2312
  path: {
1274
2313
  id: string;
1275
2314
  };
1276
- };
1277
- export type PutApiV1TagByIdResponse = (TagResource);
1278
- export type PutApiV1TagByIdError = unknown;
1279
- export type DeleteApiV1TagByIdData = {
1280
- path: {
1281
- id: number;
1282
- };
1283
- };
1284
- export type DeleteApiV1TagByIdResponse = (unknown);
1285
- export type DeleteApiV1TagByIdError = unknown;
1286
- export type GetApiV1TagResponse = (Array<TagResource>);
1287
- export type GetApiV1TagError = unknown;
2315
+ query?: never;
2316
+ url: '/api/v1/tag/{id}';
2317
+ };
2318
+ export type PutApiV1TagByIdResponses = {
2319
+ /**
2320
+ * OK
2321
+ */
2322
+ 200: TagResource;
2323
+ };
2324
+ export type PutApiV1TagByIdResponse = PutApiV1TagByIdResponses[keyof PutApiV1TagByIdResponses];
2325
+ export type GetApiV1TagData = {
2326
+ body?: never;
2327
+ path?: never;
2328
+ query?: never;
2329
+ url: '/api/v1/tag';
2330
+ };
2331
+ export type GetApiV1TagResponses = {
2332
+ /**
2333
+ * OK
2334
+ */
2335
+ 200: Array<TagResource>;
2336
+ };
2337
+ export type GetApiV1TagResponse = GetApiV1TagResponses[keyof GetApiV1TagResponses];
1288
2338
  export type PostApiV1TagData = {
1289
2339
  body?: TagResource;
2340
+ path?: never;
2341
+ query?: never;
2342
+ url: '/api/v1/tag';
2343
+ };
2344
+ export type PostApiV1TagResponses = {
2345
+ /**
2346
+ * OK
2347
+ */
2348
+ 200: TagResource;
1290
2349
  };
1291
- export type PostApiV1TagResponse = (TagResource);
1292
- export type PostApiV1TagError = unknown;
2350
+ export type PostApiV1TagResponse = PostApiV1TagResponses[keyof PostApiV1TagResponses];
1293
2351
  export type GetApiV1TagDetailByIdData = {
2352
+ body?: never;
1294
2353
  path: {
1295
2354
  id: number;
1296
2355
  };
1297
- };
1298
- export type GetApiV1TagDetailByIdResponse = (TagDetailsResource);
1299
- export type GetApiV1TagDetailByIdError = unknown;
1300
- export type GetApiV1TagDetailResponse = (Array<TagDetailsResource>);
1301
- export type GetApiV1TagDetailError = unknown;
1302
- export type GetApiV1SystemTaskResponse = (Array<TaskResource>);
1303
- export type GetApiV1SystemTaskError = unknown;
2356
+ query?: never;
2357
+ url: '/api/v1/tag/detail/{id}';
2358
+ };
2359
+ export type GetApiV1TagDetailByIdResponses = {
2360
+ /**
2361
+ * OK
2362
+ */
2363
+ 200: TagDetailsResource;
2364
+ };
2365
+ export type GetApiV1TagDetailByIdResponse = GetApiV1TagDetailByIdResponses[keyof GetApiV1TagDetailByIdResponses];
2366
+ export type GetApiV1TagDetailData = {
2367
+ body?: never;
2368
+ path?: never;
2369
+ query?: never;
2370
+ url: '/api/v1/tag/detail';
2371
+ };
2372
+ export type GetApiV1TagDetailResponses = {
2373
+ /**
2374
+ * OK
2375
+ */
2376
+ 200: Array<TagDetailsResource>;
2377
+ };
2378
+ export type GetApiV1TagDetailResponse = GetApiV1TagDetailResponses[keyof GetApiV1TagDetailResponses];
2379
+ export type GetApiV1SystemTaskData = {
2380
+ body?: never;
2381
+ path?: never;
2382
+ query?: never;
2383
+ url: '/api/v1/system/task';
2384
+ };
2385
+ export type GetApiV1SystemTaskResponses = {
2386
+ /**
2387
+ * OK
2388
+ */
2389
+ 200: Array<TaskResource>;
2390
+ };
2391
+ export type GetApiV1SystemTaskResponse = GetApiV1SystemTaskResponses[keyof GetApiV1SystemTaskResponses];
1304
2392
  export type GetApiV1SystemTaskByIdData = {
2393
+ body?: never;
1305
2394
  path: {
1306
2395
  id: number;
1307
2396
  };
2397
+ query?: never;
2398
+ url: '/api/v1/system/task/{id}';
1308
2399
  };
1309
- export type GetApiV1SystemTaskByIdResponse = (TaskResource);
1310
- export type GetApiV1SystemTaskByIdError = unknown;
1311
- export type PutApiV1ConfigUiByIdData = {
1312
- body?: UiConfigResource;
1313
- path: {
1314
- id: string;
1315
- };
2400
+ export type GetApiV1SystemTaskByIdResponses = {
2401
+ /**
2402
+ * OK
2403
+ */
2404
+ 200: TaskResource;
1316
2405
  };
1317
- export type PutApiV1ConfigUiByIdResponse = (UiConfigResource);
1318
- export type PutApiV1ConfigUiByIdError = unknown;
2406
+ export type GetApiV1SystemTaskByIdResponse = GetApiV1SystemTaskByIdResponses[keyof GetApiV1SystemTaskByIdResponses];
1319
2407
  export type GetApiV1ConfigUiByIdData = {
2408
+ body?: never;
1320
2409
  path: {
1321
2410
  id: number;
1322
2411
  };
2412
+ query?: never;
2413
+ url: '/api/v1/config/ui/{id}';
1323
2414
  };
1324
- export type GetApiV1ConfigUiByIdResponse = (UiConfigResource);
1325
- export type GetApiV1ConfigUiByIdError = unknown;
1326
- export type GetApiV1ConfigUiResponse = (UiConfigResource);
1327
- export type GetApiV1ConfigUiError = unknown;
1328
- export type GetApiV1UpdateResponse = (Array<UpdateResource>);
1329
- export type GetApiV1UpdateError = unknown;
1330
- export type GetApiV1LogFileUpdateResponse = (Array<LogFileResource>);
1331
- export type GetApiV1LogFileUpdateError = unknown;
2415
+ export type GetApiV1ConfigUiByIdResponses = {
2416
+ /**
2417
+ * OK
2418
+ */
2419
+ 200: UiConfigResource;
2420
+ };
2421
+ export type GetApiV1ConfigUiByIdResponse = GetApiV1ConfigUiByIdResponses[keyof GetApiV1ConfigUiByIdResponses];
2422
+ export type PutApiV1ConfigUiByIdData = {
2423
+ body?: UiConfigResource;
2424
+ path: {
2425
+ id: string;
2426
+ };
2427
+ query?: never;
2428
+ url: '/api/v1/config/ui/{id}';
2429
+ };
2430
+ export type PutApiV1ConfigUiByIdResponses = {
2431
+ /**
2432
+ * OK
2433
+ */
2434
+ 200: UiConfigResource;
2435
+ };
2436
+ export type PutApiV1ConfigUiByIdResponse = PutApiV1ConfigUiByIdResponses[keyof PutApiV1ConfigUiByIdResponses];
2437
+ export type GetApiV1ConfigUiData = {
2438
+ body?: never;
2439
+ path?: never;
2440
+ query?: never;
2441
+ url: '/api/v1/config/ui';
2442
+ };
2443
+ export type GetApiV1ConfigUiResponses = {
2444
+ /**
2445
+ * OK
2446
+ */
2447
+ 200: UiConfigResource;
2448
+ };
2449
+ export type GetApiV1ConfigUiResponse = GetApiV1ConfigUiResponses[keyof GetApiV1ConfigUiResponses];
2450
+ export type GetApiV1UpdateData = {
2451
+ body?: never;
2452
+ path?: never;
2453
+ query?: never;
2454
+ url: '/api/v1/update';
2455
+ };
2456
+ export type GetApiV1UpdateResponses = {
2457
+ /**
2458
+ * OK
2459
+ */
2460
+ 200: Array<UpdateResource>;
2461
+ };
2462
+ export type GetApiV1UpdateResponse = GetApiV1UpdateResponses[keyof GetApiV1UpdateResponses];
2463
+ export type GetApiV1LogFileUpdateData = {
2464
+ body?: never;
2465
+ path?: never;
2466
+ query?: never;
2467
+ url: '/api/v1/log/file/update';
2468
+ };
2469
+ export type GetApiV1LogFileUpdateResponses = {
2470
+ /**
2471
+ * OK
2472
+ */
2473
+ 200: Array<LogFileResource>;
2474
+ };
2475
+ export type GetApiV1LogFileUpdateResponse = GetApiV1LogFileUpdateResponses[keyof GetApiV1LogFileUpdateResponses];
1332
2476
  export type GetApiV1LogFileUpdateByFilenameData = {
2477
+ body?: never;
1333
2478
  path: {
1334
2479
  filename: string;
1335
2480
  };
2481
+ query?: never;
2482
+ url: '/api/v1/log/file/update/{filename}';
2483
+ };
2484
+ export type GetApiV1LogFileUpdateByFilenameResponses = {
2485
+ /**
2486
+ * OK
2487
+ */
2488
+ 200: IActionResult;
2489
+ };
2490
+ export type GetApiV1LogFileUpdateByFilenameResponse = GetApiV1LogFileUpdateByFilenameResponses[keyof GetApiV1LogFileUpdateByFilenameResponses];
2491
+ export type ClientOptions = {
2492
+ baseUrl: '{protocol}://{hostpath}' | (string & {});
1336
2493
  };
1337
- export type GetApiV1LogFileUpdateByFilenameResponse = (IActionResult);
1338
- export type GetApiV1LogFileUpdateByFilenameError = unknown;
1339
2494
  //# sourceMappingURL=types.gen.d.ts.map