@digital8/security-registers-backend-ts-sdk 0.0.282 → 0.0.284
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 +4 -3
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +7 -40
- package/dist/apis/GeneralApi.js +8 -176
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +1 -3
- package/dist/models/IncidentListResource.d.ts +101 -0
- package/dist/models/IncidentListResource.js +79 -0
- package/dist/models/IncidentListResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentListResourceArrayResponse.js +50 -0
- package/dist/models/IncidentsListRequest.d.ts +151 -0
- package/dist/models/IncidentsListRequest.js +99 -0
- package/dist/models/PaginatedIncidentListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedIncidentListResourceResponse.js +57 -0
- package/dist/models/RegisterListResource.d.ts +1 -1
- package/dist/models/RegisterListResource.js +3 -1
- package/dist/models/RegisterResource.d.ts +1 -1
- package/dist/models/RegisterResource.js +7 -5
- package/dist/models/RosterWithRegistersResource.d.ts +1 -1
- package/dist/models/RosterWithRegistersResource.js +4 -3
- package/dist/models/VenueLiteResource.d.ts +6 -0
- package/dist/models/VenueLiteResource.js +4 -0
- package/dist/models/index.d.ts +4 -3
- package/dist/models/index.js +4 -3
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +16 -163
- package/src/models/AddressResource.ts +2 -3
- package/src/models/AssetResource.ts +2 -3
- package/src/models/IncidentListResource.ts +177 -0
- package/src/models/IncidentListResourceArrayResponse.ts +73 -0
- package/src/models/IncidentsListRequest.ts +222 -0
- package/src/models/PaginatedIncidentListResourceResponse.ts +90 -0
- package/src/models/RegisterListResource.ts +3 -2
- package/src/models/RegisterResource.ts +4 -3
- package/src/models/RosterWithRegistersResource.ts +4 -3
- package/src/models/VenueLiteResource.ts +9 -0
- package/src/models/index.ts +4 -3
- package/dist/models/IncidentsExportPdfBulkRequest.d.ts +0 -56
- package/dist/models/IncidentsExportPdfBulkRequest.js +0 -63
- package/dist/models/PdfExportQueuedResource.d.ts +0 -44
- package/dist/models/PdfExportQueuedResource.js +0 -59
- package/dist/models/PdfExportQueuedResourceArrayResponse.d.ts +0 -33
- package/dist/models/PdfExportQueuedResourceArrayResponse.js +0 -50
- package/src/models/IncidentsExportPdfBulkRequest.ts +0 -100
- package/src/models/PdfExportQueuedResource.ts +0 -84
- package/src/models/PdfExportQueuedResourceArrayResponse.ts +0 -73
|
@@ -1,59 +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.instanceOfPdfExportQueuedResource = instanceOfPdfExportQueuedResource;
|
|
17
|
-
exports.PdfExportQueuedResourceFromJSON = PdfExportQueuedResourceFromJSON;
|
|
18
|
-
exports.PdfExportQueuedResourceFromJSONTyped = PdfExportQueuedResourceFromJSONTyped;
|
|
19
|
-
exports.PdfExportQueuedResourceToJSON = PdfExportQueuedResourceToJSON;
|
|
20
|
-
exports.PdfExportQueuedResourceToJSONTyped = PdfExportQueuedResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfPdfExportQueuedResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function PdfExportQueuedResourceFromJSON(json) {
|
|
34
|
-
return PdfExportQueuedResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PdfExportQueuedResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'],
|
|
42
|
-
'status': json['status'],
|
|
43
|
-
'message': json['message'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function PdfExportQueuedResourceToJSON(json) {
|
|
47
|
-
return PdfExportQueuedResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function PdfExportQueuedResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'status': value['status'],
|
|
57
|
-
'message': value['message'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -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 { PdfExportQueuedResource } from './PdfExportQueuedResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PdfExportQueuedResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface PdfExportQueuedResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<PdfExportQueuedResource>}
|
|
22
|
-
* @memberof PdfExportQueuedResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<PdfExportQueuedResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfPdfExportQueuedResourceArrayResponse(value: object): value is PdfExportQueuedResourceArrayResponse;
|
|
30
|
-
export declare function PdfExportQueuedResourceArrayResponseFromJSON(json: any): PdfExportQueuedResourceArrayResponse;
|
|
31
|
-
export declare function PdfExportQueuedResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResourceArrayResponse;
|
|
32
|
-
export declare function PdfExportQueuedResourceArrayResponseToJSON(json: any): PdfExportQueuedResourceArrayResponse;
|
|
33
|
-
export declare function PdfExportQueuedResourceArrayResponseToJSONTyped(value?: PdfExportQueuedResourceArrayResponse | 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.instanceOfPdfExportQueuedResourceArrayResponse = instanceOfPdfExportQueuedResourceArrayResponse;
|
|
17
|
-
exports.PdfExportQueuedResourceArrayResponseFromJSON = PdfExportQueuedResourceArrayResponseFromJSON;
|
|
18
|
-
exports.PdfExportQueuedResourceArrayResponseFromJSONTyped = PdfExportQueuedResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.PdfExportQueuedResourceArrayResponseToJSON = PdfExportQueuedResourceArrayResponseToJSON;
|
|
20
|
-
exports.PdfExportQueuedResourceArrayResponseToJSONTyped = PdfExportQueuedResourceArrayResponseToJSONTyped;
|
|
21
|
-
var PdfExportQueuedResource_1 = require("./PdfExportQueuedResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfPdfExportQueuedResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function PdfExportQueuedResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return PdfExportQueuedResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function PdfExportQueuedResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(PdfExportQueuedResource_1.PdfExportQueuedResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function PdfExportQueuedResourceArrayResponseToJSON(json) {
|
|
40
|
-
return PdfExportQueuedResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function PdfExportQueuedResourceArrayResponseToJSONTyped(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(PdfExportQueuedResource_1.PdfExportQueuedResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IncidentsExportPdfBulkRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentsExportPdfBulkRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
26
|
-
*/
|
|
27
|
-
venueId: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
32
|
-
*/
|
|
33
|
-
securityCompanyId?: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
38
|
-
*/
|
|
39
|
-
hasApprovedAt?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Date}
|
|
43
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
44
|
-
*/
|
|
45
|
-
afterCreatedAt: Date;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Date}
|
|
49
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
50
|
-
*/
|
|
51
|
-
beforeCreatedAt: Date;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the IncidentsExportPdfBulkRequest interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfIncidentsExportPdfBulkRequest(value: object): value is IncidentsExportPdfBulkRequest {
|
|
58
|
-
if (!('venueId' in value) || value['venueId'] === undefined) return false;
|
|
59
|
-
if (!('afterCreatedAt' in value) || value['afterCreatedAt'] === undefined) return false;
|
|
60
|
-
if (!('beforeCreatedAt' in value) || value['beforeCreatedAt'] === undefined) return false;
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function IncidentsExportPdfBulkRequestFromJSON(json: any): IncidentsExportPdfBulkRequest {
|
|
65
|
-
return IncidentsExportPdfBulkRequestFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function IncidentsExportPdfBulkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsExportPdfBulkRequest {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'venueId': json['venue_id'],
|
|
75
|
-
'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
|
|
76
|
-
'hasApprovedAt': json['has_approved_at'] == null ? undefined : json['has_approved_at'],
|
|
77
|
-
'afterCreatedAt': (new Date(json['after_created_at'])),
|
|
78
|
-
'beforeCreatedAt': (new Date(json['before_created_at'])),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function IncidentsExportPdfBulkRequestToJSON(json: any): IncidentsExportPdfBulkRequest {
|
|
83
|
-
return IncidentsExportPdfBulkRequestToJSONTyped(json, false);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function IncidentsExportPdfBulkRequestToJSONTyped(value?: IncidentsExportPdfBulkRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
87
|
-
if (value == null) {
|
|
88
|
-
return value;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return {
|
|
92
|
-
|
|
93
|
-
'venue_id': value['venueId'],
|
|
94
|
-
'security_company_id': value['securityCompanyId'],
|
|
95
|
-
'has_approved_at': value['hasApprovedAt'],
|
|
96
|
-
'after_created_at': ((value['afterCreatedAt']).toISOString()),
|
|
97
|
-
'before_created_at': ((value['beforeCreatedAt']).toISOString()),
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface PdfExportQueuedResource
|
|
20
|
-
*/
|
|
21
|
-
export interface PdfExportQueuedResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof PdfExportQueuedResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PdfExportQueuedResource
|
|
32
|
-
*/
|
|
33
|
-
status: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PdfExportQueuedResource
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfPdfExportQueuedResource(value: object): value is PdfExportQueuedResource {
|
|
46
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
48
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function PdfExportQueuedResourceFromJSON(json: any): PdfExportQueuedResource {
|
|
53
|
-
return PdfExportQueuedResourceFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function PdfExportQueuedResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResource {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'id': json['id'],
|
|
63
|
-
'status': json['status'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function PdfExportQueuedResourceToJSON(json: any): PdfExportQueuedResource {
|
|
69
|
-
return PdfExportQueuedResourceToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function PdfExportQueuedResourceToJSONTyped(value?: PdfExportQueuedResource | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'id': value['id'],
|
|
80
|
-
'status': value['status'],
|
|
81
|
-
'message': value['message'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PdfExportQueuedResource } from './PdfExportQueuedResource';
|
|
17
|
-
import {
|
|
18
|
-
PdfExportQueuedResourceFromJSON,
|
|
19
|
-
PdfExportQueuedResourceFromJSONTyped,
|
|
20
|
-
PdfExportQueuedResourceToJSON,
|
|
21
|
-
PdfExportQueuedResourceToJSONTyped,
|
|
22
|
-
} from './PdfExportQueuedResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface PdfExportQueuedResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface PdfExportQueuedResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<PdfExportQueuedResource>}
|
|
33
|
-
* @memberof PdfExportQueuedResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<PdfExportQueuedResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfPdfExportQueuedResourceArrayResponse(value: object): value is PdfExportQueuedResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function PdfExportQueuedResourceArrayResponseFromJSON(json: any): PdfExportQueuedResourceArrayResponse {
|
|
46
|
-
return PdfExportQueuedResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PdfExportQueuedResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PdfExportQueuedResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function PdfExportQueuedResourceArrayResponseToJSON(json: any): PdfExportQueuedResourceArrayResponse {
|
|
60
|
-
return PdfExportQueuedResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function PdfExportQueuedResourceArrayResponseToJSONTyped(value?: PdfExportQueuedResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(PdfExportQueuedResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|