@digital8/security-registers-backend-ts-sdk 0.0.709 → 0.0.711

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 (135) hide show
  1. package/.openapi-generator/FILES +1 -15
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +5 -4
  4. package/dist/apis/GeneralApi.js +3 -1
  5. package/dist/models/AuthRegisterGuardRequestLicencesInner.d.ts +11 -3
  6. package/dist/models/AuthRegisterGuardRequestLicencesInner.js +11 -3
  7. package/dist/models/DevicesRegisterRequest.d.ts +10 -3
  8. package/dist/models/DevicesRegisterRequest.js +10 -3
  9. package/dist/models/ExportQueuedResource.d.ts +12 -3
  10. package/dist/models/ExportQueuedResource.js +12 -3
  11. package/dist/models/IncidentFieldSchemaResource.d.ts +21 -6
  12. package/dist/models/IncidentFieldSchemaResource.js +20 -6
  13. package/dist/models/IncidentVideoResource.d.ts +11 -3
  14. package/dist/models/IncidentVideoResource.js +11 -3
  15. package/dist/models/LicenceCheckLogResource.d.ts +15 -3
  16. package/dist/models/LicenceCheckLogResource.js +15 -3
  17. package/dist/models/LicenceListResource.d.ts +11 -3
  18. package/dist/models/LicenceListResource.js +11 -3
  19. package/dist/models/LicenceLiteResource.d.ts +11 -3
  20. package/dist/models/LicenceLiteResource.js +11 -3
  21. package/dist/models/LicenceResource.d.ts +11 -3
  22. package/dist/models/LicenceResource.js +11 -3
  23. package/dist/models/LicencesStoreRequest.d.ts +11 -3
  24. package/dist/models/LicencesStoreRequest.js +11 -3
  25. package/dist/models/LicencesUpdateRequest.d.ts +11 -3
  26. package/dist/models/LicencesUpdateRequest.js +11 -3
  27. package/dist/models/LicencesVerifyRequest.d.ts +11 -3
  28. package/dist/models/LicencesVerifyRequest.js +11 -3
  29. package/dist/models/MobileAppConfigRequest.d.ts +10 -3
  30. package/dist/models/MobileAppConfigRequest.js +10 -3
  31. package/dist/models/MobileAppConfigResource.d.ts +10 -3
  32. package/dist/models/MobileAppConfigResource.js +10 -3
  33. package/dist/models/MobileDeviceResource.d.ts +10 -3
  34. package/dist/models/MobileDeviceResource.js +10 -3
  35. package/dist/models/NotificationPreferenceResource.d.ts +17 -3
  36. package/dist/models/NotificationPreferenceResource.js +17 -3
  37. package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +17 -3
  38. package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +17 -3
  39. package/dist/models/NotificationPreferencesStoreRequest.d.ts +17 -3
  40. package/dist/models/NotificationPreferencesStoreRequest.js +17 -3
  41. package/dist/models/PdfExportResource.d.ts +12 -3
  42. package/dist/models/PdfExportResource.js +12 -3
  43. package/dist/models/RegisterListResource.d.ts +11 -3
  44. package/dist/models/RegisterListResource.js +11 -3
  45. package/dist/models/RegisterResource.d.ts +11 -3
  46. package/dist/models/RegisterResource.js +11 -3
  47. package/dist/models/RegistersUpdateRequest.d.ts +11 -3
  48. package/dist/models/RegistersUpdateRequest.js +11 -3
  49. package/dist/models/RosterListResource.d.ts +11 -3
  50. package/dist/models/RosterListResource.js +11 -3
  51. package/dist/models/RosterResource.d.ts +11 -3
  52. package/dist/models/RosterResource.js +11 -3
  53. package/dist/models/RosterWithRegistersResource.d.ts +11 -3
  54. package/dist/models/RosterWithRegistersResource.js +11 -3
  55. package/dist/models/RostersUpdateRequest.d.ts +11 -3
  56. package/dist/models/RostersUpdateRequest.js +11 -3
  57. package/dist/models/VenuesSignedOnGuardsRequest.d.ts +32 -0
  58. package/dist/models/VenuesSignedOnGuardsRequest.js +49 -0
  59. package/dist/models/index.d.ts +1 -15
  60. package/dist/models/index.js +1 -15
  61. package/package.json +1 -1
  62. package/src/apis/GeneralApi.ts +11 -4
  63. package/src/models/AuthRegisterGuardRequestLicencesInner.ts +14 -11
  64. package/src/models/DevicesRegisterRequest.ts +13 -12
  65. package/src/models/ExportQueuedResource.ts +15 -12
  66. package/src/models/IncidentFieldSchemaResource.ts +27 -23
  67. package/src/models/IncidentVideoResource.ts +14 -12
  68. package/src/models/LicenceCheckLogResource.ts +18 -12
  69. package/src/models/LicenceListResource.ts +14 -11
  70. package/src/models/LicenceLiteResource.ts +14 -12
  71. package/src/models/LicenceResource.ts +14 -11
  72. package/src/models/LicencesStoreRequest.ts +14 -11
  73. package/src/models/LicencesUpdateRequest.ts +14 -11
  74. package/src/models/LicencesVerifyRequest.ts +14 -12
  75. package/src/models/MobileAppConfigRequest.ts +13 -12
  76. package/src/models/MobileAppConfigResource.ts +13 -12
  77. package/src/models/MobileDeviceResource.ts +13 -12
  78. package/src/models/NotificationPreferenceResource.ts +20 -11
  79. package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +20 -12
  80. package/src/models/NotificationPreferencesStoreRequest.ts +20 -12
  81. package/src/models/PdfExportResource.ts +15 -12
  82. package/src/models/RegisterListResource.ts +14 -11
  83. package/src/models/RegisterResource.ts +14 -11
  84. package/src/models/RegistersUpdateRequest.ts +14 -11
  85. package/src/models/RosterListResource.ts +14 -11
  86. package/src/models/RosterResource.ts +14 -11
  87. package/src/models/RosterWithRegistersResource.ts +14 -11
  88. package/src/models/RostersUpdateRequest.ts +14 -12
  89. package/src/models/VenuesSignedOnGuardsRequest.ts +65 -0
  90. package/src/models/index.ts +1 -15
  91. package/dist/models/AustralianState.d.ts +0 -31
  92. package/dist/models/AustralianState.js +0 -57
  93. package/dist/models/IncidentSchemaType.d.ts +0 -25
  94. package/dist/models/IncidentSchemaType.js +0 -51
  95. package/dist/models/IncidentVideoStatus.d.ts +0 -26
  96. package/dist/models/IncidentVideoStatus.js +0 -52
  97. package/dist/models/LicenceCheckSource.d.ts +0 -30
  98. package/dist/models/LicenceCheckSource.js +0 -56
  99. package/dist/models/LicenceState.d.ts +0 -26
  100. package/dist/models/LicenceState.js +0 -52
  101. package/dist/models/LoginPlatform.d.ts +0 -25
  102. package/dist/models/LoginPlatform.js +0 -51
  103. package/dist/models/MobileDevicePlatform.d.ts +0 -25
  104. package/dist/models/MobileDevicePlatform.js +0 -51
  105. package/dist/models/NotificationStatus.d.ts +0 -25
  106. package/dist/models/NotificationStatus.js +0 -51
  107. package/dist/models/NotificationType.d.ts +0 -32
  108. package/dist/models/NotificationType.js +0 -58
  109. package/dist/models/PdfExportDownloadType.d.ts +0 -26
  110. package/dist/models/PdfExportDownloadType.js +0 -52
  111. package/dist/models/PdfExportKind.d.ts +0 -28
  112. package/dist/models/PdfExportKind.js +0 -54
  113. package/dist/models/PdfExportStatus.d.ts +0 -27
  114. package/dist/models/PdfExportStatus.js +0 -53
  115. package/dist/models/RecordSource.d.ts +0 -28
  116. package/dist/models/RecordSource.js +0 -54
  117. package/dist/models/SignOffStatus.d.ts +0 -26
  118. package/dist/models/SignOffStatus.js +0 -52
  119. package/dist/models/UserRole.d.ts +0 -29
  120. package/dist/models/UserRole.js +0 -55
  121. package/src/models/AustralianState.ts +0 -59
  122. package/src/models/IncidentSchemaType.ts +0 -53
  123. package/src/models/IncidentVideoStatus.ts +0 -54
  124. package/src/models/LicenceCheckSource.ts +0 -58
  125. package/src/models/LicenceState.ts +0 -54
  126. package/src/models/LoginPlatform.ts +0 -53
  127. package/src/models/MobileDevicePlatform.ts +0 -53
  128. package/src/models/NotificationStatus.ts +0 -53
  129. package/src/models/NotificationType.ts +0 -60
  130. package/src/models/PdfExportDownloadType.ts +0 -54
  131. package/src/models/PdfExportKind.ts +0 -56
  132. package/src/models/PdfExportStatus.ts +0 -55
  133. package/src/models/RecordSource.ts +0 -56
  134. package/src/models/SignOffStatus.ts +0 -54
  135. package/src/models/UserRole.ts +0 -57
