@digital8/security-registers-backend-ts-sdk 0.0.314 → 0.0.316
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 +26 -0
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +150 -1
- package/dist/apis/GeneralApi.js +815 -43
- package/dist/models/AssetFileForUploadResource.d.ts +4 -2
- package/dist/models/AssetLiteResource.d.ts +0 -12
- package/dist/models/AssetLiteResource.js +0 -6
- package/dist/models/AssetResource.d.ts +0 -12
- package/dist/models/AssetResource.js +0 -6
- package/dist/models/AuthChangePasswordRequest.d.ts +38 -0
- package/dist/models/AuthChangePasswordRequest.js +55 -0
- package/dist/models/AuthProfileUpdateRequest.d.ts +56 -0
- package/dist/models/AuthProfileUpdateRequest.js +57 -0
- package/dist/models/AuthRegisterGuardRequest.d.ts +70 -0
- package/dist/models/AuthRegisterGuardRequest.js +77 -0
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +98 -0
- package/dist/models/AuthRegisterGuardRequestLicence.js +95 -0
- package/dist/models/AuthRegisterGuardRequestProfileSignature.d.ts +50 -0
- package/dist/models/AuthRegisterGuardRequestProfileSignature.js +55 -0
- package/dist/models/BackAsset.d.ts +50 -0
- package/dist/models/BackAsset.js +55 -0
- package/dist/models/DevicesRegisterRequest.d.ts +76 -0
- package/dist/models/DevicesRegisterRequest.js +73 -0
- package/dist/models/FirstAidAsset.d.ts +50 -0
- package/dist/models/FirstAidAsset.js +55 -0
- package/dist/models/FrontAsset.d.ts +50 -0
- package/dist/models/FrontAsset.js +55 -0
- package/dist/models/IncidentFieldSchemaResource.d.ts +4 -2
- package/dist/models/IncidentListResource.d.ts +107 -0
- package/dist/models/IncidentListResource.js +81 -0
- package/dist/models/IncidentListResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentListResourceArrayResponse.js +50 -0
- package/dist/models/IncidentVideoUploadTokenResource.d.ts +4 -2
- package/dist/models/IncidentsExportPdfBulkRequest.d.ts +56 -0
- package/dist/models/IncidentsExportPdfBulkRequest.js +63 -0
- package/dist/models/IncidentsListRequest.d.ts +163 -0
- package/dist/models/IncidentsListRequest.js +103 -0
- package/dist/models/LicencesStoreRequest.d.ts +10 -104
- package/dist/models/LicencesStoreRequest.js +10 -40
- package/dist/models/LicencesStoreRequestBackAsset.d.ts +50 -0
- package/dist/models/LicencesStoreRequestBackAsset.js +55 -0
- package/dist/models/LicencesUpdateRequest.d.ts +9 -104
- package/dist/models/LicencesUpdateRequest.js +9 -40
- package/dist/models/MobileDeviceResource.d.ts +92 -0
- package/dist/models/MobileDeviceResource.js +86 -0
- package/dist/models/MobileDeviceResourceArrayResponse.d.ts +33 -0
- package/dist/models/MobileDeviceResourceArrayResponse.js +50 -0
- package/dist/models/MobileInitResource.d.ts +47 -0
- package/dist/models/MobileInitResource.js +62 -0
- package/dist/models/MobileInitResourceArrayResponse.d.ts +33 -0
- package/dist/models/MobileInitResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedIncidentListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedIncidentListResourceResponse.js +57 -0
- package/dist/models/PdfExportQueuedResource.d.ts +44 -0
- package/dist/models/PdfExportQueuedResource.js +59 -0
- package/dist/models/PdfExportQueuedResourceArrayResponse.d.ts +33 -0
- package/dist/models/PdfExportQueuedResourceArrayResponse.js +50 -0
- package/dist/models/RegisterListResource.d.ts +7 -8
- package/dist/models/RegisterListResource.js +9 -13
- package/dist/models/RegisterResource.d.ts +1 -13
- package/dist/models/RegisterResource.js +1 -11
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +3 -4
- package/dist/models/RsaAsset.d.ts +50 -0
- package/dist/models/RsaAsset.js +55 -0
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +12 -8
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +12 -8
- package/dist/models/VenueGuardScheduleResource.d.ts +50 -0
- package/dist/models/VenueGuardScheduleResource.js +63 -0
- package/dist/models/VenueGuardScheduleResourceArrayResponse.d.ts +33 -0
- package/dist/models/VenueGuardScheduleResourceArrayResponse.js +50 -0
- package/dist/models/VenueLiteResource.d.ts +6 -0
- package/dist/models/VenueLiteResource.js +4 -0
- package/dist/models/VenuesGuardScheduleUpdateRequest.d.ts +33 -0
- package/dist/models/VenuesGuardScheduleUpdateRequest.js +50 -0
- package/dist/models/VenuesGuardScheduleUpdateRequestEntriesInner.d.ts +44 -0
- package/dist/models/VenuesGuardScheduleUpdateRequestEntriesInner.js +59 -0
- package/dist/models/index.d.ts +26 -0
- package/dist/models/index.js +26 -0
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +709 -37
- package/src/models/AssetFileForUploadResource.ts +2 -2
- package/src/models/AssetLiteResource.ts +0 -17
- package/src/models/AssetResource.ts +0 -17
- package/src/models/AuthChangePasswordRequest.ts +75 -0
- package/src/models/AuthProfileUpdateRequest.ts +97 -0
- package/src/models/AuthRegisterGuardRequest.ts +135 -0
- package/src/models/AuthRegisterGuardRequestLicence.ts +181 -0
- package/src/models/AuthRegisterGuardRequestProfileSignature.ts +89 -0
- package/src/models/BackAsset.ts +89 -0
- package/src/models/DevicesRegisterRequest.ts +126 -0
- package/src/models/FirstAidAsset.ts +89 -0
- package/src/models/FrontAsset.ts +89 -0
- package/src/models/IncidentFieldSchemaResource.ts +2 -2
- package/src/models/IncidentListResource.ts +185 -0
- package/src/models/IncidentListResourceArrayResponse.ts +73 -0
- package/src/models/IncidentVideoUploadTokenResource.ts +2 -2
- package/src/models/IncidentsExportPdfBulkRequest.ts +100 -0
- package/src/models/IncidentsListRequest.ts +238 -0
- package/src/models/LicencesStoreRequest.ts +31 -144
- package/src/models/LicencesStoreRequestBackAsset.ts +89 -0
- package/src/models/LicencesUpdateRequest.ts +24 -144
- package/src/models/MobileDeviceResource.ts +153 -0
- package/src/models/MobileDeviceResourceArrayResponse.ts +73 -0
- package/src/models/MobileInitResource.ts +106 -0
- package/src/models/MobileInitResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedIncidentListResourceResponse.ts +90 -0
- package/src/models/PdfExportQueuedResource.ts +84 -0
- package/src/models/PdfExportQueuedResourceArrayResponse.ts +73 -0
- package/src/models/RegisterListResource.ts +15 -23
- package/src/models/RegisterResource.ts +2 -21
- package/src/models/RosterListResource.ts +3 -4
- package/src/models/RsaAsset.ts +89 -0
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +45 -16
- package/src/models/VenueGuardScheduleResource.ts +93 -0
- package/src/models/VenueGuardScheduleResourceArrayResponse.ts +73 -0
- package/src/models/VenueLiteResource.ts +9 -0
- package/src/models/VenuesGuardScheduleUpdateRequest.ts +73 -0
- package/src/models/VenuesGuardScheduleUpdateRequestEntriesInner.ts +84 -0
- package/src/models/index.ts +26 -0
|
@@ -0,0 +1,50 @@
|
|
|
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 AuthRegisterGuardRequestProfileSignature
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthRegisterGuardRequestProfileSignature {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuthRegisterGuardRequestProfileSignature
|
|
22
|
+
*/
|
|
23
|
+
fileId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthRegisterGuardRequestProfileSignature
|
|
28
|
+
*/
|
|
29
|
+
fileName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuthRegisterGuardRequestProfileSignature
|
|
34
|
+
*/
|
|
35
|
+
mimeType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AuthRegisterGuardRequestProfileSignature
|
|
40
|
+
*/
|
|
41
|
+
altText?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AuthRegisterGuardRequestProfileSignature interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAuthRegisterGuardRequestProfileSignature(value: object): value is AuthRegisterGuardRequestProfileSignature;
|
|
47
|
+
export declare function AuthRegisterGuardRequestProfileSignatureFromJSON(json: any): AuthRegisterGuardRequestProfileSignature;
|
|
48
|
+
export declare function AuthRegisterGuardRequestProfileSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthRegisterGuardRequestProfileSignature;
|
|
49
|
+
export declare function AuthRegisterGuardRequestProfileSignatureToJSON(json: any): AuthRegisterGuardRequestProfileSignature;
|
|
50
|
+
export declare function AuthRegisterGuardRequestProfileSignatureToJSONTyped(value?: AuthRegisterGuardRequestProfileSignature | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfAuthRegisterGuardRequestProfileSignature = instanceOfAuthRegisterGuardRequestProfileSignature;
|
|
17
|
+
exports.AuthRegisterGuardRequestProfileSignatureFromJSON = AuthRegisterGuardRequestProfileSignatureFromJSON;
|
|
18
|
+
exports.AuthRegisterGuardRequestProfileSignatureFromJSONTyped = AuthRegisterGuardRequestProfileSignatureFromJSONTyped;
|
|
19
|
+
exports.AuthRegisterGuardRequestProfileSignatureToJSON = AuthRegisterGuardRequestProfileSignatureToJSON;
|
|
20
|
+
exports.AuthRegisterGuardRequestProfileSignatureToJSONTyped = AuthRegisterGuardRequestProfileSignatureToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuthRegisterGuardRequestProfileSignature interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuthRegisterGuardRequestProfileSignature(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AuthRegisterGuardRequestProfileSignatureFromJSON(json) {
|
|
28
|
+
return AuthRegisterGuardRequestProfileSignatureFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AuthRegisterGuardRequestProfileSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'fileId': json['file_id'] == null ? undefined : json['file_id'],
|
|
36
|
+
'fileName': json['file_name'] == null ? undefined : json['file_name'],
|
|
37
|
+
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
38
|
+
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AuthRegisterGuardRequestProfileSignatureToJSON(json) {
|
|
42
|
+
return AuthRegisterGuardRequestProfileSignatureToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AuthRegisterGuardRequestProfileSignatureToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'file_id': value['fileId'],
|
|
51
|
+
'file_name': value['fileName'],
|
|
52
|
+
'mime_type': value['mimeType'],
|
|
53
|
+
'alt_text': value['altText'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 BackAsset
|
|
16
|
+
*/
|
|
17
|
+
export interface BackAsset {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BackAsset
|
|
22
|
+
*/
|
|
23
|
+
fileId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BackAsset
|
|
28
|
+
*/
|
|
29
|
+
fileName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BackAsset
|
|
34
|
+
*/
|
|
35
|
+
mimeType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BackAsset
|
|
40
|
+
*/
|
|
41
|
+
altText?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the BackAsset interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfBackAsset(value: object): value is BackAsset;
|
|
47
|
+
export declare function BackAssetFromJSON(json: any): BackAsset;
|
|
48
|
+
export declare function BackAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackAsset;
|
|
49
|
+
export declare function BackAssetToJSON(json: any): BackAsset;
|
|
50
|
+
export declare function BackAssetToJSONTyped(value?: BackAsset | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfBackAsset = instanceOfBackAsset;
|
|
17
|
+
exports.BackAssetFromJSON = BackAssetFromJSON;
|
|
18
|
+
exports.BackAssetFromJSONTyped = BackAssetFromJSONTyped;
|
|
19
|
+
exports.BackAssetToJSON = BackAssetToJSON;
|
|
20
|
+
exports.BackAssetToJSONTyped = BackAssetToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BackAsset interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBackAsset(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function BackAssetFromJSON(json) {
|
|
28
|
+
return BackAssetFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function BackAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'fileId': json['file_id'] == null ? undefined : json['file_id'],
|
|
36
|
+
'fileName': json['file_name'] == null ? undefined : json['file_name'],
|
|
37
|
+
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
38
|
+
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function BackAssetToJSON(json) {
|
|
42
|
+
return BackAssetToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function BackAssetToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'file_id': value['fileId'],
|
|
51
|
+
'file_name': value['fileName'],
|
|
52
|
+
'mime_type': value['mimeType'],
|
|
53
|
+
'alt_text': value['altText'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 DevicesRegisterRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DevicesRegisterRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DevicesRegisterRequest
|
|
22
|
+
*/
|
|
23
|
+
deviceId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DevicesRegisterRequest
|
|
28
|
+
*/
|
|
29
|
+
platform: DevicesRegisterRequestPlatformEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DevicesRegisterRequest
|
|
34
|
+
*/
|
|
35
|
+
osVersion?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DevicesRegisterRequest
|
|
40
|
+
*/
|
|
41
|
+
appVersion?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DevicesRegisterRequest
|
|
46
|
+
*/
|
|
47
|
+
model?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DevicesRegisterRequest
|
|
52
|
+
*/
|
|
53
|
+
name?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof DevicesRegisterRequest
|
|
58
|
+
*/
|
|
59
|
+
pushToken?: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const DevicesRegisterRequestPlatformEnum: {
|
|
65
|
+
readonly Ios: "ios";
|
|
66
|
+
readonly Android: "android";
|
|
67
|
+
};
|
|
68
|
+
export type DevicesRegisterRequestPlatformEnum = typeof DevicesRegisterRequestPlatformEnum[keyof typeof DevicesRegisterRequestPlatformEnum];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the DevicesRegisterRequest interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfDevicesRegisterRequest(value: object): value is DevicesRegisterRequest;
|
|
73
|
+
export declare function DevicesRegisterRequestFromJSON(json: any): DevicesRegisterRequest;
|
|
74
|
+
export declare function DevicesRegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DevicesRegisterRequest;
|
|
75
|
+
export declare function DevicesRegisterRequestToJSON(json: any): DevicesRegisterRequest;
|
|
76
|
+
export declare function DevicesRegisterRequestToJSONTyped(value?: DevicesRegisterRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.DevicesRegisterRequestPlatformEnum = void 0;
|
|
17
|
+
exports.instanceOfDevicesRegisterRequest = instanceOfDevicesRegisterRequest;
|
|
18
|
+
exports.DevicesRegisterRequestFromJSON = DevicesRegisterRequestFromJSON;
|
|
19
|
+
exports.DevicesRegisterRequestFromJSONTyped = DevicesRegisterRequestFromJSONTyped;
|
|
20
|
+
exports.DevicesRegisterRequestToJSON = DevicesRegisterRequestToJSON;
|
|
21
|
+
exports.DevicesRegisterRequestToJSONTyped = DevicesRegisterRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DevicesRegisterRequestPlatformEnum = {
|
|
26
|
+
Ios: 'ios',
|
|
27
|
+
Android: 'android'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the DevicesRegisterRequest interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfDevicesRegisterRequest(value) {
|
|
33
|
+
if (!('deviceId' in value) || value['deviceId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('platform' in value) || value['platform'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function DevicesRegisterRequestFromJSON(json) {
|
|
40
|
+
return DevicesRegisterRequestFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DevicesRegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'deviceId': json['device_id'],
|
|
48
|
+
'platform': json['platform'],
|
|
49
|
+
'osVersion': json['os_version'] == null ? undefined : json['os_version'],
|
|
50
|
+
'appVersion': json['app_version'] == null ? undefined : json['app_version'],
|
|
51
|
+
'model': json['model'] == null ? undefined : json['model'],
|
|
52
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
53
|
+
'pushToken': json['push_token'] == null ? undefined : json['push_token'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function DevicesRegisterRequestToJSON(json) {
|
|
57
|
+
return DevicesRegisterRequestToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function DevicesRegisterRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'device_id': value['deviceId'],
|
|
66
|
+
'platform': value['platform'],
|
|
67
|
+
'os_version': value['osVersion'],
|
|
68
|
+
'app_version': value['appVersion'],
|
|
69
|
+
'model': value['model'],
|
|
70
|
+
'name': value['name'],
|
|
71
|
+
'push_token': value['pushToken'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 FirstAidAsset
|
|
16
|
+
*/
|
|
17
|
+
export interface FirstAidAsset {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof FirstAidAsset
|
|
22
|
+
*/
|
|
23
|
+
fileId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FirstAidAsset
|
|
28
|
+
*/
|
|
29
|
+
fileName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FirstAidAsset
|
|
34
|
+
*/
|
|
35
|
+
mimeType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FirstAidAsset
|
|
40
|
+
*/
|
|
41
|
+
altText?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the FirstAidAsset interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfFirstAidAsset(value: object): value is FirstAidAsset;
|
|
47
|
+
export declare function FirstAidAssetFromJSON(json: any): FirstAidAsset;
|
|
48
|
+
export declare function FirstAidAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): FirstAidAsset;
|
|
49
|
+
export declare function FirstAidAssetToJSON(json: any): FirstAidAsset;
|
|
50
|
+
export declare function FirstAidAssetToJSONTyped(value?: FirstAidAsset | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfFirstAidAsset = instanceOfFirstAidAsset;
|
|
17
|
+
exports.FirstAidAssetFromJSON = FirstAidAssetFromJSON;
|
|
18
|
+
exports.FirstAidAssetFromJSONTyped = FirstAidAssetFromJSONTyped;
|
|
19
|
+
exports.FirstAidAssetToJSON = FirstAidAssetToJSON;
|
|
20
|
+
exports.FirstAidAssetToJSONTyped = FirstAidAssetToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FirstAidAsset interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFirstAidAsset(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function FirstAidAssetFromJSON(json) {
|
|
28
|
+
return FirstAidAssetFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function FirstAidAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'fileId': json['file_id'] == null ? undefined : json['file_id'],
|
|
36
|
+
'fileName': json['file_name'] == null ? undefined : json['file_name'],
|
|
37
|
+
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
38
|
+
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FirstAidAssetToJSON(json) {
|
|
42
|
+
return FirstAidAssetToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FirstAidAssetToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'file_id': value['fileId'],
|
|
51
|
+
'file_name': value['fileName'],
|
|
52
|
+
'mime_type': value['mimeType'],
|
|
53
|
+
'alt_text': value['altText'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 FrontAsset
|
|
16
|
+
*/
|
|
17
|
+
export interface FrontAsset {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof FrontAsset
|
|
22
|
+
*/
|
|
23
|
+
fileId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FrontAsset
|
|
28
|
+
*/
|
|
29
|
+
fileName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FrontAsset
|
|
34
|
+
*/
|
|
35
|
+
mimeType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FrontAsset
|
|
40
|
+
*/
|
|
41
|
+
altText?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the FrontAsset interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfFrontAsset(value: object): value is FrontAsset;
|
|
47
|
+
export declare function FrontAssetFromJSON(json: any): FrontAsset;
|
|
48
|
+
export declare function FrontAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrontAsset;
|
|
49
|
+
export declare function FrontAssetToJSON(json: any): FrontAsset;
|
|
50
|
+
export declare function FrontAssetToJSONTyped(value?: FrontAsset | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfFrontAsset = instanceOfFrontAsset;
|
|
17
|
+
exports.FrontAssetFromJSON = FrontAssetFromJSON;
|
|
18
|
+
exports.FrontAssetFromJSONTyped = FrontAssetFromJSONTyped;
|
|
19
|
+
exports.FrontAssetToJSON = FrontAssetToJSON;
|
|
20
|
+
exports.FrontAssetToJSONTyped = FrontAssetToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FrontAsset interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFrontAsset(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function FrontAssetFromJSON(json) {
|
|
28
|
+
return FrontAssetFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function FrontAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'fileId': json['file_id'] == null ? undefined : json['file_id'],
|
|
36
|
+
'fileName': json['file_name'] == null ? undefined : json['file_name'],
|
|
37
|
+
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
38
|
+
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FrontAssetToJSON(json) {
|
|
42
|
+
return FrontAssetToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FrontAssetToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'file_id': value['fileId'],
|
|
51
|
+
'file_name': value['fileName'],
|
|
52
|
+
'mime_type': value['mimeType'],
|
|
53
|
+
'alt_text': value['altText'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -29,10 +29,12 @@ export interface IncidentFieldSchemaResource {
|
|
|
29
29
|
state: object;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {{ [key: string]: boolean; }}
|
|
33
33
|
* @memberof IncidentFieldSchemaResource
|
|
34
34
|
*/
|
|
35
|
-
jsonSchema:
|
|
35
|
+
jsonSchema: {
|
|
36
|
+
[key: string]: boolean;
|
|
37
|
+
};
|
|
36
38
|
/**
|
|
37
39
|
*
|
|
38
40
|
* @type {Date}
|