@attraccess/application-models 0.0.0-stage → 1.11.0-beta.4

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 (239) hide show
  1. package/README.md +6 -2
  2. package/package.json +21 -3
  3. package/src/index.d.ts +78 -0
  4. package/src/index.js +82 -0
  5. package/src/index.js.map +1 -0
  6. package/src/lib/api-token.d.ts +29 -0
  7. package/src/lib/api-token.js +3 -0
  8. package/src/lib/api-token.js.map +1 -0
  9. package/src/lib/attractap-card.d.ts +48 -0
  10. package/src/lib/attractap-card.js +3 -0
  11. package/src/lib/attractap-card.js.map +1 -0
  12. package/src/lib/attractap-crash-report.d.ts +35 -0
  13. package/src/lib/attractap-crash-report.js +3 -0
  14. package/src/lib/attractap-crash-report.js.map +1 -0
  15. package/src/lib/attractap-installation.d.ts +9 -0
  16. package/src/lib/attractap-installation.js +3 -0
  17. package/src/lib/attractap-installation.js.map +1 -0
  18. package/src/lib/attractap-reader.d.ts +113 -0
  19. package/src/lib/attractap-reader.js +3 -0
  20. package/src/lib/attractap-reader.js.map +1 -0
  21. package/src/lib/attractap-secure-boot.d.ts +17 -0
  22. package/src/lib/attractap-secure-boot.js +3 -0
  23. package/src/lib/attractap-secure-boot.js.map +1 -0
  24. package/src/lib/audit-entry.d.ts +47 -0
  25. package/src/lib/audit-entry.js +6 -0
  26. package/src/lib/audit-entry.js.map +1 -0
  27. package/src/lib/authentication-credential.d.ts +31 -0
  28. package/src/lib/authentication-credential.js +3 -0
  29. package/src/lib/authentication-credential.js.map +1 -0
  30. package/src/lib/authentication-type.d.ts +5 -0
  31. package/src/lib/authentication-type.js +10 -0
  32. package/src/lib/authentication-type.js.map +1 -0
  33. package/src/lib/billing-ledger.d.ts +114 -0
  34. package/src/lib/billing-ledger.js +3 -0
  35. package/src/lib/billing-ledger.js.map +1 -0
  36. package/src/lib/billing-transaction.d.ts +5 -0
  37. package/src/lib/billing-transaction.js +10 -0
  38. package/src/lib/billing-transaction.js.map +1 -0
  39. package/src/lib/companion-device.d.ts +23 -0
  40. package/src/lib/companion-device.js +3 -0
  41. package/src/lib/companion-device.js.map +1 -0
  42. package/src/lib/csv-export-template-record.d.ts +21 -0
  43. package/src/lib/csv-export-template-record.js +3 -0
  44. package/src/lib/csv-export-template-record.js.map +1 -0
  45. package/src/lib/csv-export-template.d.ts +9 -0
  46. package/src/lib/csv-export-template.js +15 -0
  47. package/src/lib/csv-export-template.js.map +1 -0
  48. package/src/lib/dashboard-pins.d.ts +9 -0
  49. package/src/lib/dashboard-pins.js +3 -0
  50. package/src/lib/dashboard-pins.js.map +1 -0
  51. package/src/lib/documentation-type.d.ts +7 -0
  52. package/src/lib/documentation-type.js +12 -0
  53. package/src/lib/documentation-type.js.map +1 -0
  54. package/src/lib/email-template-record.d.ts +17 -0
  55. package/src/lib/email-template-record.js +3 -0
  56. package/src/lib/email-template-record.js.map +1 -0
  57. package/src/lib/email-template.d.ts +18 -0
  58. package/src/lib/email-template.js +23 -0
  59. package/src/lib/email-template.js.map +1 -0
  60. package/src/lib/flow-records.d.ts +77 -0
  61. package/src/lib/flow-records.js +3 -0
  62. package/src/lib/flow-records.js.map +1 -0
  63. package/src/lib/form.d.ts +11 -0
  64. package/src/lib/form.js +17 -0
  65. package/src/lib/form.js.map +1 -0
  66. package/src/lib/mcp-oauth.d.ts +39 -0
  67. package/src/lib/mcp-oauth.js +3 -0
  68. package/src/lib/mcp-oauth.js.map +1 -0
  69. package/src/lib/message.d.ts +4 -0
  70. package/src/lib/message.js +9 -0
  71. package/src/lib/message.js.map +1 -0
  72. package/src/lib/messaging-models.d.ts +52 -0
  73. package/src/lib/messaging-models.js +3 -0
  74. package/src/lib/messaging-models.js.map +1 -0
  75. package/src/lib/metering-records.d.ts +148 -0
  76. package/src/lib/metering-records.js +3 -0
  77. package/src/lib/metering-records.js.map +1 -0
  78. package/src/lib/mqtt-server.d.ts +39 -0
  79. package/src/lib/mqtt-server.js +3 -0
  80. package/src/lib/mqtt-server.js.map +1 -0
  81. package/src/lib/node-type.d.ts +43 -0
  82. package/src/lib/node-type.js +48 -0
  83. package/src/lib/node-type.js.map +1 -0
  84. package/src/lib/notification-preference-record.d.ts +7 -0
  85. package/src/lib/notification-preference-record.js +3 -0
  86. package/src/lib/notification-preference-record.js.map +1 -0
  87. package/src/lib/notification-recipient.d.ts +7 -0
  88. package/src/lib/notification-recipient.js +3 -0
  89. package/src/lib/notification-recipient.js.map +1 -0
  90. package/src/lib/operating-interval.d.ts +33 -0
  91. package/src/lib/operating-interval.js +3 -0
  92. package/src/lib/operating-interval.js.map +1 -0
  93. package/src/lib/passkey.d.ts +28 -0
  94. package/src/lib/passkey.js +3 -0
  95. package/src/lib/passkey.js.map +1 -0
  96. package/src/lib/password-policy-override.d.ts +3 -0
  97. package/src/lib/password-policy-override.js +8 -0
  98. package/src/lib/password-policy-override.js.map +1 -0
  99. package/src/lib/password-policy-records.d.ts +24 -0
  100. package/src/lib/password-policy-records.js +19 -0
  101. package/src/lib/password-policy-records.js.map +1 -0
  102. package/src/lib/password-policy.d.ts +1 -0
  103. package/src/lib/password-policy.js +5 -0
  104. package/src/lib/password-policy.js.map +1 -0
  105. package/src/lib/plugin-ble-endpoint.d.ts +24 -0
  106. package/src/lib/plugin-ble-endpoint.js +3 -0
  107. package/src/lib/plugin-ble-endpoint.js.map +1 -0
  108. package/src/lib/plugin-host-models.d.ts +23 -0
  109. package/src/lib/plugin-host-models.js +3 -0
  110. package/src/lib/plugin-host-models.js.map +1 -0
  111. package/src/lib/project-invitation.d.ts +6 -0
  112. package/src/lib/project-invitation.js +11 -0
  113. package/src/lib/project-invitation.js.map +1 -0
  114. package/src/lib/project-member.d.ts +3 -0
  115. package/src/lib/project-member.js +8 -0
  116. package/src/lib/project-member.js.map +1 -0
  117. package/src/lib/project-record.d.ts +87 -0
  118. package/src/lib/project-record.js +3 -0
  119. package/src/lib/project-record.js.map +1 -0
  120. package/src/lib/push-subscription.d.ts +19 -0
  121. package/src/lib/push-subscription.js +3 -0
  122. package/src/lib/push-subscription.js.map +1 -0
  123. package/src/lib/rbac-record.d.ts +61 -0
  124. package/src/lib/rbac-record.js +3 -0
  125. package/src/lib/rbac-record.js.map +1 -0
  126. package/src/lib/reader-ui-alert.d.ts +15 -0
  127. package/src/lib/reader-ui-alert.js +3 -0
  128. package/src/lib/reader-ui-alert.js.map +1 -0
  129. package/src/lib/resource-actor-user.d.ts +21 -0
  130. package/src/lib/resource-actor-user.js +3 -0
  131. package/src/lib/resource-actor-user.js.map +1 -0
  132. package/src/lib/resource-flow-node/companion-schemas.d.ts +15 -0
  133. package/src/lib/resource-flow-node/companion-schemas.js +27 -0
  134. package/src/lib/resource-flow-node/companion-schemas.js.map +1 -0
  135. package/src/lib/resource-flow-node/external-effect-policy.d.ts +19 -0
  136. package/src/lib/resource-flow-node/external-effect-policy.js +24 -0
  137. package/src/lib/resource-flow-node/external-effect-policy.js.map +1 -0
  138. package/src/lib/resource-flow-node/health-schemas.d.ts +18 -0
  139. package/src/lib/resource-flow-node/health-schemas.js +34 -0
  140. package/src/lib/resource-flow-node/health-schemas.js.map +1 -0
  141. package/src/lib/resource-flow-node/http-schema.d.ts +25 -0
  142. package/src/lib/resource-flow-node/http-schema.js +20 -0
  143. package/src/lib/resource-flow-node/http-schema.js.map +1 -0
  144. package/src/lib/resource-flow-node/metering-schemas.d.ts +28 -0
  145. package/src/lib/resource-flow-node/metering-schemas.js +48 -0
  146. package/src/lib/resource-flow-node/metering-schemas.js.map +1 -0
  147. package/src/lib/resource-flow-node/mqtt-schemas.d.ts +33 -0
  148. package/src/lib/resource-flow-node/mqtt-schemas.js +43 -0
  149. package/src/lib/resource-flow-node/mqtt-schemas.js.map +1 -0
  150. package/src/lib/resource-flow-node/processing-schemas.d.ts +35 -0
  151. package/src/lib/resource-flow-node/processing-schemas.js +32 -0
  152. package/src/lib/resource-flow-node/processing-schemas.js.map +1 -0
  153. package/src/lib/resource-flow-node/resource-schemas.d.ts +27 -0
  154. package/src/lib/resource-flow-node/resource-schemas.js +44 -0
  155. package/src/lib/resource-flow-node/resource-schemas.js.map +1 -0
  156. package/src/lib/resource-flow-node/schema-registry.d.ts +180 -0
  157. package/src/lib/resource-flow-node/schema-registry.js +80 -0
  158. package/src/lib/resource-flow-node/schema-registry.js.map +1 -0
  159. package/src/lib/resource-flow-node/variable-schemas.d.ts +38 -0
  160. package/src/lib/resource-flow-node/variable-schemas.js +31 -0
  161. package/src/lib/resource-flow-node/variable-schemas.js.map +1 -0
  162. package/src/lib/resource-form-records.d.ts +23 -0
  163. package/src/lib/resource-form-records.js +3 -0
  164. package/src/lib/resource-form-records.js.map +1 -0
  165. package/src/lib/resource-health-records.d.ts +12 -0
  166. package/src/lib/resource-health-records.js +3 -0
  167. package/src/lib/resource-health-records.js.map +1 -0
  168. package/src/lib/resource-introducer-records.d.ts +13 -0
  169. package/src/lib/resource-introducer-records.js +3 -0
  170. package/src/lib/resource-introducer-records.js.map +1 -0
  171. package/src/lib/resource-introduction-records.d.ts +43 -0
  172. package/src/lib/resource-introduction-records.js +3 -0
  173. package/src/lib/resource-introduction-records.js.map +1 -0
  174. package/src/lib/resource-maintenance-records.d.ts +54 -0
  175. package/src/lib/resource-maintenance-records.js +3 -0
  176. package/src/lib/resource-maintenance-records.js.map +1 -0
  177. package/src/lib/resource-maintenance-request.d.ts +5 -0
  178. package/src/lib/resource-maintenance-request.js +10 -0
  179. package/src/lib/resource-maintenance-request.js.map +1 -0
  180. package/src/lib/resource-maintenance-schedule.d.ts +11 -0
  181. package/src/lib/resource-maintenance-schedule.js +17 -0
  182. package/src/lib/resource-maintenance-schedule.js.map +1 -0
  183. package/src/lib/resource-metering.d.ts +12 -0
  184. package/src/lib/resource-metering.js +17 -0
  185. package/src/lib/resource-metering.js.map +1 -0
  186. package/src/lib/resource-records.d.ts +33 -0
  187. package/src/lib/resource-records.js +3 -0
  188. package/src/lib/resource-records.js.map +1 -0
  189. package/src/lib/resource-supervision.d.ts +20 -0
  190. package/src/lib/resource-supervision.js +26 -0
  191. package/src/lib/resource-supervision.js.map +1 -0
  192. package/src/lib/resource-type.d.ts +4 -0
  193. package/src/lib/resource-type.js +9 -0
  194. package/src/lib/resource-type.js.map +1 -0
  195. package/src/lib/resourceFlowVariable.d.ts +4 -0
  196. package/src/lib/resourceFlowVariable.js +9 -0
  197. package/src/lib/resourceFlowVariable.js.map +1 -0
  198. package/src/lib/resourceHealthState.d.ts +9 -0
  199. package/src/lib/resourceHealthState.js +15 -0
  200. package/src/lib/resourceHealthState.js.map +1 -0
  201. package/src/lib/resourceIntroducer.d.ts +4 -0
  202. package/src/lib/resourceIntroducer.js +9 -0
  203. package/src/lib/resourceIntroducer.js.map +1 -0
  204. package/src/lib/resourceIntroductionHistoryItem.d.ts +4 -0
  205. package/src/lib/resourceIntroductionHistoryItem.js +9 -0
  206. package/src/lib/resourceIntroductionHistoryItem.js.map +1 -0
  207. package/src/lib/resourceUsage-type.d.ts +6 -0
  208. package/src/lib/resourceUsage-type.js +11 -0
  209. package/src/lib/resourceUsage-type.js.map +1 -0
  210. package/src/lib/session.d.ts +88 -0
  211. package/src/lib/session.js +3 -0
  212. package/src/lib/session.js.map +1 -0
  213. package/src/lib/sso-provider-record.d.ts +61 -0
  214. package/src/lib/sso-provider-record.js +3 -0
  215. package/src/lib/sso-provider-record.js.map +1 -0
  216. package/src/lib/sso-session-context.d.ts +32 -0
  217. package/src/lib/sso-session-context.js +3 -0
  218. package/src/lib/sso-session-context.js.map +1 -0
  219. package/src/lib/ssoProvider-oidc.d.ts +2 -0
  220. package/src/lib/ssoProvider-oidc.js +6 -0
  221. package/src/lib/ssoProvider-oidc.js.map +1 -0
  222. package/src/lib/ssoProvider.d.ts +4 -0
  223. package/src/lib/ssoProvider.js +9 -0
  224. package/src/lib/ssoProvider.js.map +1 -0
  225. package/src/lib/usage-duration-unit.d.ts +5 -0
  226. package/src/lib/usage-duration-unit.js +10 -0
  227. package/src/lib/usage-duration-unit.js.map +1 -0
  228. package/src/lib/usage-session.d.ts +139 -0
  229. package/src/lib/usage-session.js +3 -0
  230. package/src/lib/usage-session.js.map +1 -0
  231. package/src/lib/user-account.d.ts +50 -0
  232. package/src/lib/user-account.js +3 -0
  233. package/src/lib/user-account.js.map +1 -0
  234. package/src/lib/user-record.d.ts +38 -0
  235. package/src/lib/user-record.js +3 -0
  236. package/src/lib/user-record.js.map +1 -0
  237. package/src/lib/user-role.d.ts +4 -0
  238. package/src/lib/user-role.js +9 -0
  239. package/src/lib/user-role.js.map +1 -0
