@getlatedev/node 0.2.374 → 0.2.375
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 +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +8 -4
package/dist/index.d.mts
CHANGED
|
@@ -4538,7 +4538,7 @@ type TargetingSpec = {
|
|
|
4538
4538
|
*/
|
|
4539
4539
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
4540
4540
|
/**
|
|
4541
|
-
* Language codes (e.g. ['en']).
|
|
4541
|
+
* Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
|
|
4542
4542
|
*/
|
|
4543
4543
|
languages?: Array<(string)>;
|
|
4544
4544
|
/**
|
|
@@ -12673,6 +12673,10 @@ type GetGmbLocationsData = {
|
|
|
12673
12673
|
* Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".
|
|
12674
12674
|
*/
|
|
12675
12675
|
filter?: string;
|
|
12676
|
+
/**
|
|
12677
|
+
* Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.
|
|
12678
|
+
*/
|
|
12679
|
+
limit?: number;
|
|
12676
12680
|
/**
|
|
12677
12681
|
* Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.
|
|
12678
12682
|
*/
|
|
@@ -12697,9 +12701,9 @@ type GetGmbLocationsResponse = ({
|
|
|
12697
12701
|
selectedLocationId?: string;
|
|
12698
12702
|
cached?: boolean;
|
|
12699
12703
|
});
|
|
12700
|
-
type GetGmbLocationsError = ({
|
|
12704
|
+
type GetGmbLocationsError = (unknown | {
|
|
12701
12705
|
error?: string;
|
|
12702
|
-
}
|
|
12706
|
+
});
|
|
12703
12707
|
type UpdateGmbLocationData = {
|
|
12704
12708
|
body: {
|
|
12705
12709
|
selectedLocationId: string;
|
|
@@ -23921,7 +23925,7 @@ type CreateStandaloneAdData = {
|
|
|
23921
23925
|
*/
|
|
23922
23926
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
23923
23927
|
/**
|
|
23924
|
-
* Language codes (e.g. ['en']).
|
|
23928
|
+
* Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en'], ['de']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code for a specific one ("en_GB", "pt_BR", "zh_TW"). Unknown codes are rejected. Other ad platforms use their own language-code systems.
|
|
23925
23929
|
*/
|
|
23926
23930
|
languages?: Array<(string)>;
|
|
23927
23931
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4538,7 +4538,7 @@ type TargetingSpec = {
|
|
|
4538
4538
|
*/
|
|
4539
4539
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
4540
4540
|
/**
|
|
4541
|
-
* Language codes (e.g. ['en']).
|
|
4541
|
+
* Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
|
|
4542
4542
|
*/
|
|
4543
4543
|
languages?: Array<(string)>;
|
|
4544
4544
|
/**
|
|
@@ -12673,6 +12673,10 @@ type GetGmbLocationsData = {
|
|
|
12673
12673
|
* Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".
|
|
12674
12674
|
*/
|
|
12675
12675
|
filter?: string;
|
|
12676
|
+
/**
|
|
12677
|
+
* Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.
|
|
12678
|
+
*/
|
|
12679
|
+
limit?: number;
|
|
12676
12680
|
/**
|
|
12677
12681
|
* Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.
|
|
12678
12682
|
*/
|
|
@@ -12697,9 +12701,9 @@ type GetGmbLocationsResponse = ({
|
|
|
12697
12701
|
selectedLocationId?: string;
|
|
12698
12702
|
cached?: boolean;
|
|
12699
12703
|
});
|
|
12700
|
-
type GetGmbLocationsError = ({
|
|
12704
|
+
type GetGmbLocationsError = (unknown | {
|
|
12701
12705
|
error?: string;
|
|
12702
|
-
}
|
|
12706
|
+
});
|
|
12703
12707
|
type UpdateGmbLocationData = {
|
|
12704
12708
|
body: {
|
|
12705
12709
|
selectedLocationId: string;
|
|
@@ -23921,7 +23925,7 @@ type CreateStandaloneAdData = {
|
|
|
23921
23925
|
*/
|
|
23922
23926
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
23923
23927
|
/**
|
|
23924
|
-
* Language codes (e.g. ['en']).
|
|
23928
|
+
* Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en'], ['de']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code for a specific one ("en_GB", "pt_BR", "zh_TW"). Unknown codes are rejected. Other ad platforms use their own language-code systems.
|
|
23925
23929
|
*/
|
|
23926
23930
|
languages?: Array<(string)>;
|
|
23927
23931
|
/**
|
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.375",
|
|
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.375",
|
|
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
|
@@ -2027,7 +2027,7 @@ export const updateYoutubeDefaultPlaylist = <ThrowOnError extends boolean = fals
|
|
|
2027
2027
|
|
|
2028
2028
|
/**
|
|
2029
2029
|
* List GBP locations
|
|
2030
|
-
* Returns Google Business Profile locations the connected account can access, plus the currently selected location. The list is bounded (see hasMore); for accounts that own many locations, use the search or filter query params to find a specific one instead of loading them all.
|
|
2030
|
+
* Returns Google Business Profile locations the connected account can access, plus the currently selected location. The list is bounded (see hasMore); for accounts that own many locations, use the search or filter query params to find a specific one instead of loading them all, or raise limit to enumerate an account with more than 100 locations.
|
|
2031
2031
|
*
|
|
2032
2032
|
*/
|
|
2033
2033
|
export const getGmbLocations = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetGmbLocationsData, ThrowOnError>) => {
|
|
@@ -3810,7 +3810,7 @@ export type TargetingSpec = {
|
|
|
3810
3810
|
*/
|
|
3811
3811
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
3812
3812
|
/**
|
|
3813
|
-
* Language codes (e.g. ['en']).
|
|
3813
|
+
* Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code ("en_GB", "pt_BR") for a specific one. Unknown codes are rejected.
|
|
3814
3814
|
*/
|
|
3815
3815
|
languages?: Array<(string)>;
|
|
3816
3816
|
/**
|
|
@@ -12456,6 +12456,10 @@ export type GetGmbLocationsData = {
|
|
|
12456
12456
|
* Raw Google Business Information API filter expression (advanced; takes precedence over search), e.g. storeCode="LH279411".
|
|
12457
12457
|
*/
|
|
12458
12458
|
filter?: string;
|
|
12459
|
+
/**
|
|
12460
|
+
* Max locations to return (default 100, max 500). Raise it to enumerate an account with more than 100 locations; for accounts with thousands, use search/filter instead.
|
|
12461
|
+
*/
|
|
12462
|
+
limit?: number;
|
|
12459
12463
|
/**
|
|
12460
12464
|
* Free-text search on the business name, applied server-side by Google. Use for accounts with many locations.
|
|
12461
12465
|
*/
|
|
@@ -12482,9 +12486,9 @@ export type GetGmbLocationsResponse = ({
|
|
|
12482
12486
|
cached?: boolean;
|
|
12483
12487
|
});
|
|
12484
12488
|
|
|
12485
|
-
export type GetGmbLocationsError = ({
|
|
12489
|
+
export type GetGmbLocationsError = (unknown | {
|
|
12486
12490
|
error?: string;
|
|
12487
|
-
}
|
|
12491
|
+
});
|
|
12488
12492
|
|
|
12489
12493
|
export type UpdateGmbLocationData = {
|
|
12490
12494
|
body: {
|
|
@@ -24583,7 +24587,7 @@ export type CreateStandaloneAdData = {
|
|
|
24583
24587
|
*/
|
|
24584
24588
|
incomeTier?: 'top_5' | 'top_10' | 'top_10_25' | 'top_25_50';
|
|
24585
24589
|
/**
|
|
24586
|
-
* Language codes (e.g. ['en']).
|
|
24590
|
+
* Language codes restricting the audience by language. On Meta, ISO 639-1 codes (e.g. ['en'], ['de']); a bare code targets all regional variants ("en" = all English), or use a region-qualified code for a specific one ("en_GB", "pt_BR", "zh_TW"). Unknown codes are rejected. Other ad platforms use their own language-code systems.
|
|
24587
24591
|
*/
|
|
24588
24592
|
languages?: Array<(string)>;
|
|
24589
24593
|
/**
|