@digital8/lighting-illusions-ts-sdk 0.0.2283 → 0.0.2284
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 +0 -70
- package/README.md +2 -48
- package/dist/apis/index.d.ts +0 -3
- package/dist/apis/index.js +0 -3
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +3 -3
- package/dist/models/AddressResource.js +9 -3
- package/dist/models/AddressType.d.ts +0 -2
- package/dist/models/AddressType.js +1 -3
- package/dist/models/AdminListResource.d.ts +1 -1
- package/dist/models/AdminListResource.js +1 -3
- package/dist/models/AdminLiteResource.d.ts +1 -1
- package/dist/models/AdminLiteResource.js +1 -3
- package/dist/models/AdminNoteResource.d.ts +3 -3
- package/dist/models/AdminNoteResource.js +3 -3
- package/dist/models/AdminOrderResource.d.ts +3 -3
- package/dist/models/AdminOrderResource.js +3 -3
- package/dist/models/AdminResource.d.ts +1 -7
- package/dist/models/AdminResource.js +1 -7
- package/dist/models/AdminUserLiteResource.d.ts +1 -1
- package/dist/models/AdminUserLiteResource.js +1 -3
- package/dist/models/CartResource.d.ts +3 -3
- package/dist/models/CartResource.js +3 -3
- package/dist/models/CreateAdminUserRequest.d.ts +6 -0
- package/dist/models/CreateAdminUserRequest.js +4 -0
- package/dist/models/OrderFulfillmentResource.d.ts +1 -1
- package/dist/models/OrderFulfillmentResource.js +1 -3
- package/dist/models/RoleLiteResource.d.ts +0 -6
- package/dist/models/RoleLiteResource.js +0 -4
- package/dist/models/SignUpType.d.ts +0 -3
- package/dist/models/SignUpType.js +1 -4
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +6 -2
- package/dist/models/UpdateAdminUserRequest.d.ts +6 -0
- package/dist/models/UpdateAdminUserRequest.js +4 -0
- package/dist/models/index.d.ts +0 -32
- package/dist/models/index.js +0 -32
- package/docs/AdminNoteResource.md +1 -1
- package/docs/AdminOrderResource.md +1 -1
- package/docs/AdminResource.md +0 -2
- package/docs/CartResource.md +1 -1
- package/docs/CreateAdminUserRequest.md +2 -0
- package/docs/RoleLiteResource.md +0 -2
- package/docs/UpdateAdminUserRequest.md +2 -0
- package/package.json +1 -1
- package/src/apis/index.ts +0 -3
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +9 -6
- package/src/models/AddressType.ts +1 -3
- package/src/models/AdminListResource.ts +2 -3
- package/src/models/AdminLiteResource.ts +2 -3
- package/src/models/AdminNoteResource.ts +10 -10
- package/src/models/AdminOrderResource.ts +11 -11
- package/src/models/AdminResource.ts +2 -12
- package/src/models/AdminUserLiteResource.ts +2 -3
- package/src/models/CartResource.ts +10 -10
- package/src/models/CreateAdminUserRequest.ts +9 -0
- package/src/models/OrderFulfillmentResource.ts +2 -3
- package/src/models/RoleLiteResource.ts +0 -9
- package/src/models/SignUpType.ts +1 -4
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +6 -4
- package/src/models/UpdateAdminUserRequest.ts +9 -0
- package/src/models/index.ts +0 -32
- package/dist/apis/AuthApi.d.ts +0 -92
- package/dist/apis/AuthApi.js +0 -369
- package/dist/apis/PermissionsApi.d.ts +0 -67
- package/dist/apis/PermissionsApi.js +0 -259
- package/dist/apis/RolesApi.d.ts +0 -116
- package/dist/apis/RolesApi.js +0 -440
- package/dist/models/AdminLoginResponseResource.d.ts +0 -39
- package/dist/models/AdminLoginResponseResource.js +0 -56
- package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminLoginResponseResourceArrayResponse.js +0 -50
- package/dist/models/CheckEmailFrontendResource.d.ts +0 -38
- package/dist/models/CheckEmailFrontendResource.js +0 -53
- package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CreateRoleRequest.d.ts +0 -38
- package/dist/models/CreateRoleRequest.js +0 -55
- package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
- package/dist/models/CustomerAuthResponseResource.js +0 -56
- package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
- package/dist/models/CustomerFrontendResource.d.ts +0 -70
- package/dist/models/CustomerFrontendResource.js +0 -75
- package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
- package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
- package/dist/models/CustomerSocialLinkableResource.js +0 -55
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
- package/dist/models/ForgotPasswordAdminRequest.d.ts +0 -32
- package/dist/models/ForgotPasswordAdminRequest.js +0 -51
- package/dist/models/LoginAdminRequest.d.ts +0 -38
- package/dist/models/LoginAdminRequest.js +0 -55
- package/dist/models/PaginatedPermissionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPermissionListResourceResponse.js +0 -57
- package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedPermissionLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedRoleListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRoleListResourceResponse.js +0 -57
- package/dist/models/PermissionListResource.d.ts +0 -44
- package/dist/models/PermissionListResource.js +0 -55
- package/dist/models/PermissionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/PermissionListResourceArrayResponse.js +0 -50
- package/dist/models/PermissionLiteResource.d.ts +0 -38
- package/dist/models/PermissionLiteResource.js +0 -53
- package/dist/models/PermissionLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/PermissionLiteResourceArrayResponse.js +0 -50
- package/dist/models/PermissionResource.d.ts +0 -56
- package/dist/models/PermissionResource.js +0 -61
- package/dist/models/PermissionResourceArrayResponse.d.ts +0 -33
- package/dist/models/PermissionResourceArrayResponse.js +0 -50
- package/dist/models/ResetPasswordAdminRequest.d.ts +0 -44
- package/dist/models/ResetPasswordAdminRequest.js +0 -59
- package/dist/models/RoleListResource.d.ts +0 -68
- package/dist/models/RoleListResource.js +0 -69
- package/dist/models/RoleListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RoleListResourceArrayResponse.js +0 -50
- package/dist/models/RoleResource.d.ts +0 -75
- package/dist/models/RoleResource.js +0 -74
- package/dist/models/RoleResourceArrayResponse.d.ts +0 -33
- package/dist/models/RoleResourceArrayResponse.js +0 -50
- package/dist/models/SearchAllPermissionsRequest.d.ts +0 -79
- package/dist/models/SearchAllPermissionsRequest.js +0 -75
- package/dist/models/SearchAllRolesRequest.d.ts +0 -86
- package/dist/models/SearchAllRolesRequest.js +0 -78
- package/dist/models/SearchPermissionsRequest.d.ts +0 -91
- package/dist/models/SearchPermissionsRequest.js +0 -79
- package/dist/models/SearchRolesRequest.d.ts +0 -98
- package/dist/models/SearchRolesRequest.js +0 -82
- package/dist/models/UpdateRoleRequest.d.ts +0 -38
- package/dist/models/UpdateRoleRequest.js +0 -55
- package/docs/AdminLoginResponseResource.md +0 -36
- package/docs/AdminLoginResponseResourceArrayResponse.md +0 -34
- package/docs/AuthApi.md +0 -322
- package/docs/CheckEmailFrontendResource.md +0 -36
- package/docs/CheckEmailFrontendResourceArrayResponse.md +0 -34
- package/docs/CreateRoleRequest.md +0 -36
- package/docs/CustomerAuthResponseResource.md +0 -36
- package/docs/CustomerAuthResponseResourceArrayResponse.md +0 -34
- package/docs/CustomerFrontendResource.md +0 -46
- package/docs/CustomerFrontendResourceArrayResponse.md +0 -34
- package/docs/CustomerSocialLinkableResource.md +0 -36
- package/docs/CustomerSocialLinkableResourceArrayResponse.md +0 -34
- package/docs/ForgotPasswordAdminRequest.md +0 -34
- package/docs/LoginAdminRequest.md +0 -36
- package/docs/PaginatedPermissionListResourceResponse.md +0 -36
- package/docs/PaginatedPermissionLiteResourceResponse.md +0 -36
- package/docs/PaginatedRoleListResourceResponse.md +0 -36
- package/docs/PermissionListResource.md +0 -38
- package/docs/PermissionListResourceArrayResponse.md +0 -34
- package/docs/PermissionLiteResource.md +0 -36
- package/docs/PermissionLiteResourceArrayResponse.md +0 -34
- package/docs/PermissionResource.md +0 -42
- package/docs/PermissionResourceArrayResponse.md +0 -34
- package/docs/PermissionsApi.md +0 -206
- package/docs/ResetPasswordAdminRequest.md +0 -38
- package/docs/RoleListResource.md +0 -46
- package/docs/RoleListResourceArrayResponse.md +0 -34
- package/docs/RoleResource.md +0 -48
- package/docs/RoleResourceArrayResponse.md +0 -34
- package/docs/RolesApi.md +0 -407
- package/docs/SearchAllPermissionsRequest.md +0 -44
- package/docs/SearchAllRolesRequest.md +0 -46
- package/docs/SearchPermissionsRequest.md +0 -48
- package/docs/SearchRolesRequest.md +0 -50
- package/docs/UpdateRoleRequest.md +0 -36
- package/src/apis/AuthApi.ts +0 -258
- package/src/apis/PermissionsApi.ts +0 -184
- package/src/apis/RolesApi.ts +0 -345
- package/src/models/AdminLoginResponseResource.ts +0 -83
- package/src/models/AdminLoginResponseResourceArrayResponse.ts +0 -73
- package/src/models/CheckEmailFrontendResource.ts +0 -74
- package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CreateRoleRequest.ts +0 -75
- package/src/models/CustomerAuthResponseResource.ts +0 -83
- package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
- package/src/models/CustomerFrontendResource.ts +0 -134
- package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
- package/src/models/CustomerSocialLinkableResource.ts +0 -75
- package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
- package/src/models/ForgotPasswordAdminRequest.ts +0 -66
- package/src/models/LoginAdminRequest.ts +0 -75
- package/src/models/PaginatedPermissionListResourceResponse.ts +0 -90
- package/src/models/PaginatedPermissionLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedRoleListResourceResponse.ts +0 -90
- package/src/models/PermissionListResource.ts +0 -82
- package/src/models/PermissionListResourceArrayResponse.ts +0 -73
- package/src/models/PermissionLiteResource.ts +0 -74
- package/src/models/PermissionLiteResourceArrayResponse.ts +0 -73
- package/src/models/PermissionResource.ts +0 -99
- package/src/models/PermissionResourceArrayResponse.ts +0 -73
- package/src/models/ResetPasswordAdminRequest.ts +0 -84
- package/src/models/RoleListResource.ts +0 -117
- package/src/models/RoleListResourceArrayResponse.ts +0 -73
- package/src/models/RoleResource.ts +0 -134
- package/src/models/RoleResourceArrayResponse.ts +0 -73
- package/src/models/SearchAllPermissionsRequest.ts +0 -126
- package/src/models/SearchAllRolesRequest.ts +0 -135
- package/src/models/SearchPermissionsRequest.ts +0 -142
- package/src/models/SearchRolesRequest.ts +0 -151
- package/src/models/UpdateRoleRequest.ts +0 -75
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CustomerSocialLinkableResource
|
|
16
|
-
*/
|
|
17
|
-
export interface CustomerSocialLinkableResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof CustomerSocialLinkableResource
|
|
22
|
-
*/
|
|
23
|
-
linkable: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof CustomerSocialLinkableResource
|
|
28
|
-
*/
|
|
29
|
-
customer: object;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the CustomerSocialLinkableResource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfCustomerSocialLinkableResource(value: object): value is CustomerSocialLinkableResource;
|
|
35
|
-
export declare function CustomerSocialLinkableResourceFromJSON(json: any): CustomerSocialLinkableResource;
|
|
36
|
-
export declare function CustomerSocialLinkableResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSocialLinkableResource;
|
|
37
|
-
export declare function CustomerSocialLinkableResourceToJSON(json: any): CustomerSocialLinkableResource;
|
|
38
|
-
export declare function CustomerSocialLinkableResourceToJSONTyped(value?: CustomerSocialLinkableResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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.instanceOfCustomerSocialLinkableResource = instanceOfCustomerSocialLinkableResource;
|
|
17
|
-
exports.CustomerSocialLinkableResourceFromJSON = CustomerSocialLinkableResourceFromJSON;
|
|
18
|
-
exports.CustomerSocialLinkableResourceFromJSONTyped = CustomerSocialLinkableResourceFromJSONTyped;
|
|
19
|
-
exports.CustomerSocialLinkableResourceToJSON = CustomerSocialLinkableResourceToJSON;
|
|
20
|
-
exports.CustomerSocialLinkableResourceToJSONTyped = CustomerSocialLinkableResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the CustomerSocialLinkableResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfCustomerSocialLinkableResource(value) {
|
|
25
|
-
if (!('linkable' in value) || value['linkable'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('customer' in value) || value['customer'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function CustomerSocialLinkableResourceFromJSON(json) {
|
|
32
|
-
return CustomerSocialLinkableResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function CustomerSocialLinkableResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'linkable': json['linkable'],
|
|
40
|
-
'customer': json['customer'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function CustomerSocialLinkableResourceToJSON(json) {
|
|
44
|
-
return CustomerSocialLinkableResourceToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function CustomerSocialLinkableResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'linkable': value['linkable'],
|
|
53
|
-
'customer': value['customer'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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 { CustomerSocialLinkableResource } from './CustomerSocialLinkableResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CustomerSocialLinkableResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface CustomerSocialLinkableResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CustomerSocialLinkableResource>}
|
|
22
|
-
* @memberof CustomerSocialLinkableResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<CustomerSocialLinkableResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the CustomerSocialLinkableResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfCustomerSocialLinkableResourceArrayResponse(value: object): value is CustomerSocialLinkableResourceArrayResponse;
|
|
30
|
-
export declare function CustomerSocialLinkableResourceArrayResponseFromJSON(json: any): CustomerSocialLinkableResourceArrayResponse;
|
|
31
|
-
export declare function CustomerSocialLinkableResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerSocialLinkableResourceArrayResponse;
|
|
32
|
-
export declare function CustomerSocialLinkableResourceArrayResponseToJSON(json: any): CustomerSocialLinkableResourceArrayResponse;
|
|
33
|
-
export declare function CustomerSocialLinkableResourceArrayResponseToJSONTyped(value?: CustomerSocialLinkableResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfCustomerSocialLinkableResourceArrayResponse = instanceOfCustomerSocialLinkableResourceArrayResponse;
|
|
17
|
-
exports.CustomerSocialLinkableResourceArrayResponseFromJSON = CustomerSocialLinkableResourceArrayResponseFromJSON;
|
|
18
|
-
exports.CustomerSocialLinkableResourceArrayResponseFromJSONTyped = CustomerSocialLinkableResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.CustomerSocialLinkableResourceArrayResponseToJSON = CustomerSocialLinkableResourceArrayResponseToJSON;
|
|
20
|
-
exports.CustomerSocialLinkableResourceArrayResponseToJSONTyped = CustomerSocialLinkableResourceArrayResponseToJSONTyped;
|
|
21
|
-
var CustomerSocialLinkableResource_1 = require("./CustomerSocialLinkableResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CustomerSocialLinkableResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCustomerSocialLinkableResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function CustomerSocialLinkableResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return CustomerSocialLinkableResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function CustomerSocialLinkableResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(CustomerSocialLinkableResource_1.CustomerSocialLinkableResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function CustomerSocialLinkableResourceArrayResponseToJSON(json) {
|
|
40
|
-
return CustomerSocialLinkableResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function CustomerSocialLinkableResourceArrayResponseToJSONTyped(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(CustomerSocialLinkableResource_1.CustomerSocialLinkableResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ForgotPasswordAdminRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface ForgotPasswordAdminRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ForgotPasswordAdminRequest
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ForgotPasswordAdminRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfForgotPasswordAdminRequest(value: object): value is ForgotPasswordAdminRequest;
|
|
29
|
-
export declare function ForgotPasswordAdminRequestFromJSON(json: any): ForgotPasswordAdminRequest;
|
|
30
|
-
export declare function ForgotPasswordAdminRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordAdminRequest;
|
|
31
|
-
export declare function ForgotPasswordAdminRequestToJSON(json: any): ForgotPasswordAdminRequest;
|
|
32
|
-
export declare function ForgotPasswordAdminRequestToJSONTyped(value?: ForgotPasswordAdminRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfForgotPasswordAdminRequest = instanceOfForgotPasswordAdminRequest;
|
|
17
|
-
exports.ForgotPasswordAdminRequestFromJSON = ForgotPasswordAdminRequestFromJSON;
|
|
18
|
-
exports.ForgotPasswordAdminRequestFromJSONTyped = ForgotPasswordAdminRequestFromJSONTyped;
|
|
19
|
-
exports.ForgotPasswordAdminRequestToJSON = ForgotPasswordAdminRequestToJSON;
|
|
20
|
-
exports.ForgotPasswordAdminRequestToJSONTyped = ForgotPasswordAdminRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ForgotPasswordAdminRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfForgotPasswordAdminRequest(value) {
|
|
25
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function ForgotPasswordAdminRequestFromJSON(json) {
|
|
30
|
-
return ForgotPasswordAdminRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function ForgotPasswordAdminRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'email': json['email'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function ForgotPasswordAdminRequestToJSON(json) {
|
|
41
|
-
return ForgotPasswordAdminRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function ForgotPasswordAdminRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'email': value['email'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface LoginAdminRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface LoginAdminRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof LoginAdminRequest
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LoginAdminRequest
|
|
28
|
-
*/
|
|
29
|
-
password: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the LoginAdminRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfLoginAdminRequest(value: object): value is LoginAdminRequest;
|
|
35
|
-
export declare function LoginAdminRequestFromJSON(json: any): LoginAdminRequest;
|
|
36
|
-
export declare function LoginAdminRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginAdminRequest;
|
|
37
|
-
export declare function LoginAdminRequestToJSON(json: any): LoginAdminRequest;
|
|
38
|
-
export declare function LoginAdminRequestToJSONTyped(value?: LoginAdminRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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.instanceOfLoginAdminRequest = instanceOfLoginAdminRequest;
|
|
17
|
-
exports.LoginAdminRequestFromJSON = LoginAdminRequestFromJSON;
|
|
18
|
-
exports.LoginAdminRequestFromJSONTyped = LoginAdminRequestFromJSONTyped;
|
|
19
|
-
exports.LoginAdminRequestToJSON = LoginAdminRequestToJSON;
|
|
20
|
-
exports.LoginAdminRequestToJSONTyped = LoginAdminRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the LoginAdminRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfLoginAdminRequest(value) {
|
|
25
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('password' in value) || value['password'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function LoginAdminRequestFromJSON(json) {
|
|
32
|
-
return LoginAdminRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function LoginAdminRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'email': json['email'],
|
|
40
|
-
'password': json['password'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function LoginAdminRequestToJSON(json) {
|
|
44
|
-
return LoginAdminRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function LoginAdminRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'email': value['email'],
|
|
53
|
-
'password': value['password'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { PermissionListResource } from './PermissionListResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedPermissionListResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedPermissionListResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<PermissionListResource>}
|
|
23
|
-
* @memberof PaginatedPermissionListResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<PermissionListResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedPermissionListResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedPermissionListResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedPermissionListResourceResponse(value: object): value is PaginatedPermissionListResourceResponse;
|
|
37
|
-
export declare function PaginatedPermissionListResourceResponseFromJSON(json: any): PaginatedPermissionListResourceResponse;
|
|
38
|
-
export declare function PaginatedPermissionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedPermissionListResourceResponse;
|
|
39
|
-
export declare function PaginatedPermissionListResourceResponseToJSON(json: any): PaginatedPermissionListResourceResponse;
|
|
40
|
-
export declare function PaginatedPermissionListResourceResponseToJSONTyped(value?: PaginatedPermissionListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
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.instanceOfPaginatedPermissionListResourceResponse = instanceOfPaginatedPermissionListResourceResponse;
|
|
17
|
-
exports.PaginatedPermissionListResourceResponseFromJSON = PaginatedPermissionListResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedPermissionListResourceResponseFromJSONTyped = PaginatedPermissionListResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedPermissionListResourceResponseToJSON = PaginatedPermissionListResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedPermissionListResourceResponseToJSONTyped = PaginatedPermissionListResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var PermissionListResource_1 = require("./PermissionListResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedPermissionListResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedPermissionListResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedPermissionListResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedPermissionListResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedPermissionListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(PermissionListResource_1.PermissionListResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedPermissionListResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedPermissionListResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedPermissionListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(PermissionListResource_1.PermissionListResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { PermissionLiteResource } from './PermissionLiteResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedPermissionLiteResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedPermissionLiteResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<PermissionLiteResource>}
|
|
23
|
-
* @memberof PaginatedPermissionLiteResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<PermissionLiteResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedPermissionLiteResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedPermissionLiteResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedPermissionLiteResourceResponse(value: object): value is PaginatedPermissionLiteResourceResponse;
|
|
37
|
-
export declare function PaginatedPermissionLiteResourceResponseFromJSON(json: any): PaginatedPermissionLiteResourceResponse;
|
|
38
|
-
export declare function PaginatedPermissionLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedPermissionLiteResourceResponse;
|
|
39
|
-
export declare function PaginatedPermissionLiteResourceResponseToJSON(json: any): PaginatedPermissionLiteResourceResponse;
|
|
40
|
-
export declare function PaginatedPermissionLiteResourceResponseToJSONTyped(value?: PaginatedPermissionLiteResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
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.instanceOfPaginatedPermissionLiteResourceResponse = instanceOfPaginatedPermissionLiteResourceResponse;
|
|
17
|
-
exports.PaginatedPermissionLiteResourceResponseFromJSON = PaginatedPermissionLiteResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedPermissionLiteResourceResponseFromJSONTyped = PaginatedPermissionLiteResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedPermissionLiteResourceResponseToJSON = PaginatedPermissionLiteResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedPermissionLiteResourceResponseToJSONTyped = PaginatedPermissionLiteResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var PermissionLiteResource_1 = require("./PermissionLiteResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedPermissionLiteResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedPermissionLiteResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedPermissionLiteResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedPermissionLiteResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedPermissionLiteResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(PermissionLiteResource_1.PermissionLiteResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedPermissionLiteResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedPermissionLiteResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedPermissionLiteResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(PermissionLiteResource_1.PermissionLiteResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { RoleListResource } from './RoleListResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedRoleListResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedRoleListResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<RoleListResource>}
|
|
23
|
-
* @memberof PaginatedRoleListResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<RoleListResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedRoleListResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedRoleListResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedRoleListResourceResponse(value: object): value is PaginatedRoleListResourceResponse;
|
|
37
|
-
export declare function PaginatedRoleListResourceResponseFromJSON(json: any): PaginatedRoleListResourceResponse;
|
|
38
|
-
export declare function PaginatedRoleListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRoleListResourceResponse;
|
|
39
|
-
export declare function PaginatedRoleListResourceResponseToJSON(json: any): PaginatedRoleListResourceResponse;
|
|
40
|
-
export declare function PaginatedRoleListResourceResponseToJSONTyped(value?: PaginatedRoleListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
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.instanceOfPaginatedRoleListResourceResponse = instanceOfPaginatedRoleListResourceResponse;
|
|
17
|
-
exports.PaginatedRoleListResourceResponseFromJSON = PaginatedRoleListResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedRoleListResourceResponseFromJSONTyped = PaginatedRoleListResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedRoleListResourceResponseToJSON = PaginatedRoleListResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedRoleListResourceResponseToJSONTyped = PaginatedRoleListResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var RoleListResource_1 = require("./RoleListResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedRoleListResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedRoleListResourceResponse(value) {
|
|
27
|
-
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PaginatedRoleListResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedRoleListResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedRoleListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(RoleListResource_1.RoleListResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedRoleListResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedRoleListResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedRoleListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(RoleListResource_1.RoleListResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|