vanta-auditor-api-sdk 0.5.0 → 0.6.1

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.
@@ -8,7 +8,7 @@ dotenv.config();
8
8
  * Example usage of the vanta-auditor-api-sdk SDK
9
9
  *
10
10
  * To run this example from the examples directory:
11
- * npm run build && npx tsx auditorsCreate.example.ts
11
+ * npm run build && npx tsx auditsList.example.ts
12
12
  */
13
13
 
14
14
  import { Vanta } from "vanta-auditor-api-sdk";
@@ -18,11 +18,7 @@ const vanta = new Vanta({
18
18
  });
19
19
 
20
20
  async function main() {
21
- const result = await vanta.auditors.create({
22
- email: "Genesis_Kunze87@yahoo.com",
23
- givenName: "<value>",
24
- familyName: "<value>",
25
- });
21
+ const result = await vanta.audits.list({});
26
22
 
27
23
  console.log(result);
28
24
  }
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "vanta-auditor-api-sdk",
5
- "version": "0.5.0",
5
+ "version": "0.6.1",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "1.0.0";
34
- readonly sdkVersion: "0.5.0";
35
- readonly genVersion: "2.882.0";
36
- readonly userAgent: "speakeasy-sdk/typescript 0.5.0 2.882.0 1.0.0 vanta-auditor-api-sdk";
34
+ readonly sdkVersion: "0.6.1";
35
+ readonly genVersion: "2.884.4";
36
+ readonly userAgent: "speakeasy-sdk/typescript 0.6.1 2.884.4 1.0.0 vanta-auditor-api-sdk";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
35
35
  exports.SDK_METADATA = {
36
36
  language: "typescript",
37
37
  openapiDocVersion: "1.0.0",
38
- sdkVersion: "0.5.0",
39
- genVersion: "2.882.0",
40
- userAgent: "speakeasy-sdk/typescript 0.5.0 2.882.0 1.0.0 vanta-auditor-api-sdk",
38
+ sdkVersion: "0.6.1",
39
+ genVersion: "2.884.4",
40
+ userAgent: "speakeasy-sdk/typescript 0.6.1 2.884.4 1.0.0 vanta-auditor-api-sdk",
41
41
  };
42
42
  //# sourceMappingURL=config.js.map
@@ -3,8 +3,8 @@ import { ClosedEnum } from "../../types/enums.js";
3
3
  export declare const VantaTestRunStatus: {
4
4
  readonly Na: "NA";
5
5
  readonly InProgress: "IN_PROGRESS";
6
- readonly Pass: "PASS";
7
6
  readonly Fail: "FAIL";
7
+ readonly Pass: "PASS";
8
8
  readonly Invalid: "INVALID";
9
9
  readonly Disabled: "DISABLED";
10
10
  };
@@ -41,8 +41,8 @@ const z = __importStar(require("zod/v3"));
41
41
  exports.VantaTestRunStatus = {
42
42
  Na: "NA",
43
43
  InProgress: "IN_PROGRESS",
44
- Pass: "PASS",
45
44
  Fail: "FAIL",
45
+ Pass: "PASS",
46
46
  Invalid: "INVALID",
47
47
  Disabled: "DISABLED",
48
48
  };
@@ -8,8 +8,8 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
8
8
  export declare const TestRunStatus: {
9
9
  readonly Na: "NA";
10
10
  readonly InProgress: "IN_PROGRESS";
11
- readonly Pass: "PASS";
12
11
  readonly Fail: "FAIL";
12
+ readonly Pass: "PASS";
13
13
  readonly Invalid: "INVALID";
14
14
  readonly Disabled: "DISABLED";
15
15
  };
@@ -46,8 +46,8 @@ const schemas_js_1 = require("../../lib/schemas.js");
46
46
  exports.TestRunStatus = {
47
47
  Na: "NA",
48
48
  InProgress: "IN_PROGRESS",
49
- Pass: "PASS",
50
49
  Fail: "FAIL",
50
+ Pass: "PASS",
51
51
  Invalid: "INVALID",
52
52
  Disabled: "DISABLED",
53
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanta-auditor-api-sdk",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "author": "Speakeasy",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
package/src/lib/config.ts CHANGED
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "1.0.0",
68
- sdkVersion: "0.5.0",
69
- genVersion: "2.882.0",
68
+ sdkVersion: "0.6.1",
69
+ genVersion: "2.884.4",
70
70
  userAgent:
71
- "speakeasy-sdk/typescript 0.5.0 2.882.0 1.0.0 vanta-auditor-api-sdk",
71
+ "speakeasy-sdk/typescript 0.6.1 2.884.4 1.0.0 vanta-auditor-api-sdk",
72
72
  } as const;
@@ -8,8 +8,8 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  export const VantaTestRunStatus = {
9
9
  Na: "NA",
10
10
  InProgress: "IN_PROGRESS",
11
- Pass: "PASS",
12
11
  Fail: "FAIL",
12
+ Pass: "PASS",
13
13
  Invalid: "INVALID",
14
14
  Disabled: "DISABLED",
15
15
  } as const;
@@ -14,8 +14,8 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
14
  export const TestRunStatus = {
15
15
  Na: "NA",
16
16
  InProgress: "IN_PROGRESS",
17
- Pass: "PASS",
18
17
  Fail: "FAIL",
18
+ Pass: "PASS",
19
19
  Invalid: "INVALID",
20
20
  Disabled: "DISABLED",
21
21
  } as const;