@digital8/security-registers-backend-ts-sdk 0.0.727 → 0.0.728

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.
Files changed (28) hide show
  1. package/.openapi-generator/FILES +4 -3
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +14 -3
  4. package/dist/apis/GeneralApi.js +56 -1
  5. package/dist/models/IncidentVideoListResource.d.ts +63 -0
  6. package/dist/models/{RecentVideoListResource.js → IncidentVideoListResource.js} +13 -13
  7. package/dist/models/IncidentVideoListResourceArrayResponse.d.ts +33 -0
  8. package/dist/models/IncidentVideoListResourceArrayResponse.js +50 -0
  9. package/dist/models/PaginatedIncidentVideoListResourceResponse.d.ts +40 -0
  10. package/dist/models/PaginatedIncidentVideoListResourceResponse.js +57 -0
  11. package/dist/models/StoreUserRequest.d.ts +50 -0
  12. package/dist/models/StoreUserRequest.js +61 -0
  13. package/dist/models/index.d.ts +4 -3
  14. package/dist/models/index.js +4 -3
  15. package/package.json +1 -1
  16. package/src/apis/GeneralApi.ts +53 -6
  17. package/src/models/{RecentVideoListResource.ts → IncidentVideoListResource.ts} +16 -16
  18. package/src/models/IncidentVideoListResourceArrayResponse.ts +73 -0
  19. package/src/models/PaginatedIncidentVideoListResourceResponse.ts +90 -0
  20. package/src/models/StoreUserRequest.ts +92 -0
  21. package/src/models/index.ts +4 -3
  22. package/dist/models/PaginatedRecentVideoListResourceResponse.d.ts +0 -40
  23. package/dist/models/PaginatedRecentVideoListResourceResponse.js +0 -57
  24. package/dist/models/RecentVideoListResource.d.ts +0 -63
  25. package/dist/models/RecentVideoListResourceArrayResponse.d.ts +0 -33
  26. package/dist/models/RecentVideoListResourceArrayResponse.js +0 -50
  27. package/src/models/PaginatedRecentVideoListResourceResponse.ts +0 -90
  28. package/src/models/RecentVideoListResourceArrayResponse.ts +0 -73
