@getlatedev/node 0.2.1368 → 0.2.1370
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -2
- package/src/generated/types.gen.ts +9 -1
package/dist/index.d.mts
CHANGED
|
@@ -10663,6 +10663,10 @@ type HubSpotSettings = {
|
|
|
10663
10663
|
* Whether Zernio logs inbox messages on HubSpot contact timelines.
|
|
10664
10664
|
*/
|
|
10665
10665
|
logMessages: boolean;
|
|
10666
|
+
/**
|
|
10667
|
+
* Whether Zernio sends closed-won deals as Purchase events to the profile's event destinations.
|
|
10668
|
+
*/
|
|
10669
|
+
reportDeals: boolean;
|
|
10666
10670
|
};
|
|
10667
10671
|
type platform7 = 'hubspot';
|
|
10668
10672
|
type ImessageAudienceContact = {
|
|
@@ -30924,6 +30928,10 @@ type UpdateHubSpotSettingsData = {
|
|
|
30924
30928
|
* Log inbound and outbound inbox messages on the contact's HubSpot timeline.
|
|
30925
30929
|
*/
|
|
30926
30930
|
logMessages?: boolean;
|
|
30931
|
+
/**
|
|
30932
|
+
* Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted `crm.objects.deals.read`; otherwise 400. Deals closed before it was turned on are not sent.
|
|
30933
|
+
*/
|
|
30934
|
+
reportDeals?: boolean;
|
|
30927
30935
|
};
|
|
30928
30936
|
path: {
|
|
30929
30937
|
accountId: string;
|
|
@@ -47589,7 +47597,7 @@ type DeleteAdSetData = {
|
|
|
47589
47597
|
type DeleteAdSetResponse = ({
|
|
47590
47598
|
deleted?: boolean;
|
|
47591
47599
|
/**
|
|
47592
|
-
* Local Ad documents marked cancelled
|
|
47600
|
+
* Local Ad documents marked cancelled (0 for an ad set with no ads)
|
|
47593
47601
|
*/
|
|
47594
47602
|
adCount?: number;
|
|
47595
47603
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -10663,6 +10663,10 @@ type HubSpotSettings = {
|
|
|
10663
10663
|
* Whether Zernio logs inbox messages on HubSpot contact timelines.
|
|
10664
10664
|
*/
|
|
10665
10665
|
logMessages: boolean;
|
|
10666
|
+
/**
|
|
10667
|
+
* Whether Zernio sends closed-won deals as Purchase events to the profile's event destinations.
|
|
10668
|
+
*/
|
|
10669
|
+
reportDeals: boolean;
|
|
10666
10670
|
};
|
|
10667
10671
|
type platform7 = 'hubspot';
|
|
10668
10672
|
type ImessageAudienceContact = {
|
|
@@ -30924,6 +30928,10 @@ type UpdateHubSpotSettingsData = {
|
|
|
30924
30928
|
* Log inbound and outbound inbox messages on the contact's HubSpot timeline.
|
|
30925
30929
|
*/
|
|
30926
30930
|
logMessages?: boolean;
|
|
30931
|
+
/**
|
|
30932
|
+
* Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted `crm.objects.deals.read`; otherwise 400. Deals closed before it was turned on are not sent.
|
|
30933
|
+
*/
|
|
30934
|
+
reportDeals?: boolean;
|
|
30927
30935
|
};
|
|
30928
30936
|
path: {
|
|
30929
30937
|
accountId: string;
|
|
@@ -47589,7 +47597,7 @@ type DeleteAdSetData = {
|
|
|
47589
47597
|
type DeleteAdSetResponse = ({
|
|
47590
47598
|
deleted?: boolean;
|
|
47591
47599
|
/**
|
|
47592
|
-
* Local Ad documents marked cancelled
|
|
47600
|
+
* Local Ad documents marked cancelled (0 for an ad set with no ads)
|
|
47593
47601
|
*/
|
|
47594
47602
|
adCount?: number;
|
|
47595
47603
|
});
|
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.1370",
|
|
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.1370",
|
|
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
|
@@ -3858,7 +3858,7 @@ export const getHubSpotSettings = <ThrowOnError extends boolean = false>(options
|
|
|
3858
3858
|
|
|
3859
3859
|
/**
|
|
3860
3860
|
* Update HubSpot account settings
|
|
3861
|
-
* Turn contact sync
|
|
3861
|
+
* Turn contact sync, message logging or deal reporting on or off for a connected HubSpot portal. Send at least one field; omitted fields keep their value. Settings survive reconnecting the same portal.
|
|
3862
3862
|
*/
|
|
3863
3863
|
export const updateHubSpotSettings = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateHubSpotSettingsData, ThrowOnError>) => {
|
|
3864
3864
|
return (options?.client ?? client).patch<UpdateHubSpotSettingsResponse, UpdateHubSpotSettingsError, ThrowOnError>({
|
|
@@ -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
|
*/
|
|
@@ -8871,6 +8871,10 @@ export type HubSpotSettings = {
|
|
|
8871
8871
|
* Whether Zernio logs inbox messages on HubSpot contact timelines.
|
|
8872
8872
|
*/
|
|
8873
8873
|
logMessages: boolean;
|
|
8874
|
+
/**
|
|
8875
|
+
* Whether Zernio sends closed-won deals as Purchase events to the profile's event destinations.
|
|
8876
|
+
*/
|
|
8877
|
+
reportDeals: boolean;
|
|
8874
8878
|
};
|
|
8875
8879
|
|
|
8876
8880
|
export type platform7 = 'hubspot';
|
|
@@ -30249,6 +30253,10 @@ export type UpdateHubSpotSettingsData = {
|
|
|
30249
30253
|
* Log inbound and outbound inbox messages on the contact's HubSpot timeline.
|
|
30250
30254
|
*/
|
|
30251
30255
|
logMessages?: boolean;
|
|
30256
|
+
/**
|
|
30257
|
+
* Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted `crm.objects.deals.read`; otherwise 400. Deals closed before it was turned on are not sent.
|
|
30258
|
+
*/
|
|
30259
|
+
reportDeals?: boolean;
|
|
30252
30260
|
};
|
|
30253
30261
|
path: {
|
|
30254
30262
|
accountId: string;
|
|
@@ -48298,7 +48306,7 @@ export type DeleteAdSetData = {
|
|
|
48298
48306
|
export type DeleteAdSetResponse = ({
|
|
48299
48307
|
deleted?: boolean;
|
|
48300
48308
|
/**
|
|
48301
|
-
* Local Ad documents marked cancelled
|
|
48309
|
+
* Local Ad documents marked cancelled (0 for an ad set with no ads)
|
|
48302
48310
|
*/
|
|
48303
48311
|
adCount?: number;
|
|
48304
48312
|
});
|