@@ -13,12 +13,24 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceCheckLogResourceCalledFromEnum = void 0;
16
17
  exports.instanceOfLicenceCheckLogResource = instanceOfLicenceCheckLogResource;
17
18
  exports.LicenceCheckLogResourceFromJSON = LicenceCheckLogResourceFromJSON;
18
19
  exports.LicenceCheckLogResourceFromJSONTyped = LicenceCheckLogResourceFromJSONTyped;
19
20
  exports.LicenceCheckLogResourceToJSON = LicenceCheckLogResourceToJSON;
20
21
  exports.LicenceCheckLogResourceToJSONTyped = LicenceCheckLogResourceToJSONTyped;
21
- var LicenceCheckSource_1 = require("./LicenceCheckSource");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LicenceCheckLogResourceCalledFromEnum = {
26
+ Cron: 'cron',
27
+ SignOn: 'sign_on',
28
+ ManualCreate: 'manual_create',
29
+ ManualUpdate: 'manual_update',
30
+ VerifyEndpoint: 'verify_endpoint',
31
+ Signup: 'signup',
32
+ Webhook: 'webhook'
33
+ };
22
34
  /**
23
35
  * Check if a given object implements the LicenceCheckLogResource interface.
24
36
  */
@@ -54,7 +66,7 @@ function LicenceCheckLogResourceFromJSONTyped(json, ignoreDiscriminator) {
54
66
  'result': json['result'],
55
67
  'isExpired': json['isExpired'],
56
68
  'isCrowdController': json['isCrowdController'],
57
- 'calledFrom': (0, LicenceCheckSource_1.LicenceCheckSourceFromJSON)(json['calledFrom']),
69
+ 'calledFrom': json['calledFrom'],
58
70
  'request': json['request'],
59
71
  'response': json['response'] == null ? undefined : json['response'],
60
72
  };
