@getlatedev/node 0.2.1370 → 0.2.1372
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 +10 -7
- package/dist/index.d.ts +10 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +10 -7
package/dist/index.d.mts
CHANGED
|
@@ -12798,7 +12798,7 @@ type MetaProductCatalog = {
|
|
|
12798
12798
|
id?: string;
|
|
12799
12799
|
name?: string;
|
|
12800
12800
|
/**
|
|
12801
|
-
* Catalog vertical (e.g. commerce, vehicles, hotels)
|
|
12801
|
+
* Catalog vertical as Meta reports it (e.g. commerce, services, vehicles, hotels)
|
|
12802
12802
|
*/
|
|
12803
12803
|
vertical?: (string) | null;
|
|
12804
12804
|
productCount?: number;
|
|
@@ -47066,7 +47066,7 @@ type CreateAdSetData = {
|
|
|
47066
47066
|
*/
|
|
47067
47067
|
customerId?: string;
|
|
47068
47068
|
/**
|
|
47069
|
-
* Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget;
|
|
47069
|
+
* Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget; 400 under campaign budget optimization, where the campaign budget funds the ad group.
|
|
47070
47070
|
*/
|
|
47071
47071
|
budgetAmount?: number;
|
|
47072
47072
|
/**
|
|
@@ -53657,10 +53657,10 @@ type CreateStandaloneAdData = {
|
|
|
53657
53657
|
* new ad group (400 without them); bid, conversion event and
|
|
53658
53658
|
* pixel work as on a new campaign. Under campaign budget
|
|
53659
53659
|
* optimization the ad group takes the campaign's bid,
|
|
53660
|
-
* goal type, optimization event and pixel
|
|
53661
|
-
* of its own
|
|
53662
|
-
*
|
|
53663
|
-
*
|
|
53660
|
+
* goal type, optimization event and pixel and carries no
|
|
53661
|
+
* budget of its own, so `budgetAmount`/`budgetType`, bid
|
|
53662
|
+
* fields or another conversion event or pixel return 400,
|
|
53663
|
+
* as does an `endDate` when the campaign has no end
|
|
53664
53664
|
* date. A
|
|
53665
53665
|
* campaign of another ad account returns 404, a Reddit Max
|
|
53666
53666
|
* campaign 422. If the ad fails, the new ad group is
|
|
@@ -55737,7 +55737,10 @@ type CreateAdCatalogData = {
|
|
|
55737
55737
|
*/
|
|
55738
55738
|
businessId?: string;
|
|
55739
55739
|
name: string;
|
|
55740
|
-
|
|
55740
|
+
/**
|
|
55741
|
+
* Meta catalog vertical. Use services for a professional services catalog (for example one linked to WhatsApp). local_service_business is a deprecated alias of local_service_businesses. The product endpoints under /v1/ads/catalogs/{catalogId}/products write commerce product items only.
|
|
55742
|
+
*/
|
|
55743
|
+
vertical?: 'commerce' | 'adoptable_pets' | 'apps_and_software' | 'articles_and_publications' | 'destinations' | 'flights' | 'generic' | 'home_listings' | 'hotels' | 'local_service_businesses' | 'media_titles' | 'offer_items' | 'offline_commerce' | 'services' | 'transactable_items' | 'vehicles' | 'local_service_business';
|
|
55741
55744
|
};
|
|
55742
55745
|
};
|
|
55743
55746
|
type CreateAdCatalogResponse = ({
|
package/dist/index.d.ts
CHANGED
|
@@ -12798,7 +12798,7 @@ type MetaProductCatalog = {
|
|
|
12798
12798
|
id?: string;
|
|
12799
12799
|
name?: string;
|
|
12800
12800
|
/**
|
|
12801
|
-
* Catalog vertical (e.g. commerce, vehicles, hotels)
|
|
12801
|
+
* Catalog vertical as Meta reports it (e.g. commerce, services, vehicles, hotels)
|
|
12802
12802
|
*/
|
|
12803
12803
|
vertical?: (string) | null;
|
|
12804
12804
|
productCount?: number;
|
|
@@ -47066,7 +47066,7 @@ type CreateAdSetData = {
|
|
|
47066
47066
|
*/
|
|
47067
47067
|
customerId?: string;
|
|
47068
47068
|
/**
|
|
47069
|
-
* Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget;
|
|
47069
|
+
* Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget; 400 under campaign budget optimization, where the campaign budget funds the ad group.
|
|
47070
47070
|
*/
|
|
47071
47071
|
budgetAmount?: number;
|
|
47072
47072
|
/**
|
|
@@ -53657,10 +53657,10 @@ type CreateStandaloneAdData = {
|
|
|
53657
53657
|
* new ad group (400 without them); bid, conversion event and
|
|
53658
53658
|
* pixel work as on a new campaign. Under campaign budget
|
|
53659
53659
|
* optimization the ad group takes the campaign's bid,
|
|
53660
|
-
* goal type, optimization event and pixel
|
|
53661
|
-
* of its own
|
|
53662
|
-
*
|
|
53663
|
-
*
|
|
53660
|
+
* goal type, optimization event and pixel and carries no
|
|
53661
|
+
* budget of its own, so `budgetAmount`/`budgetType`, bid
|
|
53662
|
+
* fields or another conversion event or pixel return 400,
|
|
53663
|
+
* as does an `endDate` when the campaign has no end
|
|
53664
53664
|
* date. A
|
|
53665
53665
|
* campaign of another ad account returns 404, a Reddit Max
|
|
53666
53666
|
* campaign 422. If the ad fails, the new ad group is
|
|
@@ -55737,7 +55737,10 @@ type CreateAdCatalogData = {
|
|
|
55737
55737
|
*/
|
|
55738
55738
|
businessId?: string;
|
|
55739
55739
|
name: string;
|
|
55740
|
-
|
|
55740
|
+
/**
|
|
55741
|
+
* Meta catalog vertical. Use services for a professional services catalog (for example one linked to WhatsApp). local_service_business is a deprecated alias of local_service_businesses. The product endpoints under /v1/ads/catalogs/{catalogId}/products write commerce product items only.
|
|
55742
|
+
*/
|
|
55743
|
+
vertical?: 'commerce' | 'adoptable_pets' | 'apps_and_software' | 'articles_and_publications' | 'destinations' | 'flights' | 'generic' | 'home_listings' | 'hotels' | 'local_service_businesses' | 'media_titles' | 'offer_items' | 'offline_commerce' | 'services' | 'transactable_items' | 'vehicles' | 'local_service_business';
|
|
55741
55744
|
};
|
|
55742
55745
|
};
|
|
55743
55746
|
type CreateAdCatalogResponse = ({
|
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.1372",
|
|
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.1372",
|
|
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
|
@@ -11088,7 +11088,7 @@ export type MetaProductCatalog = {
|
|
|
11088
11088
|
id?: string;
|
|
11089
11089
|
name?: string;
|
|
11090
11090
|
/**
|
|
11091
|
-
* Catalog vertical (e.g. commerce, vehicles, hotels)
|
|
11091
|
+
* Catalog vertical as Meta reports it (e.g. commerce, services, vehicles, hotels)
|
|
11092
11092
|
*/
|
|
11093
11093
|
vertical?: (string) | null;
|
|
11094
11094
|
productCount?: number;
|
|
@@ -47759,7 +47759,7 @@ export type CreateAdSetData = {
|
|
|
47759
47759
|
*/
|
|
47760
47760
|
customerId?: string;
|
|
47761
47761
|
/**
|
|
47762
|
-
* Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget;
|
|
47762
|
+
* Reddit only. Budget of the new ad group, in the ad account's currency units. Required when the campaign has no campaign budget; 400 under campaign budget optimization, where the campaign budget funds the ad group.
|
|
47763
47763
|
*/
|
|
47764
47764
|
budgetAmount?: number;
|
|
47765
47765
|
/**
|
|
@@ -54734,10 +54734,10 @@ export type CreateStandaloneAdData = {
|
|
|
54734
54734
|
* new ad group (400 without them); bid, conversion event and
|
|
54735
54735
|
* pixel work as on a new campaign. Under campaign budget
|
|
54736
54736
|
* optimization the ad group takes the campaign's bid,
|
|
54737
|
-
* goal type, optimization event and pixel
|
|
54738
|
-
* of its own
|
|
54739
|
-
*
|
|
54740
|
-
*
|
|
54737
|
+
* goal type, optimization event and pixel and carries no
|
|
54738
|
+
* budget of its own, so `budgetAmount`/`budgetType`, bid
|
|
54739
|
+
* fields or another conversion event or pixel return 400,
|
|
54740
|
+
* as does an `endDate` when the campaign has no end
|
|
54741
54741
|
* date. A
|
|
54742
54742
|
* campaign of another ad account returns 404, a Reddit Max
|
|
54743
54743
|
* campaign 422. If the ad fails, the new ad group is
|
|
@@ -56889,7 +56889,10 @@ export type CreateAdCatalogData = {
|
|
|
56889
56889
|
*/
|
|
56890
56890
|
businessId?: string;
|
|
56891
56891
|
name: string;
|
|
56892
|
-
|
|
56892
|
+
/**
|
|
56893
|
+
* Meta catalog vertical. Use services for a professional services catalog (for example one linked to WhatsApp). local_service_business is a deprecated alias of local_service_businesses. The product endpoints under /v1/ads/catalogs/{catalogId}/products write commerce product items only.
|
|
56894
|
+
*/
|
|
56895
|
+
vertical?: 'commerce' | 'adoptable_pets' | 'apps_and_software' | 'articles_and_publications' | 'destinations' | 'flights' | 'generic' | 'home_listings' | 'hotels' | 'local_service_businesses' | 'media_titles' | 'offer_items' | 'offline_commerce' | 'services' | 'transactable_items' | 'vehicles' | 'local_service_business';
|
|
56893
56896
|
};
|
|
56894
56897
|
};
|
|
56895
56898
|
|