@seamapi/types 1.177.1 → 1.179.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 (51) hide show
  1. package/dist/connect.cjs +29 -6
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +68 -8
  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/models/acs/index.d.ts +1 -0
  8. package/lib/seam/connect/models/acs/index.js +1 -0
  9. package/lib/seam/connect/models/acs/index.js.map +1 -1
  10. package/lib/seam/connect/models/acs/seam-bridge.d.ts +112 -0
  11. package/lib/seam/connect/models/acs/seam-bridge.js +25 -0
  12. package/lib/seam/connect/models/acs/seam-bridge.js.map +1 -0
  13. package/lib/seam/connect/models/index.d.ts +2 -2
  14. package/lib/seam/connect/models/index.js +2 -2
  15. package/lib/seam/connect/models/index.js.map +1 -1
  16. package/lib/seam/connect/models/user-identities/index.d.ts +1 -0
  17. package/lib/seam/connect/models/user-identities/index.js +2 -0
  18. package/lib/seam/connect/models/user-identities/index.js.map +1 -0
  19. package/lib/seam/connect/models/{user-identity.js → user-identities/user-identity.js} +1 -1
  20. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -0
  21. package/lib/seam/connect/models/workspaces/index.d.ts +1 -0
  22. package/lib/seam/connect/models/workspaces/index.js +2 -0
  23. package/lib/seam/connect/models/workspaces/index.js.map +1 -0
  24. package/lib/seam/connect/models/workspaces/workspace.d.ts +20 -0
  25. package/lib/seam/connect/models/workspaces/workspace.js +17 -0
  26. package/lib/seam/connect/models/workspaces/workspace.js.map +1 -0
  27. package/lib/seam/connect/openapi.d.ts +16 -0
  28. package/lib/seam/connect/openapi.js +14 -5
  29. package/lib/seam/connect/openapi.js.map +1 -1
  30. package/lib/seam/connect/route-types.d.ts +30 -7
  31. package/lib/seam/connect/schemas.d.ts +1 -1
  32. package/lib/seam/connect/schemas.js +1 -1
  33. package/lib/seam/connect/schemas.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/lib/seam/connect/internal/schemas.ts +1 -1
  36. package/src/lib/seam/connect/models/acs/index.ts +1 -0
  37. package/src/lib/seam/connect/models/acs/seam-bridge.ts +30 -0
  38. package/src/lib/seam/connect/models/index.ts +2 -2
  39. package/src/lib/seam/connect/models/user-identities/index.ts +1 -0
  40. package/src/lib/seam/connect/models/{user-identity.ts → user-identities/user-identity.ts} +1 -1
  41. package/src/lib/seam/connect/models/workspaces/index.ts +1 -0
  42. package/src/lib/seam/connect/models/workspaces/workspace.ts +19 -0
  43. package/src/lib/seam/connect/openapi.ts +16 -5
  44. package/src/lib/seam/connect/route-types.ts +33 -12
  45. package/src/lib/seam/connect/schemas.ts +1 -0
  46. package/lib/seam/connect/models/network.d.ts +0 -18
  47. package/lib/seam/connect/models/network.js +0 -8
  48. package/lib/seam/connect/models/network.js.map +0 -1
  49. package/lib/seam/connect/models/user-identity.js.map +0 -1
  50. package/src/lib/seam/connect/models/network.ts +0 -10
  51. /package/lib/seam/connect/models/{user-identity.d.ts → user-identities/user-identity.d.ts} +0 -0
@@ -2308,12 +2308,33 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
2308
2308
  type SeamEvent = z.infer<typeof seam_event>;
2309
2309
  type SeamEventType = SeamEvent['event_type'];
2310
2310
 
