@getlatedev/node 0.2.1692 → 0.2.1694

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.1692",
39
+ version: "0.2.1694",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -5178,6 +5178,12 @@ var previewAdRule = (options) => {
5178
5178
  url: "/v1/ads/rules/{ruleId}/preview"
5179
5179
  });
5180
5180
  };
5181
+ var listAdAccountRuleAlerts = (options) => {
5182
+ return (options?.client ?? client).get({
5183
+ ...options,
5184
+ url: "/v1/ads/rules/alerts"
5185
+ });
5186
+ };
5181
5187
  var listAdRuleAlerts = (options) => {
5182
5188
  return (options?.client ?? client).get({
5183
5189
  ...options,
@@ -9448,6 +9454,7 @@ var Zernio = class _Zernio {
9448
9454
  updateAdRule: this._bind(updateAdRule),
9449
9455
  deleteAdRule: this._bind(deleteAdRule),
9450
9456
  previewAdRule: this._bind(previewAdRule),
9457
+ listAdAccountRuleAlerts: this._bind(listAdAccountRuleAlerts),
9451
9458
  listAdRuleAlerts: this._bind(listAdRuleAlerts),
9452
9459
  listAdRuleRuns: this._bind(listAdRuleRuns)
9453
9460
  };
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.1692",
8
+ version: "0.2.1694",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -5147,6 +5147,12 @@ var previewAdRule = (options) => {
5147
5147
  url: "/v1/ads/rules/{ruleId}/preview"
5148
5148
  });
5149
5149
  };
5150
+ var listAdAccountRuleAlerts = (options) => {
5151
+ return (options?.client ?? client).get({
5152
+ ...options,
5153
+ url: "/v1/ads/rules/alerts"
5154
+ });
5155
+ };
5150
5156
  var listAdRuleAlerts = (options) => {
5151
5157
  return (options?.client ?? client).get({
5152
5158
  ...options,
@@ -9417,6 +9423,7 @@ var Zernio = class _Zernio {
9417
9423
  updateAdRule: this._bind(updateAdRule),
9418
9424
  deleteAdRule: this._bind(deleteAdRule),
9419
9425
  previewAdRule: this._bind(previewAdRule),
9426
+ listAdAccountRuleAlerts: this._bind(listAdAccountRuleAlerts),
9420
9427
  listAdRuleAlerts: this._bind(listAdRuleAlerts),
9421
9428
  listAdRuleRuns: this._bind(listAdRuleRuns)
9422
9429
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1692",
3
+ "version": "0.2.1694",
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
@@ -694,6 +694,7 @@ import {
694
694
  listAccountSitelinks,
695
695
  listAccountStructuredSnippets,
696
696
  listAccounts,
697
+ listAdAccountRuleAlerts,
697
698
  listAdAccountUserInvitationApprovals,
698
699
  listAdAccountUserInvitations,
699
700
  listAdAccountUsers,
@@ -2728,6 +2729,7 @@ export class Zernio {
2728
2729
  updateAdRule: this._bind(updateAdRule),
2729
2730
  deleteAdRule: this._bind(deleteAdRule),
2730
2731
  previewAdRule: this._bind(previewAdRule),
2732
+ listAdAccountRuleAlerts: this._bind(listAdAccountRuleAlerts),
2731
2733
  listAdRuleAlerts: this._bind(listAdRuleAlerts),
2732
2734
  listAdRuleRuns: this._bind(listAdRuleRuns),
2733
2735
  };