@getlatedev/node 0.2.337 → 0.2.339
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 +53 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +53 -0
package/dist/index.d.mts
CHANGED
|
@@ -4683,6 +4683,32 @@ type UsageMetering = {
|
|
|
4683
4683
|
*/
|
|
4684
4684
|
source?: 'cycle' | 'window';
|
|
4685
4685
|
};
|
|
4686
|
+
/**
|
|
4687
|
+
* Estimated tax on the window's net `totals.total`, computed with
|
|
4688
|
+
* Stripe Tax against the billing address (the same engine the real
|
|
4689
|
+
* invoice uses; invoices apply exclusive tax, so the card is charged
|
|
4690
|
+
* total + tax). Null when the account has no billing address on
|
|
4691
|
+
* file, the total is zero or negative, or the estimate failed.
|
|
4692
|
+
*
|
|
4693
|
+
*/
|
|
4694
|
+
tax?: {
|
|
4695
|
+
/**
|
|
4696
|
+
* Estimated tax in USD
|
|
4697
|
+
*/
|
|
4698
|
+
taxUsd?: number;
|
|
4699
|
+
/**
|
|
4700
|
+
* Combined rate percentage
|
|
4701
|
+
*/
|
|
4702
|
+
ratePercent?: (number) | null;
|
|
4703
|
+
/**
|
|
4704
|
+
* Human jurisdiction label
|
|
4705
|
+
*/
|
|
4706
|
+
jurisdictionLabel?: (string) | null;
|
|
4707
|
+
/**
|
|
4708
|
+
* True for EU/UK B2B reverse charge (0 tax added by design).
|
|
4709
|
+
*/
|
|
4710
|
+
reverseCharge?: boolean;
|
|
4711
|
+
} | null;
|
|
4686
4712
|
};
|
|
4687
4713
|
type granularity = 'day' | 'month' | 'total';
|
|
4688
4714
|
/**
|
|
@@ -24873,6 +24899,33 @@ type CreateCtwaAdData = {
|
|
|
24873
24899
|
* Custom audience ID to target.
|
|
24874
24900
|
*/
|
|
24875
24901
|
audienceId?: string;
|
|
24902
|
+
/**
|
|
24903
|
+
* Manual ad placements on the shared ad set. Omit
|
|
24904
|
+
* for automatic placements. When set, restricts delivery to the chosen surfaces,
|
|
24905
|
+
* mapped onto the ad set's `targeting.{publisher_platforms, facebook_positions, instagram_positions,
|
|
24906
|
+
* messenger_positions, audience_network_positions, threads_positions,
|
|
24907
|
+
* whatsapp_positions, device_platforms}`. Enum membership is validated here; Meta
|
|
24908
|
+
* additionally enforces co-selection rules and restricts which
|
|
24909
|
+
* placements are eligible for click-to-WhatsApp ads, returning an actionable
|
|
24910
|
+
* error which we surface.
|
|
24911
|
+
*
|
|
24912
|
+
*/
|
|
24913
|
+
placements?: {
|
|
24914
|
+
/**
|
|
24915
|
+
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
24916
|
+
*/
|
|
24917
|
+
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
|
|
24918
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
24919
|
+
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
24920
|
+
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
24921
|
+
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
24922
|
+
threadsPositions?: Array<('threads_stream')>;
|
|
24923
|
+
whatsappPositions?: Array<('status')>;
|
|
24924
|
+
/**
|
|
24925
|
+
* Restrict by device. Omit to deliver on both mobile and desktop.
|
|
24926
|
+
*/
|
|
24927
|
+
devicePlatforms?: Array<('mobile' | 'desktop')>;
|
|
24928
|
+
};
|
|
24876
24929
|
/**
|
|
24877
24930
|
* Meta's Advantage+ audience expansion. `0` (default) keeps
|
|
24878
24931
|
* targeting strict; `1` lets Meta expand beyond the supplied
|
package/dist/index.d.ts
CHANGED
|
@@ -4683,6 +4683,32 @@ type UsageMetering = {
|
|
|
4683
4683
|
*/
|
|
4684
4684
|
source?: 'cycle' | 'window';
|
|
4685
4685
|
};
|
|
4686
|
+
/**
|
|
4687
|
+
* Estimated tax on the window's net `totals.total`, computed with
|
|
4688
|
+
* Stripe Tax against the billing address (the same engine the real
|
|
4689
|
+
* invoice uses; invoices apply exclusive tax, so the card is charged
|
|
4690
|
+
* total + tax). Null when the account has no billing address on
|
|
4691
|
+
* file, the total is zero or negative, or the estimate failed.
|
|
4692
|
+
*
|
|
4693
|
+
*/
|
|
4694
|
+
tax?: {
|
|
4695
|
+
/**
|
|
4696
|
+
* Estimated tax in USD
|
|
4697
|
+
*/
|
|
4698
|
+
taxUsd?: number;
|
|
4699
|
+
/**
|
|
4700
|
+
* Combined rate percentage
|
|
4701
|
+
*/
|
|
4702
|
+
ratePercent?: (number) | null;
|
|
4703
|
+
/**
|
|
4704
|
+
* Human jurisdiction label
|
|
4705
|
+
*/
|
|
4706
|
+
jurisdictionLabel?: (string) | null;
|
|
4707
|
+
/**
|
|
4708
|
+
* True for EU/UK B2B reverse charge (0 tax added by design).
|
|
4709
|
+
*/
|
|
4710
|
+
reverseCharge?: boolean;
|
|
4711
|
+
} | null;
|
|
4686
4712
|
};
|
|
4687
4713
|
type granularity = 'day' | 'month' | 'total';
|
|
4688
4714
|
/**
|
|
@@ -24873,6 +24899,33 @@ type CreateCtwaAdData = {
|
|
|
24873
24899
|
* Custom audience ID to target.
|
|
24874
24900
|
*/
|
|
24875
24901
|
audienceId?: string;
|
|
24902
|
+
/**
|
|
24903
|
+
* Manual ad placements on the shared ad set. Omit
|
|
24904
|
+
* for automatic placements. When set, restricts delivery to the chosen surfaces,
|
|
24905
|
+
* mapped onto the ad set's `targeting.{publisher_platforms, facebook_positions, instagram_positions,
|
|
24906
|
+
* messenger_positions, audience_network_positions, threads_positions,
|
|
24907
|
+
* whatsapp_positions, device_platforms}`. Enum membership is validated here; Meta
|
|
24908
|
+
* additionally enforces co-selection rules and restricts which
|
|
24909
|
+
* placements are eligible for click-to-WhatsApp ads, returning an actionable
|
|
24910
|
+
* error which we surface.
|
|
24911
|
+
*
|
|
24912
|
+
*/
|
|
24913
|
+
placements?: {
|
|
24914
|
+
/**
|
|
24915
|
+
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
24916
|
+
*/
|
|
24917
|
+
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
|
|
24918
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
24919
|
+
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
24920
|
+
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
24921
|
+
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
24922
|
+
threadsPositions?: Array<('threads_stream')>;
|
|
24923
|
+
whatsappPositions?: Array<('status')>;
|
|
24924
|
+
/**
|
|
24925
|
+
* Restrict by device. Omit to deliver on both mobile and desktop.
|
|
24926
|
+
*/
|
|
24927
|
+
devicePlatforms?: Array<('mobile' | 'desktop')>;
|
|
24928
|
+
};
|
|
24876
24929
|
/**
|
|
24877
24930
|
* Meta's Advantage+ audience expansion. `0` (default) keeps
|
|
24878
24931
|
* targeting strict; `1` lets Meta expand beyond the supplied
|
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.339",
|
|
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.339",
|
|
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
|
@@ -3980,6 +3980,32 @@ export type UsageMetering = {
|
|
|
3980
3980
|
*/
|
|
3981
3981
|
source?: 'cycle' | 'window';
|
|
3982
3982
|
};
|
|
3983
|
+
/**
|
|
3984
|
+
* Estimated tax on the window's net `totals.total`, computed with
|
|
3985
|
+
* Stripe Tax against the billing address (the same engine the real
|
|
3986
|
+
* invoice uses; invoices apply exclusive tax, so the card is charged
|
|
3987
|
+
* total + tax). Null when the account has no billing address on
|
|
3988
|
+
* file, the total is zero or negative, or the estimate failed.
|
|
3989
|
+
*
|
|
3990
|
+
*/
|
|
3991
|
+
tax?: {
|
|
3992
|
+
/**
|
|
3993
|
+
* Estimated tax in USD
|
|
3994
|
+
*/
|
|
3995
|
+
taxUsd?: number;
|
|
3996
|
+
/**
|
|
3997
|
+
* Combined rate percentage
|
|
3998
|
+
*/
|
|
3999
|
+
ratePercent?: (number) | null;
|
|
4000
|
+
/**
|
|
4001
|
+
* Human jurisdiction label
|
|
4002
|
+
*/
|
|
4003
|
+
jurisdictionLabel?: (string) | null;
|
|
4004
|
+
/**
|
|
4005
|
+
* True for EU/UK B2B reverse charge (0 tax added by design).
|
|
4006
|
+
*/
|
|
4007
|
+
reverseCharge?: boolean;
|
|
4008
|
+
} | null;
|
|
3983
4009
|
};
|
|
3984
4010
|
|
|
3985
4011
|
export type granularity = 'day' | 'month' | 'total';
|
|
@@ -25612,6 +25638,33 @@ export type CreateCtwaAdData = {
|
|
|
25612
25638
|
* Custom audience ID to target.
|
|
25613
25639
|
*/
|
|
25614
25640
|
audienceId?: string;
|
|
25641
|
+
/**
|
|
25642
|
+
* Manual ad placements on the shared ad set. Omit
|
|
25643
|
+
* for automatic placements. When set, restricts delivery to the chosen surfaces,
|
|
25644
|
+
* mapped onto the ad set's `targeting.{publisher_platforms, facebook_positions, instagram_positions,
|
|
25645
|
+
* messenger_positions, audience_network_positions, threads_positions,
|
|
25646
|
+
* whatsapp_positions, device_platforms}`. Enum membership is validated here; Meta
|
|
25647
|
+
* additionally enforces co-selection rules and restricts which
|
|
25648
|
+
* placements are eligible for click-to-WhatsApp ads, returning an actionable
|
|
25649
|
+
* error which we surface.
|
|
25650
|
+
*
|
|
25651
|
+
*/
|
|
25652
|
+
placements?: {
|
|
25653
|
+
/**
|
|
25654
|
+
* Top-level platforms to deliver on. A position field below is only honoured when its parent platform is included here.
|
|
25655
|
+
*/
|
|
25656
|
+
publisherPlatforms?: Array<('facebook' | 'instagram' | 'threads' | 'messenger' | 'audience_network')>;
|
|
25657
|
+
facebookPositions?: Array<('feed' | 'right_hand_column' | 'marketplace' | 'video_feeds' | 'story' | 'search' | 'instream_video' | 'facebook_reels' | 'facebook_reels_overlay' | 'profile_feed' | 'notification')>;
|
|
25658
|
+
instagramPositions?: Array<('stream' | 'story' | 'explore' | 'explore_home' | 'reels' | 'profile_feed' | 'ig_search' | 'profile_reels')>;
|
|
25659
|
+
messengerPositions?: Array<('messenger_home' | 'sponsored_messages' | 'story')>;
|
|
25660
|
+
audienceNetworkPositions?: Array<('classic' | 'rewarded_video')>;
|
|
25661
|
+
threadsPositions?: Array<('threads_stream')>;
|
|
25662
|
+
whatsappPositions?: Array<('status')>;
|
|
25663
|
+
/**
|
|
25664
|
+
* Restrict by device. Omit to deliver on both mobile and desktop.
|
|
25665
|
+
*/
|
|
25666
|
+
devicePlatforms?: Array<('mobile' | 'desktop')>;
|
|
25667
|
+
};
|
|
25615
25668
|
/**
|
|
25616
25669
|
* Meta's Advantage+ audience expansion. `0` (default) keeps
|
|
25617
25670
|
* targeting strict; `1` lets Meta expand beyond the supplied
|