2311
+ declare const workspace: z.ZodObject<{
2312
+ workspace_id: z.ZodString;
2313
+ name: z.ZodString;
2314
+ company_name: z.ZodString;
2315
+ is_sandbox: z.ZodBoolean;
2316
+ connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
2317
+ }, "strip", z.ZodTypeAny, {
2318
+ name: string;
2319
+ workspace_id: string;
2320
+ company_name: string;
2321
+ is_sandbox: boolean;
2322
+ connect_partner_name: string | null;
2323
+ }, {
2324
+ name: string;
2325
+ workspace_id: string;
2326
+ company_name: string;
2327
+ is_sandbox: boolean;
2328
+ connect_partner_name: string | null;
2329
+ }>;
2330
+
2311
2331
  declare const schemas_action_attempt: typeof action_attempt;
2312
2332
  declare const schemas_connect_webview: typeof connect_webview;
2313
2333
  declare const schemas_custom_metadata: typeof custom_metadata;
2314
2334
  declare const schemas_seam_event: typeof seam_event;
2335
+ declare const schemas_workspace: typeof workspace;
2315
2336
  declare namespace schemas {
2316
- export { schemas_action_attempt as action_attempt, schemas_connect_webview as connect_webview, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event };
2337
+ export { schemas_action_attempt as action_attempt, schemas_connect_webview as connect_webview, schemas_custom_metadata as custom_metadata, schemas_seam_event as seam_event, schemas_workspace as workspace };
2317
2338
  }
2318
2339
 
