@digital8/security-registers-backend-ts-sdk 0.0.200 → 0.0.201

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 (48) hide show
  1. package/.openapi-generator/FILES +1 -5
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +5 -43
  4. package/dist/apis/GeneralApi.js +7 -223
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +1 -3
  7. package/dist/models/IncidentFieldSchemasShowRequest.d.ts +46 -0
  8. package/dist/models/IncidentFieldSchemasShowRequest.js +65 -0
  9. package/dist/models/RegisterListResource.d.ts +5 -5
  10. package/dist/models/RegisterListResource.js +6 -7
  11. package/dist/models/RegisterResource.d.ts +3 -3
  12. package/dist/models/RegisterResource.js +9 -11
  13. package/dist/models/RosterListResource.d.ts +1 -1
  14. package/dist/models/RosterListResource.js +3 -4
  15. package/dist/models/RosterLiteResource.d.ts +1 -1
  16. package/dist/models/RosterLiteResource.js +3 -4
  17. package/dist/models/RosterWithRegistersResource.d.ts +1 -1
  18. package/dist/models/RosterWithRegistersResource.js +4 -3
  19. package/dist/models/SecurityCompanyResource.d.ts +1 -1
  20. package/dist/models/SecurityCompanyResource.js +3 -1
  21. package/dist/models/index.d.ts +1 -5
  22. package/dist/models/index.js +1 -5
  23. package/package.json +1 -1
  24. package/src/apis/GeneralApi.ts +12 -193
  25. package/src/models/AddressResource.ts +2 -3
  26. package/src/models/IncidentFieldSchemasShowRequest.ts +83 -0
  27. package/src/models/RegisterListResource.ts +10 -11
  28. package/src/models/RegisterResource.ts +8 -9
  29. package/src/models/RosterListResource.ts +3 -4
  30. package/src/models/RosterLiteResource.ts +3 -4
  31. package/src/models/RosterWithRegistersResource.ts +4 -3
  32. package/src/models/SecurityCompanyResource.ts +3 -2
  33. package/src/models/index.ts +1 -5
  34. package/dist/models/NotificationPreferenceResource.d.ts +0 -63
  35. package/dist/models/NotificationPreferenceResource.js +0 -67
  36. package/dist/models/NotificationPreferenceResourceArrayResponse.d.ts +0 -33
  37. package/dist/models/NotificationPreferenceResourceArrayResponse.js +0 -50
  38. package/dist/models/NotificationPreferencesStoreRequest.d.ts +0 -55
  39. package/dist/models/NotificationPreferencesStoreRequest.js +0 -68
  40. package/dist/models/NotificationTypeResource.d.ts +0 -38
  41. package/dist/models/NotificationTypeResource.js +0 -55
  42. package/dist/models/NotificationTypeResourceArrayResponse.d.ts +0 -33
  43. package/dist/models/NotificationTypeResourceArrayResponse.js +0 -50
  44. package/src/models/NotificationPreferenceResource.ts +0 -116
  45. package/src/models/NotificationPreferenceResourceArrayResponse.ts +0 -73
  46. package/src/models/NotificationPreferencesStoreRequest.ts +0 -97
  47. package/src/models/NotificationTypeResource.ts +0 -75
  48. package/src/models/NotificationTypeResourceArrayResponse.ts +0 -73
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
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 { NotificationTypeResource } from './NotificationTypeResource';
17
- import {
18
- NotificationTypeResourceFromJSON,
19
- NotificationTypeResourceFromJSONTyped,
20
- NotificationTypeResourceToJSON,
21
- NotificationTypeResourceToJSONTyped,
22
- } from './NotificationTypeResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface NotificationTypeResourceArrayResponse
28
- */
29
- export interface NotificationTypeResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<NotificationTypeResource>}
33
- * @memberof NotificationTypeResourceArrayResponse
34
- */
35
- data?: Array<NotificationTypeResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the NotificationTypeResourceArrayResponse interface.
40
- */
41
- export function instanceOfNotificationTypeResourceArrayResponse(value: object): value is NotificationTypeResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function NotificationTypeResourceArrayResponseFromJSON(json: any): NotificationTypeResourceArrayResponse {
46
- return NotificationTypeResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function NotificationTypeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(NotificationTypeResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function NotificationTypeResourceArrayResponseToJSON(json: any): NotificationTypeResourceArrayResponse {
60
- return NotificationTypeResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function NotificationTypeResourceArrayResponseToJSONTyped(value?: NotificationTypeResourceArrayResponse | 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(NotificationTypeResourceToJSON)),
71
- };
72
- }
73
-