@moxi.gmbh/moxi-typescriptmodels 0.0.231 → 0.0.261
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.
- package/common.d.ts +146 -20
- package/package.json +1 -1
- package/refdata/iso-states.json +98 -0
- package/refdata/nuts-districts.json +1930 -0
package/common.d.ts
CHANGED
|
@@ -42,27 +42,24 @@ export interface AccountPermission {
|
|
|
42
42
|
teamPermissions?: TeamPermission[];
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
export interface
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export interface Address {
|
|
49
|
-
accountId?: any;
|
|
50
|
-
addressId?: AddressId;
|
|
51
|
-
info?: AddressInfo;
|
|
45
|
+
export interface AccountSummary {
|
|
46
|
+
accountId?: string;
|
|
47
|
+
info?: AccountInfo;
|
|
52
48
|
}
|
|
53
49
|
|
|
54
|
-
export interface
|
|
55
|
-
type?: any;
|
|
50
|
+
export interface AccountUpdate extends AccountCommand {
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
export interface AddressInfo {
|
|
59
54
|
addition?: any;
|
|
60
55
|
city?: any;
|
|
61
56
|
country?: any;
|
|
57
|
+
districtNutsCode?: any;
|
|
62
58
|
geoLocation?: GeoLocation;
|
|
63
59
|
number?: any;
|
|
64
60
|
state?: any;
|
|
65
61
|
street?: any;
|
|
62
|
+
subState?: any;
|
|
66
63
|
zipCode?: any;
|
|
67
64
|
}
|
|
68
65
|
|
|
@@ -176,6 +173,26 @@ export interface DateRange {
|
|
|
176
173
|
export interface DeleteUser extends EditUser {
|
|
177
174
|
}
|
|
178
175
|
|
|
176
|
+
export interface Dimension extends Dimension2D, Serializable {
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export interface Dimension2D {
|
|
180
|
+
height?: number;
|
|
181
|
+
width?: number;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface District {
|
|
185
|
+
info?: DistrictInfo;
|
|
186
|
+
polygons?: Polygon[];
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export interface DistrictInfo {
|
|
190
|
+
kreisCode?: any;
|
|
191
|
+
name?: any;
|
|
192
|
+
nutsCode?: any;
|
|
193
|
+
type?: any;
|
|
194
|
+
}
|
|
195
|
+
|
|
179
196
|
export interface DownloadableFile {
|
|
180
197
|
base64Data?: any;
|
|
181
198
|
fileName?: any;
|
|
@@ -230,11 +247,12 @@ export interface ExecuteStatement extends AdminJsonType {
|
|
|
230
247
|
statement?: any;
|
|
231
248
|
}
|
|
232
249
|
|
|
233
|
-
export interface
|
|
234
|
-
|
|
250
|
+
export interface Feature {
|
|
251
|
+
geometry?: GeometryUnion;
|
|
252
|
+
properties?: any;
|
|
235
253
|
}
|
|
236
254
|
|
|
237
|
-
export interface
|
|
255
|
+
export interface FindAccount {
|
|
238
256
|
term?: any;
|
|
239
257
|
}
|
|
240
258
|
|
|
@@ -275,18 +293,55 @@ export interface FleetCommand extends RideCommand {
|
|
|
275
293
|
export interface FleetModifyCommand extends FleetCommand {
|
|
276
294
|
}
|
|
277
295
|
|
|
296
|
+
export interface GeoJson {
|
|
297
|
+
features?: Feature[];
|
|
298
|
+
}
|
|
299
|
+
|
|
278
300
|
export interface GeoLocation {
|
|
279
301
|
latitude?: number;
|
|
280
302
|
longitude?: number;
|
|
281
303
|
}
|
|
282
304
|
|
|
305
|
+
export interface GeoMultiPolygon extends Geometry {
|
|
306
|
+
coordinates?: number[][][][];
|
|
307
|
+
type: "MultiPolygon";
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface GeoPolygon extends Geometry {
|
|
311
|
+
coordinates?: number[][][];
|
|
312
|
+
type: "Polygon";
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export interface GeoUtils {
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface Geometry {
|
|
319
|
+
type: "MultiPolygon" | "Polygon";
|
|
320
|
+
}
|
|
321
|
+
|
|
283
322
|
export interface GetAccount {
|
|
284
323
|
accountId?: string;
|
|
285
324
|
}
|
|
286
325
|
|
|
326
|
+
export interface GetAccountsOfPotentialDrivers {
|
|
327
|
+
equipment?: Equipment;
|
|
328
|
+
fleetCompanyType?: FleetCompanyType;
|
|
329
|
+
from?: AddressInfo;
|
|
330
|
+
specificities?: Specificity[];
|
|
331
|
+
transportType?: TransportType;
|
|
332
|
+
}
|
|
333
|
+
|
|
287
334
|
export interface GetApplicationConfig {
|
|
288
335
|
}
|
|
289
336
|
|
|
337
|
+
export interface GetDistrict {
|
|
338
|
+
geoLocation?: GeoLocation;
|
|
339
|
+
stateNutsCode?: any;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export interface GetIsoStates {
|
|
343
|
+
}
|
|
344
|
+
|
|
290
345
|
export interface GetMessageAtIndex {
|
|
291
346
|
format?: OutputFormat;
|
|
292
347
|
index?: number;
|
|
@@ -299,6 +354,9 @@ export interface GetMyAccounts {
|
|
|
299
354
|
export interface GetMyUserProfile {
|
|
300
355
|
}
|
|
301
356
|
|
|
357
|
+
export interface GetNutsStates {
|
|
358
|
+
}
|
|
359
|
+
|
|
302
360
|
export interface GetRide {
|
|
303
361
|
rideId?: string;
|
|
304
362
|
}
|
|
@@ -360,9 +418,33 @@ export interface InviteUser extends UserCommand {
|
|
|
360
418
|
email?: any;
|
|
361
419
|
}
|
|
362
420
|
|
|
421
|
+
export interface IsoState {
|
|
422
|
+
germanName?: any;
|
|
423
|
+
isoCode?: any;
|
|
424
|
+
name?: any;
|
|
425
|
+
nutsCode?: any;
|
|
426
|
+
}
|
|
427
|
+
|
|
363
428
|
export interface MustacheModel {
|
|
364
429
|
}
|
|
365
430
|
|
|
431
|
+
export interface NutsDistrict {
|
|
432
|
+
code?: any;
|
|
433
|
+
name?: any;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export interface NutsState {
|
|
437
|
+
code?: any;
|
|
438
|
+
name?: any;
|
|
439
|
+
substates?: NutsSubState[];
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface NutsSubState {
|
|
443
|
+
code?: any;
|
|
444
|
+
districts?: NutsDistrict[];
|
|
445
|
+
name?: any;
|
|
446
|
+
}
|
|
447
|
+
|
|
366
448
|
export interface OffsetTimeRange {
|
|
367
449
|
end?: Date;
|
|
368
450
|
start?: Date;
|
|
@@ -380,6 +462,24 @@ export interface Person {
|
|
|
380
462
|
weightInKg?: any;
|
|
381
463
|
}
|
|
382
464
|
|
|
465
|
+
export interface Point extends Point2D, Serializable {
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export interface Point2D {
|
|
469
|
+
x?: number;
|
|
470
|
+
y?: number;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export interface Polygon extends Shape, Serializable {
|
|
474
|
+
/**
|
|
475
|
+
* @deprecated
|
|
476
|
+
*/
|
|
477
|
+
boundingBox?: Rectangle;
|
|
478
|
+
npoints?: number;
|
|
479
|
+
xpoints?: number[];
|
|
480
|
+
ypoints?: number[];
|
|
481
|
+
}
|
|
482
|
+
|
|
383
483
|
export interface QueryDatabase extends AdminJsonType {
|
|
384
484
|
"@type": "queryDatabase";
|
|
385
485
|
destination?: Destination;
|
|
@@ -387,6 +487,29 @@ export interface QueryDatabase extends AdminJsonType {
|
|
|
387
487
|
requestId?: number;
|
|
388
488
|
}
|
|
389
489
|
|
|
490
|
+
export interface Rectangle extends Rectangle2D, Shape, Serializable {
|
|
491
|
+
location?: Point;
|
|
492
|
+
rect?: Rectangle2D;
|
|
493
|
+
size?: Dimension;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export interface Rectangle2D extends RectangularShape {
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export interface RectangularShape extends Shape {
|
|
500
|
+
centerX?: number;
|
|
501
|
+
centerY?: number;
|
|
502
|
+
empty?: boolean;
|
|
503
|
+
height?: number;
|
|
504
|
+
maxX?: number;
|
|
505
|
+
maxY?: number;
|
|
506
|
+
minX?: number;
|
|
507
|
+
minY?: number;
|
|
508
|
+
width?: number;
|
|
509
|
+
x?: number;
|
|
510
|
+
y?: number;
|
|
511
|
+
}
|
|
512
|
+
|
|
390
513
|
export interface Recurring {
|
|
391
514
|
daysOfWeek?: DayOfWeek[];
|
|
392
515
|
firstDay?: string;
|
|
@@ -394,9 +517,7 @@ export interface Recurring {
|
|
|
394
517
|
}
|
|
395
518
|
|
|
396
519
|
export interface Region {
|
|
397
|
-
|
|
398
|
-
country?: any;
|
|
399
|
-
state?: any;
|
|
520
|
+
nutsCode?: any;
|
|
400
521
|
}
|
|
401
522
|
|
|
402
523
|
export interface RegisterAuthenticationToken extends UserUpdate {
|
|
@@ -498,6 +619,9 @@ export interface SendInvitationEmail {
|
|
|
498
619
|
userId?: string;
|
|
499
620
|
}
|
|
500
621
|
|
|
622
|
+
export interface Serializable {
|
|
623
|
+
}
|
|
624
|
+
|
|
501
625
|
export interface SetUserPassword {
|
|
502
626
|
confirmationCode?: any;
|
|
503
627
|
password?: any;
|
|
@@ -508,6 +632,11 @@ export interface SetUserRole extends UserUpdate {
|
|
|
508
632
|
role?: UserRole;
|
|
509
633
|
}
|
|
510
634
|
|
|
635
|
+
export interface Shape {
|
|
636
|
+
bounds?: Rectangle;
|
|
637
|
+
bounds2D?: Rectangle2D;
|
|
638
|
+
}
|
|
639
|
+
|
|
511
640
|
export interface SignInUser {
|
|
512
641
|
password?: any;
|
|
513
642
|
userId?: string;
|
|
@@ -598,11 +727,6 @@ export interface UpdateUserInfo extends EditUser {
|
|
|
598
727
|
info?: UserInfo;
|
|
599
728
|
}
|
|
600
729
|
|
|
601
|
-
export interface UpsertAddress {
|
|
602
|
-
addressId?: AddressId;
|
|
603
|
-
info?: AddressInfo;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
730
|
export interface UpsertInsurer {
|
|
607
731
|
info?: InsurerInfo;
|
|
608
732
|
insurerId?: InsurerId;
|
|
@@ -658,6 +782,8 @@ export type Equipment = "wheelchair" | "carry_chair" | "lying_down";
|
|
|
658
782
|
|
|
659
783
|
export type FleetCompanyType = "taxi" | "ktw";
|
|
660
784
|
|
|
785
|
+
export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
|
|
786
|
+
|
|
661
787
|
export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
|
|
662
788
|
|
|
663
789
|
export type RightType = "role" | "jurisdiction";
|
package/package.json
CHANGED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"isoCode" : "BW",
|
|
4
|
+
"nutsCode": "DE1",
|
|
5
|
+
"germanName": "Baden-Württemberg",
|
|
6
|
+
"name": "Baden-Württemberg"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"isoCode" : "BY",
|
|
10
|
+
"nutsCode": "DE2",
|
|
11
|
+
"germanName": "Bayern",
|
|
12
|
+
"name": "Bavaria"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"isoCode" : "BE",
|
|
16
|
+
"nutsCode": "DE3",
|
|
17
|
+
"germanName": "Berlin",
|
|
18
|
+
"name": "Berlin"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"isoCode" : "BB",
|
|
22
|
+
"nutsCode": "DE4",
|
|
23
|
+
"germanName": "Brandenburg",
|
|
24
|
+
"name": "Brandenburg"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"isoCode" : "HB",
|
|
28
|
+
"nutsCode": "DE5",
|
|
29
|
+
"germanName": "Bremen",
|
|
30
|
+
"name": "Bremen"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"isoCode" : "HH",
|
|
34
|
+
"nutsCode": "DE6",
|
|
35
|
+
"germanName": "Hamburg",
|
|
36
|
+
"name": "Hamburg"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"isoCode" : "HE",
|
|
40
|
+
"nutsCode": "DE7",
|
|
41
|
+
"germanName": "Hessen",
|
|
42
|
+
"name": "Hesse"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"isoCode" : "MV",
|
|
46
|
+
"nutsCode": "DE8",
|
|
47
|
+
"germanName": "Mecklenburg-Vorpommern",
|
|
48
|
+
"name": "Mecklenburg-Western Pomerania"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"isoCode" : "NI",
|
|
52
|
+
"nutsCode": "DE9",
|
|
53
|
+
"germanName": "Niedersachsen",
|
|
54
|
+
"name": "Lower Saxony"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"isoCode" : "NW",
|
|
58
|
+
"nutsCode": "DEA",
|
|
59
|
+
"germanName": "Nordrhein-Westfalen",
|
|
60
|
+
"name": "North Rhine-Westphalia"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"isoCode" : "RP",
|
|
64
|
+
"nutsCode": "DEB",
|
|
65
|
+
"germanName": "Rheinland-Pfalz",
|
|
66
|
+
"name": "Rhineland-Palatinate"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"isoCode" : "SL",
|
|
70
|
+
"nutsCode": "DEC",
|
|
71
|
+
"germanName": "Saarland",
|
|
72
|
+
"name": "Saarland"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"isoCode" : "SN",
|
|
76
|
+
"nutsCode": "DED",
|
|
77
|
+
"germanName": "Sachsen",
|
|
78
|
+
"name": "Saxony"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"isoCode" : "ST",
|
|
82
|
+
"nutsCode": "DEE",
|
|
83
|
+
"germanName": "Sachsen-Anhalt",
|
|
84
|
+
"name": "Saxony-Anhalt"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"isoCode" : "SH",
|
|
88
|
+
"nutsCode": "DEF",
|
|
89
|
+
"germanName": "Schleswig-Holstein",
|
|
90
|
+
"name": "Schleswig-Holstein"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"isoCode" : "TH",
|
|
94
|
+
"nutsCode": "DEG",
|
|
95
|
+
"germanName": "Thüringen",
|
|
96
|
+
"name": "Thuringia"
|
|
97
|
+
}
|
|
98
|
+
]
|