@ingestro/pipelines-vanilla-js 1.2.0 → 1.4.0
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.css +1 -1
- package/lib/index.js +539 -587
- package/package.json +1 -1
- package/types/index.d.ts +26 -3
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -272,7 +272,7 @@ export type ICreatePipeline = {
|
|
|
272
272
|
onTdmCreate?: IOnTDMCreate;
|
|
273
273
|
onExecutionView?: ICreatePipelineOnExecutionView;
|
|
274
274
|
onClose?: IOnClose;
|
|
275
|
-
|
|
275
|
+
onSuccessContinue?: ICreatePipelineOnSuccessContinue;
|
|
276
276
|
};
|
|
277
277
|
|
|
278
278
|
export type ICreatePipelineProps = ICreatePipeline;
|
|
@@ -308,7 +308,11 @@ export type ICreatePipelineOnPipelineCreate = (
|
|
|
308
308
|
args: ICreatePipelineOnPipelineCreateProps
|
|
309
309
|
) => void;
|
|
310
310
|
|
|
311
|
-
export type
|
|
311
|
+
export type ICreatePipelineOnSuccessContinue = ({
|
|
312
|
+
data,
|
|
313
|
+
}: {
|
|
314
|
+
data: IPipelineDetails;
|
|
315
|
+
}) => void;
|
|
312
316
|
|
|
313
317
|
export type IOnClose = () => void;
|
|
314
318
|
|
|
@@ -383,6 +387,7 @@ export type ICreatePipelineHooksLogs = {
|
|
|
383
387
|
hasOnConnectorCreate: boolean;
|
|
384
388
|
hasOnTdmCreate: boolean;
|
|
385
389
|
hasOnExecutionView: boolean;
|
|
390
|
+
hasOnSuccessContinue: boolean;
|
|
386
391
|
};
|
|
387
392
|
|
|
388
393
|
export type IExecutionDetailsHooksLogs = {
|
|
@@ -547,6 +552,8 @@ export enum ExecutionErrorType {
|
|
|
547
552
|
FETCH_OPTION_FAILURE = 'FETCH_OPTION_FAILURE',
|
|
548
553
|
ADVANCED_CLEANING_FAILURE = 'ADVANCED_CLEANING_FAILURE',
|
|
549
554
|
ADVANCED_VALIDATION_FAILURE = 'ADVANCED_VALIDATION_FAILURE',
|
|
555
|
+
SHEET_NOT_FOUND_BY_NAME = 'SHEET_NOT_FOUND_BY_NAME',
|
|
556
|
+
SHEET_NOT_FOUND_BY_INDEX = 'SHEET_NOT_FOUND_BY_INDEX',
|
|
550
557
|
}
|
|
551
558
|
|
|
552
559
|
export enum IFrequency {
|
|
@@ -681,6 +688,7 @@ export type ICreateConnectorProps = {
|
|
|
681
688
|
configuration?: ICreateConnectorConfiguration;
|
|
682
689
|
settings?: ICreateConnectorSettings;
|
|
683
690
|
onConnectorCreate?: ICreateConnectorOnConnectorCreate;
|
|
691
|
+
onSuccessContinue?: ICreateConnectorOnSuccessContinue;
|
|
684
692
|
onClose?: IOnClose;
|
|
685
693
|
};
|
|
686
694
|
|
|
@@ -700,8 +708,12 @@ export type ICreateConnectorOnConnectorCreate = ({
|
|
|
700
708
|
data: IConnectorDetailResponse;
|
|
701
709
|
}) => void;
|
|
702
710
|
|
|
711
|
+
export type ICreateConnectorOnSuccessContinue =
|
|
712
|
+
ICreateConnectorOnConnectorCreate;
|
|
713
|
+
|
|
703
714
|
export type ICreateConnectorHooksLogs = {
|
|
704
715
|
hasOnConnectorCreate: boolean;
|
|
716
|
+
hasOnSuccessContinue: boolean;
|
|
705
717
|
hasOnClose: boolean;
|
|
706
718
|
};
|
|
707
719
|
|
|
@@ -725,6 +737,7 @@ export type ICreateTargetDataModelProps = {
|
|
|
725
737
|
configuration?: ICreateTargetDataModelConfiguration;
|
|
726
738
|
settings?: ISettingsBase;
|
|
727
739
|
onTargetDataModelCreate?: ICreateTargetDataModelOnTargetDataModelCreate;
|
|
740
|
+
onSuccessContinue?: ICreateTargetDataModelOnSuccessContinue;
|
|
728
741
|
onClose?: IOnClose;
|
|
729
742
|
};
|
|
730
743
|
|
|
@@ -738,9 +751,13 @@ export type ICreateTargetDataModelOnTargetDataModelCreate = ({
|
|
|
738
751
|
data: ITdmItemResponse;
|
|
739
752
|
}) => void;
|
|
740
753
|
|
|
754
|
+
export type ICreateTargetDataModelOnSuccessContinue =
|
|
755
|
+
ICreateTargetDataModelOnTargetDataModelCreate;
|
|
756
|
+
|
|
741
757
|
export type ICreateTargetDataModelHooksLogs = {
|
|
742
758
|
hasOnTargetDataModelCreate: boolean;
|
|
743
759
|
hasOnClose: boolean;
|
|
760
|
+
hasOnSuccessContinue: boolean;
|
|
744
761
|
};
|
|
745
762
|
|
|
746
763
|
export enum FileType {
|
|
@@ -790,7 +807,13 @@ export type IOnTargetDataModelDelete = ({
|
|
|
790
807
|
export type ITargetDataModelDetailsProps = {
|
|
791
808
|
accessToken: string;
|
|
792
809
|
targetDataModelId: string;
|
|
793
|
-
settings?: ISettingsBase
|
|
810
|
+
settings?: ISettingsBase & {
|
|
811
|
+
aiFeatures?: {
|
|
812
|
+
createTdmFromFile?: boolean;
|
|
813
|
+
createTdmFromPrompt?: boolean;
|
|
814
|
+
addOptionsFromFile?: boolean;
|
|
815
|
+
};
|
|
816
|
+
};
|
|
794
817
|
onTargetDataModelUpdate?: IOnTargetDataModelUpdate;
|
|
795
818
|
onTargetDataModelDelete?: IOnTargetDataModelDelete;
|
|
796
819
|
onClose?: IOnClose;
|