@digital8/laravel-auth-template-ts-sdk 0.0.7 → 0.0.8

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 (73) hide show
  1. package/.openapi-generator/FILES +31 -2
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +121 -28
  4. package/dist/apis/{AuthApi.d.ts → GeneralApi.d.ts} +47 -2
  5. package/dist/apis/{AuthApi.js → GeneralApi.js} +200 -16
  6. package/dist/apis/index.d.ts +1 -2
  7. package/dist/apis/index.js +1 -2
  8. package/dist/models/AssetFileForUploadResource.d.ts +50 -0
  9. package/dist/models/AssetFileForUploadResource.js +63 -0
  10. package/dist/models/AssetFileForUploadResourceArrayResponse.d.ts +33 -0
  11. package/dist/models/AssetFileForUploadResourceArrayResponse.js +50 -0
  12. package/dist/models/AssetLiteResource.d.ts +38 -0
  13. package/dist/models/AssetLiteResource.js +55 -0
  14. package/dist/models/AssetLiteResourceArrayResponse.d.ts +33 -0
  15. package/dist/models/AssetLiteResourceArrayResponse.js +50 -0
  16. package/dist/models/AssetResource.d.ts +68 -0
  17. package/dist/models/AssetResource.js +75 -0
  18. package/dist/models/AssetResourceArrayResponse.d.ts +33 -0
  19. package/dist/models/AssetResourceArrayResponse.js +50 -0
  20. package/dist/models/IndexUserRequest.d.ts +28 -4
  21. package/dist/models/IndexUserRequest.js +25 -6
  22. package/dist/models/StoreAssetFileRequest.d.ts +38 -0
  23. package/dist/models/StoreAssetFileRequest.js +55 -0
  24. package/dist/models/UpdateUserRequest.d.ts +13 -1
  25. package/dist/models/UpdateUserRequest.js +12 -0
  26. package/dist/models/UserAuthTokenResourceArrayResponse.d.ts +33 -0
  27. package/dist/models/UserAuthTokenResourceArrayResponse.js +50 -0
  28. package/dist/models/UserResource.d.ts +7 -0
  29. package/dist/models/UserResource.js +7 -3
  30. package/dist/models/UserResourceArrayResponse.d.ts +33 -0
  31. package/dist/models/UserResourceArrayResponse.js +50 -0
  32. package/dist/models/index.d.ts +9 -0
  33. package/dist/models/index.js +9 -0
  34. package/docs/AssetFileForUploadResource.md +40 -0
  35. package/docs/AssetFileForUploadResourceArrayResponse.md +34 -0
  36. package/docs/AssetLiteResource.md +36 -0
  37. package/docs/AssetLiteResourceArrayResponse.md +34 -0
  38. package/docs/AssetResource.md +46 -0
  39. package/docs/AssetResourceArrayResponse.md +34 -0
  40. package/docs/GeneralApi.md +597 -0
  41. package/docs/GenericResponse.md +34 -0
  42. package/docs/IndexUserRequest.md +42 -0
  43. package/docs/LoginAuthRequest.md +36 -0
  44. package/docs/PaginatedUserResourceResponse.md +36 -0
  45. package/docs/PagingMetadata.md +46 -0
  46. package/docs/ResetPasswordAuthRequest.md +38 -0
  47. package/docs/SendForgotPasswordLinkAuthRequest.md +34 -0
  48. package/docs/StoreAssetFileRequest.md +36 -0
  49. package/docs/StoreUserRequest.md +40 -0
  50. package/docs/UpdateUserRequest.md +50 -0
  51. package/docs/UserAuthTokenResource.md +36 -0
  52. package/docs/UserAuthTokenResourceArrayResponse.md +34 -0
  53. package/docs/UserResource.md +50 -0
  54. package/docs/UserResourceArrayResponse.md +34 -0
  55. package/package.json +2 -2
  56. package/src/apis/{AuthApi.ts → GeneralApi.ts} +174 -1
  57. package/src/apis/index.ts +1 -2
  58. package/src/models/AssetFileForUploadResource.ts +93 -0
  59. package/src/models/AssetFileForUploadResourceArrayResponse.ts +73 -0
  60. package/src/models/AssetLiteResource.ts +75 -0
  61. package/src/models/AssetLiteResourceArrayResponse.ts +73 -0
  62. package/src/models/AssetResource.ts +120 -0
  63. package/src/models/AssetResourceArrayResponse.ts +73 -0
  64. package/src/models/IndexUserRequest.ts +40 -10
  65. package/src/models/StoreAssetFileRequest.ts +75 -0
  66. package/src/models/UpdateUserRequest.ts +16 -1
  67. package/src/models/UserAuthTokenResourceArrayResponse.ts +73 -0
  68. package/src/models/UserResource.ts +19 -2
  69. package/src/models/UserResourceArrayResponse.ts +73 -0
  70. package/src/models/index.ts +9 -0
  71. package/dist/apis/UsersApi.d.ts +0 -52
  72. package/dist/apis/UsersApi.js +0 -219
  73. package/src/apis/UsersApi.ts +0 -164
