@digital8/security-registers-backend-ts-sdk 0.0.736 → 0.0.738

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 (31) 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/PaginatedRecentVideoListResourceResponse.d.ts +40 -0
  6. package/dist/models/PaginatedRecentVideoListResourceResponse.js +57 -0
  7. package/dist/models/RecentVideoListResource.d.ts +63 -0
  8. package/dist/models/{IncidentVideoListResource.js → RecentVideoListResource.js} +13 -13
  9. package/dist/models/RecentVideoListResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/RecentVideoListResourceArrayResponse.js +50 -0
  11. package/dist/models/StoreUserRequest.d.ts +50 -0
  12. package/dist/models/StoreUserRequest.js +61 -0
  13. package/dist/models/VenuesUpdateRequest.d.ts +2 -2
  14. package/dist/models/VenuesUpdateRequest.js +6 -2
  15. package/dist/models/index.d.ts +4 -3
  16. package/dist/models/index.js +4 -3
  17. package/package.json +1 -1
  18. package/src/apis/GeneralApi.ts +53 -6
  19. package/src/models/PaginatedRecentVideoListResourceResponse.ts +90 -0
  20. package/src/models/{IncidentVideoListResource.ts → RecentVideoListResource.ts} +16 -16
  21. package/src/models/RecentVideoListResourceArrayResponse.ts +73 -0
  22. package/src/models/StoreUserRequest.ts +92 -0
  23. package/src/models/VenuesUpdateRequest.ts +6 -4
  24. package/src/models/index.ts +4 -3
  25. package/dist/models/IncidentVideoListResource.d.ts +0 -63
  26. package/dist/models/IncidentVideoListResourceArrayResponse.d.ts +0 -33
  27. package/dist/models/IncidentVideoListResourceArrayResponse.js +0 -50
  28. package/dist/models/PaginatedIncidentVideoListResourceResponse.d.ts +0 -40
  29. package/dist/models/PaginatedIncidentVideoListResourceResponse.js +0 -57
  30. package/src/models/IncidentVideoListResourceArrayResponse.ts +0 -73
  31. package/src/models/PaginatedIncidentVideoListResourceResponse.ts +0 -90