2319
2340
  declare const _default: {
@@ -5600,7 +5621,11 @@ declare const _default: {
5600
5621
  };
5601
5622
  workspace: {
5602
5623
  properties: {
5624
+ company_name: {
5625
+ type: string;
5626
+ };
5603
5627
  connect_partner_name: {
5628
+ description: string;
5604
5629
  nullable: boolean;
5605
5630
  type: string;
5606
5631
  };
@@ -11762,15 +11787,23 @@ declare const _default: {
11762
11787
  };
11763
11788
  };
11764
11789
  security: ({
11790
+ client_session: never[];
11791
+ api_key?: never;
11792
+ pat_with_workspace?: never;
11793
+ console_session?: never;
11794
+ } | {
11765
11795
  api_key: never[];
11796
+ client_session?: never;
11766
11797
  pat_with_workspace?: never;
11767
11798
  console_session?: never;
11768
11799
  } | {
11769
11800
  pat_with_workspace: never[];
11801
+ client_session?: never;
11770
11802
  api_key?: never;
11771
11803
  console_session?: never;
11772
11804
  } | {
11773
11805
  console_session: never[];
11806
+ client_session?: never;
11774
11807
  api_key?: never;
11775
11808
  pat_with_workspace?: never;
11776
11809
  })[];
@@ -17918,8 +17951,12 @@ declare const _default: {
17918
17951
  'application/json': {
17919
17952
  schema: {
17920
17953
  properties: {
17954
+ company_name: {
17955
+ type: string;
17956
+ };
17921
17957
  connect_partner_name: {
17922
17958
  description: string;
17959
+ nullable: boolean;
17923
17960
  type: string;
17924
17961
  };
17925
17962
  is_sandbox: {
@@ -36344,8 +36381,13 @@ interface Routes {
36344
36381
  queryParams: {};
36345
36382
  jsonBody: {
36346
36383
  name: string;
36347
- /** The name shown inside the connect webview */
36348
- connect_partner_name: string;
36384
+ company_name?: string | undefined;
36385
+ /**
36386
+ ---
36387
+ deprecated: use company_name
36388
+ ---
36389
+ */
36390
+ connect_partner_name?: ((string | null) | null) | undefined;
36349
36391
  is_sandbox?: boolean;
36350
36392
  webview_primary_button_color?: string | undefined;
36351
36393
  webview_logo_shape?: ('circle' | 'square') | undefined;
@@ -36356,8 +36398,14 @@ interface Routes {
36356
36398
  workspace: {
36357
36399
  workspace_id: string;
36358
36400
  name: string;
36359
- connect_partner_name: string | null;
36401
+ company_name: string;
36360
36402
  is_sandbox: boolean;
36403
+ /**
36404
+ ---
36405
+ deprecated: use company_name
36406
+ ---
36407
+ */
36408
+ connect_partner_name: (string | null) | null;
36361
36409
  };
36362
36410
  };
36363
36411
  };
@@ -36369,12 +36417,18 @@ interface Routes {
36369
36417
  commonParams: {};
36370
36418
  formData: {};
36371
36419
  jsonResponse: {
36372
- workspace?: {
36420
+ workspace: {
36373
36421
  workspace_id: string;
36374
36422
  name: string;
36423
+ company_name: string;
36375
36424
  is_sandbox: boolean;
36376
- connect_partner_name: string | null;
36377
- } | undefined;
36425
+ /**
36426
+ ---
36427
+ deprecated: use company_name
36428
+ ---
36429
+ */
36430
+ connect_partner_name: (string | null) | null;
36431
+ };
36378
36432
  };
36379
36433
  };
36380
36434
  '/workspaces/list': {
@@ -36388,8 +36442,14 @@ interface Routes {
36388
36442
  workspaces: Array<{
36389
36443
  workspace_id: string;
36390
36444
  name: string;
36445
+ company_name: string;
36391
36446
  is_sandbox: boolean;
36392
- connect_partner_name: string | null;
36447
+ /**
36448
+ ---
36449
+ deprecated: use company_name
36450
+ ---
36451
+ */
36452
+ connect_partner_name: (string | null) | null;
36393
36453
  }>;
36394
36454
  };
36395
36455
  };
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, workspace, } from '../models/index.js';
2
2
  export * from '../schemas.js';
@@ -1,3 +1,3 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, connect_webview_device_selection_mode, custom_metadata_input, device_capability_flags, device_metadata, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, workspace, } from '../models/index.js';
2
2
  export * from '../schemas.js';
3
3
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qCAAqC,EACrC,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qCAAqC,EACrC,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,SAAS,GACV,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -4,5 +4,6 @@ export * from './credential.js';
4
4
  export * from './credential_pool.js';
5
5
  export * from './credential_provisioning_automation.js';
6
6
  export * from './entrance.js';
7
+ export * from './seam-bridge.js';
7
8
  export * from './system.js';
8
9
  export * from './user.js';
@@ -4,6 +4,7 @@ export * from './credential.js';
4
4
  export * from './credential_pool.js';
5
5
  export * from './credential_provisioning_automation.js';
6
6
  export * from './entrance.js';
7
+ export * from './seam-bridge.js';
7
8
  export * from './system.js';
8
9
  export * from './user.js';
9
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kCAAkC,CAAA;AAChD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yCAAyC,CAAA;AACvD,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kCAAkC,CAAA;AAChD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yCAAyC,CAAA;AACvD,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -0,0 +1,112 @@
1
+ import { z } from 'zod';
2
+ export declare const seam_bridge_error_map: z.ZodObject<{
3
+ bridge_tunnel_failed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4
+ message: z.ZodString;
5
+ created_at: z.ZodString;
6
+ error_code: z.ZodLiteral<"bridge_tunnel_failed">;
7
+ }, "strip", z.ZodTypeAny, {
8
+ message: string;
9
+ created_at: string;
10
+ error_code: "bridge_tunnel_failed";
11
+ }, {
12
+ message: string;
13
+ created_at: string;
14
+ error_code: "bridge_tunnel_failed";
15
+ }>>>;
16
+ bridge_proxy_failure: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17
+ message: z.ZodString;
18
+ created_at: z.ZodString;
19
+ error_code: z.ZodLiteral<"bridge_proxy_failure">;
20
+ }, "strip", z.ZodTypeAny, {
21
+ message: string;
22
+ created_at: string;
23
+ error_code: "bridge_proxy_failure";
24
+ }, {
25
+ message: string;
26
+ created_at: string;
27
+ error_code: "bridge_proxy_failure";
28
+ }>>>;
29
+ connection_failure: z.ZodNullable<z.ZodOptional<z.ZodObject<{
30
+ message: z.ZodString;
31
+ created_at: z.ZodString;
32
+ error_code: z.ZodLiteral<"connection_failure">;
33
+ }, "strip", z.ZodTypeAny, {
34
+ message: string;
35
+ created_at: string;
36
+ error_code: "connection_failure";
37
+ }, {
38
+ message: string;
39
+ created_at: string;
40
+ error_code: "connection_failure";
41
+ }>>>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ bridge_tunnel_failed?: {
44
+ message: string;
45
+ created_at: string;
46
+ error_code: "bridge_tunnel_failed";
47
+ } | null | undefined;
48
+ bridge_proxy_failure?: {
49
+ message: string;
50
+ created_at: string;
51
+ error_code: "bridge_proxy_failure";
52
+ } | null | undefined;
53
+ connection_failure?: {
54
+ message: string;
55
+ created_at: string;
56
+ error_code: "connection_failure";
57
+ } | null | undefined;
58
+ }, {
59
+ bridge_tunnel_failed?: {
60
+ message: string;
61
+ created_at: string;
62
+ error_code: "bridge_tunnel_failed";
63
+ } | null | undefined;
64
+ bridge_proxy_failure?: {
65
+ message: string;
66
+ created_at: string;
67
+ error_code: "bridge_proxy_failure";
68
+ } | null | undefined;
69
+ connection_failure?: {
70
+ message: string;
71
+ created_at: string;
72
+ error_code: "connection_failure";
73
+ } | null | undefined;
74
+ }>;
75
+ export declare const seam_bridge_error: z.ZodUnion<[z.ZodObject<{
76
+ message: z.ZodString;
77
+ created_at: z.ZodString;
78
+ error_code: z.ZodLiteral<"connection_failure">;
79
+ }, "strip", z.ZodTypeAny, {
80
+ message: string;
81
+ created_at: string;
82
+ error_code: "connection_failure";
83
+ }, {
84
+ message: string;
85
+ created_at: string;
86
+ error_code: "connection_failure";
87
+ }>, z.ZodObject<{
88
+ message: z.ZodString;
89
+ created_at: z.ZodString;
90
+ error_code: z.ZodLiteral<"bridge_proxy_failure">;
91
+ }, "strip", z.ZodTypeAny, {
92
+ message: string;
93
+ created_at: string;
94
+ error_code: "bridge_proxy_failure";
95
+ }, {
96
+ message: string;
97
+ created_at: string;
98
+ error_code: "bridge_proxy_failure";
99
+ }>, z.ZodObject<{
100
+ message: z.ZodString;
101
+ created_at: z.ZodString;
102
+ error_code: z.ZodLiteral<"bridge_tunnel_failed">;
103
+ }, "strip", z.ZodTypeAny, {
104
+ message: string;
105
+ created_at: string;
106
+ error_code: "bridge_tunnel_failed";
107
+ }, {
108
+ message: string;
109
+ created_at: string;
110
+ error_code: "bridge_tunnel_failed";
111
+ }>]>;
112
+ export type SeamBridgeErrorMap = z.infer<typeof seam_bridge_error_map>;
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ const common_seam_bridge_error = z.object({
3
+ created_at: z.string().datetime(),
4
+ message: z.string(),
5
+ });
6
+ const connection_failure = common_seam_bridge_error.extend({
7
+ error_code: z.literal('connection_failure'),
8
+ });
9
+ const bridge_tunnel_failed = common_seam_bridge_error.extend({
10
+ error_code: z.literal('bridge_tunnel_failed'),
11
+ });
12
+ const bridge_proxy_failure = common_seam_bridge_error.extend({
13
+ error_code: z.literal('bridge_proxy_failure'),
14
+ });
15
+ export const seam_bridge_error_map = z.object({
16
+ bridge_tunnel_failed: bridge_tunnel_failed.optional().nullable(),
17
+ bridge_proxy_failure: bridge_proxy_failure.optional().nullable(),
18
+ connection_failure: connection_failure.optional().nullable(),
19
+ });
20
+ export const seam_bridge_error = z.union([
21
+ connection_failure,
22
+ bridge_proxy_failure,
23
+ bridge_tunnel_failed,
24
+ ]);
25
+ //# sourceMappingURL=seam-bridge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seam-bridge.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/seam-bridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACzD,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;CAC5C,CAAC,CAAA;AACF,MAAM,oBAAoB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC3D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAA;AACF,MAAM,oBAAoB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC3D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,oBAAoB,EAAE,oBAAoB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAChE,oBAAoB,EAAE,oBAAoB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAChE,kBAAkB,EAAE,kBAAkB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC;IACvC,kBAAkB;IAClB,oBAAoB;IACpB,oBAAoB;CACrB,CAAC,CAAA"}
@@ -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-identity.js';
10
+ export * from './user-identities/index.js';
11
+ export * from './workspaces/index.js';
@@ -6,7 +6,7 @@ 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-identity.js';
10
+ export * from './user-identities/index.js';
11
+ export * from './workspaces/index.js';
12
12
  //# sourceMappingURL=index.js.map
@@ -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,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './user-identity.js';
@@ -0,0 +1,2 @@
1
+ export * from './user-identity.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { phone_number } from './phone-number.js';
2
+ import { phone_number } from '../phone-number.js';
3
3
  export const user_identity = z.object({
4
4
  user_identity_id: z.string().uuid(),
5
5
  user_identity_key: z.string().min(1).nullable(),
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,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"}
@@ -0,0 +1 @@
1
+ export * from './workspace.js';
@@ -0,0 +1,2 @@
1
+ export * from './workspace.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ export declare const workspace: z.ZodObject<{
3
+ workspace_id: z.ZodString;
4
+ name: z.ZodString;
5
+ company_name: z.ZodString;
6
+ is_sandbox: z.ZodBoolean;
7
+ connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ name: string;
10
+ workspace_id: string;
11
+ company_name: string;
12
+ is_sandbox: boolean;
13
+ connect_partner_name: string | null;
14
+ }, {
15
+ name: string;
16
+ workspace_id: string;
17
+ company_name: string;
18
+ is_sandbox: boolean;
19
+ connect_partner_name: string | null;
20
+ }>;
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ export const workspace = z.object({
3
+ workspace_id: z.string().uuid(),
4
+ name: z.string(),
5
+ company_name: z.string(),
6
+ is_sandbox: z.boolean(),
7
+ connect_partner_name: z
8
+ .string()
9
+ .nullable()
10
+ .describe(`
11
+ ---
12
+ deprecated: use company_name
13
+ ---
14
+ `)
15
+ .nullable(),
16
+ });
17
+ //# sourceMappingURL=workspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP;;;;GAIH,CACE;SACA,QAAQ,EAAE;CACd,CAAC,CAAA"}
@@ -3282,7 +3282,11 @@ declare const _default: {
3282
3282
  };
3283
3283
  workspace: {
3284
3284
  properties: {
3285
+ company_name: {
3286
+ type: string;
3287
+ };
3285
3288
  connect_partner_name: {
3289
+ description: string;
3286
3290
  nullable: boolean;
3287
3291
  type: string;
3288
3292
  };
@@ -9444,15 +9448,23 @@ declare const _default: {
9444
9448
  };
9445
9449
  };
9446
9450
  security: ({
9451
+ client_session: never[];
9452
+ api_key?: never;
9453
+ pat_with_workspace?: never;
9454
+ console_session?: never;
9455
+ } | {
9447
9456
  api_key: never[];
9457
+ client_session?: never;
9448
9458
  pat_with_workspace?: never;
9449
9459
  console_session?: never;
9450
9460
  } | {
9451
9461
  pat_with_workspace: never[];
9462
+ client_session?: never;
9452
9463
  api_key?: never;
9453
9464
  console_session?: never;
9454
9465
  } | {
9455
9466
  console_session: never[];
9467
+ client_session?: never;
9456
9468
  api_key?: never;
9457
9469
  pat_with_workspace?: never;
9458
9470
  })[];
@@ -15600,8 +15612,12 @@ declare const _default: {
15600
15612
  'application/json': {
15601
15613
  schema: {
15602
15614
  properties: {
15615
+ company_name: {
15616
+ type: string;
15617
+ };
15603
15618
  connect_partner_name: {
15604
15619
  description: string;
15620
+ nullable: boolean;
15605
15621
  type: string;
15606
15622
  };
15607
15623
  is_sandbox: {
@@ -3594,7 +3594,12 @@ export default {
3594
3594
  },
3595
3595
  workspace: {
3596
3596
  properties: {
3597
- connect_partner_name: { nullable: true, type: 'string' },
3597
+ company_name: { type: 'string' },
3598
+ connect_partner_name: {
3599
+ description: '\n ---\n deprecated: use company_name\n ---\n ',
3600
+ nullable: true,
3601
+ type: 'string',
3602
+ },
3598
3603
  is_sandbox: { type: 'boolean' },
3599
3604
  name: { type: 'string' },
3600
3605
  workspace_id: { format: 'uuid', type: 'string' },
@@ -3602,6 +3607,7 @@ export default {
3602
3607
  required: [
3603
3608
  'workspace_id',
3604
3609
  'name',
3610
+ 'company_name',
3605
3611
  'is_sandbox',
3606
3612
  'connect_partner_name',
3607
3613
  ],
@@ -7777,6 +7783,7 @@ export default {
7777
7783
  401: { description: 'Unauthorized' },
7778
7784
  },
7779
7785
  security: [
7786
+ { client_session: [] },
7780
7787
  { api_key: [] },
7781
7788
  { pat_with_workspace: [] },
7782
7789
  { console_session: [] },
@@ -12559,8 +12566,10 @@ export default {
12559
12566
  'application/json': {
12560
12567
  schema: {
12561
12568
  properties: {
12569
+ company_name: { type: 'string' },
12562
12570
  connect_partner_name: {
12563
- description: 'The name shown inside the connect webview',
12571
+ description: '\n ---\n deprecated: use company_name\n ---\n ',
12572
+ nullable: true,
12564
12573
  type: 'string',
12565
12574
  },
12566
12575
  is_sandbox: { default: false, type: 'boolean' },
@@ -12571,7 +12580,7 @@ export default {
12571
12580
  },
12572
12581
  webview_primary_button_color: { type: 'string' },
12573
12582
  },
12574
- required: ['name', 'connect_partner_name'],
12583
+ required: ['name'],
12575
12584
  type: 'object',
12576
12585
  },
12577
12586
  },
@@ -12616,7 +12625,7 @@ export default {
12616
12625
  ok: { type: 'boolean' },
12617
12626
  workspace: { $ref: '#/components/schemas/workspace' },
12618
12627
  },
12619
- required: ['ok'],
12628
+ required: ['workspace', 'ok'],
12620
12629
  type: 'object',
12621
12630
  },
12622
12631
  },
@@ -12647,7 +12656,7 @@ export default {
12647
12656
  ok: { type: 'boolean' },
12648
12657
  workspace: { $ref: '#/components/schemas/workspace' },
12649
12658
  },
12650
- required: ['ok'],
12659
+ required: ['workspace', 'ok'],
12651
12660
  type: 'object',
12652
12661
  },
12653
12662
  },