diff --git a/@types/lib/Builder.d.ts b/@types/lib/Builder.d.ts index 7a8594777..39eb06fa4 100644 --- a/@types/lib/Builder.d.ts +++ b/@types/lib/Builder.d.ts @@ -1,16 +1,16 @@ export default Builder; -export type BuObject = import('../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../types/mcdev.d.js').CodeExtractItem; -export type Mcdevrc = import('../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../types/mcdev.d.js').MultiMetadataTypeList; -export type SoapRequestParams = import('../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../types/mcdev.d.js").CodeExtractItem; +export type Mcdevrc = import("../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../types/mcdev.d.js").MultiMetadataTypeList; +export type SoapRequestParams = import("../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/Builder.d.ts.map b/@types/lib/Builder.d.ts.map index b1dc6192d..cb65377d9 100644 --- a/@types/lib/Builder.d.ts.map +++ b/@types/lib/Builder.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Builder.d.ts","sourceRoot":"","sources":["../../lib/Builder.js"],"names":[],"mappings":";uBAUa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;gCACnD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;AAZtD;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH;IAsEI;;;;;;;;OAQG;IACH,mCANW,MAAM,gBACN,MAAM,UACN,MAAM,EAAE,UACR,MAAM,GACJ,QAAS,qBAAqB,CAAC,CAuB3C;IAoCD;;;;;;;;OAQG;IACH,qCANW,MAAM,gBACN,MAAM,WACN,MAAM,EAAE,UACR,MAAM,GACJ,QAAS,qBAAqB,CAAC,CAuB3C;IACD;;;;;;;OAOG;IACH,qCALW,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,QAAS,MAAM,CAAC,CAoD5B;IAhOD;;;;;;OAMG;IACH,wBAJW,OAAO,YAEP,QAAQ,EAyBlB;IAtBG,kDAA4B;IAC5B,oBAAkD;IAClD,iBAIE;IACF,iDAAwB;IAMxB,oBAGC;IAED;;OAEG;IACH,UAFU,qBAAqB,CAEb;IAGtB;;;;;;;OAOG;IACH,+BALW,MAAM,WACN,MAAM,EAAE,qBACR,WAAW,GACT,QAAS,qBAAqB,CAAC,CA8B3C;IAgCD;;;;;;;OAOG;IACH,6BALW,MAAM,UACN,MAAM,EAAE,qBACR,WAAW,GACT,QAAS,qBAAqB,CAAC,CA4B3C;CA2FJ"} \ No newline at end of file +{"version":3,"file":"Builder.d.ts","sourceRoot":"","sources":["../../lib/Builder.js"],"names":[],"mappings":";uBAUa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;gCACnD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;AAZtD;;;;;;;;;;;;;GAaG;AAEH;;GAEG;AACH;IAsEI;;;;;;;;OAQG;IACH,mCANW,MAAM,gBACN,MAAM,UACN,MAAM,EAAE,UACR,MAAM,GACJ,OAAO,CAAE,qBAAqB,CAAC,CAuB3C;IAoCD;;;;;;;;OAQG;IACH,qCANW,MAAM,gBACN,MAAM,WACN,MAAM,EAAE,UACR,MAAM,GACJ,OAAO,CAAE,qBAAqB,CAAC,CAuB3C;IACD;;;;;;;OAOG;IACH,qCALW,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,CAAC,CAoD5B;IAhOD;;;;;;OAMG;IACH,wBAJW,OAAO,YAEP,QAAQ,EAyBlB;IAtBG,kDAA4B;IAC5B,oBAAkD;IAClD,iBAIE;IACF,iDAAwB;IAMxB,oBAGC;IAED;;OAEG;IACH,UAFU,qBAAqB,CAEb;IAGtB;;;;;;;OAOG;IACH,+BALW,MAAM,WACN,MAAM,EAAE,qBACR,WAAW,GACT,OAAO,CAAE,qBAAqB,CAAC,CA8B3C;IAgCD;;;;;;;OAOG;IACH,6BALW,MAAM,UACN,MAAM,EAAE,qBACR,WAAW,GACT,OAAO,CAAE,qBAAqB,CAAC,CA4B3C;CA2FJ"} \ No newline at end of file diff --git a/@types/lib/Deployer.d.ts b/@types/lib/Deployer.d.ts index 666919799..28162bc9d 100644 --- a/@types/lib/Deployer.d.ts +++ b/@types/lib/Deployer.d.ts @@ -1,18 +1,18 @@ export default Deployer; -export type BuObject = import('../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../types/mcdev.d.js').CodeExtractItem; -export type Mcdevrc = import('../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../types/mcdev.d.js').MultiMetadataTypeList; -export type SoapRequestParams = import('../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../types/mcdev.d.js').TemplateMap; -export type MultiMetadataTypeMap = import('../types/mcdev.d.js').MultiMetadataTypeMap; -export type TypeKeyCombo = import('../types/mcdev.d.js').TypeKeyCombo; +export type BuObject = import("../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../types/mcdev.d.js").CodeExtractItem; +export type Mcdevrc = import("../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../types/mcdev.d.js").MultiMetadataTypeList; +export type SoapRequestParams = import("../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../types/mcdev.d.js").TemplateMap; +export type MultiMetadataTypeMap = import("../types/mcdev.d.js").MultiMetadataTypeMap; +export type TypeKeyCombo = import("../types/mcdev.d.js").TypeKeyCombo; /** * @typedef {import('../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/Deployer.d.ts.map b/@types/lib/Deployer.d.ts.map index 72306bcfb..9db097eb8 100644 --- a/@types/lib/Deployer.d.ts.map +++ b/@types/lib/Deployer.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Deployer.d.ts","sourceRoot":"","sources":["../../lib/Deployer.js"],"names":[],"mappings":";uBAYa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;gCACnD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;mCACzC,OAAO,qBAAqB,EAAE,oBAAoB;2BAClD,OAAO,qBAAqB,EAAE,YAAY;AAdvD;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH;IAwBI;;;;;;;OAOG;IACH,4BALW,MAAM,qBACN,MAAM,EAAE,GAAG,YAAY,WACvB,MAAM,EAAE,GACN;YAAiB,MAAM,GAAE,oBAAoB;MAAE,CA2J3D;IACD;;;;;;;;;OASG;IACH,uBAPW,MAAM,MACN,MAAM,cACN,OAAO,YACP,MAAM,EAAE,GAAG,YAAY,WACvB,MAAM,EAAE,GACN,QAAS,oBAAoB,CAAC,CAmB1C;IAiHD;;;;;;;OAOG;IACH,iCALW,MAAM,YACN,MAAM,EAAE,gBACR,OAAO,GACL,QAAS,oBAAoB,CAAC,CA4B1C;IAED;;;;;;;OAOG;IACH,0CALW,MAAM,YACN,oBAAoB,mBACpB,MAAM,EAAE,GACN,QAAS,MAAM,CAAC,CA6G5B;IA5dD;;;;;OAKG;IACH,wBAHW,OAAO,YACP,QAAQ,EAkBlB;IAfG,iDAAwB;IACxB,kDAA4B;IAC5B,eAIE;IACF,iBAIE;IAoMN;;;;;;OAMG;IACH,gBAJW,MAAM,EAAE,GAAG,YAAY,WACvB,MAAM,EAAE,GACN,QAAS,oBAAoB,CAAC,CAwG1C;IAhGO,mCAAmC;IACnC,UADW,oBAAoB,CACuC;CAyPjF"} \ No newline at end of file +{"version":3,"file":"Deployer.d.ts","sourceRoot":"","sources":["../../lib/Deployer.js"],"names":[],"mappings":";uBAYa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;gCACnD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;mCACzC,OAAO,qBAAqB,EAAE,oBAAoB;2BAClD,OAAO,qBAAqB,EAAE,YAAY;AAdvD;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH;IAwBI;;;;;;;OAOG;IACH,4BALW,MAAM,qBACN,MAAM,EAAE,GAAG,YAAY,WACvB,MAAM,EAAE,GACN,OAAO,CAAE;YAAQ,MAAM,GAAE,oBAAoB;KAAC,CAAC,CA2J3D;IACD;;;;;;;;;OASG;IACH,uBAPW,MAAM,MACN,MAAM,cACN,OAAO,YACP,MAAM,EAAE,GAAG,YAAY,WACvB,MAAM,EAAE,GACN,OAAO,CAAE,oBAAoB,CAAC,CAmB1C;IAiHD;;;;;;;OAOG;IACH,iCALW,MAAM,YACN,MAAM,EAAE,gBACR,OAAO,GACL,OAAO,CAAE,oBAAoB,CAAC,CA4B1C;IAED;;;;;;;OAOG;IACH,0CALW,MAAM,YACN,oBAAoB,mBACpB,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,CAAC,CA6G5B;IA5dD;;;;;OAKG;IACH,wBAHW,OAAO,YACP,QAAQ,EAkBlB;IAfG,iDAAwB;IACxB,kDAA4B;IAC5B,eAIE;IACF,iBAIE;IAoMN;;;;;;OAMG;IACH,gBAJW,MAAM,EAAE,GAAG,YAAY,WACvB,MAAM,EAAE,GACN,OAAO,CAAE,oBAAoB,CAAC,CAwG1C;IAhGO,mCAAmC;IACnC,UADW,oBAAoB,CACuC;CAyPjF"} \ No newline at end of file diff --git a/@types/lib/Retriever.d.ts b/@types/lib/Retriever.d.ts index a7e016fc6..9dc96b850 100644 --- a/@types/lib/Retriever.d.ts +++ b/@types/lib/Retriever.d.ts @@ -1,18 +1,18 @@ export default Retriever; -export type BuObject = import('../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../types/mcdev.d.js').CodeExtractItem; -export type Mcdevrc = import('../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../types/mcdev.d.js').TypeKeyCombo; +export type BuObject = import("../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../types/mcdev.d.js").CodeExtractItem; +export type Mcdevrc = import("../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../types/mcdev.d.js").TypeKeyCombo; /** * @typedef {import('../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/Retriever.d.ts.map b/@types/lib/Retriever.d.ts.map index e97f75682..0c10a8eaa 100644 --- a/@types/lib/Retriever.d.ts.map +++ b/@types/lib/Retriever.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Retriever.d.ts","sourceRoot":"","sources":["../../lib/Retriever.js"],"names":[],"mappings":";uBAUa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;mCACnD,OAAO,qBAAqB,EAAE,oBAAoB;gCAClD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;2BACzC,OAAO,qBAAqB,EAAE,YAAY;AAdvD;;;;;;;;;;;;;;;GAeG;AAEH;;GAEG;AACH;IACI;;;;;OAKG;IACH,wBAHW,OAAO,YACP,QAAQ,EAYlB;IATG,iDAAwB;IACxB,kDAA4B;IAC5B,oBAAkD;IAClD,oBAAkD;IAClD,cAIE;IAGN;;;;;;;;OAQG;IACH,wBANW,MAAM,EAAE,gBACR,MAAM,EAAE,GAAG,YAAY,sBACvB,WAAW,kBACX,OAAO,GACL,QAAS,qBAAqB,CAAC,CA+I3C;IAED;;;;;OAKG;IACH,oCAHW,MAAM,EAAE,GACN,MAAM,EAAE,CAepB;CACJ"} \ No newline at end of file +{"version":3,"file":"Retriever.d.ts","sourceRoot":"","sources":["../../lib/Retriever.js"],"names":[],"mappings":";uBAUa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;sBAC7C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;mCACnD,OAAO,qBAAqB,EAAE,oBAAoB;gCAClD,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;2BACzC,OAAO,qBAAqB,EAAE,YAAY;AAdvD;;;;;;;;;;;;;;;GAeG;AAEH;;GAEG;AACH;IACI;;;;;OAKG;IACH,wBAHW,OAAO,YACP,QAAQ,EAYlB;IATG,iDAAwB;IACxB,kDAA4B;IAC5B,oBAAkD;IAClD,oBAAkD;IAClD,cAIE;IAGN;;;;;;;;OAQG;IACH,wBANW,MAAM,EAAE,gBACR,MAAM,EAAE,GAAG,YAAY,sBACvB,WAAW,kBACX,OAAO,GACL,OAAO,CAAE,qBAAqB,CAAC,CA+I3C;IAED;;;;;OAKG;IACH,oCAHW,MAAM,EAAE,GACN,MAAM,EAAE,CAepB;CACJ"} \ No newline at end of file diff --git a/@types/lib/cli.d.ts b/@types/lib/cli.d.ts index 1efa6f4b0..ee415fc4c 100644 --- a/@types/lib/cli.d.ts +++ b/@types/lib/cli.d.ts @@ -1,3 +1,3 @@ #!/usr/bin/env node -export type TypeKeyCombo = import('../types/mcdev.d.js').TypeKeyCombo; +export type TypeKeyCombo = import("../types/mcdev.d.js").TypeKeyCombo; //# sourceMappingURL=cli.d.ts.map \ No newline at end of file diff --git a/@types/lib/index.d.ts b/@types/lib/index.d.ts index 6dfd3f49f..5d6715e7e 100644 --- a/@types/lib/index.d.ts +++ b/@types/lib/index.d.ts @@ -1,22 +1,22 @@ export default Mcdev; -export type BuObject = import('../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../types/mcdev.d.js').MultiMetadataTypeMap; -export type SkipInteraction = import('../types/mcdev.d.js').SkipInteraction; -export type SoapRequestParams = import('../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../types/mcdev.d.js').TypeKeyCombo; -export type ExplainType = import('../types/mcdev.d.js').ExplainType; -export type ContentBlockConversionTypes = import('../types/mcdev.d.js').ContentBlockConversionTypes; +export type BuObject = import("../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../types/mcdev.d.js").MultiMetadataTypeMap; +export type SkipInteraction = import("../types/mcdev.d.js").SkipInteraction; +export type SoapRequestParams = import("../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../types/mcdev.d.js").TypeKeyCombo; +export type ExplainType = import("../types/mcdev.d.js").ExplainType; +export type ContentBlockConversionTypes = import("../types/mcdev.d.js").ContentBlockConversionTypes; /** * @typedef {import('../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../types/mcdev.d.js').CodeExtract} CodeExtract @@ -328,7 +328,7 @@ declare class Mcdev { * @param {string[]} [keys] customerkey of the metadata * @returns {Promise.>} key: business unit name, value: list of affected item keys */ - static "__#8@#runMethod"(methodName: 'execute' | 'pause' | 'fixKeys' | 'replaceCbReference', businessUnit: string, selectedType?: string, keys?: string[]): Promise<{ + static "__#8@#runMethod"(methodName: "execute" | "pause" | "fixKeys" | "replaceCbReference", businessUnit: string, selectedType?: string, keys?: string[]): Promise<{ [x: string]: string[]; }>; /** @@ -341,7 +341,7 @@ declare class Mcdev { * @param {string[]} [keyArr] customerkey of the metadata * @returns {Promise.} list of keys that were affected */ - static "__#8@#runOnBU"(methodName: 'execute' | 'pause' | 'fixKeys' | 'replaceCbReference', cred: string, bu: string, type?: string, keyArr?: string[]): Promise; + static "__#8@#runOnBU"(methodName: "execute" | "pause" | "fixKeys" | "replaceCbReference", cred: string, bu: string, type?: string, keyArr?: string[]): Promise; /** * helper for Mcdev.#runOnBU * diff --git a/@types/lib/index.d.ts.map b/@types/lib/index.d.ts.map index 0186f0aa1..b10b67230 100644 --- a/@types/lib/index.d.ts.map +++ b/@types/lib/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.js"],"names":[],"mappings":";uBAoBa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;2BAC7C,OAAO,qBAAqB,EAAE,YAAY;sBAC1C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,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;;;;OASG;IACH,mCAPW,SAAS,GAAC,OAAO,GAAC,SAAS,GAAC,oBAAoB,QAChD,MAAM,MACN,MAAM,SACN,MAAM,WACN,MAAM,EAAE,GACN,QAAS,MAAM,EAAE,CAAC,CAuD9B;IAED;;;;;;OAMG;IACH,kDAJW,MAAM,YACN,QAAQ,GACN,QAAS,MAAM,EAAE,CAAC,CA0D9B;IACD;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,QAAS,MAAM,EAAE,CAAC,CA0E9B;IACD;;;;;;;;OAQG;IACH,wCANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,QAAS,MAAM,EAAE,CAAC,CAyE9B;IACD;;;;;;;OAOG;IACH,yCALW,MAAM,GAAC,MAAM,EAAE,GAAC,SAAS,uBACzB,MAAM,EAAE,cACR,OAAO,GACL,YAAY,CA2ExB;CACJ"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.js"],"names":[],"mappings":";uBAoBa,OAAO,qBAAqB,EAAE,QAAQ;0BACtC,OAAO,qBAAqB,EAAE,WAAW;8BACzC,OAAO,qBAAqB,EAAE,eAAe;2BAC7C,OAAO,qBAAqB,EAAE,YAAY;sBAC1C,OAAO,qBAAqB,EAAE,OAAO;+BACrC,OAAO,qBAAqB,EAAE,gBAAgB;mCAC9C,OAAO,qBAAqB,EAAE,oBAAoB;kCAClD,OAAO,qBAAqB,EAAE,mBAAmB;8BACjD,OAAO,qBAAqB,EAAE,eAAe;iCAC7C,OAAO,qBAAqB,EAAE,kBAAkB;oCAChD,OAAO,qBAAqB,EAAE,qBAAqB;mCACnD,OAAO,qBAAqB,EAAE,oBAAoB;8BAClD,OAAO,qBAAqB,EAAE,eAAe;gCAC7C,OAAO,qBAAqB,EAAE,iBAAiB;0BAC/C,OAAO,qBAAqB,EAAE,WAAW;2BACzC,OAAO,qBAAqB,EAAE,YAAY;0BAC1C,O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E,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAuD9B;IAED;;;;;;OAMG;IACH,kDAJW,MAAM,YACN,QAAQ,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CA0D9B;IACD;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CA0E9B;IACD;;;;;;;;OAQG;IACH,wCANW,MAAM,MACN,MAAM,QACN,MAAM,WACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAyE9B;IACD;;;;;;;OAOG;IACH,yCALW,MAAM,GAAC,MAAM,EAAE,GAAC,SAAS,uBACzB,MAAM,EAAE,cACR,OAAO,GACL,YAAY,CA2ExB;CACJ"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Asset.d.ts b/@types/lib/metadataTypes/Asset.d.ts index 4b2e42e02..3d6407e67 100644 --- a/@types/lib/metadataTypes/Asset.d.ts +++ b/@types/lib/metadataTypes/Asset.d.ts @@ -1,16 +1,16 @@ export default Asset; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type AssetSubType = import('../../types/mcdev.d.js').AssetSubType; -export type AssetMap = import('../../types/mcdev.d.js').AssetMap; -export type AssetItem = import('../../types/mcdev.d.js').AssetItem; -export type AssetRequestParams = import('../../types/mcdev.d.js').AssetRequestParams; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type AssetSubType = import("../../types/mcdev.d.js").AssetSubType; +export type AssetMap = import("../../types/mcdev.d.js").AssetMap; +export type AssetItem = import("../../types/mcdev.d.js").AssetItem; +export type AssetRequestParams = import("../../types/mcdev.d.js").AssetRequestParams; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -158,18 +158,6 @@ declare class Asset extends MetadataType { * @returns {CodeExtractItem} metadata */ static postRetrieveTasks(metadata: AssetItem): CodeExtractItem; - /** - * Gets executed after deployment of metadata type - * - * @param {MetadataTypeMap} metadata metadata mapped by their keyField - * @param {MetadataTypeMap} _ originalMetadata to be updated (contains additioanl fields) - * @param {{created: number, updated: number}} createdUpdated counter representing successful creates/updates - * @returns {Promise.} - - */ - static postDeployTasks(metadata: MetadataTypeMap, _: MetadataTypeMap, createdUpdated: { - created: number; - updated: number; - }): Promise; /** * helper for {@link Asset.postDeployTasks}. triggers a refresh of active triggerredSendDefinitions associated with the updated asset-message items. Gets executed if refresh option has been set. * @@ -249,7 +237,7 @@ declare class Asset extends MetadataType { * @param {'definition'|'template'} mode defines what we use this helper for * @returns {Promise.} list of extracted files with path-parts provided as an array */ - static _buildForNested(templateDir: string, targetDir: string | string[], metadata: AssetItem, templateVariables: TemplateMap, templateName: string, mode: 'definition' | 'template'): Promise; + static _buildForNested(templateDir: string, targetDir: string | string[], metadata: AssetItem, templateVariables: TemplateMap, templateName: string, mode: "definition" | "template"): Promise; /** * helper for {@link Asset.preDeployTasks} that loads extracted code content back into JSON * @@ -491,15 +479,7 @@ declare namespace Asset { contentType: { isCreateable: boolean; isUpdateable: boolean; - retrieving: boolean; /** - * Helper for writing Metadata to disk, used for Retrieve and deploy - * - * @param {MetadataTypeMap} results metadata results from deploy - * @param {string} retrieveDir directory where metadata should be stored after deploy/retrieve - * @param {string} [overrideType] for use when there is a subtype (such as folder-queries) - * @param {TemplateMap} [templateVariables] variables to be replaced in the metadata - * @returns {Promise.} Promise of saved metadata - */ + retrieving: boolean; template: boolean; }; 'createdBy.email': { @@ -647,12 +627,7 @@ declare namespace Asset { template: boolean; }; legacyData: { - isCreateable: boolean; /** - * helper for {@link Asset.retrieve} + {@link Asset.retrieveAsTemplate} - * - * @private - * @returns {string[]} AssetSubType array - */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; template: boolean; diff --git a/@types/lib/metadataTypes/Asset.d.ts.map b/@types/lib/metadataTypes/Asset.d.ts.map index d3f56cec6..feb090dac 100644 --- a/@types/lib/metadataTypes/Asset.d.ts.map +++ b/@types/lib/metadataTypes/Asset.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Asset.js"],"names":[],"mappings":";uBAaa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;8BACrD,OAAO,wBAAwB,EAAE,eAAe;gCAChD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAG5C,OAAO,wBAAwB,EAAE,YAAY;uBAC7C,OAAO,wBAAwB,EAAE,QAAQ;wBACzC,OAAO,wBAAwB,EAAE,SAAS;iCAC1C,OAAO,wBAAwB,EAAE,kBAAkB;AAdhE;;;;;;;;;GASG;AACH;;;;;GAKG;AAEH;;;;GAIG;AACH;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAhvEwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/AttributeGroup.d.ts b/@types/lib/metadataTypes/AttributeGroup.d.ts index 248239a72..4f9523695 100644 --- a/@types/lib/metadataTypes/AttributeGroup.d.ts +++ b/@types/lib/metadataTypes/AttributeGroup.d.ts @@ -1,6 +1,6 @@ export default AttributeGroup; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; /** * @typedef {import('../../types/mcdev.d.js').MetadataTypeItem} MetadataTypeItem * @typedef {import('../../types/mcdev.d.js').MetadataTypeMapObj} MetadataTypeMapObj @@ -157,12 +157,7 @@ declare namespace AttributeGroup { isUpdateable: boolean; retrieving: boolean; template: boolean; - }; /** - * prepares for deployment - * - * @param {MetadataTypeItem} metadata a single item - * @returns {MetadataTypeItem} Promise - */ + }; containsSchemaAttributes: { isCreateable: boolean; isUpdateable: boolean; diff --git a/@types/lib/metadataTypes/AttributeGroup.d.ts.map b/@types/lib/metadataTypes/AttributeGroup.d.ts.map index 7f497fb46..0ebe358d7 100644 --- a/@types/lib/metadataTypes/AttributeGroup.d.ts.map +++ b/@types/lib/metadataTypes/AttributeGroup.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"AttributeGroup.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/AttributeGroup.js"],"names":[],"mappings":";+BAOa,OAAO,wBAAwB,EAAE,gBAAgB;iCACjD,OAAO,wBAAwB,EAAE,kBAAkB;AAFhE;;;GAGG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CASxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CA6D5B;CAOJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eANG;;;;;eAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAhHkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"AttributeGroup.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/AttributeGroup.js"],"names":[],"mappings":";+BAOa,OAAO,wBAAwB,EAAE,gBAAgB;iCACjD,OAAO,wBAAwB,EAAE,kBAAkB;AAFhE;;;GAGG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CASxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CA6D5B;CAOJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAjHwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/AttributeSet.d.ts b/@types/lib/metadataTypes/AttributeSet.d.ts index 1cd8fc8c5..8a30e9503 100644 --- a/@types/lib/metadataTypes/AttributeSet.d.ts +++ b/@types/lib/metadataTypes/AttributeSet.d.ts @@ -1,7 +1,7 @@ export default AttributeSet; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; /** * @typedef {import('../../types/mcdev.d.js').MetadataTypeItem} MetadataTypeItem * @typedef {import('../../types/mcdev.d.js').MetadataTypeMap} MetadataTypeMap @@ -104,11 +104,7 @@ declare namespace AttributeSet { isUpdateable: any; retrieving: boolean; template: any; - }; /** - * Retrieves Metadata of schema set definitions for caching. - * - * @returns {Promise.} Promise - */ + }; canModify: { isCreateable: any; isUpdateable: any; @@ -326,13 +322,7 @@ declare namespace AttributeSet { template: boolean; }; 'localizedDescription.value': { - isCreateable: boolean; /** - * Builds map of metadata entries mapped to their keyfields - * - * @param {object} body json of response body - * @param {string} [singleRetrieve] key of single item to filter by - * @returns {MetadataTypeMap} keyField => metadata map - */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; template: boolean; @@ -359,12 +349,6 @@ declare namespace AttributeSet { isCreateable: any; isUpdateable: any; retrieving: boolean; - /** - * manages post retrieve steps - * - * @param {MetadataTypeItem} metadata a single metadata - * @returns {MetadataTypeItem} metadata - */ template: any; }; 'nonStandardAttributeGroupReferences[].definitionKey': { diff --git a/@types/lib/metadataTypes/AttributeSet.d.ts.map b/@types/lib/metadataTypes/AttributeSet.d.ts.map index b456d1dd1..ba7003df1 100644 --- a/@types/lib/metadataTypes/AttributeSet.d.ts.map +++ b/@types/lib/metadataTypes/AttributeSet.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"AttributeSet.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/AttributeSet.js"],"names":[],"mappings":";+BAQa,OAAO,wBAAwB,EAAE,gBAAgB;8BACjD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;AAHhE;;;;GAIG;AAEH;;;;GAIG;AACH;IACI,mCAA8B;IAC9B;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAaxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;IACD;;;;;;;OAOG;IACH;YAJmB,MAAM,GAAE,MAAM;yBACtB,MAAM,GACJ,QAAS,MAAM,EAAE,CAAC,CAiG9B;IAoBD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAwK5B;IAED;;;;OAIG;IACH,qCAFa,MAAM,EAAE,CAgBpB;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eArUG;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3WwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Automation.d.ts b/@types/lib/metadataTypes/Automation.d.ts index e2d1d86f1..b637c145c 100644 --- a/@types/lib/metadataTypes/Automation.d.ts +++ b/@types/lib/metadataTypes/Automation.d.ts @@ -1,21 +1,21 @@ export default Automation; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SDKError = import('../../types/mcdev.d.js').SDKError; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type AutomationItem = import('../../types/mcdev.d.js').AutomationItem; -export type AutomationItemObj = import('../../types/mcdev.d.js').AutomationItemObj; -export type AutomationMap = import('../../types/mcdev.d.js').AutomationMap; -export type AutomationMapObj = import('../../types/mcdev.d.js').AutomationMapObj; -export type AutomationSchedule = import('../../types/mcdev.d.js').AutomationSchedule; -export type AutomationScheduleSoap = import('../../types/mcdev.d.js').AutomationScheduleSoap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SDKError = import("../../types/mcdev.d.js").SDKError; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type AutomationItem = import("../../types/mcdev.d.js").AutomationItem; +export type AutomationItemObj = import("../../types/mcdev.d.js").AutomationItemObj; +export type AutomationMap = import("../../types/mcdev.d.js").AutomationMap; +export type AutomationMapObj = import("../../types/mcdev.d.js").AutomationMapObj; +export type AutomationSchedule = import("../../types/mcdev.d.js").AutomationSchedule; +export type AutomationScheduleSoap = import("../../types/mcdev.d.js").AutomationScheduleSoap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -320,14 +320,7 @@ declare namespace Automation { keyField: string; nameField: string; folderIdField: string; - createdDateField: string; /** - * @typedef {import('../../types/mcdev.d.js').AutomationItem} AutomationItem - * @typedef {import('../../types/mcdev.d.js').AutomationItemObj} AutomationItemObj - * @typedef {import('../../types/mcdev.d.js').AutomationMap} AutomationMap - * @typedef {import('../../types/mcdev.d.js').AutomationMapObj} AutomationMapObj - * @typedef {import('../../types/mcdev.d.js').AutomationSchedule} AutomationSchedule - * @typedef {import('../../types/mcdev.d.js').AutomationScheduleSoap} AutomationScheduleSoap - */ + createdDateField: string; createdNameField: string; lastmodDateField: string; lastmodNameField: string; @@ -343,11 +336,6 @@ declare namespace Automation { statusMapping: { AwaitingTrigger: number; Building: number; - /** - * Automation MetadataType - * - * @augments MetadataType - */ BuildingError: number; Error: number; InactiveTrigger: number; @@ -372,7 +360,7 @@ declare namespace Automation { 'Canada Central Standard Time': number; 'Cape Verde Standard Time': number; 'Caucasus Standard Time': number; - 'Cen. Australia Standard Time': number; /** @type {SoapRequestParams} */ + 'Cen. Australia Standard Time': number; 'Central America Standard Time': number; 'Central Asia Standard Time': number; 'Central Brazilian Standard Time': number; @@ -677,7 +665,6 @@ declare namespace Automation { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; - /** @type {AutomationMap} */ template: boolean; }; 'notifications[].channelType': { @@ -721,14 +708,6 @@ declare namespace Automation { }; 'schedule.occurrences': { isCreateable: boolean; - /** - * Retrieve a specific Automation Definition by Name - * - * @param {string} templateDir Directory where retrieved metadata directory will be saved - * @param {string} name name of the metadata file - * @param {TemplateMap} templateVariables variables to be replaced in the metadata - * @returns {Promise.} Promise of metadata - */ isUpdateable: boolean; retrieving: boolean; template: boolean; diff --git a/@types/lib/metadataTypes/Automation.d.ts.map b/@types/lib/metadataTypes/Automation.d.ts.map index aa29378a9..f561f82f1 100644 --- a/@types/lib/metadataTypes/Automation.d.ts.map +++ b/@types/lib/metadataTypes/Automation.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Automation.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Automation.js"],"names":[],"mappings":";uBAUa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;uBACnD,OAAO,wBAAwB,EAAE,QAAQ;gCACzC,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;6BAG5C,OAAO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ACJ,MAAM,CAclB;IACD;;;;;;;;;OASG;IACH,8BA0GC;IACD;;;;;;;;;;OAUG;IACH,yBAyCC;IACD;;;;;OAKG;IACH,2BAHW,aAAa,GACX,OAAO,CAAE,IAAI,CAAC,CAgC1B;IA4BD;;;;;OAKG;IACH,iDAHW,MAAM,GACJ,OAAO,CAAE,MAAM,CAAC,CAW5B;IAiBD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAM1B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAplDwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Campaign.d.ts b/@types/lib/metadataTypes/Campaign.d.ts index c4e99860f..0080d9bda 100644 --- a/@types/lib/metadataTypes/Campaign.d.ts +++ b/@types/lib/metadataTypes/Campaign.d.ts @@ -1,14 +1,14 @@ export default Campaign; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -129,14 +129,7 @@ declare namespace Campaign { templating: boolean; }; externalKey: { - isCreateable: boolean; /** - * Parses campaign asset response body and returns metadata entries mapped to their id - * - * @param {string} retrieveDir folder where to save - * @param {string} campaignId of camapaign to retrieve - * @param {string} name of camapaign for saving - * @returns {Promise.} Campaign Asset Object - */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; templating: boolean; diff --git a/@types/lib/metadataTypes/Campaign.d.ts.map b/@types/lib/metadataTypes/Campaign.d.ts.map index 0e72af56a..61e843c41 100644 --- a/@types/lib/metadataTypes/Campaign.d.ts.map +++ b/@types/lib/metadataTypes/Campaign.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Campaign.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Campaign.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAqBxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,iCALW,MAAM,cACN,MAAM,QACN,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAaxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCApBG;;;;;;;mBAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBApEkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Campaign.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Campaign.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAqBxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,iCALW,MAAM,cACN,MAAM,QACN,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAaxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAjFwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/ContentArea.d.ts b/@types/lib/metadataTypes/ContentArea.d.ts index e468f6fb9..f1aaf32a5 100644 --- a/@types/lib/metadataTypes/ContentArea.d.ts +++ b/@types/lib/metadataTypes/ContentArea.d.ts @@ -1,14 +1,14 @@ export default ContentArea; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -51,18 +51,7 @@ declare namespace ContentArea { dependencies: string[]; hasExtended: boolean; idField: string; - keepId: boolean; /** - * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject - * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract - * @typedef {import('../../types/mcdev.d.js').CodeExtractItem} CodeExtractItem - * @typedef {import('../../types/mcdev.d.js').MetadataTypeItem} MetadataTypeItem - * @typedef {import('../../types/mcdev.d.js').MetadataTypeItemDiff} MetadataTypeItemDiff - * @typedef {import('../../types/mcdev.d.js').MetadataTypeItemObj} MetadataTypeItemObj - * @typedef {import('../../types/mcdev.d.js').MetadataTypeMap} MetadataTypeMap - * @typedef {import('../../types/mcdev.d.js').MetadataTypeMapObj} MetadataTypeMapObj - * @typedef {import('../../types/mcdev.d.js').SoapRequestParams} SoapRequestParams - * @typedef {import('../../types/mcdev.d.js').TemplateMap} TemplateMap - */ + keepId: boolean; keyIsFixed: boolean; keyField: string; nameField: string; @@ -87,15 +76,7 @@ declare namespace ContentArea { }; BorderWidth: { isCreateable: boolean; - isUpdateable: boolean; /** - * Retrieves SOAP based metadata of metadata type into local filesystem. executes callback with retrieved metadata - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + isUpdateable: boolean; retrieving: boolean; templating: boolean; }; diff --git a/@types/lib/metadataTypes/ContentArea.d.ts.map b/@types/lib/metadataTypes/ContentArea.d.ts.map index f1c414998..1ba53ceda 100644 --- a/@types/lib/metadataTypes/ContentArea.d.ts.map +++ b/@types/lib/metadataTypes/ContentArea.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ContentArea.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/ContentArea.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAmBxC;IA2BD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAkB5B;CACJ;;;;;;;yBA/FD;;;;;;;;;;;WAWG;;;;;;;;;;;;;;;;;;;;;;;;;uCAQC;;;;;;;;mBAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA/BkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"ContentArea.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/ContentArea.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAmBxC;IA2BD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAkB5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAnGwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/DataExtension.d.ts b/@types/lib/metadataTypes/DataExtension.d.ts index a2ad61e7b..5f437bb69 100644 --- a/@types/lib/metadataTypes/DataExtension.d.ts +++ b/@types/lib/metadataTypes/DataExtension.d.ts @@ -1,14 +1,14 @@ export default DataExtension; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type DataExtensionFieldItem = import('../../types/mcdev.d.js').DataExtensionFieldItem; -export type DataExtensionFieldMap = import('../../types/mcdev.d.js').DataExtensionFieldMap; -export type DataExtensionItem = import('../../types/mcdev.d.js').DataExtensionItem; -export type DataExtensionMap = import('../../types/mcdev.d.js').DataExtensionMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type DataExtensionFieldItem = import("../../types/mcdev.d.js").DataExtensionFieldItem; +export type DataExtensionFieldMap = import("../../types/mcdev.d.js").DataExtensionFieldMap; +export type DataExtensionItem = import("../../types/mcdev.d.js").DataExtensionItem; +export type DataExtensionMap = import("../../types/mcdev.d.js").DataExtensionMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').MetadataTypeItem} MetadataTypeItem @@ -66,9 +66,10 @@ declare class DataExtension extends MetadataType { * Updates a single dataExtension. Also updates their columns in 'dataExtension.columns' * * @param {DataExtensionItem} metadata single metadata entry + * @param {boolean} [handleOutside] if the API reponse is irregular this allows you to handle it outside of this generic method * @returns {Promise} Promise */ - static update(metadata: DataExtensionItem): Promise; + static update(metadata: DataExtensionItem, handleOutside?: boolean): Promise; /** * Gets executed after deployment of metadata type * @@ -452,16 +453,7 @@ declare namespace DataExtension { }; Name: { isCreateable: boolean; - isUpdateable: boolean; /** - * helper for {@link MetadataType.upsert} - * - * @param {MetadataTypeMap} metadataMap list of metadata - * @param {string} metadataKey key of item we are looking at - * @param {boolean} hasError error flag from previous code - * @param {MetadataTypeItemDiff[]} metadataToUpdate list of items to update - * @param {MetadataTypeItem[]} metadataToCreate list of items to create - * @returns {Promise.<'create'|'update'|'skip'>} action to take - */ + isUpdateable: boolean; retrieving: boolean; template: boolean; }; diff --git a/@types/lib/metadataTypes/DataExtension.d.ts.map b/@types/lib/metadataTypes/DataExtension.d.ts.map index fcb030d97..954f599bb 100644 --- a/@types/lib/metadataTypes/DataExtension.d.ts.map +++ b/@types/lib/metadataTypes/DataExtension.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"DataExtension.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtension.js"],"names":[],"mappings":";uBAea,OAAO,wBAAwB,EAAE,QAAQ;+BACzC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;8BACrD,OAAO,wBAAwB,EAAE,eAAe;gCAChD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;qCAG5C,OAAO,wBAAwB,EAAE,sBAAsB;oCACvD,OAAO,wBAAwB,EAAE,qBAAqB;gCACtD,OAAO,wBAAwB,EAAE,iBAAiB;+BAClD,OAAO,wBAAwB,EAAE,gBAAgB;AAZ9D;;;;;;;GAOG;AACH;;;;;GAKG;AA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;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAgDjE;IA4DD;;;;;;;OAOG;IACH,4BAWC;CA4BJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAj8CG;;;;;;;;;mBASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBArJkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"DataExtension.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtension.js"],"names":[],"mappings":";uBAea,OAAO,wBAAwB,EAAE,QAAQ;+BACzC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;8BACrD,OAAO,wBAAwB,EAAE,eAAe;gCAChD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;qCAG5C,OAAO,wBAAwB,EAAE,sBAAsB;oCACvD,OAAO,wBAAwB,EAAE,qBAAqB;gCACtD,OAAO,wBAAwB,EAAE,iBAAiB;+BAClD,OAAO,wBAAwB,EAAE,gBAAgB;AAZ9D;;;;;;;GAOG;AACH;;;;;GAKG;AAEH;;;;GAIG;AACH;IACI,oCAAoC;IACpC,kBADW,qBAAqB,CACf;IACjB;;;;;;OAMG;IACH,2BAHW,gBAAgB,gBAoG1B;IAyED;;;;;OAKG;IACH,wCAHW,MAAM,GACJ,OAAO,CA0BnB;IAED;;;;;OAKG;IACH,wBAHW,iBAAiB,gBAK3B;IAED;;;;;;;OAOG;IACH,sDAHW,iBAAiB,GACf,IAAI,CAahB;IACD;;;;;;OAMG;IACH,wBAJW,iBAAiB,kBACjB,OAAO,gBAKjB;IAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA9kDwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/DataExtensionField.d.ts b/@types/lib/metadataTypes/DataExtensionField.d.ts index a982012ec..f16141bb6 100644 --- a/@types/lib/metadataTypes/DataExtensionField.d.ts +++ b/@types/lib/metadataTypes/DataExtensionField.d.ts @@ -1,16 +1,16 @@ export default DataExtensionField; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type DataExtensionFieldMap = import('../../types/mcdev.d.js').DataExtensionFieldMap; -export type DataExtensionFieldItem = import('../../types/mcdev.d.js').DataExtensionFieldItem; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type DataExtensionFieldMap = import("../../types/mcdev.d.js").DataExtensionFieldMap; +export type DataExtensionFieldItem = import("../../types/mcdev.d.js").DataExtensionFieldItem; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -189,12 +189,6 @@ declare namespace DataExtensionField { }; ModifiedDate: { isCreateable: boolean; - /** - * helper for DataExtension.retrieveFieldsForSingleDe that sorts the fields into an array - * - * @param {DataExtensionFieldMap} fieldsObj customerKey-based list of fields for one dataExtension - * @returns {DataExtensionFieldItem[]} sorted array of field objects - */ isUpdateable: boolean; retrieving: boolean; template: boolean; diff --git a/@types/lib/metadataTypes/DataExtensionField.d.ts.map b/@types/lib/metadataTypes/DataExtensionField.d.ts.map index 478cd10aa..cca220b03 100644 --- a/@types/lib/metadataTypes/DataExtensionField.d.ts.map +++ b/@types/lib/metadataTypes/DataExtensionField.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"DataExtensionField.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtensionField.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;oCAG5C,OAAO,wBAAwB,EAAE,qBAAqB;qCACtD,OAAO,wBAAwB,EAAE,sBAAsB;AAdpE;;;;;;;;;;;GAWG;AACH;;;GAGG;AACH;;;;GAIG;AACH;IACI,6BAAwB;IACxB;;;;;;OAMG;IACH,6BAJW,MAAM,qBACN,MAAM,EAAE,GACN,QAAS;QAAC,QAAQ,EAAE,qBAAqB,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAIrE;IACD;;;;;;OAMG;IACH,0CAJW,iBAAiB,qBACjB,MAAM,EAAE,GACN,QAAS;QAAC,QAAQ,EAAE,qBAAqB,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAIrE;IACD;;;;;OAKG;IACH,uCAHW,qBAAqB,GACnB,sBAAsB,EAAE,CASpC;IAED;;;;;;OAMG;IACH,uBAJW,sBAAsB,KACtB,sBAAsB,GACpB,MAAM,CAIlB;IACD;;;;;OAKG;IACH,qCAHW,sBAAsB,GACpB,sBAAsB,CAelC;IACD;;;;;;;OAOG;IACH,mDAJW,sBAAsB,EAAE,SACxB,MAAM,GACJ;YAAiB,MAAM,GAAE,sBAAsB;MAAE,CAoK7D;IAYD;;;;;;OAMG;IACH,oCAJW,MAAM,YACN,MAAM,GACJ,QAAS,OAAO,CAAC,CAsD7B;IACD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,QAAS,IAAI,CAAC,CAO1B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA3SG;;;;;mBAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAnDkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"DataExtensionField.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtensionField.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAzVwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/DataExtensionTemplate.d.ts b/@types/lib/metadataTypes/DataExtensionTemplate.d.ts index c4ee4e6c1..17f658a92 100644 --- a/@types/lib/metadataTypes/DataExtensionTemplate.d.ts +++ b/@types/lib/metadataTypes/DataExtensionTemplate.d.ts @@ -1,14 +1,14 @@ export default DataExtensionTemplate; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -93,7 +93,7 @@ declare namespace DataExtensionTemplate { Description: { isCreateable: boolean; isUpdateable: boolean; - retrieving: boolean; /** @type {SoapRequestParams} */ + retrieving: boolean; template: boolean; }; PartnerKey: { diff --git a/@types/lib/metadataTypes/DataExtensionTemplate.d.ts.map b/@types/lib/metadataTypes/DataExtensionTemplate.d.ts.map index 461558b45..67345f77b 100644 --- a/@types/lib/metadataTypes/DataExtensionTemplate.d.ts.map +++ b/@types/lib/metadataTypes/DataExtensionTemplate.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"DataExtensionTemplate.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtensionTemplate.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAexC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAbO,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA/Bf,mBAAmB"} \ No newline at end of file +{"version":3,"file":"DataExtensionTemplate.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtensionTemplate.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAexC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA5CwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/DataExtract.d.ts b/@types/lib/metadataTypes/DataExtract.d.ts index 9c11fbea1..b7038c9b9 100644 --- a/@types/lib/metadataTypes/DataExtract.d.ts +++ b/@types/lib/metadataTypes/DataExtract.d.ts @@ -1,14 +1,14 @@ export default DataExtract; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -124,16 +124,7 @@ declare namespace DataExtract { }; dataExtractDefinitionId: { isCreateable: boolean; - isUpdateable: boolean; /** - * Retrieves Metadata of Data Extract Activity. - * Endpoint /automation/v1/dataextracts/ returns all Data Extracts - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + isUpdateable: boolean; retrieving: boolean; template: boolean; }; @@ -168,14 +159,7 @@ declare namespace DataExtract { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; - template: boolean; /** - * Retrieve a specific dataExtract Definition by Name - * - * @param {string} templateDir Directory where retrieved metadata directory will be saved - * @param {string} name name of the metadata file - * @param {TemplateMap} templateVariables variables to be replaced in the metadata - * @returns {Promise.} Promise of metadata - */ + template: boolean; }; key: { isCreateable: boolean; diff --git a/@types/lib/metadataTypes/DataExtract.d.ts.map b/@types/lib/metadataTypes/DataExtract.d.ts.map index 91d719413..571ee183c 100644 --- a/@types/lib/metadataTypes/DataExtract.d.ts.map +++ b/@types/lib/metadataTypes/DataExtract.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"DataExtract.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtract.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAIxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,uCALW,MAAM,QACN,MAAM,qBACN,WAAW,GACT,QAAS,mBAAmB,CAAC,CA4CzC;IAED;;;;;OAKG;IACH,2BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,2BAHW,gBAAgB,gBAQ1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,gBAAgB,CAW5B;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAiB5B;IACD;;;;;;OAMG;IACH,6CASC;CAiBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAxKG;;;;;;;;;mBASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAaH;;;;;;;mBAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBArDkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"DataExtract.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtract.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,uCALW,MAAM,QACN,MAAM,qBACN,WAAW,GACT,OAAO,CAAE,mBAAmB,CAAC,CA4CzC;IAED;;;;;OAKG;IACH,2BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,2BAHW,gBAAgB,gBAQ1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,gBAAgB,CAW5B;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAiB5B;IACD;;;;;;OAMG;IACH,6CASC;CAiBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAhMwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/DataExtractType.d.ts b/@types/lib/metadataTypes/DataExtractType.d.ts index 177c95050..95d9e0bc0 100644 --- a/@types/lib/metadataTypes/DataExtractType.d.ts +++ b/@types/lib/metadataTypes/DataExtractType.d.ts @@ -1,14 +1,14 @@ export default DataExtractType; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/DataExtractType.d.ts.map b/@types/lib/metadataTypes/DataExtractType.d.ts.map index 602531a83..b14aa2612 100644 --- a/@types/lib/metadataTypes/DataExtractType.d.ts.map +++ b/@types/lib/metadataTypes/DataExtractType.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"DataExtractType.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtractType.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;;;GAMG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAIxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3CwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"DataExtractType.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DataExtractType.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;;;GAMG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3CwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/DeliveryProfile.d.ts b/@types/lib/metadataTypes/DeliveryProfile.d.ts index 7b9c5df7a..36c5d4bc5 100644 --- a/@types/lib/metadataTypes/DeliveryProfile.d.ts +++ b/@types/lib/metadataTypes/DeliveryProfile.d.ts @@ -1,14 +1,14 @@ export default DeliveryProfile; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/DeliveryProfile.d.ts.map b/@types/lib/metadataTypes/DeliveryProfile.d.ts.map index bcc190c61..2c979d7be 100644 --- a/@types/lib/metadataTypes/DeliveryProfile.d.ts.map +++ b/@types/lib/metadataTypes/DeliveryProfile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"DeliveryProfile.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DeliveryProfile.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CASxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtCwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"DeliveryProfile.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/DeliveryProfile.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CASxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtCwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Discovery.d.ts b/@types/lib/metadataTypes/Discovery.d.ts index 9a693da59..cbce10e3f 100644 --- a/@types/lib/metadataTypes/Discovery.d.ts +++ b/@types/lib/metadataTypes/Discovery.d.ts @@ -1,14 +1,14 @@ export default Discovery; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/Discovery.d.ts.map b/@types/lib/metadataTypes/Discovery.d.ts.map index 8f3389628..3a6d2840c 100644 --- a/@types/lib/metadataTypes/Discovery.d.ts.map +++ b/@types/lib/metadataTypes/Discovery.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Discovery.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Discovery.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AACH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CA0BxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAxDwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Discovery.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Discovery.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AACH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CA0BxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAxDwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Email.d.ts b/@types/lib/metadataTypes/Email.d.ts index cb1e39d3f..df4212535 100644 --- a/@types/lib/metadataTypes/Email.d.ts +++ b/@types/lib/metadataTypes/Email.d.ts @@ -1,14 +1,14 @@ export default Email; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -75,22 +75,9 @@ declare namespace Email { templating: boolean; }; 'Client.ID': { - /** - * Email MetadataType - * - * @augments MetadataType - */ isCreateable: boolean; isUpdateable: boolean; - retrieving: boolean; /** - * Retrieves SOAP based metadata of metadata type into local filesystem. executes callback with retrieved metadata - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + retrieving: boolean; templating: boolean; }; 'Client.PartnerClientKey': { @@ -109,7 +96,7 @@ declare namespace Email { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; - templating: boolean; /** @type {SoapRequestParams} */ + templating: boolean; }; 'ContentAreas.CategoryID': { isCreateable: boolean; @@ -128,15 +115,7 @@ declare namespace Email { isUpdateable: boolean; retrieving: boolean; templating: boolean; - }; /** - * Helper for writing Metadata to disk, used for Retrieve and deploy - * - * @param {MetadataTypeMap} results metadata results from deploy - * @param {string} retrieveDir directory where metadata should be stored after deploy/retrieve - * @param {string} [overrideType] for use when there is a subtype (such as folder-queries) - * @param {TemplateMap} [templateVariables] variables to be replaced in the metadata - * @returns {Promise.} Promise of saved metadata - */ + }; 'ContentAreas.ID': { isCreateable: boolean; isUpdateable: boolean; diff --git a/@types/lib/metadataTypes/Email.d.ts.map b/@types/lib/metadataTypes/Email.d.ts.map index e8f112815..25f967301 100644 --- a/@types/lib/metadataTypes/Email.d.ts.map +++ b/@types/lib/metadataTypes/Email.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Email.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,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AE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAgBxC;IAmBD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAkB5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAvFwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/EmailSend.d.ts b/@types/lib/metadataTypes/EmailSend.d.ts index 32feb1088..9ea8cef02 100644 --- a/@types/lib/metadataTypes/EmailSend.d.ts +++ b/@types/lib/metadataTypes/EmailSend.d.ts @@ -1,14 +1,14 @@ export default EmailSend; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/EmailSend.d.ts.map b/@types/lib/metadataTypes/EmailSend.d.ts.map index 6557e2933..15d9b9029 100644 --- a/@types/lib/metadataTypes/EmailSend.d.ts.map +++ b/@types/lib/metadataTypes/EmailSend.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"EmailSend.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/EmailSend.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,m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;;;;;;;;;;;;;;;;;;;;;yBAzZwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"EmailSend.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/EmailSend.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAmCxC;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAYD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAuJtC;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAsJ5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAzZwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Event.d.ts b/@types/lib/metadataTypes/Event.d.ts index 2921ff8e9..41c3e88e3 100644 --- a/@types/lib/metadataTypes/Event.d.ts +++ b/@types/lib/metadataTypes/Event.d.ts @@ -1,14 +1,14 @@ export default Event; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -27,6 +27,7 @@ export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; * @augments MetadataType */ declare class Event extends MetadataType { + static reCacheDataExtensions: any[]; /** * Retrieves Metadata of Event Definition. * Endpoint /interaction/v1/eventDefinitions return all Event Definitions with all details. @@ -105,11 +106,7 @@ declare namespace Event { validTypes: string[]; fields: { 'arguments.audienceCount': { - isCreateable: boolean; /** - * Event MetadataType - * - * @augments MetadataType - */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; template: boolean; @@ -279,6 +276,12 @@ declare namespace Event { retrieving: boolean; template: boolean; }; + 'configurationArguments.unconfigured': { + isCreateable: boolean; + isUpdateable: boolean; + retrieving: boolean; + template: boolean; + }; createdBy: { isCreateable: boolean; isUpdateable: boolean; @@ -945,7 +948,7 @@ declare namespace Event { retrieving: boolean; template: boolean; }; - r__dataExtension_CustomerKey: { + r__dataExtension_key: { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; diff --git a/@types/lib/metadataTypes/Event.d.ts.map b/@types/lib/metadataTypes/Event.d.ts.map index efc085497..2f5e25d93 100644 --- a/@types/lib/metadataTypes/Event.d.ts.map +++ b/@types/lib/metadataTypes/Event.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Event.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAvZwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/FileLocation.d.ts b/@types/lib/metadataTypes/FileLocation.d.ts index 014ca98eb..7723622ed 100644 --- a/@types/lib/metadataTypes/FileLocation.d.ts +++ b/@types/lib/metadataTypes/FileLocation.d.ts @@ -1,14 +1,14 @@ export default FtpLocation; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/FileLocation.d.ts.map b/@types/lib/metadataTypes/FileLocation.d.ts.map index 81d9a7114..1eebd2660 100644 --- a/@types/lib/metadataTypes/FileLocation.d.ts.map +++ b/@types/lib/metadataTypes/FileLocation.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FileLocation.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/FileLocation.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3CwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"FileLocation.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/FileLocation.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3CwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/FileTransfer.d.ts b/@types/lib/metadataTypes/FileTransfer.d.ts index ec22b2f6b..660ad4700 100644 --- a/@types/lib/metadataTypes/FileTransfer.d.ts +++ b/@types/lib/metadataTypes/FileTransfer.d.ts @@ -1,14 +1,14 @@ export default FileTransfer; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -160,14 +160,7 @@ declare namespace FileTransfer { isFileSpecLocalized: { isCreateable: boolean; isUpdateable: boolean; - retrieving: boolean; /** - * Retrieve a specific File Transfer Definition by Name - * - * @param {string} templateDir Directory where retrieved metadata directory will be saved - * @param {string} name name of the metadata file - * @param {TemplateMap} templateVariables variables to be replaced in the metadata - * @returns {Promise.} Promise - */ + retrieving: boolean; template: boolean; }; isPgp: { diff --git a/@types/lib/metadataTypes/FileTransfer.d.ts.map b/@types/lib/metadataTypes/FileTransfer.d.ts.map index 0c76e3a12..4803d1cc8 100644 --- a/@types/lib/metadataTypes/FileTransfer.d.ts.map +++ b/@types/lib/metadataTypes/FileTransfer.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FileTransfer.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/FileTransfer.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAIxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,uCALW,MAAM,QACN,MAAM,qBACN,WAAW,GACT,QAAS,mBAAmB,CAAC,CA4CzC;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,gBAkB1B;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAkB5B;IAED;;;;;;OAMG;IACH,6CASC;CAiBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAxJG;;;;;;;mBAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBArDkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"FileTransfer.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/FileTransfer.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,uCALW,MAAM,QACN,MAAM,qBACN,WAAW,GACT,OAAO,CAAE,mBAAmB,CAAC,CA4CzC;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,gBAkB1B;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAkB5B;IAED;;;;;;OAMG;IACH,6CASC;CAiBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAtMwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Filter.d.ts b/@types/lib/metadataTypes/Filter.d.ts index 45c957990..61787382e 100644 --- a/@types/lib/metadataTypes/Filter.d.ts +++ b/@types/lib/metadataTypes/Filter.d.ts @@ -1,14 +1,14 @@ export default Filter; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/Filter.d.ts.map b/@types/lib/metadataTypes/Filter.d.ts.map index f95679c57..58100f166 100644 --- a/@types/lib/metadataTypes/Filter.d.ts.map +++ b/@types/lib/metadataTypes/Filter.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Filter.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;;;OAWG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBApCwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Filter.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;;;OAWG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBApCwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Folder.d.ts b/@types/lib/metadataTypes/Folder.d.ts index 4423614e4..4c9a1ba92 100644 --- a/@types/lib/metadataTypes/Folder.d.ts +++ b/@types/lib/metadataTypes/Folder.d.ts @@ -1,14 +1,14 @@ export default Folder; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/Folder.d.ts.map b/@types/lib/metadataTypes/Folder.d.ts.map index 35c94f036..68fc1199c 100644 --- a/@types/lib/metadataTypes/Folder.d.ts.map +++ b/@types/lib/metadataTypes/Folder.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Folder.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Folder.js"],"names":[],"mappings":";uBASa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,qBACN,MAAM,EAAE,eACR,MAAM,EAAE,QACR,MAAM,gBA8HhB;IAED;;;;;;OAMG;IACH,4BAJW,IAAI,GAAG,MAAM,EAAE,eACf,MAAM,EAAE,gBAKlB;IAED;;;;;;;OAOG;IACH,wBAHW,eAAe,GACb,QAAS,MAAM,CAAC,CA8J5B;IAED;;;;;OAKG;IACH,6BAHW,gBAAgB,gBA4D1B;IAED;;;;;OAKG;IACH,6BAHW,gBAAgB,gBAyB1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CAgDtC;IAED;;;;;;OAMG;IACH,0BAJW,MAAM,gBACN,OAAO,GACL,QAAS,eAAe,CAAC,CAkErC;IAED;;;;;;;OAOG;IACH,yCALW,MAAM,EAAE,qBACR,OAAO,oBACP,MAAM,EAAE,GACN,QAAS,MAAM,CAAC,CA+B5B;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAI5B;IACD;;;;;;;OAOG;IACH,4BALW,eAAe,eACf,MAAM,OACN,MAAM,GAAG,MAAM,GACb,QAAS,MAAM,CAAC,CAuD5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3pBwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Folder.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Folder.js"],"names":[],"mappings":";uBASa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,qBACN,MAAM,EAAE,eACR,MAAM,EAAE,QACR,MAAM,gBA8HhB;IAED;;;;;;OAMG;IACH,4BAJW,IAAI,GAAG,MAAM,EAAE,eACf,MAAM,EAAE,gBAKlB;IAED;;;;;;;OAOG;IACH,wBAHW,eAAe,GACb,OAAO,CAAE,MAAM,CAAC,CA8J5B;IAED;;;;;OAKG;IACH,6BAHW,gBAAgB,gBA4D1B;IAED;;;;;OAKG;IACH,6BAHW,gBAAgB,gBAyB1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAgDtC;IAED;;;;;;OAMG;IACH,0BAJW,MAAM,gBACN,OAAO,GACL,OAAO,CAAE,eAAe,CAAC,CAkErC;IAED;;;;;;;OAOG;IACH,yCALW,MAAM,EAAE,qBACR,OAAO,oBACP,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,CAAC,CA+B5B;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAI5B;IACD;;;;;;;OAOG;IACH,4BALW,eAAe,eACf,MAAM,OACN,MAAM,GAAG,MAAM,GACb,OAAO,CAAE,MAAM,CAAC,CAuD5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3pBwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/ImportFile.d.ts b/@types/lib/metadataTypes/ImportFile.d.ts index f213f4c1c..6a7fe106e 100644 --- a/@types/lib/metadataTypes/ImportFile.d.ts +++ b/@types/lib/metadataTypes/ImportFile.d.ts @@ -1,14 +1,14 @@ export default ImportFile; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -131,11 +131,7 @@ declare namespace ImportFile { AddUpdate: number; Overwrite: number; Update: number; - }; /** - * ImportFile MetadataType - * - * @augments MetadataType - */ + }; blankFileProcessingTypeMapping: { Fail: number; Process: number; diff --git a/@types/lib/metadataTypes/ImportFile.d.ts.map b/@types/lib/metadataTypes/ImportFile.d.ts.map index 5e111daee..03a23f7d2 100644 --- a/@types/lib/metadataTypes/ImportFile.d.ts.map +++ b/@types/lib/metadataTypes/ImportFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ImportFile.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/ImportFile.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA/dwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Journey.d.ts b/@types/lib/metadataTypes/Journey.d.ts index 8f92a230c..37ab50f70 100644 --- a/@types/lib/metadataTypes/Journey.d.ts +++ b/@types/lib/metadataTypes/Journey.d.ts @@ -1,14 +1,14 @@ export default Journey; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -115,15 +115,7 @@ declare namespace Journey { lastmodNameField: any; restPagination: boolean; restPageSize: number; - type: string; /** - * Retrieves Metadata of Journey - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise - */ + type: string; typeDescription: string; typeRetrieveByDefault: boolean; typeName: string; @@ -450,14 +442,7 @@ declare namespace Journey { }; 'triggers[].configurationArguments.schemaVersionId': { isCreateable: boolean; - isUpdateable: boolean; /** - * Deploys metadata - merely kept here to be able to print {@link Util.logBeta} once per deploy - * - * @param {MetadataTypeMap} metadata metadata mapped by their keyField - * @param {string} deployDir directory where deploy metadata are saved - * @param {string} retrieveDir directory where metadata after deploy should be saved - * @returns {Promise.} Promise of keyField => metadata map - */ + isUpdateable: boolean; retrieving: boolean; template: boolean; }; @@ -478,12 +463,7 @@ declare namespace Journey { isUpdateable: boolean; retrieving: boolean; template: boolean; - }; /** - * Updates a single item - * - * @param {MetadataTypeItem} metadata a single item - * @returns {Promise} Promise - */ + }; 'triggers[].metaData.eventDefinitionKey': { isCreateable: boolean; isUpdateable: boolean; diff --git a/@types/lib/metadataTypes/Journey.d.ts.map b/@types/lib/metadataTypes/Journey.d.ts.map index 60732d469..184ca2330 100644 --- a/@types/lib/metadataTypes/Journey.d.ts.map +++ b/@types/lib/metadataTypes/Journey.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Journey.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Journey.js"],"names":[],"mappings":";uBAUa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA6LH;;;;;;;mBAOG;;;;;;;;;;;;;;;;;;;;;eAMH;;;;;eAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBArPkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Journey.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Journey.js"],"names":[],"mappings":";uBAUa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;;;;;GAQG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CA8HxC;IA6ED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAS1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAkBD;;;;OAIG;IACH,2CAFW,eAAe,iBAmBzB;IAED;;;;;;OAMG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CA2J5B;IACD;;;;;OAKG;IACH,6CAiVC;IAED;;;;;;OAMG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAiHtC;IAED;;;;;OAKG;IACH,0CAkLC;IAoDD;;;;OAIG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAuHtC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAzwCwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/List.d.ts b/@types/lib/metadataTypes/List.d.ts index 757e22a2e..b6b8b56db 100644 --- a/@types/lib/metadataTypes/List.d.ts +++ b/@types/lib/metadataTypes/List.d.ts @@ -1,14 +1,14 @@ export default List; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -122,7 +122,7 @@ declare namespace List { template: boolean; }; CreatedDate: { - isCreateable: boolean; /** @type {SoapRequestParams} */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; template: boolean; diff --git a/@types/lib/metadataTypes/List.d.ts.map b/@types/lib/metadataTypes/List.d.ts.map index 014d034ea..b26354f71 100644 --- a/@types/lib/metadataTypes/List.d.ts.map +++ b/@types/lib/metadataTypes/List.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/List.js"],"names":[],"mappings":";uBASa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAyBxC;IACD;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CA2BxC;IAED;;;;;;OAMG;IACH,sCAqEC;IAYD;;;;;OAKG;IACH,+BAHW,gBAAgB,GACd,gBAAgB,CAI5B;IACD;;;;;;OAMG;IACH,+BAJW,gBAAgB,kBAChB,OAAO,GACL,gBAAgB,CAsB5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCApLO,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAnCf,mBAAmB"} \ No newline at end of file +{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/List.js"],"names":[],"mappings":";uBASa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAyBxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CA2BxC;IAED;;;;;;OAMG;IACH,sCAqEC;IAYD;;;;;OAKG;IACH,+BAHW,gBAAgB,GACd,gBAAgB,CAI5B;IACD;;;;;;OAMG;IACH,+BAJW,gBAAgB,kBAChB,OAAO,GACL,gBAAgB,CAsB5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAvNwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/MetadataType.d.ts b/@types/lib/metadataTypes/MetadataType.d.ts index 6a9602eca..5d7646193 100644 --- a/@types/lib/metadataTypes/MetadataType.d.ts +++ b/@types/lib/metadataTypes/MetadataType.d.ts @@ -1,19 +1,19 @@ export default MetadataType; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type SDK = import('sfmc-sdk').default; -export type SDKError = import('../../types/mcdev.d.js').SDKError; -export type SOAPError = import('../../types/mcdev.d.js').SOAPError; -export type RestError = import('../../types/mcdev.d.js').RestError; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type SDK = import("sfmc-sdk").default; +export type SDKError = import("../../types/mcdev.d.js").SDKError; +export type SOAPError = import("../../types/mcdev.d.js").SOAPError; +export type RestError = import("../../types/mcdev.d.js").RestError; /** * MetadataType class that gets extended by their specific metadata type class. * Provides default functionality that can be overwritten by child metadata type classes @@ -52,12 +52,12 @@ declare class MetadataType { * @param {MetadataTypeMap} upsertResults metadata mapped by their keyField as returned by update/create * @param {MetadataTypeMap} originalMetadata metadata to be updated (contains additioanl fields) * @param {{created: number, updated: number}} createdUpdated counter representing successful creates/updates - * @returns {void} + * @returns {Promise.} - */ static postDeployTasks(upsertResults: MetadataTypeMap, originalMetadata: MetadataTypeMap, createdUpdated: { created: number; updated: number; - }): void; + }): Promise; /** * helper for {@link MetadataType.createREST} * @@ -261,7 +261,7 @@ declare class MetadataType { * @param {MetadataTypeItem[]} metadataToCreate list of items to create * @returns {Promise.<'create' | 'update' | 'skip'>} action to take */ - static createOrUpdate(metadataMap: MetadataTypeMap, metadataKey: string, hasError: boolean, metadataToUpdate: MetadataTypeItemDiff[], metadataToCreate: MetadataTypeItem[]): Promise<'create' | 'update' | 'skip'>; + static createOrUpdate(metadataMap: MetadataTypeMap, metadataKey: string, hasError: boolean, metadataToUpdate: MetadataTypeItemDiff[], metadataToCreate: MetadataTypeItem[]): Promise<"create" | "update" | "skip">; /** * Creates a single metadata entry via REST * @@ -287,7 +287,7 @@ declare class MetadataType { * @param {'patch'|'post'|'put'} [httpMethod] defaults to 'patch'; some update requests require PUT instead of PATCH * @returns {Promise. | null} Promise of API response or null in case of an error */ - static updateREST(metadataEntry: MetadataTypeItem, uri: string, httpMethod?: 'patch' | 'post' | 'put'): Promise | null; + static updateREST(metadataEntry: MetadataTypeItem, uri: string, httpMethod?: "patch" | "post" | "put"): Promise | null; /** * helper for {@link MetadataType.updateREST} and {@link MetadataType.updateSOAP} that removes old files after the key was changed * @@ -311,7 +311,7 @@ declare class MetadataType { * @param {MetadataTypeItem} [metadataEntry] single metadata entry * @param {boolean} [handleOutside] if the API reponse is irregular this allows you to handle it outside of this generic method */ - static _handleSOAPErrors(ex: SOAPError, msg: 'creating' | 'updating' | 'retrieving' | 'executing' | 'pausing', metadataEntry?: MetadataTypeItem, handleOutside?: boolean): void; + static _handleSOAPErrors(ex: SOAPError, msg: "creating" | "updating" | "retrieving" | "executing" | "pausing", metadataEntry?: MetadataTypeItem, handleOutside?: boolean): void; /** * helper for {@link MetadataType._handleSOAPErrors} * @@ -410,7 +410,7 @@ declare class MetadataType { * @param {string} origin string of parent object, required when using arrays as these are parsed slightly differently. * @returns {void} */ - static deleteFieldByDefinition(metadataEntry: MetadataTypeItem, fieldPath: string, definitionProperty: 'isCreateable' | 'isUpdateable' | 'retrieving' | 'template', origin: string): void; + static deleteFieldByDefinition(metadataEntry: MetadataTypeItem, fieldPath: string, definitionProperty: "isCreateable" | "isUpdateable" | "retrieving" | "template", origin: string): void; /** * Remove fields from metadata entry that are not createable * diff --git a/@types/lib/metadataTypes/MetadataType.d.ts.map b/@types/lib/metadataTypes/MetadataType.d.ts.map index a15874a24..a47319429 100644 --- a/@types/lib/metadataTypes/MetadataType.d.ts.map +++ b/@types/lib/metadataTypes/MetadataType.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MetadataType.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MetadataType.js"],"names":[],"mappings":";uBAiBa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EA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,EAAE,gBACjB,MAAM,aACN,WAAW,GACT,QAAS,kBAAkB,CAAC,CA4FxC;IACD;;;;;OAKG;IACH,yBAHW,MAAM,GACJ,MAAM,EAAE,CAkCpB;IAED;;;;;;OAMG;IACH,2BAJW,eAAe,aACf,OAAO,GACL,IAAI,CAMhB;IAED;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,QAAS;QAAC,GAAG,EAAC,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAA;KAAC,CAAC,CAK/C;IAED;;;;;OAKG;IACH,gCAHW,MAAM,GACJ,QAAS,OAAO,CAAC,CAK7B;IACD;;;;;;OAMG;IACH,oCAJW,MAAM,yBACN,MAAM,EAAE,GACN,QAAS,IAAI,CAAC,CAe1B;IAED;;;;;;;OAOG;IACH,oCALW,MAAM,qBACN,MAAM,kBACN,OAAO,GACL,QAAS,OAAO,CAAC,CA4B7B;IACD;;;;;;;OAOG;IACH,4BALW,MAAM,OACN,MAAM,kBACN,OAAO,GACL,QAAS,OAAO,CAAC,CAoB7B;IACD;;;;;;;OAOG;IACH,sCALW,MAAM,gBACN,OAAO,eACP,MAAM,GACJ,QAAS,MAAM,CAAC,CAgB5B;IACD;;;;;;OAMG;IACH,gCAHW,MAAM,EAAE,GACN,QAAS,MAAM,EAAE,CAAC,CAa9B;IAED;;;;OAIG;IACH,qCAHW,eAAe,GACb,MAAM,EAAE,CAwDpB;IACD;;;;;;;OAOG;IACH,4BALW,MAAM,gBACN,gBAAgB,gBAChB,MAAM,GACJ,MAAM,CAelB;CACJ;;;;;;;;;;;;gBAaS,GAAG;oBAIH,OAAO;iBAIP,MAAM;kBAIN,QAAQ"} \ No newline at end of file +{"version":3,"file":"MetadataType.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MetadataType.js"],"names":[],"mappings":";uBAiBa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;sBAChD,OAAO,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BAIN,QAAQ"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/MobileCode.d.ts b/@types/lib/metadataTypes/MobileCode.d.ts index aa0ed40a3..5264af9b3 100644 --- a/@types/lib/metadataTypes/MobileCode.d.ts +++ b/@types/lib/metadataTypes/MobileCode.d.ts @@ -1,14 +1,14 @@ export default MobileCode; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -81,16 +81,7 @@ declare namespace MobileCode { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; - template: boolean; /** - * Retrieves Metadata of Mobile Keywords - * Endpoint /legacy/v1/beta/mobile/code/ return all Mobile Codes with all details. - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + template: boolean; }; startDate: { isCreateable: boolean; diff --git a/@types/lib/metadataTypes/MobileCode.d.ts.map b/@types/lib/metadataTypes/MobileCode.d.ts.map index ed8d7d8ae..458835e93 100644 --- a/@types/lib/metadataTypes/MobileCode.d.ts.map +++ b/@types/lib/metadataTypes/MobileCode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MobileCode.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MobileCode.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CASxC;IAED;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCA3BG;;;;;;;;;mBASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA9BkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"MobileCode.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MobileCode.js"],"names":[],"mappings":";uBAKa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CASxC;IAED;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAhDwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/MobileKeyword.d.ts b/@types/lib/metadataTypes/MobileKeyword.d.ts index 97e7b4589..00b3e0169 100644 --- a/@types/lib/metadataTypes/MobileKeyword.d.ts +++ b/@types/lib/metadataTypes/MobileKeyword.d.ts @@ -1,14 +1,14 @@ export default MobileKeyword; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -118,7 +118,7 @@ declare class MobileKeyword extends MetadataType { * @param {'definition'|'template'} mode defines what we use this helper for * @returns {Promise.} list of extracted files with path-parts provided as an array */ - static _buildForNested(templateDir: string, targetDir: string | string[], metadata: MetadataTypeItem, templateVariables: TemplateMap, templateName: string, mode: 'definition' | 'template'): Promise; + static _buildForNested(templateDir: string, targetDir: string | string[], metadata: MetadataTypeItem, templateVariables: TemplateMap, templateName: string, mode: "definition" | "template"): Promise; /** * helper for {@link MetadataType.createREST} * diff --git a/@types/lib/metadataTypes/MobileKeyword.d.ts.map b/@types/lib/metadataTypes/MobileKeyword.d.ts.map index dd1e21465..6458efb0e 100644 --- a/@types/lib/metadataTypes/MobileKeyword.d.ts.map +++ b/@types/lib/metadataTypes/MobileKeyword.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MobileKeyword.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MobileKeyword.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;;OASG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAwBxC;IAoDD;;;;OAIG;IACH,8CAFW,gBAAgB,QAI1B;IAED;;;;OAIG;IACH,2CAFW,gBAAgB,QAY1B;IAiCD;;;;;;;OAOG;IACH,4BALW,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;;;;OAOG;IACH,uCALW,MAAM,OACN,MAAM,qBACN,WAAW,GACT,QAAS,mBAAmB,CAAC,CAuBzC;IAED;;;;;OAKG;IACH,yCAHW,MAAM,SAwBhB;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IACD;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAS1B;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,eAAe,GAAG,gBAAgB,GAAG,IAAI,CA+BrD;IACD;;;;;OAKG;IACH,yCAHW,MAAM,GACJ;QAAC,OAAO,EAAC,MAAM,CAAC;QAAA,IAAI,EAAC,MAAM,CAAA;KAAC,CAOxC;IAyDD;;;;;;;;;;;OAWG;IACH,oCARW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,gBAAgB,qBAChB,WAAW,gBACX,MAAM,QACN,YAAY,GAAC,UAAU,GACrB,QAAS,MAAM,EAAE,EAAE,CAAC,CAwDhC;IA8BD;;;;;;OAMG;IACH,sCAJW,gBAAgB,eAChB,MAAM,GACJ,QAAS,IAAI,CAAC,CAI1B;IACD;;;;;;OAMG;IACH,sCAJW,gBAAgB,eAChB,MAAM,GACJ,QAAS,IAAI,CAAC,CAI1B;IAED;;;;;;;OAOG;IACH,4BALW,gBAAgB,aAChB,MAAM,iBACN,MAAM,GACJ,QAAS,MAAM,CAAC,CAqB5B;IAsBD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,QAAS,IAAI,CAAC,CAM1B;CAsBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAljBwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"MobileKeyword.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MobileKeyword.js"],"names":[],"mappings":";uBAQa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M,GAAC,MAAM,EAAE,YACf,gBAAgB,qBAChB,WAAW,gBACX,MAAM,QACN,YAAY,GAAC,UAAU,GACrB,OAAO,CAAE,MAAM,EAAE,EAAE,CAAC,CAwDhC;IA8BD;;;;;;OAMG;IACH,sCAJW,gBAAgB,eAChB,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAI1B;IACD;;;;;;OAMG;IACH,sCAJW,gBAAgB,eAChB,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAI1B;IAED;;;;;;;OAOG;IACH,4BALW,gBAAgB,aAChB,MAAM,iBACN,MAAM,GACJ,OAAO,CAAE,MAAM,CAAC,CAqB5B;IAsBD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAM1B;CAsBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAljBwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/MobileMessage.d.ts b/@types/lib/metadataTypes/MobileMessage.d.ts index 8f44d733d..84e93c58f 100644 --- a/@types/lib/metadataTypes/MobileMessage.d.ts +++ b/@types/lib/metadataTypes/MobileMessage.d.ts @@ -1,14 +1,14 @@ export default MobileMessage; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -114,7 +114,7 @@ declare class MobileMessage extends MetadataType { * @param {'definition'|'template'} mode defines what we use this helper for * @returns {Promise.} list of extracted files with path-parts provided as an array */ - static _buildForNested(templateDir: string, targetDir: string | string[], metadata: MetadataTypeItem, templateVariables: TemplateMap, templateName: string, mode: 'definition' | 'template'): Promise; + static _buildForNested(templateDir: string, targetDir: string | string[], metadata: MetadataTypeItem, templateVariables: TemplateMap, templateName: string, mode: "definition" | "template"): Promise; } declare namespace MobileMessage { let definition: { @@ -150,24 +150,11 @@ declare namespace MobileMessage { skipValidation: boolean; }; campaigns: { - /** - * MobileMessage MetadataType - * - * @augments MetadataType - */ skipValidation: boolean; }; 'campaigns[]': { skipValidation: boolean; - }; /** - * Retrieves Metadata of Mobile Keywords - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + }; r__mobileCode_key: { isCreateable: boolean; isUpdateable: boolean; @@ -301,12 +288,7 @@ declare namespace MobileMessage { template: boolean; }; 'code.sendableCountries[].vendor': { - isCreateable: boolean; /** - * helper for {@link MobileMessage.postRetrieveTasks} and {@link MobileMessage._buildForNested} - * - * @param {string} code the code of the file - * @returns {{fileExt:string,code:string}} returns found extension and file content - */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; template: boolean; @@ -598,17 +580,7 @@ declare namespace MobileMessage { isUpdatable: boolean; retrieving: boolean; template: boolean; - }; /** - * helper for {@link MetadataType.buildDefinition} - * handles extracted code if any are found for complex types - * - * @param {string} templateDir Directory where metadata templates are stored - * @param {string|string[]} targetDir (List of) Directory where built definitions will be saved - * @param {MetadataTypeItem} metadata main JSON file that was read from file system - * @param {TemplateMap} templateVariables variables to be replaced in the metadata - * @param {string} templateName name of the template to be built - * @returns {Promise.} list of extracted files with path-parts provided as an array - */ + }; mtSendDate: { isCreatable: boolean; isUpdatable: boolean; diff --git a/@types/lib/metadataTypes/MobileMessage.d.ts.map b/@types/lib/metadataTypes/MobileMessage.d.ts.map index 9f36eec1d..edfd61ad5 100644 --- a/@types/lib/metadataTypes/MobileMessage.d.ts.map +++ b/@types/lib/metadataTypes/MobileMessage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"MobileMessage.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/MobileMessage.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBApewB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Query.d.ts b/@types/lib/metadataTypes/Query.d.ts index 22aefe238..ae2c1fa70 100644 --- a/@types/lib/metadataTypes/Query.d.ts +++ b/@types/lib/metadataTypes/Query.d.ts @@ -1,16 +1,16 @@ export default Query; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type QueryItem = import('../../types/mcdev.d.js').QueryItem; -export type QueryMap = import('../../types/mcdev.d.js').QueryMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type QueryItem = import("../../types/mcdev.d.js").QueryItem; +export type QueryMap = import("../../types/mcdev.d.js").QueryMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/Query.d.ts.map b/@types/lib/metadataTypes/Query.d.ts.map index 6f5934b0d..171fbc6f1 100644 --- a/@types/lib/metadataTypes/Query.d.ts.map +++ b/@types/lib/metadataTypes/Query.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../lib/metadataT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;OAUG;IACH,6CAPW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,SAAS,qBACT,WAAW,gBACX,MAAM,GACJ,QAAS,MAAM,EAAE,EAAE,CAAC,CAiBhC;IACD;;;;;;;;;;;OAWG;IACH,2CAPW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,SAAS,qBACT,WAAW,gBACX,MAAM,GACJ,QAAS,MAAM,EAAE,EAAE,CAAC,CAiBhC;IACD;;;;;;;;;;;;OAYG;IACH,+BAkDC;IAoDD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,QAAS,IAAI,CAAC,CAM1B;IACD;;;;OAIG;IACH,sCAFW,eAAe,iBAOzB;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3dwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Query.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;wBAI5C,OAAO,wBAAwB,EAAE,SAAS;uBAC1C,OAAO,wBAAwB,EAAE,QAAQ;AAftD;;;;;;;;;;;GAWG;AAEH;;;GAGG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3dwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Role.d.ts b/@types/lib/metadataTypes/Role.d.ts index 5f954947e..ebd99afe4 100644 --- a/@types/lib/metadataTypes/Role.d.ts +++ b/@types/lib/metadataTypes/Role.d.ts @@ -1,15 +1,15 @@ export default Role; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type SoapSDKFilterSimple = import('../../types/mcdev.d.js').SoapSDKFilterSimple; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type SoapSDKFilterSimple = import("../../types/mcdev.d.js").SoapSDKFilterSimple; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/Role.d.ts.map b/@types/lib/metadataTypes/Role.d.ts.map index 906f92a65..f32d5ead9 100644 --- a/@types/lib/metadataTypes/Role.d.ts.map +++ b/@types/lib/metadataTypes/Role.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Role.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;kCAClD,OAAO,wBAAwB,EAAE,mBAAmB;0BACpD,OAAO,wBAAwB,EAAE,WAAW;AAXzD;;;;;;;;;;;;GAYG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,QACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAsFxC;IACD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,gBAAgB,CAS5B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,2BAHW,eAAe,GACb,QAAS,IAAI,CAAC,CA4G1B;IAED;;;;;;;;;;OAUG;IACH,4BAPW,MAAM,WACN,MAAM,eACN,MAAM,cACN,MAAM,GAEJ,IAAI,CAyDhB;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA/UwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Role.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;kCAClD,OAAO,wBAAwB,EAAE,mBAAmB;0BACpD,OAAO,wBAAwB,EAAE,WAAW;AAXzD;;;;;;;;;;;;GAYG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,QACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAsFxC;IACD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,gBAAgB,CAS5B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,2BAHW,eAAe,GACb,OAAO,CAAE,IAAI,CAAC,CA4G1B;IAED;;;;;;;;;;OAUG;IACH,4BAPW,MAAM,WACN,MAAM,eACN,MAAM,cACN,MAAM,GAEJ,IAAI,CAyDhB;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA/UwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Script.d.ts b/@types/lib/metadataTypes/Script.d.ts index 0134ba379..73410afd9 100644 --- a/@types/lib/metadataTypes/Script.d.ts +++ b/@types/lib/metadataTypes/Script.d.ts @@ -1,17 +1,17 @@ export default Script; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type ContentBlockConversionTypes = import('../../types/mcdev.d.js').ContentBlockConversionTypes; -export type ScriptItem = import('../../types/mcdev.d.js').ScriptItem; -export type ScriptMap = import('../../types/mcdev.d.js').ScriptMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type ContentBlockConversionTypes = import("../../types/mcdev.d.js").ContentBlockConversionTypes; +export type ScriptItem = import("../../types/mcdev.d.js").ScriptItem; +export type ScriptMap = import("../../types/mcdev.d.js").ScriptMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -138,7 +138,7 @@ declare class Script extends MetadataType { * @param {'definition'|'template'} mode defines what we use this helper for * @returns {Promise.} list of extracted files with path-parts provided as an array */ - static _buildForNested(templateDir: string, targetDir: string | string[], metadata: ScriptItem, templateVariables: TemplateMap, templateName: string, mode: 'definition' | 'template'): Promise; + static _buildForNested(templateDir: string, targetDir: string | string[], metadata: ScriptItem, templateVariables: TemplateMap, templateName: string, mode: "definition" | "template"): Promise; /** * manages post retrieve steps * @@ -234,16 +234,7 @@ declare namespace Script { }; folderLocationText: { isCreateable: boolean; - isUpdateable: boolean; /** - * Retrieves Metadata of Script - * Endpoint /automation/v1/scripts/ return all Scripts with all details. - * - * @param {string} [retrieveDir] Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.<{metadata: ScriptMap, type: string}>} Promise - */ + isUpdateable: boolean; retrieving: boolean; template: boolean; }; diff --git a/@types/lib/metadataTypes/Script.d.ts.map b/@types/lib/metadataTypes/Script.d.ts.map index 3aff47cf8..9010c31fd 100644 --- a/@types/lib/metadataTypes/Script.d.ts.map +++ b/@types/lib/metadataTypes/Script.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Script.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Script.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAw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U,qBACV,WAAW,gBACX,MAAM,GACJ,QAAS,MAAM,EAAE,EAAE,CAAC,CAiBhC;IAED;;;;;;;;;;;OAWG;IACH,oCARW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,UAAU,qBACV,WAAW,gBACX,MAAM,QACN,YAAY,GAAC,UAAU,GACrB,QAAS,MAAM,EAAE,EAAE,CAAC,CAsDhC;IAED;;;;;OAKG;IACH,mCAHW,UAAU,GACR,eAAe,CAO3B;IACD;;;;;OAKG;IACH,oCAHW,UAAU,GACR,eAAe,CAgB3B;IAED;;;;;;OAMG;IACH,yCAJW,MAAM,gBACN,MAAM,GACJ;QAAC,OAAO,EAAC,MAAM,CAAC;QAAA,IAAI,EAAC,MAAM,CAAA;KAAC,CAiBxC;IAwBD;;;;;;OAMG;IACH,6CAWC;IAiBD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,QAAS,IAAI,CAAC,CAU1B;IAED;;;;;OAKG;IACH,gCAJW,gBAAgB,eAChB,MAAM,GACJ,QAAS,eAAe,CAAC,CAarC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCA9XG;;;;;;;;;mBASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAvCkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Script.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Script.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BA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E,EAAE,CAAC,CAiBhC;IAED;;;;;;;;;;;OAWG;IACH,oCARW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,UAAU,qBACV,WAAW,gBACX,MAAM,QACN,YAAY,GAAC,UAAU,GACrB,OAAO,CAAE,MAAM,EAAE,EAAE,CAAC,CAsDhC;IAED;;;;;OAKG;IACH,mCAHW,UAAU,GACR,eAAe,CAO3B;IACD;;;;;OAKG;IACH,oCAHW,UAAU,GACR,eAAe,CAgB3B;IAED;;;;;;OAMG;IACH,yCAJW,MAAM,gBACN,MAAM,GACJ;QAAC,OAAO,EAAC,MAAM,CAAC;QAAA,IAAI,EAAC,MAAM,CAAA;KAAC,CAiBxC;IAwBD;;;;;;OAMG;IACH,6CAWC;IAiBD;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAU1B;IAED;;;;;OAKG;IACH,gCAJW,gBAAgB,eAChB,MAAM,GACJ,OAAO,CAAE,eAAe,CAAC,CAarC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA5ZwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/SendClassification.d.ts b/@types/lib/metadataTypes/SendClassification.d.ts index de1cad697..acae219e6 100644 --- a/@types/lib/metadataTypes/SendClassification.d.ts +++ b/@types/lib/metadataTypes/SendClassification.d.ts @@ -1,14 +1,14 @@ export default SendClassification; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/SendClassification.d.ts.map b/@types/lib/metadataTypes/SendClassification.d.ts.map index ecd666f65..e3ebd3026 100644 --- a/@types/lib/metadataTypes/SendClassification.d.ts.map +++ b/@types/lib/metadataTypes/SendClassification.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SendClassification.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/SendClassification.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAexC;IACD;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAWD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CA4BtC;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAiC5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAnJwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"SendClassification.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/SendClassification.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAexC;IACD;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAWD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CA4BtC;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAiC5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAnJwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/SenderProfile.d.ts b/@types/lib/metadataTypes/SenderProfile.d.ts index f8d075f0c..067966397 100644 --- a/@types/lib/metadataTypes/SenderProfile.d.ts +++ b/@types/lib/metadataTypes/SenderProfile.d.ts @@ -1,14 +1,14 @@ export default SenderProfile; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -103,15 +103,7 @@ declare namespace SenderProfile { isUpdateable: boolean; retrieving: boolean; template: boolean; - }; /** - * Retrieves SOAP based metadata of metadata type into local filesystem. executes callback with retrieved metadata - * - * @param {string} [retrieveDir] Directory where retrieved metadata directory will be saved - * @param {void | string[]} [_] unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + }; CustomerKey: { isCreateable: boolean; isUpdateable: boolean; diff --git a/@types/lib/metadataTypes/SenderProfile.d.ts.map b/@types/lib/metadataTypes/SenderProfile.d.ts.map index 52746ed8b..f9226d2a9 100644 --- a/@types/lib/metadataTypes/SenderProfile.d.ts.map +++ b/@types/lib/metadataTypes/SenderProfile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SenderProfile.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/SenderProfile.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAexC;IACD;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAYD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CAyBtC;IACD;;;;OAIG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CA6DtC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eApJG;;;;;;;;eAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA/BkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"SenderProfile.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/SenderProfile.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAexC;IACD;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,4BAHW,gBAAgB,gBAK1B;IAYD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAyBtC;IACD;;;;OAIG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CA6DtC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA3KwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/TransactionalEmail.d.ts b/@types/lib/metadataTypes/TransactionalEmail.d.ts index ead20ba8c..2bddbcd60 100644 --- a/@types/lib/metadataTypes/TransactionalEmail.d.ts +++ b/@types/lib/metadataTypes/TransactionalEmail.d.ts @@ -1,14 +1,14 @@ export default TransactionalEmail; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -48,9 +48,9 @@ declare class TransactionalEmail extends TransactionalMessage { /** * Gets executed after deployment of metadata type * - * @returns {void} + * @returns {Promise.} - */ - static postDeployTasks(): void; + static postDeployTasks(): Promise; /** * manages post retrieve steps * diff --git a/@types/lib/metadataTypes/TransactionalEmail.d.ts.map b/@types/lib/metadataTypes/TransactionalEmail.d.ts.map index be34aa627..0def10a6e 100644 --- a/@types/lib/metadataTypes/TransactionalEmail.d.ts.map +++ b/@types/lib/metadataTypes/TransactionalEmail.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TransactionalEmail.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalEmail.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI,uBAAyB;IACzB,oBAAoB;IACpB,kCAA2B;IAqB3B;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CAyCtC;IACD;;;;;;OAMG;IACH,0BAJW,gBAAgB,eAChB,MAAM,GACJ,QAAS,IAAI,CAAC,CAe1B;IACD;;;;OAIG;IACH,0BAFa,IAAI,CAWhB;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAmF5B;CA2BJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCApPgC,2BAA2B"} \ No newline at end of file +{"version":3,"file":"TransactionalEmail.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalEmail.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI,uBAAyB;IACzB,oBAAoB;IACpB,kCAA2B;IAqB3B;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAyCtC;IACD;;;;;;OAMG;IACH,0BAJW,gBAAgB,eAChB,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAe1B;IACD;;;;OAIG;IACH,0BAFa,OAAO,CAAE,IAAI,CAAC,CAW1B;IAED;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAmF5B;CA2BJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCApPgC,2BAA2B"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/TransactionalMessage.d.ts b/@types/lib/metadataTypes/TransactionalMessage.d.ts index 64bbe07f4..c6aec81a9 100644 --- a/@types/lib/metadataTypes/TransactionalMessage.d.ts +++ b/@types/lib/metadataTypes/TransactionalMessage.d.ts @@ -1,14 +1,14 @@ export default TransactionalMessage; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -67,23 +67,6 @@ declare namespace TransactionalMessage { bodyIteratorField: string; dependencies: any[]; hasExtended: boolean; - /** - * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject - * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract - * @typedef {import('../../types/mcdev.d.js').CodeExtractItem} CodeExtractItem - * @typedef {import('../../types/mcdev.d.js').MetadataTypeItem} MetadataTypeItem - * @typedef {import('../../types/mcdev.d.js').MetadataTypeItemDiff} MetadataTypeItemDiff - * @typedef {import('../../types/mcdev.d.js').MetadataTypeItemObj} MetadataTypeItemObj - * @typedef {import('../../types/mcdev.d.js').MetadataTypeMap} MetadataTypeMap - * @typedef {import('../../types/mcdev.d.js').MetadataTypeMapObj} MetadataTypeMapObj - * @typedef {import('../../types/mcdev.d.js').SoapRequestParams} SoapRequestParams - * @typedef {import('../../types/mcdev.d.js').TemplateMap} TemplateMap - */ - /** - * TransactionalMessage MetadataType - * - * @augments MetadataType - */ idField: string; keyIsFixed: boolean; keyField: string; @@ -110,11 +93,7 @@ declare namespace TransactionalMessage { isUpdateable: boolean; retrieving: boolean; template: boolean; - }; /** - * TransactionalMessage MetadataType - * - * @augments MetadataType - */ + }; description: { isCreateable: boolean; isUpdateable: boolean; diff --git a/@types/lib/metadataTypes/TransactionalMessage.d.ts.map b/@types/lib/metadataTypes/TransactionalMessage.d.ts.map index 0ca9b53ba..c841c97d1 100644 --- a/@types/lib/metadataTypes/TransactionalMessage.d.ts.map +++ b/@types/lib/metadataTypes/TransactionalMessage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TransactionalMessage.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalMessage.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IAEI,oBAAe;IACf;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CA2CxC;IAED;;;;;;;OAOG;IACH,4BALW,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAOxC;IACD;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAQ1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;CAcJ;;;;;;QA1HD;;;;;;;;;;;WAWG;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;eAJH;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBApBsB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"TransactionalMessage.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalMessage.js"],"names":[],"mappings":";uBAMa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IAEI,oBAAe;IACf;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CA2CxC;IAED;;;;;;;OAOG;IACH,4BALW,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAOxC;IACD;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAQ1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;CAcJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA7HwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/TransactionalPush.d.ts b/@types/lib/metadataTypes/TransactionalPush.d.ts index 9d430b781..0c151d082 100644 --- a/@types/lib/metadataTypes/TransactionalPush.d.ts +++ b/@types/lib/metadataTypes/TransactionalPush.d.ts @@ -1,14 +1,14 @@ export default TransactionalPush; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -74,11 +74,7 @@ declare namespace TransactionalPush { isUpdateable: boolean; retrieving: boolean; template: boolean; - }; /** - * TransactionalPush TransactionalMessage - * - * @augments TransactionalMessage - */ + }; description: { isCreateable: boolean; isUpdateable: boolean; @@ -119,12 +115,7 @@ declare namespace TransactionalPush { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; - template: boolean; /** - * manages post retrieve steps - * - * @param {MetadataTypeItem} metadata a single item - * @returns {MetadataTypeItem} a single item - */ + template: boolean; }; r__asset_key: { isCreateable: boolean; diff --git a/@types/lib/metadataTypes/TransactionalPush.d.ts.map b/@types/lib/metadataTypes/TransactionalPush.d.ts.map index 31d4b8252..3b4f55771 100644 --- a/@types/lib/metadataTypes/TransactionalPush.d.ts.map +++ b/@types/lib/metadataTypes/TransactionalPush.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TransactionalPush.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalPush.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI,uBAAwB;IAExB;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CAqBtC;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CA4B5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAnED;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCA8BC;;;;;mBAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAxD0B,2BAA2B"} \ No newline at end of file +{"version":3,"file":"TransactionalPush.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalPush.js"],"names":[],"mappings":";uBAOa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI,uBAAwB;IAExB;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAqBtC;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CA4B5B;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCApFgC,2BAA2B"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/TransactionalSMS.d.ts b/@types/lib/metadataTypes/TransactionalSMS.d.ts index c4efb093b..166e3f4a5 100644 --- a/@types/lib/metadataTypes/TransactionalSMS.d.ts +++ b/@types/lib/metadataTypes/TransactionalSMS.d.ts @@ -1,14 +1,14 @@ export default TransactionalSMS; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -73,7 +73,7 @@ declare class TransactionalSMS extends TransactionalMessage { * @param {'definition'|'template'} mode defines what we use this helper for * @returns {Promise.} list of extracted files with path-parts provided as an array */ - static _buildForNested(templateDir: string, targetDir: string | string[], metadata: MetadataTypeItem, templateVariables: TemplateMap, templateName: string, mode: 'definition' | 'template'): Promise; + static _buildForNested(templateDir: string, targetDir: string | string[], metadata: MetadataTypeItem, templateVariables: TemplateMap, templateName: string, mode: "definition" | "template"): Promise; /** * very simplified test for HTML code in our SMS * @@ -137,13 +137,7 @@ declare namespace TransactionalSMS { isUpdateable: boolean; retrieving: boolean; template: boolean; - }; /** - * prepares for deployment - * - * @param {MetadataTypeItem} metadata a single item - * @param {string} deployDir directory of deploy files - * @returns {Promise.} Promise - */ + }; createdDate: { isCreateable: boolean; isUpdateable: boolean; diff --git a/@types/lib/metadataTypes/TransactionalSMS.d.ts.map b/@types/lib/metadataTypes/TransactionalSMS.d.ts.map index d7fbb11a9..f18437ee3 100644 --- a/@types/lib/metadataTypes/TransactionalSMS.d.ts.map +++ b/@types/lib/metadataTypes/TransactionalSMS.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TransactionalSMS.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalSMS.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI,uBAAuB;IACvB;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,QAAS,IAAI,CAAC,CAM1B;IAqDD;;;;;;;OAOG;IACH,4BALW,gBAAgB,aAChB,MAAM,iBACN,MAAM,GACJ,QAAS,MAAM,CAAC,CAmB5B;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,QAAS,eAAe,CAAC,CAqErC;IACD;;;;;OAKG;IACH,yCAHW,MAAM,GACJ,QAAS;QAAC,OAAO,EAAC,MAAM,CAAC;QAAA,IAAI,EAAC,MAAM,CAAA;KAAC,CAAC,CAOlD;IAyDD;;;;;;;;;;;OAWG;IACH,oCARW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,gBAAgB,qBAChB,WAAW,gBACX,MAAM,QACN,YAAY,GAAC,UAAU,GACrB,QAAS,MAAM,EAAE,EAAE,CAAC,CAqDhC;IACD;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,OAAO,CAInB;CAsBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAzTG;;;;;;eAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA3C0B,2BAA2B"} \ No newline at end of file +{"version":3,"file":"TransactionalSMS.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TransactionalSMS.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI,uBAAuB;IACvB;;;;;OAKG;IACH,oCAHW,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAM1B;IAqDD;;;;;;;OAOG;IACH,4BALW,gBAAgB,aAChB,MAAM,iBACN,MAAM,GACJ,OAAO,CAAE,MAAM,CAAC,CAmB5B;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,OAAO,CAAE,eAAe,CAAC,CAqErC;IACD;;;;;OAKG;IACH,yCAHW,MAAM,GACJ,OAAO,CAAE;QAAC,OAAO,EAAC,MAAM,CAAC;QAAA,IAAI,EAAC,MAAM,CAAA;KAAC,CAAC,CAOlD;IAyDD;;;;;;;;;;;OAWG;IACH,oCARW,MAAM,aACN,MAAM,GAAC,MAAM,EAAE,YACf,gBAAgB,qBAChB,WAAW,gBACX,MAAM,QACN,YAAY,GAAC,UAAU,GACrB,OAAO,CAAE,MAAM,EAAE,EAAE,CAAC,CAqDhC;IACD;;;;;OAKG;IACH,qBAHW,MAAM,GACJ,OAAO,CAInB;CAsBJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA9VgC,2BAA2B"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/TriggeredSend.d.ts b/@types/lib/metadataTypes/TriggeredSend.d.ts index cc4d10f36..27028f745 100644 --- a/@types/lib/metadataTypes/TriggeredSend.d.ts +++ b/@types/lib/metadataTypes/TriggeredSend.d.ts @@ -1,14 +1,14 @@ export default TriggeredSend; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -157,7 +157,7 @@ declare namespace TriggeredSend { }; BccEmail: { isCreateable: boolean; - isUpdateable: boolean; /** @type {SoapRequestParams} */ + isUpdateable: boolean; retrieving: boolean; templating: boolean; }; @@ -226,12 +226,7 @@ declare namespace TriggeredSend { isUpdateable: boolean; retrieving: boolean; templating: boolean; - }; /** - * parses retrieved Metadata before saving - * - * @param {MetadataTypeItem} metadata a single item - * @returns {MetadataTypeItem | void} Array with one metadata object and one sql string - */ + }; DisableOnEmailBuildError: { isCreateable: boolean; isUpdateable: boolean; @@ -656,7 +651,7 @@ declare namespace TriggeredSend { skipValidation: boolean; }; c__priority: { - skipValidation: boolean; /** @type {SoapRequestParams} */ + skipValidation: boolean; }; r__sendClassification_key: { skipValidation: boolean; diff --git a/@types/lib/metadataTypes/TriggeredSend.d.ts.map b/@types/lib/metadataTypes/TriggeredSend.d.ts.map index 506576f99..5e92c5bb2 100644 --- a/@types/lib/metadataTypes/TriggeredSend.d.ts.map +++ b/@types/lib/metadataTypes/TriggeredSend.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TriggeredSend.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TriggeredSend.js"],"names":[],"mappings":";uBAWa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAyRC,gCAAgC;;;;;;;;;;;yBA7Xf,mBAAmB"} \ No newline at end of file +{"version":3,"file":"TriggeredSend.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/TriggeredSend.js"],"names":[],"mappings":";uBAWa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;AAVzD;;;;;;;;;;;GAWG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,6BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CA2BxC;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAO1B;IAYD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,GAAG,IAAI,CAwGnC;IACD;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAqFtC;IACD;;;;;;OAMG;IACH,wBAJW,MAAM,EAAE,aACR,OAAO,GACL,OAAO,CAAE,IAAI,CAAC,CAkB1B;IAED;;;;;OAKG;IACH,qCAHW,eAAe,GACb,OAAO,CAAE,MAAM,EAAE,CAAC,CAS9B;IACD;;;;;OAKG;IACH,0CAHW,OAAO,GACL,OAAO,CAAE,kBAAkB,CAAC,CAqDxC;IAED;;;;;;OAMG;IACH,yBAJW,MAAM,YACN,OAAO,GACL,OAAO,CAAE,OAAO,CAAC,CA8F7B;IACD;;;;OAIG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CA0DtC;CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA1iBwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/User.d.ts b/@types/lib/metadataTypes/User.d.ts index bb7d8b1ae..c7368e37a 100644 --- a/@types/lib/metadataTypes/User.d.ts +++ b/@types/lib/metadataTypes/User.d.ts @@ -1,19 +1,19 @@ export default User; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type UserDocument = import('../../types/mcdev.d.js').UserDocument; -export type UserDocumentDocument = import('../../types/mcdev.d.js').UserDocumentDocument; -export type UserDocumentDiff = import('../../types/mcdev.d.js').UserDocumentDiff; -export type UserDocumentMap = import('../../types/mcdev.d.js').UserDocumentMap; -export type AccountUserConfiguration = import('../../types/mcdev.d.js').AccountUserConfiguration; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type UserDocument = import("../../types/mcdev.d.js").UserDocument; +export type UserDocumentDocument = import("../../types/mcdev.d.js").UserDocumentDocument; +export type UserDocumentDiff = import("../../types/mcdev.d.js").UserDocumentDiff; +export type UserDocumentMap = import("../../types/mcdev.d.js").UserDocumentMap; +export type AccountUserConfiguration = import("../../types/mcdev.d.js").AccountUserConfiguration; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract @@ -87,7 +87,7 @@ declare class User extends MetadataType { * @param {UserDocument[]} metadataToCreate list of items to create * @returns {Promise.<'create'|'update'|'skip'>} action to take */ - static createOrUpdate(metadata: MetadataTypeMap, metadataKey: string, hasError: boolean, metadataToUpdate: UserDocumentDiff[], metadataToCreate: UserDocument[]): Promise<'create' | 'update' | 'skip'>; + static createOrUpdate(metadata: MetadataTypeMap, metadataKey: string, hasError: boolean, metadataToUpdate: UserDocumentDiff[], metadataToCreate: UserDocument[]): Promise<"create" | "update" | "skip">; /** * * @private @@ -278,15 +278,7 @@ declare namespace User { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; - template: boolean; /** - * Retrieves SOAP based metadata of metadata type into local filesystem. executes callback with retrieved metadata - * - * @param {string} retrieveDir Directory where retrieved metadata directory will be saved - * @param {void | string[]} _ unused parameter - * @param {void | string[]} [__] unused parameter - * @param {string} [key] customer key of single item to retrieve - * @returns {Promise.} Promise of metadata - */ + template: boolean; }; ChallengeAnswer: { isCreateable: boolean; @@ -321,12 +313,7 @@ declare namespace User { CorrelationID: { isCreateable: boolean; isUpdateable: boolean; - retrieving: boolean; /** - * Create a single item. - * - * @param {MetadataTypeItem} metadata single metadata entry - * @returns {Promise} Promise - */ + retrieving: boolean; template: boolean; }; CreatedDate: { @@ -342,12 +329,7 @@ declare namespace User { template: boolean; }; DefaultApplication: { - isCreateable: boolean; /** - * Updates a single item. - * - * @param {MetadataTypeItem} metadata single metadata entry - * @returns {Promise} Promise - */ + isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; template: boolean; diff --git a/@types/lib/metadataTypes/User.d.ts.map b/@types/lib/metadataTypes/User.d.ts.map index a3d5b2906..bb2d3a875 100644 --- a/@types/lib/metadataTypes/User.d.ts.map +++ b/@types/lib/metadataTypes/User.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA7EkB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/User.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAI5C,OAAO,wBAAwB,EAAE,YAAY;mCAC7C,OAAO,wBAAwB,EAAE,oBAAoB;+BACrD,OAAO,wBAAwB,EAAE,gBAAgB;8BACjD,OAAO,wBAAwB,EAAE,eAAe;uCAChD,OAAO,wBAAwB,EAAE,wBAAwB;AAlBtE;;;;;;;;;;;GAWG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AACH;IACI,8BAAyB;IACzB;;;;;;;;OAQG;IACH,6BANW,MAAM,KACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAQxC;IACD;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAS1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAS1B;IACD;;;;;OAKG;IACH,gCAHW,YAAY,GACV,OAAO,CAAE,YAAY,CAAC,CA2HlC;IACD;;;;;;;;;OASG;IACH,gCAPW,eAAe,eACf,MAAM,YACN,OAAO,o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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA9qCwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/Verification.d.ts b/@types/lib/metadataTypes/Verification.d.ts index 5fbbf1681..53f3ed774 100644 --- a/@types/lib/metadataTypes/Verification.d.ts +++ b/@types/lib/metadataTypes/Verification.d.ts @@ -1,16 +1,16 @@ export default Verification; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type RestError = import('../../types/mcdev.d.js').RestError; -export type VerificationItem = import('../../types/mcdev.d.js').VerificationItem; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type RestError = import("../../types/mcdev.d.js").RestError; +export type VerificationItem = import("../../types/mcdev.d.js").VerificationItem; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject * @typedef {import('../../types/mcdev.d.js').CodeExtract} CodeExtract diff --git a/@types/lib/metadataTypes/Verification.d.ts.map b/@types/lib/metadataTypes/Verification.d.ts.map index 3e3adb3bc..c1f324589 100644 --- a/@types/lib/metadataTypes/Verification.d.ts.map +++ b/@types/lib/metadataTypes/Verification.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Verification.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Verification.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;wBAC5C,OAAO,wBAAwB,EAAE,SAAS;+BAI1C,OAAO,wBAAwB,EAAE,gBAAgB;AAf9D;;;;;;;;;;;;GAYG;AAEH;;GAEG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,QAAS,kBAAkB,CAAC,CAsExC;IACD;;;;;;OAMG;IACH,4BAJW,SAAS,MACT,MAAM,GACJ,IAAI,CAehB;IAED;;;;OAIG;IACH,2BAFa,QAAS,kBAAkB,CAAC,CAIxC;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;;;OAOG;IACH,sCALW,gBAAgB,eAChB,MAAM,8BACN,gBAAgB,GACd,QAAS,IAAI,CAAC,CAuB1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAQ1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,QAAS,gBAAgB,CAAC,CAWtC;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAiB5B;CAUJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA9OwB,mBAAmB"} \ No newline at end of file +{"version":3,"file":"Verification.d.ts","sourceRoot":"","sources":["../../../lib/metadataTypes/Verification.js"],"names":[],"mappings":";uBAQa,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;+BAChD,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;gCACnD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;wBAC5C,OAAO,wBAAwB,EAAE,SAAS;+BAI1C,OAAO,wBAAwB,EAAE,gBAAgB;AAf9D;;;;;;;;;;;;GAYG;AAEH;;GAEG;AAEH;;;;GAIG;AACH;IACI;;;;;;;;OAQG;IACH,8BANW,MAAM,MACN,IAAI,GAAG,MAAM,EAAE,OACf,IAAI,GAAG,MAAM,EAAE,QACf,MAAM,GACJ,OAAO,CAAE,kBAAkB,CAAC,CAsExC;IACD;;;;;;OAMG;IACH,4BAJW,SAAS,MACT,MAAM,GACJ,IAAI,CAehB;IAED;;;;OAIG;IACH,2BAFa,OAAO,CAAE,kBAAkB,CAAC,CAIxC;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAK1B;IAED;;;;;;;OAOG;IACH,sCALW,gBAAgB,eAChB,MAAM,8BACN,gBAAgB,GACd,OAAO,CAAE,IAAI,CAAC,CAuB1B;IAED;;;;;OAKG;IACH,wBAHW,gBAAgB,gBAQ1B;IAED;;;;;OAKG;IACH,gCAHW,gBAAgB,GACd,OAAO,CAAE,gBAAgB,CAAC,CAWtC;IACD;;;;;OAKG;IACH,mCAHW,gBAAgB,GACd,gBAAgB,CAiB5B;CAUJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA9OwB,mBAAmB"} \ No newline at end of file diff --git a/@types/lib/metadataTypes/definitions/Event.definition.d.ts b/@types/lib/metadataTypes/definitions/Event.definition.d.ts index a50b3719d..f8d9967dc 100644 --- a/@types/lib/metadataTypes/definitions/Event.definition.d.ts +++ b/@types/lib/metadataTypes/definitions/Event.definition.d.ts @@ -189,6 +189,12 @@ declare namespace _default { retrieving: boolean; template: boolean; }; + 'configurationArguments.unconfigured': { + isCreateable: boolean; + isUpdateable: boolean; + retrieving: boolean; + template: boolean; + }; createdBy: { isCreateable: boolean; isUpdateable: boolean; @@ -855,7 +861,7 @@ declare namespace _default { retrieving: boolean; template: boolean; }; - r__dataExtension_CustomerKey: { + r__dataExtension_key: { isCreateable: boolean; isUpdateable: boolean; retrieving: boolean; diff --git a/@types/lib/util/auth.d.ts b/@types/lib/util/auth.d.ts index 1e3311cf1..fdb865b75 100644 --- a/@types/lib/util/auth.d.ts +++ b/@types/lib/util/auth.d.ts @@ -1,20 +1,20 @@ export default Auth; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare namespace Auth { /** * For each business unit, set up base credentials to be used. @@ -23,14 +23,14 @@ declare namespace Auth { * @param {string} credential of the instance * @returns {Promise.} - */ - function saveCredential(authObject: import("../../types/mcdev.d.js").AuthObject, credential: string): Promise; + function saveCredential(authObject: AuthObject, credential: string): Promise; /** * Returns an SDK instance to be used for API calls * * @param {BuObject} buObject information about current context * @returns {SDK} auth object */ - function getSDK(buObject: import("../../types/mcdev.d.js").BuObject): SDK; + function getSDK(buObject: BuObject): SDK; /** * helper to clear all auth sessions * diff --git a/@types/lib/util/auth.d.ts.map b/@types/lib/util/auth.d.ts.map index 12dc715ed..c7508aa1e 100644 --- a/@types/lib/util/auth.d.ts.map +++ b/@types/lib/util/auth.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../lib/util/auth.js"],"names":[],"mappings":";yBAMa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAYtD;;;;;;OAMG;IACH,oHA6BC;IACD;;;;;OAKG;IACH,0EAkBC;IACD;;;;OAIG;IACH,+BAGC;;gBArGW,UAAU"} \ No newline at end of file +{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../lib/util/auth.js"],"names":[],"mappings":";yBAMa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAYtD;;;;;;OAMG;IACH,oCAJW,UAAU,cACV,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CA+B1B;IACD;;;;;OAKG;IACH,0BAHW,QAAQ,GACN,GAAG,CAoBf;IACD;;;;OAIG;IACH,0BAFa,IAAI,CAKhB;;gBArGW,UAAU"} \ No newline at end of file diff --git a/@types/lib/util/businessUnit.d.ts b/@types/lib/util/businessUnit.d.ts index b87dd89c4..1cdb535ff 100644 --- a/@types/lib/util/businessUnit.d.ts +++ b/@types/lib/util/businessUnit.d.ts @@ -1,21 +1,21 @@ export default BusinessUnit; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare namespace BusinessUnit { - function refreshBUProperties(properties: import("../../types/mcdev.d.js").Mcdevrc, credentialsName: string): Promise; + function refreshBUProperties(properties: Mcdevrc, credentialsName: string): Promise; } //# sourceMappingURL=businessUnit.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/businessUnit.d.ts.map b/@types/lib/util/businessUnit.d.ts.map index 2a1a47b63..95e117c39 100644 --- a/@types/lib/util/businessUnit.d.ts.map +++ b/@types/lib/util/businessUnit.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"businessUnit.d.ts","sourceRoot":"","sources":["../../../lib/util/businessUnit.js"],"names":[],"mappings":";yBAOa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAcjC,8HAqFpB"} \ No newline at end of file +{"version":3,"file":"businessUnit.d.ts","sourceRoot":"","sources":["../../../lib/util/businessUnit.js"],"names":[],"mappings":";yBAOa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;0BACzC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAcjC,yCAJV,OAAO,mBACP,MAAM,GACJ,OAAO,CAAE,OAAO,CAAC,CAuF7B"} \ No newline at end of file diff --git a/@types/lib/util/cache.d.ts b/@types/lib/util/cache.d.ts index a55e75ece..98e49e2b3 100644 --- a/@types/lib/util/cache.d.ts +++ b/@types/lib/util/cache.d.ts @@ -1,18 +1,10 @@ declare namespace _default { - function initCache(buObject: import("../../types/mcdev.d.js").BuObject): void; - function getCache(): { - [x: string]: { - [x: string]: any; - }; - }; + function initCache(buObject: BuObject): void; + function getCache(): MultiMetadataTypeMap; function clearCache(mid?: number): void; - function getByKey(type: string, key: string): any; - function setMetadata(type: string, metadataMap: { - [x: string]: any; - }): void; - function mergeMetadata(type: string, metadataMap: { - [x: string]: any; - }, overrideMID?: number): void; + function getByKey(type: string, key: string): MetadataTypeItem; + function setMetadata(type: string, metadataMap: MetadataTypeMap): void; + function mergeMetadata(type: string, metadataMap: MetadataTypeMap, overrideMID?: number): void; /** * standardized method for getting data from cache. * @@ -32,7 +24,7 @@ declare namespace _default { * @param {'ObjectID'|'ID'|'CustomerKey'} searchField ObjectID:string(uuid), ID:numeric, CustomerKey:string(name + folder ID) * @returns {string} unique folderPath/ListName combo of list */ - function getListPathName(searchValue: string, searchField: "ID" | "CustomerKey" | "ObjectID"): string; + function getListPathName(searchValue: string, searchField: "ObjectID" | "ID" | "CustomerKey"): string; /** * standardized method for getting data from cache - adapted for special case of lists * ! keeping this in util/cache.js rather than in metadataTypes/List.js to avoid potential circular dependencies @@ -41,24 +33,24 @@ declare namespace _default { * @param {'ObjectID'|'ID'|'CustomerKey'|'ListName'} returnField ObjectID:string(uuid), ID:numeric, CustomerKey:string(name + folder ID) * @returns {string} unique ObjectId of list */ - function getListObjectId(listPathName: string, returnField: "ID" | "CustomerKey" | "ObjectID" | "ListName"): string; + function getListObjectId(listPathName: string, returnField: "ObjectID" | "ID" | "CustomerKey" | "ListName"): string; } export default _default; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; //# sourceMappingURL=cache.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/cache.d.ts.map b/@types/lib/util/cache.d.ts.map index e606d6810..0740fa1e2 100644 --- a/@types/lib/util/cache.d.ts.map +++ b/@types/lib/util/cache.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../lib/util/cache.js"],"names":[],"mappings":";IAkCe,8EAWV;IAMS;;;;MAA2B;IASzB,wCAG4D;IAU9D,kDAAmD;IAQhD;;aAEZ;IASc;;mCAUd;IACD;;;;;;;;;OASG;IACH,8JAgCC;IACD;;;;;;;OAOG;IACH,sGA4BC;IACD;;;;;;;OAOG;IACH,oHAyBC;;;yBArNQ,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY"} \ No newline at end of file +{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../lib/util/cache.js"],"names":[],"mappings":";IAkCe,6BAHA,QAAQ,GACN,IAAI,CAahB;IAMS,qBAFG,oBAAoB,CAEI;IASzB,0BAHD,MAAM,GACJ,IAAI,CAKuD;IAU9D,wBAJC,MAAM,OACN,MAAM,GACJ,gBAAgB,CAEgC;IAQhD,2BAJF,MAAM,eACN,eAAe,GACb,IAAI,CAIhB;IASc,6BALJ,MAAM,eACN,eAAe,gBACf,MAAM,GACJ,IAAI,CAYhB;IACD;;;;;;;;;OASG;IACH,sCAPW,MAAM,eACN,MAAM,GAAC,MAAM,GAAC,OAAO,eACrB,MAAM,eACN,MAAM,gBACN,MAAM,GACJ,MAAM,CAkClB;IACD;;;;;;;OAOG;IACH,sCAJW,MAAM,eACN,UAAU,GAAC,IAAI,GAAC,aAAa,GAC3B,MAAM,CA8BlB;IACD;;;;;;;OAOG;IACH,uCAJW,MAAM,eACN,UAAU,GAAC,IAAI,GAAC,aAAa,GAAC,UAAU,GACtC,MAAM,CA2BlB;;;yBArNQ,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY"} \ No newline at end of file diff --git a/@types/lib/util/cli.d.ts b/@types/lib/util/cli.d.ts index de84d451a..a3d5d9088 100644 --- a/@types/lib/util/cli.d.ts +++ b/@types/lib/util/cli.d.ts @@ -1,22 +1,22 @@ export default Cli; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; -export type ExplainType = import('../../types/mcdev.d.js').ExplainType; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; +export type ExplainType = import("../../types/mcdev.d.js").ExplainType; declare namespace Cli { /** * used when initially setting up a project. @@ -31,7 +31,7 @@ declare namespace Cli { * @param {Mcdevrc} properties config file's json * @returns {Promise.} status */ - function addExtraCredential(properties: import("../../types/mcdev.d.js").Mcdevrc): Promise; + function addExtraCredential(properties: Mcdevrc): Promise; /** * * @param {string[]} dependentTypes types that depent on type @@ -44,7 +44,7 @@ declare namespace Cli { * @param {Mcdevrc} properties config file's json * @returns {void} */ - function logExistingCredentials(properties: import("../../types/mcdev.d.js").Mcdevrc): void; + function logExistingCredentials(properties: Mcdevrc): void; /** * Extends template file for properties.json * update credentials @@ -54,7 +54,7 @@ declare namespace Cli { * @param {boolean} [refreshBUs] if this was triggered by mcdev join, do not refresh BUs * @returns {Promise.} success of update */ - function updateCredential(properties: import("../../types/mcdev.d.js").Mcdevrc, credName: string, refreshBUs?: boolean): Promise; + function updateCredential(properties: Mcdevrc, credName: string, refreshBUs?: boolean): Promise; /** * Returns Object with parameters required for accessing API * @@ -64,7 +64,7 @@ declare namespace Cli { * @param {boolean} [allowAll] Offer ALL as option in BU selection * @returns {Promise.} credential to be used for Business Unit */ - function getCredentialObject(properties: import("../../types/mcdev.d.js").Mcdevrc, target: string, isCredentialOnly?: string | boolean, allowAll?: boolean): Promise; + function getCredentialObject(properties: Mcdevrc, target: string, isCredentialOnly?: boolean | string, allowAll?: boolean): Promise; /** * helps select the right credential in case of bad initial input * @@ -74,7 +74,7 @@ declare namespace Cli { * @param {boolean} [allowAll] Offer ALL as option in BU selection * @returns {Promise.<{businessUnit:string, credential:string}>} selected credential/BU combo */ - function _selectBU(properties: import("../../types/mcdev.d.js").Mcdevrc, credential?: string, isCredentialOnly?: boolean, allowAll?: boolean): Promise<{ + function _selectBU(properties: Mcdevrc, credential?: string, isCredentialOnly?: boolean, allowAll?: boolean): Promise<{ businessUnit: string; credential: string; }>; @@ -86,7 +86,7 @@ declare namespace Cli { * @param {boolean} [refreshBUs] if this was triggered by mcdev join, do not refresh BUs * @returns {Promise.} success of refresh or credential name */ - function _setCredential(properties: import("../../types/mcdev.d.js").Mcdevrc, credName?: string, refreshBUs?: boolean): Promise; + function _setCredential(properties: Mcdevrc, credName?: string, refreshBUs?: boolean): Promise; /** * helper for {@link Cli.addExtraCredential} * @@ -94,7 +94,7 @@ declare namespace Cli { * @param {string} [credName] name of credential that needs updating * @returns {Promise.} credential info */ - function _askCredentials(properties: import("../../types/mcdev.d.js").Mcdevrc, credName?: string): Promise; + function _askCredentials(properties: Mcdevrc, credName?: string): Promise; /** * allows updating the metadata types that shall be retrieved * @@ -102,7 +102,7 @@ declare namespace Cli { * @param {string[]} [setTypesArr] skip user prompt and overwrite with this list if given * @returns {Promise.} - */ - function selectTypes(properties: import("../../types/mcdev.d.js").Mcdevrc, setTypesArr?: string[]): Promise; + function selectTypes(properties: Mcdevrc, setTypesArr?: string[]): Promise; /** * helper for {@link Cli.selectTypes} that converts subtypes back to main type if all and only defaults were selected * this keeps the config automatically upgradable when we add new subtypes or change what is selected by default @@ -120,6 +120,6 @@ declare namespace Cli { * * @returns {ExplainType[]} list of supported types with their apiNames */ - function explainTypes(): import("../../types/mcdev.d.js").ExplainType[]; + function explainTypes(): ExplainType[]; } //# sourceMappingURL=cli.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/cli.d.ts.map b/@types/lib/util/cli.d.ts.map index d944acd82..6835a3a15 100644 --- a/@types/lib/util/cli.d.ts.map +++ b/@types/lib/util/cli.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../lib/util/cli.js"],"names":[],"mappings":";yBAca,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;0BAC7C,OAAO,wBAAwB,EAAE,WAAW;;IAQrD;;;;;OAKG;IACH,sDAQC;IACD;;;;;OAKG;IACH,6GAgBC;IAED;;;;OAIG;IACH,2EAgCC;IACD;;;;;OAKG;IACH,4FAOC;IACD;;;;;;;;OAQG;IACH,mJAQC;IACD;;;;;;;;OAQG;IACH,gNAqEC;IACD;;;;;;;;OAQG;IACH;;;OAsEC;IACD;;;;;;;OAOG;IACH,kJA4DC;IAED;;;;;;OAMG;IACH,gHAmFC;IACD;;;;;;OAMG;IACH,kHAsGC;IACD;;;;;;;;OAQG;IACH;;2BAsBC;IAED;;;;OAIG;IACH,wEAwGC"} \ No newline at end of file +{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../lib/util/cli.js"],"names":[],"mappings":";yBAca,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;0BAC7C,OAAO,wBAAwB,EAAE,WAAW;;IAQrD;;;;;OAKG;IACH,4BAFa,OAAO,CAAE,MAAM,GAAG,OAAO,CAAC,CAUtC;IACD;;;;;OAKG;IACH,wCAHW,OAAO,GACL,OAAO,CAAE,OAAO,GAAG,MAAM,CAAC,CAkBtC;IAED;;;;OAIG;IACH,+CAHW,MAAM,EAAE,GACN,OAAO,CAAE,OAAO,CAAC,CAkC7B;IACD;;;;;OAKG;IACH,4CAHW,OAAO,GACL,IAAI,CAShB;IACD;;;;;;;;OAQG;IACH,sCALW,OAAO,YACP,MAAM,eACN,OAAO,GACL,OAAO,CAAE,MAAM,GAAG,OAAO,CAAC,CAUtC;IACD;;;;;;;;OAQG;IACH,yCANW,OAAO,UACP,MAAM,qBACN,OAAO,GAAG,MAAM,aAChB,OAAO,GACL,OAAO,CAAE,QAAQ,CAAC,CAuE9B;IACD;;;;;;;;OAQG;IACH,+BANW,OAAO,eACP,MAAM,qBACN,OAAO,aACP,OAAO,GACL,OAAO,CAAE;QAAC,YAAY,EAAC,MAAM,CAAC;QAAC,UAAU,EAAC,MAAM,CAAA;KAAC,CAAC,CAwE9D;IACD;;;;;;;OAOG;IACH,oCALW,OAAO,aACP,MAAM,eACN,OAAO,GACL,OAAO,CAAE,OAAO,GAAG,MAAM,CAAC,CA8DtC;IAED;;;;;;OAMG;IACH,qCAJW,OAAO,aACP,MAAM,GACJ,OAAO,CAAE,MAAM,CAAC,CAqF5B;IACD;;;;;;OAMG;IACH,iCAJW,OAAO,gBACP,MAAM,EAAE,GACN,OAAO,CAAE,IAAI,CAAC,CAwG1B;IACD;;;;;;;;OAQG;IACH,uCAJG;QAA4B,aAAa,EAAjC,MAAM,EAAE;KAChB,QAAQ,MAAM,GACJ,IAAI,CAwBhB;IAED;;;;OAIG;IACH,yBAFa,WAAW,EAAE,CA0GzB"} \ No newline at end of file diff --git a/@types/lib/util/config.d.ts b/@types/lib/util/config.d.ts index 0780f909a..628ca2eb8 100644 --- a/@types/lib/util/config.d.ts +++ b/@types/lib/util/config.d.ts @@ -1,21 +1,21 @@ export default config; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare namespace config { let properties: any; /** @@ -25,7 +25,7 @@ declare namespace config { * @param {boolean} [isInit] don't tell the user to run init * @returns {Promise.} central properties object */ - function getProperties(silent?: boolean, isInit?: boolean): Promise; + function getProperties(silent?: boolean, isInit?: boolean): Promise; /** * check if the config file is correctly formatted and has values * @@ -33,13 +33,13 @@ declare namespace config { * @param {boolean} [silent] set to true for internal use w/o cli output * @returns {Promise.} file structure ok OR list of fields to be fixed */ - function checkProperties(properties: import("../../types/mcdev.d.js").Mcdevrc, silent?: boolean): Promise; + function checkProperties(properties: Mcdevrc, silent?: boolean): Promise; /** * defines how the properties.json should look like * used for creating a template and for checking if variables are set * * @returns {Promise.} default properties */ - function getDefaultProperties(): Promise; + function getDefaultProperties(): Promise; } //# sourceMappingURL=config.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/config.d.ts.map b/@types/lib/util/config.d.ts.map index a0fdc2465..e33afa154 100644 --- a/@types/lib/util/config.d.ts.map +++ b/@types/lib/util/config.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../lib/util/config.js"],"names":[],"mappings":";yBASa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;;IAStD;;;;;;OAMG;IACH,8GAyDC;IACD;;;;;;OAMG;IACH,8HAmMC;IACD;;;;;OAKG;IACH,mFAaC"} \ No newline at end of file +{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../lib/util/config.js"],"names":[],"mappings":";yBASa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;;IAStD;;;;;;OAMG;IACH,gCAJW,OAAO,WACP,OAAO,GACL,OAAO,CAAE,OAAO,CAAC,CA2D7B;IACD;;;;;;OAMG;IACH,qCAJW,OAAO,WACP,OAAO,GACL,OAAO,CAAE,OAAO,GAAG,MAAM,EAAE,CAAC,CAqMxC;IACD;;;;;OAKG;IACH,iCAFa,OAAO,CAAE,OAAO,CAAC,CAe7B"} \ No newline at end of file diff --git a/@types/lib/util/devops.d.ts b/@types/lib/util/devops.d.ts index de4d798a8..e6b63bd17 100644 --- a/@types/lib/util/devops.d.ts +++ b/@types/lib/util/devops.d.ts @@ -1,21 +1,21 @@ export default DevOps; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare namespace DevOps { /** * Extracts the delta between a commit and the current state for deployment. @@ -28,7 +28,7 @@ declare namespace DevOps { * @param {number} [commitHistory] cli option to override default commit history value in config * @returns {Promise.} - */ - function getDeltaList(properties: import("../../types/mcdev.d.js").Mcdevrc, range?: string, saveToDeployDir?: boolean, filterPathsCSV?: string, commitHistory?: number): Promise; + function getDeltaList(properties: Mcdevrc, range?: string, saveToDeployDir?: boolean, filterPathsCSV?: string, commitHistory?: number): Promise; /** * wrapper around DevOps.getDeltaList, Builder.buildTemplate and M * @@ -38,7 +38,7 @@ declare namespace DevOps { * @param {number} [commitHistory] cli option to override default commit history value in config * @returns {Promise.} - */ - function buildDeltaDefinitions(properties: import("../../types/mcdev.d.js").Mcdevrc, range: string, diffArr?: import("../../types/mcdev.d.js").DeltaPkgItem[], commitHistory?: number): Promise; + function buildDeltaDefinitions(properties: Mcdevrc, range: string, diffArr?: DeltaPkgItem[], commitHistory?: number): Promise; /** * create markdown file for deployment listing * @@ -46,7 +46,7 @@ declare namespace DevOps { * @param {object} jsonReport - * @returns {void} */ - function document(directory: string, jsonReport: any): void; + function document(directory: string, jsonReport: object): void; /** * should return only the json for all but asset, query and script that are saved as multiple files * additionally, the documentation for dataExtension and automation should be returned @@ -57,6 +57,6 @@ declare namespace DevOps { * @param {string[]} keyArr customerkey of the metadata * @returns {Promise.} list of all files that need to be committed in a flat array ['path/file1.ext', 'path/file2.ext'] */ - function getFilesToCommit(properties: import("../../types/mcdev.d.js").Mcdevrc, buObject: import("../../types/mcdev.d.js").BuObject, metadataType: string, keyArr: string[]): Promise; + function getFilesToCommit(properties: Mcdevrc, buObject: BuObject, metadataType: string, keyArr: string[]): Promise; } //# sourceMappingURL=devops.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/devops.d.ts.map b/@types/lib/util/devops.d.ts.map index 42a633d09..6d6c423d7 100644 --- a/@types/lib/util/devops.d.ts.map +++ b/@types/lib/util/devops.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"devops.d.ts","sourceRoot":"","sources":["../../../lib/util/devops.js"],"names":[],"mappings":";yBAYa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAOtD;;;;;;;;;;OAUG;IACH,kOAqTC;IACD;;;;;;;;OAQG;IACH,iPA+KC;IAED;;;;;;OAMG;IACH,4DA0BC;IACD;;;;;;;;;OASG;IACH,gMAIC"} \ No newline at end of file +{"version":3,"file":"devops.d.ts","sourceRoot":"","sources":["../../../lib/util/devops.js"],"names":[],"mappings":";yBAYa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAOtD;;;;;;;;;;OAUG;IACH,kCAPW,OAAO,UACP,MAAM,oBACN,OAAO,mBACP,MAAM,kBACN,MAAM,GACJ,OAAO,CAAE,YAAY,EAAE,CAAC,CAuTpC;IACD;;;;;;;;OAQG;IACH,2CANW,OAAO,SACP,MAAM,YACN,YAAY,EAAE,kBACd,MAAM,GACJ,OAAO,CAAE,YAAY,EAAE,CAAC,CAiLpC;IAED;;;;;;OAMG;IACH,6BAJW,MAAM,cACN,MAAM,GACJ,IAAI,CA4BhB;IACD;;;;;;;;;OASG;IACH,sCANW,OAAO,YACP,QAAQ,gBACR,MAAM,UACN,MAAM,EAAE,GACN,OAAO,CAAE,MAAM,EAAE,CAAC,CAM9B"} \ No newline at end of file diff --git a/@types/lib/util/file.d.ts b/@types/lib/util/file.d.ts index 452f27ee0..8a66eed2e 100644 --- a/@types/lib/util/file.d.ts +++ b/@types/lib/util/file.d.ts @@ -1,20 +1,20 @@ export default FileFs; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare const FileFs: any; //# sourceMappingURL=file.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/init.config.d.ts b/@types/lib/util/init.config.d.ts index 91d35b78f..5f54ad0ca 100644 --- a/@types/lib/util/init.config.d.ts +++ b/@types/lib/util/init.config.d.ts @@ -1,21 +1,21 @@ export default Init; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare namespace Init { /** * helper method for this.upgradeProject that upgrades project config if needed @@ -23,7 +23,7 @@ declare namespace Init { * @param {Mcdevrc} properties config file's json * @returns {Promise.} returns true if worked without errors */ - function fixMcdevConfig(properties: import("../../types/mcdev.d.js").Mcdevrc): Promise; + function fixMcdevConfig(properties: Mcdevrc): Promise; /** * handles creation/update of all config file from the boilerplate * @@ -39,7 +39,7 @@ declare namespace Init { * @param {string} fieldName dot-concatenated object-path that needs adding * @returns {void} */ - function _updateLeaf(propertiersCur: any, defaultPropsCur: any, fieldName: string): void; + function _updateLeaf(propertiersCur: object, defaultPropsCur: object, fieldName: string): void; /** * returns list of files that need to be updated * diff --git a/@types/lib/util/init.config.d.ts.map b/@types/lib/util/init.config.d.ts.map index 9d8e6ce26..9e0d295dd 100644 --- a/@types/lib/util/init.config.d.ts.map +++ b/@types/lib/util/init.config.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"init.config.d.ts","sourceRoot":"","sources":["../../../lib/util/init.config.js"],"names":[],"mappings":";yBAaa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAQtD;;;;;OAKG;IACH,gGA0LC;IAED;;;;;OAKG;IACH,8EAiEC;IACD;;;;;;;OAOG;IACH,yFAgBC;IACD;;;;;OAKG;IACH;;;OA6BC;IACD;;;;;;;OAOG;IACH;;;0DAoFC;IACD;;;;;OAKG;IACH;;;yBAYC;IACD;;;;OAIG;IACH,6CAuBC"} \ No newline at end of file +{"version":3,"file":"init.config.d.ts","sourceRoot":"","sources":["../../../lib/util/init.config.js"],"names":[],"mappings":";yBAaa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;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/util/init.d.ts b/@types/lib/util/init.d.ts index a70bc34ca..4bdb7cb27 100644 --- a/@types/lib/util/init.d.ts +++ b/@types/lib/util/init.d.ts @@ -1,21 +1,21 @@ export default Init; -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; declare namespace Init { /** * Creates template file for properties.json @@ -25,7 +25,7 @@ declare namespace Init { * @param {boolean} [refreshBUs] if this was triggered by mcdev join, do not refresh BUs * @returns {Promise.} - */ - function initProject(properties: import("../../types/mcdev.d.js").Mcdevrc, credentialName?: string, refreshBUs?: boolean): Promise; + function initProject(properties: Mcdevrc, credentialName?: string, refreshBUs?: boolean): Promise; /** * Creates template file for properties.json * @@ -52,7 +52,7 @@ declare namespace Init { * @param {string} [repoName] if git URL was provided earlier, the repo name was extracted to use it for npm init * @returns {Promise.} success flag */ - function upgradeProject(properties: import("../../types/mcdev.d.js").Mcdevrc, initial?: boolean, repoName?: string): Promise; + function upgradeProject(properties: Mcdevrc, initial?: boolean, repoName?: string): Promise; /** * check if git repo is being saved on a cloud service and warn the user * @@ -67,6 +67,6 @@ declare namespace Init { * @param {Mcdevrc} properties javascript object in .mcdevrc.json * @returns {string[]} list of credential names */ - function _getMissingCredentials(properties: import("../../types/mcdev.d.js").Mcdevrc): string[]; + function _getMissingCredentials(properties: Mcdevrc): string[]; } //# sourceMappingURL=init.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/init.d.ts.map b/@types/lib/util/init.d.ts.map index c965f02c3..6ec701e57 100644 --- a/@types/lib/util/init.d.ts.map +++ b/@types/lib/util/init.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../lib/util/init.js"],"names":[],"mappings":";yBAaa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAQtD;;;;;;;OAOG;IACH,yIAyKC;IAED;;;;OAIG;IACH,sCAyEC;IACD;;OAEG;IACH,uCAwDC;IACD;;;;;;OAMG;IACH,uEAgCC;IACD;;;;;;;OAOG;IACH,sIAqCC;IACD;;;;;OAKG;IACH,gDAgDC;IAED;;;;;;OAMG;IACH,gGAuBC"} \ No newline at end of file +{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../lib/util/init.js"],"names":[],"mappings":";yBAaa,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;sBAC7C,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;gCACrD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;;IAQtD;;;;;;;OAOG;IACH,iCALW,OAAO,mBACP,MAAM,eACN,OAAO,GACL,OAAO,CAAE,IAAI,CAAC,CA2K1B;IAED;;;;OAIG;IACH,wBAFa,OAAO,CAAE,IAAI,CAAC,CA2E1B;IACD;;OAEG;IACH,uCAwDC;IACD;;;;;;OAMG;IACH,6BAJW,MAAM,aACN,MAAM,GACJ,OAAO,CAAE,IAAI,CAAC,CAkC1B;IACD;;;;;;;OAOG;IACH,oCALW,OAAO,YACP,OAAO,aACP,MAAM,GACJ,OAAO,CAAE,OAAO,CAAC,CAuC7B;IACD;;;;;OAKG;IACH,+BAFa,OAAO,CAAE,OAAO,CAAC,CAkD7B;IAED;;;;;;OAMG;IACH,4CAHW,OAAO,GACL,MAAM,EAAE,CAyBpB"} \ No newline at end of file diff --git a/@types/lib/util/init.git.d.ts b/@types/lib/util/init.git.d.ts index 12db60e37..7c6728907 100644 --- a/@types/lib/util/init.git.d.ts +++ b/@types/lib/util/init.git.d.ts @@ -33,8 +33,8 @@ declare namespace Init { * @returns {Promise.<{'user.name': string, 'user.email': string}>} user.name and user.email */ function _getGitConfigUser(): Promise<{ - 'user.name': string; - 'user.email': string; + "user.name": string; + "user.email": string; }>; } //# sourceMappingURL=init.git.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/init.git.d.ts.map b/@types/lib/util/init.git.d.ts.map index e0cd8dc04..040c3c5d7 100644 --- a/@types/lib/util/init.git.d.ts.map +++ b/@types/lib/util/init.git.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"init.git.d.ts","sourceRoot":"","sources":["../../../lib/util/init.git.js"],"names":[],"mappings":";;IAcI;;;;OAIG;IACH;;;OAyDC;IACD;;;;OAIG;IACH,kCAwCC;IACD;;;;OAIG;IACH,0CAgDC;IACD;;;;OAIG;IACH,+CAkEC;IACD;;;;OAIG;IACH;;;OAKC"} \ No newline at end of file +{"version":3,"file":"init.git.d.ts","sourceRoot":"","sources":["../../../lib/util/init.git.js"],"names":[],"mappings":";;IAcI;;;;OAIG;IACH,wBAFa,OAAO,CAAE;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC,CA2DxD;IACD;;;;OAIG;IACH,oBAFa,OAAO,CAAE,IAAI,CAAC,CA0C1B;IACD;;;;OAIG;IACH,0BAFa,OAAO,CAAE,MAAM,CAAC,CAkD5B;IACD;;;;OAIG;IACH,iCAFa,OAAO,CAAE,IAAI,CAAC,CAoE1B;IACD;;;;OAIG;IACH,8BAFa,OAAO,CAAE;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAC,CAAC,CAOjE"} \ No newline at end of file diff --git a/@types/lib/util/init.npm.d.ts b/@types/lib/util/init.npm.d.ts index 02d10378f..b41200708 100644 --- a/@types/lib/util/init.npm.d.ts +++ b/@types/lib/util/init.npm.d.ts @@ -15,8 +15,8 @@ declare namespace Init { * @param {object} [currentContent] what was read from existing package.json file * @returns {Promise.<{script: object, author: string, license: string}>} extended currentContent */ - function _getDefaultPackageJson(currentContent?: any): Promise<{ - script: any; + function _getDefaultPackageJson(currentContent?: object): Promise<{ + script: object; author: string; license: string; }>; diff --git a/@types/lib/util/init.npm.d.ts.map b/@types/lib/util/init.npm.d.ts.map index 884df83c9..20ec3f51b 100644 --- a/@types/lib/util/init.npm.d.ts.map +++ b/@types/lib/util/init.npm.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"init.npm.d.ts","sourceRoot":"","sources":["../../../lib/util/init.npm.js"],"names":[],"mappings":";;IAcI;;;;;;;OAOG;IACH,kEA0GC;IACD;;;;;OAKG;IACH;;;;OA4BC"} \ No newline at end of file +{"version":3,"file":"init.npm.d.ts","sourceRoot":"","sources":["../../../lib/util/init.npm.js"],"names":[],"mappings":";;IAcI;;;;;;;OAOG;IACH,wCAHW,MAAM,GACJ,OAAO,CAAE,OAAO,CAAC,CA4G7B;IACD;;;;;OAKG;IACH,iDAHW,MAAM,GACJ,OAAO,CAAE;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC,CA8BvE"} \ No newline at end of file diff --git a/@types/lib/util/replaceContentBlockReference.d.ts b/@types/lib/util/replaceContentBlockReference.d.ts index 9edfb21f8..ba029c8e4 100644 --- a/@types/lib/util/replaceContentBlockReference.d.ts +++ b/@types/lib/util/replaceContentBlockReference.d.ts @@ -78,29 +78,29 @@ saved */ static createCacheMap(properties: Mcdevrc, buObject: BuObject): Promise; } -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type McdevLogger = import('../../types/mcdev.d.js').McdevLogger; -export type Logger = import('../../types/mcdev.d.js').Logger; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SkipInteraction = import('../../types/mcdev.d.js').SkipInteraction; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; -export type SDKError = import('../../types/mcdev.d.js').SDKError; -export type AssetItemSimple = import('../../types/mcdev.d.js').AssetItemSimple; -export type AssetItemSimpleMap = import('../../types/mcdev.d.js').AssetItemSimpleMap; -export type AssetItemIdSimpleMap = import('../../types/mcdev.d.js').AssetItemIdSimpleMap; -export type ContentBlockConversionTypes = import('../../types/mcdev.d.js').ContentBlockConversionTypes; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type McdevLogger = import("../../types/mcdev.d.js").McdevLogger; +export type Logger = import("../../types/mcdev.d.js").Logger; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SkipInteraction = import("../../types/mcdev.d.js").SkipInteraction; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; +export type SDKError = import("../../types/mcdev.d.js").SDKError; +export type AssetItemSimple = import("../../types/mcdev.d.js").AssetItemSimple; +export type AssetItemSimpleMap = import("../../types/mcdev.d.js").AssetItemSimpleMap; +export type AssetItemIdSimpleMap = import("../../types/mcdev.d.js").AssetItemIdSimpleMap; +export type ContentBlockConversionTypes = import("../../types/mcdev.d.js").ContentBlockConversionTypes; //# sourceMappingURL=replaceContentBlockReference.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/replaceContentBlockReference.d.ts.map b/@types/lib/util/replaceContentBlockReference.d.ts.map index b5d6d9d44..1fc937d43 100644 --- a/@types/lib/util/replaceContentBlockReference.d.ts.map +++ b/@types/lib/util/replaceContentBlockReference.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"replaceContentBlockReference.d.ts","sourceRoot":"","sources":["../../../lib/util/replaceContentBlockReference.js"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;GAEG;AACH;IACI,4FAA4F;IAC5F,sBADW;QAAC,EAAE,EAAE,oBAAoB,CAAC;QAAC,GAAG,EAAE,kBAAkB,CAAC;QAAC,IAAI,EAAE,kBAAkB,CAAA;KAAC,CAKtF;IACF,6EAA6E;IAC7E;YADmB,MAAM,GAAE;YAAC,EAAE,EAAE,MAAM,EAAE,CAAC;YAAC,GAAG,EAAE,MAAM,EAAE,CAAC;YAAC,IAAI,EAAE,MAAM,EAAE,CAAA;SAAC;MAkCtE;IAEF;;;;;;;;OAQG;IACH,6BANW,MAAM,cACN,MAAM,aACN,2BAA2B,EAAE,OAC7B,2BAA2B,GACzB,MAAM,CAmDlB;IACD;;;;;;;OAOG;IACH,gCANW,2BAA2B,cAC3B,MAAM,GAAC,MAAM,cACb,MAAM,WACN,OAAO,GACL,eAAe,CAyB3B;IAED;;;;;;OAMG;IACH,kCALW,eAAe,MACf,2BAA2B,WAC3B,OAAO,GACL,MAAM,CAclB;IAED;;;;;OAKG;IACH,kCAJW,OAAO,YAEP,QAAQ,iBA8ElB;CACJ;yBA7QY,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;0BAC7C,OAAO,wBAAwB,EAAE,WAAW;qBAC5C,OAAO,wBAAwB,EAAE,MAAM;sBACvC,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;8BACrD,OAAO,wBAAwB,EAAE,eAAe;gCAChD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;uBAC7C,OAAO,wBAAwB,EAAE,QAAQ;8BACzC,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;mCACnD,OAAO,wBAAwB,EAAE,oBAAoB;0CACrD,OAAO,wBAAwB,EAAE,2BAA2B"} \ No newline at end of file +{"version":3,"file":"replaceContentBlockReference.d.ts","sourceRoot":"","sources":["../../../lib/util/replaceContentBlockReference.js"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH;;GAEG;AACH;IACI,4FAA4F;IAC5F,sBADW;QAAC,EAAE,EAAE,oBAAoB,CAAC;Q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ClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;uBAC7C,OAAO,wBAAwB,EAAE,QAAQ;8BACzC,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;mCACnD,OAAO,wBAAwB,EAAE,oBAAoB;0CACrD,OAAO,wBAAwB,EAAE,2BAA2B"} \ No newline at end of file diff --git a/@types/lib/util/util.d.ts b/@types/lib/util/util.d.ts index 7547afe41..0df2c995f 100644 --- a/@types/lib/util/util.d.ts +++ b/@types/lib/util/util.d.ts @@ -45,14 +45,14 @@ export namespace Util { * @param {Mcdevrc} properties local mcdev config * @returns {boolean} found market or not */ - function checkMarket(market: string, properties: import("../../types/mcdev.d.js").Mcdevrc): boolean; + function checkMarket(market: string, properties: Mcdevrc): boolean; /** * ensure provided MarketList exists and it's content including markets and BUs checks out * * @param {string} mlName name of marketList * @param {Mcdevrc} properties General configuration to be used in retrieve */ - function verifyMarketList(mlName: string, properties: import("../../types/mcdev.d.js").Mcdevrc): void; + function verifyMarketList(mlName: string, properties: Mcdevrc): void; /** * used to ensure the program tells surrounding software that an unrecoverable error occured * @@ -91,7 +91,7 @@ export namespace Util { * @param {boolean} [handleOutside] if the API reponse is irregular this allows you to handle it outside of this generic method * @returns {boolean} bu found or not */ - function _isValidBU(properties: import("../../types/mcdev.d.js").Mcdevrc, businessUnit: string, handleOutside?: boolean): boolean; + function _isValidBU(properties: Mcdevrc, businessUnit: string, handleOutside?: boolean): boolean; /** * helper that deals with extracting type and subtype * @@ -108,15 +108,13 @@ export namespace Util { * @returns {string[]} type choices */ function getRetrieveTypeChoices(): string[]; - function _createNewLoggerTransport(noLogFile?: boolean): any; + function _createNewLoggerTransport(noLogFile?: boolean): object; let loggerTransports: any; let logger: Logger; function startLogger(restart?: boolean, noLogFile?: boolean): void; function metadataLogger(level: string, type: string, method: string, payload: any, source?: string): void; - function replaceByObject(str: any, obj: { - [x: string]: string; - }): any; - function inverseGet(objs: any, val: string | number): string; + function replaceByObject(str: string | object, obj: TemplateMap): string | object; + function inverseGet(objs: object, val: string | number): string; /** *helper for Mcdev.fixKeys. Retrieve dependent metadata * @@ -140,7 +138,7 @@ export namespace Util { * @param {object} obj some parent object * @returns {any} value of obj.path */ - function resolveObjPath(path: string, obj: any): any; + function resolveObjPath(path: string, obj: object): any; /** * helper to run other commands as if run manually by user * @@ -158,7 +156,7 @@ export namespace Util { * @param {string} searchValue the value which is being looked for * @returns {MetadataTypeItem} metadata to be used in building template */ - function templateSearchResult(results: any[], keyToSearch: string, searchValue: string): any; + function templateSearchResult(results: MetadataTypeItem[], keyToSearch: string, searchValue: string): MetadataTypeItem; /** * configures what is displayed in the console * @@ -227,7 +225,7 @@ export namespace Util { * @param {boolean} [isId] optional flag to indicate if key is an id * @returns {string} string to be appended to log message */ - function getKeysString(keyArr: string | string[], isId?: boolean): string; + function getKeysString(keyArr: string[] | string, isId?: boolean): string; /** * pause execution of code; useful when multiple server calls are dependent on each other and might not be executed right away * @@ -269,7 +267,7 @@ export namespace Util { * @param {object} [filters] only used in recursive calls * @returns {boolean} true if no LIKE filter is defined or if all filters match */ - function fieldsLike(metadata: any, filters?: any): boolean; + function fieldsLike(metadata: MetadataTypeItem, filters?: object): boolean; /** * helper used by SOAP methods to ensure the type always uses an upper-cased first letter * @@ -285,9 +283,7 @@ export namespace Util { * @param {boolean} [returnEmpty] returns array with null element if false/not set; Retriever needs this to be false; Deployer needs it to be true * @returns {TypeKeyCombo} - */ - function createTypeKeyCombo(typeArr: string[], keyArr: string[], returnEmpty?: boolean): { - [x: string]: string[]; - }; + function createTypeKeyCombo(typeArr: string[], keyArr: string[], returnEmpty?: boolean): TypeKeyCombo; /** * async version of Array.find() * returns the first element in the provided array that satisfies the provided testin function @@ -296,27 +292,27 @@ export namespace Util { * @param {Function} asyncCallback callback * @returns {Promise.} first element that passed the test */ - function findAsync(arr: any[], asyncCallback: Function): Promise; + function findAsync(arr: any[], asyncCallback: Function): Promise; } -export type AuthObject = import('../../types/mcdev.d.js').AuthObject; -export type BuObject = import('../../types/mcdev.d.js').BuObject; -export type Cache = import('../../types/mcdev.d.js').Cache; -export type CodeExtract = import('../../types/mcdev.d.js').CodeExtract; -export type CodeExtractItem = import('../../types/mcdev.d.js').CodeExtractItem; -export type DeltaPkgItem = import('../../types/mcdev.d.js').DeltaPkgItem; -export type McdevLogger = import('../../types/mcdev.d.js').McdevLogger; -export type Logger = import('../../types/mcdev.d.js').Logger; -export type Mcdevrc = import('../../types/mcdev.d.js').Mcdevrc; -export type MetadataTypeItem = import('../../types/mcdev.d.js').MetadataTypeItem; -export type MetadataTypeItemDiff = import('../../types/mcdev.d.js').MetadataTypeItemDiff; -export type MetadataTypeItemObj = import('../../types/mcdev.d.js').MetadataTypeItemObj; -export type MetadataTypeMap = import('../../types/mcdev.d.js').MetadataTypeMap; -export type MetadataTypeMapObj = import('../../types/mcdev.d.js').MetadataTypeMapObj; -export type MultiMetadataTypeList = import('../../types/mcdev.d.js').MultiMetadataTypeList; -export type MultiMetadataTypeMap = import('../../types/mcdev.d.js').MultiMetadataTypeMap; -export type SkipInteraction = import('../../types/mcdev.d.js').SkipInteraction; -export type SoapRequestParams = import('../../types/mcdev.d.js').SoapRequestParams; -export type TemplateMap = import('../../types/mcdev.d.js').TemplateMap; -export type TypeKeyCombo = import('../../types/mcdev.d.js').TypeKeyCombo; -export type SDKError = import('../../types/mcdev.d.js').SDKError; +export type AuthObject = import("../../types/mcdev.d.js").AuthObject; +export type BuObject = import("../../types/mcdev.d.js").BuObject; +export type Cache = import("../../types/mcdev.d.js").Cache; +export type CodeExtract = import("../../types/mcdev.d.js").CodeExtract; +export type CodeExtractItem = import("../../types/mcdev.d.js").CodeExtractItem; +export type DeltaPkgItem = import("../../types/mcdev.d.js").DeltaPkgItem; +export type McdevLogger = import("../../types/mcdev.d.js").McdevLogger; +export type Logger = import("../../types/mcdev.d.js").Logger; +export type Mcdevrc = import("../../types/mcdev.d.js").Mcdevrc; +export type MetadataTypeItem = import("../../types/mcdev.d.js").MetadataTypeItem; +export type MetadataTypeItemDiff = import("../../types/mcdev.d.js").MetadataTypeItemDiff; +export type MetadataTypeItemObj = import("../../types/mcdev.d.js").MetadataTypeItemObj; +export type MetadataTypeMap = import("../../types/mcdev.d.js").MetadataTypeMap; +export type MetadataTypeMapObj = import("../../types/mcdev.d.js").MetadataTypeMapObj; +export type MultiMetadataTypeList = import("../../types/mcdev.d.js").MultiMetadataTypeList; +export type MultiMetadataTypeMap = import("../../types/mcdev.d.js").MultiMetadataTypeMap; +export type SkipInteraction = import("../../types/mcdev.d.js").SkipInteraction; +export type SoapRequestParams = import("../../types/mcdev.d.js").SoapRequestParams; +export type TemplateMap = import("../../types/mcdev.d.js").TemplateMap; +export type TypeKeyCombo = import("../../types/mcdev.d.js").TypeKeyCombo; +export type SDKError = import("../../types/mcdev.d.js").SDKError; //# sourceMappingURL=util.d.ts.map \ No newline at end of file diff --git a/@types/lib/util/util.d.ts.map b/@types/lib/util/util.d.ts.map index 6278ed58c..a4ae50ad9 100644 --- a/@types/lib/util/util.d.ts.map +++ b/@types/lib/util/util.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../lib/util/util.js"],"names":[],"mappings":";;;;;;;;yBAkDe,eAAe;;;;IAK1B;;;;;;OAMG;IACH;;;;MAUC;IACD;;;;;;OAMG;IACH,oEAEC;IACD;;;;;;OAMG;IACH,wEAEC;IACD;;;;;;OAMG;IACH,oGAYC;IAED;;;;;OAKG;IACH,sGAqCC;IACD;;;;OAIG;IACH,kCAGC;IACD;;;;;;OAMG;IACH,yCAEC;IACD;;;;;;OAMG;IACH,0CAEC;IAED;;;;;;OAMG;IACH,8EAkBC;IAED;;;;;;;OAOG;IACH,kIAcC;IAED;;;;;OAKG;IACH;;;MASC;IAED;;;;OAIG;IACH,4CAyBC;IAO0B,6DAmE1B;;gBAMS,MAAM;IAUH,mEA8EZ;IAWe,0GAef;IASgB;;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AW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;uBAC7C,OAAO,wBAAwB,EAAE,QAAQ"} \ No newline at end of file +{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../lib/util/util.js"],"names":[],"mappings":";;;;;;;;yBAkDe,eAAe;;;;IAK1B;;;;;;OAMG;IACH,sCAJW;YAAQ,MAAM,GAAC,GAAC;KAAC,iBACjB,MAAM,EAAE,GACN;YAAQ,MAAM,GAAC,GAAC;KAAC,CAY7B;IACD;;;;;;OAMG;IACH,iCAJW,MAAM,EAAE,UACR,MAAM,GACJ,OAAO,CAInB;IACD;;;;;;OAMG;IACH,sCAJW,MAAM,EAAE,UACR,MAAM,GACJ,MAAM,CAIlB;IACD;;;;;;OAMG;IACH,6BAJW,MAAM,cACN,OAAO,GACL,OAAO,CAcnB;IAED;;;;;OAKG;IACH,kCAHW,MAAM,cACN,OAAO,QAuCjB;IACD;;;;OAIG;IACH,6BAFa,IAAI,CAKhB;IACD;;;;;;OAMG;IACH,2BAHW,GAAC,GACC,OAAO,CAInB;IACD;;;;;;OAMG;IACH,4BAHW,GAAC,GACC,OAAO,CAInB;IAED;;;;;;OAMG;IACH,oCAJW,MAAM,kBACN,OAAO,GACL,OAAO,CAoBnB;IAED;;;;;;;OAOG;IACH,gCALW,OAAO,gBACP,MAAM,kBACN,OAAO,GACL,OAAO,CAgBnB;IAED;;;;;OAKG;IACH,yCAHW,MAAM,GACJ;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,OAAO,EAAC,MAAM,CAAA;KAAC,CAWzC;IAED;;;;OAIG;IACH,mCAFa,MAAM,EAAE,CA2BpB;IAO0B,+CAHhB,OAAO,GACL,MAAM,CAqElB;;gBAMS,MAAM;IAUH,+BAJF,OAAO,cACP,OAAO,GACL,IAAI,CAgFhB;IAWe,+BAPL,MAAM,QACN,MAAM,UACN,MAAM,WACN,GAAC,WACD,MAAM,GACJ,IAAI,CAiBhB;IASgB,8BAJN,MAAM,GAAG,MAAM,OACf,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OG;IACH,qCALW,MAAM,EAAE,UACR,MAAM,EAAE,gBACR,OAAO,GACL,YAAY,CAexB;IACD;;;;;;;OAOG;IACH,yDAFa,OAAO,CAAE,GAAG,GAAG,SAAS,CAAC,CAQrC;;yBAj9BQ,OAAO,wBAAwB,EAAE,UAAU;uBAC3C,OAAO,wBAAwB,EAAE,QAAQ;oBACzC,OAAO,wBAAwB,EAAE,KAAK;0BACtC,OAAO,wBAAwB,EAAE,WAAW;8BAC5C,OAAO,wBAAwB,EAAE,eAAe;2BAChD,OAAO,wBAAwB,EAAE,YAAY;0BAC7C,OAAO,wBAAwB,EAAE,WAAW;qBAC5C,OAAO,wBAAwB,EAAE,MAAM;sBACvC,OAAO,wBAAwB,EAAE,OAAO;+BACxC,OAAO,wBAAwB,EAAE,gBAAgB;mCACjD,OAAO,wBAAwB,EAAE,oBAAoB;kCACrD,OAAO,wBAAwB,EAAE,mBAAmB;8BACpD,OAAO,wBAAwB,EAAE,eAAe;iCAChD,OAAO,wBAAwB,EAAE,kBAAkB;oCACnD,OAAO,wBAAwB,EAAE,qBAAqB;mCACtD,OAAO,wBAAwB,EAAE,oBAAoB;8BACrD,OAAO,wBAAwB,EAAE,eAAe;gCAChD,OAAO,wBAAwB,EAAE,iBAAiB;0BAClD,OAAO,wBAAwB,EAAE,WAAW;2BAC5C,OAAO,wBAAwB,EAAE,YAAY;uBAC7C,OAAO,wBAAwB,EAAE,QAAQ"} \ No newline at end of file diff --git a/@types/types/mcdev.d.d.ts b/@types/types/mcdev.d.d.ts index 4c0bf241a..ef30cebf8 100644 --- a/@types/types/mcdev.d.d.ts +++ b/@types/types/mcdev.d.d.ts @@ -33,7 +33,7 @@ export type BuObject = { export type TemplateMap = { [x: string]: string; }; -export type SupportedMetadataTypes = 'asset' | 'asset-archive' | 'asset-asset' | 'asset-audio' | 'asset-block' | 'asset-code' | 'asset-document' | 'asset-image' | 'asset-message' | 'asset-other' | 'asset-rawimage' | 'asset-template' | 'asset-textfile' | 'asset-video' | 'attributeGroup' | 'attributeSet' | 'automation' | 'campaign' | 'contentArea' | 'dataExtension' | 'dataExtensionField' | 'dataExtensionTemplate' | 'dataExtract' | 'dataExtractType' | 'discovery' | 'deliveryProfile' | 'email' | 'emailSend' | 'event' | 'fileLocation' | 'fileTransfer' | 'filter' | 'folder' | 'importFile' | 'journey' | 'list' | 'mobileCode' | 'mobileKeyword' | 'mobileMessage' | 'query' | 'role' | 'script' | 'sendClassification' | 'senderProfile' | 'transactionalEmail' | 'transactionalPush' | 'transactionalSMS' | 'triggeredSend' | 'user' | 'verification'; +export type SupportedMetadataTypes = "asset" | "asset-archive" | "asset-asset" | "asset-audio" | "asset-block" | "asset-code" | "asset-document" | "asset-image" | "asset-message" | "asset-other" | "asset-rawimage" | "asset-template" | "asset-textfile" | "asset-video" | "attributeGroup" | "attributeSet" | "automation" | "campaign" | "contentArea" | "dataExtension" | "dataExtensionField" | "dataExtensionTemplate" | "dataExtract" | "dataExtractType" | "discovery" | "deliveryProfile" | "email" | "emailSend" | "event" | "fileLocation" | "fileTransfer" | "filter" | "folder" | "importFile" | "journey" | "list" | "mobileCode" | "mobileKeyword" | "mobileMessage" | "query" | "role" | "script" | "sendClassification" | "senderProfile" | "transactionalEmail" | "transactionalPush" | "transactionalSMS" | "triggeredSend" | "user" | "verification"; /** * object-key=SupportedMetadataTypes, value=array of external keys */ @@ -117,7 +117,7 @@ export type CodeExtract = { /** * optional for binary files */ - encoding?: 'base64'; + encoding?: "base64"; }; export type QueryItem = { /** @@ -155,7 +155,7 @@ export type QueryItem = { /** * defines how the query writes into the target data extension */ - targetUpdateTypeName: 'Overwrite' | 'Update' | 'Append'; + targetUpdateTypeName: "Overwrite" | "Update" | "Append"; /** * 0|1|2, mapped to targetUpdateTypeName via this.definition.targetUpdateTypeMapping */ @@ -231,7 +231,7 @@ export type AssetItem = { export type AssetMap = { [x: string]: AssetItem; }; -export type AssetSubType = 'archive' | 'asset' | 'audio' | 'block' | 'code' | 'document' | 'image' | 'message' | 'other' | 'rawimage' | 'template' | 'textfile' | 'video'; +export type AssetSubType = "archive" | "asset" | "audio" | "block" | "code" | "document" | "image" | "message" | "other" | "rawimage" | "template" | "textfile" | "video"; export type DataExtensionFieldItem = { /** * id @@ -278,7 +278,7 @@ export type DataExtensionFieldItem = { /** * can only be set on create */ - FieldType: 'Text' | 'Number' | 'Date' | 'Boolean' | 'Decimal' | 'EmailAddress' | 'Phone' | 'Locale'; + FieldType: "Text" | "Number" | "Date" | "Boolean" | "Decimal" | "EmailAddress" | "Phone" | "Locale"; /** * field length */ @@ -339,7 +339,7 @@ export type DataExtensionItem = { /** * retrieved from associated folder */ - r__folder_ContentType: 'dataextension' | 'salesforcedataextension' | 'synchronizeddataextension' | 'shared_dataextension' | 'shared_salesforcedataextension'; + r__folder_ContentType: "dataextension" | "salesforcedataextension" | "synchronizeddataextension" | "shared_dataextension" | "shared_salesforcedataextension"; /** * folder path in which this DE is saved */ @@ -369,7 +369,7 @@ export type DataExtensionItem = { /** * readable name of retention policy */ - c__retentionPolicy?: 'none' | 'allRecordsAndDataextension' | 'allRecords' | 'individialRecords'; + c__retentionPolicy?: "none" | "allRecordsAndDataextension" | "allRecords" | "individialRecords"; /** * number of days/weeks/months/years before retention kicks in */ @@ -402,7 +402,7 @@ export type UserDocument = { /** * - */ - TYPE: 'User' | 'Installed Package' | 'Inactivated User'; + TYPE: "User" | "Installed Package" | "Inactivated User"; /** * equal to UserID; optional in update/create calls */ @@ -491,7 +491,7 @@ export type UserDocument = { /** * - */ - c__type: 'User' | 'Installed Package'; + c__type: "User" | "Installed Package"; /** * (API only) */ @@ -522,12 +522,12 @@ export type UserDocument = { /** * fr-CA, en-US, ... */ - c__LocaleCode: 'en-US' | 'fr-CA' | 'fr-FR' | 'de-DE' | 'it-IT' | 'ja-JP' | 'pt-BR' | 'es-419' | 'es-ES'; + c__LocaleCode: "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "it-IT" | "ja-JP" | "pt-BR" | "es-419" | "es-ES"; /** * (API only) */ Locale?: { - LocaleCode?: 'en-US' | 'fr-CA' | 'fr-FR' | 'de-DE' | 'it-IT' | 'ja-JP' | 'pt-BR' | 'es-419' | 'es-ES'; + LocaleCode?: "en-US" | "fr-CA" | "fr-FR" | "de-DE" | "it-IT" | "ja-JP" | "pt-BR" | "es-419" | "es-ES"; }; /** * - @@ -737,12 +737,12 @@ export type AutomationScheduleSoap = { */ Recurrence: { $?: object; - YearlyRecurrencePatternType?: 'ByYear'; - MonthlyRecurrencePatternType?: 'ByMonth'; - WeeklyRecurrencePatternType?: 'ByWeek'; - DailyRecurrencePatternType?: 'ByDay'; - MinutelyRecurrencePatternType?: 'Interval'; - HourlyRecurrencePatternType?: 'Interval'; + YearlyRecurrencePatternType?: "ByYear"; + MonthlyRecurrencePatternType?: "ByMonth"; + WeeklyRecurrencePatternType?: "ByWeek"; + DailyRecurrencePatternType?: "ByDay"; + MinutelyRecurrencePatternType?: "Interval"; + HourlyRecurrencePatternType?: "Interval"; YearInterval?: number; MonthInterval?: number; WeekInterval?: number; @@ -780,7 +780,7 @@ export type AutomationScheduleSoap = { /** * set to 'EndOn' if AutomationSchedule.icalRecur contains 'UNTIL'; otherwise to 'EndAfter' */ - RecurrenceRangeType: 'EndOn' | 'EndAfter'; + RecurrenceRangeType: "EndOn" | "EndAfter"; /** * only exists if RecurrenceRangeType=='EndAfter' */ @@ -830,11 +830,11 @@ export type AutomationItem = { /** * Starting Source = Schedule / File Drop */ - type?: 'scheduled' | 'triggered'; + type?: "scheduled" | "triggered"; /** * automation status */ - status?: 'Scheduled' | 'Running' | 'Ready' | 'Building' | 'PausedSchedule' | 'InactiveTrigger'; + status?: "Scheduled" | "Running" | "Ready" | "Building" | "PausedSchedule" | "InactiveTrigger"; /** * automation status */ @@ -888,7 +888,7 @@ export type VerificationItem = { /** * key */ - verificationType: 'IsEqualTo' | 'IsLessThan' | 'IsGreaterThan' | 'IsOutsideRange' | 'IsInsideRange' | 'IsNotEqualTo' | 'IsNotLessThan' | 'IsNotGreaterThan' | 'IsNotOutsideRange' | 'IsNotInsideRange'; + verificationType: "IsEqualTo" | "IsLessThan" | "IsGreaterThan" | "IsOutsideRange" | "IsInsideRange" | "IsNotEqualTo" | "IsNotLessThan" | "IsNotGreaterThan" | "IsNotOutsideRange" | "IsNotInsideRange"; /** * used for all verificationTypes; lower value for IsOutsideRange, IsInsideRange, IsNotOutsideRange, IsNotInsideRange */ @@ -981,7 +981,7 @@ export type McdevDeltaPkgItem = { /** * what git recognized as an action */ - gitAction: 'move' | 'add/update' | 'delete'; + gitAction: "move" | "add/update" | "delete"; /** * mcdev credential name */ @@ -991,9 +991,9 @@ export type McdevDeltaPkgItem = { */ _businessUnit: string; }; -export type DeltaPkgItem = import('simple-git').DiffResultTextFile & McdevDeltaPkgItem; -export type RestError = import('sfmc-sdk/util').RestError; -export type SOAPError = import('sfmc-sdk/util').SOAPError; +export type DeltaPkgItem = import("simple-git").DiffResultTextFile & McdevDeltaPkgItem; +export type RestError = import("sfmc-sdk/util").RestError; +export type SOAPError = import("sfmc-sdk/util").SOAPError; export type SDKError = SOAPError & RestError; /** * signals what to insert automatically for things usually asked via wizard @@ -1089,7 +1089,7 @@ export type SoapFilterSimple = { /** * various options */ - simpleOperator: 'equals' | 'notEquals' | 'isNull' | 'isNotNull' | 'greaterThan' | 'lessThan' | 'greaterThanOrEqual' | 'lessThanOrEqual' | 'between' | 'IN' | 'in' | 'like'; + simpleOperator: "equals" | "notEquals" | "isNull" | "isNotNull" | "greaterThan" | "lessThan" | "greaterThanOrEqual" | "lessThanOrEqual" | "between" | "IN" | "in" | "like"; /** * field value */ @@ -1103,7 +1103,7 @@ export type SoapFilterComplex = { /** * various options */ - logicalOperator: 'AND' | 'OR'; + logicalOperator: "AND" | "OR"; /** * string for simple or a new filter-object for complex; omit for isNull and isNotNull */ @@ -1165,7 +1165,7 @@ export type AssetRequestParams = { */ sort?: { property: string; - direction: 'ASC' | 'DESC'; + direction: "ASC" | "DESC"; }[]; /** * simple or complex filter @@ -1180,7 +1180,7 @@ export type AssetFilter = { /** * various options */ - logicalOperator: 'AND' | 'OR'; + logicalOperator: "AND" | "OR"; /** * string for simple or a new filter-object for complex; omit for isNull and isNotNull */ @@ -1194,7 +1194,7 @@ export type AssetFilterSimple = { /** * various options */ - simpleOperator: 'equal' | 'notEquals' | 'isNull' | 'isNotNull' | 'greaterThan' | 'lessThan' | 'greaterThanOrEqual' | 'lessThanOrEqual' | 'between' | 'IN' | 'in' | 'like'; + simpleOperator: "equal" | "notEquals" | "isNull" | "isNotNull" | "greaterThan" | "lessThan" | "greaterThanOrEqual" | "lessThanOrEqual" | "between" | "IN" | "in" | "like"; /** * field value */ @@ -1242,7 +1242,7 @@ export type Mcdevrc = { */ version: string; }; -export type LoggerLevel = 'error' | 'verbose' | 'info' | 'debug'; +export type LoggerLevel = "error" | "verbose" | "info" | "debug"; export type McdevLogger = { /** * (msg) print info message @@ -1257,7 +1257,7 @@ export type McdevLogger = { */ errorStack: Function; }; -export type Logger = import('winston').Logger & McdevLogger; +export type Logger = import("winston").Logger & McdevLogger; export type AssetItemSimple = { id: number; key: string; @@ -1269,7 +1269,7 @@ export type AssetItemSimpleMap = { export type AssetItemIdSimpleMap = { [x: number]: AssetItemSimple; }; -export type ContentBlockConversionTypes = 'id' | 'key' | 'name'; +export type ContentBlockConversionTypes = "id" | "key" | "name"; export type ExplainType = { /** * readable name of type diff --git a/@types/types/mcdev.d.d.ts.map b/@types/types/mcdev.d.d.ts.map index 4e8dd8413..4de71401e 100644 --- a/@types/types/mcdev.d.d.ts.map +++ b/@types/types/mcdev.d.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"mcdev.d.d.ts","sourceRoot":"","sources":["../../types/mcdev.d.js"],"names":[],"mappings":";;;;;;eAEc,MAAM;;;;mBACN,MAAM;;;;aACN,MAAM;;;;UACN,MAAM;;;;UACN,MAAM;;;;mBACN,MAAM;;;;iBACN,MAAM;;;QAGC,MAAM,GAAE,MAAM;;qCACtB,OAAO,G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No newline at end of file diff --git a/lib/metadataTypes/DataExtension.js b/lib/metadataTypes/DataExtension.js index b24a34721..145a69df3 100644 --- a/lib/metadataTypes/DataExtension.js +++ b/lib/metadataTypes/DataExtension.js @@ -278,10 +278,11 @@ class DataExtension extends MetadataType { * Updates a single dataExtension. Also updates their columns in 'dataExtension.columns' * * @param {DataExtensionItem} metadata single metadata entry + * @param {boolean} [handleOutside] if the API reponse is irregular this allows you to handle it outside of this generic method * @returns {Promise} Promise */ - static async update(metadata) { - return super.updateSOAP(metadata); + static async update(metadata, handleOutside) { + return super.updateSOAP(metadata, handleOutside); } /** * Gets executed after deployment of metadata type diff --git a/lib/metadataTypes/Event.js b/lib/metadataTypes/Event.js index 8d167c3bd..58fdc2726 100644 --- a/lib/metadataTypes/Event.js +++ b/lib/metadataTypes/Event.js @@ -4,6 +4,7 @@ import MetadataType from './MetadataType.js'; import { Util } from '../util/util.js'; import File from '../util/file.js'; import cache from '../util/cache.js'; +import deepEqual from 'deep-equal'; /** * @typedef {import('../../types/mcdev.d.js').BuObject} BuObject @@ -24,6 +25,7 @@ import cache from '../util/cache.js'; * @augments MetadataType */ class Event extends MetadataType { + static reCacheDataExtensions = []; /** * Retrieves Metadata of Event Definition. * Endpoint /interaction/v1/eventDefinitions return all Event Definitions with all details. @@ -92,30 +94,26 @@ class Event extends MetadataType { ); } else if (event?.length === 1) { const originalKey = event[0][this.definition.keyField]; - const eventDef = JSON.parse( - Util.replaceByObject( - JSON.stringify(this.postRetrieveTasks(event[0])), - templateVariables - ) + const metadataItemTemplated = Util.replaceByObject( + this.postRetrieveTasks(event[0]), + templateVariables ); - if (!eventDef.dataExtensionId) { + + if (!metadataItemTemplated.r__dataExtension_key) { throw new Error( - `Event.postRetrieveTasks:: ` + - `No Data Extension found for ` + - `event: ${eventDef.name}. ` + - `This cannot be templated` + `Event.postRetrieveTasks:: No Data Extension found for ${this.definition.type}: ${metadataItemTemplated.name}. This cannot be templated.` ); } // remove all fields listed in Definition for templating - this.keepTemplateFields(eventDef); + this.keepTemplateFields(metadataItemTemplated); await File.writeJSONToFile( [templateDir, this.definition.type].join('/'), originalKey + '.' + this.definition.type + '-meta', - JSON.parse(Util.replaceByObject(JSON.stringify(eventDef), templateVariables)) + metadataItemTemplated ); - Util.logger.info(`- templated ${this.definition.type}: ${name}`); - return { metadata: eventDef, type: this.definition.type }; + Util.logger.info(` - templated ${this.definition.type}: ${name}`); + return { metadata: metadataItemTemplated, type: this.definition.type }; } else { throw new Error( `Encountered unknown error when retrieveing ${ @@ -175,7 +173,8 @@ class Event extends MetadataType { static async update(metadataEntry) { return super.updateREST( metadataEntry, - '/interaction/v1/eventDefinitions/' + metadataEntry.id, + '/interaction/v1/eventDefinitions/key:' + + encodeURIComponent(metadataEntry[this.definition.keyField]), 'put' ); } @@ -187,25 +186,8 @@ class Event extends MetadataType { * @returns {MetadataTypeItem} parsed version */ static preDeployTasks(metadata) { - if (metadata.r__dataExtension_key) { - metadata.dataExtensionId = cache.searchForField( - 'dataExtension', - metadata.r__dataExtension_key, - 'CustomerKey', - 'ObjectID' - ); - metadata.dataExtensionName = cache.searchForField( - 'dataExtension', - metadata.r__dataExtension_key, - 'CustomerKey', - 'Name' - ); - metadata.arguments.dataExtensionId = metadata.dataExtensionId; - if (metadata.schema) { - metadata.schema.id = metadata.dataExtensionId; - metadata.schema.name = metadata.dataExtensionName; - } - } + // Note: lots has to be done in createOrUpdate based on what action is required + metadata.arguments ||= {}; metadata.arguments.eventDefinitionKey = metadata.eventDefinitionKey; // standard values @@ -214,6 +196,187 @@ class Event extends MetadataType { metadata.mode = 'Production'; // potentially needs to be set to "1" instead return metadata; } + /** + * helper for {@link MetadataType.upsert} + * + * @param {MetadataTypeMap} metadataMap list of metadata + * @param {string} metadataKey key of item we are looking at + * @param {boolean} hasError error flag from previous code + * @param {MetadataTypeItemDiff[]} metadataToUpdate list of items to update + * @param {MetadataTypeItem[]} metadataToCreate list of items to create + * @returns {Promise.<'create'|'update'|'skip'>} action to take + */ + static async createOrUpdate( + metadataMap, + metadataKey, + hasError, + metadataToUpdate, + metadataToCreate + ) { + const createOrUpdateAction = await super.createOrUpdate( + metadataMap, + metadataKey, + hasError, + metadataToUpdate, + metadataToCreate + ); + const metadataItem = metadataMap[metadataKey]; + if (createOrUpdateAction === 'update') { + if (metadataItem.r__dataExtension_key) { + metadataItem.dataExtensionId = cache.searchForField( + 'dataExtension', + metadataItem.r__dataExtension_key, + 'CustomerKey', + 'ObjectID' + ); + metadataItem.dataExtensionName = cache.searchForField( + 'dataExtension', + metadataItem.r__dataExtension_key, + 'CustomerKey', + 'Name' + ); + metadataItem.arguments.dataExtensionId = metadataItem.dataExtensionId; + if (metadataItem.schema) { + metadataItem.schema.id = metadataItem.dataExtensionId; + metadataItem.schema.name = metadataItem.dataExtensionName; + } + } + if (metadataItem.schema?.fields?.length) { + const normalizedKey = File.reverseFilterIllegalFilenames( + metadataMap[metadataKey][this.definition.keyField] + ); + const cachedVersion = cache.getByKey(this.definition.type, normalizedKey); + if (cachedVersion?.schema?.fields?.length) { + const cacheClone = structuredClone(cachedVersion); + cacheClone.schema.fields = cacheClone.schema.fields.map((field) => { + delete field.isDevicePreference; + return field; + }); + if (!deepEqual(metadataItem?.schema?.fields, cacheClone?.schema?.fields)) { + Util.logger.warn( + ` - ${this.definition.type} ${metadataItem[this.definition.keyField]}: schema fields differ from server version. Resetting as this will not be reflected on dataExtension.` + ); + metadataItem.schema.fields = cacheClone.schema.fields; + } + } + } + } else if (createOrUpdateAction === 'create') { + try { + if (metadataItem.r__dataExtension_key) { + metadataItem.dataExtensionId = cache.searchForField( + 'dataExtension', + metadataItem.r__dataExtension_key, + 'CustomerKey', + 'ObjectID' + ); + metadataItem.dataExtensionName = cache.searchForField( + 'dataExtension', + metadataItem.r__dataExtension_key, + 'CustomerKey', + 'Name' + ); + if (metadataItem.schema) { + delete metadataItem.schema; + Util.logger.info( + ` - ${this.definition.type} ${metadataItem[this.definition.keyField]}: dataExtension ${metadataItem.r__dataExtension_key} found, ignoring schema-section in ${this.definition.type} json` + ); + } + } + } catch { + // no action + } + if (metadataItem.schema) { + if (metadataItem.r__dataExtension_key) { + metadataItem.schema.name = metadataItem.r__dataExtension_key; + } + Util.logger.warn( + `Data Extension ${metadataItem.schema.name || metadataItem[this.definition.keyField]} not found on BU. Creating it automatically based on schema-definition.` + ); + // we want the event api to create the DE for us based on the schema + this.reCacheDataExtensions.push({ + eventKey: metadataItem[this.definition.keyField], + deKey: metadataItem.schema.name || metadataItem[this.definition.keyField], + }); + } + } + return createOrUpdateAction; + } + /** + * Gets executed after deployment of metadata type + * + * @param {MetadataTypeMap} upsertResults metadata mapped by their keyField as returned by update/create + * @param {MetadataTypeMap} originalMetadata metadata to be updated (contains additioanl fields) + * @param {{created: number, updated: number}} createdUpdated counter representing successful creates/updates + * @returns {Promise.} - + */ + static async postDeployTasks(upsertResults, originalMetadata, createdUpdated) { + // CREATE ONLY - if dataExtensions were auto- + if (this.reCacheDataExtensions.length && createdUpdated.created > 0) { + Util.logger.warn(' - Re-caching dependent Metadata: dataExtension'); + const deRetrieve = await DataExtension.retrieveForCache(); + cache.setMetadata('dataExtension', deRetrieve.metadata); + const reDownloadDeKeys = []; + // try to update key & name of the auto-generated dataExtension + for (const { eventKey, deKey } of this.reCacheDataExtensions) { + if (!upsertResults[eventKey]) { + continue; + } + const eventItem = upsertResults[eventKey]; + const newDeKey = cache.searchForField( + 'dataExtension', + eventItem.dataExtensionId, + 'ObjectID', + 'CustomerKey' + ); + // get dataExtension from cache which conveniently already has the ObjectID set + const deObj = cache.getByKey('dataExtension', newDeKey); + const oldName = deObj[DataExtension.definition.nameField]; + // prepare a clone of the DE to update name & key to match the event + const clone = structuredClone(deObj); + clone[DataExtension.definition.keyField] = deKey; + clone[DataExtension.definition.nameField] = deKey; + try { + // update DE on server + await DataExtension.update(clone, true); + Util.logger.info( + ` - changed dataExtension ${newDeKey} (${oldName}) key/name to ${deKey}` + ); + // update cache + deObj[DataExtension.definition.keyField] = deKey; + deObj[DataExtension.definition.nameField] = deKey; + + reDownloadDeKeys.push(deObj[DataExtension.definition.keyField]); + } catch { + // fallback, set DE key to value of DE name + const clone = structuredClone(deObj); + clone[DataExtension.definition.keyField] = oldName; + try { + // update DE on server + await DataExtension.update(clone, true); + Util.logger.info( + ` - changed dataExtension ${newDeKey} (${oldName}) key to ${oldName}` + ); + // update cache + deObj[DataExtension.definition.keyField] = + deObj[DataExtension.definition.nameField]; + + reDownloadDeKeys.push(deObj[DataExtension.definition.keyField]); + } catch { + Util.logger.debug( + ` - failed to change dataExtension ${newDeKey} (${oldName}) key/name` + ); + } + } + } + this.reCacheDataExtensions.length = 0; + + // ensure we have downloaded auto-created DEs + if (reDownloadDeKeys.length) { + const retriever = new Retriever(this.properties, this.buObject); + await retriever.retrieve(['dataExtension'], reDownloadDeKeys); + } + } + } /** * parses retrieved Metadata before saving @@ -234,7 +397,6 @@ class Event extends MetadataType { delete metadata.arguments.dataExtensionId; if (metadata.schema) { delete metadata.schema.id; - delete metadata.schema.name; } } catch (ex) { Util.logger.verbose( @@ -249,6 +411,8 @@ class Event extends MetadataType { // Assign definition to static attributes import MetadataTypeDefinitions from '../MetadataTypeDefinitions.js'; +import DataExtension from './DataExtension.js'; +import Retriever from './../Retriever.js'; Event.definition = MetadataTypeDefinitions.event; export default Event; diff --git a/lib/metadataTypes/MetadataType.js b/lib/metadataTypes/MetadataType.js index c08f662c1..851801cf3 100644 --- a/lib/metadataTypes/MetadataType.js +++ b/lib/metadataTypes/MetadataType.js @@ -148,9 +148,9 @@ class MetadataType { * @param {MetadataTypeMap} upsertResults metadata mapped by their keyField as returned by update/create * @param {MetadataTypeMap} originalMetadata metadata to be updated (contains additioanl fields) * @param {{created: number, updated: number}} createdUpdated counter representing successful creates/updates - * @returns {void} + * @returns {Promise.} - */ - static postDeployTasks(upsertResults, originalMetadata, createdUpdated) {} + static async postDeployTasks(upsertResults, originalMetadata, createdUpdated) {} /** * helper for {@link MetadataType.createREST} diff --git a/lib/metadataTypes/TransactionalEmail.js b/lib/metadataTypes/TransactionalEmail.js index 43920b28b..53920071d 100644 --- a/lib/metadataTypes/TransactionalEmail.js +++ b/lib/metadataTypes/TransactionalEmail.js @@ -117,9 +117,9 @@ class TransactionalEmail extends TransactionalMessage { /** * Gets executed after deployment of metadata type * - * @returns {void} + * @returns {Promise.} - */ - static postDeployTasks() { + static async postDeployTasks() { if (this._createdJourneyKeys?.length) { Util.logger.warn( `Please download related journeys via: mcdev r ${this.buObject.credential}/${ diff --git a/lib/metadataTypes/definitions/Event.definition.js b/lib/metadataTypes/definitions/Event.definition.js index 65f93e775..ca2618862 100644 --- a/lib/metadataTypes/definitions/Event.definition.js +++ b/lib/metadataTypes/definitions/Event.definition.js @@ -279,12 +279,12 @@ export default { // retrieving: false, // template: false, // }, - // 'configurationArguments.unconfigured': { - // isCreateable: false, - // isUpdateable: false, - // retrieving: false, - // template: false, - // }, + 'configurationArguments.unconfigured': { + isCreateable: false, + isUpdateable: false, + retrieving: false, + template: false, + }, // 'configurationArguments.version': { // isCreateable: false, // isUpdateable: false, @@ -928,7 +928,7 @@ export default { template: false, }, 'schema.name': { - isCreateable: false, + isCreateable: true, isUpdateable: true, retrieving: false, template: false, @@ -963,7 +963,7 @@ export default { retrieving: true, template: true, }, - r__dataExtension_CustomerKey: { + r__dataExtension_key: { isCreateable: false, isUpdateable: false, retrieving: true, diff --git a/test/general.test.js b/test/general.test.js index dd9979200..34a3c571b 100644 --- a/test/general.test.js +++ b/test/general.test.js @@ -461,8 +461,8 @@ describe('GENERAL', () => { ); assert.equal( Object.keys(result[buName]['dataExtension']).length, - 5, - 'retrieve should have returned 5 dataExtension' + 7, + 'retrieve should have returned 7 dataExtension' ); assert.equal( Object.keys(result[buName]['dataExtract']).length, diff --git a/test/mockRoot/deploy/testInstance/testBU/event/testExisting_event.event-meta.json b/test/mockRoot/deploy/testInstance/testBU/event/testExisting_event.event-meta.json new file mode 100644 index 000000000..992b65256 --- /dev/null +++ b/test/mockRoot/deploy/testInstance/testBU/event/testExisting_event.event-meta.json @@ -0,0 +1,201 @@ +{ + "type": "APIEvent", + "name": "testExisting_event", + "description": "updated on deploy", + "mode": "Production", + "eventDefinitionKey": "testExisting_event", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": 18, + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "defaultValue": "GetDate()", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "AddedField", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "isVisibleInPicker": true, + "r__dataExtension_key": "testExisting_event - 2024-07-05T080154625" +} diff --git a/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withExistingDE.event-meta.json b/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withExistingDE.event-meta.json new file mode 100644 index 000000000..2c5bddd7a --- /dev/null +++ b/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withExistingDE.event-meta.json @@ -0,0 +1,232 @@ +{ + "type": "APIEvent", + "name": "testNew_event_withExistingDE", + "description": "created on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "eventDefinitionKey": "testNew_event_withExistingDE", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11 + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000", + "r__dataExtension_key": "testExisting_event - 2024-07-05T080154625" +} diff --git a/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withSchema.event-meta.json b/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withSchema.event-meta.json new file mode 100644 index 000000000..5fec35901 --- /dev/null +++ b/test/mockRoot/deploy/testInstance/testBU/event/testNew_event_withSchema.event-meta.json @@ -0,0 +1,193 @@ +{ + "type": "APIEvent", + "name": "testNew_event_withSchema", + "description": "created on deploy", + "mode": "Production", + "eventDefinitionKey": "testNew_event_withSchema", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": 18, + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "defaultValue": "GetDate()", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "isVisibleInPicker": true +} diff --git a/test/resources/9999999/dataExtension/retrieve-CustomerKey=testNew_event_withSchema-response.xml b/test/resources/9999999/dataExtension/retrieve-CustomerKey=testNew_event_withSchema-response.xml new file mode 100644 index 000000000..de023bf46 --- /dev/null +++ b/test/resources/9999999/dataExtension/retrieve-CustomerKey=testNew_event_withSchema-response.xml @@ -0,0 +1,50 @@ + + + + RetrieveResponse + urn:uuid:c198cc12-c34c-4d1d-90b0-5b785a342efc + urn:uuid:a0506b59-1847-4405-8231-6a15e26bbcc9 + http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous + + + 2022-04-21T19:21:50Z + 2022-04-21T19:26:50Z + + + + + + OK + d175de6e-c8e4-4f5d-9c1d-ad64426ff4b7 + + + 2024-07-05T08:01:54.803 + 2024-07-05T08:01:58.923 + 4342972c-a43c-ef11-a5c8-5cba2c702db8 + testNew_event_withSchema + testNew_event_withSchema + + true + false + + + + ContactId + + + _SubscriberKey + + false + false + false + + 2 + + + + diff --git a/test/resources/9999999/dataExtension/retrieve-createdViaEvent-response.xml b/test/resources/9999999/dataExtension/retrieve-createdViaEvent-response.xml new file mode 100644 index 000000000..46c69fe82 --- /dev/null +++ b/test/resources/9999999/dataExtension/retrieve-createdViaEvent-response.xml @@ -0,0 +1,50 @@ + + + + RetrieveResponse + urn:uuid:c198cc12-c34c-4d1d-90b0-5b785a342efc + urn:uuid:a0506b59-1847-4405-8231-6a15e26bbcc9 + http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous + + + 2022-04-21T19:21:50Z + 2022-04-21T19:26:50Z + + + + + + OK + d175de6e-c8e4-4f5d-9c1d-ad64426ff4b7 + + + 2024-07-05T08:01:54.803 + 2024-07-05T08:01:58.923 + 4342972c-a43c-ef11-a5c8-5cba2c702db8 + 0A1730F7-D7E3-4F30-8279-575BDB38D24D + testNew_event_withSchema - 2024-07-08T014814443 + + true + false + + + + ContactId + + + _SubscriberKey + + false + false + false + + 2 + + + + diff --git a/test/resources/9999999/dataExtension/retrieve-response.xml b/test/resources/9999999/dataExtension/retrieve-response.xml index 8e1c6d51e..69cc69e41 100644 --- a/test/resources/9999999/dataExtension/retrieve-response.xml +++ b/test/resources/9999999/dataExtension/retrieve-response.xml @@ -142,6 +142,54 @@ 2 + + + 2024-07-05T08:01:54.803 + 2024-07-05T08:01:58.923 + f2cc2b21-d73a-ef11-a5c8-5cba2c702db8 + testExisting_event - 2024-07-05T080154625 + testExisting_event - 2024-07-05T080154625 + + true + false + + + + ContactId + + + _SubscriberKey + + false + false + false + + 2 + + + + 2024-07-05T08:01:54.803 + 2024-07-05T08:01:58.923 + 4342972c-a43c-ef11-a5c8-5cba2c702db8 + testNew_event_withSchema - 2024-07-08T014814443 + testNew_event_withSchema - 2024-07-08T014814443 + + true + false + + + + ContactId + + + _SubscriberKey + + false + false + false + + 2 + diff --git a/test/resources/9999999/dataExtension/retrieve_event_withSchema-expected.json b/test/resources/9999999/dataExtension/retrieve_event_withSchema-expected.json new file mode 100644 index 000000000..00350d1a1 --- /dev/null +++ b/test/resources/9999999/dataExtension/retrieve_event_withSchema-expected.json @@ -0,0 +1,219 @@ +{ + "CustomerKey": "testNew_event_withSchema", + "Name": "testNew_event_withSchema", + "Description": "", + "IsSendable": true, + "IsTestable": false, + "SendableDataExtensionField": { + "Name": "ContactId" + }, + "SendableSubscriberField": { + "Name": "Subscriber Key" + }, + "Fields": [ + { + "Name": "ContactId", + "DefaultValue": "", + "MaxLength": 18, + "IsRequired": true, + "IsPrimaryKey": true, + "FieldType": "Text" + }, + { + "Name": "Type", + "DefaultValue": "", + "MaxLength": 50, + "IsRequired": true, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "Status", + "DefaultValue": "", + "MaxLength": 50, + "IsRequired": true, + "IsPrimaryKey": true, + "FieldType": "Text" + }, + { + "Name": "Respondent", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "FirstName", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "LastName", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "PreferredLanguage", + "DefaultValue": "", + "MaxLength": 50, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "TouchPoint", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "Datestamp", + "DefaultValue": "GetDate()", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Date" + }, + { + "Name": "StartDate", + "DefaultValue": "", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Date" + }, + { + "Name": "EndDate", + "DefaultValue": "", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Date" + }, + { + "Name": "BroadcastedNotificationDate", + "DefaultValue": "", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Date" + }, + { + "Name": "FirstReminderDate", + "DefaultValue": "", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Date" + }, + { + "Name": "SecondReminderDate", + "DefaultValue": "", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Date" + }, + { + "Name": "Title", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "DisplayName", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "Text", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "Description", + "DefaultValue": "", + "MaxLength": 4000, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "Channel", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "FirstReminderChannel", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "SecondReminderChannel", + "DefaultValue": "", + "MaxLength": 256, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "Email", + "DefaultValue": "", + "MaxLength": 254, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "EmailAddress" + }, + { + "Name": "ArticleOrTaskID", + "DefaultValue": "", + "MaxLength": 18, + "IsRequired": true, + "IsPrimaryKey": true, + "FieldType": "Text" + }, + { + "Name": "Points", + "DefaultValue": "", + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Number" + }, + { + "Name": "TaskType", + "DefaultValue": "", + "MaxLength": 255, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + }, + { + "Name": "TaskArea", + "DefaultValue": "", + "MaxLength": 255, + "IsRequired": false, + "IsPrimaryKey": false, + "FieldType": "Text" + } + ], + "r__folder_ContentType": "dataextension", + "r__folder_Path": "Data Extensions", + "c__retentionPolicy": "none" +} diff --git a/test/resources/9999999/dataExtension/update-afterCreatedViaEvent-response.xml b/test/resources/9999999/dataExtension/update-afterCreatedViaEvent-response.xml new file mode 100644 index 000000000..f342e1357 --- /dev/null +++ b/test/resources/9999999/dataExtension/update-afterCreatedViaEvent-response.xml @@ -0,0 +1,55 @@ + + + + UpdateResponse + urn:uuid:994e213d-1125-450d-b187-32e3870147d1 + urn:uuid:f1fc86ef-c0c8-4c17-a901-a15fc2631f76 + http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous + + + 2022-04-26T20:49:03Z + 2022-04-26T20:54:03Z + + + + + + + OK + Data Extension updated. + 0 + + + 2024-07-05T08:01:54.803 + 2024-07-05T08:01:58.923 + 4342972c-a43c-ef11-a5c8-5cba2c702db8 + testNew_event_withSchema + testNew_event_withSchema + + true + false + + + + ContactId + + + _SubscriberKey + + false + false + false + + 2 + + + dbfedcb6-a809-4101-b314-a7b920c9fb1e + OK + + + diff --git a/test/resources/9999999/dataExtension/update-callout-afterCreatedViaEvent-expected.xml b/test/resources/9999999/dataExtension/update-callout-afterCreatedViaEvent-expected.xml new file mode 100644 index 000000000..b9ba22225 --- /dev/null +++ b/test/resources/9999999/dataExtension/update-callout-afterCreatedViaEvent-expected.xml @@ -0,0 +1 @@ +4342972c-a43c-ef11-a5c8-5cba2c702db8testNew_event_withSchematestNew_event_withSchematruefalseContactId_SubscriberKey2
9999999
\ No newline at end of file diff --git a/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_event_withSchema-response.xml b/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_event_withSchema-response.xml new file mode 100644 index 000000000..9f1ab63ce --- /dev/null +++ b/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKey=testNew_event_withSchema-response.xml @@ -0,0 +1,461 @@ + + + + RetrieveResponse + urn:uuid:6d2f81c8-80ab-44d5-8664-206753e7ac8d + urn:uuid:a7354389-079e-4844-93b5-af6b7bf1d535 + http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous + + + 2022-04-21T19:21:52Z + 2022-04-21T19:26:52Z + + + + + + OK + cfe51e71-6a2b-4cb4-aecd-3777076d63bc + + + eb18160e-ec0f-46ca-b59a-1287dbeb7172 + [testNew_event_withSchema].[DisplayName] + DisplayName + + 256 + false + 15 + false + Text + + + + testNew_event_withSchema + + + + + ae0a3a3e-e81a-4b13-9a70-12ff6903c901 + [testNew_event_withSchema].[PreferredLanguage] + PreferredLanguage + + 50 + false + 6 + false + Text + + + + testNew_event_withSchema + + + + + 3d39db8b-b561-4227-9051-1c201c79033e + [testNew_event_withSchema].[FirstReminderDate] + FirstReminderDate + + false + 12 + false + Date + + + + testNew_event_withSchema + + + + + 4eadce50-f552-41e5-8318-2fd367f043b9 + [testNew_event_withSchema].[Description] + Description + + 4000 + false + 17 + false + Text + + + + testNew_event_withSchema + + + + + d2826773-6965-4e78-9a05-3008ea45a104 + [testNew_event_withSchema].[EndDate] + EndDate + + false + 10 + false + Date + + + + testNew_event_withSchema + + + + + 3bb8fa91-5881-4ca1-ac09-30604ba0b9be + [testNew_event_withSchema].[TaskArea] + TaskArea + + 255 + false + 25 + false + Text + + + + testNew_event_withSchema + + + + + 721b938f-67ab-4d82-bb1c-33add4ec1533 + [testNew_event_withSchema].[ContactId] + ContactId + + 18 + true + 0 + true + Text + + + + testNew_event_withSchema + + + + + 5ccee5f6-f282-4741-899d-400b05c57425 + [testNew_event_withSchema].[FirstName] + FirstName + + 256 + false + 4 + false + Text + + + + testNew_event_withSchema + + + + + d0ec626c-7cba-492b-abd0-48484e0c18bb + [testNew_event_withSchema].[Type] + Type + + 50 + true + 1 + false + Text + + + + testNew_event_withSchema + + + + + 0d49e8cf-cce9-4323-9b17-52f2366f9fc2 + [testNew_event_withSchema].[Datestamp] + Datestamp + GetDate() + false + 8 + false + Date + + + + testNew_event_withSchema + + + + + c44861f7-bac3-4b32-a5f8-744f67a66aaa + [testNew_event_withSchema].[Email] + Email + + 254 + false + 21 + false + EmailAddress + + + + testNew_event_withSchema + + + + + c78d6054-5ce0-4438-a7ad-76b375224033 + [testNew_event_withSchema].[Status] + Status + + 50 + true + 2 + true + Text + + + + testNew_event_withSchema + + + + + 541b063f-7c25-45b2-af53-7fdafbe0ee12 + [testNew_event_withSchema].[BroadcastedNotificationDate] + BroadcastedNotificationDate + + false + 11 + false + Date + + + + testNew_event_withSchema + + + + + ff54519e-931b-432f-9083-861213fa9460 + [testNew_event_withSchema].[TouchPoint] + TouchPoint + + 256 + false + 7 + false + Text + + + + testNew_event_withSchema + + + + + f0a58625-0b62-496f-bea9-9d2722e50864 + [testNew_event_withSchema].[Points] + Points + + false + 23 + false + Number + + + + testNew_event_withSchema + + + + + 43f69e09-9f47-477f-95b6-a9b9b8111f5e + [testNew_event_withSchema].[Title] + Title + + 256 + false + 14 + false + Text + + + + testNew_event_withSchema + + + + + e9cd8c9f-39b0-4c93-8fce-aa3f0ca0d310 + [testNew_event_withSchema].[SecondReminderDate] + SecondReminderDate + + false + 13 + false + Date + + + + testNew_event_withSchema + + + + + 403e68ee-f203-42e1-ac48-af18def0cccd + [testNew_event_withSchema].[TaskType] + TaskType + + 255 + false + 24 + false + Text + + + + testNew_event_withSchema + + + + + 555ad728-f99a-4e13-a992-b70b1ffe36a2 + [testNew_event_withSchema].[Respondent] + Respondent + + 256 + false + 3 + false + Text + + + + testNew_event_withSchema + + + + + 95948e52-e8d0-4908-98a9-cc34cd84233e + [testNew_event_withSchema].[LastName] + LastName + + 256 + false + 5 + false + Text + + + + testNew_event_withSchema + + + + + 7976b904-1ed5-46f0-a524-cd1a787bfb5e + [testNew_event_withSchema].[FirstReminderChannel] + FirstReminderChannel + + 256 + false + 19 + false + Text + + + + testNew_event_withSchema + + + + + ed225fdd-1aff-401d-906e-cd59b4d86fe2 + [testNew_event_withSchema].[SecondReminderChannel] + SecondReminderChannel + + 256 + false + 20 + false + Text + + + + testNew_event_withSchema + + + + + 30222d00-35c5-46e8-ab41-d3febd909eed + [testNew_event_withSchema].[ArticleOrTaskID] + ArticleOrTaskID + + 18 + true + 22 + true + Text + + + + testNew_event_withSchema + + + + + 8c79306f-4f3a-4925-bd48-e6c6905c157c + [testNew_event_withSchema].[StartDate] + StartDate + + false + 9 + false + Date + + + + testNew_event_withSchema + + + + + 1892b0ee-26ea-4280-8bca-e8cc5d3f9658 + [testNew_event_withSchema].[Channel] + Channel + + 256 + false + 18 + false + Text + + + + testNew_event_withSchema + + + + + bf50095e-54ba-42c7-9baf-f91618738d85 + [testNew_event_withSchema].[Text] + Text + + 256 + false + 16 + false + Text + + + + testNew_event_withSchema + + + + + diff --git a/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKeyINtestExisting_dataExtension,testNew_dataExtension-response.xml b/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKeyINtestExisting_dataExtension,testNew_dataExtension-response.xml new file mode 100644 index 000000000..c927c2258 --- /dev/null +++ b/test/resources/9999999/dataExtensionField/retrieve-DataExtension.CustomerKeyINtestExisting_dataExtension,testNew_dataExtension-response.xml @@ -0,0 +1,133 @@ + + + + RetrieveResponse + urn:uuid:6d2f81c8-80ab-44d5-8664-206753e7ac8d + urn:uuid:a7354389-079e-4844-93b5-af6b7bf1d535 + http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous + + + 2022-04-21T19:21:52Z + 2022-04-21T19:26:52Z + + + + + + OK + cfe51e71-6a2b-4cb4-aecd-3777076d63bc + + + 8018397d-880d-4f88-940e-3b4eca098a0c + [testExisting_dataExtension].[ContactKey] + ContactKey + 0 + + 50 + true + 3 + true + Text + + + + testExisting_dataExtension + + + + + bea0e308-5d45-4181-a673-da9972a7c674 + [testExisting_dataExtension].[LastName] + LastName + 0 + + 50 + false + 1 + false + Text + + + + testExisting_dataExtension + + + + + 2557b461-a699-4744-950d-e80a19afc2dc + [testExisting_dataExtension].[EmailAddress] + EmailAddress + 0 + + 254 + true + 2 + false + EmailAddress + + + + testExisting_dataExtension + + + + + 42760528-a8c5-44dd-8c1d-ff34e5daee54 + [testExisting_dataExtension].[FirstName] + FirstName + 0 + + 50 + false + 0 + false + Text + + + + testExisting_dataExtension + + + + + 7b7ef009-4b85-455b-9bdf-b7bef93791d7 + [testExisting_dataExtension].[numberField] + numberField + 0 + + true + 5 + false + Number + + + + testExisting_dataExtension + + + + + c5d553cc-2c2a-464d-953d-6901be040f20 + [testExisting_dataExtension].[decimalField] + decimalField + 3 + + 6 + true + 4 + false + Decimal + + + + testExisting_dataExtension + + + + + diff --git a/test/resources/9999999/dataExtensionField/retrieve-response.xml b/test/resources/9999999/dataExtensionField/retrieve-response.xml index 9b80cbfb2..f1a2268c3 100644 --- a/test/resources/9999999/dataExtensionField/retrieve-response.xml +++ b/test/resources/9999999/dataExtensionField/retrieve-response.xml @@ -200,6 +200,876 @@ testExisting_journey_Quicksend + + + eb18160e-ec0f-46ca-b59a-1287dbeb7172 + [testExisting_event - 2024-07-05T080154625].[DisplayName] + DisplayName + + 256 + false + 15 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + ae0a3a3e-e81a-4b13-9a70-12ff6903c901 + [testExisting_event - 2024-07-05T080154625].[PreferredLanguage] + PreferredLanguage + + 50 + false + 6 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 3d39db8b-b561-4227-9051-1c201c79033e + [testExisting_event - 2024-07-05T080154625].[FirstReminderDate] + FirstReminderDate + + false + 12 + false + Date + + + + testExisting_event - 2024-07-05T080154625 + + + + + 4eadce50-f552-41e5-8318-2fd367f043b9 + [testExisting_event - 2024-07-05T080154625].[Description] + Description + + 4000 + false + 17 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + d2826773-6965-4e78-9a05-3008ea45a104 + [testExisting_event - 2024-07-05T080154625].[EndDate] + EndDate + + false + 10 + false + Date + + + + testExisting_event - 2024-07-05T080154625 + + + + + 3bb8fa91-5881-4ca1-ac09-30604ba0b9be + [testExisting_event - 2024-07-05T080154625].[TaskArea] + TaskArea + + 255 + false + 25 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 721b938f-67ab-4d82-bb1c-33add4ec1533 + [testExisting_event - 2024-07-05T080154625].[ContactId] + ContactId + + 18 + true + 0 + true + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 5ccee5f6-f282-4741-899d-400b05c57425 + [testExisting_event - 2024-07-05T080154625].[FirstName] + FirstName + + 256 + false + 4 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + d0ec626c-7cba-492b-abd0-48484e0c18bb + [testExisting_event - 2024-07-05T080154625].[Type] + Type + + 50 + true + 1 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 0d49e8cf-cce9-4323-9b17-52f2366f9fc2 + [testExisting_event - 2024-07-05T080154625].[Datestamp] + Datestamp + GetDate() + false + 8 + false + Date + + + + testExisting_event - 2024-07-05T080154625 + + + + + c44861f7-bac3-4b32-a5f8-744f67a66aaa + [testExisting_event - 2024-07-05T080154625].[Email] + Email + + 254 + false + 21 + false + EmailAddress + + + + testExisting_event - 2024-07-05T080154625 + + + + + c78d6054-5ce0-4438-a7ad-76b375224033 + [testExisting_event - 2024-07-05T080154625].[Status] + Status + + 50 + true + 2 + true + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 541b063f-7c25-45b2-af53-7fdafbe0ee12 + [testExisting_event - 2024-07-05T080154625].[BroadcastedNotificationDate] + BroadcastedNotificationDate + + false + 11 + false + Date + + + + testExisting_event - 2024-07-05T080154625 + + + + + ff54519e-931b-432f-9083-861213fa9460 + [testExisting_event - 2024-07-05T080154625].[TouchPoint] + TouchPoint + + 256 + false + 7 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + f0a58625-0b62-496f-bea9-9d2722e50864 + [testExisting_event - 2024-07-05T080154625].[Points] + Points + + false + 23 + false + Number + + + + testExisting_event - 2024-07-05T080154625 + + + + + 43f69e09-9f47-477f-95b6-a9b9b8111f5e + [testExisting_event - 2024-07-05T080154625].[Title] + Title + + 256 + false + 14 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + e9cd8c9f-39b0-4c93-8fce-aa3f0ca0d310 + [testExisting_event - 2024-07-05T080154625].[SecondReminderDate] + SecondReminderDate + + false + 13 + false + Date + + + + testExisting_event - 2024-07-05T080154625 + + + + + 403e68ee-f203-42e1-ac48-af18def0cccd + [testExisting_event - 2024-07-05T080154625].[TaskType] + TaskType + + 255 + false + 24 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 555ad728-f99a-4e13-a992-b70b1ffe36a2 + [testExisting_event - 2024-07-05T080154625].[Respondent] + Respondent + + 256 + false + 3 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 95948e52-e8d0-4908-98a9-cc34cd84233e + [testExisting_event - 2024-07-05T080154625].[LastName] + LastName + + 256 + false + 5 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 7976b904-1ed5-46f0-a524-cd1a787bfb5e + [testExisting_event - 2024-07-05T080154625].[FirstReminderChannel] + FirstReminderChannel + + 256 + false + 19 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + ed225fdd-1aff-401d-906e-cd59b4d86fe2 + [testExisting_event - 2024-07-05T080154625].[SecondReminderChannel] + SecondReminderChannel + + 256 + false + 20 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 30222d00-35c5-46e8-ab41-d3febd909eed + [testExisting_event - 2024-07-05T080154625].[ArticleOrTaskID] + ArticleOrTaskID + + 18 + true + 22 + true + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + 8c79306f-4f3a-4925-bd48-e6c6905c157c + [testExisting_event - 2024-07-05T080154625].[StartDate] + StartDate + + false + 9 + false + Date + + + + testExisting_event - 2024-07-05T080154625 + + + + + 1892b0ee-26ea-4280-8bca-e8cc5d3f9658 + [testExisting_event - 2024-07-05T080154625].[Channel] + Channel + + 256 + false + 18 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + bf50095e-54ba-42c7-9baf-f91618738d85 + [testExisting_event - 2024-07-05T080154625].[Text] + Text + + 256 + false + 16 + false + Text + + + + testExisting_event - 2024-07-05T080154625 + + + + + eb18160e-ec0f-46ca-b59a-1287dbeb7172 + [testNew_event_withSchema - 2024-07-08T014814443].[DisplayName] + DisplayName + + 256 + false + 15 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + ae0a3a3e-e81a-4b13-9a70-12ff6903c901 + [testNew_event_withSchema - 2024-07-08T014814443].[PreferredLanguage] + PreferredLanguage + + 50 + false + 6 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 3d39db8b-b561-4227-9051-1c201c79033e + [testNew_event_withSchema - 2024-07-08T014814443].[FirstReminderDate] + FirstReminderDate + + false + 12 + false + Date + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 4eadce50-f552-41e5-8318-2fd367f043b9 + [testNew_event_withSchema - 2024-07-08T014814443].[Description] + Description + + 4000 + false + 17 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + d2826773-6965-4e78-9a05-3008ea45a104 + [testNew_event_withSchema - 2024-07-08T014814443].[EndDate] + EndDate + + false + 10 + false + Date + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 3bb8fa91-5881-4ca1-ac09-30604ba0b9be + [testNew_event_withSchema - 2024-07-08T014814443].[TaskArea] + TaskArea + + 255 + false + 25 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 721b938f-67ab-4d82-bb1c-33add4ec1533 + [testNew_event_withSchema - 2024-07-08T014814443].[ContactId] + ContactId + + 18 + true + 0 + true + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 5ccee5f6-f282-4741-899d-400b05c57425 + [testNew_event_withSchema - 2024-07-08T014814443].[FirstName] + FirstName + + 256 + false + 4 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + d0ec626c-7cba-492b-abd0-48484e0c18bb + [testNew_event_withSchema - 2024-07-08T014814443].[Type] + Type + + 50 + true + 1 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 0d49e8cf-cce9-4323-9b17-52f2366f9fc2 + [testNew_event_withSchema - 2024-07-08T014814443].[Datestamp] + Datestamp + GetDate() + false + 8 + false + Date + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + c44861f7-bac3-4b32-a5f8-744f67a66aaa + [testNew_event_withSchema - 2024-07-08T014814443].[Email] + Email + + 254 + false + 21 + false + EmailAddress + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + c78d6054-5ce0-4438-a7ad-76b375224033 + [testNew_event_withSchema - 2024-07-08T014814443].[Status] + Status + + 50 + true + 2 + true + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 541b063f-7c25-45b2-af53-7fdafbe0ee12 + [testNew_event_withSchema - 2024-07-08T014814443].[BroadcastedNotificationDate] + BroadcastedNotificationDate + + false + 11 + false + Date + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + ff54519e-931b-432f-9083-861213fa9460 + [testNew_event_withSchema - 2024-07-08T014814443].[TouchPoint] + TouchPoint + + 256 + false + 7 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + f0a58625-0b62-496f-bea9-9d2722e50864 + [testNew_event_withSchema - 2024-07-08T014814443].[Points] + Points + + false + 23 + false + Number + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 43f69e09-9f47-477f-95b6-a9b9b8111f5e + [testNew_event_withSchema - 2024-07-08T014814443].[Title] + Title + + 256 + false + 14 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + e9cd8c9f-39b0-4c93-8fce-aa3f0ca0d310 + [testNew_event_withSchema - 2024-07-08T014814443].[SecondReminderDate] + SecondReminderDate + + false + 13 + false + Date + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 403e68ee-f203-42e1-ac48-af18def0cccd + [testNew_event_withSchema - 2024-07-08T014814443].[TaskType] + TaskType + + 255 + false + 24 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 555ad728-f99a-4e13-a992-b70b1ffe36a2 + [testNew_event_withSchema - 2024-07-08T014814443].[Respondent] + Respondent + + 256 + false + 3 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 95948e52-e8d0-4908-98a9-cc34cd84233e + [testNew_event_withSchema - 2024-07-08T014814443].[LastName] + LastName + + 256 + false + 5 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 7976b904-1ed5-46f0-a524-cd1a787bfb5e + [testNew_event_withSchema - 2024-07-08T014814443].[FirstReminderChannel] + FirstReminderChannel + + 256 + false + 19 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + ed225fdd-1aff-401d-906e-cd59b4d86fe2 + [testNew_event_withSchema - 2024-07-08T014814443].[SecondReminderChannel] + SecondReminderChannel + + 256 + false + 20 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 30222d00-35c5-46e8-ab41-d3febd909eed + [testNew_event_withSchema - 2024-07-08T014814443].[ArticleOrTaskID] + ArticleOrTaskID + + 18 + true + 22 + true + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 8c79306f-4f3a-4925-bd48-e6c6905c157c + [testNew_event_withSchema - 2024-07-08T014814443].[StartDate] + StartDate + + false + 9 + false + Date + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + 1892b0ee-26ea-4280-8bca-e8cc5d3f9658 + [testNew_event_withSchema - 2024-07-08T014814443].[Channel] + Channel + + 256 + false + 18 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + + + + bf50095e-54ba-42c7-9baf-f91618738d85 + [testNew_event_withSchema - 2024-07-08T014814443].[Text] + Text + + 256 + false + 16 + false + Text + + + + testNew_event_withSchema - 2024-07-08T014814443 + + diff --git a/test/resources/9999999/event/build-expected.json b/test/resources/9999999/event/build-expected.json new file mode 100644 index 000000000..e54d7af29 --- /dev/null +++ b/test/resources/9999999/event/build-expected.json @@ -0,0 +1,228 @@ +{ + "type": "APIEvent", + "name": "testTemplated_event", + "description": "", + "eventDefinitionKey": "testTemplated_event", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "sourceApplicationExtensionId": "00000000-0000-0000-0000-000000000000", + "filterDefinitionTemplate": "", + "iconUrl": "", + "arguments": { "serializedObjectType": 11, "criteria": "" }, + "metaData": { "scheduleState": "No Schedule" }, + "isVisibleInPicker": true, + "isPlatformObject": false, + "category": "Event", + "automationId": "00000000-0000-0000-0000-000000000000", + "disableDEDataLogging": false, + "r__dataExtension_key": "testTemplated_event - 2024-07-05T080154625" +} diff --git a/test/resources/9999999/event/get-expected.json b/test/resources/9999999/event/get-expected.json new file mode 100644 index 000000000..13bc7239f --- /dev/null +++ b/test/resources/9999999/event/get-expected.json @@ -0,0 +1,235 @@ +{ + "type": "APIEvent", + "name": "testExisting_event", + "description": "", + "createdDate": "2024-07-05T06:12:24.227", + "createdBy": 700304523, + "modifiedDate": "2024-07-05T08:01:55.4", + "modifiedBy": 700304523, + "eventDefinitionKey": "testExisting_event", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "sourceApplicationExtensionId": "00000000-0000-0000-0000-000000000000", + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "filterDefinitionTemplate": "", + "iconUrl": "", + "arguments": { "serializedObjectType": 11, "criteria": "" }, + "metaData": { "scheduleState": "No Schedule" }, + "interactionCount": 0, + "isVisibleInPicker": true, + "isPlatformObject": false, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000", + "disableDEDataLogging": false, + "r__dataExtension_key": "testExisting_event - 2024-07-05T080154625" +} diff --git a/test/resources/9999999/event/post_withExistingDE-callout-expected.json b/test/resources/9999999/event/post_withExistingDE-callout-expected.json new file mode 100644 index 000000000..d30fa72f7 --- /dev/null +++ b/test/resources/9999999/event/post_withExistingDE-callout-expected.json @@ -0,0 +1,17 @@ +{ + "type": "APIEvent", + "name": "testNew_event_withExistingDE", + "description": "created on deploy", + "eventDefinitionKey": "testNew_event_withExistingDE", + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11, + "eventDefinitionKey": "testNew_event_withExistingDE" + }, + "metaData": {}, + "isVisibleInPicker": true, + "category": "Event", + "automationId": "00000000-0000-0000-0000-000000000000", + "mode": "Production", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8" +} diff --git a/test/resources/9999999/event/post_withExistingDE-expected.json b/test/resources/9999999/event/post_withExistingDE-expected.json new file mode 100644 index 000000000..7f9700933 --- /dev/null +++ b/test/resources/9999999/event/post_withExistingDE-expected.json @@ -0,0 +1,21 @@ +{ + "type": "APIEvent", + "name": "testNew_event_withExistingDE", + "description": "created on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "eventDefinitionKey": "testNew_event_withExistingDE", + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11 + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000", + "r__dataExtension_key": "testExisting_event - 2024-07-05T080154625" +} diff --git a/test/resources/9999999/event/post_withSchema-callout-expected.json b/test/resources/9999999/event/post_withSchema-callout-expected.json new file mode 100644 index 000000000..f4de65b39 --- /dev/null +++ b/test/resources/9999999/event/post_withSchema-callout-expected.json @@ -0,0 +1,196 @@ +{ + "type": "APIEvent", + "name": "testNew_event_withSchema", + "description": "created on deploy", + "mode": "Production", + "eventDefinitionKey": "testNew_event_withSchema", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": 18, + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "defaultValue": "GetDate()", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "isVisibleInPicker": true, + "arguments": { + "eventDefinitionKey": "testNew_event_withSchema" + } +} diff --git a/test/resources/9999999/event/post_withSchema-expected.json b/test/resources/9999999/event/post_withSchema-expected.json new file mode 100644 index 000000000..5c843e21e --- /dev/null +++ b/test/resources/9999999/event/post_withSchema-expected.json @@ -0,0 +1,232 @@ +{ + "type": "APIEvent", + "name": "testNew_event_withSchema", + "description": "created on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "eventDefinitionKey": "testNew_event_withSchema", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11 + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000", + "r__dataExtension_key": "testNew_event_withSchema" +} diff --git a/test/resources/9999999/event/put-callout-expected.json b/test/resources/9999999/event/put-callout-expected.json new file mode 100644 index 000000000..d1bb47dcb --- /dev/null +++ b/test/resources/9999999/event/put-callout-expected.json @@ -0,0 +1,202 @@ +{ + "type": "APIEvent", + "name": "testExisting_event", + "description": "updated on deploy", + "mode": "Production", + "eventDefinitionKey": "testExisting_event", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "defaultValue": "GetDate()", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey", + "id": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "name": "testExisting_event - 2024-07-05T080154625" + }, + "isVisibleInPicker": true, + "arguments": { + "eventDefinitionKey": "testExisting_event", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8" + }, + "isPlatformObject": false, + "id": "d8d57832-ce9c-4bf6-8c24-3044ece5dffd", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8" +} diff --git a/test/resources/9999999/event/put-expected.json b/test/resources/9999999/event/put-expected.json new file mode 100644 index 000000000..458223607 --- /dev/null +++ b/test/resources/9999999/event/put-expected.json @@ -0,0 +1,233 @@ +{ + "type": "APIEvent", + "name": "testExisting_event", + "description": "updated on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "eventDefinitionKey": "testExisting_event", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11 + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "isPlatformObject": false, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000", + "r__dataExtension_key": "testExisting_event - 2024-07-05T080154625" +} diff --git a/test/resources/9999999/event/template-expected.json b/test/resources/9999999/event/template-expected.json new file mode 100644 index 000000000..6267f6b1c --- /dev/null +++ b/test/resources/9999999/event/template-expected.json @@ -0,0 +1,228 @@ +{ + "type": "APIEvent", + "name": "{{{prefix}}}event", + "description": "", + "eventDefinitionKey": "{{{prefix}}}event", + "schema": { + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey" + }, + "sourceApplicationExtensionId": "00000000-0000-0000-0000-000000000000", + "filterDefinitionTemplate": "", + "iconUrl": "", + "arguments": { "serializedObjectType": 11, "criteria": "" }, + "metaData": { "scheduleState": "No Schedule" }, + "isVisibleInPicker": true, + "isPlatformObject": false, + "category": "Event", + "automationId": "00000000-0000-0000-0000-000000000000", + "disableDEDataLogging": false, + "r__dataExtension_key": "{{{prefix}}}event - 2024-07-05T080154625" +} diff --git a/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json b/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json index eee23eeca..58df58392 100644 --- a/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json +++ b/test/resources/9999999/interaction/v1/eventDefinitions/get-response.json @@ -1,5 +1,5 @@ { - "count": 1, + "count": 4, "page": 1, "pageSize": 50, "links": {}, @@ -15,7 +15,8 @@ "modifiedBy": 7586085, "mode": "Production", "eventDefinitionKey": "APIEvent-60130566-e2fe-eb29-4140-15c27093a80b", - "dataExtensionName": "Contact_Data", + "dataExtensionId": "1c8064d5-6502-ef11-a5c8-5cba2c702db8", + "dataExtensionName": "testExisting_journey_Quicksend", "sourceApplicationExtensionId": "7db1f972-f8b7-49b6-91b5-fa218e13953d", "filterDefinitionTemplate": "", "iconUrl": "/events/images/icon_journeyBuilder-event-api-blue.svg", @@ -119,6 +120,255 @@ "publishedInteractionCount": 0, "automationId": "a3c606a8-19d7-4866-8804-5f43dc4502ea", "disableDEDataLogging": false + }, + { + "id": "d8d57832-ce9c-4bf6-8c24-3044ece5dffd", + "type": "APIEvent", + "name": "testExisting_event", + "description": "", + "createdDate": "2024-07-05T06:12:24.227", + "createdBy": 700304523, + "modifiedDate": "2024-07-05T08:01:55.4", + "modifiedBy": 700304523, + "mode": "Production", + "eventDefinitionKey": "testExisting_event", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "dataExtensionName": "testExisting_event - 2024-07-05T080154625", + "schema": { + "id": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "name": "testExisting_event - 2024-07-05T080154625", + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey", + "isPlatformObject": false + }, + "sourceApplicationExtensionId": "00000000-0000-0000-0000-000000000000", + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "filterDefinitionTemplate": "", + "iconUrl": "", + "arguments": { + "serializedObjectType": 11, + "eventDefinitionKey": "testExisting_event", + "eventDefinitionId": "d8d57832-ce9c-4bf6-8c24-3044ece5dffd", + "dataExtensionId": "00000000-0000-0000-0000-000000000000", + "criteria": "" + }, + "metaData": { + "scheduleState": "No Schedule" + }, + "interactionCount": 0, + "isVisibleInPicker": true, + "isPlatformObject": false, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000", + "disableDEDataLogging": false } ] } diff --git a/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/delete-response.txt b/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/delete-response.txt new file mode 100644 index 000000000..e69de29bb diff --git a/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/put-response.json b/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/put-response.json new file mode 100644 index 000000000..668eda9ea --- /dev/null +++ b/test/resources/9999999/interaction/v1/eventDefinitions/key_testExisting_event/put-response.json @@ -0,0 +1,241 @@ +{ + "id": "d8d57832-ce9c-4bf6-8c24-3044ece5dffd", + "type": "APIEvent", + "name": "testExisting_event", + "description": "updated on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "mode": "Production", + "eventDefinitionKey": "testExisting_event", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "schema": { + "id": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "name": "testExisting_event - 2024-07-05T080154625", + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey", + "isPlatformObject": false + }, + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11, + "eventDefinitionKey": "testExisting_event", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "eventDefinitionId": "d8d57832-ce9c-4bf6-8c24-3044ece5dffd" + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "isPlatformObject": false, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000" +} diff --git a/test/resources/9999999/interaction/v1/eventDefinitions/post_withExistingDE-response.json b/test/resources/9999999/interaction/v1/eventDefinitions/post_withExistingDE-response.json new file mode 100644 index 000000000..5b2f38d4e --- /dev/null +++ b/test/resources/9999999/interaction/v1/eventDefinitions/post_withExistingDE-response.json @@ -0,0 +1,26 @@ +{ + "id": "21ab68de-2e2f-40b2-b455-c977cbdd4335", + "type": "APIEvent", + "name": "testNew_event_withExistingDE", + "description": "created on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "mode": "Production", + "eventDefinitionKey": "testNew_event_withExistingDE", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8", + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11, + "eventDefinitionKey": "testNew_event_withExistingDE", + "eventDefinitionId": "21ab68de-2e2f-40b2-b455-c977cbdd4335", + "dataExtensionId": "f2cc2b21-d73a-ef11-a5c8-5cba2c702db8" + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000" +} diff --git a/test/resources/9999999/interaction/v1/eventDefinitions/post_withSchema-response.json b/test/resources/9999999/interaction/v1/eventDefinitions/post_withSchema-response.json new file mode 100644 index 000000000..7b46ece4a --- /dev/null +++ b/test/resources/9999999/interaction/v1/eventDefinitions/post_withSchema-response.json @@ -0,0 +1,241 @@ +{ + "id": "b9cb2b05-738d-4f49-b53d-28e3bbe52d12", + "type": "APIEvent", + "name": "testNew_event_withSchema", + "description": "created on deploy", + "createdDate": "0001-01-01T00:00:00", + "createdBy": 0, + "modifiedDate": "0001-01-01T00:00:00", + "modifiedBy": 0, + "mode": "Production", + "eventDefinitionKey": "testNew_event_withSchema", + "dataExtensionId": "4342972c-a43c-ef11-a5c8-5cba2c702db8", + "dataExtensionName": "testNew_event_withSchema - 2024-07-08T014814443", + "schema": { + "id": "4342972c-a43c-ef11-a5c8-5cba2c702db8", + "name": "testNew_event_withSchema - 2024-07-08T014814443", + "fields": [ + { + "name": "ContactId", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Type", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Status", + "dataType": "Text", + "maxLength": "50", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Respondent", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "LastName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "PreferredLanguage", + "dataType": "Text", + "maxLength": "50", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TouchPoint", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Datestamp", + "dataType": "Date", + "isNullable": true, + "defaultValue": "GetDate()", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "StartDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "EndDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "BroadcastedNotificationDate", + "dataType": "Date", + "isNullable": true, + "defaultValue": "", + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderDate", + "dataType": "Date", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Title", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "DisplayName", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Text", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Description", + "dataType": "Text", + "maxLength": "4000", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Channel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "FirstReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "SecondReminderChannel", + "dataType": "Text", + "maxLength": "256", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "Email", + "dataType": "Email", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "ArticleOrTaskID", + "dataType": "Text", + "maxLength": "18", + "isNullable": false, + "isPrimaryKey": true, + "isDevicePreference": false + }, + { + "name": "Points", + "dataType": "Number", + "maxLength": "", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskType", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + }, + { + "name": "TaskArea", + "dataType": "Text", + "maxLength": "255", + "isNullable": true, + "isPrimaryKey": false, + "isDevicePreference": false + } + ], + "sendableCustomObjectField": "ContactId", + "sendableSubscriberField": "_SubscriberKey", + "isPlatformObject": false + }, + "filterDefinitionId": "00000000-0000-0000-0000-000000000000", + "arguments": { + "serializedObjectType": 11, + "eventDefinitionKey": "testNew_event_withSchema", + "eventDefinitionId": "b9cb2b05-738d-4f49-b53d-28e3bbe52d12", + "dataExtensionId": "00000000-0000-0000-0000-000000000000" + }, + "metaData": {}, + "interactionCount": 0, + "isVisibleInPicker": true, + "category": "Event", + "publishedInteractionCount": 0, + "automationId": "00000000-0000-0000-0000-000000000000" +} diff --git a/test/type.automation.test.js b/test/type.automation.test.js index 610d9908a..c56e4b117 100644 --- a/test/type.automation.test.js +++ b/test/type.automation.test.js @@ -162,7 +162,7 @@ describe('type: automation', () => { 'five cached automation expected' ); - // const scheduleCalloutList = testUtils.getSoapCallout('Schedule'); + // const scheduleCalloutList = testUtils.getSoapCallouts('Schedule'); // const objectIds = { // testNew_automation: 'a8afb0e2-b00a-4c88-ad2e-1f7f8788c560', // testExisting_automation: '08afb0e2-b00a-4c88-ad2e-1f7f8788c560', diff --git a/test/type.dataExtension.test.js b/test/type.dataExtension.test.js index 805c9a83a..a0622d740 100644 --- a/test/type.dataExtension.test.js +++ b/test/type.dataExtension.test.js @@ -27,8 +27,8 @@ describe('type: dataExtension', () => { const result = cache.getCache(); assert.equal( result.dataExtension ? Object.keys(result.dataExtension).length : 0, - 5, - 'only 5 dataExtension expected' + 7, + 'only 7 dataExtension expected' ); assert.deepEqual( await testUtils.getActualJson('testExisting_dataExtension', 'dataExtension'), @@ -116,8 +116,8 @@ describe('type: dataExtension', () => { const result = cache.getCache(); assert.equal( result.dataExtension ? Object.keys(result.dataExtension).length : 0, - 7, - '7 dataExtensions expected' + 9, + '9 dataExtensions expected' ); // insert assert.deepEqual( diff --git a/test/type.event.test.js b/test/type.event.test.js index 11731911d..28128f4cf 100644 --- a/test/type.event.test.js +++ b/test/type.event.test.js @@ -1,13 +1,12 @@ import * as chai from 'chai'; const assert = chai.assert; -// const expect = chai.expect; +const expect = chai.expect; import chaiFiles from 'chai-files'; -// import cache from '../lib/util/cache.js'; +import cache from '../lib/util/cache.js'; import * as testUtils from './utils.js'; import handler from '../lib/index.js'; chai.use(chaiFiles); -// const file = chaiFiles.file; describe('type: event', () => { beforeEach(() => { @@ -18,12 +17,192 @@ describe('type: event', () => { testUtils.mockReset(); }); - describe('Retrieve ================', () => {}); + describe('Retrieve ================', () => { + it('Should retrieve a event', async () => { + // WHEN + await handler.retrieve('testInstance/testBU', ['event']); + // THEN + assert.equal(process.exitCode, 0, 'retrieve should not have thrown an error'); + // get results from cache + const result = cache.getCache(); + assert.equal( + result.event ? Object.keys(result.event).length : 0, + 4, + 'only 4 event expected' + ); + assert.deepEqual( + await testUtils.getActualJson('testExisting_event', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'get'), + 'returned JSON was not equal expected' + ); + assert.equal( + testUtils.getAPIHistoryLength(), + 4, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + }); describe('Deploy ================', () => { beforeEach(() => { testUtils.mockSetup(true); }); + + it('Should create an event & dataExtension via schema', async () => { + // prepare + testUtils.copyFile( + 'interaction/v1/eventDefinitions/post_withSchema-response.json', + 'interaction/v1/eventDefinitions/post-response.json' + ); + testUtils.copyFile( + 'dataExtension/retrieve-createdViaEvent-response.xml', + 'dataExtension/retrieve-response.xml' + ); + testUtils.copyFile( + 'dataExtension/update-afterCreatedViaEvent-response.xml', + 'dataExtension/update-response.xml' + ); + + await handler.deploy('testInstance/testBU', ['event'], ['testNew_event_withSchema']); + // THEN + assert.equal(process.exitCode, 0, 'deploy should not have thrown an error'); + // get results from cache + const result = cache.getCache(); + assert.equal( + result.event ? Object.keys(result.event).length : 0, + 5, + '5 events expected' + ); + // get callouts + const createCallout = testUtils.getRestCallout( + 'post', + '/interaction/v1/eventDefinitions/' + ); + // confirm created item + assert.deepEqual( + createCallout, + await testUtils.getExpectedJson('9999999', 'event', 'post_withSchema-callout'), + 'create-payload JSON was not equal expected' + ); + assert.deepEqual( + await testUtils.getActualJson('testNew_event_withSchema', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'post_withSchema'), + 'returned new-JSON was not equal expected for insert event' + ); + // confirm we changed the dataExtension key correctly + const updateCalloutDE = testUtils.getSoapCallouts('Update', 'DataExtension'); + expect(updateCalloutDE[0]).to.equal( + await testUtils.getExpectedFile( + '9999999', + 'dataExtension', + 'update-callout-afterCreatedViaEvent', + 'xml' + ) + ); + + // confirm created dataExtension + assert.deepEqual( + await testUtils.getActualJson('testNew_event_withSchema', 'dataExtension'), + await testUtils.getExpectedJson( + '9999999', + 'dataExtension', + 'retrieve_event_withSchema' + ), + + 'returned metadata was not equal expected' + ); + + // check number of API calls + assert.equal( + testUtils.getAPIHistoryLength(), + 14, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + + it('Should create an event with pre-Existing dataExtension', async () => { + // prepare + testUtils.copyFile( + 'interaction/v1/eventDefinitions/post_withExistingDE-response.json', + 'interaction/v1/eventDefinitions/post-response.json' + ); + + await handler.deploy( + 'testInstance/testBU', + ['event'], + ['testNew_event_withExistingDE'] + ); + // THEN + assert.equal(process.exitCode, 0, 'deploy should not have thrown an error'); + // get results from cache + const result = cache.getCache(); + assert.equal( + result.event ? Object.keys(result.event).length : 0, + 5, + '5 events expected' + ); + // get callouts + const createCallout = testUtils.getRestCallout( + 'post', + '/interaction/v1/eventDefinitions/' + ); + // confirm created item + assert.deepEqual( + createCallout, + await testUtils.getExpectedJson('9999999', 'event', 'post_withExistingDE-callout'), + 'create-payload JSON was not equal expected' + ); + assert.deepEqual( + await testUtils.getActualJson('testNew_event_withExistingDE', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'post_withExistingDE'), + 'returned new-JSON was not equal expected for insert event' + ); + // check number of API calls + assert.equal( + testUtils.getAPIHistoryLength(), + 5, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + + it('Should update an event', async () => { + await handler.deploy('testInstance/testBU', ['event'], ['testExisting_event']); + // THEN + assert.equal(process.exitCode, 0, 'deploy should not have thrown an error'); + // get results from cache + const result = cache.getCache(); + assert.equal( + result.event ? Object.keys(result.event).length : 0, + 4, + '4 events expected' + ); + // get callouts + const updateCallout = testUtils.getRestCallout( + 'put', + '/interaction/v1/eventDefinitions/%' + ); + // confirm updated item + assert.deepEqual( + updateCallout, + await testUtils.getExpectedJson('9999999', 'event', 'put-callout'), + 'update-payload JSON was not equal expected' + ); + assert.deepEqual( + await testUtils.getActualJson('testExisting_event', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'put'), + 'returned existing-JSON was not equal expected for update event' + ); + // check number of API calls + assert.equal( + testUtils.getAPIHistoryLength(), + 5, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); }); describe('FixKeys ================', () => { @@ -54,9 +233,111 @@ describe('type: event', () => { }); }); - describe('Templating ================', () => {}); + describe('Templating ================', () => { + it('Should create a event template via retrieveAsTemplate and build it', async () => { + // GIVEN there is a template + const result = await handler.retrieveAsTemplate( + 'testInstance/testBU', + 'event', + ['testExisting_event'], + 'testSourceMarket' + ); + // WHEN + assert.equal(process.exitCode, 0, 'retrieveAsTemplate should not have thrown an error'); + assert.equal( + result.event ? Object.keys(result.event).length : 0, + 1, + 'only one event expected' + ); + assert.deepEqual( + await testUtils.getActualTemplateJson('testExisting_event', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'template'), + 'returned template JSON of retrieveAsTemplate was not equal expected' + ); + // THEN + await handler.buildDefinition( + 'testInstance/testBU', + 'event', + ['testExisting_event'], + 'testTargetMarket' + ); + assert.equal(process.exitCode, 0, 'buildDefinition should not have thrown an error'); + + assert.deepEqual( + await testUtils.getActualDeployJson('testTemplated_event', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'build'), + 'returned deployment JSON was not equal expected' + ); - describe('Delete ================', () => {}); + assert.equal( + testUtils.getAPIHistoryLength(), + 4, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + + it('Should create a event template via buildTemplate and build it', async () => { + // download first before we test buildTemplate + await handler.retrieve('testInstance/testBU', ['event']); + // GIVEN there is a template + const result = await handler.buildTemplate( + 'testInstance/testBU', + 'event', + ['testExisting_event'], + 'testSourceMarket' + ); + // WHEN + assert.equal(process.exitCode, 0, 'buildTemplate should not have thrown an error'); + + assert.equal( + result.event ? Object.keys(result.event).length : 0, + 1, + 'only one event expected' + ); + assert.deepEqual( + await testUtils.getActualTemplateJson('testExisting_event', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'template'), + 'returned template JSON of buildTemplate was not equal expected' + ); + // THEN + await handler.buildDefinition( + 'testInstance/testBU', + 'event', + ['testExisting_event'], + 'testTargetMarket' + ); + assert.equal(process.exitCode, 0, 'buildDefinition should not have thrown an error'); + + assert.deepEqual( + await testUtils.getActualDeployJson('testTemplated_event', 'event'), + await testUtils.getExpectedJson('9999999', 'event', 'build'), + 'returned deployment JSON was not equal expected' + ); + + assert.equal( + testUtils.getAPIHistoryLength(), + 4, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + }); + + describe('Delete ================', () => { + it('Should delete the item', async () => { + // WHEN + const isDeleted = await handler.deleteByKey( + 'testInstance/testBU', + 'event', + 'testExisting_event' + ); + // THEN + assert.equal(process.exitCode, 0, 'deleteByKey should not have thrown an error'); + assert.equal(isDeleted, true, 'deleteByKey should have returned true'); + return; + }); + }); describe('CI/CD ================', () => {}); }); diff --git a/test/utils.js b/test/utils.js index f0dcec16d..dd7f00b78 100644 --- a/test/utils.js +++ b/test/utils.js @@ -16,6 +16,17 @@ let apimock; import { handleSOAPRequest, handleRESTRequest, soapUrl, restUrl } from './resourceFactory.js'; const authResources = File.readJsonSync(path.join(__dirname, './resources/auth.json')); +/** + * gets file from Retrieve folder + * + * @param {string} from source path (starting in bu folder) + * @param {string} to target path (starting in bu folder) + * @param {string} [mid] used when we need to test on ParentBU + * @returns {Promise.} file in string form + */ +export async function copyFile(from, to, mid = '9999999') { + return File.copyFile(`./test/resources/${mid}/${from}`, `./test/resources/${mid}/${to}`); +} /** * gets file from Retrieve folder * @@ -279,7 +290,7 @@ export function getRestCallout(method, url) { * @param {string} [objectType] optionall filter requests by object * @returns {object[]} json payload of the requests */ -export function getSoapCallout(requestAction, objectType) { +export function getSoapCallouts(requestAction, objectType) { const method = 'post'; const url = '/Service.asmx'; const subset = apimock.history[method]; @@ -289,10 +300,12 @@ export function getSoapCallout(requestAction, objectType) { // find soap requestst of the correct request type .filter((item) => item.headers.SOAPAction === requestAction) // find soap requestst of the correct request type - .filter( - (item) => - !objectType || - item.data.split('')[1].split('')[0] === objectType + .filter((item) => + !objectType || item.data.includes('')[1].split('')[0] === objectType + : item.data.includes('')[0] === objectType + : false ) .map((item) => item.data); return myCallout;