@seamapi/types 1.230.0 → 1.232.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.
@@ -2327,7 +2327,7 @@ export interface Routes {
2327
2327
  display_name: string;
2328
2328
  code?: (string | undefined) | null;
2329
2329
  access_method: 'code' | 'card' | 'mobile_key';
2330
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2330
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2331
2331
  external_type_display_name?: string | undefined;
2332
2332
  created_at: string;
2333
2333
  workspace_id: string;
@@ -2389,7 +2389,7 @@ export interface Routes {
2389
2389
  display_name: string;
2390
2390
  code?: (string | undefined) | null;
2391
2391
  access_method: 'code' | 'card' | 'mobile_key';
2392
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2392
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2393
2393
  external_type_display_name?: string | undefined;
2394
2394
  created_at: string;
2395
2395
  workspace_id: string;
@@ -2445,7 +2445,7 @@ export interface Routes {
2445
2445
  display_name: string;
2446
2446
  code?: (string | undefined) | null;
2447
2447
  access_method: 'code' | 'card' | 'mobile_key';
2448
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2448
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2449
2449
  external_type_display_name?: string | undefined;
2450
2450
  created_at: string;
2451
2451
  workspace_id: string;
@@ -2501,7 +2501,7 @@ export interface Routes {
2501
2501
  display_name: string;
2502
2502
  code?: (string | undefined) | null;
2503
2503
  access_method: 'code' | 'card' | 'mobile_key';
2504
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2504
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2505
2505
  external_type_display_name?: string | undefined;
2506
2506
  created_at: string;
2507
2507
  workspace_id: string;
@@ -2583,7 +2583,7 @@ export interface Routes {
2583
2583
  display_name: string;
2584
2584
  code?: (string | undefined) | null;
2585
2585
  access_method: 'code' | 'card' | 'mobile_key';
2586
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2586
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2587
2587
  external_type_display_name?: string | undefined;
2588
2588
  created_at: string;
2589
2589
  workspace_id: string;
@@ -2630,7 +2630,7 @@ export interface Routes {
2630
2630
  display_name: string;
2631
2631
  code?: (string | undefined) | null;
2632
2632
  access_method: 'code' | 'card' | 'mobile_key';
2633
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2633
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2634
2634
  external_type_display_name?: string | undefined;
2635
2635
  created_at: string;
2636
2636
  workspace_id: string;
@@ -2761,7 +2761,7 @@ export interface Routes {
2761
2761
  display_name: string;
2762
2762
  code?: (string | undefined) | null;
2763
2763
  access_method: 'code' | 'card' | 'mobile_key';
2764
- external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card') | undefined;
2764
+ external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
2765
2765
  external_type_display_name?: string | undefined;
2766
2766
  created_at: string;
2767
2767
  workspace_id: string;
@@ -3326,6 +3326,50 @@ export interface Routes {
3326
3326
  };
3327
3327
  };
3328
3328
  };
3329
+ '/acs/users/unmanaged/list': {
3330
+ route: '/acs/users/unmanaged/list';
3331
+ method: 'GET' | 'POST';
3332
+ queryParams: {};
3333
+ jsonBody: {};
3334
+ commonParams: {
3335
+ acs_system_id: string;
3336
+ };
3337
+ formData: {};
3338
+ jsonResponse: {
3339
+ acs_users: Array<{
3340
+ acs_user_id: string;
3341
+ acs_system_id: string;
3342
+ hid_acs_system_id?: string | undefined;
3343
+ workspace_id: string;
3344
+ created_at: string;
3345
+ display_name: string;
3346
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_credential_manager_user' | 'salto_site_user' | 'latch_user') | undefined;
3347
+ external_type_display_name?: string | undefined;
3348
+ is_suspended: boolean;
3349
+ access_schedule?: {
3350
+ starts_at: string;
3351
+ ends_at: string;
3352
+ } | undefined;
3353
+ user_identity_id?: string | undefined;
3354
+ user_identity_full_name?: (string | null) | undefined;
3355
+ user_identity_email_address?: (string | null) | undefined;
3356
+ user_identity_phone_number?: (string | null) | undefined;
3357
+ latest_desired_state_synced_with_provider_at?: string | undefined;
3358
+ is_latest_desired_state_synced_with_provider?: boolean | undefined;
3359
+ warnings: Array<{
3360
+ created_at: string;
3361
+ message: string;
3362
+ warning_code: 'being_deleted';
3363
+ }>;
3364
+ full_name?: string | undefined;
3365
+ /**
3366
+ * @deprecated use email_address. */
3367
+ email?: string | undefined;
3368
+ email_address?: string | undefined;
3369
+ phone_number?: string | undefined;
3370
+ }>;
3371
+ };
3372
+ };
3329
3373
  '/acs/users/unsuspend': {
3330
3374
  route: '/acs/users/unsuspend';
3331
3375
  method: 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.230.0",
3
+ "version": "1.232.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.21.4"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.13.0",
95
+ "@seamapi/blueprint": "^0.14.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -8,6 +8,7 @@ export const acs_credential_external_type = z.enum([
8
8
  'brivo_credential',
9
9
  'hid_credential',
10
10
  'visionline_card',
11
+ 'salto_ks_credential',
11
12
  ])
12
13
 
13
14
  export const acs_credential_access_method_type = z.enum([
@@ -265,6 +265,7 @@ export default {
265
265
  'brivo_credential',
266
266
  'hid_credential',
267
267
  'visionline_card',
268
+ 'salto_ks_credential',
268
269
  ],
269
270
  type: 'string',
270
271
  },
@@ -7075,6 +7076,57 @@ export default {
7075
7076
  'x-fern-sdk-return-value': 'acs_user',
7076
7077
  },
7077
7078
  },
7079
+ '/acs/users/unmanaged/list': {
7080
+ post: {
7081
+ operationId: 'acsUsersUnmanagedListPost',
7082
+ requestBody: {
7083
+ content: {
7084
+ 'application/json': {
7085
+ schema: {
7086
+ properties: {
7087
+ acs_system_id: { format: 'uuid', type: 'string' },
7088
+ },
7089
+ required: ['acs_system_id'],
7090
+ type: 'object',
7091
+ },
7092
+ },
7093
+ },
7094
+ },
7095
+ responses: {
7096
+ 200: {
7097
+ content: {
7098
+ 'application/json': {
7099
+ schema: {
7100
+ properties: {
7101
+ acs_users: {
7102
+ items: { $ref: '#/components/schemas/acs_user' },
7103
+ type: 'array',
7104
+ },
7105
+ ok: { type: 'boolean' },
7106
+ },
7107
+ required: ['acs_users', 'ok'],
7108
+ type: 'object',
7109
+ },
7110
+ },
7111
+ },
7112
+ description: 'OK',
7113
+ },
7114
+ 400: { description: 'Bad Request' },
7115
+ 401: { description: 'Unauthorized' },
7116
+ },
7117
+ security: [
7118
+ { client_session: [] },
7119
+ { pat_with_workspace: [] },
7120
+ { console_session: [] },
7121
+ { api_key: [] },
7122
+ ],
7123
+ summary: '/acs/users/unmanaged/list',
7124
+ tags: ['/acs'],
7125
+ 'x-fern-sdk-group-name': ['acs', 'users', 'unmanaged'],
7126
+ 'x-fern-sdk-method-name': 'list',
7127
+ 'x-fern-sdk-return-value': 'acs_users',
7128
+ },
7129
+ },
7078
7130
  '/acs/users/unsuspend': {
7079
7131
  post: {
7080
7132
  operationId: 'acsUsersUnsuspendPost',
@@ -2582,6 +2582,7 @@ export interface Routes {
2582
2582
  | 'brivo_credential'
2583
2583
  | 'hid_credential'
2584
2584
  | 'visionline_card'
2585
+ | 'salto_ks_credential'
2585
2586
  )
2586
2587
  | undefined
2587
2588
  external_type_display_name?: string | undefined
@@ -2657,6 +2658,7 @@ export interface Routes {
2657
2658
  | 'brivo_credential'
2658
2659
  | 'hid_credential'
2659
2660
  | 'visionline_card'
2661
+ | 'salto_ks_credential'
2660
2662
  )
2661
2663
  | undefined
2662
2664
  external_type_display_name?: string | undefined
@@ -2722,6 +2724,7 @@ export interface Routes {
2722
2724
  | 'brivo_credential'
2723
2725
  | 'hid_credential'
2724
2726
  | 'visionline_card'
2727
+ | 'salto_ks_credential'
2725
2728
  )
2726
2729
  | undefined
2727
2730
  external_type_display_name?: string | undefined
@@ -2792,6 +2795,7 @@ export interface Routes {
2792
2795
  | 'brivo_credential'
2793
2796
  | 'hid_credential'
2794
2797
  | 'visionline_card'
2798
+ | 'salto_ks_credential'
2795
2799
  )
2796
2800
  | undefined
2797
2801
  external_type_display_name?: string | undefined
@@ -2894,6 +2898,7 @@ export interface Routes {
2894
2898
  | 'brivo_credential'
2895
2899
  | 'hid_credential'
2896
2900
  | 'visionline_card'
2901
+ | 'salto_ks_credential'
2897
2902
  )
2898
2903
  | undefined
2899
2904
  external_type_display_name?: string | undefined
@@ -2950,6 +2955,7 @@ export interface Routes {
2950
2955
  | 'brivo_credential'
2951
2956
  | 'hid_credential'
2952
2957
  | 'visionline_card'
2958
+ | 'salto_ks_credential'
2953
2959
  )
2954
2960
  | undefined
2955
2961
  external_type_display_name?: string | undefined
@@ -3112,6 +3118,7 @@ export interface Routes {
3112
3118
  | 'brivo_credential'
3113
3119
  | 'hid_credential'
3114
3120
  | 'visionline_card'
3121
+ | 'salto_ks_credential'
3115
3122
  )
3116
3123
  | undefined
3117
3124
  external_type_display_name?: string | undefined
@@ -3817,6 +3824,60 @@ export interface Routes {
3817
3824
  }
3818
3825
  }
3819
3826
  }
3827
+ '/acs/users/unmanaged/list': {
3828
+ route: '/acs/users/unmanaged/list'
3829
+ method: 'GET' | 'POST'
3830
+ queryParams: {}
3831
+ jsonBody: {}
3832
+ commonParams: {
3833
+ acs_system_id: string
3834
+ }
3835
+ formData: {}
3836
+ jsonResponse: {
3837
+ acs_users: Array<{
3838
+ acs_user_id: string
3839
+ acs_system_id: string
3840
+ hid_acs_system_id?: string | undefined
3841
+ workspace_id: string
3842
+ created_at: string
3843
+ display_name: string
3844
+ external_type?:
3845
+ | (
3846
+ | 'pti_user'
3847
+ | 'brivo_user'
3848
+ | 'hid_credential_manager_user'
3849
+ | 'salto_site_user'
3850
+ | 'latch_user'
3851
+ )
3852
+ | undefined
3853
+ external_type_display_name?: string | undefined
3854
+ is_suspended: boolean
3855
+ access_schedule?:
3856
+ | {
3857
+ starts_at: string
3858
+ ends_at: string
3859
+ }
3860
+ | undefined
3861
+ user_identity_id?: string | undefined
3862
+ user_identity_full_name?: (string | null) | undefined
3863
+ user_identity_email_address?: (string | null) | undefined
3864
+ user_identity_phone_number?: (string | null) | undefined
3865
+ latest_desired_state_synced_with_provider_at?: string | undefined
3866
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
3867
+ warnings: Array<{
3868
+ created_at: string
3869
+ message: string
3870
+ warning_code: 'being_deleted'
3871
+ }>
3872
+ full_name?: string | undefined
3873
+ /**
3874
+ * @deprecated use email_address. */
3875
+ email?: string | undefined
3876
+ email_address?: string | undefined
3877
+ phone_number?: string | undefined
3878
+ }>
3879
+ }
3880
+ }
3820
3881
  '/acs/users/unsuspend': {
3821
3882
  route: '/acs/users/unsuspend'
3822
3883
  method: 'POST'