@digital8/laravel-auth-template-ts-sdk 0.0.6 → 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.
- package/.openapi-generator/FILES +31 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +121 -28
- package/dist/apis/{DefaultApi.d.ts → GeneralApi.d.ts} +13 -2
- package/dist/apis/{DefaultApi.js → GeneralApi.js} +67 -22
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetFileForUploadResource.d.ts +50 -0
- package/dist/models/AssetFileForUploadResource.js +63 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.js +50 -0
- package/dist/models/AssetLiteResource.d.ts +38 -0
- package/dist/models/AssetLiteResource.js +55 -0
- package/dist/models/AssetLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetLiteResourceArrayResponse.js +50 -0
- package/dist/models/AssetResource.d.ts +68 -0
- package/dist/models/AssetResource.js +75 -0
- package/dist/models/AssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetResourceArrayResponse.js +50 -0
- package/dist/models/IndexUserRequest.d.ts +28 -4
- package/dist/models/IndexUserRequest.js +25 -6
- package/dist/models/StoreAssetFileRequest.d.ts +38 -0
- package/dist/models/StoreAssetFileRequest.js +55 -0
- package/dist/models/UpdateUserRequest.d.ts +13 -1
- package/dist/models/UpdateUserRequest.js +12 -0
- package/dist/models/UserAuthTokenResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserAuthTokenResourceArrayResponse.js +50 -0
- package/dist/models/UserResource.d.ts +7 -0
- package/dist/models/UserResource.js +7 -3
- package/dist/models/UserResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/AssetFileForUploadResource.md +40 -0
- package/docs/AssetFileForUploadResourceArrayResponse.md +34 -0
- package/docs/AssetLiteResource.md +36 -0
- package/docs/AssetLiteResourceArrayResponse.md +34 -0
- package/docs/AssetResource.md +46 -0
- package/docs/AssetResourceArrayResponse.md +34 -0
- package/docs/GeneralApi.md +597 -0
- package/docs/GenericResponse.md +34 -0
- package/docs/IndexUserRequest.md +42 -0
- package/docs/LoginAuthRequest.md +36 -0
- package/docs/PaginatedUserResourceResponse.md +36 -0
- package/docs/PagingMetadata.md +46 -0
- package/docs/ResetPasswordAuthRequest.md +38 -0
- package/docs/SendForgotPasswordLinkAuthRequest.md +34 -0
- package/docs/StoreAssetFileRequest.md +36 -0
- package/docs/StoreUserRequest.md +40 -0
- package/docs/UpdateUserRequest.md +50 -0
- package/docs/UserAuthTokenResource.md +36 -0
- package/docs/UserAuthTokenResourceArrayResponse.md +34 -0
- package/docs/UserResource.md +50 -0
- package/docs/UserResourceArrayResponse.md +34 -0
- package/package.json +2 -2
- package/src/apis/{DefaultApi.ts → GeneralApi.ts} +43 -1
- package/src/apis/index.ts +1 -1
- package/src/models/AssetFileForUploadResource.ts +93 -0
- package/src/models/AssetFileForUploadResourceArrayResponse.ts +73 -0
- package/src/models/AssetLiteResource.ts +75 -0
- package/src/models/AssetLiteResourceArrayResponse.ts +73 -0
- package/src/models/AssetResource.ts +120 -0
- package/src/models/AssetResourceArrayResponse.ts +73 -0
- package/src/models/IndexUserRequest.ts +40 -10
- package/src/models/StoreAssetFileRequest.ts +75 -0
- package/src/models/UpdateUserRequest.ts +16 -1
- package/src/models/UserAuthTokenResourceArrayResponse.ts +73 -0
- package/src/models/UserResource.ts +19 -2
- package/src/models/UserResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +9 -0
|
@@ -13,11 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UpdateUserRequestTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
|
|
17
18
|
exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
|
|
18
19
|
exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
|
|
19
20
|
exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
|
|
20
21
|
exports.UpdateUserRequestToJSONTyped = UpdateUserRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.UpdateUserRequestTypeEnum = {
|
|
26
|
+
Owner: 'OWNER',
|
|
27
|
+
Admin: 'ADMIN',
|
|
28
|
+
Manager: 'MANAGER',
|
|
29
|
+
Estimator: 'ESTIMATOR',
|
|
30
|
+
Supervisor: 'SUPERVISOR',
|
|
31
|
+
Tradesman: 'TRADESMAN'
|
|
32
|
+
};
|
|
21
33
|
/**
|
|
22
34
|
* Check if a given object implements the UpdateUserRequest interface.
|
|
23
35
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UserAuthTokenResource } from './UserAuthTokenResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserAuthTokenResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface UserAuthTokenResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UserAuthTokenResource>}
|
|
22
|
+
* @memberof UserAuthTokenResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<UserAuthTokenResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UserAuthTokenResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUserAuthTokenResourceArrayResponse(value: object): value is UserAuthTokenResourceArrayResponse;
|
|
30
|
+
export declare function UserAuthTokenResourceArrayResponseFromJSON(json: any): UserAuthTokenResourceArrayResponse;
|
|
31
|
+
export declare function UserAuthTokenResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAuthTokenResourceArrayResponse;
|
|
32
|
+
export declare function UserAuthTokenResourceArrayResponseToJSON(json: any): UserAuthTokenResourceArrayResponse;
|
|
33
|
+
export declare function UserAuthTokenResourceArrayResponseToJSONTyped(value?: UserAuthTokenResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserAuthTokenResourceArrayResponse = instanceOfUserAuthTokenResourceArrayResponse;
|
|
17
|
+
exports.UserAuthTokenResourceArrayResponseFromJSON = UserAuthTokenResourceArrayResponseFromJSON;
|
|
18
|
+
exports.UserAuthTokenResourceArrayResponseFromJSONTyped = UserAuthTokenResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.UserAuthTokenResourceArrayResponseToJSON = UserAuthTokenResourceArrayResponseToJSON;
|
|
20
|
+
exports.UserAuthTokenResourceArrayResponseToJSONTyped = UserAuthTokenResourceArrayResponseToJSONTyped;
|
|
21
|
+
var UserAuthTokenResource_1 = require("./UserAuthTokenResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UserAuthTokenResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUserAuthTokenResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function UserAuthTokenResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return UserAuthTokenResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function UserAuthTokenResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(UserAuthTokenResource_1.UserAuthTokenResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UserAuthTokenResourceArrayResponseToJSON(json) {
|
|
40
|
+
return UserAuthTokenResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UserAuthTokenResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(UserAuthTokenResource_1.UserAuthTokenResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AssetLiteResource } from './AssetLiteResource';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface UserResource {
|
|
|
51
52
|
* @memberof UserResource
|
|
52
53
|
*/
|
|
53
54
|
mobile: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<AssetLiteResource>}
|
|
58
|
+
* @memberof UserResource
|
|
59
|
+
*/
|
|
60
|
+
assets: Array<AssetLiteResource> | null;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {Date}
|
|
@@ -18,6 +18,7 @@ exports.UserResourceFromJSON = UserResourceFromJSON;
|
|
|
18
18
|
exports.UserResourceFromJSONTyped = UserResourceFromJSONTyped;
|
|
19
19
|
exports.UserResourceToJSON = UserResourceToJSON;
|
|
20
20
|
exports.UserResourceToJSONTyped = UserResourceToJSONTyped;
|
|
21
|
+
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the UserResource interface.
|
|
23
24
|
*/
|
|
@@ -34,6 +35,8 @@ function instanceOfUserResource(value) {
|
|
|
34
35
|
return false;
|
|
35
36
|
if (!('mobile' in value) || value['mobile'] === undefined)
|
|
36
37
|
return false;
|
|
38
|
+
if (!('assets' in value) || value['assets'] === undefined)
|
|
39
|
+
return false;
|
|
37
40
|
return true;
|
|
38
41
|
}
|
|
39
42
|
function UserResourceFromJSON(json) {
|
|
@@ -50,6 +53,7 @@ function UserResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
53
|
'fullName': json['fullName'],
|
|
51
54
|
'email': json['email'],
|
|
52
55
|
'mobile': json['mobile'],
|
|
56
|
+
'assets': (json['assets'] == null ? null : json['assets'].map(AssetLiteResource_1.AssetLiteResourceFromJSON)),
|
|
53
57
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
54
58
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
55
59
|
};
|
|
@@ -58,7 +62,6 @@ function UserResourceToJSON(json) {
|
|
|
58
62
|
return UserResourceToJSONTyped(json, false);
|
|
59
63
|
}
|
|
60
64
|
function UserResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
61
|
-
var _a, _b;
|
|
62
65
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
66
|
if (value == null) {
|
|
64
67
|
return value;
|
|
@@ -70,7 +73,8 @@ function UserResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
70
73
|
'fullName': value['fullName'],
|
|
71
74
|
'email': value['email'],
|
|
72
75
|
'mobile': value['mobile'],
|
|
73
|
-
'
|
|
74
|
-
'
|
|
76
|
+
'assets': (value['assets'] == null ? null : value['assets'].map(AssetLiteResource_1.AssetLiteResourceToJSON)),
|
|
77
|
+
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
78
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
75
79
|
};
|
|
76
80
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { UserResource } from './UserResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface UserResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<UserResource>}
|
|
22
|
+
* @memberof UserResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<UserResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UserResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUserResourceArrayResponse(value: object): value is UserResourceArrayResponse;
|
|
30
|
+
export declare function UserResourceArrayResponseFromJSON(json: any): UserResourceArrayResponse;
|
|
31
|
+
export declare function UserResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserResourceArrayResponse;
|
|
32
|
+
export declare function UserResourceArrayResponseToJSON(json: any): UserResourceArrayResponse;
|
|
33
|
+
export declare function UserResourceArrayResponseToJSONTyped(value?: UserResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfUserResourceArrayResponse = instanceOfUserResourceArrayResponse;
|
|
17
|
+
exports.UserResourceArrayResponseFromJSON = UserResourceArrayResponseFromJSON;
|
|
18
|
+
exports.UserResourceArrayResponseFromJSONTyped = UserResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.UserResourceArrayResponseToJSON = UserResourceArrayResponseToJSON;
|
|
20
|
+
exports.UserResourceArrayResponseToJSONTyped = UserResourceArrayResponseToJSONTyped;
|
|
21
|
+
var UserResource_1 = require("./UserResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UserResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUserResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function UserResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return UserResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function UserResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(UserResource_1.UserResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function UserResourceArrayResponseToJSON(json) {
|
|
40
|
+
return UserResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function UserResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(UserResource_1.UserResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export * from './AssetFileForUploadResource';
|
|
2
|
+
export * from './AssetFileForUploadResourceArrayResponse';
|
|
3
|
+
export * from './AssetLiteResource';
|
|
4
|
+
export * from './AssetLiteResourceArrayResponse';
|
|
5
|
+
export * from './AssetResource';
|
|
6
|
+
export * from './AssetResourceArrayResponse';
|
|
1
7
|
export * from './GenericResponse';
|
|
2
8
|
export * from './IndexUserRequest';
|
|
3
9
|
export * from './LoginAuthRequest';
|
|
@@ -5,7 +11,10 @@ export * from './PaginatedUserResourceResponse';
|
|
|
5
11
|
export * from './PagingMetadata';
|
|
6
12
|
export * from './ResetPasswordAuthRequest';
|
|
7
13
|
export * from './SendForgotPasswordLinkAuthRequest';
|
|
14
|
+
export * from './StoreAssetFileRequest';
|
|
8
15
|
export * from './StoreUserRequest';
|
|
9
16
|
export * from './UpdateUserRequest';
|
|
10
17
|
export * from './UserAuthTokenResource';
|
|
18
|
+
export * from './UserAuthTokenResourceArrayResponse';
|
|
11
19
|
export * from './UserResource';
|
|
20
|
+
export * from './UserResourceArrayResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AssetFileForUploadResource"), exports);
|
|
20
|
+
__exportStar(require("./AssetFileForUploadResourceArrayResponse"), exports);
|
|
21
|
+
__exportStar(require("./AssetLiteResource"), exports);
|
|
22
|
+
__exportStar(require("./AssetLiteResourceArrayResponse"), exports);
|
|
23
|
+
__exportStar(require("./AssetResource"), exports);
|
|
24
|
+
__exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
19
25
|
__exportStar(require("./GenericResponse"), exports);
|
|
20
26
|
__exportStar(require("./IndexUserRequest"), exports);
|
|
21
27
|
__exportStar(require("./LoginAuthRequest"), exports);
|
|
@@ -23,7 +29,10 @@ __exportStar(require("./PaginatedUserResourceResponse"), exports);
|
|
|
23
29
|
__exportStar(require("./PagingMetadata"), exports);
|
|
24
30
|
__exportStar(require("./ResetPasswordAuthRequest"), exports);
|
|
25
31
|
__exportStar(require("./SendForgotPasswordLinkAuthRequest"), exports);
|
|
32
|
+
__exportStar(require("./StoreAssetFileRequest"), exports);
|
|
26
33
|
__exportStar(require("./StoreUserRequest"), exports);
|
|
27
34
|
__exportStar(require("./UpdateUserRequest"), exports);
|
|
28
35
|
__exportStar(require("./UserAuthTokenResource"), exports);
|
|
36
|
+
__exportStar(require("./UserAuthTokenResourceArrayResponse"), exports);
|
|
29
37
|
__exportStar(require("./UserResource"), exports);
|
|
38
|
+
__exportStar(require("./UserResourceArrayResponse"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# AssetFileForUploadResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`url` | string
|
|
11
|
+
`headers` | Array<string>
|
|
12
|
+
`fileName` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { AssetFileForUploadResource } from '@digital8/laravel-auth-template-ts-sdk'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"url": null,
|
|
23
|
+
"headers": null,
|
|
24
|
+
"fileName": null,
|
|
25
|
+
} satisfies AssetFileForUploadResource
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as AssetFileForUploadResource
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AssetFileForUploadResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AssetFileForUploadResource>](AssetFileForUploadResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AssetFileForUploadResourceArrayResponse } from '@digital8/laravel-auth-template-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies AssetFileForUploadResourceArrayResponse
|
|
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 AssetFileForUploadResourceArrayResponse
|
|
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,36 @@
|
|
|
1
|
+
|
|
2
|
+
# AssetLiteResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`filePath` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { AssetLiteResource } from '@digital8/laravel-auth-template-ts-sdk'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"id": null,
|
|
20
|
+
"filePath": null,
|
|
21
|
+
} satisfies AssetLiteResource
|
|
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 AssetLiteResource
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AssetLiteResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AssetLiteResource>](AssetLiteResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AssetLiteResourceArrayResponse } from '@digital8/laravel-auth-template-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies AssetLiteResourceArrayResponse
|
|
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 AssetLiteResourceArrayResponse
|
|
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,46 @@
|
|
|
1
|
+
|
|
2
|
+
# AssetResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`filePath` | string
|
|
11
|
+
`fileName` | string
|
|
12
|
+
`mimeType` | string
|
|
13
|
+
`altText` | string
|
|
14
|
+
`index` | number
|
|
15
|
+
`fileId` | number
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { AssetResource } from '@digital8/laravel-auth-template-ts-sdk'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"id": null,
|
|
25
|
+
"filePath": null,
|
|
26
|
+
"fileName": null,
|
|
27
|
+
"mimeType": null,
|
|
28
|
+
"altText": null,
|
|
29
|
+
"index": null,
|
|
30
|
+
"fileId": null,
|
|
31
|
+
} satisfies AssetResource
|
|
32
|
+
|
|
33
|
+
console.log(example)
|
|
34
|
+
|
|
35
|
+
// Convert the instance to a JSON string
|
|
36
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
37
|
+
console.log(exampleJSON)
|
|
38
|
+
|
|
39
|
+
// Parse the JSON string back to an object
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as AssetResource
|
|
41
|
+
console.log(exampleParsed)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AssetResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<AssetResource>](AssetResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AssetResourceArrayResponse } from '@digital8/laravel-auth-template-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies AssetResourceArrayResponse
|
|
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 AssetResourceArrayResponse
|
|
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
|
+
|