@inceptionbg/main 2.0.79 → 2.0.81

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
@@ -357,6 +357,44 @@ interface IIndexDataCodebookItem {
357
357
  active: boolean;
358
358
  }
359
359
 
360
+ interface IIndexData {
361
+ uuid: string;
362
+ name: string;
363
+ code: string;
364
+ createdAt: string;
365
+ fieldType: IndexDataFieldType;
366
+ indexDataCodebook?: Partial<IIndexDataCodebook>;
367
+ deletionTime?: string;
368
+ readonly?: boolean;
369
+ organization?: IOrganization;
370
+ minLength?: number;
371
+ maxLength?: number;
372
+ order?: number;
373
+ fieldTypeObj?: ISelectData;
374
+ codebookObj?: ISelectData;
375
+ }
376
+ interface IIndex {
377
+ uuid?: string;
378
+ value?: string;
379
+ name?: string;
380
+ position?: IIndexDataPosition;
381
+ indexData?: IIndexData;
382
+ indexOrder?: string;
383
+ defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
384
+ }
385
+ declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
386
+ type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
387
+ declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
388
+ type IIndexDataPosition = (typeof IndexDataPositions)[number];
389
+ interface IIndicesIndex {
390
+ uuid?: string;
391
+ indexDataPosition?: IIndex;
392
+ value?: string;
393
+ codebookItem?: {
394
+ uuid: string;
395
+ };
396
+ }
397
+
360
398
  interface IFileSignatory {
361
399
  uuid?: string;
362
400
  firstName?: string;
@@ -1093,45 +1131,6 @@ interface DocumentIndicies {
1093
1131
  [id: string]: IDocumentIndex;
1094
1132
  }
1095
1133
 
1096
- interface IIndexData {
1097
- uuid?: string;
1098
- name?: string;
1099
- code?: string;
1100
- fieldType?: IndexDataFieldType;
1101
- fieldTypeObj?: ISelectData;
1102
- codebook?: Partial<IIndexDataCodebook>;
1103
- codebookObj?: ISelectData;
1104
- documentType?: IDocumentType;
1105
- deletionTime?: string;
1106
- required?: boolean;
1107
- readonly?: boolean;
1108
- organization?: IOrganization;
1109
- minLength?: number;
1110
- maxLength?: number;
1111
- indexOrder?: number;
1112
- }
1113
- interface IIndex {
1114
- uuid?: string;
1115
- value?: string;
1116
- name?: string;
1117
- position?: IIndexDataPosition;
1118
- indexData?: IIndexData;
1119
- indexOrder?: string;
1120
- defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
1121
- }
1122
- declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
1123
- type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
1124
- declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
1125
- type IIndexDataPosition = (typeof IndexDataPositions)[number];
1126
- interface IIndicesIndex {
1127
- uuid?: string;
1128
- indexDataPosition?: IIndex;
1129
- value?: string;
1130
- codebookItem?: {
1131
- uuid: string;
1132
- };
1133
- }
1134
-
1135
1134
  interface IApproval {
1136
1135
  uuid?: string;
1137
1136
  name?: string;
@@ -1466,7 +1465,7 @@ declare const Sidebar: FC<Props$2>;
1466
1465
  interface Props$1 {
1467
1466
  searchData: IAnyObject;
1468
1467
  setSearchData: Dispatch<SetStateAction<IAnyObject>>;
1469
- indexesSearch: IIndexData[];
1468
+ indexesSearch: Partial<IIndexData>[];
1470
1469
  setIndexesSearch: Dispatch<SetStateAction<Partial<IIndexData>[]>>;
1471
1470
  documentTypeUuid?: string;
1472
1471
  type?: 'document' | 'case' | 'contract';