@moxi.gmbh/moxi-typescriptmodels 0.0.61 → 0.0.131

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 +12 -10
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -15,11 +15,11 @@ export interface AcceptUserAgreement extends UserUpdate {
15
15
 
16
16
  export interface Account {
17
17
  accountId?: string;
18
- confirmedInfo?: AccountInfo;
19
18
  drivePermissions?: DrivePermission[];
19
+ info?: AccountInfo;
20
+ pendingInfoUpdate?: AccountInfo;
20
21
  subscriptions?: Subscription[];
21
22
  teams?: Team[];
22
- unconfirmedInfo?: AccountInfo;
23
23
  }
24
24
 
25
25
  export interface AccountCommand {
@@ -27,7 +27,7 @@ export interface AccountCommand {
27
27
  }
28
28
 
29
29
  export interface AccountInfo {
30
- chamberOfCommerceNumber?: any;
30
+ ikNumber?: any;
31
31
  name?: any;
32
32
  }
33
33
 
@@ -148,6 +148,7 @@ export interface ConfirmablePermission {
148
148
  }
149
149
 
150
150
  export interface CreateAccount extends AccountCommand {
151
+ autoConfirm?: boolean;
151
152
  info?: AccountInfo;
152
153
  owner?: string;
153
154
  requestService?: Service;
@@ -181,14 +182,15 @@ export interface DownloadableFile {
181
182
  mediaType?: any;
182
183
  }
183
184
 
184
- export interface DrivePermission extends ConfirmablePermission {
185
- confirmedInfo?: DrivePermissionInfo;
185
+ export interface DrivePermission {
186
+ active?: boolean;
187
+ confirmed?: boolean;
186
188
  drivePermissionId?: any;
187
189
  info?: DrivePermissionInfo;
188
- unconfirmedInfo?: DrivePermissionInfo;
190
+ revoked?: boolean;
189
191
  }
190
192
 
191
- export interface DrivePermissionInfo extends TimedPermission {
193
+ export interface DrivePermissionInfo {
192
194
  allowedEquipments?: Equipment[];
193
195
  allowedFleetCompanyTypes?: FleetCompanyType[];
194
196
  allowedSpecificities?: Specificity[];
@@ -528,10 +530,9 @@ export interface StopImpersonatingUser {
528
530
  }
529
531
 
530
532
  export interface Subscription extends ConfirmablePermission {
531
- confirmedInfo?: SubscriptionInfo;
533
+ confirmed?: boolean;
532
534
  info?: SubscriptionInfo;
533
535
  subscriptionId?: any;
534
- unconfirmedInfo?: SubscriptionInfo;
535
536
  }
536
537
 
537
538
  export interface SubscriptionInfo extends TimedPermission {
@@ -571,6 +572,7 @@ export interface ToggleAdminEndpoint extends AdminJsonType {
571
572
  }
572
573
 
573
574
  export interface UpdateAccountInfo extends AccountUpdate {
575
+ autoConfirm?: boolean;
574
576
  info?: AccountInfo;
575
577
  }
576
578
 
@@ -601,7 +603,7 @@ export interface UpsertAddress {
601
603
  info?: AddressInfo;
602
604
  }
603
605
 
604
- export interface UpsertInsurers {
606
+ export interface UpsertInsurer {
605
607
  info?: InsurerInfo;
606
608
  insurerId?: InsurerId;
607
609
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.61",
3
+ "version": "0.0.131",
4
4
  "types": "common.d.ts"
5
5
  }