@smarterplan/ngx-smarterplan-core 0.3.11

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 (134) hide show
  1. package/README.md +24 -0
  2. package/esm2020/lib/components/csv-export/csv-export.component.mjs +59 -0
  3. package/esm2020/lib/components/loader/loader.component.mjs +14 -0
  4. package/esm2020/lib/components/menu-bar/avatar/avatar.component.mjs +75 -0
  5. package/esm2020/lib/components/menu-bar/menu-bar.component.mjs +115 -0
  6. package/esm2020/lib/components/menu-bar/navigation-bar/navigation-bar.component.mjs +254 -0
  7. package/esm2020/lib/components/menu-bar/range-date-picker/range-date-picker.component.mjs +81 -0
  8. package/esm2020/lib/components/modal-switch-visit/modal-switch-visit.component.mjs +39 -0
  9. package/esm2020/lib/components/search-bar/search-bar.component.mjs +63 -0
  10. package/esm2020/lib/components/support-modal/support-modal.component.mjs +59 -0
  11. package/esm2020/lib/config.mjs +4 -0
  12. package/esm2020/lib/helpers.service.mjs +468 -0
  13. package/esm2020/lib/mattertagData.mjs +177 -0
  14. package/esm2020/lib/ngx-smarterplan-core.module.mjs +117 -0
  15. package/esm2020/lib/ngx-smarterplan-core.service.mjs +14 -0
  16. package/esm2020/lib/pipes/duration-to-string.pipe.mjs +66 -0
  17. package/esm2020/lib/pipes/hashtag-from-id.pipe.mjs +26 -0
  18. package/esm2020/lib/pipes/safe-url.pipe.mjs +20 -0
  19. package/esm2020/lib/pipes/time-date-to-local-string.pipe.mjs +104 -0
  20. package/esm2020/lib/pipes/username-from-id.pipe.mjs +29 -0
  21. package/esm2020/lib/services/base-tab.service.mjs +24 -0
  22. package/esm2020/lib/services/baseVisibility.service.mjs +17 -0
  23. package/esm2020/lib/services/booking.service.mjs +161 -0
  24. package/esm2020/lib/services/content.service.mjs +135 -0
  25. package/esm2020/lib/services/filter.service.mjs +560 -0
  26. package/esm2020/lib/services/intervention.service.mjs +236 -0
  27. package/esm2020/lib/services/locale.service.mjs +45 -0
  28. package/esm2020/lib/services/matterport-import.service.mjs +339 -0
  29. package/esm2020/lib/services/matterport.service.mjs +876 -0
  30. package/esm2020/lib/services/models/affectation.service.mjs +60 -0
  31. package/esm2020/lib/services/models/base-object.service.mjs +70 -0
  32. package/esm2020/lib/services/models/capture.service.mjs +34 -0
  33. package/esm2020/lib/services/models/comment.service.mjs +98 -0
  34. package/esm2020/lib/services/models/domain.service.mjs +77 -0
  35. package/esm2020/lib/services/models/equipment.service.mjs +629 -0
  36. package/esm2020/lib/services/models/event.service.mjs +128 -0
  37. package/esm2020/lib/services/models/feature.service.mjs +339 -0
  38. package/esm2020/lib/services/models/hashtag.service.mjs +38 -0
  39. package/esm2020/lib/services/models/layer.service.mjs +33 -0
  40. package/esm2020/lib/services/models/measurement.service.mjs +158 -0
  41. package/esm2020/lib/services/models/mission.service.mjs +185 -0
  42. package/esm2020/lib/services/models/navigation.service.mjs +76 -0
  43. package/esm2020/lib/services/models/node.service.mjs +31 -0
  44. package/esm2020/lib/services/models/operation.service.mjs +59 -0
  45. package/esm2020/lib/services/models/organisation.service.mjs +73 -0
  46. package/esm2020/lib/services/models/plan.service.mjs +573 -0
  47. package/esm2020/lib/services/models/poi.service.mjs +48 -0
  48. package/esm2020/lib/services/models/profile.service.mjs +54 -0
  49. package/esm2020/lib/services/models/property.service.mjs +34 -0
  50. package/esm2020/lib/services/models/space.service.mjs +184 -0
  51. package/esm2020/lib/services/models/template.service.mjs +41 -0
  52. package/esm2020/lib/services/models/ticket.service.mjs +454 -0
  53. package/esm2020/lib/services/models/visit.service.mjs +130 -0
  54. package/esm2020/lib/services/models/zone.service.mjs +184 -0
  55. package/esm2020/lib/services/navigator.service.mjs +165 -0
  56. package/esm2020/lib/services/s3.service.mjs +124 -0
  57. package/esm2020/lib/services/search.service.mjs +124 -0
  58. package/esm2020/lib/services/support.service.mjs +42 -0
  59. package/esm2020/lib/services/tag.service.mjs +101 -0
  60. package/esm2020/lib/services/user.service.mjs +444 -0
  61. package/esm2020/lib/services/viewer.service.mjs +395 -0
  62. package/esm2020/lib/services/zone-drawer.service.mjs +76 -0
  63. package/esm2020/lib/types.service.mjs +266 -0
  64. package/esm2020/public-api.mjs +63 -0
  65. package/esm2020/smarterplan-ngx-smarterplan-core.mjs +5 -0
  66. package/fesm2015/smarterplan-ngx-smarterplan-core.mjs +10057 -0
  67. package/fesm2015/smarterplan-ngx-smarterplan-core.mjs.map +1 -0
  68. package/fesm2020/smarterplan-ngx-smarterplan-core.mjs +9371 -0
  69. package/fesm2020/smarterplan-ngx-smarterplan-core.mjs.map +1 -0
  70. package/lib/components/csv-export/csv-export.component.d.ts +18 -0
  71. package/lib/components/loader/loader.component.d.ts +8 -0
  72. package/lib/components/menu-bar/avatar/avatar.component.d.ts +18 -0
  73. package/lib/components/menu-bar/menu-bar.component.d.ts +35 -0
  74. package/lib/components/menu-bar/navigation-bar/navigation-bar.component.d.ts +66 -0
  75. package/lib/components/menu-bar/range-date-picker/range-date-picker.component.d.ts +24 -0
  76. package/lib/components/modal-switch-visit/modal-switch-visit.component.d.ts +22 -0
  77. package/lib/components/search-bar/search-bar.component.d.ts +16 -0
  78. package/lib/components/support-modal/support-modal.component.d.ts +24 -0
  79. package/lib/config.d.ts +17 -0
  80. package/lib/helpers.service.d.ts +79 -0
  81. package/lib/mattertagData.d.ts +65 -0
  82. package/lib/ngx-smarterplan-core.module.d.ts +28 -0
  83. package/lib/ngx-smarterplan-core.service.d.ts +6 -0
  84. package/lib/pipes/duration-to-string.pipe.d.ts +12 -0
  85. package/lib/pipes/hashtag-from-id.pipe.d.ts +10 -0
  86. package/lib/pipes/safe-url.pipe.d.ts +10 -0
  87. package/lib/pipes/time-date-to-local-string.pipe.d.ts +16 -0
  88. package/lib/pipes/username-from-id.pipe.d.ts +11 -0
  89. package/lib/services/base-tab.service.d.ts +10 -0
  90. package/lib/services/baseVisibility.service.d.ts +8 -0
  91. package/lib/services/booking.service.d.ts +21 -0
  92. package/lib/services/content.service.d.ts +28 -0
  93. package/lib/services/filter.service.d.ts +58 -0
  94. package/lib/services/intervention.service.d.ts +25 -0
  95. package/lib/services/locale.service.d.ts +23 -0
  96. package/lib/services/matterport-import.service.d.ts +46 -0
  97. package/lib/services/matterport.service.d.ts +141 -0
  98. package/lib/services/models/affectation.service.d.ts +14 -0
  99. package/lib/services/models/base-object.service.d.ts +20 -0
  100. package/lib/services/models/capture.service.d.ts +13 -0
  101. package/lib/services/models/comment.service.d.ts +26 -0
  102. package/lib/services/models/domain.service.d.ts +19 -0
  103. package/lib/services/models/equipment.service.d.ts +88 -0
  104. package/lib/services/models/event.service.d.ts +43 -0
  105. package/lib/services/models/feature.service.d.ts +71 -0
  106. package/lib/services/models/hashtag.service.d.ts +13 -0
  107. package/lib/services/models/layer.service.d.ts +11 -0
  108. package/lib/services/models/measurement.service.d.ts +43 -0
  109. package/lib/services/models/mission.service.d.ts +32 -0
  110. package/lib/services/models/navigation.service.d.ts +22 -0
  111. package/lib/services/models/node.service.d.ts +12 -0
  112. package/lib/services/models/operation.service.d.ts +15 -0
  113. package/lib/services/models/organisation.service.d.ts +19 -0
  114. package/lib/services/models/plan.service.d.ts +117 -0
  115. package/lib/services/models/poi.service.d.ts +15 -0
  116. package/lib/services/models/profile.service.d.ts +15 -0
  117. package/lib/services/models/property.service.d.ts +13 -0
  118. package/lib/services/models/space.service.d.ts +38 -0
  119. package/lib/services/models/template.service.d.ts +15 -0
  120. package/lib/services/models/ticket.service.d.ts +86 -0
  121. package/lib/services/models/visit.service.d.ts +24 -0
  122. package/lib/services/models/zone.service.d.ts +25 -0
  123. package/lib/services/navigator.service.d.ts +55 -0
  124. package/lib/services/s3.service.d.ts +13 -0
  125. package/lib/services/search.service.d.ts +20 -0
  126. package/lib/services/support.service.d.ts +17 -0
  127. package/lib/services/tag.service.d.ts +45 -0
  128. package/lib/services/user.service.d.ts +104 -0
  129. package/lib/services/viewer.service.d.ts +113 -0
  130. package/lib/services/zone-drawer.service.d.ts +7 -0
  131. package/lib/types.service.d.ts +723 -0
  132. package/package.json +41 -0
  133. package/public-api.d.ts +56 -0
  134. package/smarterplan-ngx-smarterplan-core.d.ts +5 -0
