@seamapi/types 1.382.0 → 1.384.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.
Files changed (36) hide show
  1. package/dist/connect.cjs +315 -9
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +450 -2
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +9 -0
  9. package/lib/seam/connect/models/bridges/bridge-client-session.js +3 -0
  10. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  11. package/lib/seam/connect/models/index.d.ts +1 -0
  12. package/lib/seam/connect/models/index.js +1 -0
  13. package/lib/seam/connect/models/index.js.map +1 -1
  14. package/lib/seam/connect/models/instant-keys/index.d.ts +1 -0
  15. package/lib/seam/connect/models/instant-keys/index.js +2 -0
  16. package/lib/seam/connect/models/instant-keys/index.js.map +1 -0
  17. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +27 -0
  18. package/lib/seam/connect/models/instant-keys/instant-key.js +16 -0
  19. package/lib/seam/connect/models/instant-keys/instant-key.js.map +1 -0
  20. package/lib/seam/connect/openapi.d.ts +332 -0
  21. package/lib/seam/connect/openapi.js +288 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +79 -0
  24. package/lib/seam/connect/schemas.d.ts +1 -1
  25. package/lib/seam/connect/schemas.js +1 -1
  26. package/lib/seam/connect/schemas.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  29. package/src/lib/seam/connect/model-types.ts +1 -0
  30. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +3 -0
  31. package/src/lib/seam/connect/models/index.ts +1 -0
  32. package/src/lib/seam/connect/models/instant-keys/index.ts +1 -0
  33. package/src/lib/seam/connect/models/instant-keys/instant-key.ts +18 -0
  34. package/src/lib/seam/connect/openapi.ts +303 -0
  35. package/src/lib/seam/connect/route-types.ts +82 -0
  36. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -10,6 +10,7 @@ export * from './connected-accounts/index.js';
10
10
  export * from './custom-metadata.js';
11
11
  export * from './devices/index.js';
12
12
  export * from './events/index.js';
13
+ export * from './instant-keys/index.js';
13
14
  export * from './locations/index.js';
14
15
  export * from './noise-sensors/index.js';
15
16
  export * from './pagination.js';
@@ -10,6 +10,7 @@ export * from './connected-accounts/index.js';
10
10
  export * from './custom-metadata.js';
11
11
  export * from './devices/index.js';
12
12
  export * from './events/index.js';
13
+ export * from './instant-keys/index.js';
13
14
  export * from './locations/index.js';
14
15
  export * from './noise-sensors/index.js';
15
16
  export * from './pagination.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './instant-key.js';
@@ -0,0 +1,2 @@
1
+ export * from './instant-key.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/instant-keys/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ export declare const instant_key: z.ZodObject<{
3
+ instant_key_id: z.ZodString;
4
+ workspace_id: z.ZodString;
5
+ created_at: z.ZodString;
6
+ instant_key_url: z.ZodString;
7
+ client_session_id: z.ZodString;
8
+ user_identity_id: z.ZodString;
9
+ expires_at: z.ZodString;
10
+ }, "strip", z.ZodTypeAny, {
11
+ created_at: string;
12
+ workspace_id: string;
13
+ user_identity_id: string;
14
+ client_session_id: string;
15
+ expires_at: string;
16
+ instant_key_id: string;
17
+ instant_key_url: string;
18
+ }, {
19
+ created_at: string;
20
+ workspace_id: string;
21
+ user_identity_id: string;
22
+ client_session_id: string;
23
+ expires_at: string;
24
+ instant_key_id: string;
25
+ instant_key_url: string;
26
+ }>;
27
+ export type InstantKey = z.infer<typeof instant_key>;
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ export const instant_key = z.object({
3
+ instant_key_id: z.string().uuid(),
4
+ workspace_id: z.string().uuid(),
5
+ created_at: z.string().datetime(),
6
+ instant_key_url: z.string().url(),
7
+ client_session_id: z.string().uuid(),
8
+ user_identity_id: z.string().uuid(),
9
+ expires_at: z.string().datetime(),
10
+ }).describe(`
11
+ ---
12
+ route_path: /user_identities
13
+ undocumented: Unreleased.
14
+ ---
15
+ `);
16
+ //# sourceMappingURL=instant-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instant-key.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/instant-keys/instant-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -7622,6 +7622,42 @@ declare const _default: {
7622
7622
  })[];
7623
7623
  'x-route-path': string;
7624
7624
  };
