@adtrackify/at-service-common 3.5.26 → 3.5.27
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 -1
- package/dist/cjs/clients/internal-api/destinations-client.js +2 -2
- package/dist/cjs/clients/internal-api/destinations-client.js.map +1 -1
- package/dist/esm/clients/internal-api/destinations-client.d.ts +1 -1
- package/dist/esm/clients/internal-api/destinations-client.js +2 -2
- package/dist/esm/clients/internal-api/destinations-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export declare class DestinationsClient {
|
|
|
21
21
|
'x-api-key'?: undefined;
|
|
22
22
|
};
|
|
23
23
|
createDestination: (createDestinationRequest: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
24
|
-
updateDestination: (destinationId: string, body: any
|
|
24
|
+
updateDestination: (destinationId: string, body: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
25
25
|
getPixelDestinations: (pixelId: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
26
26
|
getAllDestinationByDestinationType: (destinationType: DESTINATION_TYPE, start: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
27
27
|
}
|
|
@@ -32,8 +32,8 @@ class DestinationsClient {
|
|
|
32
32
|
index_js_1.Logger.debug('createDestinationResponse', { response });
|
|
33
33
|
return response;
|
|
34
34
|
};
|
|
35
|
-
updateDestination = async (destinationId, body
|
|
36
|
-
const response = await client.patch(`${this.SERVICE_API_ROOT_URL}/${destinationId}/private
|
|
35
|
+
updateDestination = async (destinationId, body) => {
|
|
36
|
+
const response = await client.patch(`${this.SERVICE_API_ROOT_URL}/${destinationId}/private`, body, { headers: this.getHeaders() });
|
|
37
37
|
index_js_1.Logger.debug('updateDestinationResponse', { response });
|
|
38
38
|
return response;
|
|
39
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAExC,8DAAgF;AAYhF,MAAM,MAAM,GAAG,IAAA,iCAAgB,EAAC;IAE9B,OAAO,EAAE;QACP,cAAc,EAAE,kBAAkB;KACnC;CACF,CAAC,CAAC;AAEH,MAAa,kBAAkB;IACtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAC7B,MAAM,CAAoB;IAC1B,oBAAoB,CAAS;IAEpC,YAAY,UAAkB,EAAE,kBAA0B;QACxD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC;QAC/B,IAAI,CAAC,oBAAoB,GAAG,kBAAkB,CAAC;QAC/C,IAAI,CAAC,oBAAoB,GAAG,GAAG,IAAI,CAAC,YAAY,eAAe,CAAC;QAChE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,UAAU,GAAG,GAAG,EAAE;QAChB,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC7B,OAAO;gBACL,WAAW,EAAE,IAAI,CAAC,oBAAoB;aACvC,CAAC;SACH;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;IAGF,iBAAiB,GAAG,KAAK,EAAE,wBAA6B,EAAuD,EAAE;QAC/G,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,oBAAoB,QAAQ,EAAE,wBAAwB,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACnI,iBAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACxD,OAAO,QAAsD,CAAC;IAChE,CAAC,CAAC;IAEF,iBAAiB,GAAG,KAAK,EAAE,aAAqB,EAAE,IAAS,
|
|
1
|
+
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAExC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CAAC;QACnI,iBAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACxD,OAAO,QAAsD,CAAC;IAChE,CAAC,CAAA;IAED,oBAAoB,GAAG,KAAK,EAAE,OAAe,EAAqD,EAAE;QAClG,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,oBAAoB,YAAY,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACrH,iBAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC/C,OAAO,QAAoD,CAAC;IAC9D,CAAC,CAAC;IAEF,kCAAkC,GAAG,KAAK,EAAE,eAAiC,EAAE,KAAa,EAAqD,EAAE;QACjJ,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,oBAAoB,yBAAyB,eAAe,UAAU,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACzJ,iBAAM,CAAC,KAAK,CAAC,oCAAoC,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACjE,OAAO,QAAoD,CAAC;IAC9D,CAAC,CAAA;CACF;AA9CD,gDA8CC"}
|
|
@@ -21,7 +21,7 @@ export declare class DestinationsClient {
|
|
|
21
21
|
'x-api-key'?: undefined;
|
|
22
22
|
};
|
|
23
23
|
createDestination: (createDestinationRequest: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
24
|
-
updateDestination: (destinationId: string, body: any
|
|
24
|
+
updateDestination: (destinationId: string, body: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
25
25
|
getPixelDestinations: (pixelId: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
26
26
|
getAllDestinationByDestinationType: (destinationType: DESTINATION_TYPE, start: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
27
27
|
}
|
|
@@ -29,8 +29,8 @@ export class DestinationsClient {
|
|
|
29
29
|
Logger.debug('createDestinationResponse', { response });
|
|
30
30
|
return response;
|
|
31
31
|
};
|
|
32
|
-
updateDestination = async (destinationId, body
|
|
33
|
-
const response = await client.patch(`${this.SERVICE_API_ROOT_URL}/${destinationId}/private
|
|
32
|
+
updateDestination = async (destinationId, body) => {
|
|
33
|
+
const response = await client.patch(`${this.SERVICE_API_ROOT_URL}/${destinationId}/private`, body, { headers: this.getHeaders() });
|
|
34
34
|
Logger.debug('updateDestinationResponse', { response });
|
|
35
35
|
return response;
|
|
36
36
|
};
|
|
@@ -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;AAExC,OAAO,EAAE,gBAAgB,EAAqB,MAAM,2BAA2B,CAAC;AAYhF,MAAM,MAAM,GAAG,gBAAgB,CAAC;IAE9B,OAAO,EAAE;QACP,cAAc,EAAE,kBAAkB;KACnC;CACF,CAAC,CAAC;AAEH,MAAM,OAAO,kBAAkB;IACtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAC7B,MAAM,CAAoB;IAC1B,oBAAoB,CAAS;IAEpC,YAAY,UAAkB,EAAE,kBAA0B;QACxD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC;QAC/B,IAAI,CAAC,oBAAoB,GAAG,kBAAkB,CAAC;QAC/C,IAAI,CAAC,oBAAoB,GAAG,GAAG,IAAI,CAAC,YAAY,eAAe,CAAC;QAChE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,UAAU,GAAG,GAAG,EAAE;QAChB,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC7B,OAAO;gBACL,WAAW,EAAE,IAAI,CAAC,oBAAoB;aACvC,CAAC;SACH;QACD,OAAO,EAAE,CAAC;IACZ,CAAC,CAAC;IAGF,iBAAiB,GAAG,KAAK,EAAE,wBAA6B,EAAuD,EAAE;QAC/G,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,oBAAoB,QAAQ,EAAE,wBAAwB,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACnI,MAAM,CAAC,KAAK,CAAC,2BAA2B,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;QACxD,OAAO,QAAsD,CAAC;IAChE,CAAC,CAAC;IAEF,iBAAiB,GAAG,KAAK,EAAE,aAAqB,EAAE,IAAS,
|
|
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;AAExC,OAAO,EAAE,gBAAgB,EAAqB,MAAM,2BAA2B,CAAC;AAYhF,MAAM,MAAM,GAAG,gBAAgB,CAAC;IAE9B,OAAO,EAAE;QACP,cAAc,EAAE,kBAAkB;KACnC;CACF,CAAC,CAAC;AAEH,MAAM,OAAO,kBAAkB;IACtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAC7B,MAAM,CAAoB;IAC1B,oBAAoB,CAAS;IAEpC,YAAY,UAAkB,EAAE,kBAA0B;QACxD,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC;QAC/B,IAAI,CAAC,oBAAoB,GAAG,kBAAkB,CAAC;QAC/C,IAAI,CAAC,oBAAoB,GAAG,GAAG,IAAI,CAAC,YAAY,eAAe,CAAC;QAChE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,UAAU,GAAG,GAAG,EAAE;QAChB,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC7B,OAAO;gBACL,WAAW,EAAE,IAAI,CAAC,oBAAoB;aACvC,CAA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