dt-common-device 13.10.0 → 13.10.3

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.
@@ -148,6 +148,11 @@ export declare const DT_EVENT_TYPES: {
148
148
  ENABLED: string;
149
149
  DISABLED: string;
150
150
  };
151
+ BULK_DELETE: {
152
+ ATTEMPT: string;
153
+ SUCCESS: string;
154
+ FAILED: string;
155
+ };
151
156
  };
152
157
  ZONE: {
153
158
  CREATE: {
@@ -169,6 +174,11 @@ export declare const DT_EVENT_TYPES: {
169
174
  ENABLED: string;
170
175
  DISABLED: string;
171
176
  };
177
+ BULK_DELETE: {
178
+ ATTEMPT: string;
179
+ SUCCESS: string;
180
+ FAILED: string;
181
+ };
172
182
  };
173
183
  ISSUE: {
174
184
  CREATE: {
@@ -151,6 +151,11 @@ exports.DT_EVENT_TYPES = {
151
151
  ENABLED: "access_group.maintenance_mode.enabled",
152
152
  DISABLED: "access_group.maintenance_mode.disabled",
153
153
  },
154
+ BULK_DELETE: {
155
+ ATTEMPT: "accessgroup.bulk_delete.attempt",
156
+ SUCCESS: "accessgroup.bulk_delete.success",
157
+ FAILED: "accessgroup.bulk_delete.failed",
158
+ },
154
159
  },
155
160
  ZONE: {
156
161
  CREATE: {
@@ -172,6 +177,11 @@ exports.DT_EVENT_TYPES = {
172
177
  ENABLED: "zone.maintenance_mode.enabled",
173
178
  DISABLED: "zone.maintenance_mode.disabled",
174
179
  },
180
+ BULK_DELETE: {
181
+ ATTEMPT: "zone.bulk_delete.attempt",
182
+ SUCCESS: "zone.bulk_delete.success",
183
+ FAILED: "zone.bulk_delete.failed",
184
+ },
175
185
  },
176
186
  ISSUE: {
177
187
  CREATE: {
@@ -141,6 +141,12 @@ class RateLimitUtils {
141
141
  provider: constants_1.CONNECTION_PROVIDERS.SIFELY,
142
142
  maxTimeoutWindowMs: 120000,
143
143
  });
144
+ configs.set(constants_1.CONNECTION_PROVIDERS.DUSAW, {
145
+ maxRequests: 10,
146
+ windowMs: 60000, // 1 minute
147
+ provider: constants_1.CONNECTION_PROVIDERS.DUSAW,
148
+ maxTimeoutWindowMs: 120000,
149
+ });
144
150
  return configs;
145
151
  }
146
152
  static async isRateLimitAllowed(connectionId, provider, rateLimitConfigs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "13.10.0",
3
+ "version": "13.10.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [