@seamapi/types 1.177.1 → 1.178.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/dist/connect.cjs +11 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +30 -4
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +2 -2
- package/lib/seam/connect/models/index.js +2 -2
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/user-identities/index.d.ts +1 -0
- package/lib/seam/connect/models/user-identities/index.js +2 -0
- package/lib/seam/connect/models/user-identities/index.js.map +1 -0
- package/lib/seam/connect/models/{user-identity.js → user-identities/user-identity.js} +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -0
- package/lib/seam/connect/models/workspaces/index.d.ts +1 -0
- package/lib/seam/connect/models/workspaces/index.js +2 -0
- package/lib/seam/connect/models/workspaces/index.js.map +1 -0
- package/lib/seam/connect/models/workspaces/workspace.d.ts +17 -0
- package/lib/seam/connect/models/workspaces/workspace.js +8 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +3 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3 -3
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -1
- package/src/lib/seam/connect/models/index.ts +2 -2
- package/src/lib/seam/connect/models/user-identities/index.ts +1 -0
- package/src/lib/seam/connect/models/{user-identity.ts → user-identities/user-identity.ts} +1 -1
- package/src/lib/seam/connect/models/workspaces/index.ts +1 -0
- package/src/lib/seam/connect/models/workspaces/workspace.ts +8 -0
- package/src/lib/seam/connect/openapi.ts +3 -2
- package/src/lib/seam/connect/route-types.ts +7 -9
- package/src/lib/seam/connect/schemas.ts +1 -0
- package/lib/seam/connect/models/network.d.ts +0 -18
- package/lib/seam/connect/models/network.js +0 -8
- package/lib/seam/connect/models/network.js.map +0 -1
- package/lib/seam/connect/models/user-identity.js.map +0 -1
- package/src/lib/seam/connect/models/network.ts +0 -10
- /package/lib/seam/connect/models/{user-identity.d.ts → user-identities/user-identity.d.ts} +0 -0
|
@@ -18040,8 +18040,8 @@ export interface Routes {
|
|
|
18040
18040
|
workspace: {
|
|
18041
18041
|
workspace_id: string;
|
|
18042
18042
|
name: string;
|
|
18043
|
-
connect_partner_name: string | null;
|
|
18044
18043
|
is_sandbox: boolean;
|
|
18044
|
+
connect_partner_name: string | null;
|
|
18045
18045
|
};
|
|
18046
18046
|
};
|
|
18047
18047
|
};
|
|
@@ -18053,12 +18053,12 @@ export interface Routes {
|
|
|
18053
18053
|
commonParams: {};
|
|
18054
18054
|
formData: {};
|
|
18055
18055
|
jsonResponse: {
|
|
18056
|
-
workspace
|
|
18056
|
+
workspace: {
|
|
18057
18057
|
workspace_id: string;
|
|
18058
18058
|
name: string;
|
|
18059
18059
|
is_sandbox: boolean;
|
|
18060
18060
|
connect_partner_name: string | null;
|
|
18061
|
-
}
|
|
18061
|
+
};
|
|
18062
18062
|
};
|
|
18063
18063
|
};
|
|
18064
18064
|
'/workspaces/list': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { action_attempt, connect_webview, custom_metadata, seam_event, } from './models/index.js';
|
|
1
|
+
export { action_attempt, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { action_attempt, connect_webview, custom_metadata, seam_event, } from './models/index.js';
|
|
1
|
+
export { action_attempt, connect_webview, custom_metadata, seam_event, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -30,7 +30,6 @@ export {
|
|
|
30
30
|
lock_device_type,
|
|
31
31
|
managed_access_code,
|
|
32
32
|
managed_device,
|
|
33
|
-
network,
|
|
34
33
|
noise_sensor_device_type,
|
|
35
34
|
phone,
|
|
36
35
|
phone_number,
|
|
@@ -39,5 +38,6 @@ export {
|
|
|
39
38
|
unmanaged_access_code,
|
|
40
39
|
unmanaged_device,
|
|
41
40
|
user_identity,
|
|
41
|
+
workspace,
|
|
42
42
|
} from '../models/index.js'
|
|
43
43
|
export * from '../schemas.js'
|
|
@@ -6,6 +6,6 @@ export * from './connect-webviews/index.js'
|
|
|
6
6
|
export * from './custom-metadata.js'
|
|
7
7
|
export * from './devices/index.js'
|
|
8
8
|
export * from './events/index.js'
|
|
9
|
-
export * from './network.js'
|
|
10
9
|
export * from './phone-number.js'
|
|
11
|
-
export * from './user-
|
|
10
|
+
export * from './user-identities/index.js'
|
|
11
|
+
export * from './workspaces/index.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user-identity.js'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './workspace.js'
|
|
@@ -7918,6 +7918,7 @@ export default {
|
|
|
7918
7918
|
401: { description: 'Unauthorized' },
|
|
7919
7919
|
},
|
|
7920
7920
|
security: [
|
|
7921
|
+
{ client_session: [] },
|
|
7921
7922
|
{ api_key: [] },
|
|
7922
7923
|
{ pat_with_workspace: [] },
|
|
7923
7924
|
{ console_session: [] },
|
|
@@ -12763,7 +12764,7 @@ export default {
|
|
|
12763
12764
|
ok: { type: 'boolean' },
|
|
12764
12765
|
workspace: { $ref: '#/components/schemas/workspace' },
|
|
12765
12766
|
},
|
|
12766
|
-
required: ['ok'],
|
|
12767
|
+
required: ['workspace', 'ok'],
|
|
12767
12768
|
type: 'object',
|
|
12768
12769
|
},
|
|
12769
12770
|
},
|
|
@@ -12794,7 +12795,7 @@ export default {
|
|
|
12794
12795
|
ok: { type: 'boolean' },
|
|
12795
12796
|
workspace: { $ref: '#/components/schemas/workspace' },
|
|
12796
12797
|
},
|
|
12797
|
-
required: ['ok'],
|
|
12798
|
+
required: ['workspace', 'ok'],
|
|
12798
12799
|
type: 'object',
|
|
12799
12800
|
},
|
|
12800
12801
|
},
|
|
@@ -22086,8 +22086,8 @@ export interface Routes {
|
|
|
22086
22086
|
workspace: {
|
|
22087
22087
|
workspace_id: string
|
|
22088
22088
|
name: string
|
|
22089
|
-
connect_partner_name: string | null
|
|
22090
22089
|
is_sandbox: boolean
|
|
22090
|
+
connect_partner_name: string | null
|
|
22091
22091
|
}
|
|
22092
22092
|
}
|
|
22093
22093
|
}
|
|
@@ -22099,14 +22099,12 @@ export interface Routes {
|
|
|
22099
22099
|
commonParams: {}
|
|
22100
22100
|
formData: {}
|
|
22101
22101
|
jsonResponse: {
|
|
22102
|
-
workspace
|
|
22103
|
-
|
|
22104
|
-
|
|
22105
|
-
|
|
22106
|
-
|
|
22107
|
-
|
|
22108
|
-
}
|
|
22109
|
-
| undefined
|
|
22102
|
+
workspace: {
|
|
22103
|
+
workspace_id: string
|
|
22104
|
+
name: string
|
|
22105
|
+
is_sandbox: boolean
|
|
22106
|
+
connect_partner_name: string | null
|
|
22107
|
+
}
|
|
22110
22108
|
}
|
|
22111
22109
|
}
|
|
22112
22110
|
'/workspaces/list': {
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const network: z.ZodObject<{
|
|
3
|
-
network_id: z.ZodString;
|
|
4
|
-
workspace_id: z.ZodString;
|
|
5
|
-
display_name: z.ZodString;
|
|
6
|
-
created_at: z.ZodString;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
created_at: string;
|
|
9
|
-
workspace_id: string;
|
|
10
|
-
display_name: string;
|
|
11
|
-
network_id: string;
|
|
12
|
-
}, {
|
|
13
|
-
created_at: string;
|
|
14
|
-
workspace_id: string;
|
|
15
|
-
display_name: string;
|
|
16
|
-
network_id: string;
|
|
17
|
-
}>;
|
|
18
|
-
export type Network = z.infer<typeof network>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC/C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
File without changes
|