@kadoa/node-sdk 0.23.0 → 0.24.0

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 CHANGED
@@ -385,13 +385,9 @@ type MonitoredFieldOperatorEnum = typeof MonitoredFieldOperatorEnum[keyof typeof
385
385
  */
386
386
  interface MonitoringConfig {
387
387
  /**
388
- * Whether monitoring is enabled
388
+ * Fields to monitor (at least one required)
389
389
  */
390
- 'enabled': boolean;
391
- /**
392
- * Fields to monitor
393
- */
394
- 'fields'?: Array<MonitoredField>;
390
+ 'fields': Array<MonitoredField>;
395
391
  /**
396
392
  * Notification channels
397
393
  */
@@ -1182,10 +1178,38 @@ interface CreateCrawlerConfigRequestBlueprintInner {
1182
1178
  interface CreateCrawlerConfigRequestCrawlMethod {
1183
1179
  [key: string]: any;
1184
1180
  /**
1185
- * Crawler execution type (e.g. puppeteer, impit)
1181
+ * Worker selection mode. \'auto\' (default) picks cheapest compatible worker, \'browser\' forces browser.
1186
1182
  */
1187
- 'type': string;
1183
+ 'mode'?: CreateCrawlerConfigRequestCrawlMethodModeEnum;
1184
+ /**
1185
+ * Explicit Scrape V2 worker override. BrightData is blocked in crawler runtime.
1186
+ */
1187
+ 'worker'?: CreateCrawlerConfigRequestCrawlMethodWorkerEnum;
1188
+ /**
1189
+ * Explicit proxy routing override for Scrape V2
1190
+ */
1191
+ 'proxy'?: CreateCrawlerConfigRequestCrawlMethodProxyEnum;
1188
1192
  }
1193
+ declare const CreateCrawlerConfigRequestCrawlMethodModeEnum: {
1194
+ readonly Auto: "auto";
1195
+ readonly Browser: "browser";
1196
+ };
1197
+ type CreateCrawlerConfigRequestCrawlMethodModeEnum = typeof CreateCrawlerConfigRequestCrawlMethodModeEnum[keyof typeof CreateCrawlerConfigRequestCrawlMethodModeEnum];
1198
+ declare const CreateCrawlerConfigRequestCrawlMethodWorkerEnum: {
1199
+ readonly Auto: "auto";
1200
+ readonly CurlCffi: "curl-cffi";
1201
+ readonly Patchright: "patchright";
1202
+ readonly Camoufox: "camoufox";
1203
+ readonly Brightdata: "brightdata";
1204
+ };
1205
+ type CreateCrawlerConfigRequestCrawlMethodWorkerEnum = typeof CreateCrawlerConfigRequestCrawlMethodWorkerEnum[keyof typeof CreateCrawlerConfigRequestCrawlMethodWorkerEnum];
1206
+ declare const CreateCrawlerConfigRequestCrawlMethodProxyEnum: {
1207
+ readonly Auto: "auto";
1208
+ readonly Dc: "dc";
1209
+ readonly Resi: "resi";
1210
+ readonly Isp: "isp";
1211
+ };
1212
+ type CreateCrawlerConfigRequestCrawlMethodProxyEnum = typeof CreateCrawlerConfigRequestCrawlMethodProxyEnum[keyof typeof CreateCrawlerConfigRequestCrawlMethodProxyEnum];
1189
1213
 
1190
1214
  /**
1191
1215
  * Kadoa API
@@ -4137,6 +4161,10 @@ interface V4ChangesGet200ResponseChangesInner {
4137
4161
  * URL where the change was detected
4138
4162
  */
4139
4163
  'url'?: string;
4164
+ /**
4165
+ * AI-generated one-sentence summary of the data change. Null if generation failed, feature is disabled, or change predates the feature.
4166
+ */
4167
+ 'summary'?: string | null;
4140
4168
  /**
4141
4169
  * URL of the screenshot taken when the change was detected
4142
4170
  */
@@ -5742,13 +5770,9 @@ type V4WorkflowsWorkflowIdMetadataPutRequestMonitoringFieldsInnerOperatorEnum =
5742
5770
  */
5743
5771
 
5744
5772
  /**
5745
- * The new monitoring config for the workflow
5773
+ * The monitoring config for the workflow
5746
5774
  */
5747
5775
  interface V4WorkflowsWorkflowIdMetadataPutRequestMonitoring {
5748
- /**
5749
- * Whether monitoring is enabled for the workflow
5750
- */
5751
- 'enabled'?: boolean;
5752
5776
  'fields'?: Array<V4WorkflowsWorkflowIdMetadataPutRequestMonitoringFieldsInner>;
5753
5777
  'conditions'?: V4WorkflowsWorkflowIdMetadataPutRequestMonitoringConditions;
5754
5778
  }
@@ -10370,8 +10394,8 @@ declare class ApiRegistry {
10370
10394
  interface TeamInfo {
10371
10395
  id: string;
10372
10396
  name: string;
10373
- role: string;
10374
10397
  memberRole: string;
10398
+ adminEmail: string | null;
10375
10399
  }
10376
10400
  interface BearerAuthOptions {
10377
10401
  bearerToken: string;
package/dist/index.d.ts CHANGED
@@ -385,13 +385,9 @@ type MonitoredFieldOperatorEnum = typeof MonitoredFieldOperatorEnum[keyof typeof
385
385
  */
386
386
  interface MonitoringConfig {
387
387
  /**
388
- * Whether monitoring is enabled
388
+ * Fields to monitor (at least one required)
389
389
  */
390
- 'enabled': boolean;
391
- /**
392
- * Fields to monitor
393
- */
394
- 'fields'?: Array<MonitoredField>;
390
+ 'fields': Array<MonitoredField>;
395
391
  /**
396
392
  * Notification channels
397
393
  */
@@ -1182,10 +1178,38 @@ interface CreateCrawlerConfigRequestBlueprintInner {
1182
1178
  interface CreateCrawlerConfigRequestCrawlMethod {
1183
1179
  [key: string]: any;
1184
1180
  /**
1185
- * Crawler execution type (e.g. puppeteer, impit)
1181
+ * Worker selection mode. \'auto\' (default) picks cheapest compatible worker, \'browser\' forces browser.
1186
1182
  */
1187
- 'type': string;
1183
+ 'mode'?: CreateCrawlerConfigRequestCrawlMethodModeEnum;
1184
+ /**
1185
+ * Explicit Scrape V2 worker override. BrightData is blocked in crawler runtime.
1186
+ */
1187
+ 'worker'?: CreateCrawlerConfigRequestCrawlMethodWorkerEnum;
1188
+ /**
1189
+ * Explicit proxy routing override for Scrape V2
1190
+ */
1191
+ 'proxy'?: CreateCrawlerConfigRequestCrawlMethodProxyEnum;
1188
1192
  }
1193
+ declare const CreateCrawlerConfigRequestCrawlMethodModeEnum: {
1194
+ readonly Auto: "auto";
1195
+ readonly Browser: "browser";
1196
+ };
1197
+ type CreateCrawlerConfigRequestCrawlMethodModeEnum = typeof CreateCrawlerConfigRequestCrawlMethodModeEnum[keyof typeof CreateCrawlerConfigRequestCrawlMethodModeEnum];
1198
+ declare const CreateCrawlerConfigRequestCrawlMethodWorkerEnum: {
1199
+ readonly Auto: "auto";
1200
+ readonly CurlCffi: "curl-cffi";
1201
+ readonly Patchright: "patchright";
1202
+ readonly Camoufox: "camoufox";
1203
+ readonly Brightdata: "brightdata";
1204
+ };
1205
+ type CreateCrawlerConfigRequestCrawlMethodWorkerEnum = typeof CreateCrawlerConfigRequestCrawlMethodWorkerEnum[keyof typeof CreateCrawlerConfigRequestCrawlMethodWorkerEnum];
1206
+ declare const CreateCrawlerConfigRequestCrawlMethodProxyEnum: {
1207
+ readonly Auto: "auto";
1208
+ readonly Dc: "dc";
1209
+ readonly Resi: "resi";
1210
+ readonly Isp: "isp";
1211
+ };
1212
+ type CreateCrawlerConfigRequestCrawlMethodProxyEnum = typeof CreateCrawlerConfigRequestCrawlMethodProxyEnum[keyof typeof CreateCrawlerConfigRequestCrawlMethodProxyEnum];
1189
1213
 
1190
1214
  /**
1191
1215
  * Kadoa API
@@ -4137,6 +4161,10 @@ interface V4ChangesGet200ResponseChangesInner {
4137
4161
  * URL where the change was detected
4138
4162
  */
4139
4163
  'url'?: string;
4164
+ /**
4165
+ * AI-generated one-sentence summary of the data change. Null if generation failed, feature is disabled, or change predates the feature.
4166
+ */
4167
+ 'summary'?: string | null;
4140
4168
  /**
4141
4169
  * URL of the screenshot taken when the change was detected
4142
4170
  */
@@ -5742,13 +5770,9 @@ type V4WorkflowsWorkflowIdMetadataPutRequestMonitoringFieldsInnerOperatorEnum =
5742
5770
  */
5743
5771
 
5744
5772
  /**
5745
- * The new monitoring config for the workflow
5773
+ * The monitoring config for the workflow
5746
5774
  */
5747
5775
  interface V4WorkflowsWorkflowIdMetadataPutRequestMonitoring {
5748
- /**
5749
- * Whether monitoring is enabled for the workflow
5750
- */
5751
- 'enabled'?: boolean;
5752
5776
  'fields'?: Array<V4WorkflowsWorkflowIdMetadataPutRequestMonitoringFieldsInner>;
5753
5777
  'conditions'?: V4WorkflowsWorkflowIdMetadataPutRequestMonitoringConditions;
5754
5778
  }
@@ -10370,8 +10394,8 @@ declare class ApiRegistry {
10370
10394
  interface TeamInfo {
10371
10395
  id: string;
10372
10396
  name: string;
10373
- role: string;
10374
10397
  memberRole: string;
10398
+ adminEmail: string | null;
10375
10399
  }
10376
10400
  interface BearerAuthOptions {
10377
10401
  bearerToken: string;
package/dist/index.js CHANGED
@@ -6209,7 +6209,7 @@ process.env.KADOA_WSS_NEO_API_URI ?? "wss://events.kadoa.com/events/ws";
6209
6209
  var REALTIME_API_URI = process.env.KADOA_REALTIME_API_URI ?? "https://realtime.kadoa.com";
6210
6210
 
6211
6211
  // src/version.ts
6212
- var SDK_VERSION = "0.23.0";
6212
+ var SDK_VERSION = "0.24.0";
6213
6213
  var SDK_NAME = "kadoa-node-sdk";
6214
6214
  var SDK_LANGUAGE = "node";
6215
6215