seam 1.226.0 → 1.227.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/README.md CHANGED
@@ -57,7 +57,6 @@ Instead, it re-exports from a core set of Seam modules:
57
57
  - [Using the Axios Client](#using-the-axios-client)
58
58
  - [Overriding the Client](#overriding-the-client)
59
59
  - [Alternative endpoint path interface](#alternative-endpoint-path-interface)
60
- - [Enable undocumented API](#enable-undocumented-api)
61
60
  - [Inspecting the Request](#inspecting-the-request)
62
61
  - [Receiving Webhooks](#receiving-webhooks)
63
62
  - [Development and Testing](#development-and-testing)
@@ -535,19 +534,6 @@ const seam = new SeamEndpoints()
535
534
  const devices = await seam['/devices/list']()
536
535
  ```
537
536
 
538
- #### Enable undocumented API
539
-
540
- Pass the `isUndocumentedApiEnabled` option to allow using the undocumented API.
541
- This API is used internally and is not directly supported.
542
- Do not use the undocumented API in production environments.
543
- Seam is not responsible for any issues you may encounter with the undocumented API.
544
-
545
- ```ts
546
- import { Seam } from 'seam'
547
-
548
- const seam = new Seam({ isUndocumentedApiEnabled: true })
549
- ```
550
-
551
537
  #### Inspecting the Request
552
538
 
553
539
  All client methods return an instance of `SeamHttpRequest`.
package/dist/index.cjs CHANGED
@@ -13,10 +13,6 @@ Object.defineProperty(exports, "SeamEndpoints", {
13
13
  enumerable: true,
14
14
  get: function () { return http.SeamHttpEndpoints; }
15
15
  });
16
- Object.defineProperty(exports, "SeamMultiWorkspace", {
17
- enumerable: true,
18
- get: function () { return http.SeamHttpMultiWorkspace; }
19
- });
20
16
  Object.defineProperty(exports, "SeamWithoutWorkspace", {
21
17
  enumerable: true,
22
18
  get: function () { return http.SeamHttpWithoutWorkspace; }
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from '@seamapi/http';
2
- export { SeamHttp as Seam, SeamHttpEndpoints as SeamEndpoints, SeamHttpMultiWorkspace as SeamMultiWorkspace, SeamHttpWithoutWorkspaceOptions as SeamMultiWorkspaceOptions, SeamHttpOptions as SeamOptions, SeamHttpWithoutWorkspace as SeamWithoutWorkspace, SeamHttpWithoutWorkspace as SeamWithoutWorkspaceOptions } from '@seamapi/http';
3
- export * from '@seamapi/types';
2
+ export { SeamHttp as Seam, SeamHttpEndpoints as SeamEndpoints, SeamHttpWithoutWorkspaceOptions as SeamMultiWorkspaceOptions, SeamHttpOptions as SeamOptions, SeamHttpWithoutWorkspace as SeamWithoutWorkspace, SeamHttpWithoutWorkspace as SeamWithoutWorkspaceOptions } from '@seamapi/http';
3
+ export { openapi } from '@seamapi/types';
4
4
  export * from '@seamapi/webhook';
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { SeamHttp as Seam, SeamHttpEndpoints as SeamEndpoints, SeamHttpMultiWorkspace as SeamMultiWorkspace, type SeamHttpOptions as SeamOptions, SeamHttpWithoutWorkspace as SeamWithoutWorkspace, type SeamHttpWithoutWorkspace as SeamWithoutWorkspaceOptions, type SeamHttpWithoutWorkspaceOptions as SeamMultiWorkspaceOptions } from '@seamapi/http';
1
+ import { SeamHttp as Seam, SeamHttpEndpoints as SeamEndpoints, type SeamHttpOptions as SeamOptions, SeamHttpWithoutWorkspace as SeamWithoutWorkspace, type SeamHttpWithoutWorkspace as SeamWithoutWorkspaceOptions, type SeamHttpWithoutWorkspaceOptions as SeamMultiWorkspaceOptions } from '@seamapi/http';
2
2
  export * from '@seamapi/http';
3
- export type * from '@seamapi/types';
3
+ export type { openapi } from '@seamapi/types';
4
4
  export * from '@seamapi/webhook';
5
- export { Seam, SeamEndpoints, SeamMultiWorkspace, SeamWithoutWorkspace };
5
+ export { Seam, SeamEndpoints, SeamWithoutWorkspace };
6
6
  export type { SeamMultiWorkspaceOptions, SeamOptions, SeamWithoutWorkspaceOptions, };
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { SeamHttp as Seam, SeamHttpEndpoints as SeamEndpoints, SeamHttpMultiWorkspace as SeamMultiWorkspace, SeamHttpWithoutWorkspace as SeamWithoutWorkspace, } from '@seamapi/http';
1
+ import { SeamHttp as Seam, SeamHttpEndpoints as SeamEndpoints, SeamHttpWithoutWorkspace as SeamWithoutWorkspace, } from '@seamapi/http';
2
2
  export * from '@seamapi/http';
3
3
  export * from '@seamapi/webhook';
4
- export { Seam, SeamEndpoints, SeamMultiWorkspace, SeamWithoutWorkspace };
4
+ export { Seam, SeamEndpoints, SeamWithoutWorkspace };
5
5
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,IAAI,EAChB,iBAAiB,IAAI,aAAa,EAClC,sBAAsB,IAAI,kBAAkB,EAE5C,wBAAwB,IAAI,oBAAoB,GAGjD,MAAM,eAAe,CAAA;AAEtB,cAAc,eAAe,CAAA;AAE7B,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,IAAI,IAAI,EAChB,iBAAiB,IAAI,aAAa,EAElC,wBAAwB,IAAI,oBAAoB,GAGjD,MAAM,eAAe,CAAA;AAEtB,cAAc,eAAe,CAAA;AAE7B,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,oBAAoB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seam",
3
- "version": "1.226.0",
3
+ "version": "1.227.0",
4
4
  "description": "JavaScript SDK for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -65,8 +65,8 @@
65
65
  "npm": ">=10.9.4"
66
66
  },
67
67
  "dependencies": {
68
- "@seamapi/http": "1.126.0",
69
- "@seamapi/types": "1.981.0",
68
+ "@seamapi/http": "2.0.0",
69
+ "@seamapi/types": "1.983.0",
70
70
  "@seamapi/webhook": "1.2.0",
71
71
  "zod": "^3.21.4"
72
72
  },
package/src/index.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  SeamHttp as Seam,
3
3
  SeamHttpEndpoints as SeamEndpoints,
4
- SeamHttpMultiWorkspace as SeamMultiWorkspace,
5
4
  type SeamHttpOptions as SeamOptions,
6
5
  SeamHttpWithoutWorkspace as SeamWithoutWorkspace,
7
6
  type SeamHttpWithoutWorkspace as SeamWithoutWorkspaceOptions,
@@ -9,9 +8,9 @@ import {
9
8
  } from '@seamapi/http'
10
9
 
11
10
  export * from '@seamapi/http'
12
- export type * from '@seamapi/types'
11
+ export type { openapi } from '@seamapi/types'
13
12
  export * from '@seamapi/webhook'
14
- export { Seam, SeamEndpoints, SeamMultiWorkspace, SeamWithoutWorkspace }
13
+ export { Seam, SeamEndpoints, SeamWithoutWorkspace }
15
14
  export type {
16
15
  SeamMultiWorkspaceOptions,
17
16
  SeamOptions,