Skip to content

Commit 4fff0b0

Browse files
committed
feat: updates to new schema
1 parent 6162e55 commit 4fff0b0

15 files changed

+80
-109
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This SDK is compatible with the following versions: `TypeScript >= 4.8.4`
2424
To get started with the SDK, we recommend installing using `pnpm`:
2525

2626
```bash
27-
pnpm install torbox-api
27+
pnpm install @torbox/torbox-api
2828
```
2929

3030
## Authentication
@@ -64,7 +64,7 @@ const torboxApi = new TorboxApi({ timeout: 10000 });
6464
Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:
6565

6666
```ts
67-
import { TorboxApi } from 'torbox-api';
67+
import { TorboxApi } from '@torbox/torbox-api';
6868

6969
(async () => {
7070
const torboxApi = new TorboxApi({

documentation/models/GetTorrentCachedAvailabilityOkResponse.md

+6-47
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,19 @@
22

33
**Properties**
44

5-
| Name | Type | Required | Description |
6-
| :------ | :----------------------------------------- | :------- | :---------- |
7-
| data | GetTorrentCachedAvailabilityOkResponseData || |
8-
| detail | string || |
9-
| error | string || |
10-
| success | boolean || |
5+
| Name | Type | Required | Description |
6+
| :------ | :------ | :------- | :---------- |
7+
| data | any || |
8+
| detail | string || |
9+
| error | string || |
10+
| success | boolean || |
1111

1212
# GetTorrentCachedAvailabilityOkResponseData
1313

14-
# Data1
15-
16-
**Properties**
17-
18-
| Name | Type | Required | Description |
19-
| :---- | :----------- | :------- | :---------- |
20-
| files | Data1Files[] || |
21-
| hash | string || |
22-
| name | string || |
23-
| size | number || |
24-
25-
# Data1Files
26-
27-
**Properties**
28-
29-
| Name | Type | Required | Description |
30-
| :--- | :----- | :------- | :---------- |
31-
| name | string || |
32-
| size | number || |
33-
34-
# Data2
35-
36-
**Properties**
37-
38-
| Name | Type | Required | Description |
39-
| :------------------ | :------------------ | :------- | :---------- |
40-
| xxxxxxxxxxxxxxxxxx | Xxxxxxxxxxxxxxxxxx || |
41-
| xxxxxxxxxxxxxxxxxxx | Xxxxxxxxxxxxxxxxxxx || |
42-
43-
# Xxxxxxxxxxxxxxxxxx
44-
4514
**Properties**
4615

4716
| Name | Type | Required | Description |
4817
| :--- | :----- | :------- | :---------- |
49-
| hash | string || |
5018
| name | string || |
5119
| size | number || |
52-
53-
# Xxxxxxxxxxxxxxxxxxx
54-
55-
**Properties**
56-
57-
| Name | Type | Required | Description |
58-
| :--- | :----- | :------- | :---------- |
5920
| hash | string || |
60-
| name | string || |
61-
| size | number || |

documentation/services/GeneralService.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A list of all methods in the `GeneralService` service. Click on the method name
2121
**Example Usage Code Snippet**
2222

2323
```typescript
24-
import { TorboxApi } from '@torbox/torbox-api';
24+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
2525

