@getlatedev/node 0.2.1369 → 0.2.1371
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 +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -1
- package/src/generated/types.gen.ts +6 -3
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;
|
|
@@ -47597,7 +47597,7 @@ type DeleteAdSetData = {
|
|
|
47597
47597
|
type DeleteAdSetResponse = ({
|
|
47598
47598
|
deleted?: boolean;
|
|
47599
47599
|
/**
|
|
47600
|
-
* Local Ad documents marked cancelled
|
|
47600
|
+
* Local Ad documents marked cancelled (0 for an ad set with no ads)
|
|
47601
47601
|
*/
|
|
47602
47602
|
adCount?: number;
|
|
47603
47603
|
});
|
|
@@ -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;
|
|
@@ -47597,7 +47597,7 @@ type DeleteAdSetData = {
|
|
|
47597
47597
|
type DeleteAdSetResponse = ({
|
|
47598
47598
|
deleted?: boolean;
|
|
47599
47599
|
/**
|
|
47600
|
-
* Local Ad documents marked cancelled
|
|
47600
|
+
* Local Ad documents marked cancelled (0 for an ad set with no ads)
|
|
47601
47601
|
*/
|
|
47602
47602
|
adCount?: number;
|
|
47603
47603
|
});
|
|
@@ -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.1371",
|
|
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.1371",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -11594,7 +11594,10 @@ export const listAdSets = <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
11594
11594
|
* Created `PAUSED` unless `status: ACTIVE`. The new ad group has no ad
|
|
11595
11595
|
* yet, so it will not appear in GET /v1/ads/tree (built purely from `ads`
|
|
11596
11596
|
* rows) until one is added; use GET /v1/ads/ad-sets to see it in the
|
|
11597
|
-
* meantime.
|
|
11597
|
+
* meantime. It can be read, edited and deleted through
|
|
11598
|
+
* `/v1/ads/ad-sets/{adSetId}` right away (targeting, schedule, name);
|
|
11599
|
+
* its `status`, `budget` and bid fields return 409
|
|
11600
|
+
* `invalid_resource_state` until it has an ad.
|
|
11598
11601
|
*
|
|
11599
11602
|
* **Idempotency:** send an `Idempotency-Key` header to make retries safe.
|
|
11600
11603
|
*/
|
|
@@ -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;
|
|
@@ -48306,7 +48306,7 @@ export type DeleteAdSetData = {
|
|
|
48306
48306
|
export type DeleteAdSetResponse = ({
|
|
48307
48307
|
deleted?: boolean;
|
|
48308
48308
|
/**
|
|
48309
|
-
* Local Ad documents marked cancelled
|
|
48309
|
+
* Local Ad documents marked cancelled (0 for an ad set with no ads)
|
|
48310
48310
|
*/
|
|
48311
48311
|
adCount?: number;
|
|
48312
48312
|
});
|
|
@@ -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
|
|