@moxi.gmbh/moxi-typescriptmodels 0.1.2291-test-server → 0.1.2301-test-server

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 +15 -0
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -78,6 +78,7 @@ export interface AccountFilter {
78
78
 
79
79
  export interface AccountInfo {
80
80
  address?: AddressInfo;
81
+ companyInfo?: CompanyInfo;
81
82
  defaultLanguage?: string;
82
83
  notificationEmails?: string[];
83
84
  phoneNumber?: PhoneNumber;
@@ -285,6 +286,14 @@ export interface CleaningAndSlack {
285
286
  pickupDuration?: number;
286
287
  }
287
288
 
289
+ export interface CompanyInfo {
290
+ businessLicenseDocumentId?: string;
291
+ creationDate?: string;
292
+ hasLiabilityInsurance?: boolean;
293
+ publicLiabilityPolicyDocumentId?: string;
294
+ registrationNumber?: string;
295
+ }
296
+
288
297
  export interface ConfirmAccount extends AccountCommand {
289
298
  }
290
299
 
@@ -1586,6 +1595,10 @@ export interface UpdateAccountPermission extends AccountPermissionCommand {
1586
1595
  accountPermission?: AccountPermission;
1587
1596
  }
1588
1597
 
1598
+ export interface UpdateCompanyInfo extends AccountUpdate {
1599
+ companyInfo?: CompanyInfo;
1600
+ }
1601
+
1589
1602
  export interface UpdatePosition {
1590
1603
  clientSegment?: number[];
1591
1604
  lastIndex?: number;
@@ -1678,6 +1691,8 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1678
1691
 
1679
1692
  export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
1680
1693
 
1694
+ export type DocumentType = "businessLicense" | "publicLiabilityPolicy";
1695
+
1681
1696
  export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
1682
1697
 
1683
1698
  export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2291-test-server",
3
+ "version": "0.1.2301-test-server",
4
4
  "types": "common.d.ts"
5
5
  }