@adtrackify/at-service-common 2.0.17 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clients/internal-api/destinations-client.d.ts +1 -0
- package/dist/cjs/clients/internal-api/destinations-client.js +6 -0
- package/dist/cjs/clients/internal-api/destinations-client.js.map +1 -1
- package/dist/esm/clients/internal-api/destinations-client.d.ts +1 -0
- package/dist/esm/clients/internal-api/destinations-client.js +6 -0
- package/dist/esm/clients/internal-api/destinations-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -51,4 +51,5 @@ export declare class DestinationsClient {
|
|
|
51
51
|
}>;
|
|
52
52
|
createDestination: (createDestinationRequest: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
53
53
|
getPixelDestinations: (pixelId: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
54
|
+
getAllDestinationByDestinationType: (destinationType: string, start: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
54
55
|
}
|
|
@@ -36,6 +36,12 @@ class DestinationsClient {
|
|
|
36
36
|
index_js_1.Logger.debug('getPixelResponse', { response });
|
|
37
37
|
return response;
|
|
38
38
|
};
|
|
39
|
+
getAllDestinationByDestinationType = async (destinationType, start) => {
|
|
40
|
+
const client = await this.getClient();
|
|
41
|
+
const response = await client.get(`/list?destinationType=${destinationType}&start=${start}`);
|
|
42
|
+
index_js_1.Logger.debug('getAllDestinationByDestinationType', { response });
|
|
43
|
+
return response;
|
|
44
|
+
};
|
|
39
45
|
}
|
|
40
46
|
exports.DestinationsClient = DestinationsClient;
|
|
41
47
|
//# sourceMappingURL=destinations-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAGxC,8DAA6D;AAe7D,MAAa,kBAAkB;IAEtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAEpC,
|
|
1
|
+
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAGxC,8DAA6D;AAe7D,MAAa,kBAAkB;IAEtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAEpC,YAAY,UAAkB,EAAE,kBAA0B;QACxD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC;QAC/B,IAAI,CAAC,oBAAoB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAED,SAAS,GAAG,GAAG,EAAE;QACf,MAAM,oBAAoB,GAAG,GAAG,IAAI,CAAC,YAAY,eAAe,CAAC;QACjE,OAAO;YACL,OAAO,EAAE,oBAAoB;YAC7B,OAAO,EAAE;gBACP,MAAM,EAAE;oBACN,WAAW,EAAE,IAAI,CAAC,oBAAoB;iBACvC;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IAEF,SAAS,GAAG,KAAK,IAAI,EAAE;QACrB,OAAO,IAAA,iCAAgB,EAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,iBAAiB,GAAG,KAAK,EAAE,wBAA6B,EAAuD,EAAE;QAC/G,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,wBAAwB,CAAC,CAAC;QAClE,iBAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACxD,OAAO,QAAsD,CAAC;IAChE,CAAC,CAAC;IAEF,oBAAoB,GAAG,KAAK,EAAE,OAAe,EAAqD,EAAE;QAClG,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,aAAa,OAAO,EAAE,CAAC,CAAC;QAC1D,iBAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC/C,OAAO,QAAoD,CAAC;IAC9D,CAAC,CAAC;IAEF,kCAAkC,GAAG,KAAK,EAAE,eAAuB,EAAE,KAAa,EAAqD,EAAE;QACvI,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,yBAAyB,eAAe,UAAU,KAAK,EAAE,CAAC,CAAC;QAC7F,iBAAM,CAAC,KAAK,CAAC,oCAAoC,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACjE,OAAO,QAAoD,CAAC;IAC9D,CAAC,CAAA;CACF;AA9CD,gDA8CC"}
|
|
@@ -51,4 +51,5 @@ export declare class DestinationsClient {
|
|
|
51
51
|
}>;
|
|
52
52
|
createDestination: (createDestinationRequest: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
53
53
|
getPixelDestinations: (pixelId: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
54
|
+
getAllDestinationByDestinationType: (destinationType: string, start: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
54
55
|
}
|
|
@@ -33,5 +33,11 @@ export class DestinationsClient {
|
|
|
33
33
|
Logger.debug('getPixelResponse', { response });
|
|
34
34
|
return response;
|
|
35
35
|
};
|
|
36
|
+
getAllDestinationByDestinationType = async (destinationType, start) => {
|
|
37
|
+
const client = await this.getClient();
|
|
38
|
+
const response = await client.get(`/list?destinationType=${destinationType}&start=${start}`);
|
|
39
|
+
Logger.debug('getAllDestinationByDestinationType', { response });
|
|
40
|
+
return response;
|
|
41
|
+
};
|
|
36
42
|
}
|
|
37
43
|
//# sourceMappingURL=destinations-client.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAe7D,MAAM,OAAO,kBAAkB;IAEtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAEpC,
|
|
1
|
+
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAe7D,MAAM,OAAO,kBAAkB;IAEtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAEpC,YAAY,UAAkB,EAAE,kBAA0B;QACxD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC;QAC/B,IAAI,CAAC,oBAAoB,GAAG,kBAAkB,CAAC;IACjD,CAAC;IAED,SAAS,GAAG,GAAG,EAAE;QACf,MAAM,oBAAoB,GAAG,GAAG,IAAI,CAAC,YAAY,eAAe,CAAC;QACjE,OAAO;YACL,OAAO,EAAE,oBAAoB;YAC7B,OAAO,EAAE;gBACP,MAAM,EAAE;oBACN,WAAW,EAAE,IAAI,CAAC,oBAAoB;iBACvC;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IAEF,SAAS,GAAG,KAAK,IAAI,EAAE;QACrB,OAAO,gBAAgB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,iBAAiB,GAAG,KAAK,EAAE,wBAA6B,EAAuD,EAAE;QAC/G,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,wBAAwB,CAAC,CAAC;QAClE,MAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACx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