7625
+ instant_key: {
7626
+ properties: {
7627
+ client_session_id: {
7628
+ format: string;
7629
+ type: string;
7630
+ };
7631
+ created_at: {
7632
+ format: string;
7633
+ type: string;
7634
+ };
7635
+ expires_at: {
7636
+ format: string;
7637
+ type: string;
7638
+ };
7639
+ instant_key_id: {
7640
+ format: string;
7641
+ type: string;
7642
+ };
7643
+ instant_key_url: {
7644
+ format: string;
7645
+ type: string;
7646
+ };
7647
+ user_identity_id: {
7648
+ format: string;
7649
+ type: string;
7650
+ };
7651
+ workspace_id: {
7652
+ format: string;
7653
+ type: string;
7654
+ };
7655
+ };
7656
+ required: string[];
7657
+ type: string;
7658
+ 'x-route-path': string;
7659
+ 'x-undocumented': string;
7660
+ };
7625
7661
  network: {
7626
7662
  properties: {
7627
7663
  created_at: {
@@ -21218,6 +21254,19 @@ declare const _default: {
21218
21254
  tailscale_hostname: {
21219
21255
  type: string;
21220
21256
  };
21257
+ telemetry_token: {
21258
+ nullable: boolean;
21259
+ type: string;
21260
+ };
21261
+ telemetry_token_expires_at: {
21262
+ format: string;
21263
+ nullable: boolean;
21264
+ type: string;
21265
+ };
21266
+ telemetry_url: {
21267
+ nullable: boolean;
21268
+ type: string;
21269
+ };
21221
21270
  };
21222
21271
  required: string[];
21223
21272
  type: string;
@@ -21379,6 +21428,19 @@ declare const _default: {
21379
21428
  tailscale_hostname: {
21380
21429
  type: string;
21381
21430
  };
21431
+ telemetry_token: {
21432
+ nullable: boolean;
21433
+ type: string;
21434
+ };
21435
+ telemetry_token_expires_at: {
21436
+ format: string;
21437
+ nullable: boolean;
21438
+ type: string;
21439
+ };
21440
+ telemetry_url: {
21441
+ nullable: boolean;
21442
+ type: string;
21443
+ };
21382
21444
  };
21383
21445
  required: string[];
21384
21446
  type: string;
@@ -21536,6 +21598,193 @@ declare const _default: {
21536
21598
  tailscale_hostname: {
21537
21599
  type: string;
21538
21600
  };
21601
+ telemetry_token: {
21602
+ nullable: boolean;
21603
+ type: string;
21604
+ };
21605
+ telemetry_token_expires_at: {
21606
+ format: string;
21607
+ nullable: boolean;
21608
+ type: string;
21609
+ };
21610
+ telemetry_url: {
21611
+ nullable: boolean;
21612
+ type: string;
21613
+ };
21614
+ };
21615
+ required: string[];
21616
+ type: string;
21617
+ 'x-route-path': string;
21618
+ 'x-undocumented': string;
21619
+ };
21620
+ ok: {
21621
+ type: string;
21622
+ };
21623
+ };
21624
+ required: string[];
21625
+ type: string;
21626
+ };
21627
+ };
21628
+ };
21629
+ description: string;
21630
+ };
21631
+ 400: {
21632
+ description: string;
21633
+ };
21634
+ 401: {
21635
+ description: string;
21636
+ };
21637
+ };
21638
+ security: {
21639
+ bridge_client_session: never[];
21640
+ }[];
21641
+ summary: string;
21642
+ tags: never[];
21643
+ 'x-fern-sdk-group-name': string[];
21644
+ 'x-fern-sdk-method-name': string;
21645
+ 'x-fern-sdk-return-value': string;
21646
+ 'x-response-key': string;
21647
+ 'x-title': string;
21648
+ 'x-undocumented': string;
21649
+ };
21650
+ };
21651
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
21652
+ post: {
21653
+ description: string;
21654
+ operationId: string;
21655
+ responses: {
21656
+ 200: {
21657
+ content: {
21658
+ 'application/json': {
21659
+ schema: {
21660
+ properties: {
21661
+ bridge_client_session: {
21662
+ properties: {
21663
+ bridge_client_machine_identifier_key: {
21664
+ type: string;
21665
+ };
21666
+ bridge_client_name: {
21667
+ type: string;
21668
+ };
21669
+ bridge_client_session_id: {
21670
+ format: string;
21671
+ type: string;
21672
+ };
21673
+ bridge_client_session_token: {
21674
+ type: string;
21675
+ };
21676
+ bridge_client_time_zone: {
21677
+ type: string;
21678
+ };
21679
+ created_at: {
21680
+ format: string;
21681
+ type: string;
21682
+ };
21683
+ errors: {
21684
+ items: {
21685
+ description: string;
21686
+ discriminator: {
21687
+ propertyName: string;
21688
+ };
21689
+ oneOf: ({
21690
+ description: string;
21691
+ properties: {
21692
+ can_tailscale_proxy_reach_bridge: {
21693
+ description: string;
21694
+ nullable: boolean;
21695
+ type: string;
21696
+ };
21697
+ can_tailscale_proxy_reach_tailscale_network: {
21698
+ description: string;
21699
+ nullable: boolean;
21700
+ type: string;
21701
+ };
21702
+ created_at: {
21703
+ format: string;
21704
+ type: string;
21705
+ };
21706
+ error_code: {
21707
+ description: string;
21708
+ enum: string[];
21709
+ type: string;
21710
+ };
21711
+ is_bridge_socks_server_healthy: {
21712
+ description: string;
21713
+ nullable: boolean;
21714
+ type: string;
21715
+ };
21716
+ is_tailscale_proxy_reachable: {
21717
+ description: string;
21718
+ nullable: boolean;
21719
+ type: string;
21720
+ };
21721
+ is_tailscale_proxy_socks_server_healthy: {
21722
+ description: string;
21723
+ nullable: boolean;
21724
+ type: string;
21725
+ };
21726
+ message: {
21727
+ type: string;
21728
+ };
21729
+ };
21730
+ required: string[];
21731
+ type: string;
21732
+ } | {
21733
+ description: string;
21734
+ properties: {
21735
+ created_at: {
21736
+ format: string;
21737
+ type: string;
21738
+ };
21739
+ error_code: {
21740
+ description: string;
21741
+ enum: string[];
21742
+ type: string;
21743
+ };
21744
+ message: {
21745
+ type: string;
21746
+ };
21747
+ can_tailscale_proxy_reach_bridge?: never;
21748
+ can_tailscale_proxy_reach_tailscale_network?: never;
21749
+ is_bridge_socks_server_healthy?: never;
21750
+ is_tailscale_proxy_reachable?: never;
21751
+ is_tailscale_proxy_socks_server_healthy?: never;
21752
+ };
21753
+ required: string[];
21754
+ type: string;
21755
+ })[];
21756
+ };
21757
+ type: string;
21758
+ };
21759
+ pairing_code: {
21760
+ maxLength: number;
21761
+ minLength: number;
21762
+ type: string;
21763
+ };
21764
+ pairing_code_expires_at: {
21765
+ format: string;
21766
+ type: string;
21767
+ };
21768
+ tailscale_auth_key: {
21769
+ nullable: boolean;
21770
+ type: string;
21771
+ };
21772
+ tailscale_hostname: {
21773
+ type: string;
21774
+ };
21775
+ telemetry_token: {
21776
+ nullable: boolean;
21777
+ type: string;
21778
+ };
21779
+ telemetry_token_expires_at: {
21780
+ format: string;
21781
+ nullable: boolean;
21782
+ type: string;
21783
+ };
21784
+ telemetry_url: {
21785
+ nullable: boolean;
21786
+ type: string;
21787
+ };
21539
21788
  };
21540
21789
  required: string[];
21541
21790
  type: string;
@@ -21697,6 +21946,19 @@ declare const _default: {
21697
21946
  tailscale_hostname: {
21698
21947
  type: string;
21699
21948
  };
21949
+ telemetry_token: {
21950
+ nullable: boolean;
21951
+ type: string;
21952
+ };
21953
+ telemetry_token_expires_at: {
21954
+ format: string;
21955
+ nullable: boolean;
21956
+ type: string;
21957
+ };
21958
+ telemetry_url: {
21959
+ nullable: boolean;
21960
+ type: string;
21961
+ };
21700
21962
  };
21701
21963
  required: string[];
21702
21964
  type: string;
@@ -26678,6 +26940,76 @@ declare const _default: {
26678
26940
  'x-title': string;
26679
26941
  };
26680
26942
  };
26943
+ '/user_identities/generate_instant_key': {
26944
+ post: {
26945
+ description: string;
26946
+ operationId: string;
26947
+ requestBody: {
26948
+ content: {
26949
+ 'application/json': {
26950
+ schema: {
26951
+ properties: {
26952
+ user_identity_id: {
26953
+ description: string;
26954
+ format: string;
26955
+ type: string;
26956
+ };
26957
+ };
26958
+ required: string[];
26959
+ type: string;
26960
+ };
26961
+ };
26962
+ };
26963
+ };
26964
+ responses: {
26965
+ 200: {
26966
+ content: {
26967
+ 'application/json': {
26968
+ schema: {
26969
+ properties: {
26970
+ instant_key: {
26971
+ $ref: string;
26972
+ };
26973
+ ok: {
26974
+ type: string;
26975
+ };
26976
+ };
26977
+ required: string[];
26978
+ type: string;
26979
+ };
26980
+ };
26981
+ };
26982
+ description: string;
26983
+ };
26984
+ 400: {
26985
+ description: string;
26986
+ };
26987
+ 401: {
26988
+ description: string;
26989
+ };
26990
+ };
26991
+ security: ({
26992
+ api_key: never[];
26993
+ pat_with_workspace?: never;
26994
+ console_session_with_workspace?: never;
26995
+ } | {
26996
+ pat_with_workspace: never[];
26997
+ api_key?: never;
26998
+ console_session_with_workspace?: never;
26999
+ } | {
27000
+ console_session_with_workspace: never[];
27001
+ api_key?: never;
27002
+ pat_with_workspace?: never;
27003
+ })[];
27004
+ summary: string;
27005
+ tags: string[];
27006
+ 'x-fern-sdk-group-name': string[];
27007
+ 'x-fern-sdk-method-name': string;
27008
+ 'x-fern-sdk-return-value': string;
27009
+ 'x-response-key': string;
27010
+ 'x-title': string;
27011
+ };
27012
+ };
26681
27013
  '/user_identities/get': {
26682
27014
  post: {
26683
27015
  description: string;