@moxi.gmbh/moxi-typescriptmodels 0.0.4 → 0.0.11

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 CHANGED
@@ -118,23 +118,10 @@ export interface ConfirmUser {
118
118
  }
119
119
 
120
120
  export interface ConfirmablePermission {
121
+ active?: boolean;
121
122
  revoked?: boolean;
122
123
  }
123
124
 
124
- export interface CostBearer {
125
- costBearerId?: CostBearerId;
126
- info?: CostBearerInfo;
127
- }
128
-
129
- export interface CostBearerId {
130
- type?: any;
131
- }
132
-
133
- export interface CostBearerInfo {
134
- code?: any;
135
- name?: any;
136
- }
137
-
138
125
  export interface CreateOrganisation extends OrganisationCommand {
139
126
  info?: OrganisationInfo;
140
127
  owner?: string;
@@ -214,7 +201,7 @@ export interface FindAddresses {
214
201
  term?: any;
215
202
  }
216
203
 
217
- export interface FindCostBearers {
204
+ export interface FindInsurers {
218
205
  term?: any;
219
206
  }
220
207
 
@@ -297,8 +284,8 @@ export interface GetUserProfile {
297
284
  }
298
285
 
299
286
  export interface GiveDrivePermission extends OrganisationUpdate {
287
+ drivePermissionId?: any;
300
288
  info?: DrivePermissionInfo;
301
- regionalDrivePermissionId?: any;
302
289
  }
303
290
 
304
291
  export interface GiveOrganisationRole extends UserUpdate {
@@ -325,6 +312,20 @@ export interface InstantRange {
325
312
  start?: string;
326
313
  }
327
314
 
315
+ export interface Insurer {
316
+ info?: InsurerInfo;
317
+ insurerId?: InsurerId;
318
+ }
319
+
320
+ export interface InsurerId {
321
+ type?: any;
322
+ }
323
+
324
+ export interface InsurerInfo {
325
+ code?: any;
326
+ name?: any;
327
+ }
328
+
328
329
  export interface MailWithEnvelopeModel extends MustacheModel {
329
330
  email?: EmailMessage;
330
331
  }
@@ -338,8 +339,6 @@ export interface OffsetTimeRange {
338
339
  }
339
340
 
340
341
  export interface Organisation {
341
- activeDrivePermissions?: DrivePermissionInfo[];
342
- activeServices?: Service[];
343
342
  confirmedInfo?: OrganisationInfo;
344
343
  drivePermissions?: DrivePermission[];
345
344
  organisationId?: string;
@@ -385,10 +384,10 @@ export interface OrganisationUpdate extends OrganisationCommand {
385
384
  export interface Person {
386
385
  address?: AddressInfo;
387
386
  birthDay?: string;
388
- costBearer?: CostBearer;
389
387
  email?: any;
390
388
  firstName?: any;
391
389
  insuranceNumber?: any;
390
+ insurer?: Insurer;
392
391
  lastName?: any;
393
392
  phoneNumber?: any;
394
393
  weightInKg?: any;
@@ -634,9 +633,9 @@ export interface UpsertAddress {
634
633
  info?: AddressInfo;
635
634
  }
636
635
 
637
- export interface UpsertCostBearer {
638
- costBearerId?: CostBearerId;
639
- info?: CostBearerInfo;
636
+ export interface UpsertInsurers {
637
+ info?: InsurerInfo;
638
+ insurerId?: InsurerId;
640
639
  }
641
640
 
642
641
  export interface UserCommand {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.4",
3
+ "version": "0.0.11",
4
4
  "types": "common.d.ts"
5
5
  }