@getlatedev/node 0.2.1111 → 0.2.1112
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 +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +30 -0
package/dist/index.d.mts
CHANGED
|
@@ -41587,6 +41587,16 @@ type ListCampaignAssetsResponse = ({
|
|
|
41587
41587
|
header?: string;
|
|
41588
41588
|
values?: Array<(string)>;
|
|
41589
41589
|
}>;
|
|
41590
|
+
images?: Array<{
|
|
41591
|
+
assetResourceName?: string;
|
|
41592
|
+
campaignAssetResourceName?: string;
|
|
41593
|
+
/**
|
|
41594
|
+
* Google-hosted copy of the image.
|
|
41595
|
+
*/
|
|
41596
|
+
imageUrl?: string;
|
|
41597
|
+
width?: number;
|
|
41598
|
+
height?: number;
|
|
41599
|
+
}>;
|
|
41590
41600
|
/**
|
|
41591
41601
|
* Time of the cached Google read. Null when no cache was used.
|
|
41592
41602
|
*/
|
|
@@ -41615,6 +41625,10 @@ type AttachCampaignAssetsData = {
|
|
|
41615
41625
|
sitelinks?: Array<GoogleSitelink>;
|
|
41616
41626
|
callouts?: Array<(string)>;
|
|
41617
41627
|
structuredSnippets?: Array<GoogleStructuredSnippet>;
|
|
41628
|
+
/**
|
|
41629
|
+
* Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
|
|
41630
|
+
*/
|
|
41631
|
+
images?: Array<(string)>;
|
|
41618
41632
|
};
|
|
41619
41633
|
path: {
|
|
41620
41634
|
/**
|
|
@@ -41628,6 +41642,7 @@ type AttachCampaignAssetsResponse = ({
|
|
|
41628
41642
|
sitelinkAssetResourceNames?: Array<(string)>;
|
|
41629
41643
|
calloutAssetResourceNames?: Array<(string)>;
|
|
41630
41644
|
structuredSnippetAssetResourceNames?: Array<(string)>;
|
|
41645
|
+
imageAssetResourceNames?: Array<(string)>;
|
|
41631
41646
|
});
|
|
41632
41647
|
type AttachCampaignAssetsError = (ErrorResponse | unknown);
|
|
41633
41648
|
type UpdateCampaignAssetsData = {
|
|
@@ -41730,6 +41745,16 @@ type ListAdGroupAssetsResponse = ({
|
|
|
41730
41745
|
header?: string;
|
|
41731
41746
|
values?: Array<(string)>;
|
|
41732
41747
|
}>;
|
|
41748
|
+
images?: Array<{
|
|
41749
|
+
assetResourceName?: string;
|
|
41750
|
+
adGroupAssetResourceName?: string;
|
|
41751
|
+
/**
|
|
41752
|
+
* Google-hosted copy of the image.
|
|
41753
|
+
*/
|
|
41754
|
+
imageUrl?: string;
|
|
41755
|
+
width?: number;
|
|
41756
|
+
height?: number;
|
|
41757
|
+
}>;
|
|
41733
41758
|
/**
|
|
41734
41759
|
* Time of the cached Google read. Null when no cache was used.
|
|
41735
41760
|
*/
|
|
@@ -41758,6 +41783,10 @@ type AttachAdGroupAssetsData = {
|
|
|
41758
41783
|
sitelinks?: Array<GoogleSitelink>;
|
|
41759
41784
|
callouts?: Array<(string)>;
|
|
41760
41785
|
structuredSnippets?: Array<GoogleStructuredSnippet>;
|
|
41786
|
+
/**
|
|
41787
|
+
* Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
|
|
41788
|
+
*/
|
|
41789
|
+
images?: Array<(string)>;
|
|
41761
41790
|
};
|
|
41762
41791
|
path: {
|
|
41763
41792
|
/**
|
|
@@ -41771,6 +41800,7 @@ type AttachAdGroupAssetsResponse = ({
|
|
|
41771
41800
|
sitelinkAssetResourceNames?: Array<(string)>;
|
|
41772
41801
|
calloutAssetResourceNames?: Array<(string)>;
|
|
41773
41802
|
structuredSnippetAssetResourceNames?: Array<(string)>;
|
|
41803
|
+
imageAssetResourceNames?: Array<(string)>;
|
|
41774
41804
|
});
|
|
41775
41805
|
type AttachAdGroupAssetsError = (ErrorResponse | unknown);
|
|
41776
41806
|
type UpdateAdGroupAssetsData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -41587,6 +41587,16 @@ type ListCampaignAssetsResponse = ({
|
|
|
41587
41587
|
header?: string;
|
|
41588
41588
|
values?: Array<(string)>;
|
|
41589
41589
|
}>;
|
|
41590
|
+
images?: Array<{
|
|
41591
|
+
assetResourceName?: string;
|
|
41592
|
+
campaignAssetResourceName?: string;
|
|
41593
|
+
/**
|
|
41594
|
+
* Google-hosted copy of the image.
|
|
41595
|
+
*/
|
|
41596
|
+
imageUrl?: string;
|
|
41597
|
+
width?: number;
|
|
41598
|
+
height?: number;
|
|
41599
|
+
}>;
|
|
41590
41600
|
/**
|
|
41591
41601
|
* Time of the cached Google read. Null when no cache was used.
|
|
41592
41602
|
*/
|
|
@@ -41615,6 +41625,10 @@ type AttachCampaignAssetsData = {
|
|
|
41615
41625
|
sitelinks?: Array<GoogleSitelink>;
|
|
41616
41626
|
callouts?: Array<(string)>;
|
|
41617
41627
|
structuredSnippets?: Array<GoogleStructuredSnippet>;
|
|
41628
|
+
/**
|
|
41629
|
+
* Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
|
|
41630
|
+
*/
|
|
41631
|
+
images?: Array<(string)>;
|
|
41618
41632
|
};
|
|
41619
41633
|
path: {
|
|
41620
41634
|
/**
|
|
@@ -41628,6 +41642,7 @@ type AttachCampaignAssetsResponse = ({
|
|
|
41628
41642
|
sitelinkAssetResourceNames?: Array<(string)>;
|
|
41629
41643
|
calloutAssetResourceNames?: Array<(string)>;
|
|
41630
41644
|
structuredSnippetAssetResourceNames?: Array<(string)>;
|
|
41645
|
+
imageAssetResourceNames?: Array<(string)>;
|
|
41631
41646
|
});
|
|
41632
41647
|
type AttachCampaignAssetsError = (ErrorResponse | unknown);
|
|
41633
41648
|
type UpdateCampaignAssetsData = {
|
|
@@ -41730,6 +41745,16 @@ type ListAdGroupAssetsResponse = ({
|
|
|
41730
41745
|
header?: string;
|
|
41731
41746
|
values?: Array<(string)>;
|
|
41732
41747
|
}>;
|
|
41748
|
+
images?: Array<{
|
|
41749
|
+
assetResourceName?: string;
|
|
41750
|
+
adGroupAssetResourceName?: string;
|
|
41751
|
+
/**
|
|
41752
|
+
* Google-hosted copy of the image.
|
|
41753
|
+
*/
|
|
41754
|
+
imageUrl?: string;
|
|
41755
|
+
width?: number;
|
|
41756
|
+
height?: number;
|
|
41757
|
+
}>;
|
|
41733
41758
|
/**
|
|
41734
41759
|
* Time of the cached Google read. Null when no cache was used.
|
|
41735
41760
|
*/
|
|
@@ -41758,6 +41783,10 @@ type AttachAdGroupAssetsData = {
|
|
|
41758
41783
|
sitelinks?: Array<GoogleSitelink>;
|
|
41759
41784
|
callouts?: Array<(string)>;
|
|
41760
41785
|
structuredSnippets?: Array<GoogleStructuredSnippet>;
|
|
41786
|
+
/**
|
|
41787
|
+
* Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
|
|
41788
|
+
*/
|
|
41789
|
+
images?: Array<(string)>;
|
|
41761
41790
|
};
|
|
41762
41791
|
path: {
|
|
41763
41792
|
/**
|
|
@@ -41771,6 +41800,7 @@ type AttachAdGroupAssetsResponse = ({
|
|
|
41771
41800
|
sitelinkAssetResourceNames?: Array<(string)>;
|
|
41772
41801
|
calloutAssetResourceNames?: Array<(string)>;
|
|
41773
41802
|
structuredSnippetAssetResourceNames?: Array<(string)>;
|
|
41803
|
+
imageAssetResourceNames?: Array<(string)>;
|
|
41774
41804
|
});
|
|
41775
41805
|
type AttachAdGroupAssetsError = (ErrorResponse | unknown);
|
|
41776
41806
|
type UpdateAdGroupAssetsData = {
|
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.1112",
|
|
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.1112",
|
|
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
|
@@ -10502,7 +10502,7 @@ export const listCampaignAssets = <ThrowOnError extends boolean = false>(options
|
|
|
10502
10502
|
|
|
10503
10503
|
/**
|
|
10504
10504
|
* Attach campaign assets
|
|
10505
|
-
* Creates and attaches sitelinks, callouts
|
|
10505
|
+
* Creates and attaches sitelinks, callouts, structured snippets and image assets in one Google mutation. Google shows images only on accounts it deems eligible (account age, policy history, vertical).
|
|
10506
10506
|
*/
|
|
10507
10507
|
export const attachCampaignAssets = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AttachCampaignAssetsData, ThrowOnError>) => {
|
|
10508
10508
|
return (options?.client ?? client).post<AttachCampaignAssetsResponse, AttachCampaignAssetsError, ThrowOnError>({
|
|
@@ -10546,7 +10546,7 @@ export const listAdGroupAssets = <ThrowOnError extends boolean = false>(options:
|
|
|
10546
10546
|
|
|
10547
10547
|
/**
|
|
10548
10548
|
* Attach ad-group assets
|
|
10549
|
-
* Creates and attaches sitelinks, callouts
|
|
10549
|
+
* Creates and attaches sitelinks, callouts, structured snippets and image assets in one Google mutation. Google shows images only on accounts it deems eligible (account age, policy history, vertical).
|
|
10550
10550
|
*/
|
|
10551
10551
|
export const attachAdGroupAssets = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AttachAdGroupAssetsData, ThrowOnError>) => {
|
|
10552
10552
|
return (options?.client ?? client).post<AttachAdGroupAssetsResponse, AttachAdGroupAssetsError, ThrowOnError>({
|
|
@@ -42081,6 +42081,16 @@ export type ListCampaignAssetsResponse = ({
|
|
|
42081
42081
|
header?: string;
|
|
42082
42082
|
values?: Array<(string)>;
|
|
42083
42083
|
}>;
|
|
42084
|
+
images?: Array<{
|
|
42085
|
+
assetResourceName?: string;
|
|
42086
|
+
campaignAssetResourceName?: string;
|
|
42087
|
+
/**
|
|
42088
|
+
* Google-hosted copy of the image.
|
|
42089
|
+
*/
|
|
42090
|
+
imageUrl?: string;
|
|
42091
|
+
width?: number;
|
|
42092
|
+
height?: number;
|
|
42093
|
+
}>;
|
|
42084
42094
|
/**
|
|
42085
42095
|
* Time of the cached Google read. Null when no cache was used.
|
|
42086
42096
|
*/
|
|
@@ -42111,6 +42121,10 @@ export type AttachCampaignAssetsData = {
|
|
|
42111
42121
|
sitelinks?: Array<GoogleSitelink>;
|
|
42112
42122
|
callouts?: Array<(string)>;
|
|
42113
42123
|
structuredSnippets?: Array<GoogleStructuredSnippet>;
|
|
42124
|
+
/**
|
|
42125
|
+
* Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
|
|
42126
|
+
*/
|
|
42127
|
+
images?: Array<(string)>;
|
|
42114
42128
|
};
|
|
42115
42129
|
path: {
|
|
42116
42130
|
/**
|
|
@@ -42125,6 +42139,7 @@ export type AttachCampaignAssetsResponse = ({
|
|
|
42125
42139
|
sitelinkAssetResourceNames?: Array<(string)>;
|
|
42126
42140
|
calloutAssetResourceNames?: Array<(string)>;
|
|
42127
42141
|
structuredSnippetAssetResourceNames?: Array<(string)>;
|
|
42142
|
+
imageAssetResourceNames?: Array<(string)>;
|
|
42128
42143
|
});
|
|
42129
42144
|
|
|
42130
42145
|
export type AttachCampaignAssetsError = (ErrorResponse | unknown);
|
|
@@ -42236,6 +42251,16 @@ export type ListAdGroupAssetsResponse = ({
|
|
|
42236
42251
|
header?: string;
|
|
42237
42252
|
values?: Array<(string)>;
|
|
42238
42253
|
}>;
|
|
42254
|
+
images?: Array<{
|
|
42255
|
+
assetResourceName?: string;
|
|
42256
|
+
adGroupAssetResourceName?: string;
|
|
42257
|
+
/**
|
|
42258
|
+
* Google-hosted copy of the image.
|
|
42259
|
+
*/
|
|
42260
|
+
imageUrl?: string;
|
|
42261
|
+
width?: number;
|
|
42262
|
+
height?: number;
|
|
42263
|
+
}>;
|
|
42239
42264
|
/**
|
|
42240
42265
|
* Time of the cached Google read. Null when no cache was used.
|
|
42241
42266
|
*/
|
|
@@ -42266,6 +42291,10 @@ export type AttachAdGroupAssetsData = {
|
|
|
42266
42291
|
sitelinks?: Array<GoogleSitelink>;
|
|
42267
42292
|
callouts?: Array<(string)>;
|
|
42268
42293
|
structuredSnippets?: Array<GoogleStructuredSnippet>;
|
|
42294
|
+
/**
|
|
42295
|
+
* Public image URLs, uploaded to Google as image assets. Landscape 1.91:1 (min 600x314) or square 1:1 (min 300x300), up to 5 MB each.
|
|
42296
|
+
*/
|
|
42297
|
+
images?: Array<(string)>;
|
|
42269
42298
|
};
|
|
42270
42299
|
path: {
|
|
42271
42300
|
/**
|
|
@@ -42280,6 +42309,7 @@ export type AttachAdGroupAssetsResponse = ({
|
|
|
42280
42309
|
sitelinkAssetResourceNames?: Array<(string)>;
|
|
42281
42310
|
calloutAssetResourceNames?: Array<(string)>;
|
|
42282
42311
|
structuredSnippetAssetResourceNames?: Array<(string)>;
|
|
42312
|
+
imageAssetResourceNames?: Array<(string)>;
|
|
42283
42313
|
});
|
|
42284
42314
|
|
|
42285
42315
|
export type AttachAdGroupAssetsError = (ErrorResponse | unknown);
|