@getlatedev/node 0.2.1229 → 0.2.1231
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 +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -1
- package/src/generated/types.gen.ts +24 -1
package/dist/index.d.mts
CHANGED
|
@@ -714,7 +714,7 @@ declare class Zernio {
|
|
|
714
714
|
requestSmsSenderIdLimitIncrease: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RequestSmsSenderIdLimitIncreaseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RequestSmsSenderIdLimitIncreaseResponse, unknown, ThrowOnError>;
|
|
715
715
|
deleteSmsSenderId: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteSmsSenderIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteSmsSenderIdResponse, unknown, ThrowOnError>;
|
|
716
716
|
startSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<StartSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StartSmsRegistrationResponse, unknown, ThrowOnError>;
|
|
717
|
-
listSmsRegistrations: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSmsRegistrationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSmsRegistrationsResponse,
|
|
717
|
+
listSmsRegistrations: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSmsRegistrationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSmsRegistrationsResponse, unknown, ThrowOnError>;
|
|
718
718
|
preflightSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PreflightSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PreflightSmsRegistrationResponse, ErrorResponse, ThrowOnError>;
|
|
719
719
|
deactivateSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeactivateSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeactivateSmsRegistrationResponse, unknown, ThrowOnError>;
|
|
720
720
|
getSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSmsRegistrationResponse, unknown, ThrowOnError>;
|
|
@@ -2341,6 +2341,29 @@ type Ad = {
|
|
|
2341
2341
|
* Google Display only. Resource name of the landscape marketing image asset (`creative.imageUrl`), for example customers/1234567890/assets/123. Set at creation and updated when PUT /v1/ads/{adId} replaces `creative.imageUrl`; replacing only `creative.squareImageUrl` leaves it unchanged.
|
|
2342
2342
|
*/
|
|
2343
2343
|
assetResourceName?: string;
|
|
2344
|
+
/**
|
|
2345
|
+
* Google Display only. Native Google asset resource name of each image on the responsive display ad, keyed by Google's image role. Set at creation for ads created through Zernio. PUT /v1/ads/{adId} overwrites only the role it replaces: `creative.imageUrl` updates `marketingImages`, `creative.squareImageUrl` updates `squareMarketingImages`. Absent on ads synced from Google.
|
|
2346
|
+
*/
|
|
2347
|
+
assets?: {
|
|
2348
|
+
/**
|
|
2349
|
+
* Landscape (1.91:1) marketing images. The first item matches `assetResourceName`.
|
|
2350
|
+
*/
|
|
2351
|
+
marketingImages?: Array<{
|
|
2352
|
+
/**
|
|
2353
|
+
* Google asset resource name, for example customers/1234567890/assets/123.
|
|
2354
|
+
*/
|
|
2355
|
+
resourceName?: string;
|
|
2356
|
+
}>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Square (1:1) marketing images.
|
|
2359
|
+
*/
|
|
2360
|
+
squareMarketingImages?: Array<{
|
|
2361
|
+
/**
|
|
2362
|
+
* Google asset resource name, for example customers/1234567890/assets/124.
|
|
2363
|
+
*/
|
|
2364
|
+
resourceName?: string;
|
|
2365
|
+
}>;
|
|
2366
|
+
};
|
|
2344
2367
|
/**
|
|
2345
2368
|
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
2346
2369
|
*/
|
|
@@ -34122,7 +34145,7 @@ type ListSmsRegistrationsResponse = ({
|
|
|
34122
34145
|
};
|
|
34123
34146
|
}>;
|
|
34124
34147
|
});
|
|
34125
|
-
type ListSmsRegistrationsError = (ErrorResponse);
|
|
34148
|
+
type ListSmsRegistrationsError = (ErrorResponse | unknown);
|
|
34126
34149
|
type PreflightSmsRegistrationData = {
|
|
34127
34150
|
body: {
|
|
34128
34151
|
registrationType: 'standard_10dlc' | 'sole_prop_10dlc';
|
package/dist/index.d.ts
CHANGED
|
@@ -714,7 +714,7 @@ declare class Zernio {
|
|
|
714
714
|
requestSmsSenderIdLimitIncrease: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RequestSmsSenderIdLimitIncreaseData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RequestSmsSenderIdLimitIncreaseResponse, unknown, ThrowOnError>;
|
|
715
715
|
deleteSmsSenderId: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteSmsSenderIdData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteSmsSenderIdResponse, unknown, ThrowOnError>;
|
|
716
716
|
startSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<StartSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StartSmsRegistrationResponse, unknown, ThrowOnError>;
|
|
717
|
-
listSmsRegistrations: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSmsRegistrationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSmsRegistrationsResponse,
|
|
717
|
+
listSmsRegistrations: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListSmsRegistrationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListSmsRegistrationsResponse, unknown, ThrowOnError>;
|
|
718
718
|
preflightSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PreflightSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PreflightSmsRegistrationResponse, ErrorResponse, ThrowOnError>;
|
|
719
719
|
deactivateSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeactivateSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeactivateSmsRegistrationResponse, unknown, ThrowOnError>;
|
|
720
720
|
getSmsRegistration: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetSmsRegistrationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetSmsRegistrationResponse, unknown, ThrowOnError>;
|
|
@@ -2341,6 +2341,29 @@ type Ad = {
|
|
|
2341
2341
|
* Google Display only. Resource name of the landscape marketing image asset (`creative.imageUrl`), for example customers/1234567890/assets/123. Set at creation and updated when PUT /v1/ads/{adId} replaces `creative.imageUrl`; replacing only `creative.squareImageUrl` leaves it unchanged.
|
|
2342
2342
|
*/
|
|
2343
2343
|
assetResourceName?: string;
|
|
2344
|
+
/**
|
|
2345
|
+
* Google Display only. Native Google asset resource name of each image on the responsive display ad, keyed by Google's image role. Set at creation for ads created through Zernio. PUT /v1/ads/{adId} overwrites only the role it replaces: `creative.imageUrl` updates `marketingImages`, `creative.squareImageUrl` updates `squareMarketingImages`. Absent on ads synced from Google.
|
|
2346
|
+
*/
|
|
2347
|
+
assets?: {
|
|
2348
|
+
/**
|
|
2349
|
+
* Landscape (1.91:1) marketing images. The first item matches `assetResourceName`.
|
|
2350
|
+
*/
|
|
2351
|
+
marketingImages?: Array<{
|
|
2352
|
+
/**
|
|
2353
|
+
* Google asset resource name, for example customers/1234567890/assets/123.
|
|
2354
|
+
*/
|
|
2355
|
+
resourceName?: string;
|
|
2356
|
+
}>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Square (1:1) marketing images.
|
|
2359
|
+
*/
|
|
2360
|
+
squareMarketingImages?: Array<{
|
|
2361
|
+
/**
|
|
2362
|
+
* Google asset resource name, for example customers/1234567890/assets/124.
|
|
2363
|
+
*/
|
|
2364
|
+
resourceName?: string;
|
|
2365
|
+
}>;
|
|
2366
|
+
};
|
|
2344
2367
|
/**
|
|
2345
2368
|
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
2346
2369
|
*/
|
|
@@ -34122,7 +34145,7 @@ type ListSmsRegistrationsResponse = ({
|
|
|
34122
34145
|
};
|
|
34123
34146
|
}>;
|
|
34124
34147
|
});
|
|
34125
|
-
type ListSmsRegistrationsError = (ErrorResponse);
|
|
34148
|
+
type ListSmsRegistrationsError = (ErrorResponse | unknown);
|
|
34126
34149
|
type PreflightSmsRegistrationData = {
|
|
34127
34150
|
body: {
|
|
34128
34151
|
registrationType: 'standard_10dlc' | 'sole_prop_10dlc';
|
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.1231",
|
|
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.1231",
|
|
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
|
@@ -5058,6 +5058,8 @@ export const unlikePost = <ThrowOnError extends boolean = false>(options: Option
|
|
|
5058
5058
|
* A 502 means Meta answered a server error after receiving the reply; it carries
|
|
5059
5059
|
* `details.privateReplyOutcome: "unknown"`, the reply is usually delivered and the comment's
|
|
5060
5060
|
* private reply spent, so check the conversation before retrying.
|
|
5061
|
+
* The reply is recorded in the inbox conversation with the commenter (`sentVia` `api` for
|
|
5062
|
+
* key auth, `human` for a session) and fires `message.sent` once.
|
|
5061
5063
|
*
|
|
5062
5064
|
*/
|
|
5063
5065
|
export const sendPrivateReplyToComment = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SendPrivateReplyToCommentData, ThrowOnError>) => {
|
|
@@ -10820,7 +10822,7 @@ export const getAd = <ThrowOnError extends boolean = false>(options: OptionsLega
|
|
|
10820
10822
|
* `creative.squareImageUrl`. Each image URL is uploaded as a new Google asset and the ad
|
|
10821
10823
|
* is pointed at it; Google assets are immutable, so the previous asset stays in the
|
|
10822
10824
|
* account's asset library. A new landscape image also updates `creative.assetResourceName`
|
|
10823
|
-
* to the new asset.
|
|
10825
|
+
* to the new asset, and each replaced image updates its own role in `creative.assets`.
|
|
10824
10826
|
* - **Performance Max**: top-level `assetGroup`, which swaps asset roles on the ad's asset
|
|
10825
10827
|
* group. The other creative fields return 422 for this channel, and `assetGroup` returns
|
|
10826
10828
|
* 422 on any other channel.
|
|
@@ -332,6 +332,29 @@ export type Ad = {
|
|
|
332
332
|
* Google Display only. Resource name of the landscape marketing image asset (`creative.imageUrl`), for example customers/1234567890/assets/123. Set at creation and updated when PUT /v1/ads/{adId} replaces `creative.imageUrl`; replacing only `creative.squareImageUrl` leaves it unchanged.
|
|
333
333
|
*/
|
|
334
334
|
assetResourceName?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Google Display only. Native Google asset resource name of each image on the responsive display ad, keyed by Google's image role. Set at creation for ads created through Zernio. PUT /v1/ads/{adId} overwrites only the role it replaces: `creative.imageUrl` updates `marketingImages`, `creative.squareImageUrl` updates `squareMarketingImages`. Absent on ads synced from Google.
|
|
337
|
+
*/
|
|
338
|
+
assets?: {
|
|
339
|
+
/**
|
|
340
|
+
* Landscape (1.91:1) marketing images. The first item matches `assetResourceName`.
|
|
341
|
+
*/
|
|
342
|
+
marketingImages?: Array<{
|
|
343
|
+
/**
|
|
344
|
+
* Google asset resource name, for example customers/1234567890/assets/123.
|
|
345
|
+
*/
|
|
346
|
+
resourceName?: string;
|
|
347
|
+
}>;
|
|
348
|
+
/**
|
|
349
|
+
* Square (1:1) marketing images.
|
|
350
|
+
*/
|
|
351
|
+
squareMarketingImages?: Array<{
|
|
352
|
+
/**
|
|
353
|
+
* Google asset resource name, for example customers/1234567890/assets/124.
|
|
354
|
+
*/
|
|
355
|
+
resourceName?: string;
|
|
356
|
+
}>;
|
|
357
|
+
};
|
|
335
358
|
/**
|
|
336
359
|
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
337
360
|
*/
|
|
@@ -33954,7 +33977,7 @@ export type ListSmsRegistrationsResponse = ({
|
|
|
33954
33977
|
}>;
|
|
33955
33978
|
});
|
|
33956
33979
|
|
|
33957
|
-
export type ListSmsRegistrationsError = (ErrorResponse);
|
|
33980
|
+
export type ListSmsRegistrationsError = (ErrorResponse | unknown);
|
|
33958
33981
|
|
|
33959
33982
|
export type PreflightSmsRegistrationData = {
|
|
33960
33983
|
body: {
|