@moxi.gmbh/moxi-typescriptmodels 0.0.611 → 0.0.621

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 -185
  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,9 +87,9 @@ 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;
@@ -102,27 +102,23 @@ export interface Application {
102
102
  export interface ApplicationConfig {
103
103
  }
104
104
 
105
- export interface ApplicationId {
106
- type?: any;
107
- }
108
-
109
105
  export interface Appointment {
110
- pickup?: any;
106
+ pickup?: boolean;
111
107
  time?: string;
112
108
  }
113
109
 
114
110
  export interface Attachment {
115
- base64Data?: any;
116
- fileName?: any;
117
- mediaType?: any;
111
+ base64Data?: string;
112
+ fileName?: string;
113
+ mediaType?: string;
118
114
  }
119
115
 
120
116
  export interface AuthenticateWithToken extends UserUpdate {
121
- hashedToken?: any;
117
+ hashedToken?: string;
122
118
  }
123
119
 
124
120
  export interface AuthenticationResponse {
125
- authorizationHeader?: any;
121
+ authorizationHeader?: string;
126
122
  impersonator?: string;
127
123
  result?: AuthenticationResult;
128
124
  sessionDeadline?: string;
@@ -143,27 +139,30 @@ export interface CancelRideOffer extends FleetModifyCommand {
143
139
  }
144
140
 
145
141
  export interface ChangeUserPassword {
146
- newPassword?: any;
147
- oldPassword?: any;
142
+ newPassword?: string;
143
+ oldPassword?: string;
148
144
  userId?: string;
149
145
  }
150
146
 
147
+ export interface Comparable<T> {
148
+ }
149
+
151
150
  export interface ConfirmAccount extends AccountCommand {
152
151
  }
153
152
 
154
153
  export interface ConfirmDrivePermission extends AccountUpdate {
155
- drivePermissionId?: any;
154
+ drivePermissionId?: string;
156
155
  }
157
156
 
158
157
  export interface ConfirmEverythingInAccount extends AccountCommand {
159
158
  }
160
159
 
161
160
  export interface ConfirmSubscription extends AccountUpdate {
162
- subscriptionId?: any;
161
+ subscriptionId?: string;
163
162
  }
164
163
 
165
164
  export interface ConfirmUser {
166
- token?: any;
165
+ token?: string;
167
166
  userId?: string;
168
167
  }
169
168
 
@@ -190,16 +189,16 @@ export interface CreateTeam extends AccountCommand {
190
189
  }
191
190
 
192
191
  export interface CreateUser extends UserCommand {
193
- email?: any;
192
+ email?: string;
194
193
  info?: UserInfo;
195
194
  }
196
195
 
197
196
  export interface CriticalAccountInfo {
198
- ikNumber?: any;
199
- name?: any;
197
+ ikNumber?: string;
198
+ name?: string;
200
199
  }
201
200
 
202
- export interface DateRange {
201
+ export interface DateRange extends Comparable<DateRange> {
203
202
  end?: string;
204
203
  start?: string;
205
204
  }
@@ -207,36 +206,28 @@ export interface DateRange {
207
206
  export interface DeleteUser extends EditUser {
208
207
  }
209
208
 
210
- export interface Dimension extends Dimension2D, Serializable {
211
- }
212
-
213
- export interface Dimension2D {
214
- height?: number;
215
- width?: number;
216
- }
217
-
218
209
  export interface District {
219
210
  info?: DistrictInfo;
220
- polygons?: Polygon[];
211
+ polygons?: any[];
221
212
  }
222
213
 
223
214
  export interface DistrictInfo {
224
- kreisCode?: any;
225
- name?: any;
226
- nutsCode?: any;
227
- type?: any;
215
+ kreisCode?: string;
216
+ name?: string;
217
+ nutsCode?: string;
218
+ type?: string;
228
219
  }
229
220
 
230
221
  export interface DownloadableFile {
231
- base64Data?: any;
232
- fileName?: any;
233
- mediaType?: any;
222
+ base64Data?: string;
223
+ fileName?: string;
224
+ mediaType?: string;
234
225
  }
235
226
 
236
227
  export interface DrivePermission {
237
228
  active?: boolean;
238
229
  confirmed?: boolean;
239
- drivePermissionId?: any;
230
+ drivePermissionId?: string;
240
231
  info?: DrivePermissionInfo;
241
232
  revoked?: boolean;
242
233
  }
@@ -251,42 +242,42 @@ export interface EditUser extends UserUpdate {
251
242
 
252
243
  export interface EmailMessage {
253
244
  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[];
245
+ bccs?: string[];
246
+ ccs?: string[];
247
+ from?: string;
248
+ htmlContent?: string;
249
+ plaintextContent?: string;
250
+ replyTo?: string;
251
+ subject?: string;
252
+ tos?: string[];
262
253
  }
263
254
 
264
255
  export interface EmailModel extends MustacheModel {
265
256
  attachments?: Attachment[];
266
257
  subjectTemplate?: Template;
267
- to?: any;
258
+ to?: string;
268
259
  }
269
260
 
270
261
  export interface EncryptValue {
271
- value?: any;
262
+ value?: string;
272
263
  }
273
264
 
274
265
  export interface EuropeanHealthInsurance {
275
- acronym?: any;
276
- email?: any;
277
- english?: any;
278
- fax?: any;
266
+ acronym?: string;
267
+ email?: string;
268
+ english?: string;
269
+ fax?: string;
279
270
  hasEhic?: boolean;
280
- ikNumber?: any;
281
- name?: any;
282
- phone?: any;
271
+ ikNumber?: string;
272
+ name?: string;
273
+ phone?: string;
283
274
  }
284
275
 
285
276
  export interface ExecuteStatement extends AdminJsonType {
286
277
  "@type": "executeStatement";
287
278
  destination?: Destination;
288
279
  requestId?: number;
289
- statement?: any;
280
+ statement?: string;
290
281
  }
291
282
 
292
283
  export interface Feature {
@@ -295,35 +286,35 @@ export interface Feature {
295
286
  }
296
287
 
297
288
  export interface FindAccount {
298
- term?: any;
289
+ term?: string;
299
290
  }
300
291
 
301
292
  export interface FindMyRideOffers {
302
293
  direction?: Direction;
303
- term?: any;
294
+ term?: string;
304
295
  timeRange?: InstantRange;
305
296
  }
306
297
 
307
298
  export interface FindMyRides {
308
299
  direction?: Direction;
309
- term?: any;
300
+ term?: string;
310
301
  timeRange?: InstantRange;
311
302
  }
312
303
 
313
304
  export interface FindMyUsers {
314
305
  accountId?: string;
315
306
  teamId?: string;
316
- term?: any;
307
+ term?: string;
317
308
  }
318
309
 
319
310
  export interface FindPotentialRides {
320
311
  direction?: Direction;
321
- term?: any;
312
+ term?: string;
322
313
  timeRange?: InstantRange;
323
314
  }
324
315
 
325
316
  export interface FindUsers {
326
- term?: any;
317
+ term?: string;
327
318
  }
328
319
 
329
320
  export interface FleetCommand extends RideCommand {
@@ -363,11 +354,11 @@ export interface GetAccount {
363
354
  }
364
355
 
365
356
  export interface GetAccountsOfPotentialDrivers {
366
- fromDistrict?: any;
357
+ fromDistrict?: string;
367
358
  mobility?: Mobility;
368
359
  rideType?: RideType;
369
- toDistrict?: any;
370
- weightInKg?: any;
360
+ toDistrict?: string;
361
+ weightInKg?: number;
371
362
  }
372
363
 
373
364
  export interface GetApplicationConfig {
@@ -375,7 +366,7 @@ export interface GetApplicationConfig {
375
366
 
376
367
  export interface GetDistrict {
377
368
  geoLocation?: GeoLocation;
378
- stateNutsCode?: any;
369
+ stateNutsCode?: string;
379
370
  }
380
371
 
381
372
  export interface GetInsurers {
@@ -420,13 +411,13 @@ export interface GetUserProfile {
420
411
  }
421
412
 
422
413
  export interface GiveDrivePermission extends AccountUpdate {
423
- drivePermissionId?: any;
414
+ drivePermissionId?: string;
424
415
  info?: DrivePermissionInfo;
425
416
  }
426
417
 
427
418
  export interface GiveSubscription extends AccountUpdate {
428
419
  info?: SubscriptionInfo;
429
- subscriptionId?: any;
420
+ subscriptionId?: string;
430
421
  }
431
422
 
432
423
  export interface GiveTeamPermission extends AccountPermissionCommand {
@@ -437,13 +428,13 @@ export interface ImpersonateUser {
437
428
  userId?: string;
438
429
  }
439
430
 
440
- export interface InstantRange {
431
+ export interface InstantRange extends Comparable<InstantRange> {
441
432
  end?: string;
442
433
  start?: string;
443
434
  }
444
435
 
445
436
  export interface Insurer {
446
- ikNumber?: any;
437
+ ikNumber?: string;
447
438
  }
448
439
 
449
440
  export interface Invite {
@@ -454,34 +445,34 @@ export interface Invite {
454
445
  export interface InviteUser extends UserCommand {
455
446
  accountPermission?: AccountPermission;
456
447
  autoAccept?: boolean;
457
- email?: any;
448
+ email?: string;
458
449
  }
459
450
 
460
451
  export interface IsoState {
461
- germanName?: any;
462
- isoCode?: any;
463
- name?: any;
464
- nutsCode?: any;
452
+ germanName?: string;
453
+ isoCode?: string;
454
+ name?: string;
455
+ nutsCode?: string;
465
456
  }
466
457
 
467
458
  export interface MustacheModel {
468
459
  }
469
460
 
470
461
  export interface NutsDistrict {
471
- code?: any;
472
- name?: any;
462
+ code?: string;
463
+ name?: string;
473
464
  }
474
465
 
475
466
  export interface NutsState {
476
- code?: any;
477
- name?: any;
467
+ code?: string;
468
+ name?: string;
478
469
  substates?: NutsSubState[];
479
470
  }
480
471
 
481
472
  export interface NutsSubState {
482
- code?: any;
473
+ code?: string;
483
474
  districts?: NutsDistrict[];
484
- name?: any;
475
+ name?: string;
485
476
  }
486
477
 
487
478
  export interface OfferRide extends FleetCommand {
@@ -489,7 +480,7 @@ export interface OfferRide extends FleetCommand {
489
480
  offerInfo?: RideOfferInfo;
490
481
  }
491
482
 
492
- export interface OffsetTimeRange {
483
+ export interface OffsetTimeRange extends Comparable<OffsetTimeRange> {
493
484
  end?: Date;
494
485
  start?: Date;
495
486
  }
@@ -497,68 +488,27 @@ export interface OffsetTimeRange {
497
488
  export interface Person {
498
489
  address?: AddressInfo;
499
490
  birthDay?: string;
500
- email?: any;
501
- firstName?: any;
502
- insuranceNumber?: any;
491
+ email?: string;
492
+ firstName?: string;
493
+ insuranceNumber?: string;
503
494
  insurer?: Insurer;
504
- lastName?: any;
505
- phoneNumber?: any;
495
+ lastName?: string;
496
+ phoneNumber?: string;
506
497
  }
507
498
 
508
499
  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[];
500
+ heightInCm?: number;
501
+ hipWidthInCm?: number;
502
+ shoulderWidthInCm?: number;
530
503
  }
531
504
 
532
505
  export interface QueryDatabase extends AdminJsonType {
533
506
  "@type": "queryDatabase";
534
507
  destination?: Destination;
535
- query?: any;
508
+ query?: string;
536
509
  requestId?: number;
537
510
  }
538
511
 
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
512
  export interface Recurring {
563
513
  daysOfWeek?: DayOfWeek[];
564
514
  firstDay?: string;
@@ -566,11 +516,11 @@ export interface Recurring {
566
516
  }
567
517
 
568
518
  export interface Region {
569
- nutsCode?: any;
519
+ nutsCode?: string;
570
520
  }
571
521
 
572
522
  export interface RegisterAuthenticationToken extends UserUpdate {
573
- hashedToken?: any;
523
+ hashedToken?: string;
574
524
  }
575
525
 
576
526
  export interface RejectInviteUser extends UserUpdate {
@@ -588,28 +538,28 @@ export interface RemoveTeamPermission extends AccountPermissionCommand {
588
538
  }
589
539
 
590
540
  export interface RequestDrivePermission extends AccountUpdate {
591
- drivePermissionId?: any;
541
+ drivePermissionId?: string;
592
542
  info?: DrivePermissionInfo;
593
543
  }
594
544
 
595
545
  export interface RequestSubscription extends AccountUpdate {
596
546
  info?: SubscriptionInfo;
597
- subscriptionId?: any;
547
+ subscriptionId?: string;
598
548
  }
599
549
 
600
550
  export interface RequestUserReset {
601
- email?: any;
551
+ email?: string;
602
552
  }
603
553
 
604
554
  export interface RevokeAccountPermission extends AccountPermissionCommand {
605
555
  }
606
556
 
607
557
  export interface RevokeDrivePermission extends AccountUpdate {
608
- drivePermissionId?: any;
558
+ drivePermissionId?: string;
609
559
  }
610
560
 
611
561
  export interface RevokeSubscription extends AccountUpdate {
612
- subscriptionId?: any;
562
+ subscriptionId?: string;
613
563
  }
614
564
 
615
565
  export interface Ride {
@@ -631,9 +581,10 @@ export interface RideCommand {
631
581
  export interface RideInfo {
632
582
  ambulanceInfo?: AmbulanceInfo;
633
583
  appointment?: Appointment;
634
- attendantsPresent?: any;
584
+ attendantsPresent?: number;
635
585
  dimensions?: PersonDimensions;
636
586
  direction?: Direction;
587
+ duration?: string;
637
588
  from?: AddressInfo;
638
589
  heavyWeight?: boolean;
639
590
  heavyWeightWithMobilityIssues?: boolean;
@@ -641,13 +592,13 @@ export interface RideInfo {
641
592
  patient?: Person;
642
593
  rideType?: RideType;
643
594
  to?: AddressInfo;
644
- weightInKg?: any;
595
+ weightInKg?: number;
645
596
  }
646
597
 
647
598
  export interface RideLog {
648
599
  allowedViewers?: AccountOrTeamId[];
649
- eventDescription?: any;
650
- eventId?: any;
600
+ eventDescription?: string;
601
+ eventId?: string;
651
602
  impersonator?: string;
652
603
  userId?: string;
653
604
  }
@@ -694,15 +645,12 @@ export interface SendInvitationEmail {
694
645
 
695
646
  export interface SendSlack {
696
647
  channel?: SlackChannel;
697
- message?: any;
698
- }
699
-
700
- export interface Serializable {
648
+ message?: string;
701
649
  }
702
650
 
703
651
  export interface SetUserPassword {
704
- confirmationCode?: any;
705
- password?: any;
652
+ confirmationCode?: string;
653
+ password?: string;
706
654
  userId?: string;
707
655
  }
708
656
 
@@ -710,28 +658,23 @@ export interface SetUserRole extends UserUpdate {
710
658
  role?: UserRole;
711
659
  }
712
660
 
713
- export interface Shape {
714
- bounds?: Rectangle;
715
- bounds2D?: Rectangle2D;
716
- }
717
-
718
661
  export interface SignInUser {
719
- password?: any;
662
+ password?: string;
720
663
  userId?: string;
721
664
  }
722
665
 
723
666
  export interface SignUpUser {
724
- email?: any;
667
+ email?: string;
725
668
  info?: UserInfo;
726
- inviteToken?: any;
727
- password?: any;
669
+ inviteToken?: string;
670
+ password?: string;
728
671
  userId?: string;
729
672
  }
730
673
 
731
674
  export interface StartSchedule {
732
675
  deadline?: string;
733
676
  payload?: any;
734
- scheduleId?: any;
677
+ scheduleId?: string;
735
678
  }
736
679
 
737
680
  export interface StopImpersonatingUser {
@@ -740,7 +683,7 @@ export interface StopImpersonatingUser {
740
683
  export interface Subscription extends ConfirmablePermission {
741
684
  confirmed?: boolean;
742
685
  info?: SubscriptionInfo;
743
- subscriptionId?: any;
686
+ subscriptionId?: string;
744
687
  }
745
688
 
746
689
  export interface SubscriptionInfo extends TimedPermission {
@@ -759,8 +702,8 @@ export interface Team {
759
702
 
760
703
  export interface TeamInfo {
761
704
  address?: AddressInfo;
762
- notificationEmails?: any[];
763
- teamName?: any;
705
+ notificationEmails?: string[];
706
+ teamName?: string;
764
707
  }
765
708
 
766
709
  export interface TeamPermission {
@@ -775,7 +718,7 @@ export interface TeamUpdate extends AccountUpdate {
775
718
  export interface Template {
776
719
  }
777
720
 
778
- export interface TimeRange {
721
+ export interface TimeRange extends Comparable<TimeRange> {
779
722
  end?: string;
780
723
  start?: string;
781
724
  }
@@ -825,16 +768,16 @@ export interface UserCommand {
825
768
  }
826
769
 
827
770
  export interface UserInfo {
828
- firstName?: any;
829
- language?: any;
830
- lastName?: any;
831
- telephoneNumber?: any;
771
+ firstName?: string;
772
+ language?: string;
773
+ lastName?: string;
774
+ telephoneNumber?: string;
832
775
  }
833
776
 
834
777
  export interface UserProfile {
835
- acceptedUserAgreements?: any[];
778
+ acceptedUserAgreements?: string[];
836
779
  accountPermissions?: AccountPermission[];
837
- email?: any;
780
+ email?: string;
838
781
  emailConfirmed?: boolean;
839
782
  info?: UserInfo;
840
783
  pendingInvites?: Invite[];
@@ -845,7 +788,7 @@ export interface UserProfile {
845
788
  export interface UserUpdate extends UserCommand {
846
789
  }
847
790
 
848
- export interface ZonedTimeRange {
791
+ export interface ZonedTimeRange extends Comparable<ZonedTimeRange> {
849
792
  end?: Date;
850
793
  start?: Date;
851
794
  }
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.621",
4
4
  "types": "common.d.ts"
5
5
  }