@@ -0,0 +1,597 @@
1
+ # GeneralApi
2
+
3
+ All URIs are relative to *http://localhost/api*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**destroyUser**](GeneralApi.md#destroyuser) | **POST** /api/users/{user}/delete | Auto-generated: destroyUser |
8
+ | [**indexUser**](GeneralApi.md#indexuseroperation) | **POST** /api/users/search | Auto-generated: indexUser |
9
+ | [**loginAuth**](GeneralApi.md#loginauthoperation) | **POST** /api/auth/login | Auto-generated: loginAuth |
10
+ | [**logoutAuth**](GeneralApi.md#logoutauth) | **POST** /api/auth/logout | Auto-generated: logoutAuth |
11
+ | [**resetPasswordAuth**](GeneralApi.md#resetpasswordauthoperation) | **POST** /api/auth/reset-password | Auto-generated: resetPasswordAuth |
12
+ | [**sendForgotPasswordLinkAuth**](GeneralApi.md#sendforgotpasswordlinkauthoperation) | **POST** /api/auth/forgot-password | Auto-generated: sendForgotPasswordLinkAuth |
13
+ | [**storeAssetFile**](GeneralApi.md#storeassetfileoperation) | **POST** /api/assets/file | Auto-generated: storeAssetFile |
14
+ | [**storeUser**](GeneralApi.md#storeuseroperation) | **POST** /api/auth/register | Auto-generated: storeUser |
15
+ | [**updateUser**](GeneralApi.md#updateuseroperation) | **POST** /api/users/{user}/update | Auto-generated: updateUser |
16
+
17
+
18
+
19
+ ## destroyUser
20
+
21
+ > GenericResponse destroyUser(user)
22
+
23
+ Auto-generated: destroyUser
24
+
25
+ ### Example
26
+
27
+ ```ts
28
+ import {
29
+ Configuration,
30
+ GeneralApi,
31
+ } from '@digital8/laravel-auth-template-ts-sdk';
32
+ import type { DestroyUserRequest } from '@digital8/laravel-auth-template-ts-sdk';
33
+
34
+ async function example() {
35
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
36
+ const api = new GeneralApi();
37
+
38
+ const body = {
39
+ // number | The id of the user
40
+ user: 56,
41
+ } satisfies DestroyUserRequest;
42
+
43
+ try {
44
+ const data = await api.destroyUser(body);
45
+ console.log(data);
46
+ } catch (error) {
47
+ console.error(error);
48
+ }
49
+ }
50
+
51
+ // Run the test
52
+ example().catch(console.error);
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+
58
+ | Name | Type | Description | Notes |
59
+ |------------- | ------------- | ------------- | -------------|
60
+ | **user** | `number` | The id of the user | [Defaults to `undefined`] |
61
+
62
+ ### Return type
63
+
64
+ [**GenericResponse**](GenericResponse.md)
65
+
66
+ ### Authorization
67
+
68
+ No authorization required
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: Not defined
73
+ - **Accept**: `application/json`
74
+
75
+
76
+ ### HTTP response details
77
+ | Status code | Description | Response headers |
78
+ |-------------|-------------|------------------|
79
+ | **200** | \\JsonResponse | - |
80
+
81
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
82
+
83
+
84
+ ## indexUser
85
+
86
+ > PaginatedUserResourceResponse indexUser(indexUserRequest)
87
+
88
+ Auto-generated: indexUser
89
+
90
+ ### Example
91
+
92
+ ```ts
93
+ import {
94
+ Configuration,
95
+ GeneralApi,
96
+ } from '@digital8/laravel-auth-template-ts-sdk';
97
+ import type { IndexUserOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
98
+
99
+ async function example() {
100
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
101
+ const api = new GeneralApi();
102
+
103
+ const body = {
104
+ // IndexUserRequest (optional)
105
+ indexUserRequest: ...,
106
+ } satisfies IndexUserOperationRequest;
107
+
108
+ try {
109
+ const data = await api.indexUser(body);
110
+ console.log(data);
111
+ } catch (error) {
112
+ console.error(error);
113
+ }
114
+ }
115
+
116
+ // Run the test
117
+ example().catch(console.error);
118
+ ```
119
+
120
+ ### Parameters
121
+
122
+
123
+ | Name | Type | Description | Notes |
124
+ |------------- | ------------- | ------------- | -------------|
125
+ | **indexUserRequest** | [IndexUserRequest](IndexUserRequest.md) | | [Optional] |
126
+
127
+ ### Return type
128
+
129
+ [**PaginatedUserResourceResponse**](PaginatedUserResourceResponse.md)
130
+
131
+ ### Authorization
132
+
133
+ No authorization required
134
+
135
+ ### HTTP request headers
136
+
137
+ - **Content-Type**: `application/json`
138
+ - **Accept**: `application/json`
139
+
140
+
141
+ ### HTTP response details
142
+ | Status code | Description | Response headers |
143
+ |-------------|-------------|------------------|
144
+ | **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\UserResource[]>> | - |
145
+
146
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
147
+
148
+
149
+ ## loginAuth
150
+
151
+ > UserAuthTokenResource loginAuth(loginAuthRequest)
152
+
153
+ Auto-generated: loginAuth
154
+
155
+ ### Example
156
+
157
+ ```ts
158
+ import {
159
+ Configuration,
160
+ GeneralApi,
161
+ } from '@digital8/laravel-auth-template-ts-sdk';
162
+ import type { LoginAuthOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
163
+
164
+ async function example() {
165
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
166
+ const api = new GeneralApi();
167
+
168
+ const body = {
169
+ // LoginAuthRequest (optional)
170
+ loginAuthRequest: ...,
171
+ } satisfies LoginAuthOperationRequest;
172
+
173
+ try {
174
+ const data = await api.loginAuth(body);
175
+ console.log(data);
176
+ } catch (error) {
177
+ console.error(error);
178
+ }
179
+ }
180
+
181
+ // Run the test
182
+ example().catch(console.error);
183
+ ```
184
+
185
+ ### Parameters
186
+
187
+
188
+ | Name | Type | Description | Notes |
189
+ |------------- | ------------- | ------------- | -------------|
190
+ | **loginAuthRequest** | [LoginAuthRequest](LoginAuthRequest.md) | | [Optional] |
191
+
192
+ ### Return type
193
+
194
+ [**UserAuthTokenResource**](UserAuthTokenResource.md)
195
+
196
+ ### Authorization
197
+
198
+ No authorization required
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: `application/json`
203
+ - **Accept**: `application/json`
204
+
205
+
206
+ ### HTTP response details
207
+ | Status code | Description | Response headers |
208
+ |-------------|-------------|------------------|
209
+ | **200** | Successful resource response | - |
210
+
211
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
212
+
213
+
214
+ ## logoutAuth
215
+
216
+ > GenericResponse logoutAuth()
217
+
218
+ Auto-generated: logoutAuth
219
+
220
+ ### Example
221
+
222
+ ```ts
223
+ import {
224
+ Configuration,
225
+ GeneralApi,
226
+ } from '@digital8/laravel-auth-template-ts-sdk';
227
+ import type { LogoutAuthRequest } from '@digital8/laravel-auth-template-ts-sdk';
228
+
229
+ async function example() {
230
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
231
+ const api = new GeneralApi();
232
+
233
+ try {
234
+ const data = await api.logoutAuth();
235
+ console.log(data);
236
+ } catch (error) {
237
+ console.error(error);
238
+ }
239
+ }
240
+
241
+ // Run the test
242
+ example().catch(console.error);
243
+ ```
244
+
245
+ ### Parameters
246
+
247
+ This endpoint does not need any parameter.
248
+
249
+ ### Return type
250
+
251
+ [**GenericResponse**](GenericResponse.md)
252
+
253
+ ### Authorization
254
+
255
+ No authorization required
256
+
257
+ ### HTTP request headers
258
+
259
+ - **Content-Type**: Not defined
260
+ - **Accept**: `application/json`
261
+
262
+
263
+ ### HTTP response details
264
+ | Status code | Description | Response headers |
265
+ |-------------|-------------|------------------|
266
+ | **200** | \\JsonResponse | - |
267
+
268
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
269
+
270
+
271
+ ## resetPasswordAuth
272
+
273
+ > GenericResponse resetPasswordAuth(resetPasswordAuthRequest)
274
+
275
+ Auto-generated: resetPasswordAuth
276
+
277
+ ### Example
278
+
279
+ ```ts
280
+ import {
281
+ Configuration,
282
+ GeneralApi,
283
+ } from '@digital8/laravel-auth-template-ts-sdk';
284
+ import type { ResetPasswordAuthOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
285
+
286
+ async function example() {
287
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
288
+ const api = new GeneralApi();
289
+
290
+ const body = {
291
+ // ResetPasswordAuthRequest (optional)
292
+ resetPasswordAuthRequest: ...,
293
+ } satisfies ResetPasswordAuthOperationRequest;
294
+
295
+ try {
296
+ const data = await api.resetPasswordAuth(body);
297
+ console.log(data);
298
+ } catch (error) {
299
+ console.error(error);
300
+ }
301
+ }
302
+
303
+ // Run the test
304
+ example().catch(console.error);
305
+ ```
306
+
307
+ ### Parameters
308
+
309
+
310
+ | Name | Type | Description | Notes |
311
+ |------------- | ------------- | ------------- | -------------|
312
+ | **resetPasswordAuthRequest** | [ResetPasswordAuthRequest](ResetPasswordAuthRequest.md) | | [Optional] |
313
+
314
+ ### Return type
315
+
316
+ [**GenericResponse**](GenericResponse.md)
317
+
318
+ ### Authorization
319
+
320
+ No authorization required
321
+
322
+ ### HTTP request headers
323
+
324
+ - **Content-Type**: `application/json`
325
+ - **Accept**: `application/json`
326
+
327
+
328
+ ### HTTP response details
329
+ | Status code | Description | Response headers |
330
+ |-------------|-------------|------------------|
331
+ | **200** | \\JsonResponse | - |
332
+
333
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
334
+
335
+
336
+ ## sendForgotPasswordLinkAuth
337
+
338
+ > GenericResponse sendForgotPasswordLinkAuth(sendForgotPasswordLinkAuthRequest)
339
+
340
+ Auto-generated: sendForgotPasswordLinkAuth
341
+
342
+ ### Example
343
+
344
+ ```ts
345
+ import {
346
+ Configuration,
347
+ GeneralApi,
348
+ } from '@digital8/laravel-auth-template-ts-sdk';
349
+ import type { SendForgotPasswordLinkAuthOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
350
+
351
+ async function example() {
352
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
353
+ const api = new GeneralApi();
354
+
355
+ const body = {
356
+ // SendForgotPasswordLinkAuthRequest (optional)
357
+ sendForgotPasswordLinkAuthRequest: ...,
358
+ } satisfies SendForgotPasswordLinkAuthOperationRequest;
359
+
360
+ try {
361
+ const data = await api.sendForgotPasswordLinkAuth(body);
362
+ console.log(data);
363
+ } catch (error) {
364
+ console.error(error);
365
+ }
366
+ }
367
+
368
+ // Run the test
369
+ example().catch(console.error);
370
+ ```
371
+
372
+ ### Parameters
373
+
374
+
375
+ | Name | Type | Description | Notes |
376
+ |------------- | ------------- | ------------- | -------------|
377
+ | **sendForgotPasswordLinkAuthRequest** | [SendForgotPasswordLinkAuthRequest](SendForgotPasswordLinkAuthRequest.md) | | [Optional] |
378
+
379
+ ### Return type
380
+
381
+ [**GenericResponse**](GenericResponse.md)
382
+
383
+ ### Authorization
384
+
385
+ No authorization required
386
+
387
+ ### HTTP request headers
388
+
389
+ - **Content-Type**: `application/json`
390
+ - **Accept**: `application/json`
391
+
392
+
393
+ ### HTTP response details
394
+ | Status code | Description | Response headers |
395
+ |-------------|-------------|------------------|
396
+ | **200** | \\JsonResponse | - |
397
+
398
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
399
+
400
+
401
+ ## storeAssetFile
402
+
403
+ > AssetFileForUploadResource storeAssetFile(storeAssetFileRequest)
404
+
405
+ Auto-generated: storeAssetFile
406
+
407
+ ### Example
408
+
409
+ ```ts
410
+ import {
411
+ Configuration,
412
+ GeneralApi,
413
+ } from '@digital8/laravel-auth-template-ts-sdk';
414
+ import type { StoreAssetFileOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
415
+
416
+ async function example() {
417
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
418
+ const api = new GeneralApi();
419
+
420
+ const body = {
421
+ // StoreAssetFileRequest (optional)
422
+ storeAssetFileRequest: ...,
423
+ } satisfies StoreAssetFileOperationRequest;
424
+
425
+ try {
426
+ const data = await api.storeAssetFile(body);
427
+ console.log(data);
428
+ } catch (error) {
429
+ console.error(error);
430
+ }
431
+ }
432
+
433
+ // Run the test
434
+ example().catch(console.error);
435
+ ```
436
+
437
+ ### Parameters
438
+
439
+
440
+ | Name | Type | Description | Notes |
441
+ |------------- | ------------- | ------------- | -------------|
442
+ | **storeAssetFileRequest** | [StoreAssetFileRequest](StoreAssetFileRequest.md) | | [Optional] |
443
+
444
+ ### Return type
445
+
446
+ [**AssetFileForUploadResource**](AssetFileForUploadResource.md)
447
+
448
+ ### Authorization
449
+
450
+ No authorization required
451
+
452
+ ### HTTP request headers
453
+
454
+ - **Content-Type**: `application/json`
455
+ - **Accept**: `application/json`
456
+
457
+
458
+ ### HTTP response details
459
+ | Status code | Description | Response headers |
460
+ |-------------|-------------|------------------|
461
+ | **200** | Successful resource response | - |
462
+
463
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
464
+
465
+
466
+ ## storeUser
467
+
468
+ > UserResource storeUser(storeUserRequest)
469
+
470
+ Auto-generated: storeUser
471
+
472
+ ### Example
473
+
474
+ ```ts
475
+ import {
476
+ Configuration,
477
+ GeneralApi,
478
+ } from '@digital8/laravel-auth-template-ts-sdk';
479
+ import type { StoreUserOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
480
+
481
+ async function example() {
482
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
483
+ const api = new GeneralApi();
484
+
485
+ const body = {
486
+ // StoreUserRequest (optional)
487
+ storeUserRequest: ...,
488
+ } satisfies StoreUserOperationRequest;
489
+
490
+ try {
491
+ const data = await api.storeUser(body);
492
+ console.log(data);
493
+ } catch (error) {
494
+ console.error(error);
495
+ }
496
+ }
497
+
498
+ // Run the test
499
+ example().catch(console.error);
500
+ ```
501
+
502
+ ### Parameters
503
+
504
+
505
+ | Name | Type | Description | Notes |
506
+ |------------- | ------------- | ------------- | -------------|
507
+ | **storeUserRequest** | [StoreUserRequest](StoreUserRequest.md) | | [Optional] |
508
+
509
+ ### Return type
510
+
511
+ [**UserResource**](UserResource.md)
512
+
513
+ ### Authorization
514
+
515
+ No authorization required
516
+
517
+ ### HTTP request headers
518
+
519
+ - **Content-Type**: `application/json`
520
+ - **Accept**: `application/json`
521
+
522
+
523
+ ### HTTP response details
524
+ | Status code | Description | Response headers |
525
+ |-------------|-------------|------------------|
526
+ | **200** | Successful resource response | - |
527
+
528
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
529
+
530
+
531
+ ## updateUser
532
+
533
+ > UserResource updateUser(user, updateUserRequest)
534
+
535
+ Auto-generated: updateUser
536
+
537
+ ### Example
538
+
539
+ ```ts
540
+ import {
541
+ Configuration,
542
+ GeneralApi,
543
+ } from '@digital8/laravel-auth-template-ts-sdk';
544
+ import type { UpdateUserOperationRequest } from '@digital8/laravel-auth-template-ts-sdk';
545
+
546
+ async function example() {
547
+ console.log("🚀 Testing @digital8/laravel-auth-template-ts-sdk SDK...");
548
+ const api = new GeneralApi();
549
+
550
+ const body = {
551
+ // number | The id of the user
552
+ user: 56,
553
+ // UpdateUserRequest (optional)
554
+ updateUserRequest: ...,
555
+ } satisfies UpdateUserOperationRequest;
556
+
557
+ try {
558
+ const data = await api.updateUser(body);
559
+ console.log(data);
560
+ } catch (error) {
561
+ console.error(error);
562
+ }
563
+ }
564
+
565
+ // Run the test
566
+ example().catch(console.error);
567
+ ```
568
+
569
+ ### Parameters
570
+
571
+
572
+ | Name | Type | Description | Notes |
573
+ |------------- | ------------- | ------------- | -------------|
574
+ | **user** | `number` | The id of the user | [Defaults to `undefined`] |
575
+ | **updateUserRequest** | [UpdateUserRequest](UpdateUserRequest.md) | | [Optional] |
576
+
577
+ ### Return type
578
+
579
+ [**UserResource**](UserResource.md)
580
+
581
+ ### Authorization
582
+
583
+ No authorization required
584
+
585
+ ### HTTP request headers
586
+
587
+ - **Content-Type**: `application/json`
588
+ - **Accept**: `application/json`
589
+
590
+
591
+ ### HTTP response details
592
+ | Status code | Description | Response headers |
593
+ |-------------|-------------|------------------|
594
+ | **200** | Successful resource response | - |
595
+
596
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
597
+
@@ -0,0 +1,34 @@
1
+
2
+ # GenericResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `message` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { GenericResponse } from '@digital8/laravel-auth-template-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "message": null,
19
+ } satisfies GenericResponse
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as GenericResponse
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,42 @@
1
+
2
+ # IndexUserRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `search` | string
10
+ `sortBy` | string
11
+ `sortDirection` | string
12
+ `perPage` | number
13
+ `page` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { IndexUserRequest } from '@digital8/laravel-auth-template-ts-sdk'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "search": null,
23
+ "sortBy": null,
24
+ "sortDirection": null,
25
+ "perPage": null,
26
+ "page": null,
27
+ } satisfies IndexUserRequest
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as IndexUserRequest
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,36 @@
1
+
2
+ # LoginAuthRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `email` | string
10
+ `password` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { LoginAuthRequest } from '@digital8/laravel-auth-template-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "email": null,
20
+ "password": null,
21
+ } satisfies LoginAuthRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as LoginAuthRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+