@moxi.gmbh/moxi-typescriptmodels 0.1.671 → 0.1.681
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 +18 -2
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -474,7 +474,6 @@ export interface FindMyRides {
|
|
|
474
474
|
|
|
475
475
|
export interface FindMyTokens {
|
|
476
476
|
accountId?: string;
|
|
477
|
-
teamId?: string;
|
|
478
477
|
term?: string;
|
|
479
478
|
}
|
|
480
479
|
|
|
@@ -544,6 +543,11 @@ export interface GenerateToken {
|
|
|
544
543
|
tokenId?: string;
|
|
545
544
|
}
|
|
546
545
|
|
|
546
|
+
export interface GenerateTokenResult {
|
|
547
|
+
entity?: Token;
|
|
548
|
+
jwt?: string;
|
|
549
|
+
}
|
|
550
|
+
|
|
547
551
|
/**
|
|
548
552
|
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
549
553
|
|
|
@@ -1007,6 +1011,9 @@ export interface RevokeDrivePermission extends AccountUpdate {
|
|
|
1007
1011
|
drivePermissionId?: string;
|
|
1008
1012
|
}
|
|
1009
1013
|
|
|
1014
|
+
export interface RevokeSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1010
1017
|
export interface RevokeSubscription extends AccountUpdate {
|
|
1011
1018
|
subscriptionId?: string;
|
|
1012
1019
|
}
|
|
@@ -1290,6 +1297,10 @@ export interface SaveRide extends CreateRideCommand {
|
|
|
1290
1297
|
info?: RideInfo;
|
|
1291
1298
|
}
|
|
1292
1299
|
|
|
1300
|
+
export interface SecondaryTokenPermissionCommand extends TokenUpdate {
|
|
1301
|
+
accountId?: string;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1293
1304
|
export interface SendConfirmationEmail {
|
|
1294
1305
|
userId?: string;
|
|
1295
1306
|
}
|
|
@@ -1330,6 +1341,10 @@ export interface SetOperator extends AccountUpdate {
|
|
|
1330
1341
|
operator?: string;
|
|
1331
1342
|
}
|
|
1332
1343
|
|
|
1344
|
+
export interface SetSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
|
|
1345
|
+
accountPermission?: AccountPermission;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1333
1348
|
export interface SetSettings extends AccountUpdate {
|
|
1334
1349
|
settings?: any;
|
|
1335
1350
|
}
|
|
@@ -1419,10 +1434,11 @@ export interface TimedPermission {
|
|
|
1419
1434
|
}
|
|
1420
1435
|
|
|
1421
1436
|
export interface Token {
|
|
1422
|
-
|
|
1437
|
+
accountPermissions?: AccountPermission[];
|
|
1423
1438
|
createdBy?: string;
|
|
1424
1439
|
info?: TokenInfo;
|
|
1425
1440
|
lastUpdatedBy?: string;
|
|
1441
|
+
owner?: string;
|
|
1426
1442
|
revoked?: boolean;
|
|
1427
1443
|
tokenId?: string;
|
|
1428
1444
|
}
|
package/package.json
CHANGED