@cdot65/prisma-airs-sdk 0.13.1 → 0.13.2

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.cts CHANGED
@@ -31285,13 +31285,13 @@ declare class Scanner {
31285
31285
  /**
31286
31286
  * Submit one batch of content for asynchronous scanning.
31287
31287
  *
31288
- * The call accepts 1–5 request objects and returns one batch receipt. A batch `scan_id` can fan
31288
+ * The call accepts 1–20 request objects and returns one batch receipt. A batch `scan_id` can fan
31289
31289
  * out to several unordered result rows. Correlate each row by `(scan_id, req_id)`, never array
31290
31290
  * position or `scan_id` alone. The SDK preserves the server's row order and cardinality.
31291
31291
  *
31292
31292
  * Setting `numRetries: 0` guarantees one SDK fetch attempt, but cannot guarantee exactly-once
31293
31293
  * server submission after an ambiguous network or 5xx failure.
31294
- * @param scanObjects - Array of scan objects (1–5 items), each with its own `req_id`.
31294
+ * @param scanObjects - Array of scan objects (1–20 items), each with its own `req_id`.
31295
31295
  * @param opts - Optional per-call retry override.
31296
31296
  * @returns One batch receipt containing the shared scan ID for later querying.
31297
31297
  * @example
@@ -98334,12 +98334,12 @@ declare const MAX_REPORT_ID_STR_LENGTH = 40;
98334
98334
  declare const MAX_AI_PROFILE_NAME_LENGTH = 100;
98335
98335
  declare const MAX_NUMBER_OF_SCAN_IDS = 5;
98336
98336
  declare const MAX_NUMBER_OF_REPORT_IDS = 5;
98337
- declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 5;
98337
+ declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 20;
98338
98338
  declare const MAX_CONNECTION_POOL_SIZE = 100;
98339
98339
  declare const MAX_NUMBER_OF_RETRIES = 5;
98340
98340
  declare const HTTP_FORCE_RETRY_STATUS_CODES: number[];
98341
- declare const SDK_VERSION = "0.13.1";
98342
- declare const USER_AGENT = "PAN-AIRS/0.13.1-typescript-sdk";
98341
+ declare const SDK_VERSION = "0.13.2";
98342
+ declare const USER_AGENT = "PAN-AIRS/0.13.2-typescript-sdk";
98343
98343
  declare const DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
98344
98344
  declare const DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
98345
98345
  declare const MGMT_CLIENT_ID = "PANW_MGMT_CLIENT_ID";
package/dist/index.d.ts CHANGED
@@ -31285,13 +31285,13 @@ declare class Scanner {
31285
31285
  /**
31286
31286
  * Submit one batch of content for asynchronous scanning.
31287
31287
  *
31288
- * The call accepts 1–5 request objects and returns one batch receipt. A batch `scan_id` can fan
31288
+ * The call accepts 1–20 request objects and returns one batch receipt. A batch `scan_id` can fan
31289
31289
  * out to several unordered result rows. Correlate each row by `(scan_id, req_id)`, never array
31290
31290
  * position or `scan_id` alone. The SDK preserves the server's row order and cardinality.
31291
31291
  *
31292
31292
  * Setting `numRetries: 0` guarantees one SDK fetch attempt, but cannot guarantee exactly-once
31293
31293
  * server submission after an ambiguous network or 5xx failure.
31294
- * @param scanObjects - Array of scan objects (1–5 items), each with its own `req_id`.
31294
+ * @param scanObjects - Array of scan objects (1–20 items), each with its own `req_id`.
31295
31295
  * @param opts - Optional per-call retry override.
31296
31296
  * @returns One batch receipt containing the shared scan ID for later querying.
31297
31297
  * @example
@@ -98334,12 +98334,12 @@ declare const MAX_REPORT_ID_STR_LENGTH = 40;
98334
98334
  declare const MAX_AI_PROFILE_NAME_LENGTH = 100;
98335
98335
  declare const MAX_NUMBER_OF_SCAN_IDS = 5;
98336
98336
  declare const MAX_NUMBER_OF_REPORT_IDS = 5;
98337
- declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 5;
98337
+ declare const MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 20;
98338
98338
  declare const MAX_CONNECTION_POOL_SIZE = 100;
98339
98339
  declare const MAX_NUMBER_OF_RETRIES = 5;
98340
98340
  declare const HTTP_FORCE_RETRY_STATUS_CODES: number[];
98341
- declare const SDK_VERSION = "0.13.1";
98342
- declare const USER_AGENT = "PAN-AIRS/0.13.1-typescript-sdk";
98341
+ declare const SDK_VERSION = "0.13.2";
98342
+ declare const USER_AGENT = "PAN-AIRS/0.13.2-typescript-sdk";
98343
98343
  declare const DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
98344
98344
  declare const DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
98345
98345
  declare const MGMT_CLIENT_ID = "PANW_MGMT_CLIENT_ID";
package/dist/index.js CHANGED
@@ -25,11 +25,11 @@ var MAX_REPORT_ID_STR_LENGTH = 40;
25
25
  var MAX_AI_PROFILE_NAME_LENGTH = 100;
26
26
  var MAX_NUMBER_OF_SCAN_IDS = 5;
27
27
  var MAX_NUMBER_OF_REPORT_IDS = 5;
28
- var MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 5;
28
+ var MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 20;
29
29
  var MAX_CONNECTION_POOL_SIZE = 100;
30
30
  var MAX_NUMBER_OF_RETRIES = 5;
31
31
  var HTTP_FORCE_RETRY_STATUS_CODES = [500, 502, 503, 504];
32
- var SDK_VERSION = "0.13.1";
32
+ var SDK_VERSION = "0.13.2";
33
33
  var USER_AGENT = `PAN-AIRS/${SDK_VERSION}-typescript-sdk`;
34
34
  var DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
35
35
  var DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
@@ -897,13 +897,13 @@ var Scanner = class {
897
897
  /**
898
898
  * Submit one batch of content for asynchronous scanning.
899
899
  *
900
- * The call accepts 1–5 request objects and returns one batch receipt. A batch `scan_id` can fan
900
+ * The call accepts 1–20 request objects and returns one batch receipt. A batch `scan_id` can fan
901
901
  * out to several unordered result rows. Correlate each row by `(scan_id, req_id)`, never array
902
902
  * position or `scan_id` alone. The SDK preserves the server's row order and cardinality.
903
903
  *
904
904
  * Setting `numRetries: 0` guarantees one SDK fetch attempt, but cannot guarantee exactly-once
905
905
  * server submission after an ambiguous network or 5xx failure.
906
- * @param scanObjects - Array of scan objects (1–5 items), each with its own `req_id`.
906
+ * @param scanObjects - Array of scan objects (1–20 items), each with its own `req_id`.
907
907
  * @param opts - Optional per-call retry override.
908
908
  * @returns One batch receipt containing the shared scan ID for later querying.
909
909
  * @example