@digital8/security-registers-backend-ts-sdk 0.0.217 → 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.
Files changed (153) hide show
  1. package/.openapi-generator/FILES +0 -33
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +3 -259
  4. package/dist/apis/GeneralApi.js +161 -1463
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +3 -1
  7. package/dist/models/LicencesStoreRequest.d.ts +4 -100
  8. package/dist/models/LicencesStoreRequest.js +9 -41
  9. package/dist/models/LicencesUpdateRequest.d.ts +4 -120
  10. package/dist/models/LicencesUpdateRequest.js +8 -56
  11. package/dist/models/RegisterListResource.d.ts +3 -3
  12. package/dist/models/RegisterListResource.js +4 -3
  13. package/dist/models/RegisterResource.d.ts +2 -2
  14. package/dist/models/RegisterResource.js +8 -8
  15. package/dist/models/RosterResource.d.ts +1 -1
  16. package/dist/models/RosterResource.js +3 -4
  17. package/dist/models/RostersListAllRequest.d.ts +0 -6
  18. package/dist/models/RostersListAllRequest.js +0 -2
  19. package/dist/models/RostersListRequest.d.ts +0 -6
  20. package/dist/models/RostersListRequest.js +0 -2
  21. package/dist/models/RostersListWithRegistersRequest.d.ts +0 -6
  22. package/dist/models/RostersListWithRegistersRequest.js +0 -2
  23. package/dist/models/SecurityCompanyResource.d.ts +1 -1
  24. package/dist/models/SecurityCompanyResource.js +1 -3
  25. package/dist/models/UpdateUserRequest.d.ts +0 -6
  26. package/dist/models/UpdateUserRequest.js +0 -2
  27. package/dist/models/UserLiteResource.d.ts +0 -7
  28. package/dist/models/UserLiteResource.js +0 -5
  29. package/dist/models/UserResource.d.ts +0 -6
  30. package/dist/models/UserResource.js +0 -4
  31. package/dist/models/UsersCreateWithRoleRequest.d.ts +0 -6
  32. package/dist/models/UsersCreateWithRoleRequest.js +0 -2
  33. package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +8 -8
  34. package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +9 -9
  35. package/dist/models/index.d.ts +0 -33
  36. package/dist/models/index.js +0 -33
  37. package/package.json +1 -1
  38. package/src/apis/GeneralApi.ts +152 -1351
  39. package/src/models/AddressResource.ts +3 -2
  40. package/src/models/LicencesStoreRequest.ts +13 -141
  41. package/src/models/LicencesUpdateRequest.ts +12 -165
  42. package/src/models/RegisterListResource.ts +6 -5
  43. package/src/models/RegisterResource.ts +6 -6
  44. package/src/models/RosterResource.ts +3 -4
  45. package/src/models/RostersListAllRequest.ts +0 -8
  46. package/src/models/RostersListRequest.ts +0 -8
  47. package/src/models/RostersListWithRegistersRequest.ts +0 -8
  48. package/src/models/SecurityCompanyResource.ts +2 -3
  49. package/src/models/UpdateUserRequest.ts +0 -8
  50. package/src/models/UserLiteResource.ts +0 -17
  51. package/src/models/UserResource.ts +0 -9
  52. package/src/models/UsersCreateWithRoleRequest.ts +0 -8
  53. package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +17 -17
  54. package/src/models/index.ts +0 -33
  55. package/dist/models/IncidentFieldAuditResource.d.ts +0 -56
  56. package/dist/models/IncidentFieldAuditResource.js +0 -67
  57. package/dist/models/IncidentFieldAuditResourceArrayResponse.d.ts +0 -33
  58. package/dist/models/IncidentFieldAuditResourceArrayResponse.js +0 -50
  59. package/dist/models/IncidentFieldSchemaResource.d.ts +0 -56
  60. package/dist/models/IncidentFieldSchemaResource.js +0 -62
  61. package/dist/models/IncidentFieldSchemaResourceArrayResponse.d.ts +0 -33
  62. package/dist/models/IncidentFieldSchemaResourceArrayResponse.js +0 -50
  63. package/dist/models/IncidentFieldSchemasShowRequest.d.ts +0 -46
  64. package/dist/models/IncidentFieldSchemasShowRequest.js +0 -65
  65. package/dist/models/IncidentFieldsResourceArrayResponse.d.ts +0 -32
  66. package/dist/models/IncidentFieldsResourceArrayResponse.js +0 -49
  67. package/dist/models/IncidentResource.d.ts +0 -118
  68. package/dist/models/IncidentResource.js +0 -106
  69. package/dist/models/IncidentResourceArrayResponse.d.ts +0 -33
  70. package/dist/models/IncidentResourceArrayResponse.js +0 -50
  71. package/dist/models/IncidentVersionResource.d.ts +0 -57
  72. package/dist/models/IncidentVersionResource.js +0 -68
  73. package/dist/models/IncidentVersionResourceArrayResponse.d.ts +0 -33
  74. package/dist/models/IncidentVersionResourceArrayResponse.js +0 -50
  75. package/dist/models/IncidentVideoResource.d.ts +0 -74
  76. package/dist/models/IncidentVideoResource.js +0 -72
  77. package/dist/models/IncidentVideoResourceArrayResponse.d.ts +0 -33
  78. package/dist/models/IncidentVideoResourceArrayResponse.js +0 -50
  79. package/dist/models/IncidentVideoSignedUrlResource.d.ts +0 -32
  80. package/dist/models/IncidentVideoSignedUrlResource.js +0 -51
  81. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.d.ts +0 -33
  82. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.js +0 -50
  83. package/dist/models/IncidentVideoUploadTokenResource.d.ts +0 -50
  84. package/dist/models/IncidentVideoUploadTokenResource.js +0 -63
  85. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.d.ts +0 -33
  86. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.js +0 -50
  87. package/dist/models/IncidentsStoreRequest.d.ts +0 -38
  88. package/dist/models/IncidentsStoreRequest.js +0 -55
  89. package/dist/models/IncidentsUpdateRequest.d.ts +0 -32
  90. package/dist/models/IncidentsUpdateRequest.js +0 -51
  91. package/dist/models/IncidentsVideosStoreRequest.d.ts +0 -44
  92. package/dist/models/IncidentsVideosStoreRequest.js +0 -59
  93. package/dist/models/IncidentsVideosUploadTokenRequest.d.ts +0 -44
  94. package/dist/models/IncidentsVideosUploadTokenRequest.js +0 -59
  95. package/dist/models/NotificationPreferenceResource.d.ts +0 -63
  96. package/dist/models/NotificationPreferenceResource.js +0 -67
  97. package/dist/models/NotificationPreferenceResourceArrayResponse.d.ts +0 -33
  98. package/dist/models/NotificationPreferenceResourceArrayResponse.js +0 -50
  99. package/dist/models/NotificationPreferencesStoreRequest.d.ts +0 -55
  100. package/dist/models/NotificationPreferencesStoreRequest.js +0 -68
  101. package/dist/models/NotificationTypeResource.d.ts +0 -38
  102. package/dist/models/NotificationTypeResource.js +0 -55
  103. package/dist/models/NotificationTypeResourceArrayResponse.d.ts +0 -33
  104. package/dist/models/NotificationTypeResourceArrayResponse.js +0 -50
  105. package/dist/models/PaginatedRegisterGroupedByRosterResourceResponse.d.ts +0 -40
  106. package/dist/models/PaginatedRegisterGroupedByRosterResourceResponse.js +0 -57
  107. package/dist/models/PdfExportResource.d.ts +0 -50
  108. package/dist/models/PdfExportResource.js +0 -61
  109. package/dist/models/PdfExportResourceArrayResponse.d.ts +0 -33
  110. package/dist/models/PdfExportResourceArrayResponse.js +0 -50
  111. package/dist/models/RegisterGroupedByRosterResource.d.ts +0 -70
  112. package/dist/models/RegisterGroupedByRosterResource.js +0 -75
  113. package/dist/models/RegisterGroupedByRosterResourceArrayResponse.d.ts +0 -33
  114. package/dist/models/RegisterGroupedByRosterResourceArrayResponse.js +0 -50
  115. package/dist/models/RegistersCreateRequest.d.ts +0 -98
  116. package/dist/models/RegistersCreateRequest.js +0 -83
  117. package/dist/models/RegistersUpdateRequest.d.ts +0 -113
  118. package/dist/models/RegistersUpdateRequest.js +0 -82
  119. package/dist/models/RostersUpdateRequest.d.ts +0 -77
  120. package/dist/models/RostersUpdateRequest.js +0 -70
  121. package/src/models/IncidentFieldAuditResource.ts +0 -102
  122. package/src/models/IncidentFieldAuditResourceArrayResponse.ts +0 -73
  123. package/src/models/IncidentFieldSchemaResource.ts +0 -99
  124. package/src/models/IncidentFieldSchemaResourceArrayResponse.ts +0 -73
  125. package/src/models/IncidentFieldSchemasShowRequest.ts +0 -83
  126. package/src/models/IncidentFieldsResourceArrayResponse.ts +0 -65
  127. package/src/models/IncidentResource.ts +0 -237
  128. package/src/models/IncidentResourceArrayResponse.ts +0 -73
  129. package/src/models/IncidentVersionResource.ts +0 -110
  130. package/src/models/IncidentVersionResourceArrayResponse.ts +0 -73
  131. package/src/models/IncidentVideoResource.ts +0 -125
  132. package/src/models/IncidentVideoResourceArrayResponse.ts +0 -73
  133. package/src/models/IncidentVideoSignedUrlResource.ts +0 -66
  134. package/src/models/IncidentVideoSignedUrlResourceArrayResponse.ts +0 -73
  135. package/src/models/IncidentVideoUploadTokenResource.ts +0 -93
  136. package/src/models/IncidentVideoUploadTokenResourceArrayResponse.ts +0 -73
  137. package/src/models/IncidentsStoreRequest.ts +0 -75
  138. package/src/models/IncidentsUpdateRequest.ts +0 -66
  139. package/src/models/IncidentsVideosStoreRequest.ts +0 -84
  140. package/src/models/IncidentsVideosUploadTokenRequest.ts +0 -84
  141. package/src/models/NotificationPreferenceResource.ts +0 -116
  142. package/src/models/NotificationPreferenceResourceArrayResponse.ts +0 -73
  143. package/src/models/NotificationPreferencesStoreRequest.ts +0 -97
  144. package/src/models/NotificationTypeResource.ts +0 -75
  145. package/src/models/NotificationTypeResourceArrayResponse.ts +0 -73
  146. package/src/models/PaginatedRegisterGroupedByRosterResourceResponse.ts +0 -90
  147. package/src/models/PdfExportResource.ts +0 -92
  148. package/src/models/PdfExportResourceArrayResponse.ts +0 -73
  149. package/src/models/RegisterGroupedByRosterResource.ts +0 -134
  150. package/src/models/RegisterGroupedByRosterResourceArrayResponse.ts +0 -73
  151. package/src/models/RegistersCreateRequest.ts +0 -159
  152. package/src/models/RegistersUpdateRequest.ts +0 -173
  153. package/src/models/RostersUpdateRequest.ts +0 -125
