@digital8/security-registers-backend-ts-sdk 0.0.262 → 0.0.263

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 (60) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +72 -1
  4. package/dist/apis/GeneralApi.js +352 -0
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +3 -1
  7. package/dist/models/IncidentResource.d.ts +13 -0
  8. package/dist/models/IncidentResource.js +7 -0
  9. package/dist/models/IncidentVideoResource.d.ts +74 -0
  10. package/dist/models/IncidentVideoResource.js +72 -0
  11. package/dist/models/IncidentVideoResourceArrayResponse.d.ts +33 -0
  12. package/dist/models/IncidentVideoResourceArrayResponse.js +50 -0
  13. package/dist/models/IncidentVideoSignedUrlResource.d.ts +32 -0
  14. package/dist/models/IncidentVideoSignedUrlResource.js +51 -0
  15. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.d.ts +33 -0
  16. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.js +50 -0
  17. package/dist/models/IncidentVideoUploadTokenResource.d.ts +50 -0
  18. package/dist/models/IncidentVideoUploadTokenResource.js +63 -0
  19. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.d.ts +33 -0
  20. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.js +50 -0
  21. package/dist/models/IncidentsVideosStoreRequest.d.ts +44 -0
  22. package/dist/models/IncidentsVideosStoreRequest.js +59 -0
  23. package/dist/models/IncidentsVideosUploadTokenRequest.d.ts +44 -0
  24. package/dist/models/IncidentsVideosUploadTokenRequest.js +59 -0
  25. package/dist/models/RegisterListResource.d.ts +1 -1
  26. package/dist/models/RegisterListResource.js +3 -1
  27. package/dist/models/RegisterResource.d.ts +1 -1
  28. package/dist/models/RegisterResource.js +5 -7
  29. package/dist/models/RosterListResource.d.ts +1 -1
  30. package/dist/models/RosterListResource.js +4 -3
  31. package/dist/models/RosterLiteResource.d.ts +1 -1
  32. package/dist/models/RosterLiteResource.js +3 -4
  33. package/dist/models/RosterResource.d.ts +1 -1
  34. package/dist/models/RosterResource.js +4 -3
  35. package/dist/models/RosterWithRegistersResource.d.ts +1 -1
  36. package/dist/models/RosterWithRegistersResource.js +4 -3
  37. package/dist/models/SecurityCompanyResource.d.ts +1 -1
  38. package/dist/models/SecurityCompanyResource.js +1 -3
  39. package/dist/models/index.d.ts +8 -0
  40. package/dist/models/index.js +8 -0
  41. package/package.json +1 -1
  42. package/src/apis/GeneralApi.ts +344 -0
  43. package/src/models/AddressResource.ts +3 -2
  44. package/src/models/IncidentResource.ts +24 -0
  45. package/src/models/IncidentVideoResource.ts +125 -0
  46. package/src/models/IncidentVideoResourceArrayResponse.ts +73 -0
  47. package/src/models/IncidentVideoSignedUrlResource.ts +66 -0
  48. package/src/models/IncidentVideoSignedUrlResourceArrayResponse.ts +73 -0
  49. package/src/models/IncidentVideoUploadTokenResource.ts +93 -0
  50. package/src/models/IncidentVideoUploadTokenResourceArrayResponse.ts +73 -0
  51. package/src/models/IncidentsVideosStoreRequest.ts +84 -0
  52. package/src/models/IncidentsVideosUploadTokenRequest.ts +84 -0
  53. package/src/models/RegisterListResource.ts +3 -2
  54. package/src/models/RegisterResource.ts +3 -4
  55. package/src/models/RosterListResource.ts +4 -3
  56. package/src/models/RosterLiteResource.ts +3 -4
  57. package/src/models/RosterResource.ts +4 -3
  58. package/src/models/RosterWithRegistersResource.ts +4 -3
  59. package/src/models/SecurityCompanyResource.ts +2 -3
  60. package/src/models/index.ts +8 -0
@@ -44,7 +44,7 @@ export interface SecurityCompanyResource {
44
44
  * @type {string}
45
45
  * @memberof SecurityCompanyResource
46
46
  */
47
- email: string;
47
+ email?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {boolean}
@@ -82,7 +82,6 @@ export interface SecurityCompanyResource {
82
82
  */
83
83
  export function instanceOfSecurityCompanyResource(value: object): value is SecurityCompanyResource {
84
84
  if (!('name' in value) || value['name'] === undefined) return false;
85
- if (!('email' in value) || value['email'] === undefined) return false;
86
85
  if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
87
86
  if (!('address' in value) || value['address'] === undefined) return false;
88
87
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
@@ -101,7 +100,7 @@ export function SecurityCompanyResourceFromJSONTyped(json: any, ignoreDiscrimina
101
100
 
102
101
  'id': json['id'] == null ? undefined : json['id'],
103
102
  'name': json['name'],
104
- 'email': json['email'],
103
+ 'email': json['email'] == null ? undefined : json['email'],
105
104
  'isEnabled': json['isEnabled'],
106
105
  'address': AddressResourceFromJSON(json['address']),
107
106
  'licenceNumber': json['licenceNumber'],
@@ -26,9 +26,17 @@ export * from './IncidentResource';
26
26
  export * from './IncidentResourceArrayResponse';
27
27
  export * from './IncidentVersionResource';
28
28
  export * from './IncidentVersionResourceArrayResponse';
29
+ export * from './IncidentVideoResource';
30
+ export * from './IncidentVideoResourceArrayResponse';
31
+ export * from './IncidentVideoSignedUrlResource';
32
+ export * from './IncidentVideoSignedUrlResourceArrayResponse';
33
+ export * from './IncidentVideoUploadTokenResource';
34
+ export * from './IncidentVideoUploadTokenResourceArrayResponse';
29
35
  export * from './IncidentsApproveRequest';
30
36
  export * from './IncidentsStoreRequest';
31
37
  export * from './IncidentsUpdateRequest';
38
+ export * from './IncidentsVideosStoreRequest';
39
+ export * from './IncidentsVideosUploadTokenRequest';
32
40
  export * from './IndexMinimalUserRequest';
33
41
  export * from './IndexUserRequest';
34
42
  export * from './LicenceListResource';