@mirantes-micro/foundation-design-system 1.2.190 → 1.2.191

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/dist/index.d.ts CHANGED
@@ -1485,7 +1485,7 @@ declare function MessagesButtonFromPage({ user, label, className, disabled, onCl
1485
1485
 
1486
1486
  declare function useRestorePendingChat(): void;
1487
1487
 
1488
- type OwnerType = "user" | "organization" | "system" | "chat";
1488
+ type OwnerType = 'user' | 'organization' | 'system' | 'chat';
1489
1489
  interface AssetUploadRequest {
1490
1490
  file: File;
1491
1491
  owner_type: OwnerType;
@@ -1494,14 +1494,15 @@ interface AssetUploadRequest {
1494
1494
  }
1495
1495
  interface AssetUploadResponse {
1496
1496
  data: {
1497
- url: string;
1497
+ url?: string;
1498
+ assetId?: string;
1498
1499
  };
1499
1500
  message: string;
1500
1501
  }
1501
1502
  interface SignedUrlRequest {
1502
1503
  assetId: string;
1503
1504
  expiry: number;
1504
- version: "small" | "medium" | "large";
1505
+ version: 'small' | 'medium' | 'large';
1505
1506
  }
1506
1507
  interface SignedUrlResponse {
1507
1508
  data: {
@@ -1511,7 +1512,7 @@ interface SignedUrlResponse {
1511
1512
  };
1512
1513
  message: string;
1513
1514
  }
1514
- type AssetVersionKey = "small" | "medium" | "large";
1515
+ type AssetVersionKey = 'small' | 'medium' | 'large';
1515
1516
  interface AssetVersion {
1516
1517
  format: string;
1517
1518
  platforms: string[];
@@ -1524,7 +1525,7 @@ interface AssetVersionsResponse {
1524
1525
  versions: Record<AssetVersionKey, AssetVersion>;
1525
1526
  }
1526
1527
  interface BulkAssetUploadItemSuccess {
1527
- status: "success";
1528
+ status: 'success';
1528
1529
  message: string;
1529
1530
  data: {
1530
1531
  url: string;
@@ -1532,7 +1533,7 @@ interface BulkAssetUploadItemSuccess {
1532
1533
  };
1533
1534
  }
1534
1535
  interface BulkAssetUploadItemError {
1535
- status: "error";
1536
+ status: 'error';
1536
1537
  message: string;
1537
1538
  data?: null;
1538
1539
  }