@vapi-ai/web 2.2.6 → 2.2.8

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.
Files changed (4) hide show
  1. package/api.ts +1177 -838
  2. package/dist/api.d.ts +1031 -595
  3. package/dist/api.js +33 -0
  4. package/package.json +3 -2
package/dist/api.js CHANGED
@@ -498,6 +498,23 @@ class Api extends HttpClient {
498
498
  format: 'json',
499
499
  ...params,
500
500
  }),
501
+ /**
502
+ * No description
503
+ *
504
+ * @tags Assistants
505
+ * @name AssistantControllerFindVersions
506
+ * @summary List Assistant Versions
507
+ * @request GET:/assistant/{id}/version
508
+ * @secure
509
+ */
510
+ assistantControllerFindVersions: (id, query, params = {}) => this.request({
511
+ path: `/assistant/${id}/version`,
512
+ method: 'GET',
513
+ query: query,
514
+ secure: true,
515
+ format: 'json',
516
+ ...params,
517
+ }),
501
518
  };
502
519
  phoneNumber = {
503
520
  /**
@@ -1609,6 +1626,22 @@ class Api extends HttpClient {
1609
1626
  type: ContentType.Json,
1610
1627
  ...params,
1611
1628
  }),
1629
+ /**
1630
+ * No description
1631
+ *
1632
+ * @tags Orgs
1633
+ * @name OrgControllerOrgToken
1634
+ * @summary Generate User Org JWT
1635
+ * @request GET:/org/{id}/auth
1636
+ * @secure
1637
+ */
1638
+ orgControllerOrgToken: (id, params = {}) => this.request({
1639
+ path: `/org/${id}/auth`,
1640
+ method: 'GET',
1641
+ secure: true,
1642
+ format: 'json',
1643
+ ...params,
1644
+ }),
1612
1645
  };
1613
1646
  token = {
1614
1647
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-ai/web",
3
- "version": "2.2.6",
3
+ "version": "2.2.8",
4
4
  "description": "",
5
5
  "main": "dist/vapi.js",
6
6
  "types": "dist/vapi.d.ts",
@@ -9,7 +9,8 @@
9
9
  "build": "tsc && tsc --declaration",
10
10
  "start": "npm run generate-api && npm run build && node dist/vapi.js",
11
11
  "generate-api": "./generate-api.sh",
12
- "update": "./update.sh"
12
+ "update": "./update.sh",
13
+ "generate-local-build": "npm install && npm run build && npm pack"
13
14
  },
14
15
  "repository": {
15
16
  "type": "git",