@moxi.gmbh/moxi-typescriptmodels 0.0.611 → 0.0.631

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 (2) hide show
  1. package/common.d.ts +128 -201
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -4,7 +4,7 @@ export interface AcceptInviteUser extends UserUpdate {
4
4
  }
5
5
 
6
6
  export interface AcceptUserAgreement extends UserUpdate {
7
- agreementId?: any;
7
+ agreementId?: string;
8
8
  }
9
9
 
10
10
  export interface Account {
@@ -25,7 +25,7 @@ export interface AccountCommand {
25
25
 
26
26
  export interface AccountInfo {
27
27
  address?: AddressInfo;
28
- notificationEmails?: any[];
28
+ notificationEmails?: string[];
29
29
  }
30
30
 
31
31
  export interface AccountOrTeamId {
@@ -45,24 +45,24 @@ export interface AccountPermissionCommand extends UserUpdate {
45
45
 
46
46
  export interface AccountSummary {
47
47
  accountId?: string;
48
- name?: any;
48
+ name?: string;
49
49
  }
50
50
 
51
51
  export interface AccountUpdate extends AccountCommand {
52
52
  }
53
53
 
54
54
  export interface AddressInfo {
55
- addition?: any;
56
- city?: any;
57
- country?: any;
58
- districtNutsCode?: any;
55
+ addition?: string;
56
+ city?: string;
57
+ country?: string;
58
+ districtNutsCode?: string;
59
59
  geoLocation?: GeoLocation;
60
- instructions?: any;
61
- number?: any;
62
- state?: any;
63
- street?: any;
64
- subState?: any;
65
- zipCode?: any;
60
+ instructions?: string;
61
+ number?: string;
62
+ state?: string;
63
+ street?: string;
64
+ subState?: string;
65
+ zipCode?: string;
66
66
  }
67
67
 
68
68
  export interface AdminConfirmUser extends UserUpdate {
@@ -73,7 +73,7 @@ export interface AdminJsonType {
73
73
  }
74
74
 
75
75
  export interface AdminSetUserPassword {
76
- password?: any;
76
+ password?: string;
77
77
  userId?: string;
78
78
  }
79
79
 
@@ -87,42 +87,31 @@ export interface AmbulanceFilter extends RideTypeSpecificFilter {
87
87
 
88
88
  export interface AmbulanceInfo {
89
89
  hasInfection?: boolean;
90
- infectionDescription?: any;
91
- monitoringDescription?: any;
92
- oxygenLiterPerHour?: any;
90
+ infectionDescription?: string;
91
+ monitoringDescription?: string;
92
+ oxygenLiterPerHour?: number;
93
93
  requiresMonitoring?: boolean;
94
94
  requiresOxygen?: boolean;
95
95
  requiresSuctionAspirator?: boolean;
96
96
  }
97
97
 
98
- export interface Application {
99
- config?: ApplicationConfig;
100
- }
101
-
102
- export interface ApplicationConfig {
103
- }
104
-
105
- export interface ApplicationId {
106
- type?: any;
107
- }
108
-
109
98
  export interface Appointment {
110
- pickup?: any;
99
+ pickup?: boolean;
111
100
  time?: string;
112
101
  }
113
102
 
114
103
  export interface Attachment {
115
- base64Data?: any;
116
- fileName?: any;
117
- mediaType?: any;
104
+ base64Data?: string;
105
+ fileName?: string;
106
+ mediaType?: string;
118
107
  }
119
108
 
120
109
  export interface AuthenticateWithToken extends UserUpdate {
121
- hashedToken?: any;
110
+ hashedToken?: string;
122
111
  }
123
112
 
124
113
  export interface AuthenticationResponse {
125
- authorizationHeader?: any;
114
+ authorizationHeader?: string;
126
115
  impersonator?: string;
127
116
  result?: AuthenticationResult;
128
117
  sessionDeadline?: string;
@@ -143,27 +132,30 @@ export interface CancelRideOffer extends FleetModifyCommand {
143
132
  }
144
133
 
145
134
  export interface ChangeUserPassword {
146
- newPassword?: any;
147
- oldPassword?: any;
135
+ newPassword?: string;
136
+ oldPassword?: string;
148
137
  userId?: string;
149
138
  }
150
139
 
140
+ export interface Comparable<T> {
141
+ }
142
+
151
143
  export interface ConfirmAccount extends AccountCommand {
152
144
  }
153
145
 
154
146
  export interface ConfirmDrivePermission extends AccountUpdate {
155
- drivePermissionId?: any;
147
+ drivePermissionId?: string;
156
148
  }
157
149
 
158
150
  export interface ConfirmEverythingInAccount extends AccountCommand {
159
151
  }
160
152
 
161
153
  export interface ConfirmSubscription extends AccountUpdate {
162
- subscriptionId?: any;
154
+ subscriptionId?: string;
163
155
  }
164
156
 
165
157
  export interface ConfirmUser {
166
- token?: any;
158
+ token?: string;
167
159
  userId?: string;
168
160
  }
169
161
 
@@ -190,16 +182,16 @@ export interface CreateTeam extends AccountCommand {
190
182
  }
191
183
 
192
184
  export interface CreateUser extends UserCommand {
193
- email?: any;
185
+ email?: string;
194
186
  info?: UserInfo;
195
187
  }
196
188
 
197
189
  export interface CriticalAccountInfo {
198
- ikNumber?: any;
199
- name?: any;
190
+ ikNumber?: string;
191
+ name?: string;
200
192
  }
201
193
 
202
- export interface DateRange {
194
+ export interface DateRange extends Comparable<DateRange> {
203
195
  end?: string;
204
196
  start?: string;
205
197
  }
@@ -207,36 +199,28 @@ export interface DateRange {
207
199
  export interface DeleteUser extends EditUser {
208
200
  }
209
201
 
210
- export interface Dimension extends Dimension2D, Serializable {
211
- }
212
-
213
- export interface Dimension2D {
214
- height?: number;
215
- width?: number;
216
- }
217
-
218
202
  export interface District {
219
203
  info?: DistrictInfo;
220
- polygons?: Polygon[];
204
+ polygons?: any[];
221
205
  }
222
206
 
223
207
  export interface DistrictInfo {
224
- kreisCode?: any;
225
- name?: any;
226
- nutsCode?: any;
227
- type?: any;
208
+ kreisCode?: string;
209
+ name?: string;
210
+ nutsCode?: string;
211
+ type?: string;
228
212
  }
229
213
 
230
214
  export interface DownloadableFile {
231
- base64Data?: any;
232
- fileName?: any;
233
- mediaType?: any;
215
+ base64Data?: string;
216
+ fileName?: string;
217
+ mediaType?: string;
234
218
  }
235
219
 
236
220
  export interface DrivePermission {
237
221
  active?: boolean;
238
222
  confirmed?: boolean;
239
- drivePermissionId?: any;
223
+ drivePermissionId?: string;
240
224
  info?: DrivePermissionInfo;
241
225
  revoked?: boolean;
242
226
  }
@@ -251,42 +235,42 @@ export interface EditUser extends UserUpdate {
251
235
 
252
236
  export interface EmailMessage {
253
237
  attachments?: Attachment[];
254
- bccs?: any[];
255
- ccs?: any[];
256
- from?: any;
257
- htmlContent?: any;
258
- plaintextContent?: any;
259
- replyTo?: any;
260
- subject?: any;
261
- tos?: any[];
238
+ bccs?: string[];
239
+ ccs?: string[];
240
+ from?: string;
241
+ htmlContent?: string;
242
+ plaintextContent?: string;
243
+ replyTo?: string;
244
+ subject?: string;
245
+ tos?: string[];
262
246
  }
263
247
 
264
248
  export interface EmailModel extends MustacheModel {
265
249
  attachments?: Attachment[];
266
250
  subjectTemplate?: Template;
267
- to?: any;
251
+ to?: string;
268
252
  }
269
253
 
270
254
  export interface EncryptValue {
271
- value?: any;
255
+ value?: string;
272
256
  }
273
257
 
274
258
  export interface EuropeanHealthInsurance {
275
- acronym?: any;
276
- email?: any;
277
- english?: any;
278
- fax?: any;
259
+ acronym?: string;
260
+ email?: string;
261
+ english?: string;
262
+ fax?: string;
279
263
  hasEhic?: boolean;
280
- ikNumber?: any;
281
- name?: any;
282
- phone?: any;
264
+ ikNumber?: string;
265
+ name?: string;
266
+ phone?: string;
283
267
  }
284
268
 
285
269
  export interface ExecuteStatement extends AdminJsonType {
286
270
  "@type": "executeStatement";
287
271
  destination?: Destination;
288
272
  requestId?: number;
289
- statement?: any;
273
+ statement?: string;
290
274
  }
291
275
 
292
276
  export interface Feature {
@@ -295,35 +279,35 @@ export interface Feature {
295
279
  }
296
280
 
297
281
  export interface FindAccount {
298
- term?: any;
282
+ term?: string;
299
283
  }
300
284
 
301
285
  export interface FindMyRideOffers {
302
286
  direction?: Direction;
303
- term?: any;
287
+ term?: string;
304
288
  timeRange?: InstantRange;
305
289
  }
306
290
 
307
291
  export interface FindMyRides {
308
292
  direction?: Direction;
309
- term?: any;
293
+ term?: string;
310
294
  timeRange?: InstantRange;
311
295
  }
312
296
 
313
297
  export interface FindMyUsers {
314
298
  accountId?: string;
315
299
  teamId?: string;
316
- term?: any;
300
+ term?: string;
317
301
  }
318
302
 
319
303
  export interface FindPotentialRides {
320
304
  direction?: Direction;
321
- term?: any;
305
+ term?: string;
322
306
  timeRange?: InstantRange;
323
307
  }
324
308
 
325
309
  export interface FindUsers {
326
- term?: any;
310
+ term?: string;
327
311
  }
328
312
 
329
313
  export interface FleetCommand extends RideCommand {
@@ -363,19 +347,16 @@ export interface GetAccount {
363
347
  }
364
348
 
365
349
  export interface GetAccountsOfPotentialDrivers {
366
- fromDistrict?: any;
350
+ fromDistrict?: string;
367
351
  mobility?: Mobility;
368
352
  rideType?: RideType;
369
- toDistrict?: any;
370
- weightInKg?: any;
371
- }
372
-
373
- export interface GetApplicationConfig {
353
+ toDistrict?: string;
354
+ weightInKg?: number;
374
355
  }
375
356
 
376
357
  export interface GetDistrict {
377
358
  geoLocation?: GeoLocation;
378
- stateNutsCode?: any;
359
+ stateNutsCode?: string;
379
360
  }
380
361
 
381
362
  export interface GetInsurers {
@@ -420,13 +401,13 @@ export interface GetUserProfile {
420
401
  }
421
402
 
422
403
  export interface GiveDrivePermission extends AccountUpdate {
423
- drivePermissionId?: any;
404
+ drivePermissionId?: string;
424
405
  info?: DrivePermissionInfo;
425
406
  }
426
407
 
427
408
  export interface GiveSubscription extends AccountUpdate {
428
409
  info?: SubscriptionInfo;
429
- subscriptionId?: any;
410
+ subscriptionId?: string;
430
411
  }
431
412
 
432
413
  export interface GiveTeamPermission extends AccountPermissionCommand {
@@ -437,13 +418,13 @@ export interface ImpersonateUser {
437
418
  userId?: string;
438
419
  }
439
420
 
440
- export interface InstantRange {
421
+ export interface InstantRange extends Comparable<InstantRange> {
441
422
  end?: string;
442
423
  start?: string;
443
424
  }
444
425
 
445
426
  export interface Insurer {
446
- ikNumber?: any;
427
+ ikNumber?: string;
447
428
  }
448
429
 
449
430
  export interface Invite {
@@ -454,34 +435,34 @@ export interface Invite {
454
435
  export interface InviteUser extends UserCommand {
455
436
  accountPermission?: AccountPermission;
456
437
  autoAccept?: boolean;
457
- email?: any;
438
+ email?: string;
458
439
  }
459
440
 
460
441
  export interface IsoState {
461
- germanName?: any;
462
- isoCode?: any;
463
- name?: any;
464
- nutsCode?: any;
442
+ germanName?: string;
443
+ isoCode?: string;
444
+ name?: string;
445
+ nutsCode?: string;
465
446
  }
466
447
 
467
448
  export interface MustacheModel {
468
449
  }
469
450
 
470
451
  export interface NutsDistrict {
471
- code?: any;
472
- name?: any;
452
+ code?: string;
453
+ name?: string;
473
454
  }
474
455
 
475
456
  export interface NutsState {
476
- code?: any;
477
- name?: any;
457
+ code?: string;
458
+ name?: string;
478
459
  substates?: NutsSubState[];
479
460
  }
480
461
 
481
462
  export interface NutsSubState {
482
- code?: any;
463
+ code?: string;
483
464
  districts?: NutsDistrict[];
484
- name?: any;
465
+ name?: string;
485
466
  }
486
467
 
487
468
  export interface OfferRide extends FleetCommand {
@@ -489,7 +470,7 @@ export interface OfferRide extends FleetCommand {
489
470
  offerInfo?: RideOfferInfo;
490
471
  }
491
472
 
492
- export interface OffsetTimeRange {
473
+ export interface OffsetTimeRange extends Comparable<OffsetTimeRange> {
493
474
  end?: Date;
494
475
  start?: Date;
495
476
  }
@@ -497,68 +478,27 @@ export interface OffsetTimeRange {
497
478
  export interface Person {
498
479
  address?: AddressInfo;
499
480
  birthDay?: string;
500
- email?: any;
501
- firstName?: any;
502
- insuranceNumber?: any;
481
+ email?: string;
482
+ firstName?: string;
483
+ insuranceNumber?: string;
503
484
  insurer?: Insurer;
504
- lastName?: any;
505
- phoneNumber?: any;
485
+ lastName?: string;
486
+ phoneNumber?: string;
506
487
  }
507
488
 
508
489
  export interface PersonDimensions {
509
- heightInCm?: any;
510
- hipWidthInCm?: any;
511
- shoulderWidthInCm?: any;
512
- }
513
-
514
- export interface Point extends Point2D, Serializable {
515
- }
516
-
517
- export interface Point2D {
518
- x?: number;
519
- y?: number;
520
- }
521
-
522
- export interface Polygon extends Shape, Serializable {
523
- /**
524
- * @deprecated
525
- */
526
- boundingBox?: Rectangle;
527
- npoints?: number;
528
- xpoints?: number[];
529
- ypoints?: number[];
490
+ heightInCm?: number;
491
+ hipWidthInCm?: number;
492
+ shoulderWidthInCm?: number;
530
493
  }
531
494
 
532
495
  export interface QueryDatabase extends AdminJsonType {
533
496
  "@type": "queryDatabase";
534
497
  destination?: Destination;
535
- query?: any;
498
+ query?: string;
536
499
  requestId?: number;
537
500
  }
538
501
 
539
- export interface Rectangle extends Rectangle2D, Shape, Serializable {
540
- location?: Point;
541
- rect?: Rectangle2D;
542
- size?: Dimension;
543
- }
544
-
545
- export interface Rectangle2D extends RectangularShape {
546
- }
547
-
548
- export interface RectangularShape extends Shape {
549
- centerX?: number;
550
- centerY?: number;
551
- empty?: boolean;
552
- height?: number;
553
- maxX?: number;
554
- maxY?: number;
555
- minX?: number;
556
- minY?: number;
557
- width?: number;
558
- x?: number;
559
- y?: number;
560
- }
561
-
562
502
  export interface Recurring {
563
503
  daysOfWeek?: DayOfWeek[];
564
504
  firstDay?: string;
@@ -566,11 +506,11 @@ export interface Recurring {
566
506
  }
567
507
 
568
508
  export interface Region {
569
- nutsCode?: any;
509
+ nutsCode?: string;
570
510
  }
571
511
 
572
512
  export interface RegisterAuthenticationToken extends UserUpdate {
573
- hashedToken?: any;
513
+ hashedToken?: string;
574
514
  }
575
515
 
576
516
  export interface RejectInviteUser extends UserUpdate {
@@ -588,28 +528,28 @@ export interface RemoveTeamPermission extends AccountPermissionCommand {
588
528
  }
589
529
 
590
530
  export interface RequestDrivePermission extends AccountUpdate {
591
- drivePermissionId?: any;
531
+ drivePermissionId?: string;
592
532
  info?: DrivePermissionInfo;
593
533
  }
594
534
 
595
535
  export interface RequestSubscription extends AccountUpdate {
596
536
  info?: SubscriptionInfo;
597
- subscriptionId?: any;
537
+ subscriptionId?: string;
598
538
  }
599
539
 
600
540
  export interface RequestUserReset {
601
- email?: any;
541
+ email?: string;
602
542
  }
603
543
 
604
544
  export interface RevokeAccountPermission extends AccountPermissionCommand {
605
545
  }
606
546
 
607
547
  export interface RevokeDrivePermission extends AccountUpdate {
608
- drivePermissionId?: any;
548
+ drivePermissionId?: string;
609
549
  }
610
550
 
611
551
  export interface RevokeSubscription extends AccountUpdate {
612
- subscriptionId?: any;
552
+ subscriptionId?: string;
613
553
  }
614
554
 
615
555
  export interface Ride {
@@ -631,9 +571,10 @@ export interface RideCommand {
631
571
  export interface RideInfo {
632
572
  ambulanceInfo?: AmbulanceInfo;
633
573
  appointment?: Appointment;
634
- attendantsPresent?: any;
574
+ attendantsPresent?: number;
635
575
  dimensions?: PersonDimensions;
636
576
  direction?: Direction;
577
+ duration?: string;
637
578
  from?: AddressInfo;
638
579
  heavyWeight?: boolean;
639
580
  heavyWeightWithMobilityIssues?: boolean;
@@ -641,13 +582,13 @@ export interface RideInfo {
641
582
  patient?: Person;
642
583
  rideType?: RideType;
643
584
  to?: AddressInfo;
644
- weightInKg?: any;
585
+ weightInKg?: number;
645
586
  }
646
587
 
647
588
  export interface RideLog {
648
589
  allowedViewers?: AccountOrTeamId[];
649
- eventDescription?: any;
650
- eventId?: any;
590
+ eventDescription?: string;
591
+ eventId?: string;
651
592
  impersonator?: string;
652
593
  userId?: string;
653
594
  }
@@ -694,15 +635,12 @@ export interface SendInvitationEmail {
694
635
 
695
636
  export interface SendSlack {
696
637
  channel?: SlackChannel;
697
- message?: any;
698
- }
699
-
700
- export interface Serializable {
638
+ message?: string;
701
639
  }
702
640
 
703
641
  export interface SetUserPassword {
704
- confirmationCode?: any;
705
- password?: any;
642
+ confirmationCode?: string;
643
+ password?: string;
706
644
  userId?: string;
707
645
  }
708
646
 
@@ -710,28 +648,23 @@ export interface SetUserRole extends UserUpdate {
710
648
  role?: UserRole;
711
649
  }
712
650
 
713
- export interface Shape {
714
- bounds?: Rectangle;
715
- bounds2D?: Rectangle2D;
716
- }
717
-
718
651
  export interface SignInUser {
719
- password?: any;
652
+ password?: string;
720
653
  userId?: string;
721
654
  }
722
655
 
723
656
  export interface SignUpUser {
724
- email?: any;
657
+ email?: string;
725
658
  info?: UserInfo;
726
- inviteToken?: any;
727
- password?: any;
659
+ inviteToken?: string;
660
+ password?: string;
728
661
  userId?: string;
729
662
  }
730
663
 
731
664
  export interface StartSchedule {
732
665
  deadline?: string;
733
666
  payload?: any;
734
- scheduleId?: any;
667
+ scheduleId?: string;
735
668
  }
736
669
 
737
670
  export interface StopImpersonatingUser {
@@ -740,7 +673,7 @@ export interface StopImpersonatingUser {
740
673
  export interface Subscription extends ConfirmablePermission {
741
674
  confirmed?: boolean;
742
675
  info?: SubscriptionInfo;
743
- subscriptionId?: any;
676
+ subscriptionId?: string;
744
677
  }
745
678
 
746
679
  export interface SubscriptionInfo extends TimedPermission {
@@ -759,8 +692,8 @@ export interface Team {
759
692
 
760
693
  export interface TeamInfo {
761
694
  address?: AddressInfo;
762
- notificationEmails?: any[];
763
- teamName?: any;
695
+ notificationEmails?: string[];
696
+ teamName?: string;
764
697
  }
765
698
 
766
699
  export interface TeamPermission {
@@ -775,7 +708,7 @@ export interface TeamUpdate extends AccountUpdate {
775
708
  export interface Template {
776
709
  }
777
710
 
778
- export interface TimeRange {
711
+ export interface TimeRange extends Comparable<TimeRange> {
779
712
  end?: string;
780
713
  start?: string;
781
714
  }
@@ -800,10 +733,6 @@ export interface UpdateAccountPermission extends AccountPermissionCommand {
800
733
  accountPermission?: AccountPermission;
801
734
  }
802
735
 
803
- export interface UpdateApplicationConfig {
804
- config?: ApplicationConfig;
805
- }
806
-
807
736
  export interface UpdateRideBooking extends RidePlannerCommand {
808
737
  info?: RideInfo;
809
738
  }
@@ -825,16 +754,16 @@ export interface UserCommand {
825
754
  }
826
755
 
827
756
  export interface UserInfo {
828
- firstName?: any;
829
- language?: any;
830
- lastName?: any;
831
- telephoneNumber?: any;
757
+ firstName?: string;
758
+ language?: string;
759
+ lastName?: string;
760
+ telephoneNumber?: string;
832
761
  }
833
762
 
834
763
  export interface UserProfile {
835
- acceptedUserAgreements?: any[];
764
+ acceptedUserAgreements?: string[];
836
765
  accountPermissions?: AccountPermission[];
837
- email?: any;
766
+ email?: string;
838
767
  emailConfirmed?: boolean;
839
768
  info?: UserInfo;
840
769
  pendingInvites?: Invite[];
@@ -845,7 +774,7 @@ export interface UserProfile {
845
774
  export interface UserUpdate extends UserCommand {
846
775
  }
847
776
 
848
- export interface ZonedTimeRange {
777
+ export interface ZonedTimeRange extends Comparable<ZonedTimeRange> {
849
778
  end?: Date;
850
779
  start?: Date;
851
780
  }
@@ -862,8 +791,6 @@ export type Destination = "DEFAULT" | "SEARCH";
862
791
 
863
792
  export type Direction = "admission" | "relocation" | "discharge";
864
793
 
865
- export type Environment = "prod" | "local" | "test";
866
-
867
794
  export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
868
795
 
869
796
  export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.611",
3
+ "version": "0.0.631",
4
4
  "types": "common.d.ts"
5
5
  }