@dynamic-labs/sdk-api-core 0.0.647 → 0.0.649

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.647",
3
+ "version": "0.0.649",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+
5
7
  /* tslint:disable */
6
- /* eslint-disable */
7
- /**
8
- * Dashboard API
9
- * Dashboard API documentation
10
- *
11
- * The version of the OpenAPI document: 1.0.0
12
- *
13
- *
14
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
- * https://openapi-generator.tech
16
- * Do not edit the class manually.
17
- */
18
8
  function ScanWebsiteUrlResponseFromJSON(json) {
19
9
  return ScanWebsiteUrlResponseFromJSONTyped(json);
20
10
  }
@@ -23,7 +13,7 @@ function ScanWebsiteUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
23
13
  return json;
24
14
  }
25
15
  return {
26
- 'isMalicious': json['isMalicious'],
16
+ 'isMalicious': !runtime.exists(json, 'isMalicious') ? undefined : json['isMalicious'],
27
17
  };
28
18
  }
29
19
  function ScanWebsiteUrlResponseToJSON(value) {
@@ -16,11 +16,11 @@
16
16
  */
17
17
  export interface ScanWebsiteUrlResponse {
18
18
  /**
19
- * Indicates whether the scanned URL is potentially malicious
19
+ * Indicates whether the scanned URL is potentially malicious. Returns null if scan is inconclusive.
20
20
  * @type {boolean}
21
21
  * @memberof ScanWebsiteUrlResponse
22
22
  */
23
- isMalicious: boolean;
23
+ isMalicious?: boolean | null;
24
24
  }
25
25
  export declare function ScanWebsiteUrlResponseFromJSON(json: any): ScanWebsiteUrlResponse;
26
26
  export declare function ScanWebsiteUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScanWebsiteUrlResponse;
@@ -1,16 +1,6 @@
1
+ import { exists } from '../runtime.js';
2
+
1
3
  /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dashboard API
5
- * Dashboard API documentation
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
4
  function ScanWebsiteUrlResponseFromJSON(json) {
15
5
  return ScanWebsiteUrlResponseFromJSONTyped(json);
16
6
  }
@@ -19,7 +9,7 @@ function ScanWebsiteUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
19
9
  return json;
20
10
  }
21
11
  return {
22
- 'isMalicious': json['isMalicious'],
12
+ 'isMalicious': !exists(json, 'isMalicious') ? undefined : json['isMalicious'],
23
13
  };
24
14
  }
25
15
  function ScanWebsiteUrlResponseToJSON(value) {