@@ -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 IncidentVideoListResource
17
- */
18
- export interface IncidentVideoListResource {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof IncidentVideoListResource
23
- */
24
- id?: number | null;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof IncidentVideoListResource
29
- */
30
- incidentId?: number | null;
31
- /**
32
- *
33
- * @type {VenueLiteResource}
34
- * @memberof IncidentVideoListResource
35
- */
36
- venue: VenueLiteResource | null;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof IncidentVideoListResource
41
- */
42
- originalFilename: string;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof IncidentVideoListResource
47
- */
48
- sizeBytes: number;
49
- /**
50
- *
51
- * @type {Date}
52
- * @memberof IncidentVideoListResource
53
- */
54
- createdAt?: Date | null;
55
- }
56
- /**
57
- * Check if a given object implements the IncidentVideoListResource interface.
58
- */
59
- export declare function instanceOfIncidentVideoListResource(value: object): value is IncidentVideoListResource;
60
- export declare function IncidentVideoListResourceFromJSON(json: any): IncidentVideoListResource;
61
- export declare function IncidentVideoListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoListResource;
62
- export declare function IncidentVideoListResourceToJSON(json: any): IncidentVideoListResource;
63
- export declare function IncidentVideoListResourceToJSONTyped(value?: IncidentVideoListResource | 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 { IncidentVideoListResource } from './IncidentVideoListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface IncidentVideoListResourceArrayResponse
17
- */
18
- export interface IncidentVideoListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<IncidentVideoListResource>}
22
- * @memberof IncidentVideoListResourceArrayResponse
23
- */
24
- data?: Array<IncidentVideoListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the IncidentVideoListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfIncidentVideoListResourceArrayResponse(value: object): value is IncidentVideoListResourceArrayResponse;
30
- export declare function IncidentVideoListResourceArrayResponseFromJSON(json: any): IncidentVideoListResourceArrayResponse;
31
- export declare function IncidentVideoListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoListResourceArrayResponse;
32
- export declare function IncidentVideoListResourceArrayResponseToJSON(json: any): IncidentVideoListResourceArrayResponse;
33
- export declare function IncidentVideoListResourceArrayResponseToJSONTyped(value?: IncidentVideoListResourceArrayResponse | 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.instanceOfIncidentVideoListResourceArrayResponse = instanceOfIncidentVideoListResourceArrayResponse;
17
- exports.IncidentVideoListResourceArrayResponseFromJSON = IncidentVideoListResourceArrayResponseFromJSON;
18
- exports.IncidentVideoListResourceArrayResponseFromJSONTyped = IncidentVideoListResourceArrayResponseFromJSONTyped;
19
- exports.IncidentVideoListResourceArrayResponseToJSON = IncidentVideoListResourceArrayResponseToJSON;
20
- exports.IncidentVideoListResourceArrayResponseToJSONTyped = IncidentVideoListResourceArrayResponseToJSONTyped;
21
- var IncidentVideoListResource_1 = require("./IncidentVideoListResource");
22
- /**
23
- * Check if a given object implements the IncidentVideoListResourceArrayResponse interface.
24
- */
25
- function instanceOfIncidentVideoListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function IncidentVideoListResourceArrayResponseFromJSON(json) {
29
- return IncidentVideoListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function IncidentVideoListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(IncidentVideoListResource_1.IncidentVideoListResourceFromJSON)),
37
- };
38
- }
39
- function IncidentVideoListResourceArrayResponseToJSON(json) {
40
- return IncidentVideoListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function IncidentVideoListResourceArrayResponseToJSONTyped(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(IncidentVideoListResource_1.IncidentVideoListResourceToJSON)),
49
- };
50
- }
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
13
- import type { IncidentVideoListResource } from './IncidentVideoListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedIncidentVideoListResourceResponse
18
- */
19
- export interface PaginatedIncidentVideoListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<IncidentVideoListResource>}
23
- * @memberof PaginatedIncidentVideoListResourceResponse
24
- */
25
- data: Array<IncidentVideoListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedIncidentVideoListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedIncidentVideoListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedIncidentVideoListResourceResponse(value: object): value is PaginatedIncidentVideoListResourceResponse;
37
- export declare function PaginatedIncidentVideoListResourceResponseFromJSON(json: any): PaginatedIncidentVideoListResourceResponse;
38
- export declare function PaginatedIncidentVideoListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedIncidentVideoListResourceResponse;
39
- export declare function PaginatedIncidentVideoListResourceResponseToJSON(json: any): PaginatedIncidentVideoListResourceResponse;
40
- export declare function PaginatedIncidentVideoListResourceResponseToJSONTyped(value?: PaginatedIncidentVideoListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedIncidentVideoListResourceResponse = instanceOfPaginatedIncidentVideoListResourceResponse;
17
- exports.PaginatedIncidentVideoListResourceResponseFromJSON = PaginatedIncidentVideoListResourceResponseFromJSON;
18
- exports.PaginatedIncidentVideoListResourceResponseFromJSONTyped = PaginatedIncidentVideoListResourceResponseFromJSONTyped;
19
- exports.PaginatedIncidentVideoListResourceResponseToJSON = PaginatedIncidentVideoListResourceResponseToJSON;
20
- exports.PaginatedIncidentVideoListResourceResponseToJSONTyped = PaginatedIncidentVideoListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var IncidentVideoListResource_1 = require("./IncidentVideoListResource");
23
- /**
24
- * Check if a given object implements the PaginatedIncidentVideoListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedIncidentVideoListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedIncidentVideoListResourceResponseFromJSON(json) {
34
- return PaginatedIncidentVideoListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedIncidentVideoListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(IncidentVideoListResource_1.IncidentVideoListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedIncidentVideoListResourceResponseToJSON(json) {
46
- return PaginatedIncidentVideoListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedIncidentVideoListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(IncidentVideoListResource_1.IncidentVideoListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -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 { IncidentVideoListResource } from './IncidentVideoListResource';
17
- import {
18
- IncidentVideoListResourceFromJSON,
19
- IncidentVideoListResourceFromJSONTyped,
20
- IncidentVideoListResourceToJSON,
21
- IncidentVideoListResourceToJSONTyped,
22
- } from './IncidentVideoListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface IncidentVideoListResourceArrayResponse
28
- */
29
- export interface IncidentVideoListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<IncidentVideoListResource>}
33
- * @memberof IncidentVideoListResourceArrayResponse
34
- */
35
- data?: Array<IncidentVideoListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the IncidentVideoListResourceArrayResponse interface.
40
- */
41
- export function instanceOfIncidentVideoListResourceArrayResponse(value: object): value is IncidentVideoListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function IncidentVideoListResourceArrayResponseFromJSON(json: any): IncidentVideoListResourceArrayResponse {
46
- return IncidentVideoListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function IncidentVideoListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentVideoListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function IncidentVideoListResourceArrayResponseToJSON(json: any): IncidentVideoListResourceArrayResponse {
60
- return IncidentVideoListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function IncidentVideoListResourceArrayResponseToJSONTyped(value?: IncidentVideoListResourceArrayResponse | 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(IncidentVideoListResourceToJSON)),
71
- };
72
- }
73
-
@@ -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 { IncidentVideoListResource } from './IncidentVideoListResource';
24
- import {
25
- IncidentVideoListResourceFromJSON,
26
- IncidentVideoListResourceFromJSONTyped,
27
- IncidentVideoListResourceToJSON,
28
- IncidentVideoListResourceToJSONTyped,
29
- } from './IncidentVideoListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedIncidentVideoListResourceResponse
35
- */
36
- export interface PaginatedIncidentVideoListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<IncidentVideoListResource>}
40
- * @memberof PaginatedIncidentVideoListResourceResponse
41
- */
42
- data: Array<IncidentVideoListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedIncidentVideoListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedIncidentVideoListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedIncidentVideoListResourceResponse(value: object): value is PaginatedIncidentVideoListResourceResponse {
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 PaginatedIncidentVideoListResourceResponseFromJSON(json: any): PaginatedIncidentVideoListResourceResponse {
61
- return PaginatedIncidentVideoListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedIncidentVideoListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedIncidentVideoListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(IncidentVideoListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedIncidentVideoListResourceResponseToJSON(json: any): PaginatedIncidentVideoListResourceResponse {
76
- return PaginatedIncidentVideoListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedIncidentVideoListResourceResponseToJSONTyped(value?: PaginatedIncidentVideoListResourceResponse | 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(IncidentVideoListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-