@@ -0,0 +1,148 @@
1
+ import type { BillingAllocationRecord } from './billing-ledger';
2
+ import type { BillingTransactionStatus } from './billing-transaction';
3
+ import type { ResourceMeteringSessionStatus } from './resource-metering';
4
+ import type { UsageMeterRate } from './usage-session';
5
+ /** Neutral records of the metering area. Meter values are integer billionths stored as text. */
6
+ /** How a meter's consumption is assigned when several sessions run on the machine at once. */
7
+ export type MeterAllocationKind = 'shared' | 'per-session';
8
+ /** `boundary` is a reading at a session start or stop of a shared meter: it closes a time segment. */
9
+ export type MeteringOperationKind = 'start' | 'interim' | 'final' | 'boundary';
10
+ export type MeteringOperationStatus = 'pending' | 'completed' | 'failed' | 'expired';
11
+ export type MeteringSegmentStatus = 'open' | 'closed' | 'abandoned';
12
+ export type ResourceMeteringAccounting = 'own' | 'segmented' | 'per-session';
13
+ export type ResourceMeteringCollectionMode = 'requested' | 'increment';
14
+ export interface ResourceMeterRecord {
15
+ id: number;
16
+ resourceId: number;
17
+ name: string;
18
+ creditsPerUnit: number;
19
+ allocation: MeterAllocationKind;
20
+ lifetimeValue: string;
21
+ counterValue: string | null;
22
+ latestObservedAt: Date | null;
23
+ }
24
+ /** Logical metering session: one per usage and meter. */
25
+ export interface ResourceMeteringSessionRecord {
26
+ id: string;
27
+ resourceId: number;
28
+ usageId: number;
29
+ status: ResourceMeteringSessionStatus;
30
+ meterId: number;
31
+ meterName: string;
32
+ collectionMode: ResourceMeteringCollectionMode;
33
+ creditsPerUnit: number;
34
+ accounting: ResourceMeteringAccounting;
35
+ baselineValue: string | null;
36
+ source: string | null;
37
+ latestValue: string | null;
38
+ latestObservedAt: Date | null;
39
+ consumedValue: string | null;
40
+ chargeCredits: number | null;
41
+ finalOperationId: string | null;
42
+ failureReason: string | null;
43
+ compromisedReason: string | null;
44
+ settledAt: Date | null;
45
+ createdAt: Date;
46
+ updatedAt: Date;
47
+ }
48
+ /** What a new metering session needs; everything else starts empty. */
49
+ export type NewResourceMeteringSession = Pick<ResourceMeteringSessionRecord, 'id' | 'resourceId' | 'usageId' | 'meterId' | 'meterName' | 'status' | 'creditsPerUnit' | 'accounting'> & Partial<Pick<ResourceMeteringSessionRecord, 'collectionMode' | 'latestValue'>>;
50
+ /** The fields of a metering session that change over its life. */
51
+ export type ResourceMeteringSessionPatch = Partial<Pick<ResourceMeteringSessionRecord, 'status' | 'accounting' | 'baselineValue' | 'source' | 'latestValue' | 'latestObservedAt' | 'consumedValue' | 'chargeCredits' | 'finalOperationId' | 'failureReason' | 'compromisedReason' | 'settledAt'>>;
52
+ /** One request/reply to the flow-defined meter; the audit trail behind a charge. */
53
+ export interface ResourceMeteringOperationRecord {
54
+ id: string;
55
+ meterId: number;
56
+ sessionId: string | null;
57
+ resourceId: number;
58
+ kind: MeteringOperationKind;
59
+ status: MeteringOperationStatus;
60
+ requestedAt: Date;
61
+ completedAt: Date | null;
62
+ reportedValue: string | null;
63
+ readingMode: 'total' | 'increment' | null;
64
+ /** Total consumed since the session's reset (baseline already subtracted). */
65
+ totalValue: string | null;
66
+ observedAt: Date | null;
67
+ source: string | null;
68
+ error: string | null;
69
+ }
70
+ export type NewResourceMeteringOperation = Pick<ResourceMeteringOperationRecord, 'id' | 'meterId' | 'sessionId' | 'resourceId' | 'kind' | 'status' | 'requestedAt'> & Partial<Pick<ResourceMeteringOperationRecord, 'completedAt' | 'reportedValue' | 'readingMode' | 'totalValue' | 'observedAt' | 'source'>>;
71
+ export type ResourceMeteringOperationPatch = Partial<Pick<ResourceMeteringOperationRecord, 'status' | 'completedAt' | 'reportedValue' | 'readingMode' | 'totalValue' | 'observedAt' | 'source' | 'error'>>;
72
+ /** A session taking part in a shared segment, with the rate it captured for the meter. Earliest started first. */
73
+ export interface MeteringSegmentParticipant {
74
+ usageId: number;
75
+ creditsPerUnit: number;
76
+ }
77
+ /** A time span of a shared meter in which the same sessions were active. */
78
+ export interface ResourceMeteringSegmentRecord {
79
+ id: string;
80
+ resourceId: number;
81
+ meterId: number;
82
+ status: MeteringSegmentStatus;
83
+ startedAt: Date;
84
+ endedAt: Date | null;
85
+ /** Meter counter at the opening boundary. */
86
+ startValue: string;
87
+ endValue: string | null;
88
+ participants: MeteringSegmentParticipant[];
89
+ }
90
+ export type ResourceMeteringSegmentPatch = Partial<Pick<ResourceMeteringSegmentRecord, 'status' | 'endedAt' | 'endValue' | 'participants'>>;
91
+ /** A usage session as metering needs it. */
92
+ export interface MeteringUsageRecord {
93
+ id: number;
94
+ resourceId: number;
95
+ userId: number | null;
96
+ startTime: Date;
97
+ endTime: Date | null;
98
+ meterRates: UsageMeterRate[] | null;
99
+ billingFactor: number | null;
100
+ }
101
+ /** A usage with the billing factor of its user, for charging a late meter correction. */
102
+ export interface MeteringBillableUsage extends MeteringUsageRecord {
103
+ userBillingFactor: number;
104
+ }
105
+ /** The flow nodes and edges that define a resource's meters. */
106
+ interface MeteringFlowNodeRecord {
107
+ id: string;
108
+ type: string;
109
+ data: Record<string, unknown> | null;
110
+ }
111
+ interface MeteringFlowEdgeRecord {
112
+ source: string;
113
+ target: string;
114
+ }
115
+ export interface MeteringDefinitionFlow {
116
+ allNodes: MeteringFlowNodeRecord[];
117
+ edges: MeteringFlowEdgeRecord[];
118
+ }
119
+ /** The lifecycle attempt of a session change, as far as readings need it. */
120
+ export interface MeteringLifecycleAttempt {
121
+ id: string;
122
+ candidateUsageId: number | null;
123
+ previousUsageId: number | null;
124
+ }
125
+ /** A line to add to a usage's bill or a correction. */
126
+ export interface MeteringBillItemDraft {
127
+ name: string;
128
+ description: string | null;
129
+ externalReference: string;
130
+ unitPrice: number;
131
+ quantity: number;
132
+ meterQuantity?: string | null;
133
+ meterCreditsPerUnit?: number | null;
134
+ allocation?: BillingAllocationRecord | null;
135
+ }
136
+ export interface MeteringCorrectionDraft {
137
+ userId: number;
138
+ initiatorId: number | null;
139
+ correctionOfId: number;
140
+ amount: number;
141
+ }
142
+ export interface MeteringCorrectionRecord {
143
+ id: number;
144
+ userId: number;
145
+ amount: number;
146
+ status: BillingTransactionStatus;
147
+ }
148
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=metering-records.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metering-records.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/metering-records.ts"],"names":[],"mappings":""}
@@ -0,0 +1,39 @@
1
+ /** A configured MQTT broker connection. The password is stored encrypted; consumers decrypt it themselves. */
2
+ export interface MqttServerRecord {
3
+ id: number;
4
+ name: string;
5
+ host: string;
6
+ port: number;
7
+ managementPort: number | null;
8
+ username: string | null;
9
+ password: string | null;
10
+ clientId: string | null;
11
+ useTls: boolean;
12
+ caCert: string | null;
13
+ tlsInsecure: boolean;
14
+ tlsServername: string | null;
15
+ defaultPublishQos: number;
16
+ defaultPublishRetain: boolean;
17
+ defaultSubscribeQos: number;
18
+ createdAt: Date;
19
+ updatedAt: Date;
20
+ }
21
+ /** The settings a new server is created with; omitted fields get the stored defaults. */
22
+ export interface NewMqttServer {
23
+ name: string;
24
+ host: string;
25
+ port: number;
26
+ managementPort?: number | null;
27
+ username?: string | null;
28
+ password?: string | null;
29
+ clientId?: string | null;
30
+ useTls?: boolean;
31
+ caCert?: string | null;
32
+ tlsInsecure?: boolean;
33
+ tlsServername?: string | null;
34
+ defaultPublishQos?: number;
35
+ defaultPublishRetain?: boolean;
36
+ defaultSubscribeQos?: number;
37
+ }
38
+ /** Fields of a server that may be changed; undefined fields stay as they are. */
39
+ export type MqttServerChanges = Partial<NewMqttServer>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mqtt-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mqtt-server.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/mqtt-server.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ export declare enum ResourceFlowNodeType {
2
+ INPUT_BUTTON = "input.button",
3
+ INPUT_RESOURCE_USAGE_STARTED = "input.resource.usage.started",
4
+ INPUT_RESOURCE_USAGE_STOPPED = "input.resource.usage.stopped",
5
+ INPUT_RESOURCE_USAGE_TAKEOVER = "input.resource.usage.takeover",
6
+ INPUT_RESOURCE_DOOR_UNLOCKED = "input.resource.door.unlocked",
7
+ INPUT_RESOURCE_DOOR_LOCKED = "input.resource.door.locked",
8
+ INPUT_RESOURCE_DOOR_UNLATCHED = "input.resource.door.unlatched",
9
+ INPUT_MQTT_MESSAGE_RECEIVED = "input.mqtt.message.received",
10
+ INPUT_RESOURCE_ACTIVITY_NO_ACTIVITY = "input.resource.activity.no-activity",
11
+ INPUT_VARIABLE_CHANGED = "input.variable.changed",
12
+ INPUT_RESOURCE_HEALTH_CHANGED = "input.resource.health.changed",
13
+ INPUT_RESOURCE_MAINTENANCE_CREATED = "input.resource.maintenance.created",
14
+ INPUT_RESOURCE_MAINTENANCE_FINISHED = "input.resource.maintenance.finished",
15
+ INPUT_RESOURCE_MAINTENANCE_REQUEST_CREATED = "input.resource.maintenance-request.created",
16
+ OUTPUT_HTTP_SEND_REQUEST = "output.http.sendRequest",
17
+ OUTPUT_MQTT_SEND_MESSAGE = "output.mqtt.sendMessage",
18
+ OUTPUT_RESOURCE_BILLING_SET_ADDITIONAL_ITEMS = "output.resource.billing.calculation.set-additional-items",
19
+ OUTPUT_RESOURCE_USAGE_END_SESSION = "output.resource.usage.end-session",
20
+ OUTPUT_RESOURCE_ACTIVITY_TRACK_ACTIVITY = "output.resource.activity.track-activity",
21
+ OUTPUT_RESOURCE_ACTIVITY_OPERATING = "output.resource.activity.operating",
22
+ OUTPUT_RESOURCE_ACTIVITY_IDLE = "output.resource.activity.idle",
23
+ PROCESSING_WAIT = "processing.wait",
24
+ PROCESSING_IF = "processing.if",
25
+ PROCESSING_SET_PAYLOAD = "processing.set-payload",
26
+ PROCESSING_MQTT_WAIT_FOR_MESSAGE = "processing.mqtt.waitForMessage",
27
+ PROCESSING_ERROR = "processing.error",
28
+ PROCESSING_SET_VARIABLES = "processing.variables.set",
29
+ PROCESSING_GET_VARIABLES = "processing.variables.get",
30
+ OUTPUT_RESOURCE_HEALTH_HEARTBEAT = "output.resource.health.heartbeat",
31
+ OUTPUT_RESOURCE_HEALTH_SET = "output.resource.health.set",
32
+ OUTPUT_COMPANION_LOCK_PC = "output.companion.lock-pc",
33
+ OUTPUT_COMPANION_UNLOCK_PC = "output.companion.unlock-pc",
34
+ INPUT_COMPANION_IDLE = "input.companion.idle",
35
+ INPUT_COMPANION_ACTIVE = "input.companion.active",
36
+ INPUT_COMPANION_FOREGROUND_APP_CHANGED = "input.companion.foreground_app_changed",
37
+ INPUT_COMPANION_USB_DEVICE_CONNECTED = "input.companion.usb_device_connected",
38
+ INPUT_COMPANION_USB_DEVICE_DISCONNECTED = "input.companion.usb_device_disconnected",
39
+ INPUT_METERING_START = "input.resource.metering.start",
40
+ INPUT_METERING_COLLECT = "input.resource.metering.collect",
41
+ OUTPUT_METERING_READY = "output.resource.metering.ready",
42
+ OUTPUT_METERING_REPORT = "output.resource.metering.report"
43
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceFlowNodeType = void 0;
4
+ var ResourceFlowNodeType;
5
+ (function (ResourceFlowNodeType) {
6
+ ResourceFlowNodeType["INPUT_BUTTON"] = "input.button";
7
+ ResourceFlowNodeType["INPUT_RESOURCE_USAGE_STARTED"] = "input.resource.usage.started";
8
+ ResourceFlowNodeType["INPUT_RESOURCE_USAGE_STOPPED"] = "input.resource.usage.stopped";
9
+ ResourceFlowNodeType["INPUT_RESOURCE_USAGE_TAKEOVER"] = "input.resource.usage.takeover";
10
+ ResourceFlowNodeType["INPUT_RESOURCE_DOOR_UNLOCKED"] = "input.resource.door.unlocked";
11
+ ResourceFlowNodeType["INPUT_RESOURCE_DOOR_LOCKED"] = "input.resource.door.locked";
12
+ ResourceFlowNodeType["INPUT_RESOURCE_DOOR_UNLATCHED"] = "input.resource.door.unlatched";
13
+ ResourceFlowNodeType["INPUT_MQTT_MESSAGE_RECEIVED"] = "input.mqtt.message.received";
14
+ ResourceFlowNodeType["INPUT_RESOURCE_ACTIVITY_NO_ACTIVITY"] = "input.resource.activity.no-activity";
15
+ ResourceFlowNodeType["INPUT_VARIABLE_CHANGED"] = "input.variable.changed";
16
+ ResourceFlowNodeType["INPUT_RESOURCE_HEALTH_CHANGED"] = "input.resource.health.changed";
17
+ ResourceFlowNodeType["INPUT_RESOURCE_MAINTENANCE_CREATED"] = "input.resource.maintenance.created";
18
+ ResourceFlowNodeType["INPUT_RESOURCE_MAINTENANCE_FINISHED"] = "input.resource.maintenance.finished";
19
+ ResourceFlowNodeType["INPUT_RESOURCE_MAINTENANCE_REQUEST_CREATED"] = "input.resource.maintenance-request.created";
20
+ ResourceFlowNodeType["OUTPUT_HTTP_SEND_REQUEST"] = "output.http.sendRequest";
21
+ ResourceFlowNodeType["OUTPUT_MQTT_SEND_MESSAGE"] = "output.mqtt.sendMessage";
22
+ ResourceFlowNodeType["OUTPUT_RESOURCE_BILLING_SET_ADDITIONAL_ITEMS"] = "output.resource.billing.calculation.set-additional-items";
23
+ ResourceFlowNodeType["OUTPUT_RESOURCE_USAGE_END_SESSION"] = "output.resource.usage.end-session";
24
+ ResourceFlowNodeType["OUTPUT_RESOURCE_ACTIVITY_TRACK_ACTIVITY"] = "output.resource.activity.track-activity";
25
+ ResourceFlowNodeType["OUTPUT_RESOURCE_ACTIVITY_OPERATING"] = "output.resource.activity.operating";
26
+ ResourceFlowNodeType["OUTPUT_RESOURCE_ACTIVITY_IDLE"] = "output.resource.activity.idle";
27
+ ResourceFlowNodeType["PROCESSING_WAIT"] = "processing.wait";
28
+ ResourceFlowNodeType["PROCESSING_IF"] = "processing.if";
29
+ ResourceFlowNodeType["PROCESSING_SET_PAYLOAD"] = "processing.set-payload";
30
+ ResourceFlowNodeType["PROCESSING_MQTT_WAIT_FOR_MESSAGE"] = "processing.mqtt.waitForMessage";
31
+ ResourceFlowNodeType["PROCESSING_ERROR"] = "processing.error";
32
+ ResourceFlowNodeType["PROCESSING_SET_VARIABLES"] = "processing.variables.set";
33
+ ResourceFlowNodeType["PROCESSING_GET_VARIABLES"] = "processing.variables.get";
34
+ ResourceFlowNodeType["OUTPUT_RESOURCE_HEALTH_HEARTBEAT"] = "output.resource.health.heartbeat";
35
+ ResourceFlowNodeType["OUTPUT_RESOURCE_HEALTH_SET"] = "output.resource.health.set";
36
+ ResourceFlowNodeType["OUTPUT_COMPANION_LOCK_PC"] = "output.companion.lock-pc";
37
+ ResourceFlowNodeType["OUTPUT_COMPANION_UNLOCK_PC"] = "output.companion.unlock-pc";
38
+ ResourceFlowNodeType["INPUT_COMPANION_IDLE"] = "input.companion.idle";
39
+ ResourceFlowNodeType["INPUT_COMPANION_ACTIVE"] = "input.companion.active";
40
+ ResourceFlowNodeType["INPUT_COMPANION_FOREGROUND_APP_CHANGED"] = "input.companion.foreground_app_changed";
41
+ ResourceFlowNodeType["INPUT_COMPANION_USB_DEVICE_CONNECTED"] = "input.companion.usb_device_connected";
42
+ ResourceFlowNodeType["INPUT_COMPANION_USB_DEVICE_DISCONNECTED"] = "input.companion.usb_device_disconnected";
43
+ ResourceFlowNodeType["INPUT_METERING_START"] = "input.resource.metering.start";
44
+ ResourceFlowNodeType["INPUT_METERING_COLLECT"] = "input.resource.metering.collect";
45
+ ResourceFlowNodeType["OUTPUT_METERING_READY"] = "output.resource.metering.ready";
46
+ ResourceFlowNodeType["OUTPUT_METERING_REPORT"] = "output.resource.metering.report";
47
+ })(ResourceFlowNodeType || (exports.ResourceFlowNodeType = ResourceFlowNodeType = {}));
48
+ //# sourceMappingURL=node-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-type.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/node-type.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBA0CX;AA1CD,WAAY,oBAAoB;IAC9B,qDAA6B,CAAA;IAC7B,qFAA6D,CAAA;IAC7D,qFAA6D,CAAA;IAC7D,uFAA+D,CAAA;IAC/D,qFAA6D,CAAA;IAC7D,iFAAyD,CAAA;IACzD,uFAA+D,CAAA;IAC/D,mFAA2D,CAAA;IAC3D,mGAA2E,CAAA;IAC3E,yEAAiD,CAAA;IACjD,uFAA+D,CAAA;IAC/D,iGAAyE,CAAA;IACzE,mGAA2E,CAAA;IAC3E,iHAAyF,CAAA;IACzF,4EAAoD,CAAA;IACpD,4EAAoD,CAAA;IACpD,iIAAyG,CAAA;IACzG,+FAAuE,CAAA;IACvE,2GAAmF,CAAA;IACnF,iGAAyE,CAAA;IACzE,uFAA+D,CAAA;IAC/D,2DAAmC,CAAA;IACnC,uDAA+B,CAAA;IAC/B,yEAAiD,CAAA;IACjD,2FAAmE,CAAA;IACnE,6DAAqC,CAAA;IACrC,6EAAqD,CAAA;IACrD,6EAAqD,CAAA;IACrD,6FAAqE,CAAA;IACrE,iFAAyD,CAAA;IACzD,6EAAqD,CAAA;IACrD,iFAAyD,CAAA;IACzD,qEAA6C,CAAA;IAC7C,yEAAiD,CAAA;IACjD,yGAAiF,CAAA;IACjF,qGAA6E,CAAA;IAC7E,2GAAmF,CAAA;IACnF,8EAAsD,CAAA;IACtD,kFAA0D,CAAA;IAC1D,gFAAwD,CAAA;IACxD,kFAA0D,CAAA;AAC5D,CAAC,EA1CW,oBAAoB,oCAApB,oBAAoB,QA0C/B"}
@@ -0,0 +1,7 @@
1
+ /** The stored notification choices of one user. `categoryChannels` is a JSON map of category to channels. */
2
+ export interface NotificationPreferenceRecord {
3
+ userId: number;
4
+ messagesEmailOnOffline: boolean;
5
+ messagesPushEnabled: boolean;
6
+ categoryChannels: string | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=notification-preference-record.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-preference-record.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/notification-preference-record.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ /** The account fields needed to notify someone by email, push or toast. Account records satisfy it structurally. */
2
+ export interface NotificationRecipient {
3
+ id: number;
4
+ username: string;
5
+ email: string;
6
+ locale: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=notification-recipient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-recipient.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/notification-recipient.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ import { ResourceUsageAction } from './resourceUsage-type';
2
+ /** One stretch in which a machine was operating, as recorded by the authoritative operating timeline. */
3
+ export interface OperatingIntervalRecord {
4
+ id: number;
5
+ resourceId: number;
6
+ startTime: Date;
7
+ /** `null` while the machine is still operating. */
8
+ endTime: Date | null;
9
+ startFlowNodeId: string | null;
10
+ startFlowRunId: string | null;
11
+ endFlowNodeId: string | null;
12
+ endFlowRunId: string | null;
13
+ }
14
+ /** The part of a usage session the operating attribution needs. Sessions that did not start yet are never listed. */
15
+ export interface OperatingTimelineSession {
16
+ id: number;
17
+ resourceId: number;
18
+ usageAction: ResourceUsageAction;
19
+ lifecyclePending: boolean;
20
+ startTime: Date;
21
+ endTime: Date | null;
22
+ operatingDurationCreditsPerMinute: number | null;
23
+ }
24
+ /** The segments a person was in with others, as shown on receipts (the shape stored on billing allocations). */
25
+ export interface OperatingBreakdownSegment {
26
+ startedAt: string;
27
+ endedAt: string;
28
+ participants: number;
29
+ totalQuantity: string;
30
+ totalCredits: number;
31
+ shareQuantity: string;
32
+ shareCredits: number;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=operating-interval.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operating-interval.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/operating-interval.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ /** A registered WebAuthn credential. The credential id, public key and counter never leave the server. */
2
+ export interface PasskeyRecord {
3
+ id: number;
4
+ userId: number;
5
+ credentialId: string;
6
+ publicKey: string;
7
+ counter: number;
8
+ transports: string | null;
9
+ name: string;
10
+ backedUp: boolean;
11
+ createdAt: Date;
12
+ lastUsedAt: Date | null;
13
+ }
14
+ export interface NewPasskey {
15
+ userId: number;
16
+ credentialId: string;
17
+ publicKey: string;
18
+ counter: number;
19
+ transports: string | null;
20
+ name: string;
21
+ backedUp: boolean;
22
+ }
23
+ /** A pending WebAuthn ceremony challenge. `userId` is null for usernameless authentication ceremonies. */
24
+ export interface PasskeyChallengeRecord {
25
+ challenge: string;
26
+ userId: number | null;
27
+ expiresAt: Date;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=passkey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/passkey.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare enum PasswordPolicyRole {
2
+ ADMIN = "admin"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PasswordPolicyRole = void 0;
4
+ var PasswordPolicyRole;
5
+ (function (PasswordPolicyRole) {
6
+ PasswordPolicyRole["ADMIN"] = "admin";
7
+ })(PasswordPolicyRole || (exports.PasswordPolicyRole = PasswordPolicyRole = {}));
8
+ //# sourceMappingURL=password-policy-override.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"password-policy-override.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/password-policy-override.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;AACjB,CAAC,EAFW,kBAAkB,kCAAlB,kBAAkB,QAE7B"}
@@ -0,0 +1,24 @@
1
+ import type { PasswordPolicyRole } from './password-policy-override';
2
+ /** The rules of a password policy, as stored for the global policy and (nullable) per role. */
3
+ export interface PasswordPolicyValues {
4
+ minLength: number;
5
+ maxLength: number;
6
+ allowAllUnicode: boolean;
7
+ requireUppercase: boolean;
8
+ requireLowercase: boolean;
9
+ requireDigit: boolean;
10
+ requireSpecial: boolean;
11
+ checkHIBP: boolean;
12
+ checkCommonPasswords: boolean;
13
+ minZxcvbnScore: number;
14
+ historySize: number;
15
+ rotationDays: number;
16
+ }
17
+ /** The rule names of a policy, in the order they are stored and shown. */
18
+ export declare const PASSWORD_POLICY_FIELDS: ReadonlyArray<keyof PasswordPolicyValues>;
19
+ /** A per-role override: a null rule falls back to the global policy. */
20
+ export type PasswordPolicyOverrideRecord = {
21
+ role: PasswordPolicyRole;
22
+ } & {
23
+ [Key in keyof PasswordPolicyValues]: PasswordPolicyValues[Key] | null;
24
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PASSWORD_POLICY_FIELDS = void 0;
4
+ /** The rule names of a policy, in the order they are stored and shown. */
5
+ exports.PASSWORD_POLICY_FIELDS = [
6
+ 'minLength',
7
+ 'maxLength',
8
+ 'allowAllUnicode',
9
+ 'requireUppercase',
10
+ 'requireLowercase',
11
+ 'requireDigit',
12
+ 'requireSpecial',
13
+ 'checkHIBP',
14
+ 'checkCommonPasswords',
15
+ 'minZxcvbnScore',
16
+ 'historySize',
17
+ 'rotationDays',
18
+ ];
19
+ //# sourceMappingURL=password-policy-records.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"password-policy-records.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/password-policy-records.ts"],"names":[],"mappings":";;;AAkBA,0EAA0E;AAC7D,QAAA,sBAAsB,GAA8C;IAC/E,WAAW;IACX,WAAW;IACX,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;IAClB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,sBAAsB;IACtB,gBAAgB;IAChB,aAAa;IACb,cAAc;CACf,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const PASSWORD_POLICY_SINGLETON_ID = 1;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PASSWORD_POLICY_SINGLETON_ID = void 0;
4
+ exports.PASSWORD_POLICY_SINGLETON_ID = 1;
5
+ //# sourceMappingURL=password-policy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"password-policy.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/password-policy.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ /** A logical BLE endpoint owned by exactly one backend plugin: a reader, a device address and a profile. */
2
+ export interface PluginBleEndpointRecord {
3
+ id: string;
4
+ pluginId: string;
5
+ readerId: number;
6
+ address: string;
7
+ addressType: 'public' | 'random';
8
+ profileId: string;
9
+ label: string | null;
10
+ createdAt: Date;
11
+ updatedAt: Date;
12
+ }
13
+ export type NewPluginBleEndpoint = Pick<PluginBleEndpointRecord, 'id' | 'pluginId' | 'readerId' | 'address' | 'addressType' | 'profileId'> & {
14
+ label?: string | null;
15
+ };
16
+ /** The endpoint fields a plugin may change. */
17
+ export type PluginBleEndpointChanges = Partial<Pick<PluginBleEndpointRecord, 'readerId' | 'address' | 'addressType' | 'label'>>;
18
+ /** What the BLE host needs to know about a reader. */
19
+ export interface PluginBleReaderAccess {
20
+ id: number;
21
+ name: string;
22
+ /** Whether plugins may use this reader's Bluetooth radio. */
23
+ allowPluginBle: boolean;
24
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=plugin-ble-endpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-ble-endpoint.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/plugin-ble-endpoint.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ import type { ResourceType } from './resource-type';
2
+ import type { SupervisionMode } from './resource-supervision';
3
+ /**
4
+ * The account fields the plugin SDK exposes. Plugins never see host entities: events, requests and host data
5
+ * queries carry this model. Secrets, tokens and contact data are not part of it.
6
+ */
7
+ export interface PluginUserModel {
8
+ id: number;
9
+ username: string;
10
+ /** BCP 47 tag of the user's preferred language. */
11
+ locale: string;
12
+ isDisabled: boolean;
13
+ }
14
+ /** The resource fields the plugin SDK exposes. */
15
+ export interface PluginResourceModel {
16
+ id: number;
17
+ name: string;
18
+ type: ResourceType;
19
+ description: string | null;
20
+ allowTakeOver: boolean;
21
+ maxParallelSessions: number;
22
+ supervisionMode: SupervisionMode;
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=plugin-host-models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-host-models.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/plugin-host-models.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export declare enum ProjectInvitationStatus {
2
+ PENDING = "pending",
3
+ ACCEPTED = "accepted",
4
+ DECLINED = "declined",
5
+ CANCELED = "canceled"
6
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectInvitationStatus = void 0;
4
+ var ProjectInvitationStatus;
5
+ (function (ProjectInvitationStatus) {
6
+ ProjectInvitationStatus["PENDING"] = "pending";
7
+ ProjectInvitationStatus["ACCEPTED"] = "accepted";
8
+ ProjectInvitationStatus["DECLINED"] = "declined";
9
+ ProjectInvitationStatus["CANCELED"] = "canceled";
10
+ })(ProjectInvitationStatus || (exports.ProjectInvitationStatus = ProjectInvitationStatus = {}));
11
+ //# sourceMappingURL=project-invitation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-invitation.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/project-invitation.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC"}
@@ -0,0 +1,3 @@
1
+ export declare enum ProjectMemberRole {
2
+ VIEWER = "viewer"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProjectMemberRole = void 0;
4
+ var ProjectMemberRole;
5
+ (function (ProjectMemberRole) {
6
+ ProjectMemberRole["VIEWER"] = "viewer";
7
+ })(ProjectMemberRole || (exports.ProjectMemberRole = ProjectMemberRole = {}));
8
+ //# sourceMappingURL=project-member.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-member.js","sourceRoot":"","sources":["../../../../../libs/application-models/src/lib/project-member.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;AACnB,CAAC,EAFW,iBAAiB,iCAAjB,iBAAiB,QAE5B"}