@adtrackify/at-service-common 3.1.32 → 3.1.33
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
|
@@ -23,7 +23,7 @@ export declare class DestinationsClient {
|
|
|
23
23
|
};
|
|
24
24
|
getClient: () => any;
|
|
25
25
|
createDestination: (createDestinationRequest: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
26
|
-
updateDestination: (destinationId: string, body: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
26
|
+
updateDestination: (destinationId: string, body: any, notifyCustomerIO?: boolean) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
27
27
|
getPixelDestinations: (pixelId: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
28
28
|
getAllDestinationByDestinationType: (destinationType: DESTINATION_TYPE, start: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
29
29
|
}
|
|
@@ -32,9 +32,9 @@ class DestinationsClient {
|
|
|
32
32
|
index_js_1.Logger.debug('createDestinationResponse', { response });
|
|
33
33
|
return response;
|
|
34
34
|
};
|
|
35
|
-
updateDestination = async (destinationId, body) => {
|
|
35
|
+
updateDestination = async (destinationId, body, notifyCustomerIO = true) => {
|
|
36
36
|
const client = this.getClient();
|
|
37
|
-
const response = await client.patch(`/${destinationId}/private`, body);
|
|
37
|
+
const response = await client.patch(`/${destinationId}/private?notifyCustomerIO=${notifyCustomerIO}`, body);
|
|
38
38
|
index_js_1.Logger.debug('updateDestinationResponse', { response });
|
|
39
39
|
return response;
|
|
40
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/clients/internal-api/destinations-client.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAExC,8DAA6D;AAY7D,MAAa,kBAAkB;IACtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAC7B,MAAM,CAAM;IACnB,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,GAAG,EAAE;QACf,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,IAAA,iCAAgB,EAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QAChE,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC,CAAC;IAEF,iBAAiB,GAAG,KAAK,EAAE,wBAA6B,EAAuD,EAAE;QAC/G,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,wBAAwB,CAAC,CAAC;QACvE,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,EAAuD,EAAE;
|
|
1
|
+
{"version":3,"file":"destinations-client.js","sourceRoot":"","sources":["../../../../src/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K,CAAC,IAAI,aAAa,6BAA6B,gBAAgB,EAAE,EAAE,IAAI,CAAC,CAAC;QAC5G,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,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,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,eAAiC,EAAE,KAAa,EAAqD,EAAE;QACjJ,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,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;AArDD,gDAqDC"}
|
|
@@ -23,7 +23,7 @@ export declare class DestinationsClient {
|
|
|
23
23
|
};
|
|
24
24
|
getClient: () => any;
|
|
25
25
|
createDestination: (createDestinationRequest: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
26
|
-
updateDestination: (destinationId: string, body: any) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
26
|
+
updateDestination: (destinationId: string, body: any, notifyCustomerIO?: boolean) => Promise<ApiResponse<CreateDestinationResponseData>>;
|
|
27
27
|
getPixelDestinations: (pixelId: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
28
28
|
getAllDestinationByDestinationType: (destinationType: DESTINATION_TYPE, start: string) => Promise<ApiResponse<GetDestinationsResponseData>>;
|
|
29
29
|
}
|
|
@@ -29,9 +29,9 @@ export class DestinationsClient {
|
|
|
29
29
|
Logger.debug('createDestinationResponse', { response });
|
|
30
30
|
return response;
|
|
31
31
|
};
|
|
32
|
-
updateDestination = async (destinationId, body) => {
|
|
32
|
+
updateDestination = async (destinationId, body, notifyCustomerIO = true) => {
|
|
33
33
|
const client = this.getClient();
|
|
34
|
-
const response = await client.patch(`/${destinationId}/private`, body);
|
|
34
|
+
const response = await client.patch(`/${destinationId}/private?notifyCustomerIO=${notifyCustomerIO}`, body);
|
|
35
35
|
Logger.debug('updateDestinationResponse', { response });
|
|
36
36
|
return response;
|
|
37
37
|
};
|
|
@@ -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,EAAE,MAAM,2BAA2B,CAAC;AAY7D,MAAM,OAAO,kBAAkB;IACtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAC7B,MAAM,CAAM;IACnB,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,GAAG,EAAE;QACf,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,gBAAgB,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QAChE,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC,CAAC;IAEF,iBAAiB,GAAG,KAAK,EAAE,wBAA6B,EAAuD,EAAE;QAC/G,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,wBAAwB,CAAC,CAAC;QACvE,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,EAAuD,EAAE;
|
|
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,EAAE,MAAM,2BAA2B,CAAC;AAY7D,MAAM,OAAO,kBAAkB;IACtB,YAAY,CAAS;IACrB,oBAAoB,CAAS;IAC7B,MAAM,CAAM;IACnB,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,GAAG,EAAE;QACf,IAAI,CAAC,MAAM,GAAG,IAA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