@@ -1,116 +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 { VenueLiteResource } from './VenueLiteResource';
17
- import {
18
- VenueLiteResourceFromJSON,
19
- VenueLiteResourceFromJSONTyped,
20
- VenueLiteResourceToJSON,
21
- VenueLiteResourceToJSONTyped,
22
- } from './VenueLiteResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface NotificationPreferenceResource
28
- */
29
- export interface NotificationPreferenceResource {
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof NotificationPreferenceResource
34
- */
35
- id?: number | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof NotificationPreferenceResource
40
- */
41
- notificationType: string;
42
- /**
43
- *
44
- * @type {VenueLiteResource}
45
- * @memberof NotificationPreferenceResource
46
- */
47
- venue: VenueLiteResource | null;
48
- /**
49
- *
50
- * @type {boolean}
51
- * @memberof NotificationPreferenceResource
52
- */
53
- enabled: boolean;
54
- /**
55
- *
56
- * @type {Date}
57
- * @memberof NotificationPreferenceResource
58
- */
59
- createdAt?: Date | null;
60
- /**
61
- *
62
- * @type {Date}
63
- * @memberof NotificationPreferenceResource
64
- */
65
- updatedAt?: Date | null;
66
- }
67
-
68
- /**
69
- * Check if a given object implements the NotificationPreferenceResource interface.
70
- */
71
- export function instanceOfNotificationPreferenceResource(value: object): value is NotificationPreferenceResource {
72
- if (!('notificationType' in value) || value['notificationType'] === undefined) return false;
73
- if (!('venue' in value) || value['venue'] === undefined) return false;
74
- if (!('enabled' in value) || value['enabled'] === undefined) return false;
75
- return true;
76
- }
77
-
78
- export function NotificationPreferenceResourceFromJSON(json: any): NotificationPreferenceResource {
79
- return NotificationPreferenceResourceFromJSONTyped(json, false);
80
- }
81
-
82
- export function NotificationPreferenceResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResource {
83
- if (json == null) {
84
- return json;
85
- }
86
- return {
87
-
88
- 'id': json['id'] == null ? undefined : json['id'],
89
- 'notificationType': json['notificationType'],
90
- 'venue': VenueLiteResourceFromJSON(json['venue']),
91
- 'enabled': json['enabled'],
92
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
93
- 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
94
- };
95
- }
96
-
97
- export function NotificationPreferenceResourceToJSON(json: any): NotificationPreferenceResource {
98
- return NotificationPreferenceResourceToJSONTyped(json, false);
99
- }
100
-
101
- export function NotificationPreferenceResourceToJSONTyped(value?: NotificationPreferenceResource | null, ignoreDiscriminator: boolean = false): any {
102
- if (value == null) {
103
- return value;
104
- }
105
-
106
- return {
107
-
108
- 'id': value['id'],
109
- 'notificationType': value['notificationType'],
110
- 'venue': VenueLiteResourceToJSON(value['venue']),
111
- 'enabled': value['enabled'],
112
- 'createdAt': value['createdAt'] === null ? null : ((value['createdAt'] as any)?.toISOString()),
113
- 'updatedAt': value['updatedAt'] === null ? null : ((value['updatedAt'] as any)?.toISOString()),
114
- };
115
- }
116
-
@@ -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 { NotificationPreferenceResource } from './NotificationPreferenceResource';
17
- import {
18
- NotificationPreferenceResourceFromJSON,
19
- NotificationPreferenceResourceFromJSONTyped,
20
- NotificationPreferenceResourceToJSON,
21
- NotificationPreferenceResourceToJSONTyped,
22
- } from './NotificationPreferenceResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface NotificationPreferenceResourceArrayResponse
28
- */
29
- export interface NotificationPreferenceResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<NotificationPreferenceResource>}
33
- * @memberof NotificationPreferenceResourceArrayResponse
34
- */
35
- data?: Array<NotificationPreferenceResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
40
- */
41
- export function instanceOfNotificationPreferenceResourceArrayResponse(value: object): value is NotificationPreferenceResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function NotificationPreferenceResourceArrayResponseFromJSON(json: any): NotificationPreferenceResourceArrayResponse {
46
- return NotificationPreferenceResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function NotificationPreferenceResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(NotificationPreferenceResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function NotificationPreferenceResourceArrayResponseToJSON(json: any): NotificationPreferenceResourceArrayResponse {
60
- return NotificationPreferenceResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function NotificationPreferenceResourceArrayResponseToJSONTyped(value?: NotificationPreferenceResourceArrayResponse | 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(NotificationPreferenceResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,97 +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
- /**
17
- *
18
- * @export
19
- * @interface NotificationPreferencesStoreRequest
20
- */
21
- export interface NotificationPreferencesStoreRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof NotificationPreferencesStoreRequest
26
- */
27
- notificationType: NotificationPreferencesStoreRequestNotificationTypeEnum;
28
- /**
29
- *
30
- * @type {number}
31
- * @memberof NotificationPreferencesStoreRequest
32
- */
33
- venueId?: number;
34
- /**
35
- *
36
- * @type {boolean}
37
- * @memberof NotificationPreferencesStoreRequest
38
- */
39
- enabled: boolean;
40
- }
41
-
42
-
43
- /**
44
- * @export
45
- */
46
- export const NotificationPreferencesStoreRequestNotificationTypeEnum = {
47
- IncidentAdded: 'incident_added',
48
- NonSignOff: 'non_sign_off',
49
- NonSignOn: 'non_sign_on',
50
- SignOnRejected: 'sign_on_rejected',
51
- LicenceUpdated: 'licence_updated'
52
- } as const;
53
- export type NotificationPreferencesStoreRequestNotificationTypeEnum = typeof NotificationPreferencesStoreRequestNotificationTypeEnum[keyof typeof NotificationPreferencesStoreRequestNotificationTypeEnum];
54
-
55
-
56
- /**
57
- * Check if a given object implements the NotificationPreferencesStoreRequest interface.
58
- */
59
- export function instanceOfNotificationPreferencesStoreRequest(value: object): value is NotificationPreferencesStoreRequest {
60
- if (!('notificationType' in value) || value['notificationType'] === undefined) return false;
61
- if (!('enabled' in value) || value['enabled'] === undefined) return false;
62
- return true;
63
- }
64
-
65
- export function NotificationPreferencesStoreRequestFromJSON(json: any): NotificationPreferencesStoreRequest {
66
- return NotificationPreferencesStoreRequestFromJSONTyped(json, false);
67
- }
68
-
69
- export function NotificationPreferencesStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferencesStoreRequest {
70
- if (json == null) {
71
- return json;
72
- }
73
- return {
74
-
75
- 'notificationType': json['notification_type'],
76
- 'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
77
- 'enabled': json['enabled'],
78
- };
79
- }
80
-
81
- export function NotificationPreferencesStoreRequestToJSON(json: any): NotificationPreferencesStoreRequest {
82
- return NotificationPreferencesStoreRequestToJSONTyped(json, false);
83
- }
84
-
85
- export function NotificationPreferencesStoreRequestToJSONTyped(value?: NotificationPreferencesStoreRequest | null, ignoreDiscriminator: boolean = false): any {
86
- if (value == null) {
87
- return value;
88
- }
89
-
90
- return {
91
-
92
- 'notification_type': value['notificationType'],
93
- 'venue_id': value['venueId'],
94
- 'enabled': value['enabled'],
95
- };
96
- }
97
-
@@ -1,75 +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
- /**
17
- *
18
- * @export
19
- * @interface NotificationTypeResource
20
- */
21
- export interface NotificationTypeResource {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof NotificationTypeResource
26
- */
27
- value: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof NotificationTypeResource
32
- */
33
- label: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the NotificationTypeResource interface.
38
- */
39
- export function instanceOfNotificationTypeResource(value: object): value is NotificationTypeResource {
40
- if (!('value' in value) || value['value'] === undefined) return false;
41
- if (!('label' in value) || value['label'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function NotificationTypeResourceFromJSON(json: any): NotificationTypeResource {
46
- return NotificationTypeResourceFromJSONTyped(json, false);
47
- }
48
-
49
- export function NotificationTypeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeResource {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'value': json['value'],
56
- 'label': json['label'],
57
- };
58
- }
59
-
60
- export function NotificationTypeResourceToJSON(json: any): NotificationTypeResource {
61
- return NotificationTypeResourceToJSONTyped(json, false);
62
- }
63
-
64
- export function NotificationTypeResourceToJSONTyped(value?: NotificationTypeResource | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'value': value['value'],
72
- 'label': value['label'],
73
- };
74
- }
75
-
@@ -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
-
@@ -1,90 +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 { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { RegisterGroupedByRosterResource } from './RegisterGroupedByRosterResource';
24
- import {
25
- RegisterGroupedByRosterResourceFromJSON,
26
- RegisterGroupedByRosterResourceFromJSONTyped,
27
- RegisterGroupedByRosterResourceToJSON,
28
- RegisterGroupedByRosterResourceToJSONTyped,
29
- } from './RegisterGroupedByRosterResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedRegisterGroupedByRosterResourceResponse
35
- */
36
- export interface PaginatedRegisterGroupedByRosterResourceResponse {
37
- /**
38
- *
39
- * @type {Array<RegisterGroupedByRosterResource>}
40
- * @memberof PaginatedRegisterGroupedByRosterResourceResponse
41
- */
42
- data: Array<RegisterGroupedByRosterResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedRegisterGroupedByRosterResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedRegisterGroupedByRosterResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedRegisterGroupedByRosterResourceResponse(value: object): value is PaginatedRegisterGroupedByRosterResourceResponse {
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 PaginatedRegisterGroupedByRosterResourceResponseFromJSON(json: any): PaginatedRegisterGroupedByRosterResourceResponse {
61
- return PaginatedRegisterGroupedByRosterResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedRegisterGroupedByRosterResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRegisterGroupedByRosterResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(RegisterGroupedByRosterResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedRegisterGroupedByRosterResourceResponseToJSON(json: any): PaginatedRegisterGroupedByRosterResourceResponse {
76
- return PaginatedRegisterGroupedByRosterResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedRegisterGroupedByRosterResourceResponseToJSONTyped(value?: PaginatedRegisterGroupedByRosterResourceResponse | 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(RegisterGroupedByRosterResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,92 +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
- /**
17
- *
18
- * @export
19
- * @interface PdfExportResource
20
- */
21
- export interface PdfExportResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof PdfExportResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof PdfExportResource
32
- */
33
- status: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof PdfExportResource
38
- */
39
- errorMessage?: string | null;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof PdfExportResource
44
- */
45
- downloadUrl: string;
46
- }
47
-
48
- /**
49
- * Check if a given object implements the PdfExportResource interface.
50
- */
51
- export function instanceOfPdfExportResource(value: object): value is PdfExportResource {
52
- if (!('id' in value) || value['id'] === undefined) return false;
53
- if (!('status' in value) || value['status'] === undefined) return false;
54
- if (!('downloadUrl' in value) || value['downloadUrl'] === undefined) return false;
55
- return true;
56
- }
57
-
58
- export function PdfExportResourceFromJSON(json: any): PdfExportResource {
59
- return PdfExportResourceFromJSONTyped(json, false);
60
- }
61
-
62
- export function PdfExportResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportResource {
63
- if (json == null) {
64
- return json;
65
- }
66
- return {
67
-
68
- 'id': json['id'],
69
- 'status': json['status'],
70
- 'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
71
- 'downloadUrl': json['downloadUrl'],
72
- };
73
- }
74
-
75
- export function PdfExportResourceToJSON(json: any): PdfExportResource {
76
- return PdfExportResourceToJSONTyped(json, false);
77
- }
78
-
79
- export function PdfExportResourceToJSONTyped(value?: PdfExportResource | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'id': value['id'],
87
- 'status': value['status'],
88
- 'errorMessage': value['errorMessage'],
89
- 'downloadUrl': value['downloadUrl'],
90
- };
91
- }
92
-
@@ -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 { PdfExportResource } from './PdfExportResource';
17
- import {
18
- PdfExportResourceFromJSON,
19
- PdfExportResourceFromJSONTyped,
20
- PdfExportResourceToJSON,
21
- PdfExportResourceToJSONTyped,
22
- } from './PdfExportResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface PdfExportResourceArrayResponse
28
- */
29
- export interface PdfExportResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<PdfExportResource>}
33
- * @memberof PdfExportResourceArrayResponse
34
- */
35
- data?: Array<PdfExportResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the PdfExportResourceArrayResponse interface.
40
- */
41
- export function instanceOfPdfExportResourceArrayResponse(value: object): value is PdfExportResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function PdfExportResourceArrayResponseFromJSON(json: any): PdfExportResourceArrayResponse {
46
- return PdfExportResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function PdfExportResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PdfExportResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function PdfExportResourceArrayResponseToJSON(json: any): PdfExportResourceArrayResponse {
60
- return PdfExportResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function PdfExportResourceArrayResponseToJSONTyped(value?: PdfExportResourceArrayResponse | 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(PdfExportResourceToJSON)),
71
- };
72
- }
73
-