2626
(async () => {
2727
const torboxApi = new TorboxApi({
@@ -54,7 +54,7 @@ import { TorboxApi } from '@torbox/torbox-api';
5454
**Example Usage Code Snippet**
5555

5656
```typescript
57-
import { TorboxApi } from '@torbox/torbox-api';
57+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
5858

5959
(async () => {
6060
const torboxApi = new TorboxApi({

documentation/services/IntegrationsService.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ A list of all methods in the `IntegrationsService` service. Click on the method
3030
**Example Usage Code Snippet**
3131

3232
```typescript
33-
import { TorboxApi } from '@torbox/torbox-api';
33+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
3434

3535
(async () => {
3636
const torboxApi = new TorboxApi({
@@ -60,7 +60,7 @@ import { TorboxApi } from '@torbox/torbox-api';
6060
**Example Usage Code Snippet**
6161

6262
```typescript
63-
import { TorboxApi } from '@torbox/torbox-api';
63+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
6464

6565
(async () => {
6666
const torboxApi = new TorboxApi({
@@ -92,7 +92,7 @@ import { TorboxApi } from '@torbox/torbox-api';
9292
**Example Usage Code Snippet**
9393

9494
```typescript
95-
import { TorboxApi } from '@torbox/torbox-api';
95+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
9696

9797
(async () => {
9898
const torboxApi = new TorboxApi({
@@ -124,7 +124,7 @@ import { TorboxApi } from '@torbox/torbox-api';
124124
**Example Usage Code Snippet**
125125

126126
```typescript
127-
import { TorboxApi } from '@torbox/torbox-api';
127+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
128128

129129
(async () => {
130130
const torboxApi = new TorboxApi({
@@ -156,7 +156,7 @@ import { TorboxApi } from '@torbox/torbox-api';
156156
**Example Usage Code Snippet**
157157

158158
```typescript
159-
import { TorboxApi } from '@torbox/torbox-api';
159+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
160160

161161
(async () => {
162162
const torboxApi = new TorboxApi({
@@ -191,7 +191,7 @@ import { TorboxApi } from '@torbox/torbox-api';
191191
**Example Usage Code Snippet**
192192

193193
```typescript
194-
import { TorboxApi } from '@torbox/torbox-api';
194+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
195195

196196
(async () => {
197197
const torboxApi = new TorboxApi({
@@ -225,7 +225,7 @@ import { TorboxApi } from '@torbox/torbox-api';
225225
**Example Usage Code Snippet**
226226

227227
```typescript
228-
import { TorboxApi } from '@torbox/torbox-api';
228+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
229229

230230
(async () => {
231231
const torboxApi = new TorboxApi({
@@ -259,7 +259,7 @@ import { TorboxApi } from '@torbox/torbox-api';
259259
**Example Usage Code Snippet**
260260

261261
```typescript
262-
import { TorboxApi } from '@torbox/torbox-api';
262+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
263263

264264
(async () => {
265265
const torboxApi = new TorboxApi({

documentation/services/NotificationsService.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A list of all methods in the `NotificationsService` service. Click on the method
3131
**Example Usage Code Snippet**
3232

3333
```typescript
34-
import { TorboxApi } from '@torbox/torbox-api';
34+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
3535

3636
(async () => {
3737
const torboxApi = new TorboxApi({
@@ -66,7 +66,7 @@ import { TorboxApi } from '@torbox/torbox-api';
6666
**Example Usage Code Snippet**
6767

6868
```typescript
69-
import { TorboxApi } from '@torbox/torbox-api';
69+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
7070

7171
(async () => {
7272
const torboxApi = new TorboxApi({
@@ -95,7 +95,7 @@ import { TorboxApi } from '@torbox/torbox-api';
9595
**Example Usage Code Snippet**
9696

9797
```typescript
98-
import { TorboxApi } from '@torbox/torbox-api';
98+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
9999

100100
(async () => {
101101
const torboxApi = new TorboxApi({
@@ -125,7 +125,7 @@ import { TorboxApi } from '@torbox/torbox-api';
125125
**Example Usage Code Snippet**
126126

127127
```typescript
128-
import { TorboxApi } from '@torbox/torbox-api';
128+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
129129

130130
(async () => {
131131
const torboxApi = new TorboxApi({
@@ -154,7 +154,7 @@ import { TorboxApi } from '@torbox/torbox-api';
154154
**Example Usage Code Snippet**
155155

156156
```typescript
157-
import { TorboxApi } from '@torbox/torbox-api';
157+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
158158

159159
(async () => {
160160
const torboxApi = new TorboxApi({

documentation/services/RssFeedsService.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A list of all methods in the `RssFeedsService` service. Click on the method name
2525
**Example Usage Code Snippet**
2626

2727
```typescript
28-
import { TorboxApi } from '@torbox/torbox-api';
28+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
2929

3030
(async () => {
3131
const torboxApi = new TorboxApi({
@@ -57,7 +57,7 @@ import { TorboxApi } from '@torbox/torbox-api';
5757
**Example Usage Code Snippet**
5858

5959
```typescript
60-
import { TorboxApi } from '@torbox/torbox-api';
60+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
6161

6262
(async () => {
6363
const torboxApi = new TorboxApi({
@@ -89,7 +89,7 @@ import { TorboxApi } from '@torbox/torbox-api';
8989
**Example Usage Code Snippet**
9090

9191
```typescript
92-
import { TorboxApi } from '@torbox/torbox-api';
92+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
9393

9494
(async () => {
9595
const torboxApi = new TorboxApi({

documentation/services/TorrentsService.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A list of all methods in the `TorrentsService` service. Click on the method name
3636
**Example Usage Code Snippet**
3737

3838
```typescript
39-
import { CreateTorrentRequest, TorboxApi } from '@torbox/torbox-api';
39+
import { CreateTorrentRequest, TorboxApi } from '@torbox/@torbox/torbox-api';
4040

4141
(async () => {
4242
const torboxApi = new TorboxApi({
@@ -75,7 +75,7 @@ import { CreateTorrentRequest, TorboxApi } from '@torbox/torbox-api';
7575
**Example Usage Code Snippet**
7676

7777
```typescript
78-
import { TorboxApi } from '@torbox/torbox-api';
78+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
7979

8080
(async () => {
8181
const torboxApi = new TorboxApi({
@@ -111,7 +111,7 @@ import { TorboxApi } from '@torbox/torbox-api';
111111
**Example Usage Code Snippet**
112112

113113
```typescript
114-
import { TorboxApi } from '@torbox/torbox-api';
114+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
115115

116116
(async () => {
117117
const torboxApi = new TorboxApi({
@@ -152,7 +152,7 @@ import { TorboxApi } from '@torbox/torbox-api';
152152
**Example Usage Code Snippet**
153153

154154
```typescript
155-
import { TorboxApi } from '@torbox/torbox-api';
155+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
156156

157157
(async () => {
158158
const torboxApi = new TorboxApi({
@@ -196,7 +196,7 @@ import { TorboxApi } from '@torbox/torbox-api';
196196
**Example Usage Code Snippet**
197197

198198
```typescript
199-
import { TorboxApi } from '@torbox/torbox-api';
199+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
200200

201201
(async () => {
202202
const torboxApi = new TorboxApi({
@@ -237,7 +237,7 @@ import { TorboxApi } from '@torbox/torbox-api';
237237
**Example Usage Code Snippet**
238238

239239
```typescript
240-
import { TorboxApi } from '@torbox/torbox-api';
240+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
241241

242242
(async () => {
243243
const torboxApi = new TorboxApi({
@@ -275,7 +275,7 @@ import { TorboxApi } from '@torbox/torbox-api';
275275
**Example Usage Code Snippet**
276276

277277
```typescript
278-
import { TorboxApi } from '@torbox/torbox-api';
278+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
279279

280280
(async () => {
281281
const torboxApi = new TorboxApi({
@@ -312,7 +312,7 @@ import { TorboxApi } from '@torbox/torbox-api';
312312
**Example Usage Code Snippet**
313313

314314
```typescript
315-
import { TorboxApi } from '@torbox/torbox-api';
315+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
316316

317317
(async () => {
318318
const torboxApi = new TorboxApi({
@@ -350,7 +350,7 @@ import { TorboxApi } from '@torbox/torbox-api';
350350
**Example Usage Code Snippet**
351351

352352
```typescript
353-
import { TorboxApi } from '@torbox/torbox-api';
353+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
354354

355355
(async () => {
356356
const torboxApi = new TorboxApi({
@@ -382,7 +382,7 @@ import { TorboxApi } from '@torbox/torbox-api';
382382
**Example Usage Code Snippet**
383383

384384
```typescript
385-
import { TorboxApi } from '@torbox/torbox-api';
385+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
386386

387387
(async () => {
388388
const torboxApi = new TorboxApi({

documentation/services/UsenetService.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A list of all methods in the `UsenetService` service. Click on the method name t
3131
**Example Usage Code Snippet**
3232

3333
```typescript
34-
import { CreateUsenetDownloadRequest, TorboxApi } from '@torbox/torbox-api';
34+
import { CreateUsenetDownloadRequest, TorboxApi } from '@torbox/@torbox/torbox-api';
3535

3636
(async () => {
3737
const torboxApi = new TorboxApi({
@@ -66,7 +66,7 @@ import { CreateUsenetDownloadRequest, TorboxApi } from '@torbox/torbox-api';
6666
**Example Usage Code Snippet**
6767

6868
```typescript
69-
import { TorboxApi } from '@torbox/torbox-api';
69+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
7070

7171
(async () => {
7272
const torboxApi = new TorboxApi({
@@ -103,7 +103,7 @@ import { TorboxApi } from '@torbox/torbox-api';
103103
**Example Usage Code Snippet**
104104

105105
```typescript
106-
import { TorboxApi } from '@torbox/torbox-api';
106+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
107107

108108
(async () => {
109109
const torboxApi = new TorboxApi({
@@ -147,7 +147,7 @@ import { TorboxApi } from '@torbox/torbox-api';
147147
**Example Usage Code Snippet**
148148

149149
```typescript
150-
import { TorboxApi } from '@torbox/torbox-api';
150+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
151151

152152
(async () => {
153153
const torboxApi = new TorboxApi({
@@ -183,7 +183,7 @@ import { TorboxApi } from '@torbox/torbox-api';
183183
**Example Usage Code Snippet**
184184

185185
```typescript
186-
import { TorboxApi } from '@torbox/torbox-api';
186+
import { TorboxApi } from '@torbox/@torbox/torbox-api';
187187

188188
(async () => {
189189
const torboxApi = new TorboxApi({

0 commit comments

Comments
 (0)