@getlatedev/node 0.2.1263 → 0.2.1265

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.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.1263",
39
+ version: "0.2.1265",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -4662,6 +4662,18 @@ var updateAdAccountManagerLink = (options) => {
4662
4662
  url: "/v1/ads/accounts/manager-links"
4663
4663
  });
4664
4664
  };
4665
+ var getAdAccountBilling = (options) => {
4666
+ return (options?.client ?? client).get({
4667
+ ...options,
4668
+ url: "/v1/ads/accounts/billing"
4669
+ });
4670
+ };
4671
+ var setUpAdAccountBilling = (options) => {
4672
+ return (options?.client ?? client).post({
4673
+ ...options,
4674
+ url: "/v1/ads/accounts/billing"
4675
+ });
4676
+ };
4665
4677
  var listAdAccountUserInvitations = (options) => {
4666
4678
  return (options?.client ?? client).get({
4667
4679
  ...options,
@@ -4812,6 +4824,12 @@ var listLeads = (options) => {
4812
4824
  url: "/v1/ads/leads"
4813
4825
  });
4814
4826
  };
4827
+ var updateLead = (options) => {
4828
+ return (options?.client ?? client).patch({
4829
+ ...options,
4830
+ url: "/v1/ads/leads/{id}"
4831
+ });
4832
+ };
4815
4833
  var listLeadForms = (options) => {
4816
4834
  return (options?.client ?? client).get({
4817
4835
  ...options,
@@ -7478,6 +7496,8 @@ var Zernio = class _Zernio {
7478
7496
  getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
7479
7497
  inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
7480
7498
  updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
7499
+ getAdAccountBilling: this._bind(getAdAccountBilling),
7500
+ setUpAdAccountBilling: this._bind(setUpAdAccountBilling),
7481
7501
  listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
7482
7502
  inviteAdAccountUser: this._bind(inviteAdAccountUser),
7483
7503
  revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
@@ -7511,6 +7531,7 @@ var Zernio = class _Zernio {
7511
7531
  */
7512
7532
  this.leadgen = {
7513
7533
  listLeads: this._bind(listLeads),
7534
+ updateLead: this._bind(updateLead),
7514
7535
  listLeadForms: this._bind(listLeadForms),
7515
7536
  createLeadForm: this._bind(createLeadForm),
7516
7537
  getLeadForm: this._bind(getLeadForm),
@@ -8026,6 +8047,10 @@ var Zernio = class _Zernio {
8026
8047
  inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
8027
8048
  /** @deprecated Use `zernio.adaccounts.updateAdAccountManagerLink` instead. */
8028
8049
  updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
8050
+ /** @deprecated Use `zernio.adaccounts.getAdAccountBilling` instead. */
8051
+ getAdAccountBilling: this._bind(getAdAccountBilling),
8052
+ /** @deprecated Use `zernio.adaccounts.setUpAdAccountBilling` instead. */
8053
+ setUpAdAccountBilling: this._bind(setUpAdAccountBilling),
8029
8054
  /** @deprecated Use `zernio.adaccounts.listAdAccountUserInvitations` instead. */
8030
8055
  listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
8031
8056
  /** @deprecated Use `zernio.adaccounts.inviteAdAccountUser` instead. */
@@ -8204,6 +8229,8 @@ var Zernio = class _Zernio {
8204
8229
  reserveRfPrediction: this._bind(reserveRfPrediction),
8205
8230
  /** @deprecated Use `zernio.leadgen.listLeads` instead. */
8206
8231
  listLeads: this._bind(listLeads),
8232
+ /** @deprecated Use `zernio.leadgen.updateLead` instead. */
8233
+ updateLead: this._bind(updateLead),
8207
8234
  /** @deprecated Use `zernio.leadgen.listLeadForms` instead. */
8208
8235
  listLeadForms: this._bind(listLeadForms),
8209
8236
  /** @deprecated Use `zernio.leadgen.createLeadForm` instead. */
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.1263",
8
+ version: "0.2.1265",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -4631,6 +4631,18 @@ var updateAdAccountManagerLink = (options) => {
4631
4631
  url: "/v1/ads/accounts/manager-links"
4632
4632
  });
4633
4633
  };
4634
+ var getAdAccountBilling = (options) => {
4635
+ return (options?.client ?? client).get({
4636
+ ...options,
4637
+ url: "/v1/ads/accounts/billing"
4638
+ });
4639
+ };
4640
+ var setUpAdAccountBilling = (options) => {
4641
+ return (options?.client ?? client).post({
4642
+ ...options,
4643
+ url: "/v1/ads/accounts/billing"
4644
+ });
4645
+ };
4634
4646
  var listAdAccountUserInvitations = (options) => {
4635
4647
  return (options?.client ?? client).get({
4636
4648
  ...options,
@@ -4781,6 +4793,12 @@ var listLeads = (options) => {
4781
4793
  url: "/v1/ads/leads"
4782
4794
  });
4783
4795
  };
4796
+ var updateLead = (options) => {
4797
+ return (options?.client ?? client).patch({
4798
+ ...options,
4799
+ url: "/v1/ads/leads/{id}"
4800
+ });
4801
+ };
4784
4802
  var listLeadForms = (options) => {
4785
4803
  return (options?.client ?? client).get({
4786
4804
  ...options,
@@ -7447,6 +7465,8 @@ var Zernio = class _Zernio {
7447
7465
  getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
7448
7466
  inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
7449
7467
  updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
7468
+ getAdAccountBilling: this._bind(getAdAccountBilling),
7469
+ setUpAdAccountBilling: this._bind(setUpAdAccountBilling),
7450
7470
  listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
7451
7471
  inviteAdAccountUser: this._bind(inviteAdAccountUser),
7452
7472
  revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
@@ -7480,6 +7500,7 @@ var Zernio = class _Zernio {
7480
7500
  */
7481
7501
  this.leadgen = {
7482
7502
  listLeads: this._bind(listLeads),
7503
+ updateLead: this._bind(updateLead),
7483
7504
  listLeadForms: this._bind(listLeadForms),
7484
7505
  createLeadForm: this._bind(createLeadForm),
7485
7506
  getLeadForm: this._bind(getLeadForm),
@@ -7995,6 +8016,10 @@ var Zernio = class _Zernio {
7995
8016
  inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
7996
8017
  /** @deprecated Use `zernio.adaccounts.updateAdAccountManagerLink` instead. */
7997
8018
  updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
8019
+ /** @deprecated Use `zernio.adaccounts.getAdAccountBilling` instead. */
8020
+ getAdAccountBilling: this._bind(getAdAccountBilling),
8021
+ /** @deprecated Use `zernio.adaccounts.setUpAdAccountBilling` instead. */
8022
+ setUpAdAccountBilling: this._bind(setUpAdAccountBilling),
7998
8023
  /** @deprecated Use `zernio.adaccounts.listAdAccountUserInvitations` instead. */
7999
8024
  listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
8000
8025
  /** @deprecated Use `zernio.adaccounts.inviteAdAccountUser` instead. */
@@ -8173,6 +8198,8 @@ var Zernio = class _Zernio {
8173
8198
  reserveRfPrediction: this._bind(reserveRfPrediction),
8174
8199
  /** @deprecated Use `zernio.leadgen.listLeads` instead. */
8175
8200
  listLeads: this._bind(listLeads),
8201
+ /** @deprecated Use `zernio.leadgen.updateLead` instead. */
8202
+ updateLead: this._bind(updateLead),
8176
8203
  /** @deprecated Use `zernio.leadgen.listLeadForms` instead. */
8177
8204
  listLeadForms: this._bind(listLeadForms),
8178
8205
  /** @deprecated Use `zernio.leadgen.createLeadForm` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1263",
3
+ "version": "0.2.1265",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -285,6 +285,7 @@ import {
285
285
  getAccountHealth,
286
286
  getAccountPosts,
287
287
  getAd,
288
+ getAdAccountBilling,
288
289
  getAdAccountFinance,
289
290
  getAdAccountHierarchy,
290
291
  getAdAccountLiveEntities,
@@ -837,6 +838,7 @@ import {
837
838
  setPartnershipAdPermission,
838
839
  setRedditPostFlair,
839
840
  setTelegramCommands,
841
+ setUpAdAccountBilling,
840
842
  setWhatsAppConversationalAutomation,
841
843
  setWhatsAppFlowsEncryptionKey,
842
844
  setWhatsappBusinessUsername,
@@ -934,6 +936,7 @@ import {
934
936
  updateImessageGroup,
935
937
  updateImessageSender,
936
938
  updateInboxConversation,
939
+ updateLead,
937
940
  updateLinkedInOrganization,
938
941
  updatePinterestBoards,
939
942
  updatePost,
@@ -2249,6 +2252,8 @@ export class Zernio {
2249
2252
  getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
2250
2253
  inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
2251
2254
  updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
2255
+ getAdAccountBilling: this._bind(getAdAccountBilling),
2256
+ setUpAdAccountBilling: this._bind(setUpAdAccountBilling),
2252
2257
  listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
2253
2258
  inviteAdAccountUser: this._bind(inviteAdAccountUser),
2254
2259
  revokeAdAccountUserInvitation: this._bind(revokeAdAccountUserInvitation),
@@ -2284,6 +2289,7 @@ export class Zernio {
2284
2289
  */
2285
2290
  leadgen = {
2286
2291
  listLeads: this._bind(listLeads),
2292
+ updateLead: this._bind(updateLead),
2287
2293
  listLeadForms: this._bind(listLeadForms),
2288
2294
  createLeadForm: this._bind(createLeadForm),
2289
2295
  getLeadForm: this._bind(getLeadForm),
@@ -2813,6 +2819,10 @@ export class Zernio {
2813
2819
  inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
2814
2820
  /** @deprecated Use `zernio.adaccounts.updateAdAccountManagerLink` instead. */
2815
2821
  updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
2822
+ /** @deprecated Use `zernio.adaccounts.getAdAccountBilling` instead. */
2823
+ getAdAccountBilling: this._bind(getAdAccountBilling),
2824
+ /** @deprecated Use `zernio.adaccounts.setUpAdAccountBilling` instead. */
2825
+ setUpAdAccountBilling: this._bind(setUpAdAccountBilling),
2816
2826
  /** @deprecated Use `zernio.adaccounts.listAdAccountUserInvitations` instead. */
2817
2827
  listAdAccountUserInvitations: this._bind(listAdAccountUserInvitations),
2818
2828
  /** @deprecated Use `zernio.adaccounts.inviteAdAccountUser` instead. */
@@ -2991,6 +3001,8 @@ export class Zernio {
2991
3001
  reserveRfPrediction: this._bind(reserveRfPrediction),
2992
3002
  /** @deprecated Use `zernio.leadgen.listLeads` instead. */
2993
3003
  listLeads: this._bind(listLeads),
3004
+ /** @deprecated Use `zernio.leadgen.updateLead` instead. */
3005
+ updateLead: this._bind(updateLead),
2994
3006
  /** @deprecated Use `zernio.leadgen.listLeadForms` instead. */
2995
3007
  listLeadForms: this._bind(listLeadForms),
2996
3008
  /** @deprecated Use `zernio.leadgen.createLeadForm` instead. */