@digital8/security-registers-backend-ts-sdk 0.0.741 → 0.0.743
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 +15 -4
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +11 -22
- package/dist/apis/GeneralApi.js +5 -60
- package/dist/models/IncidentVideoListResource.d.ts +63 -0
- package/dist/models/{RecentVideoListResource.js → IncidentVideoListResource.js} +13 -13
- package/dist/models/IncidentVideoListResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentVideoListResourceArrayResponse.js +50 -0
- package/dist/models/LicenceCheckLogListResource.d.ts +75 -0
- package/dist/models/LicenceCheckLogListResource.js +75 -0
- package/dist/models/LicenceCheckLogListResourceArrayResponse.d.ts +33 -0
- package/dist/models/LicenceCheckLogListResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedIncidentVideoListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedIncidentVideoListResourceResponse.js +57 -0
- package/dist/models/PaginatedLicenceCheckLogListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedLicenceCheckLogListResourceResponse.js +57 -0
- package/dist/models/PaginatedSecurityCompanyListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSecurityCompanyListResourceResponse.js +57 -0
- package/dist/models/PaginatedUserListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedUserListResourceResponse.js +57 -0
- package/dist/models/PaginatedVenueListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedVenueListResourceResponse.js +57 -0
- package/dist/models/SecurityCompanyListResource.d.ts +63 -0
- package/dist/models/SecurityCompanyListResource.js +68 -0
- package/dist/models/SecurityCompanyListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SecurityCompanyListResourceArrayResponse.js +50 -0
- package/dist/models/UserListResource.d.ts +68 -0
- package/dist/models/UserListResource.js +75 -0
- package/dist/models/UserListResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserListResourceArrayResponse.js +50 -0
- package/dist/models/VenueListResource.d.ts +70 -0
- package/dist/models/VenueListResource.js +74 -0
- package/dist/models/VenueListResourceArrayResponse.d.ts +33 -0
- package/dist/models/VenueListResourceArrayResponse.js +50 -0
- package/dist/models/VenuesUpdateRequest.d.ts +2 -2
- package/dist/models/VenuesUpdateRequest.js +2 -6
- package/dist/models/index.d.ts +15 -4
- package/dist/models/index.js +15 -4
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +30 -77
- package/src/models/{RecentVideoListResource.ts → IncidentVideoListResource.ts} +16 -16
- package/src/models/IncidentVideoListResourceArrayResponse.ts +73 -0
- package/src/models/LicenceCheckLogListResource.ts +136 -0
- package/src/models/LicenceCheckLogListResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedIncidentVideoListResourceResponse.ts +90 -0
- package/src/models/PaginatedLicenceCheckLogListResourceResponse.ts +90 -0
- package/src/models/PaginatedSecurityCompanyListResourceResponse.ts +90 -0
- package/src/models/PaginatedUserListResourceResponse.ts +90 -0
- package/src/models/PaginatedVenueListResourceResponse.ts +90 -0
- package/src/models/SecurityCompanyListResource.ts +117 -0
- package/src/models/SecurityCompanyListResourceArrayResponse.ts +73 -0
- package/src/models/UserListResource.ts +120 -0
- package/src/models/UserListResourceArrayResponse.ts +73 -0
- package/src/models/VenueListResource.ts +133 -0
- package/src/models/VenueListResourceArrayResponse.ts +73 -0
- package/src/models/VenuesUpdateRequest.ts +4 -6
- package/src/models/index.ts +15 -4
- package/dist/models/PaginatedRecentVideoListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRecentVideoListResourceResponse.js +0 -57
- package/dist/models/RecentVideoListResource.d.ts +0 -63
- package/dist/models/RecentVideoListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RecentVideoListResourceArrayResponse.js +0 -50
- package/dist/models/StoreUserRequest.d.ts +0 -50
- package/dist/models/StoreUserRequest.js +0 -61
- package/src/models/PaginatedRecentVideoListResourceResponse.ts +0 -90
- package/src/models/RecentVideoListResourceArrayResponse.ts +0 -73
- package/src/models/StoreUserRequest.ts +0 -92
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfLicenceCheckLogListResource = instanceOfLicenceCheckLogListResource;
|
|
17
|
+
exports.LicenceCheckLogListResourceFromJSON = LicenceCheckLogListResourceFromJSON;
|
|
18
|
+
exports.LicenceCheckLogListResourceFromJSONTyped = LicenceCheckLogListResourceFromJSONTyped;
|
|
19
|
+
exports.LicenceCheckLogListResourceToJSON = LicenceCheckLogListResourceToJSON;
|
|
20
|
+
exports.LicenceCheckLogListResourceToJSONTyped = LicenceCheckLogListResourceToJSONTyped;
|
|
21
|
+
var LicenceCheckSource_1 = require("./LicenceCheckSource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LicenceCheckLogListResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLicenceCheckLogListResource(value) {
|
|
26
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('isExpired' in value) || value['isExpired'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('isCrowdController' in value) || value['isCrowdController'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('calledFrom' in value) || value['calledFrom'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('request' in value) || value['request'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function LicenceCheckLogListResourceFromJSON(json) {
|
|
39
|
+
return LicenceCheckLogListResourceFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function LicenceCheckLogListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
47
|
+
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
48
|
+
'result': json['result'],
|
|
49
|
+
'isExpired': json['isExpired'],
|
|
50
|
+
'isCrowdController': json['isCrowdController'],
|
|
51
|
+
'calledFrom': (0, LicenceCheckSource_1.LicenceCheckSourceFromJSON)(json['calledFrom']),
|
|
52
|
+
'request': json['request'],
|
|
53
|
+
'response': json['response'] == null ? undefined : json['response'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function LicenceCheckLogListResourceToJSON(json) {
|
|
57
|
+
return LicenceCheckLogListResourceToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function LicenceCheckLogListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
var _a;
|
|
61
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
68
|
+
'result': value['result'],
|
|
69
|
+
'isExpired': value['isExpired'],
|
|
70
|
+
'isCrowdController': value['isCrowdController'],
|
|
71
|
+
'calledFrom': (0, LicenceCheckSource_1.LicenceCheckSourceToJSON)(value['calledFrom']),
|
|
72
|
+
'request': value['request'],
|
|
73
|
+
'response': value['response'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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 { LicenceCheckLogListResource } from './LicenceCheckLogListResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LicenceCheckLogListResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface LicenceCheckLogListResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<LicenceCheckLogListResource>}
|
|
22
|
+
* @memberof LicenceCheckLogListResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<LicenceCheckLogListResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the LicenceCheckLogListResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfLicenceCheckLogListResourceArrayResponse(value: object): value is LicenceCheckLogListResourceArrayResponse;
|
|
30
|
+
export declare function LicenceCheckLogListResourceArrayResponseFromJSON(json: any): LicenceCheckLogListResourceArrayResponse;
|
|
31
|
+
export declare function LicenceCheckLogListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceCheckLogListResourceArrayResponse;
|
|
32
|
+
export declare function LicenceCheckLogListResourceArrayResponseToJSON(json: any): LicenceCheckLogListResourceArrayResponse;
|
|
33
|
+
export declare function LicenceCheckLogListResourceArrayResponseToJSONTyped(value?: LicenceCheckLogListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfLicenceCheckLogListResourceArrayResponse = instanceOfLicenceCheckLogListResourceArrayResponse;
|
|
17
|
+
exports.LicenceCheckLogListResourceArrayResponseFromJSON = LicenceCheckLogListResourceArrayResponseFromJSON;
|
|
18
|
+
exports.LicenceCheckLogListResourceArrayResponseFromJSONTyped = LicenceCheckLogListResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.LicenceCheckLogListResourceArrayResponseToJSON = LicenceCheckLogListResourceArrayResponseToJSON;
|
|
20
|
+
exports.LicenceCheckLogListResourceArrayResponseToJSONTyped = LicenceCheckLogListResourceArrayResponseToJSONTyped;
|
|
21
|
+
var LicenceCheckLogListResource_1 = require("./LicenceCheckLogListResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LicenceCheckLogListResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLicenceCheckLogListResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function LicenceCheckLogListResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return LicenceCheckLogListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function LicenceCheckLogListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(LicenceCheckLogListResource_1.LicenceCheckLogListResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function LicenceCheckLogListResourceArrayResponseToJSON(json) {
|
|
40
|
+
return LicenceCheckLogListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function LicenceCheckLogListResourceArrayResponseToJSONTyped(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(LicenceCheckLogListResource_1.LicenceCheckLogListResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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 { IncidentVideoListResource } from './IncidentVideoListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedIncidentVideoListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedIncidentVideoListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<IncidentVideoListResource>}
|
|
23
|
+
* @memberof PaginatedIncidentVideoListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<IncidentVideoListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedIncidentVideoListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedIncidentVideoListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedIncidentVideoListResourceResponse(value: object): value is PaginatedIncidentVideoListResourceResponse;
|
|
37
|
+
export declare function PaginatedIncidentVideoListResourceResponseFromJSON(json: any): PaginatedIncidentVideoListResourceResponse;
|
|
38
|
+
export declare function PaginatedIncidentVideoListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedIncidentVideoListResourceResponse;
|
|
39
|
+
export declare function PaginatedIncidentVideoListResourceResponseToJSON(json: any): PaginatedIncidentVideoListResourceResponse;
|
|
40
|
+
export declare function PaginatedIncidentVideoListResourceResponseToJSONTyped(value?: PaginatedIncidentVideoListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfPaginatedIncidentVideoListResourceResponse = instanceOfPaginatedIncidentVideoListResourceResponse;
|
|
17
|
+
exports.PaginatedIncidentVideoListResourceResponseFromJSON = PaginatedIncidentVideoListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedIncidentVideoListResourceResponseFromJSONTyped = PaginatedIncidentVideoListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedIncidentVideoListResourceResponseToJSON = PaginatedIncidentVideoListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedIncidentVideoListResourceResponseToJSONTyped = PaginatedIncidentVideoListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var IncidentVideoListResource_1 = require("./IncidentVideoListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedIncidentVideoListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedIncidentVideoListResourceResponse(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 PaginatedIncidentVideoListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedIncidentVideoListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedIncidentVideoListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(IncidentVideoListResource_1.IncidentVideoListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedIncidentVideoListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedIncidentVideoListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedIncidentVideoListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(IncidentVideoListResource_1.IncidentVideoListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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 { LicenceCheckLogListResource } from './LicenceCheckLogListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedLicenceCheckLogListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedLicenceCheckLogListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<LicenceCheckLogListResource>}
|
|
23
|
+
* @memberof PaginatedLicenceCheckLogListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<LicenceCheckLogListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedLicenceCheckLogListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedLicenceCheckLogListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedLicenceCheckLogListResourceResponse(value: object): value is PaginatedLicenceCheckLogListResourceResponse;
|
|
37
|
+
export declare function PaginatedLicenceCheckLogListResourceResponseFromJSON(json: any): PaginatedLicenceCheckLogListResourceResponse;
|
|
38
|
+
export declare function PaginatedLicenceCheckLogListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedLicenceCheckLogListResourceResponse;
|
|
39
|
+
export declare function PaginatedLicenceCheckLogListResourceResponseToJSON(json: any): PaginatedLicenceCheckLogListResourceResponse;
|
|
40
|
+
export declare function PaginatedLicenceCheckLogListResourceResponseToJSONTyped(value?: PaginatedLicenceCheckLogListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfPaginatedLicenceCheckLogListResourceResponse = instanceOfPaginatedLicenceCheckLogListResourceResponse;
|
|
17
|
+
exports.PaginatedLicenceCheckLogListResourceResponseFromJSON = PaginatedLicenceCheckLogListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedLicenceCheckLogListResourceResponseFromJSONTyped = PaginatedLicenceCheckLogListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedLicenceCheckLogListResourceResponseToJSON = PaginatedLicenceCheckLogListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedLicenceCheckLogListResourceResponseToJSONTyped = PaginatedLicenceCheckLogListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var LicenceCheckLogListResource_1 = require("./LicenceCheckLogListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedLicenceCheckLogListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedLicenceCheckLogListResourceResponse(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 PaginatedLicenceCheckLogListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedLicenceCheckLogListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedLicenceCheckLogListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(LicenceCheckLogListResource_1.LicenceCheckLogListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedLicenceCheckLogListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedLicenceCheckLogListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedLicenceCheckLogListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(LicenceCheckLogListResource_1.LicenceCheckLogListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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 { SecurityCompanyListResource } from './SecurityCompanyListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSecurityCompanyListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSecurityCompanyListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<SecurityCompanyListResource>}
|
|
23
|
+
* @memberof PaginatedSecurityCompanyListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<SecurityCompanyListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedSecurityCompanyListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSecurityCompanyListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSecurityCompanyListResourceResponse(value: object): value is PaginatedSecurityCompanyListResourceResponse;
|
|
37
|
+
export declare function PaginatedSecurityCompanyListResourceResponseFromJSON(json: any): PaginatedSecurityCompanyListResourceResponse;
|
|
38
|
+
export declare function PaginatedSecurityCompanyListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSecurityCompanyListResourceResponse;
|
|
39
|
+
export declare function PaginatedSecurityCompanyListResourceResponseToJSON(json: any): PaginatedSecurityCompanyListResourceResponse;
|
|
40
|
+
export declare function PaginatedSecurityCompanyListResourceResponseToJSONTyped(value?: PaginatedSecurityCompanyListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfPaginatedSecurityCompanyListResourceResponse = instanceOfPaginatedSecurityCompanyListResourceResponse;
|
|
17
|
+
exports.PaginatedSecurityCompanyListResourceResponseFromJSON = PaginatedSecurityCompanyListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedSecurityCompanyListResourceResponseFromJSONTyped = PaginatedSecurityCompanyListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedSecurityCompanyListResourceResponseToJSON = PaginatedSecurityCompanyListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedSecurityCompanyListResourceResponseToJSONTyped = PaginatedSecurityCompanyListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var SecurityCompanyListResource_1 = require("./SecurityCompanyListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedSecurityCompanyListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedSecurityCompanyListResourceResponse(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 PaginatedSecurityCompanyListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedSecurityCompanyListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedSecurityCompanyListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(SecurityCompanyListResource_1.SecurityCompanyListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedSecurityCompanyListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedSecurityCompanyListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedSecurityCompanyListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(SecurityCompanyListResource_1.SecurityCompanyListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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 { UserListResource } from './UserListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedUserListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedUserListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<UserListResource>}
|
|
23
|
+
* @memberof PaginatedUserListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<UserListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedUserListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedUserListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedUserListResourceResponse(value: object): value is PaginatedUserListResourceResponse;
|
|
37
|
+
export declare function PaginatedUserListResourceResponseFromJSON(json: any): PaginatedUserListResourceResponse;
|
|
38
|
+
export declare function PaginatedUserListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedUserListResourceResponse;
|
|
39
|
+
export declare function PaginatedUserListResourceResponseToJSON(json: any): PaginatedUserListResourceResponse;
|
|
40
|
+
export declare function PaginatedUserListResourceResponseToJSONTyped(value?: PaginatedUserListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfPaginatedUserListResourceResponse = instanceOfPaginatedUserListResourceResponse;
|
|
17
|
+
exports.PaginatedUserListResourceResponseFromJSON = PaginatedUserListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedUserListResourceResponseFromJSONTyped = PaginatedUserListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedUserListResourceResponseToJSON = PaginatedUserListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedUserListResourceResponseToJSONTyped = PaginatedUserListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var UserListResource_1 = require("./UserListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedUserListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedUserListResourceResponse(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 PaginatedUserListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedUserListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedUserListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(UserListResource_1.UserListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedUserListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedUserListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedUserListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(UserListResource_1.UserListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Registers API
|
|
3
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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 { VenueListResource } from './VenueListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedVenueListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedVenueListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<VenueListResource>}
|
|
23
|
+
* @memberof PaginatedVenueListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<VenueListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedVenueListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedVenueListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedVenueListResourceResponse(value: object): value is PaginatedVenueListResourceResponse;
|
|
37
|
+
export declare function PaginatedVenueListResourceResponseFromJSON(json: any): PaginatedVenueListResourceResponse;
|
|
38
|
+
export declare function PaginatedVenueListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedVenueListResourceResponse;
|
|
39
|
+
export declare function PaginatedVenueListResourceResponseToJSON(json: any): PaginatedVenueListResourceResponse;
|
|
40
|
+
export declare function PaginatedVenueListResourceResponseToJSONTyped(value?: PaginatedVenueListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Security Registers API
|
|
6
|
+
* API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
|
|
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.instanceOfPaginatedVenueListResourceResponse = instanceOfPaginatedVenueListResourceResponse;
|
|
17
|
+
exports.PaginatedVenueListResourceResponseFromJSON = PaginatedVenueListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedVenueListResourceResponseFromJSONTyped = PaginatedVenueListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedVenueListResourceResponseToJSON = PaginatedVenueListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedVenueListResourceResponseToJSONTyped = PaginatedVenueListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var VenueListResource_1 = require("./VenueListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedVenueListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedVenueListResourceResponse(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 PaginatedVenueListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedVenueListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedVenueListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(VenueListResource_1.VenueListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedVenueListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedVenueListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedVenueListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(VenueListResource_1.VenueListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|