@getlatedev/node 0.2.1351 → 0.2.1352
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/index.d.mts +19 -5
- package/dist/index.d.ts +19 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +19 -5
package/dist/index.d.mts
CHANGED
|
@@ -54823,7 +54823,7 @@ type SendConversionsData = {
|
|
|
54823
54823
|
destinationId: string;
|
|
54824
54824
|
events: Array<ConversionEvent>;
|
|
54825
54825
|
/**
|
|
54826
|
-
*
|
|
54826
|
+
* Send it at the request root, never inside an event. A root-level `test_event_code` (Meta's own name) is accepted as an alias and must be a non-empty string; sending both with different values is a 400. On Meta it is sent as `test_event_code`: the events show in Events Manager's Test Events tab for the pixel whose current test code matches (Meta rotates the code, so copy it again from that tab), and Meta still processes them like any other event, so remove it in production. On Pinterest any value sends the batch with `test=true` (validated, not recorded). On Reddit, sent as `test_id` so the events show in the pixel's test view. Ignored by Google, LinkedIn, and OpenAI Ads.
|
|
54827
54827
|
*/
|
|
54828
54828
|
testCode?: string;
|
|
54829
54829
|
/**
|
|
@@ -54883,6 +54883,10 @@ type SendConversionsResponse = ({
|
|
|
54883
54883
|
*
|
|
54884
54884
|
*/
|
|
54885
54885
|
traceId?: string;
|
|
54886
|
+
/**
|
|
54887
|
+
* The test code sent to the platform, as received (from `testCode` or `test_event_code`). `null` when the request carried none, so the events were sent as production events.
|
|
54888
|
+
*/
|
|
54889
|
+
testCode?: (string) | null;
|
|
54886
54890
|
});
|
|
54887
54891
|
type SendConversionsError = (unknown | ErrorResponse);
|
|
54888
54892
|
type AdjustConversionsData = {
|
|
@@ -55314,7 +55318,7 @@ type SendEventsData = {
|
|
|
55314
55318
|
adPersonalization?: 'GRANTED' | 'DENIED';
|
|
55315
55319
|
};
|
|
55316
55320
|
/**
|
|
55317
|
-
* Forwarded as each platform test code (see POST /v1/ads/conversions). Test events are not stored.
|
|
55321
|
+
* Forwarded as each platform test code (see POST /v1/ads/conversions). A root-level `test_event_code` is accepted as an alias. Test events are not stored.
|
|
55318
55322
|
*/
|
|
55319
55323
|
testCode?: string;
|
|
55320
55324
|
};
|
|
@@ -55328,6 +55332,10 @@ type SendEventsResponse = ({
|
|
|
55328
55332
|
* Whether the events were stored for reporting (always false with testCode).
|
|
55329
55333
|
*/
|
|
55330
55334
|
stored?: boolean;
|
|
55335
|
+
/**
|
|
55336
|
+
* The test code forwarded to every destination, or `null` when the request carried none.
|
|
55337
|
+
*/
|
|
55338
|
+
testCode?: (string) | null;
|
|
55331
55339
|
destinations?: Array<{
|
|
55332
55340
|
accountId?: string;
|
|
55333
55341
|
destinationId?: string;
|
|
@@ -55888,9 +55896,11 @@ type SendWhatsAppConversionData = {
|
|
|
55888
55896
|
*/
|
|
55889
55897
|
externalId?: string;
|
|
55890
55898
|
/**
|
|
55891
|
-
* Meta `test_event_code` passthrough
|
|
55892
|
-
*
|
|
55893
|
-
*
|
|
55899
|
+
* Meta `test_event_code` passthrough, sent at the request root
|
|
55900
|
+
* (a root-level `test_event_code` is accepted as an alias). The
|
|
55901
|
+
* event shows in Events Manager's Test Events tab for the
|
|
55902
|
+
* dataset whose current test code matches. Meta still
|
|
55903
|
+
* processes it like any other event, so remove it in production.
|
|
55894
55904
|
*
|
|
55895
55905
|
*/
|
|
55896
55906
|
testCode?: string;
|
|
@@ -55939,6 +55949,10 @@ type SendWhatsAppConversionResponse = ({
|
|
|
55939
55949
|
*
|
|
55940
55950
|
*/
|
|
55941
55951
|
traceId?: string;
|
|
55952
|
+
/**
|
|
55953
|
+
* The test code sent to Meta, or `null` when the request carried none.
|
|
55954
|
+
*/
|
|
55955
|
+
testCode?: (string) | null;
|
|
55942
55956
|
});
|
|
55943
55957
|
type SendWhatsAppConversionError = (unknown | ErrorResponse);
|
|
55944
55958
|
type CreateMessagingAdData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -54823,7 +54823,7 @@ type SendConversionsData = {
|
|
|
54823
54823
|
destinationId: string;
|
|
54824
54824
|
events: Array<ConversionEvent>;
|
|
54825
54825
|
/**
|
|
54826
|
-
*
|
|
54826
|
+
* Send it at the request root, never inside an event. A root-level `test_event_code` (Meta's own name) is accepted as an alias and must be a non-empty string; sending both with different values is a 400. On Meta it is sent as `test_event_code`: the events show in Events Manager's Test Events tab for the pixel whose current test code matches (Meta rotates the code, so copy it again from that tab), and Meta still processes them like any other event, so remove it in production. On Pinterest any value sends the batch with `test=true` (validated, not recorded). On Reddit, sent as `test_id` so the events show in the pixel's test view. Ignored by Google, LinkedIn, and OpenAI Ads.
|
|
54827
54827
|
*/
|
|
54828
54828
|
testCode?: string;
|
|
54829
54829
|
/**
|
|
@@ -54883,6 +54883,10 @@ type SendConversionsResponse = ({
|
|
|
54883
54883
|
*
|
|
54884
54884
|
*/
|
|
54885
54885
|
traceId?: string;
|
|
54886
|
+
/**
|
|
54887
|
+
* The test code sent to the platform, as received (from `testCode` or `test_event_code`). `null` when the request carried none, so the events were sent as production events.
|
|
54888
|
+
*/
|
|
54889
|
+
testCode?: (string) | null;
|
|
54886
54890
|
});
|
|
54887
54891
|
type SendConversionsError = (unknown | ErrorResponse);
|
|
54888
54892
|
type AdjustConversionsData = {
|
|
@@ -55314,7 +55318,7 @@ type SendEventsData = {
|
|
|
55314
55318
|
adPersonalization?: 'GRANTED' | 'DENIED';
|
|
55315
55319
|
};
|
|
55316
55320
|
/**
|
|
55317
|
-
* Forwarded as each platform test code (see POST /v1/ads/conversions). Test events are not stored.
|
|
55321
|
+
* Forwarded as each platform test code (see POST /v1/ads/conversions). A root-level `test_event_code` is accepted as an alias. Test events are not stored.
|
|
55318
55322
|
*/
|
|
55319
55323
|
testCode?: string;
|
|
55320
55324
|
};
|
|
@@ -55328,6 +55332,10 @@ type SendEventsResponse = ({
|
|
|
55328
55332
|
* Whether the events were stored for reporting (always false with testCode).
|
|
55329
55333
|
*/
|
|
55330
55334
|
stored?: boolean;
|
|
55335
|
+
/**
|
|
55336
|
+
* The test code forwarded to every destination, or `null` when the request carried none.
|
|
55337
|
+
*/
|
|
55338
|
+
testCode?: (string) | null;
|
|
55331
55339
|
destinations?: Array<{
|
|
55332
55340
|
accountId?: string;
|
|
55333
55341
|
destinationId?: string;
|
|
@@ -55888,9 +55896,11 @@ type SendWhatsAppConversionData = {
|
|
|
55888
55896
|
*/
|
|
55889
55897
|
externalId?: string;
|
|
55890
55898
|
/**
|
|
55891
|
-
* Meta `test_event_code` passthrough
|
|
55892
|
-
*
|
|
55893
|
-
*
|
|
55899
|
+
* Meta `test_event_code` passthrough, sent at the request root
|
|
55900
|
+
* (a root-level `test_event_code` is accepted as an alias). The
|
|
55901
|
+
* event shows in Events Manager's Test Events tab for the
|
|
55902
|
+
* dataset whose current test code matches. Meta still
|
|
55903
|
+
* processes it like any other event, so remove it in production.
|
|
55894
55904
|
*
|
|
55895
55905
|
*/
|
|
55896
55906
|
testCode?: string;
|
|
@@ -55939,6 +55949,10 @@ type SendWhatsAppConversionResponse = ({
|
|
|
55939
55949
|
*
|
|
55940
55950
|
*/
|
|
55941
55951
|
traceId?: string;
|
|
55952
|
+
/**
|
|
55953
|
+
* The test code sent to Meta, or `null` when the request carried none.
|
|
55954
|
+
*/
|
|
55955
|
+
testCode?: (string) | null;
|
|
55942
55956
|
});
|
|
55943
55957
|
type SendWhatsAppConversionError = (unknown | ErrorResponse);
|
|
55944
55958
|
type CreateMessagingAdData = {
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1352",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1352",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
|
@@ -55950,7 +55950,7 @@ export type SendConversionsData = {
|
|
|
55950
55950
|
destinationId: string;
|
|
55951
55951
|
events: Array<ConversionEvent>;
|
|
55952
55952
|
/**
|
|
55953
|
-
*
|
|
55953
|
+
* Send it at the request root, never inside an event. A root-level `test_event_code` (Meta's own name) is accepted as an alias and must be a non-empty string; sending both with different values is a 400. On Meta it is sent as `test_event_code`: the events show in Events Manager's Test Events tab for the pixel whose current test code matches (Meta rotates the code, so copy it again from that tab), and Meta still processes them like any other event, so remove it in production. On Pinterest any value sends the batch with `test=true` (validated, not recorded). On Reddit, sent as `test_id` so the events show in the pixel's test view. Ignored by Google, LinkedIn, and OpenAI Ads.
|
|
55954
55954
|
*/
|
|
55955
55955
|
testCode?: string;
|
|
55956
55956
|
/**
|
|
@@ -56011,6 +56011,10 @@ export type SendConversionsResponse = ({
|
|
|
56011
56011
|
*
|
|
56012
56012
|
*/
|
|
56013
56013
|
traceId?: string;
|
|
56014
|
+
/**
|
|
56015
|
+
* The test code sent to the platform, as received (from `testCode` or `test_event_code`). `null` when the request carried none, so the events were sent as production events.
|
|
56016
|
+
*/
|
|
56017
|
+
testCode?: (string) | null;
|
|
56014
56018
|
});
|
|
56015
56019
|
|
|
56016
56020
|
export type SendConversionsError = (unknown | ErrorResponse);
|
|
@@ -56474,7 +56478,7 @@ export type SendEventsData = {
|
|
|
56474
56478
|
adPersonalization?: 'GRANTED' | 'DENIED';
|
|
56475
56479
|
};
|
|
56476
56480
|
/**
|
|
56477
|
-
* Forwarded as each platform test code (see POST /v1/ads/conversions). Test events are not stored.
|
|
56481
|
+
* Forwarded as each platform test code (see POST /v1/ads/conversions). A root-level `test_event_code` is accepted as an alias. Test events are not stored.
|
|
56478
56482
|
*/
|
|
56479
56483
|
testCode?: string;
|
|
56480
56484
|
};
|
|
@@ -56489,6 +56493,10 @@ export type SendEventsResponse = ({
|
|
|
56489
56493
|
* Whether the events were stored for reporting (always false with testCode).
|
|
56490
56494
|
*/
|
|
56491
56495
|
stored?: boolean;
|
|
56496
|
+
/**
|
|
56497
|
+
* The test code forwarded to every destination, or `null` when the request carried none.
|
|
56498
|
+
*/
|
|
56499
|
+
testCode?: (string) | null;
|
|
56492
56500
|
destinations?: Array<{
|
|
56493
56501
|
accountId?: string;
|
|
56494
56502
|
destinationId?: string;
|
|
@@ -57096,9 +57104,11 @@ export type SendWhatsAppConversionData = {
|
|
|
57096
57104
|
*/
|
|
57097
57105
|
externalId?: string;
|
|
57098
57106
|
/**
|
|
57099
|
-
* Meta `test_event_code` passthrough
|
|
57100
|
-
*
|
|
57101
|
-
*
|
|
57107
|
+
* Meta `test_event_code` passthrough, sent at the request root
|
|
57108
|
+
* (a root-level `test_event_code` is accepted as an alias). The
|
|
57109
|
+
* event shows in Events Manager's Test Events tab for the
|
|
57110
|
+
* dataset whose current test code matches. Meta still
|
|
57111
|
+
* processes it like any other event, so remove it in production.
|
|
57102
57112
|
*
|
|
57103
57113
|
*/
|
|
57104
57114
|
testCode?: string;
|
|
@@ -57148,6 +57158,10 @@ export type SendWhatsAppConversionResponse = ({
|
|
|
57148
57158
|
*
|
|
57149
57159
|
*/
|
|
57150
57160
|
traceId?: string;
|
|
57161
|
+
/**
|
|
57162
|
+
* The test code sent to Meta, or `null` when the request carried none.
|
|
57163
|
+
*/
|
|
57164
|
+
testCode?: (string) | null;
|
|
57151
57165
|
});
|
|
57152
57166
|
|
|
57153
57167
|
export type SendWhatsAppConversionError = (unknown | ErrorResponse);
|