@@ -0,0 +1,723 @@
1
+ export declare enum PoiType {
2
+ EQUIPMENT = "EQUIPMENT",
3
+ INFORMATION = "INFORMATION",
4
+ TICKET = "TICKET",
5
+ MEASURE = "MEASURE",
6
+ DATA = "DATA",
7
+ PEOPLE = "PEOPLE",
8
+ DESK = "DESK"
9
+ }
10
+ export declare enum TicketPriority {
11
+ MINIMUM = "MINIMUM",
12
+ LOW = "LOW",
13
+ MEDIUM = "MEDIUM",
14
+ HIGH = "HIGH",
15
+ MAXIMUM = "MAXIMUM"
16
+ }
17
+ export declare enum TagAction {
18
+ HOVER_ON = "hoverOn",
19
+ AUDIO_CLICK = "audioClick",
20
+ VIDEO_CLICK = "videoClick",
21
+ IMAGE_CLICK = "imageClick",
22
+ DOC_CLICK = "docClick",
23
+ CLOSE_MODAL = "closeModal",
24
+ NEXT_SLIDE = "nextSlide",
25
+ DETAIL_CLICK = "detailsClick",
26
+ TICKET_CLICK = "ticketClick",
27
+ YOUTUBE_CLICK = "youtubeClick"
28
+ }
29
+ export declare enum TicketStatus {
30
+ TO_BE_PROCESSED = "TO_BE_PROCESSED",
31
+ PLANNED = "PLANNED",
32
+ IN_PROGRESS = "IN_PROGRESS",
33
+ WAITING_FOR_VALIDATION = "WAITING_FOR_VALIDATION",
34
+ VALIDATED = "VALIDATED",
35
+ REJECTED = "REJECTED",
36
+ RESOLVED = "RESOLVED",
37
+ ARCHIVED = "ARCHIVED",
38
+ LATE = "LATE",
39
+ BLOCKED = "BLOCKED",
40
+ COMPLETED = "COMPLETED",
41
+ DELAYED = "DELAYED",
42
+ CANCELLED = "CANCELLED",
43
+ TO_REDO = "TO_REDO",
44
+ CREATED = "CREATED"
45
+ }
46
+ export declare enum DomainType {
47
+ EQUIPMENT = "EQUIPMENT",
48
+ MISSION = "MISSION",
49
+ TICKET = "TICKET",
50
+ POI = "POI",
51
+ FEATURE = "FEATURE",
52
+ BOOKING = "BOOKING"
53
+ }
54
+ export declare enum RoleStatus {
55
+ VISITOR = "VISITOR",
56
+ VISITOR_MUSEUM = "VISITOR_MUSEUM",
57
+ GUIDE_MUSEUM = "GUIDE_MUSEUM",
58
+ OCCUPANT = "OCCUPANT",
59
+ SERVICE = "SERVICE",
60
+ MANAGER = "MANAGER",
61
+ OWNER = "OWNER",
62
+ ADMIN = "ADMIN"
63
+ }
64
+ export declare enum ProfileStatus {
65
+ WAITING_FOR_VALIDATION = "WAITING_FOR_VALIDATION",
66
+ WAITING_FOR_ACTIVATION = "WAITING_FOR_ACTIVATION",
67
+ ACTIVE = "ACTIVE",
68
+ INACTIVE = "INACTIVE",
69
+ BLOCKED = "BLOCKED"
70
+ }
71
+ export declare enum LevelStatus {
72
+ MINIMUM = "MINIMUM",
73
+ LOW = "LOW",
74
+ MEDIUM = "MEDIUM",
75
+ HIGH = "HIGH",
76
+ MAXIMUM = "MAXIMUM"
77
+ }
78
+ export declare enum PropertyType {
79
+ PROPERTY = "PROPERTY",
80
+ VISIT = "VISIT",
81
+ OCCUPANT = "OCCUPANT",
82
+ SHARED = "SHARED"
83
+ }
84
+ export declare enum SpaceStatus {
85
+ DPE_TO_VALIDATE = "DPE_TO_VALIDATE",
86
+ DPE_VALIDATED = "DPE_VALIDATED",
87
+ DPE_FETCH = "DPE_FETCH"
88
+ }
89
+ export declare enum Locale {
90
+ FR = "FR",
91
+ EN = "EN"
92
+ }
93
+ export declare enum EmailStatus {
94
+ CREATION_TO_DELIVER = "CREATION_TO_DELIVER",
95
+ UPDATE_TO_DELIVER = "UPDATE_TO_DELIVER",
96
+ CANCELLATION_TO_DELIVER = "CANCELLATION_TO_DELIVER",
97
+ SENT = "SENT",
98
+ SOFT_BOUNCE = "SOFT_BOUNCE",
99
+ HARD_BOUNCE = "HARD_BOUNCE",
100
+ REJECTED = "REJECTED"
101
+ }
102
+ export declare enum CaptureViewer {
103
+ CUPIX = "CUPIX",
104
+ MATTERPORT = "MATTERPORT",
105
+ SMARTERPLAN_V1 = "SMARTERPLAN_V1"
106
+ }
107
+ export declare enum InventoryStatus {
108
+ SUCCESS = "SUCCESS",
109
+ ERROR = "ERROR",
110
+ TO_RUN = "TO_RUN",
111
+ TO_RUN_ONE_IMAGE = "TO_RUN_ONE_IMAGE",
112
+ ERROR_FILE_OBJ_NOT_EXIST = "ERROR_FILE_OBJ_NOT_EXIST",
113
+ ERROR_FILE_JSON_NOT_EXIST = "ERROR_FILE_JSON_NOT_EXIST",
114
+ ERROR_FILE_MODEL_NOT_EXIST = "ERROR_FILE_MODEL_NOT_EXIST"
115
+ }
116
+ export declare enum TypeNote {
117
+ CONTRACTUAL = "CONTRACTUAL",
118
+ INFORMATION = "INFORMATION",
119
+ TECHNICAL = "TECHNICAL",
120
+ FINANCIAL = "FINANCIAL",
121
+ OTHER = "OTHER",
122
+ IMAGE = "IMAGE"
123
+ }
124
+ export declare enum FeatureType {
125
+ DESK = "DESK",
126
+ INDICATOR_TEMP = "INDICATOR_TEMP",
127
+ INFORMATION = "INFORMATION",
128
+ INDICATOR_CO2 = "INDICATOR_CO2",
129
+ PURCHASE = "PURCHASE"
130
+ }
131
+ export declare enum TicketType {
132
+ REPORTING = "REPORTING",
133
+ REQUEST_FOR_INTERVENTION = "REQUEST_FOR_INTERVENTION",
134
+ REQUEST_FOR_MAINTENANCE = "REQUEST_FOR_MAINTENANCE",
135
+ WORK_ORDER = "WORK_ORDER",
136
+ INCIDENT = "INCIDENT",
137
+ INFORMATION = "INFORMATION"
138
+ }
139
+ export declare enum EventType {
140
+ EQUIPMENT = "EQUIPMENT",
141
+ COMMENT = "COMMENT",
142
+ CONTRACTUAL_INTERVENTION = "CONTRACTUAL_INTERVENTION",
143
+ NON_CONTRACTUAL_INTERVENTION = "NON_CONTRACTUAL_INTERVENTION",
144
+ TICKET = "TICKET",
145
+ REPORTING = "REPORTING",
146
+ REQUEST_FOR_INTERVENTION = "REQUEST_FOR_INTERVENTION",
147
+ REQUEST_FOR_MAINTENANCE = "REQUEST_FOR_MAINTENANCE",
148
+ WORK_ORDER = "WORK_ORDER",
149
+ INCIDENT = "INCIDENT",
150
+ MEASURE = "MEASURE",
151
+ BOOKING = "BOOKING",
152
+ BOOKING_SUBCRIPTION = "BOOKING_SUBCRIPTION"
153
+ }
154
+ export declare enum EventStatus {
155
+ TO_BE_PROCESSED = "TO_BE_PROCESSED",
156
+ PLANNED = "PLANNED",
157
+ IN_PROGRESS = "IN_PROGRESS",
158
+ WAITING_FOR_VALIDATION = "WAITING_FOR_VALIDATION",
159
+ VALIDATED = "VALIDATED",
160
+ REJECTED = "REJECTED",
161
+ RESOLVED = "RESOLVED",
162
+ ARCHIVED = "ARCHIVED",
163
+ LATE = "LATE",
164
+ BLOCKED = "BLOCKED",
165
+ COMPLETED = "COMPLETED",
166
+ DELAYED = "DELAYED",
167
+ CANCELLED = "CANCELLED",
168
+ TO_REDO = "TO_REDO",
169
+ CREATED = "CREATED",
170
+ LINKED_TO_EQUIPMENT = "LINKED_TO_EQUIPMENT",
171
+ UNLINKED_FROM_EQUIPMENT = "UNLINKED_FROM_EQUIPMENT",
172
+ EDITED = "EDITED",
173
+ LINKED_TO_A_PARENT_TICKET = "LINKED_TO_A_PARENT_TICKET",
174
+ WAITING_FOR_ACCEPTATION = "WAITING_FOR_ACCEPTATION",
175
+ ACCEPTED = "ACCEPTED",
176
+ REFUSED = "REFUSED",
177
+ DOMAIN_UPDATED = "DOMAIN_UPDATED",
178
+ DATES_UPDATED = "DATES_UPDATED",
179
+ TICKET_CHILD_REMOVED = "TICKET_CHILD_REMOVED",
180
+ TYPE_UPDATED = "TYPE_UPDATED",
181
+ DATE_END_UPDATED = "DATE_END_UPDATED",
182
+ DATE_START_UPDATED = "DATE_START_UPDATED",
183
+ POSITION_SET = "POSITION_SET",
184
+ POSITION_UPDATED = "POSITION_UPDATED",
185
+ POSITION_REMOVED = "POSITION_REMOVED"
186
+ }
187
+ export declare enum PaymentStatus {
188
+ UNPAID = "UNPAID",
189
+ PAID = "PAID",
190
+ PENDING = "PENDING",
191
+ ERROR = "ERROR"
192
+ }
193
+ export declare enum CommentType {
194
+ MEASURE = "MEASURE",
195
+ VIDEO = "VIDEO",
196
+ DOCUMENT = "DOCUMENT",
197
+ IMAGE = "IMAGE",
198
+ TEXT = "TEXT",
199
+ AUDIO = "AUDIO",
200
+ URL = "URL",
201
+ YOUTUBE = "YOUTUBE",
202
+ URL_SHOP = "URL_SHOP"
203
+ }
204
+ /** Interface for Update (only id is required) */
205
+ export interface IUpdate {
206
+ id: string;
207
+ }
208
+ export declare type AWSType = {
209
+ __typename?: string | null;
210
+ id?: string | null;
211
+ createdAt?: string;
212
+ updatedAt?: string;
213
+ };
214
+ export declare type DbObjectType = {
215
+ spaceID?: string | null;
216
+ description?: string | null;
217
+ pois?: {
218
+ __typename?: "ModelPOIConnection";
219
+ items?: Array<POI> | null;
220
+ nextToken?: string | null;
221
+ } | null;
222
+ space?: Space | null;
223
+ domainID?: string | null;
224
+ } & AWSType;
225
+ export declare type Ticket = {
226
+ spaceID: string;
227
+ title: string;
228
+ status?: TicketStatus | null;
229
+ priority?: TicketPriority | null;
230
+ ownerMissionID?: string | null;
231
+ ownerMission?: Mission | null;
232
+ type?: TicketType | null;
233
+ parentID?: string | null;
234
+ level?: LevelStatus | null;
235
+ friendlyLabel?: string | null;
236
+ events?: {
237
+ __typename?: "ModelEventConnection";
238
+ items?: Array<Event> | null;
239
+ nextToken?: string | null;
240
+ } | null;
241
+ assignees?: {
242
+ __typename?: "ModelAffectationConnection";
243
+ items?: Array<Affectation> | null;
244
+ nextToken?: string | null;
245
+ } | null;
246
+ equipments?: Array<Equipment> | null;
247
+ operations?: {
248
+ __typename?: "ModelOperationConnection";
249
+ items?: Array<Operation | null> | null;
250
+ nextToken?: string | null;
251
+ };
252
+ comments?: {
253
+ __typename?: "ModelCommentConnection";
254
+ items?: Array<Comment | null> | null;
255
+ nextToken?: string | null;
256
+ };
257
+ prestataire?: Prestataire | null;
258
+ children?: {
259
+ __typename?: "ModelTicketConnection";
260
+ items?: Array<Ticket | null> | null;
261
+ nextToken?: string | null;
262
+ };
263
+ archivedForMissionID?: string[] | null;
264
+ } & DbObjectType;
265
+ export declare type Operation = {
266
+ id?: string | null;
267
+ ticketID?: string | null;
268
+ equipmentID?: string | null;
269
+ deletedAt?: number | null;
270
+ ticket?: Ticket | null;
271
+ equipment?: Equipment | null;
272
+ } & AWSType;
273
+ export declare type Equipment = {
274
+ name: string;
275
+ notes?: {
276
+ __typename?: "ModelNoteConnection";
277
+ items?: Array<Note | null> | null;
278
+ nextToken?: string | null;
279
+ };
280
+ documents?: Array<EquipmentDocument> | null;
281
+ documentationImageUrlSigned?: string | null;
282
+ subEquipments?: Array<Equipment | null> | null;
283
+ subequipmentsIDs?: Array<string | null> | null;
284
+ serialNumber?: string | null;
285
+ domain?: Domain | null;
286
+ childDomain?: Domain | null;
287
+ parentDomain?: Domain | null;
288
+ photo?: string | null;
289
+ zone?: Zone | null;
290
+ tickets?: Ticket[] | null;
291
+ domainID?: string | null;
292
+ spaceID: string;
293
+ archivedForMissionID?: string[] | null;
294
+ annotation?: string | null;
295
+ } & DbObjectType;
296
+ export declare type EquipmentDocument = {
297
+ filename: string;
298
+ url: string;
299
+ urlSigned: string;
300
+ noteID: string;
301
+ };
302
+ export declare type Prestataire = {
303
+ organisation: Organisation;
304
+ mission: Mission;
305
+ profile: Profile;
306
+ name: string;
307
+ };
308
+ export declare type Note = {
309
+ id?: string | null;
310
+ attachment?: string | null;
311
+ signDate?: number | null;
312
+ expirationDate?: number | null;
313
+ type?: TypeNote | null;
314
+ ownerMissionID?: string | null;
315
+ equipmentID?: string | null;
316
+ } & AWSType;
317
+ export declare type Domain = {
318
+ name: string;
319
+ slug?: string | null;
320
+ abbreviation?: string | null;
321
+ description?: string | null;
322
+ organisationID?: string | null;
323
+ parentID?: string | null;
324
+ type?: DomainType | null;
325
+ parent?: Domain | null;
326
+ children?: {
327
+ __typename?: "ModelDomainConnection";
328
+ items?: Array<Domain | null> | null;
329
+ nextToken?: string | null;
330
+ };
331
+ } & AWSType;
332
+ export declare type POI = {
333
+ id?: string | null;
334
+ coordinate?: string | null;
335
+ tagIcon?: string | null;
336
+ tagDescription?: string | null;
337
+ tagImageID?: string | null;
338
+ metadata?: string | null;
339
+ matterportSweepID?: string | null;
340
+ type?: PoiType | null;
341
+ elementID?: string | null;
342
+ virtual?: boolean | null;
343
+ };
344
+ export declare enum ViewerInteractions {
345
+ DEFAULT = 0,
346
+ ADDING_TICKET = 1,
347
+ POSITIONING = 2,
348
+ ADDING_EQUIPMENT = 3,
349
+ ADDING_MEASURE = 4,
350
+ ADDING_FEATURE = 5
351
+ }
352
+ export declare type Mission = {
353
+ userID: string;
354
+ role?: RoleStatus | null;
355
+ organisationID: string;
356
+ spaceID?: string | null;
357
+ level?: LevelStatus | null;
358
+ orderedOrganisationID?: string | null;
359
+ zoneID?: string | null;
360
+ groups?: Array<string | null> | null;
361
+ emailStatus?: EmailStatus | null;
362
+ description?: string | null;
363
+ metadata?: string | null;
364
+ deletedAt?: number | null;
365
+ assignments?: {
366
+ __typename?: "ModelAffectationConnection";
367
+ items?: Array<Affectation | null> | null;
368
+ nextToken?: string | null;
369
+ };
370
+ organisation?: Organisation | null;
371
+ orderedOrganisation?: Organisation | null;
372
+ user?: Profile | null;
373
+ domains?: string[] | null;
374
+ space?: Space | null;
375
+ zone?: Zone | null;
376
+ startDateTime?: string | null;
377
+ endDateTime?: string | null;
378
+ hashtags?: Array<string | null> | null;
379
+ templateMissionID?: string | null;
380
+ templateMission?: VisitTemplate | null;
381
+ locale?: Locale | null;
382
+ isInWaitingRoom?: boolean | null;
383
+ blockedInChat?: boolean | null;
384
+ } & AWSType;
385
+ export declare type Affectation = {
386
+ mission?: Mission | null;
387
+ group: string;
388
+ metadata?: string | null;
389
+ deletedAt?: number | null;
390
+ missionID: string;
391
+ ticketID: string;
392
+ } & AWSType;
393
+ export declare type MediaContent = {
394
+ path: string;
395
+ title: string;
396
+ description: string;
397
+ showInTag?: boolean;
398
+ type?: CommentType;
399
+ };
400
+ export declare type Comment = {
401
+ title: string;
402
+ ticket?: Ticket | null;
403
+ owner?: Mission | null;
404
+ annexe?: string | null;
405
+ ticketID?: string | null;
406
+ type?: CommentType | null;
407
+ dimensions?: Array<number | null> | null;
408
+ featureID?: string | null;
409
+ isCoverImage?: boolean | null;
410
+ index?: number | null;
411
+ shownInTag?: boolean | null;
412
+ externalLink?: string | null;
413
+ } & AWSType & DbObjectType;
414
+ export declare type Zone = {
415
+ sweepIDs?: string[] | null;
416
+ layer?: Layer | null;
417
+ parent?: Zone | null;
418
+ virtual?: boolean | null;
419
+ name: string;
420
+ tags?: Array<string | null> | null;
421
+ parentID?: string | null;
422
+ spaceID?: string | null;
423
+ space?: Space | null;
424
+ isMuseumVisitZone?: boolean | null;
425
+ nodeIDs?: Array<string | null> | null;
426
+ surface?: number | null;
427
+ metadata?: string | null;
428
+ } & AWSType;
429
+ export declare type Layer = {
430
+ name: string;
431
+ } & AWSType;
432
+ export declare type Profile = {
433
+ id?: string | null;
434
+ userID: string;
435
+ avatar?: string | null;
436
+ token?: string | null;
437
+ tokenExpiredAt?: number | null;
438
+ status?: ProfileStatus | null;
439
+ metadata?: string | null;
440
+ lastConnectedAt?: number | null;
441
+ pseudo?: string | null;
442
+ } & AWSType;
443
+ export declare class ProfileEntity implements Profile {
444
+ id?: string | null;
445
+ userID: string;
446
+ avatar?: string | null;
447
+ token?: string | null;
448
+ tokenExpiredAt?: number | null;
449
+ status?: ProfileStatus | null;
450
+ createdAt?: string;
451
+ updatedAt?: string;
452
+ firstName: string;
453
+ lastName: string;
454
+ email: string;
455
+ phone: string;
456
+ pseudo: string;
457
+ constructor(init?: Partial<Profile>);
458
+ get metadata(): string;
459
+ set metadata(m: string);
460
+ get displayName(): string;
461
+ }
462
+ export declare type Organisation = {
463
+ name: string;
464
+ siret?: string | null;
465
+ address?: string | null;
466
+ city?: string | null;
467
+ postal?: number | null;
468
+ logoUrl?: string | null;
469
+ originDate?: number | null;
470
+ deletedAt?: number | null;
471
+ shareToken?: string | null;
472
+ tokenExpiresAt?: number | null;
473
+ connectedAccountStripeID?: string | null;
474
+ stripeOnBoardingCompleted?: boolean | null;
475
+ stripeToken?: string | null;
476
+ stripeChargesEnabled?: boolean | null;
477
+ contactDetails?: string | null;
478
+ ticketOrganisationsId?: string | null;
479
+ } & AWSType;
480
+ export declare type Property = {
481
+ type: PropertyType;
482
+ deletedAt?: number | null;
483
+ organisationID: string;
484
+ spaceID: string;
485
+ zoneID?: string | null;
486
+ space?: Space | null;
487
+ organisation?: Organisation | null;
488
+ } & AWSType;
489
+ export declare type Space = {
490
+ name: string;
491
+ addresses?: string | null;
492
+ annexes?: string | null;
493
+ tags?: Array<string | null> | null;
494
+ latitude?: number | null;
495
+ longitude?: number | null;
496
+ metadata?: string | null;
497
+ level?: LevelStatus | null;
498
+ deletedAt?: number | null;
499
+ constructionYear?: string | null;
500
+ classEnergyConsumption?: string | null;
501
+ classGes?: string | null;
502
+ status?: SpaceStatus | null;
503
+ guestLink?: string | null;
504
+ signedImageUrl?: string | null;
505
+ zones?: {
506
+ __typename?: "ModelZoneConnection";
507
+ items?: Array<Zone | null> | null;
508
+ nextToken?: string | null;
509
+ };
510
+ properties?: {
511
+ __typename?: "ModelPropertyConnection";
512
+ items?: Array<Property | null> | null;
513
+ nextToken?: string | null;
514
+ };
515
+ visits?: Visit[] | null;
516
+ } & AWSType;
517
+ export declare type Visit = {
518
+ captureID: string;
519
+ model3d: string;
520
+ takenAt: number;
521
+ spaceID: string;
522
+ viewer: CaptureViewer;
523
+ surface: number;
524
+ node: Node;
525
+ name?: string | null;
526
+ imagesImported: boolean;
527
+ };
528
+ export declare type Hashtag = {
529
+ name?: string | null;
530
+ organisationID?: string | null;
531
+ spaceID?: string | null;
532
+ organization?: Organisation | null;
533
+ space?: Space | null;
534
+ } & AWSType;
535
+ export declare type Capture = {
536
+ takenAt?: number | null;
537
+ viewer?: CaptureViewer | null;
538
+ publishedAt?: number | null;
539
+ surface?: number | null;
540
+ metadata?: string | null;
541
+ spaceID?: string | null;
542
+ nodes?: {
543
+ __typename?: "ModelNodeConnection";
544
+ items?: Array<Node | null> | null;
545
+ nextToken?: string | null;
546
+ };
547
+ } & AWSType;
548
+ export declare type Node = {
549
+ model3D?: string | null;
550
+ coordinate?: string | null;
551
+ size?: string | null;
552
+ scale?: string | null;
553
+ version?: number | null;
554
+ active?: number | null;
555
+ order?: number | null;
556
+ metadata?: string | null;
557
+ captureID?: string | null;
558
+ inventoryStatus?: InventoryStatus | null;
559
+ navigationForInventory?: string | null;
560
+ capture?: Capture | null;
561
+ } & AWSType;
562
+ export declare type Plan = {
563
+ name?: string | null;
564
+ annexe?: string | null;
565
+ calibration?: string | null;
566
+ zoneID?: string | null;
567
+ isCurrentForZone?: boolean | null;
568
+ spaceID?: string | null;
569
+ isModified?: boolean | null;
570
+ isImportedMatterport?: boolean | null;
571
+ filepath?: string;
572
+ model3d?: string | null;
573
+ floor?: string | null;
574
+ visitName?: string | null;
575
+ zone?: Zone | null;
576
+ extension?: string | null;
577
+ navigationIDs?: string[] | null;
578
+ } & AWSType;
579
+ export declare type Navigation = {
580
+ matterportSweepID?: string | null;
581
+ position?: string | null;
582
+ rotation?: string | null;
583
+ radius?: number | null;
584
+ url?: string | null;
585
+ tags?: Array<string | null> | null;
586
+ level?: LevelStatus | null;
587
+ nodeID?: string | null;
588
+ spaceID?: string | null;
589
+ positionOnPlan?: Array<string | null> | null;
590
+ navigationSiblingsId?: string | null;
591
+ pois?: {
592
+ __typename?: "ModelPOIConnection";
593
+ items?: Array<POI | null> | null;
594
+ nextToken?: string | null;
595
+ };
596
+ node?: Node | null;
597
+ } & AWSType;
598
+ export declare type MenuItem = {
599
+ label: string;
600
+ url?: string;
601
+ back?: any;
602
+ };
603
+ export declare type Measurement = {
604
+ id: string;
605
+ poi: POI;
606
+ comment: Comment;
607
+ singedUrlPhoto?: string | null;
608
+ values: Array<number> | null;
609
+ numberPoints: number;
610
+ };
611
+ export declare type Feature = {
612
+ title?: string | null;
613
+ shortDescription?: string | null;
614
+ ownerMissionID?: string | null;
615
+ level?: LevelStatus | null;
616
+ index?: number | null;
617
+ type?: FeatureType | null;
618
+ archivedForMissionID?: Array<string | null> | null;
619
+ stripeProductID?: string | null;
620
+ stripePriceID?: string | null;
621
+ bookingPriceMetadata?: string | null;
622
+ locale?: Locale | null;
623
+ hashtags?: Array<string | null> | null;
624
+ coverImageUrl?: string | null;
625
+ images?: Array<MediaContent> | null;
626
+ videos?: Array<MediaContent> | null;
627
+ audios?: Array<MediaContent> | null;
628
+ externalLinks?: Array<MediaContent> | null;
629
+ documents?: Array<{
630
+ path: string;
631
+ title: string;
632
+ description: string;
633
+ }> | null;
634
+ comments?: {
635
+ __typename?: "ModelCommentConnection";
636
+ items?: Array<Comment | null> | null;
637
+ nextToken?: string | null;
638
+ };
639
+ domain?: Domain | null;
640
+ isBookingPlace?: boolean | null;
641
+ events?: {
642
+ __typename?: "ModelEventConnection";
643
+ items?: Array<Event | null> | null;
644
+ nextToken?: string | null;
645
+ };
646
+ spaceID: string;
647
+ } & DbObjectType;
648
+ export declare type Event = {
649
+ title: string;
650
+ type?: EventType | null;
651
+ estimateStartDate?: number | null;
652
+ estimateDuration?: number | null;
653
+ estimateEndDate?: number | null;
654
+ realStartDate?: number | null;
655
+ timeSpent?: number | null;
656
+ realEndDate?: number | null;
657
+ status?: EventStatus | null;
658
+ description?: string | null;
659
+ group?: string | null;
660
+ metadata?: string | null;
661
+ ownerID?: string | null;
662
+ ticketID?: string | null;
663
+ createdAt?: string | null;
664
+ translationPath?: string | null;
665
+ featureID?: string | null;
666
+ archivedByOwner?: boolean | null;
667
+ paymentStatus?: PaymentStatus | null;
668
+ stripeSessionID?: string | null;
669
+ notificationStatus?: EmailStatus | null;
670
+ refusalReason?: string | null;
671
+ agoStr?: boolean | string | null;
672
+ owner?: Mission | null;
673
+ author?: ProfileEntity | null;
674
+ feature?: Feature | null;
675
+ } & AWSType;
676
+ export declare type RequestIntervention = {
677
+ estimateStartDate?: number | null;
678
+ estimateDuration?: number | null;
679
+ estimateEndDate?: number | null;
680
+ realStartDate?: number | null;
681
+ realDuration?: number | null;
682
+ realEndDate?: number | null;
683
+ type: EventType.REQUEST_FOR_INTERVENTION;
684
+ status: EventStatus;
685
+ intervention?: Event | null;
686
+ report?: Event | null;
687
+ ticketID: string;
688
+ } & AWSType;
689
+ export declare type Intervention = {
690
+ estimateStartDate?: number | null;
691
+ estimateDuration?: number | null;
692
+ estimateEndDate?: number | null;
693
+ realStartDate?: number | null;
694
+ realDuration?: number | null;
695
+ realEndDate?: number | null;
696
+ type: EventType;
697
+ status: EventStatus;
698
+ } & AWSType;
699
+ export declare type VisitTemplate = {
700
+ id?: string | null;
701
+ title?: string | null;
702
+ level?: LevelStatus | null;
703
+ description?: string | null;
704
+ metadata?: string | null;
705
+ deletedAt?: number | null;
706
+ startDateTime?: string | null;
707
+ endDateTime?: string | null;
708
+ hashtags?: Array<string | null> | null;
709
+ organisationID: string;
710
+ spaceID?: string | null;
711
+ zoneID?: string | null;
712
+ locale?: Locale | null;
713
+ realStartedAt?: number | null;
714
+ realEndedAt?: number | null;
715
+ space?: Space | null;
716
+ zone?: Zone | null;
717
+ organisation?: Organisation | null;
718
+ userMissions?: {
719
+ __typename: "ModelMissionConnection";
720
+ items: Array<Mission | null>;
721
+ nextToken?: string | null;
722
+ } | null;
723
+ } & AWSType;