@@ -76,7 +88,7 @@ function LicenceCheckLogResourceToJSONTyped(value, ignoreDiscriminator) {
76
88
  'result': value['result'],
77
89
  'isExpired': value['isExpired'],
78
90
  'isCrowdController': value['isCrowdController'],
79
- 'calledFrom': (0, LicenceCheckSource_1.LicenceCheckSourceToJSON)(value['calledFrom']),
91
+ 'calledFrom': value['calledFrom'],
80
92
  'request': value['request'],
81
93
  'response': value['response'],
82
94
  };
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { LicenceState } from './LicenceState';
13
12
  import type { UserRelationResource } from './UserRelationResource';
14
13
  /**
15
14
  *
@@ -31,10 +30,10 @@ export interface LicenceListResource {
31
30
  user: UserRelationResource | null;
32
31
  /**
33
32
  *
34
- * @type {LicenceState}
33
+ * @type {string}
35
34
  * @memberof LicenceListResource
36
35
  */
37
- state: LicenceState;
36
+ state: LicenceListResourceStateEnum;
38
37
  /**
39
38
  *
40
39
  * @type {string}
@@ -78,6 +77,15 @@ export interface LicenceListResource {
78
77
  */
79
78
  createdAt?: Date | null;
80
79
  }
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const LicenceListResourceStateEnum: {
84
+ readonly Qld: "QLD";
85
+ readonly Nsw: "NSW";
86
+ readonly Vic: "VIC";
87
+ };
88
+ export type LicenceListResourceStateEnum = typeof LicenceListResourceStateEnum[keyof typeof LicenceListResourceStateEnum];
81
89
  /**
82
90
  * Check if a given object implements the LicenceListResource interface.
83
91
  */
@@ -13,13 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceListResourceStateEnum = void 0;
16
17
  exports.instanceOfLicenceListResource = instanceOfLicenceListResource;
17
18
  exports.LicenceListResourceFromJSON = LicenceListResourceFromJSON;
18
19
  exports.LicenceListResourceFromJSONTyped = LicenceListResourceFromJSONTyped;
19
20
  exports.LicenceListResourceToJSON = LicenceListResourceToJSON;
20
21
  exports.LicenceListResourceToJSONTyped = LicenceListResourceToJSONTyped;
