@digital8/security-registers-backend-ts-sdk 0.0.216 → 0.0.218
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 -18
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +5 -122
- package/dist/apis/GeneralApi.js +101 -710
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +1 -3
- package/dist/models/LicencesStoreRequest.d.ts +4 -100
- package/dist/models/LicencesStoreRequest.js +9 -41
- package/dist/models/LicencesUpdateRequest.d.ts +4 -120
- package/dist/models/LicencesUpdateRequest.js +8 -56
- package/dist/models/LicencesVerifyRequest.d.ts +3 -21
- package/dist/models/LicencesVerifyRequest.js +6 -14
- package/dist/models/RegisterResource.d.ts +1 -1
- package/dist/models/RegisterResource.js +3 -1
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +3 -4
- package/dist/models/RostersListAllRequest.d.ts +0 -6
- package/dist/models/RostersListAllRequest.js +0 -2
- package/dist/models/RostersListRequest.d.ts +0 -6
- package/dist/models/RostersListRequest.js +0 -2
- package/dist/models/RostersListWithRegistersRequest.d.ts +0 -6
- package/dist/models/RostersListWithRegistersRequest.js +0 -2
- package/dist/models/UpdateUserRequest.d.ts +0 -6
- package/dist/models/UpdateUserRequest.js +0 -2
- package/dist/models/UserLiteResource.d.ts +0 -7
- package/dist/models/UserLiteResource.js +0 -5
- package/dist/models/UserResource.d.ts +0 -6
- package/dist/models/UserResource.js +0 -4
- package/dist/models/UsersCreateWithRoleRequest.d.ts +0 -6
- package/dist/models/UsersCreateWithRoleRequest.js +0 -2
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +8 -8
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +9 -9
- package/dist/models/index.d.ts +0 -18
- package/dist/models/index.js +0 -18
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +9 -550
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AssetResource.ts +2 -3
- package/src/models/LicencesStoreRequest.ts +13 -141
- package/src/models/LicencesUpdateRequest.ts +12 -165
- package/src/models/LicencesVerifyRequest.ts +8 -33
- package/src/models/RegisterResource.ts +3 -2
- package/src/models/RosterLiteResource.ts +3 -4
- package/src/models/RostersListAllRequest.ts +0 -8
- package/src/models/RostersListRequest.ts +0 -8
- package/src/models/RostersListWithRegistersRequest.ts +0 -8
- package/src/models/UpdateUserRequest.ts +0 -8
- package/src/models/UserLiteResource.ts +0 -17
- package/src/models/UserResource.ts +0 -9
- package/src/models/UsersCreateWithRoleRequest.ts +0 -8
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +17 -17
- package/src/models/index.ts +0 -18
- package/dist/models/IncidentFieldSchemaResource.d.ts +0 -56
- package/dist/models/IncidentFieldSchemaResource.js +0 -62
- package/dist/models/IncidentFieldSchemaResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentFieldSchemaResourceArrayResponse.js +0 -50
- package/dist/models/IncidentFieldSchemasShowRequest.d.ts +0 -46
- package/dist/models/IncidentFieldSchemasShowRequest.js +0 -65
- package/dist/models/LicenceVerificationResultResource.d.ts +0 -44
- package/dist/models/LicenceVerificationResultResource.js +0 -59
- package/dist/models/LicenceVerificationResultResourceArrayResponse.d.ts +0 -33
- package/dist/models/LicenceVerificationResultResourceArrayResponse.js +0 -50
- package/dist/models/NotificationPreferenceResource.d.ts +0 -63
- package/dist/models/NotificationPreferenceResource.js +0 -67
- package/dist/models/NotificationPreferenceResourceArrayResponse.d.ts +0 -33
- package/dist/models/NotificationPreferenceResourceArrayResponse.js +0 -50
- package/dist/models/NotificationPreferencesStoreRequest.d.ts +0 -55
- package/dist/models/NotificationPreferencesStoreRequest.js +0 -68
- package/dist/models/NotificationTypeResource.d.ts +0 -38
- package/dist/models/NotificationTypeResource.js +0 -55
- package/dist/models/NotificationTypeResourceArrayResponse.d.ts +0 -33
- package/dist/models/NotificationTypeResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedRegisterGroupedByRosterResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRegisterGroupedByRosterResourceResponse.js +0 -57
- package/dist/models/PdfExportResource.d.ts +0 -50
- package/dist/models/PdfExportResource.js +0 -61
- package/dist/models/PdfExportResourceArrayResponse.d.ts +0 -33
- package/dist/models/PdfExportResourceArrayResponse.js +0 -50
- package/dist/models/RegisterGroupedByRosterResource.d.ts +0 -70
- package/dist/models/RegisterGroupedByRosterResource.js +0 -74
- package/dist/models/RegisterGroupedByRosterResourceArrayResponse.d.ts +0 -33
- package/dist/models/RegisterGroupedByRosterResourceArrayResponse.js +0 -50
- package/dist/models/RegistersCreateRequest.d.ts +0 -98
- package/dist/models/RegistersCreateRequest.js +0 -83
- package/dist/models/RegistersUpdateRequest.d.ts +0 -113
- package/dist/models/RegistersUpdateRequest.js +0 -82
- package/dist/models/RostersUpdateRequest.d.ts +0 -77
- package/dist/models/RostersUpdateRequest.js +0 -70
- package/src/models/IncidentFieldSchemaResource.ts +0 -99
- package/src/models/IncidentFieldSchemaResourceArrayResponse.ts +0 -73
- package/src/models/IncidentFieldSchemasShowRequest.ts +0 -83
- package/src/models/LicenceVerificationResultResource.ts +0 -84
- package/src/models/LicenceVerificationResultResourceArrayResponse.ts +0 -73
- package/src/models/NotificationPreferenceResource.ts +0 -116
- package/src/models/NotificationPreferenceResourceArrayResponse.ts +0 -73
- package/src/models/NotificationPreferencesStoreRequest.ts +0 -97
- package/src/models/NotificationTypeResource.ts +0 -75
- package/src/models/NotificationTypeResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedRegisterGroupedByRosterResourceResponse.ts +0 -90
- package/src/models/PdfExportResource.ts +0 -92
- package/src/models/PdfExportResourceArrayResponse.ts +0 -73
- package/src/models/RegisterGroupedByRosterResource.ts +0 -133
- package/src/models/RegisterGroupedByRosterResourceArrayResponse.ts +0 -73
- package/src/models/RegistersCreateRequest.ts +0 -159
- package/src/models/RegistersUpdateRequest.ts +0 -173
- package/src/models/RostersUpdateRequest.ts +0 -125
|
@@ -1,44 +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 LicenceVerificationResultResource
|
|
16
|
-
*/
|
|
17
|
-
export interface LicenceVerificationResultResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof LicenceVerificationResultResource
|
|
22
|
-
*/
|
|
23
|
-
verified: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LicenceVerificationResultResource
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof LicenceVerificationResultResource
|
|
34
|
-
*/
|
|
35
|
-
result: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the LicenceVerificationResultResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfLicenceVerificationResultResource(value: object): value is LicenceVerificationResultResource;
|
|
41
|
-
export declare function LicenceVerificationResultResourceFromJSON(json: any): LicenceVerificationResultResource;
|
|
42
|
-
export declare function LicenceVerificationResultResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationResultResource;
|
|
43
|
-
export declare function LicenceVerificationResultResourceToJSON(json: any): LicenceVerificationResultResource;
|
|
44
|
-
export declare function LicenceVerificationResultResourceToJSONTyped(value?: LicenceVerificationResultResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfLicenceVerificationResultResource = instanceOfLicenceVerificationResultResource;
|
|
17
|
-
exports.LicenceVerificationResultResourceFromJSON = LicenceVerificationResultResourceFromJSON;
|
|
18
|
-
exports.LicenceVerificationResultResourceFromJSONTyped = LicenceVerificationResultResourceFromJSONTyped;
|
|
19
|
-
exports.LicenceVerificationResultResourceToJSON = LicenceVerificationResultResourceToJSON;
|
|
20
|
-
exports.LicenceVerificationResultResourceToJSONTyped = LicenceVerificationResultResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the LicenceVerificationResultResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfLicenceVerificationResultResource(value) {
|
|
25
|
-
if (!('verified' in value) || value['verified'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('result' in value) || value['result'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function LicenceVerificationResultResourceFromJSON(json) {
|
|
34
|
-
return LicenceVerificationResultResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function LicenceVerificationResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'verified': json['verified'],
|
|
42
|
-
'message': json['message'],
|
|
43
|
-
'result': json['result'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function LicenceVerificationResultResourceToJSON(json) {
|
|
47
|
-
return LicenceVerificationResultResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function LicenceVerificationResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'verified': value['verified'],
|
|
56
|
-
'message': value['message'],
|
|
57
|
-
'result': value['result'],
|
|
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 { LicenceVerificationResultResource } from './LicenceVerificationResultResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface LicenceVerificationResultResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface LicenceVerificationResultResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<LicenceVerificationResultResource>}
|
|
22
|
-
* @memberof LicenceVerificationResultResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<LicenceVerificationResultResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the LicenceVerificationResultResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfLicenceVerificationResultResourceArrayResponse(value: object): value is LicenceVerificationResultResourceArrayResponse;
|
|
30
|
-
export declare function LicenceVerificationResultResourceArrayResponseFromJSON(json: any): LicenceVerificationResultResourceArrayResponse;
|
|
31
|
-
export declare function LicenceVerificationResultResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationResultResourceArrayResponse;
|
|
32
|
-
export declare function LicenceVerificationResultResourceArrayResponseToJSON(json: any): LicenceVerificationResultResourceArrayResponse;
|
|
33
|
-
export declare function LicenceVerificationResultResourceArrayResponseToJSONTyped(value?: LicenceVerificationResultResourceArrayResponse | 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.instanceOfLicenceVerificationResultResourceArrayResponse = instanceOfLicenceVerificationResultResourceArrayResponse;
|
|
17
|
-
exports.LicenceVerificationResultResourceArrayResponseFromJSON = LicenceVerificationResultResourceArrayResponseFromJSON;
|
|
18
|
-
exports.LicenceVerificationResultResourceArrayResponseFromJSONTyped = LicenceVerificationResultResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.LicenceVerificationResultResourceArrayResponseToJSON = LicenceVerificationResultResourceArrayResponseToJSON;
|
|
20
|
-
exports.LicenceVerificationResultResourceArrayResponseToJSONTyped = LicenceVerificationResultResourceArrayResponseToJSONTyped;
|
|
21
|
-
var LicenceVerificationResultResource_1 = require("./LicenceVerificationResultResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the LicenceVerificationResultResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfLicenceVerificationResultResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function LicenceVerificationResultResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return LicenceVerificationResultResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function LicenceVerificationResultResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(LicenceVerificationResultResource_1.LicenceVerificationResultResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function LicenceVerificationResultResourceArrayResponseToJSON(json) {
|
|
40
|
-
return LicenceVerificationResultResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function LicenceVerificationResultResourceArrayResponseToJSONTyped(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(LicenceVerificationResultResource_1.LicenceVerificationResultResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,63 +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 { VenueLiteResource } from './VenueLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NotificationPreferenceResource
|
|
17
|
-
*/
|
|
18
|
-
export interface NotificationPreferenceResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof NotificationPreferenceResource
|
|
23
|
-
*/
|
|
24
|
-
id?: number | null;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof NotificationPreferenceResource
|
|
29
|
-
*/
|
|
30
|
-
notificationType: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {VenueLiteResource}
|
|
34
|
-
* @memberof NotificationPreferenceResource
|
|
35
|
-
*/
|
|
36
|
-
venue: VenueLiteResource | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof NotificationPreferenceResource
|
|
41
|
-
*/
|
|
42
|
-
enabled: boolean;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof NotificationPreferenceResource
|
|
47
|
-
*/
|
|
48
|
-
createdAt?: Date | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Date}
|
|
52
|
-
* @memberof NotificationPreferenceResource
|
|
53
|
-
*/
|
|
54
|
-
updatedAt?: Date | null;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfNotificationPreferenceResource(value: object): value is NotificationPreferenceResource;
|
|
60
|
-
export declare function NotificationPreferenceResourceFromJSON(json: any): NotificationPreferenceResource;
|
|
61
|
-
export declare function NotificationPreferenceResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResource;
|
|
62
|
-
export declare function NotificationPreferenceResourceToJSON(json: any): NotificationPreferenceResource;
|
|
63
|
-
export declare function NotificationPreferenceResourceToJSONTyped(value?: NotificationPreferenceResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +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.instanceOfNotificationPreferenceResource = instanceOfNotificationPreferenceResource;
|
|
17
|
-
exports.NotificationPreferenceResourceFromJSON = NotificationPreferenceResourceFromJSON;
|
|
18
|
-
exports.NotificationPreferenceResourceFromJSONTyped = NotificationPreferenceResourceFromJSONTyped;
|
|
19
|
-
exports.NotificationPreferenceResourceToJSON = NotificationPreferenceResourceToJSON;
|
|
20
|
-
exports.NotificationPreferenceResourceToJSONTyped = NotificationPreferenceResourceToJSONTyped;
|
|
21
|
-
var VenueLiteResource_1 = require("./VenueLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfNotificationPreferenceResource(value) {
|
|
26
|
-
if (!('notificationType' in value) || value['notificationType'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('venue' in value) || value['venue'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function NotificationPreferenceResourceFromJSON(json) {
|
|
35
|
-
return NotificationPreferenceResourceFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function NotificationPreferenceResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
43
|
-
'notificationType': json['notificationType'],
|
|
44
|
-
'venue': (0, VenueLiteResource_1.VenueLiteResourceFromJSON)(json['venue']),
|
|
45
|
-
'enabled': json['enabled'],
|
|
46
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
47
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function NotificationPreferenceResourceToJSON(json) {
|
|
51
|
-
return NotificationPreferenceResourceToJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function NotificationPreferenceResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
-
var _a, _b;
|
|
55
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'id': value['id'],
|
|
61
|
-
'notificationType': value['notificationType'],
|
|
62
|
-
'venue': (0, VenueLiteResource_1.VenueLiteResourceToJSON)(value['venue']),
|
|
63
|
-
'enabled': value['enabled'],
|
|
64
|
-
'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
65
|
-
'updatedAt': value['updatedAt'] === null ? null : ((_b = value['updatedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -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 { NotificationPreferenceResource } from './NotificationPreferenceResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NotificationPreferenceResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface NotificationPreferenceResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<NotificationPreferenceResource>}
|
|
22
|
-
* @memberof NotificationPreferenceResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<NotificationPreferenceResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfNotificationPreferenceResourceArrayResponse(value: object): value is NotificationPreferenceResourceArrayResponse;
|
|
30
|
-
export declare function NotificationPreferenceResourceArrayResponseFromJSON(json: any): NotificationPreferenceResourceArrayResponse;
|
|
31
|
-
export declare function NotificationPreferenceResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResourceArrayResponse;
|
|
32
|
-
export declare function NotificationPreferenceResourceArrayResponseToJSON(json: any): NotificationPreferenceResourceArrayResponse;
|
|
33
|
-
export declare function NotificationPreferenceResourceArrayResponseToJSONTyped(value?: NotificationPreferenceResourceArrayResponse | 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.instanceOfNotificationPreferenceResourceArrayResponse = instanceOfNotificationPreferenceResourceArrayResponse;
|
|
17
|
-
exports.NotificationPreferenceResourceArrayResponseFromJSON = NotificationPreferenceResourceArrayResponseFromJSON;
|
|
18
|
-
exports.NotificationPreferenceResourceArrayResponseFromJSONTyped = NotificationPreferenceResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.NotificationPreferenceResourceArrayResponseToJSON = NotificationPreferenceResourceArrayResponseToJSON;
|
|
20
|
-
exports.NotificationPreferenceResourceArrayResponseToJSONTyped = NotificationPreferenceResourceArrayResponseToJSONTyped;
|
|
21
|
-
var NotificationPreferenceResource_1 = require("./NotificationPreferenceResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfNotificationPreferenceResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function NotificationPreferenceResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return NotificationPreferenceResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function NotificationPreferenceResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(NotificationPreferenceResource_1.NotificationPreferenceResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function NotificationPreferenceResourceArrayResponseToJSON(json) {
|
|
40
|
-
return NotificationPreferenceResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function NotificationPreferenceResourceArrayResponseToJSONTyped(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(NotificationPreferenceResource_1.NotificationPreferenceResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,55 +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 NotificationPreferencesStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface NotificationPreferencesStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NotificationPreferencesStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
notificationType: NotificationPreferencesStoreRequestNotificationTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof NotificationPreferencesStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
venueId?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof NotificationPreferencesStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
enabled: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const NotificationPreferencesStoreRequestNotificationTypeEnum: {
|
|
41
|
-
readonly IncidentAdded: "incident_added";
|
|
42
|
-
readonly NonSignOff: "non_sign_off";
|
|
43
|
-
readonly NonSignOn: "non_sign_on";
|
|
44
|
-
readonly SignOnRejected: "sign_on_rejected";
|
|
45
|
-
readonly LicenceUpdated: "licence_updated";
|
|
46
|
-
};
|
|
47
|
-
export type NotificationPreferencesStoreRequestNotificationTypeEnum = typeof NotificationPreferencesStoreRequestNotificationTypeEnum[keyof typeof NotificationPreferencesStoreRequestNotificationTypeEnum];
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the NotificationPreferencesStoreRequest interface.
|
|
50
|
-
*/
|
|
51
|
-
export declare function instanceOfNotificationPreferencesStoreRequest(value: object): value is NotificationPreferencesStoreRequest;
|
|
52
|
-
export declare function NotificationPreferencesStoreRequestFromJSON(json: any): NotificationPreferencesStoreRequest;
|
|
53
|
-
export declare function NotificationPreferencesStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferencesStoreRequest;
|
|
54
|
-
export declare function NotificationPreferencesStoreRequestToJSON(json: any): NotificationPreferencesStoreRequest;
|
|
55
|
-
export declare function NotificationPreferencesStoreRequestToJSONTyped(value?: NotificationPreferencesStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,68 +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.NotificationPreferencesStoreRequestNotificationTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfNotificationPreferencesStoreRequest = instanceOfNotificationPreferencesStoreRequest;
|
|
18
|
-
exports.NotificationPreferencesStoreRequestFromJSON = NotificationPreferencesStoreRequestFromJSON;
|
|
19
|
-
exports.NotificationPreferencesStoreRequestFromJSONTyped = NotificationPreferencesStoreRequestFromJSONTyped;
|
|
20
|
-
exports.NotificationPreferencesStoreRequestToJSON = NotificationPreferencesStoreRequestToJSON;
|
|
21
|
-
exports.NotificationPreferencesStoreRequestToJSONTyped = NotificationPreferencesStoreRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.NotificationPreferencesStoreRequestNotificationTypeEnum = {
|
|
26
|
-
IncidentAdded: 'incident_added',
|
|
27
|
-
NonSignOff: 'non_sign_off',
|
|
28
|
-
NonSignOn: 'non_sign_on',
|
|
29
|
-
SignOnRejected: 'sign_on_rejected',
|
|
30
|
-
LicenceUpdated: 'licence_updated'
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the NotificationPreferencesStoreRequest interface.
|
|
34
|
-
*/
|
|
35
|
-
function instanceOfNotificationPreferencesStoreRequest(value) {
|
|
36
|
-
if (!('notificationType' in value) || value['notificationType'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
function NotificationPreferencesStoreRequestFromJSON(json) {
|
|
43
|
-
return NotificationPreferencesStoreRequestFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function NotificationPreferencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'notificationType': json['notification_type'],
|
|
51
|
-
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
52
|
-
'enabled': json['enabled'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function NotificationPreferencesStoreRequestToJSON(json) {
|
|
56
|
-
return NotificationPreferencesStoreRequestToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
function NotificationPreferencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'notification_type': value['notificationType'],
|
|
65
|
-
'venue_id': value['venueId'],
|
|
66
|
-
'enabled': value['enabled'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -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 NotificationTypeResource
|
|
16
|
-
*/
|
|
17
|
-
export interface NotificationTypeResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NotificationTypeResource
|
|
22
|
-
*/
|
|
23
|
-
value: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof NotificationTypeResource
|
|
28
|
-
*/
|
|
29
|
-
label: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the NotificationTypeResource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfNotificationTypeResource(value: object): value is NotificationTypeResource;
|
|
35
|
-
export declare function NotificationTypeResourceFromJSON(json: any): NotificationTypeResource;
|
|
36
|
-
export declare function NotificationTypeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeResource;
|
|
37
|
-
export declare function NotificationTypeResourceToJSON(json: any): NotificationTypeResource;
|
|
38
|
-
export declare function NotificationTypeResourceToJSONTyped(value?: NotificationTypeResource | 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.instanceOfNotificationTypeResource = instanceOfNotificationTypeResource;
|
|
17
|
-
exports.NotificationTypeResourceFromJSON = NotificationTypeResourceFromJSON;
|
|
18
|
-
exports.NotificationTypeResourceFromJSONTyped = NotificationTypeResourceFromJSONTyped;
|
|
19
|
-
exports.NotificationTypeResourceToJSON = NotificationTypeResourceToJSON;
|
|
20
|
-
exports.NotificationTypeResourceToJSONTyped = NotificationTypeResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the NotificationTypeResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfNotificationTypeResource(value) {
|
|
25
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('label' in value) || value['label'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function NotificationTypeResourceFromJSON(json) {
|
|
32
|
-
return NotificationTypeResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function NotificationTypeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'value': json['value'],
|
|
40
|
-
'label': json['label'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function NotificationTypeResourceToJSON(json) {
|
|
44
|
-
return NotificationTypeResourceToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function NotificationTypeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'value': value['value'],
|
|
53
|
-
'label': value['label'],
|
|
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 { NotificationTypeResource } from './NotificationTypeResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NotificationTypeResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface NotificationTypeResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<NotificationTypeResource>}
|
|
22
|
-
* @memberof NotificationTypeResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<NotificationTypeResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the NotificationTypeResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfNotificationTypeResourceArrayResponse(value: object): value is NotificationTypeResourceArrayResponse;
|
|
30
|
-
export declare function NotificationTypeResourceArrayResponseFromJSON(json: any): NotificationTypeResourceArrayResponse;
|
|
31
|
-
export declare function NotificationTypeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeResourceArrayResponse;
|
|
32
|
-
export declare function NotificationTypeResourceArrayResponseToJSON(json: any): NotificationTypeResourceArrayResponse;
|
|
33
|
-
export declare function NotificationTypeResourceArrayResponseToJSONTyped(value?: NotificationTypeResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|