@getlatedev/node 0.2.1368 → 0.2.1369
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 -0
- package/dist/index.d.ts +8 -0
- 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 -0
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;
|
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;
|
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.1369",
|
|
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.1369",
|
|
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>({
|
|
@@ -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;
|