21
- var LicenceState_1 = require("./LicenceState");
22
22
  var UserRelationResource_1 = require("./UserRelationResource");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LicenceListResourceStateEnum = {
27
+ Qld: 'QLD',
28
+ Nsw: 'NSW',
29
+ Vic: 'VIC'
30
+ };
23
31
  /**
24
32
  * Check if a given object implements the LicenceListResource interface.
25
33
  */
@@ -52,7 +60,7 @@ function LicenceListResourceFromJSONTyped(json, ignoreDiscriminator) {
52
60
  return {
53
61
  'id': json['id'] == null ? undefined : json['id'],
54
62
  'user': (0, UserRelationResource_1.UserRelationResourceFromJSON)(json['user']),
55
- 'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
63
+ 'state': json['state'],
56
64
  'licenceNumber': json['licenceNumber'],
57
65
  'firstName': json['firstName'],
58
66
  'lastName': json['lastName'],
@@ -74,7 +82,7 @@ function LicenceListResourceToJSONTyped(value, ignoreDiscriminator) {
74
82
  return {
75
83
  'id': value['id'],
76
84
  'user': (0, UserRelationResource_1.UserRelationResourceToJSON)(value['user']),
77
- 'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
85
+ 'state': value['state'],
78
86
  'licenceNumber': value['licenceNumber'],
79
87
  'firstName': value['firstName'],
80
88
  'lastName': value['lastName'],
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { LicenceState } from './LicenceState';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -30,11 +29,20 @@ export interface LicenceLiteResource {
30
29
  licenceNumber: string;
31
30
  /**
32
31
  *
33
- * @type {LicenceState}
32
+ * @type {string}
34
33
  * @memberof LicenceLiteResource
35
34
  */
36
- state: LicenceState;
35
+ state: LicenceLiteResourceStateEnum;
37
36
  }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const LicenceLiteResourceStateEnum: {
41
+ readonly Qld: "QLD";
42
+ readonly Nsw: "NSW";
43
+ readonly Vic: "VIC";
44
+ };
45
+ export type LicenceLiteResourceStateEnum = typeof LicenceLiteResourceStateEnum[keyof typeof LicenceLiteResourceStateEnum];
38
46
  /**
39
47
  * Check if a given object implements the LicenceLiteResource interface.
40
48
  */
@@ -13,12 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceLiteResourceStateEnum = void 0;
16
17
  exports.instanceOfLicenceLiteResource = instanceOfLicenceLiteResource;
17
18
  exports.LicenceLiteResourceFromJSON = LicenceLiteResourceFromJSON;
18
19
  exports.LicenceLiteResourceFromJSONTyped = LicenceLiteResourceFromJSONTyped;
19
20
  exports.LicenceLiteResourceToJSON = LicenceLiteResourceToJSON;
20
21
  exports.LicenceLiteResourceToJSONTyped = LicenceLiteResourceToJSONTyped;
21
- var LicenceState_1 = require("./LicenceState");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LicenceLiteResourceStateEnum = {
26
+ Qld: 'QLD',
27
+ Nsw: 'NSW',
28
+ Vic: 'VIC'
29
+ };
22
30
  /**
23
31
  * Check if a given object implements the LicenceLiteResource interface.
24
32
  */
@@ -39,7 +47,7 @@ function LicenceLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
39
47
  return {
40
48
  'id': json['id'] == null ? undefined : json['id'],
41
49
  'licenceNumber': json['licenceNumber'],
42
- 'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
50
+ 'state': json['state'],
43
51
  };
44
52
  }
45
53
  function LicenceLiteResourceToJSON(json) {
@@ -53,6 +61,6 @@ function LicenceLiteResourceToJSONTyped(value, ignoreDiscriminator) {
53
61
  return {
54
62
  'id': value['id'],
55
63
  'licenceNumber': value['licenceNumber'],
56
- 'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
64
+ 'state': value['state'],
57
65
  };
58
66
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { LicenceState } from './LicenceState';
13
12
  import type { UserRelationResource } from './UserRelationResource';
14
13
  /**
15
14
  *
@@ -31,10 +30,10 @@ export interface LicenceResource {
31
30
  user: UserRelationResource | null;
32
31
  /**
33
32
  *
34
- * @type {LicenceState}
33
+ * @type {string}
35
34
  * @memberof LicenceResource
36
35
  */
37
- state: LicenceState;
36
+ state: LicenceResourceStateEnum;
38
37
  /**
39
38
  *
40
39
  * @type {string}
@@ -102,6 +101,15 @@ export interface LicenceResource {
102
101
  */
103
102
  updatedAt?: Date | null;
104
103
  }
104
+ /**
105
+ * @export
106
+ */
107
+ export declare const LicenceResourceStateEnum: {
108
+ readonly Qld: "QLD";
109
+ readonly Nsw: "NSW";
110
+ readonly Vic: "VIC";
111
+ };
112
+ export type LicenceResourceStateEnum = typeof LicenceResourceStateEnum[keyof typeof LicenceResourceStateEnum];
105
113
  /**
106
114
  * Check if a given object implements the LicenceResource interface.
107
115
  */
@@ -13,13 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceResourceStateEnum = void 0;
16
17
  exports.instanceOfLicenceResource = instanceOfLicenceResource;
17
18
  exports.LicenceResourceFromJSON = LicenceResourceFromJSON;
18
19
  exports.LicenceResourceFromJSONTyped = LicenceResourceFromJSONTyped;
19
20
  exports.LicenceResourceToJSON = LicenceResourceToJSON;
20
21
  exports.LicenceResourceToJSONTyped = LicenceResourceToJSONTyped;
21
- var LicenceState_1 = require("./LicenceState");
22
22
  var UserRelationResource_1 = require("./UserRelationResource");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LicenceResourceStateEnum = {
27
+ Qld: 'QLD',
28
+ Nsw: 'NSW',
29
+ Vic: 'VIC'
30
+ };
23
31
  /**
24
32
  * Check if a given object implements the LicenceResource interface.
25
33
  */
@@ -58,7 +66,7 @@ function LicenceResourceFromJSONTyped(json, ignoreDiscriminator) {
58
66
  return {
59
67
  'id': json['id'] == null ? undefined : json['id'],
60
68
  'user': (0, UserRelationResource_1.UserRelationResourceFromJSON)(json['user']),
61
- 'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
69
+ 'state': json['state'],
62
70
  'licenceNumber': json['licenceNumber'],
63
71
  'firstName': json['firstName'],
64
72
  'lastName': json['lastName'],
@@ -84,7 +92,7 @@ function LicenceResourceToJSONTyped(value, ignoreDiscriminator) {
84
92
  return {
85
93
  'id': value['id'],
86
94
  'user': (0, UserRelationResource_1.UserRelationResourceToJSON)(value['user']),
87
- 'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
95
+ 'state': value['state'],
88
96
  'licenceNumber': value['licenceNumber'],
89
97
  'firstName': value['firstName'],
90
98
  'lastName': value['lastName'],
@@ -11,7 +11,6 @@
11
11
  */
12
12
  import type { LicencesStoreRequestBackAsset } from './LicencesStoreRequestBackAsset';
13
13
  import type { AuthRegisterGuardRequestProfileSignature } from './AuthRegisterGuardRequestProfileSignature';
14
- import type { LicenceState } from './LicenceState';
15
14
  /**
16
15
  *
17
16
  * @export
@@ -26,10 +25,10 @@ export interface LicencesStoreRequest {
26
25
  userId: number;
27
26
  /**
28
27
  *
29
- * @type {LicenceState}
28
+ * @type {string}
30
29
  * @memberof LicencesStoreRequest
31
30
  */
32
- state: LicenceState;
31
+ state: LicencesStoreRequestStateEnum;
33
32
  /**
34
33
  *
35
34
  * @type {string}
@@ -79,6 +78,15 @@ export interface LicencesStoreRequest {
79
78
  */
80
79
  firstAidAsset?: LicencesStoreRequestBackAsset | null;
81
80
  }
81
+ /**
82
+ * @export
83
+ */
84
+ export declare const LicencesStoreRequestStateEnum: {
85
+ readonly Qld: "QLD";
86
+ readonly Nsw: "NSW";
87
+ readonly Vic: "VIC";
88
+ };
89
+ export type LicencesStoreRequestStateEnum = typeof LicencesStoreRequestStateEnum[keyof typeof LicencesStoreRequestStateEnum];
82
90
  /**
83
91
  * Check if a given object implements the LicencesStoreRequest interface.
84
92
  */
@@ -13,6 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicencesStoreRequestStateEnum = void 0;
16
17
  exports.instanceOfLicencesStoreRequest = instanceOfLicencesStoreRequest;
17
18
  exports.LicencesStoreRequestFromJSON = LicencesStoreRequestFromJSON;
18
19
  exports.LicencesStoreRequestFromJSONTyped = LicencesStoreRequestFromJSONTyped;
@@ -20,7 +21,14 @@ exports.LicencesStoreRequestToJSON = LicencesStoreRequestToJSON;
20
21
  exports.LicencesStoreRequestToJSONTyped = LicencesStoreRequestToJSONTyped;
21
22
  var LicencesStoreRequestBackAsset_1 = require("./LicencesStoreRequestBackAsset");
22
23
  var AuthRegisterGuardRequestProfileSignature_1 = require("./AuthRegisterGuardRequestProfileSignature");
23
- var LicenceState_1 = require("./LicenceState");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.LicencesStoreRequestStateEnum = {
28
+ Qld: 'QLD',
29
+ Nsw: 'NSW',
30
+ Vic: 'VIC'
31
+ };
24
32
  /**
25
33
  * Check if a given object implements the LicencesStoreRequest interface.
26
34
  */
@@ -50,7 +58,7 @@ function LicencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
50
58
  }
51
59
  return {
52
60
  'userId': json['user_id'],
53
- 'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
61
+ 'state': json['state'],
54
62
  'licenceNumber': json['licence_number'],
55
63
  'firstName': json['first_name'],
56
64
  'lastName': json['last_name'],
@@ -71,7 +79,7 @@ function LicencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
71
79
  }
72
80
  return {
73
81
  'user_id': value['userId'],
74
- 'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
82
+ 'state': value['state'],
75
83
  'licence_number': value['licenceNumber'],
76
84
  'first_name': value['firstName'],
77
85
  'last_name': value['lastName'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { LicencesStoreRequestBackAsset } from './LicencesStoreRequestBackAsset';
13
- import type { LicenceState } from './LicenceState';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -19,10 +18,10 @@ import type { LicenceState } from './LicenceState';
19
18
  export interface LicencesUpdateRequest {
20
19
  /**
21
20
  *
22
- * @type {LicenceState}
21
+ * @type {string}
23
22
  * @memberof LicencesUpdateRequest
24
23
  */
25
- state?: LicenceState;
24
+ state?: LicencesUpdateRequestStateEnum;
26
25
  /**
27
26
  *
28
27
  * @type {string}
@@ -72,6 +71,15 @@ export interface LicencesUpdateRequest {
72
71
  */
73
72
  firstAidAsset?: LicencesStoreRequestBackAsset | null;
74
73
  }
74
+ /**
75
+ * @export
76
+ */
77
+ export declare const LicencesUpdateRequestStateEnum: {
78
+ readonly Qld: "QLD";
79
+ readonly Nsw: "NSW";
80
+ readonly Vic: "VIC";
81
+ };
82
+ export type LicencesUpdateRequestStateEnum = typeof LicencesUpdateRequestStateEnum[keyof typeof LicencesUpdateRequestStateEnum];
75
83
  /**
76
84
  * Check if a given object implements the LicencesUpdateRequest interface.
77
85
  */
@@ -13,13 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicencesUpdateRequestStateEnum = void 0;
16
17
  exports.instanceOfLicencesUpdateRequest = instanceOfLicencesUpdateRequest;
17
18
  exports.LicencesUpdateRequestFromJSON = LicencesUpdateRequestFromJSON;
18
19
  exports.LicencesUpdateRequestFromJSONTyped = LicencesUpdateRequestFromJSONTyped;
19
20
  exports.LicencesUpdateRequestToJSON = LicencesUpdateRequestToJSON;
20
21
  exports.LicencesUpdateRequestToJSONTyped = LicencesUpdateRequestToJSONTyped;
21
22
  var LicencesStoreRequestBackAsset_1 = require("./LicencesStoreRequestBackAsset");
22
- var LicenceState_1 = require("./LicenceState");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LicencesUpdateRequestStateEnum = {
27
+ Qld: 'QLD',
28
+ Nsw: 'NSW',
29
+ Vic: 'VIC'
30
+ };
23
31
  /**
24
32
  * Check if a given object implements the LicencesUpdateRequest interface.
25
33
  */
@@ -34,7 +42,7 @@ function LicencesUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
34
42
  return json;
35
43
  }
36
44
  return {
37
- 'state': json['state'] == null ? undefined : (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
45
+ 'state': json['state'] == null ? undefined : json['state'],
38
46
  'licenceNumber': json['licence_number'] == null ? undefined : json['licence_number'],
39
47
  'firstName': json['first_name'] == null ? undefined : json['first_name'],
40
48
  'lastName': json['last_name'] == null ? undefined : json['last_name'],
@@ -54,7 +62,7 @@ function LicencesUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
54
62
  return value;
55
63
  }
56
64
  return {
57
- 'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
65
+ 'state': value['state'],
58
66
  'licence_number': value['licenceNumber'],
59
67
  'first_name': value['firstName'],
60
68
  'last_name': value['lastName'],
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { LicenceState } from './LicenceState';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -18,10 +17,10 @@ import type { LicenceState } from './LicenceState';
18
17
  export interface LicencesVerifyRequest {
19
18
  /**
20
19
  *
21
- * @type {LicenceState}
20
+ * @type {string}
22
21
  * @memberof LicencesVerifyRequest
23
22
  */
24
- state: LicenceState;
23
+ state: LicencesVerifyRequestStateEnum;
25
24
  /**
26
25
  *
27
26
  * @type {string}
@@ -47,6 +46,15 @@ export interface LicencesVerifyRequest {
47
46
  */
48
47
  expiryDate: string;
49
48
  }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const LicencesVerifyRequestStateEnum: {
53
+ readonly Qld: "QLD";
54
+ readonly Nsw: "NSW";
55
+ readonly Vic: "VIC";
56
+ };
57
+ export type LicencesVerifyRequestStateEnum = typeof LicencesVerifyRequestStateEnum[keyof typeof LicencesVerifyRequestStateEnum];
50
58
  /**
51
59
  * Check if a given object implements the LicencesVerifyRequest interface.
52
60
  */
@@ -13,12 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicencesVerifyRequestStateEnum = void 0;
16
17
  exports.instanceOfLicencesVerifyRequest = instanceOfLicencesVerifyRequest;
17
18
  exports.LicencesVerifyRequestFromJSON = LicencesVerifyRequestFromJSON;
18
19
  exports.LicencesVerifyRequestFromJSONTyped = LicencesVerifyRequestFromJSONTyped;
19
20
  exports.LicencesVerifyRequestToJSON = LicencesVerifyRequestToJSON;
20
21
  exports.LicencesVerifyRequestToJSONTyped = LicencesVerifyRequestToJSONTyped;
21
- var LicenceState_1 = require("./LicenceState");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LicencesVerifyRequestStateEnum = {
26
+ Qld: 'QLD',
27
+ Nsw: 'NSW',
28
+ Vic: 'VIC'
29
+ };
22
30
  /**
23
31
  * Check if a given object implements the LicencesVerifyRequest interface.
24
32
  */
@@ -43,7 +51,7 @@ function LicencesVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
43
51
  return json;
44
52
  }
45
53
  return {
46
- 'state': (0, LicenceState_1.LicenceStateFromJSON)(json['state']),
54
+ 'state': json['state'],
47
55
  'licenceNumber': json['licence_number'],
48
56
  'givenName': json['given_name'],
49
57
  'lastName': json['last_name'],
@@ -59,7 +67,7 @@ function LicencesVerifyRequestToJSONTyped(value, ignoreDiscriminator) {
59
67
  return value;
60
68
  }
61
69
  return {
62
- 'state': (0, LicenceState_1.LicenceStateToJSON)(value['state']),
70
+ 'state': value['state'],
63
71
  'licence_number': value['licenceNumber'],
64
72
  'given_name': value['givenName'],
65
73
  'last_name': value['lastName'],
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MobileDevicePlatform } from './MobileDevicePlatform';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -18,10 +17,10 @@ import type { MobileDevicePlatform } from './MobileDevicePlatform';
18
17
  export interface MobileAppConfigRequest {
19
18
  /**
20
19
  *
21
- * @type {MobileDevicePlatform}
20
+ * @type {string}
22
21
  * @memberof MobileAppConfigRequest
23
22
  */
24
- platform: MobileDevicePlatform;
23
+ platform: MobileAppConfigRequestPlatformEnum;
25
24
  /**
26
25
  * The app's current version as a semantic version string (e.g. "1.4.2").
27
26
  * @type {string}
@@ -29,6 +28,14 @@ export interface MobileAppConfigRequest {
29
28
  */
30
29
  appVersion: string;
31
30
  }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const MobileAppConfigRequestPlatformEnum: {
35
+ readonly Ios: "ios";
36
+ readonly Android: "android";
37
+ };
38
+ export type MobileAppConfigRequestPlatformEnum = typeof MobileAppConfigRequestPlatformEnum[keyof typeof MobileAppConfigRequestPlatformEnum];
32
39
  /**
33
40
  * Check if a given object implements the MobileAppConfigRequest interface.
34
41
  */
@@ -13,12 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MobileAppConfigRequestPlatformEnum = void 0;
16
17
  exports.instanceOfMobileAppConfigRequest = instanceOfMobileAppConfigRequest;
17
18
  exports.MobileAppConfigRequestFromJSON = MobileAppConfigRequestFromJSON;
18
19
  exports.MobileAppConfigRequestFromJSONTyped = MobileAppConfigRequestFromJSONTyped;
19
20
  exports.MobileAppConfigRequestToJSON = MobileAppConfigRequestToJSON;
20
21
  exports.MobileAppConfigRequestToJSONTyped = MobileAppConfigRequestToJSONTyped;
21
- var MobileDevicePlatform_1 = require("./MobileDevicePlatform");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.MobileAppConfigRequestPlatformEnum = {
26
+ Ios: 'ios',
27
+ Android: 'android'
28
+ };
22
29
  /**
23
30
  * Check if a given object implements the MobileAppConfigRequest interface.
24
31
  */
@@ -37,7 +44,7 @@ function MobileAppConfigRequestFromJSONTyped(json, ignoreDiscriminator) {
37
44
  return json;
38
45
  }
39
46
  return {
40
- 'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformFromJSON)(json['platform']),
47
+ 'platform': json['platform'],
41
48
  'appVersion': json['app_version'],
42
49
  };
43
50
  }
@@ -50,7 +57,7 @@ function MobileAppConfigRequestToJSONTyped(value, ignoreDiscriminator) {
50
57
  return value;
51
58
  }
52
59
  return {
53
- 'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformToJSON)(value['platform']),
60
+ 'platform': value['platform'],
54
61
  'app_version': value['appVersion'],
55
62
  };
56
63
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MobileDevicePlatform } from './MobileDevicePlatform';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -18,10 +17,10 @@ import type { MobileDevicePlatform } from './MobileDevicePlatform';
18
17
  export interface MobileAppConfigResource {
19
18
  /**
20
19
  *
21
- * @type {MobileDevicePlatform}
20
+ * @type {string}
22
21
  * @memberof MobileAppConfigResource
23
22
  */
24
- platform: MobileDevicePlatform;
23
+ platform: MobileAppConfigResourcePlatformEnum;
25
24
  /**
26
25
  *
27
26
  * @type {boolean}
@@ -41,6 +40,14 @@ export interface MobileAppConfigResource {
41
40
  */
42
41
  message?: string | null;
43
42
  }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const MobileAppConfigResourcePlatformEnum: {
47
+ readonly Ios: "ios";
48
+ readonly Android: "android";
49
+ };
50
+ export type MobileAppConfigResourcePlatformEnum = typeof MobileAppConfigResourcePlatformEnum[keyof typeof MobileAppConfigResourcePlatformEnum];
44
51
  /**
45
52
  * Check if a given object implements the MobileAppConfigResource interface.
46
53
  */
@@ -13,12 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MobileAppConfigResourcePlatformEnum = void 0;
16
17
  exports.instanceOfMobileAppConfigResource = instanceOfMobileAppConfigResource;
17
18
  exports.MobileAppConfigResourceFromJSON = MobileAppConfigResourceFromJSON;
18
19
  exports.MobileAppConfigResourceFromJSONTyped = MobileAppConfigResourceFromJSONTyped;
19
20
  exports.MobileAppConfigResourceToJSON = MobileAppConfigResourceToJSON;
20
21
  exports.MobileAppConfigResourceToJSONTyped = MobileAppConfigResourceToJSONTyped;
21
- var MobileDevicePlatform_1 = require("./MobileDevicePlatform");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.MobileAppConfigResourcePlatformEnum = {
26
+ Ios: 'ios',
27
+ Android: 'android'
28
+ };
22
29
  /**
23
30
  * Check if a given object implements the MobileAppConfigResource interface.
24
31
  */
@@ -39,7 +46,7 @@ function MobileAppConfigResourceFromJSONTyped(json, ignoreDiscriminator) {
39
46
  return json;
40
47
  }
41
48
  return {
42
- 'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformFromJSON)(json['platform']),
49
+ 'platform': json['platform'],
43
50
  'forceUpdate': json['forceUpdate'],
44
51
  'updateUrl': json['updateUrl'],
45
52
  'message': json['message'] == null ? undefined : json['message'],
@@ -54,7 +61,7 @@ function MobileAppConfigResourceToJSONTyped(value, ignoreDiscriminator) {
54
61
  return value;
55
62
  }
56
63
  return {
57
- 'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformToJSON)(value['platform']),
64
+ 'platform': value['platform'],
58
65
  'forceUpdate': value['forceUpdate'],
59
66
  'updateUrl': value['updateUrl'],
60
67
  'message': value['message'],