kui-crm 0.0.328 → 0.0.330

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/index.d.ts CHANGED
@@ -261,7 +261,7 @@ declare type FileBodyRequest = {
261
261
  temp_file_id?: number;
262
262
  name: string;
263
263
  visibility?: DocumentVisibilityAPIVariants;
264
- url: string;
264
+ url?: string;
265
265
  };
266
266
  declare type ImageBodyRequest = {
267
267
  temp_file_id: number;
@@ -973,7 +973,7 @@ declare class FileStore implements FileStoreInterface {
973
973
  uploadStatus: LoadStatus;
974
974
  uploadedData: FileBodyRequest | ImageBodyRequest | null;
975
975
  loader: Loader;
976
- withFileCleanUp: boolean;
976
+ withFileCleanUp?: boolean;
977
977
  constructor(file: FileStoreParams, filesStore?: FilesStoreInterface | null, withFileCleanUp?: boolean);
978
978
  uploadFile: (variant: FileVariant) => Promise<void>;
979
979
  updateUploadStatus: (status: LoadStatus) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.328",
3
+ "version": "0.0.330",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -85,7 +85,7 @@ declare type FileBodyRequest = {
85
85
  temp_file_id?: number;
86
86
  name: string;
87
87
  visibility?: DocumentVisibilityAPIVariants;
88
- url: string;
88
+ url?: string;
89
89
  };
90
90
  declare type ImageBodyRequest = {
91
91
  temp_file_id: number;
@@ -250,7 +250,7 @@ declare class FileStore implements FileStoreInterface {
250
250
  uploadStatus: LoadStatus;
251
251
  uploadedData: FileBodyRequest | ImageBodyRequest | null;
252
252
  loader: Loader;
253
- withFileCleanUp: boolean;
253
+ withFileCleanUp?: boolean;
254
254
  constructor(file: FileStoreParams, filesStore?: FilesStoreInterface | null, withFileCleanUp?: boolean);
255
255
  uploadFile: (variant: FileVariant) => Promise<void>;
256
256
  updateUploadStatus: (status: LoadStatus) => void;
package/utils/index.d.ts CHANGED
@@ -61,7 +61,7 @@ declare type FileBodyRequest = {
61
61
  temp_file_id?: number;
62
62
  name: string;
63
63
  visibility?: DocumentVisibilityAPIVariants;
64
- url: string;
64
+ url?: string;
65
65
  };
66
66
  declare type ImageBodyRequest = {
67
67
  temp_file_id: number;
@@ -160,7 +160,7 @@ declare class FileStore implements FileStoreInterface {
160
160
  uploadStatus: LoadStatus;
161
161
  uploadedData: FileBodyRequest | ImageBodyRequest | null;
162
162
  loader: Loader;
163
- withFileCleanUp: boolean;
163
+ withFileCleanUp?: boolean;
164
164
  constructor(file: FileStoreParams, filesStore?: FilesStoreInterface | null, withFileCleanUp?: boolean);
165
165
  uploadFile: (variant: FileVariant) => Promise<void>;
166
166
  updateUploadStatus: (status: LoadStatus) => void;