@@ -1,63 +0,0 @@
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 { VenueLiteResource } from './VenueLiteResource';
13
- /**
14
- *
15
- * @export
16
- * @interface RecentVideoListResource
17
- */
18
- export interface RecentVideoListResource {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof RecentVideoListResource
23
- */
24
- id?: number | null;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof RecentVideoListResource
29
- */
30
- incidentId?: number | null;
31
- /**
32
- *
33
- * @type {VenueLiteResource}
34
- * @memberof RecentVideoListResource
35
- */
36
- venue: VenueLiteResource | null;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof RecentVideoListResource
41
- */
42
- originalFilename: string;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof RecentVideoListResource
47
- */
48
- sizeBytes: number;
49
- /**
50
- *
51
- * @type {Date}
52
- * @memberof RecentVideoListResource
53
- */
54
- createdAt?: Date | null;
55
- }
56
- /**
57
- * Check if a given object implements the RecentVideoListResource interface.
58
- */
59
- export declare function instanceOfRecentVideoListResource(value: object): value is RecentVideoListResource;
60
- export declare function RecentVideoListResourceFromJSON(json: any): RecentVideoListResource;
61
- export declare function RecentVideoListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecentVideoListResource;
62
- export declare function RecentVideoListResourceToJSON(json: any): RecentVideoListResource;
63
- export declare function RecentVideoListResourceToJSONTyped(value?: RecentVideoListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,33 +0,0 @@
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 { RecentVideoListResource } from './RecentVideoListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface RecentVideoListResourceArrayResponse
17
- */
18
- export interface RecentVideoListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<RecentVideoListResource>}
22
- * @memberof RecentVideoListResourceArrayResponse
23
- */
24
- data?: Array<RecentVideoListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the RecentVideoListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfRecentVideoListResourceArrayResponse(value: object): value is RecentVideoListResourceArrayResponse;
30
- export declare function RecentVideoListResourceArrayResponseFromJSON(json: any): RecentVideoListResourceArrayResponse;
31
- export declare function RecentVideoListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecentVideoListResourceArrayResponse;
32
- export declare function RecentVideoListResourceArrayResponseToJSON(json: any): RecentVideoListResourceArrayResponse;
33
- export declare function RecentVideoListResourceArrayResponseToJSONTyped(value?: RecentVideoListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfRecentVideoListResourceArrayResponse = instanceOfRecentVideoListResourceArrayResponse;
17
- exports.RecentVideoListResourceArrayResponseFromJSON = RecentVideoListResourceArrayResponseFromJSON;
18
- exports.RecentVideoListResourceArrayResponseFromJSONTyped = RecentVideoListResourceArrayResponseFromJSONTyped;
19
- exports.RecentVideoListResourceArrayResponseToJSON = RecentVideoListResourceArrayResponseToJSON;
20
- exports.RecentVideoListResourceArrayResponseToJSONTyped = RecentVideoListResourceArrayResponseToJSONTyped;
21
- var RecentVideoListResource_1 = require("./RecentVideoListResource");
22
- /**
23
- * Check if a given object implements the RecentVideoListResourceArrayResponse interface.
24
- */
25
- function instanceOfRecentVideoListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function RecentVideoListResourceArrayResponseFromJSON(json) {
29
- return RecentVideoListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function RecentVideoListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(RecentVideoListResource_1.RecentVideoListResourceFromJSON)),
37
- };
38
- }
39
- function RecentVideoListResourceArrayResponseToJSON(json) {
40
- return RecentVideoListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function RecentVideoListResourceArrayResponseToJSONTyped(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(RecentVideoListResource_1.RecentVideoListResourceToJSON)),
49
- };
50
- }
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Security Registers API
5
- * API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
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 { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { RecentVideoListResource } from './RecentVideoListResource';
24
- import {
25
- RecentVideoListResourceFromJSON,
26
- RecentVideoListResourceFromJSONTyped,
27
- RecentVideoListResourceToJSON,
28
- RecentVideoListResourceToJSONTyped,
29
- } from './RecentVideoListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedRecentVideoListResourceResponse
35
- */
36
- export interface PaginatedRecentVideoListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<RecentVideoListResource>}
40
- * @memberof PaginatedRecentVideoListResourceResponse
41
- */
42
- data: Array<RecentVideoListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedRecentVideoListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedRecentVideoListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedRecentVideoListResourceResponse(value: object): value is PaginatedRecentVideoListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedRecentVideoListResourceResponseFromJSON(json: any): PaginatedRecentVideoListResourceResponse {
61
- return PaginatedRecentVideoListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedRecentVideoListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRecentVideoListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(RecentVideoListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedRecentVideoListResourceResponseToJSON(json: any): PaginatedRecentVideoListResourceResponse {
76
- return PaginatedRecentVideoListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedRecentVideoListResourceResponseToJSONTyped(value?: PaginatedRecentVideoListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(RecentVideoListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Security Registers API
5
- * API for the Security Registers compliance platform: guard rosters, sign-on/off registers, incidents, and licence verification.
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 { RecentVideoListResource } from './RecentVideoListResource';
17
- import {
18
- RecentVideoListResourceFromJSON,
19
- RecentVideoListResourceFromJSONTyped,
20
- RecentVideoListResourceToJSON,
21
- RecentVideoListResourceToJSONTyped,
22
- } from './RecentVideoListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface RecentVideoListResourceArrayResponse
28
- */
29
- export interface RecentVideoListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<RecentVideoListResource>}
33
- * @memberof RecentVideoListResourceArrayResponse
34
- */
35
- data?: Array<RecentVideoListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the RecentVideoListResourceArrayResponse interface.
40
- */
41
- export function instanceOfRecentVideoListResourceArrayResponse(value: object): value is RecentVideoListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function RecentVideoListResourceArrayResponseFromJSON(json: any): RecentVideoListResourceArrayResponse {
46
- return RecentVideoListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function RecentVideoListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecentVideoListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(RecentVideoListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function RecentVideoListResourceArrayResponseToJSON(json: any): RecentVideoListResourceArrayResponse {
60
- return RecentVideoListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function RecentVideoListResourceArrayResponseToJSONTyped(value?: RecentVideoListResourceArrayResponse | 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(RecentVideoListResourceToJSON)),
71
- };
72
- }
73
-