@seamapi/types 1.235.0 → 1.235.1
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 +93 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +117 -5
- package/lib/seam/connect/models/acs/acs-user.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-user.js +1 -1
- package/lib/seam/connect/openapi.d.ts +113 -1
- package/lib/seam/connect/openapi.js +91 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1 -1
- 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/models/acs/acs-user.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +91 -3
- package/src/lib/seam/connect/route-types.ts +1 -1
- package/src/lib/seam/connect/schemas.ts +1 -1
package/dist/connect.d.cts
CHANGED
|
@@ -1045,7 +1045,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
1045
1045
|
user_identity_email_address?: string | null | undefined;
|
|
1046
1046
|
user_identity_phone_number?: string | null | undefined;
|
|
1047
1047
|
}>;
|
|
1048
|
-
declare const
|
|
1048
|
+
declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1049
1049
|
acs_user_id: z.ZodString;
|
|
1050
1050
|
acs_system_id: z.ZodString;
|
|
1051
1051
|
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
@@ -8478,7 +8478,6 @@ declare const schemas_acs_access_group: typeof acs_access_group;
|
|
|
8478
8478
|
declare const schemas_acs_credential: typeof acs_credential;
|
|
8479
8479
|
declare const schemas_acs_entrance: typeof acs_entrance;
|
|
8480
8480
|
declare const schemas_acs_system: typeof acs_system;
|
|
8481
|
-
declare const schemas_acs_unmanaged_user: typeof acs_unmanaged_user;
|
|
8482
8481
|
declare const schemas_acs_user: typeof acs_user;
|
|
8483
8482
|
declare const schemas_action_attempt: typeof action_attempt;
|
|
8484
8483
|
declare const schemas_client_session: typeof client_session;
|
|
@@ -8493,12 +8492,13 @@ declare const schemas_seam_event: typeof seam_event;
|
|
|
8493
8492
|
declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
|
|
8494
8493
|
declare const schemas_unmanaged_acs_access_group: typeof unmanaged_acs_access_group;
|
|
8495
8494
|
declare const schemas_unmanaged_acs_credential: typeof unmanaged_acs_credential;
|
|
8495
|
+
declare const schemas_unmanaged_acs_user: typeof unmanaged_acs_user;
|
|
8496
8496
|
declare const schemas_unmanaged_device: typeof unmanaged_device;
|
|
8497
8497
|
declare const schemas_user_identity: typeof user_identity;
|
|
8498
8498
|
declare const schemas_webhook: typeof webhook;
|
|
8499
8499
|
declare const schemas_workspace: typeof workspace;
|
|
8500
8500
|
declare namespace schemas {
|
|
8501
|
-
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system,
|
|
8501
|
+
export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_climate_setting_schedule as climate_setting_schedule, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_noise_threshold as noise_threshold, schemas_seam_event as seam_event, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
|
|
8502
8502
|
}
|
|
8503
8503
|
|
|
8504
8504
|
declare const _default: {
|
|
@@ -17316,7 +17316,119 @@ declare const _default: {
|
|
|
17316
17316
|
schema: {
|
|
17317
17317
|
properties: {
|
|
17318
17318
|
acs_user: {
|
|
17319
|
-
|
|
17319
|
+
properties: {
|
|
17320
|
+
access_schedule: {
|
|
17321
|
+
properties: {
|
|
17322
|
+
ends_at: {
|
|
17323
|
+
format: string;
|
|
17324
|
+
type: string;
|
|
17325
|
+
};
|
|
17326
|
+
starts_at: {
|
|
17327
|
+
format: string;
|
|
17328
|
+
type: string;
|
|
17329
|
+
};
|
|
17330
|
+
};
|
|
17331
|
+
required: string[];
|
|
17332
|
+
type: string;
|
|
17333
|
+
};
|
|
17334
|
+
acs_system_id: {
|
|
17335
|
+
format: string;
|
|
17336
|
+
type: string;
|
|
17337
|
+
};
|
|
17338
|
+
acs_user_id: {
|
|
17339
|
+
format: string;
|
|
17340
|
+
type: string;
|
|
17341
|
+
};
|
|
17342
|
+
created_at: {
|
|
17343
|
+
format: string;
|
|
17344
|
+
type: string;
|
|
17345
|
+
};
|
|
17346
|
+
display_name: {
|
|
17347
|
+
type: string;
|
|
17348
|
+
};
|
|
17349
|
+
email: {
|
|
17350
|
+
deprecated: boolean;
|
|
17351
|
+
format: string;
|
|
17352
|
+
type: string;
|
|
17353
|
+
'x-deprecated': string;
|
|
17354
|
+
};
|
|
17355
|
+
email_address: {
|
|
17356
|
+
format: string;
|
|
17357
|
+
type: string;
|
|
17358
|
+
};
|
|
17359
|
+
external_type: {
|
|
17360
|
+
enum: string[];
|
|
17361
|
+
type: string;
|
|
17362
|
+
};
|
|
17363
|
+
external_type_display_name: {
|
|
17364
|
+
type: string;
|
|
17365
|
+
};
|
|
17366
|
+
full_name: {
|
|
17367
|
+
type: string;
|
|
17368
|
+
};
|
|
17369
|
+
hid_acs_system_id: {
|
|
17370
|
+
format: string;
|
|
17371
|
+
type: string;
|
|
17372
|
+
};
|
|
17373
|
+
is_latest_desired_state_synced_with_provider: {
|
|
17374
|
+
type: string;
|
|
17375
|
+
};
|
|
17376
|
+
is_managed: {
|
|
17377
|
+
enum: boolean[];
|
|
17378
|
+
type: string;
|
|
17379
|
+
};
|
|
17380
|
+
is_suspended: {
|
|
17381
|
+
type: string;
|
|
17382
|
+
};
|
|
17383
|
+
latest_desired_state_synced_with_provider_at: {
|
|
17384
|
+
format: string;
|
|
17385
|
+
type: string;
|
|
17386
|
+
};
|
|
17387
|
+
phone_number: {
|
|
17388
|
+
type: string;
|
|
17389
|
+
};
|
|
17390
|
+
user_identity_email_address: {
|
|
17391
|
+
nullable: boolean;
|
|
17392
|
+
type: string;
|
|
17393
|
+
};
|
|
17394
|
+
user_identity_full_name: {
|
|
17395
|
+
nullable: boolean;
|
|
17396
|
+
type: string;
|
|
17397
|
+
};
|
|
17398
|
+
user_identity_id: {
|
|
17399
|
+
type: string;
|
|
17400
|
+
};
|
|
17401
|
+
user_identity_phone_number: {
|
|
17402
|
+
nullable: boolean;
|
|
17403
|
+
type: string;
|
|
17404
|
+
};
|
|
17405
|
+
warnings: {
|
|
17406
|
+
items: {
|
|
17407
|
+
properties: {
|
|
17408
|
+
created_at: {
|
|
17409
|
+
format: string;
|
|
17410
|
+
type: string;
|
|
17411
|
+
};
|
|
17412
|
+
message: {
|
|
17413
|
+
type: string;
|
|
17414
|
+
};
|
|
17415
|
+
warning_code: {
|
|
17416
|
+
enum: string[];
|
|
17417
|
+
type: string;
|
|
17418
|
+
};
|
|
17419
|
+
};
|
|
17420
|
+
required: string[];
|
|
17421
|
+
type: string;
|
|
17422
|
+
};
|
|
17423
|
+
type: string;
|
|
17424
|
+
};
|
|
17425
|
+
workspace_id: {
|
|
17426
|
+
format: string;
|
|
17427
|
+
type: string;
|
|
17428
|
+
};
|
|
17429
|
+
};
|
|
17430
|
+
required: string[];
|
|
17431
|
+
type: string;
|
|
17320
17432
|
};
|
|
17321
17433
|
ok: {
|
|
17322
17434
|
type: string;
|
|
@@ -29523,7 +29635,7 @@ interface Routes {
|
|
|
29523
29635
|
email?: string | undefined;
|
|
29524
29636
|
email_address?: string | undefined;
|
|
29525
29637
|
phone_number?: string | undefined;
|
|
29526
|
-
is_managed:
|
|
29638
|
+
is_managed: false;
|
|
29527
29639
|
};
|
|
29528
29640
|
};
|
|
29529
29641
|
};
|
|
@@ -152,7 +152,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
152
152
|
user_identity_email_address?: string | null | undefined;
|
|
153
153
|
user_identity_phone_number?: string | null | undefined;
|
|
154
154
|
}>;
|
|
155
|
-
export declare const
|
|
155
|
+
export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
156
156
|
acs_user_id: z.ZodString;
|
|
157
157
|
acs_system_id: z.ZodString;
|
|
158
158
|
hid_acs_system_id: z.ZodOptional<z.ZodString>;
|
|
@@ -261,4 +261,4 @@ export declare const acs_unmanaged_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
261
261
|
user_identity_phone_number?: string | null | undefined;
|
|
262
262
|
}>;
|
|
263
263
|
export type AcsUser = z.output<typeof acs_user>;
|
|
264
|
-
export type AcsUnmanagedUser = z.output<typeof
|
|
264
|
+
export type AcsUnmanagedUser = z.output<typeof unmanaged_acs_user>;
|
|
@@ -59,7 +59,7 @@ const common_acs_user = z
|
|
|
59
59
|
export const acs_user = common_acs_user.merge(z.object({
|
|
60
60
|
is_managed: z.literal(true),
|
|
61
61
|
}));
|
|
62
|
-
export const
|
|
62
|
+
export const unmanaged_acs_user = common_acs_user.merge(z.object({
|
|
63
63
|
is_managed: z.literal(false),
|
|
64
64
|
}));
|
|
65
65
|
//# sourceMappingURL=acs-user.js.map
|
|
@@ -8813,7 +8813,119 @@ declare const _default: {
|
|
|
8813
8813
|
schema: {
|
|
8814
8814
|
properties: {
|
|
8815
8815
|
acs_user: {
|
|
8816
|
-
|
|
8816
|
+
properties: {
|
|
8817
|
+
access_schedule: {
|
|
8818
|
+
properties: {
|
|
8819
|
+
ends_at: {
|
|
8820
|
+
format: string;
|
|
8821
|
+
type: string;
|
|
8822
|
+
};
|
|
8823
|
+
starts_at: {
|
|
8824
|
+
format: string;
|
|
8825
|
+
type: string;
|
|
8826
|
+
};
|
|
8827
|
+
};
|
|
8828
|
+
required: string[];
|
|
8829
|
+
type: string;
|
|
8830
|
+
};
|
|
8831
|
+
acs_system_id: {
|
|
8832
|
+
format: string;
|
|
8833
|
+
type: string;
|
|
8834
|
+
};
|
|
8835
|
+
acs_user_id: {
|
|
8836
|
+
format: string;
|
|
8837
|
+
type: string;
|
|
8838
|
+
};
|
|
8839
|
+
created_at: {
|
|
8840
|
+
format: string;
|
|
8841
|
+
type: string;
|
|
8842
|
+
};
|
|
8843
|
+
display_name: {
|
|
8844
|
+
type: string;
|
|
8845
|
+
};
|
|
8846
|
+
email: {
|
|
8847
|
+
deprecated: boolean;
|
|
8848
|
+
format: string;
|
|
8849
|
+
type: string;
|
|
8850
|
+
'x-deprecated': string;
|
|
8851
|
+
};
|
|
8852
|
+
email_address: {
|
|
8853
|
+
format: string;
|
|
8854
|
+
type: string;
|
|
8855
|
+
};
|
|
8856
|
+
external_type: {
|
|
8857
|
+
enum: string[];
|
|
8858
|
+
type: string;
|
|
8859
|
+
};
|
|
8860
|
+
external_type_display_name: {
|
|
8861
|
+
type: string;
|
|
8862
|
+
};
|
|
8863
|
+
full_name: {
|
|
8864
|
+
type: string;
|
|
8865
|
+
};
|
|
8866
|
+
hid_acs_system_id: {
|
|
8867
|
+
format: string;
|
|
8868
|
+
type: string;
|
|
8869
|
+
};
|
|
8870
|
+
is_latest_desired_state_synced_with_provider: {
|
|
8871
|
+
type: string;
|
|
8872
|
+
};
|
|
8873
|
+
is_managed: {
|
|
8874
|
+
enum: boolean[];
|
|
8875
|
+
type: string;
|
|
8876
|
+
};
|
|
8877
|
+
is_suspended: {
|
|
8878
|
+
type: string;
|
|
8879
|
+
};
|
|
8880
|
+
latest_desired_state_synced_with_provider_at: {
|
|
8881
|
+
format: string;
|
|
8882
|
+
type: string;
|
|
8883
|
+
};
|
|
8884
|
+
phone_number: {
|
|
8885
|
+
type: string;
|
|
8886
|
+
};
|
|
8887
|
+
user_identity_email_address: {
|
|
8888
|
+
nullable: boolean;
|
|
8889
|
+
type: string;
|
|
8890
|
+
};
|
|
8891
|
+
user_identity_full_name: {
|
|
8892
|
+
nullable: boolean;
|
|
8893
|
+
type: string;
|
|
8894
|
+
};
|
|
8895
|
+
user_identity_id: {
|
|
8896
|
+
type: string;
|
|
8897
|
+
};
|
|
8898
|
+
user_identity_phone_number: {
|
|
8899
|
+
nullable: boolean;
|
|
8900
|
+
type: string;
|
|
8901
|
+
};
|
|
8902
|
+
warnings: {
|
|
8903
|
+
items: {
|
|
8904
|
+
properties: {
|
|
8905
|
+
created_at: {
|
|
8906
|
+
format: string;
|
|
8907
|
+
type: string;
|
|
8908
|
+
};
|
|
8909
|
+
message: {
|
|
8910
|
+
type: string;
|
|
8911
|
+
};
|
|
8912
|
+
warning_code: {
|
|
8913
|
+
enum: string[];
|
|
8914
|
+
type: string;
|
|
8915
|
+
};
|
|
8916
|
+
};
|
|
8917
|
+
required: string[];
|
|
8918
|
+
type: string;
|
|
8919
|
+
};
|
|
8920
|
+
type: string;
|
|
8921
|
+
};
|
|
8922
|
+
workspace_id: {
|
|
8923
|
+
format: string;
|
|
8924
|
+
type: string;
|
|
8925
|
+
};
|
|
8926
|
+
};
|
|
8927
|
+
required: string[];
|
|
8928
|
+
type: string;
|
|
8817
8929
|
};
|
|
8818
8930
|
ok: {
|
|
8819
8931
|
type: string;
|
|
@@ -5473,7 +5473,7 @@ export default {
|
|
|
5473
5473
|
tags: ['/acs'],
|
|
5474
5474
|
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5475
5475
|
'x-fern-sdk-method-name': 'get',
|
|
5476
|
-
'x-fern-sdk-return-value': '
|
|
5476
|
+
'x-fern-sdk-return-value': 'acs_access_group',
|
|
5477
5477
|
},
|
|
5478
5478
|
},
|
|
5479
5479
|
'/acs/access_groups/unmanaged/list': {
|
|
@@ -5576,7 +5576,7 @@ export default {
|
|
|
5576
5576
|
tags: ['/acs'],
|
|
5577
5577
|
'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
|
|
5578
5578
|
'x-fern-sdk-method-name': 'list',
|
|
5579
|
-
'x-fern-sdk-return-value': '
|
|
5579
|
+
'x-fern-sdk-return-value': 'acs_access_groups',
|
|
5580
5580
|
},
|
|
5581
5581
|
},
|
|
5582
5582
|
'/acs/credential_pools/list': {
|
|
@@ -7497,7 +7497,95 @@ export default {
|
|
|
7497
7497
|
'application/json': {
|
|
7498
7498
|
schema: {
|
|
7499
7499
|
properties: {
|
|
7500
|
-
acs_user: {
|
|
7500
|
+
acs_user: {
|
|
7501
|
+
properties: {
|
|
7502
|
+
access_schedule: {
|
|
7503
|
+
properties: {
|
|
7504
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
7505
|
+
starts_at: { format: 'date-time', type: 'string' },
|
|
7506
|
+
},
|
|
7507
|
+
required: ['starts_at', 'ends_at'],
|
|
7508
|
+
type: 'object',
|
|
7509
|
+
},
|
|
7510
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7511
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
7512
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
7513
|
+
display_name: { type: 'string' },
|
|
7514
|
+
email: {
|
|
7515
|
+
deprecated: true,
|
|
7516
|
+
format: 'email',
|
|
7517
|
+
type: 'string',
|
|
7518
|
+
'x-deprecated': 'use email_address.',
|
|
7519
|
+
},
|
|
7520
|
+
email_address: { format: 'email', type: 'string' },
|
|
7521
|
+
external_type: {
|
|
7522
|
+
enum: [
|
|
7523
|
+
'pti_user',
|
|
7524
|
+
'brivo_user',
|
|
7525
|
+
'hid_credential_manager_user',
|
|
7526
|
+
'salto_site_user',
|
|
7527
|
+
'latch_user',
|
|
7528
|
+
],
|
|
7529
|
+
type: 'string',
|
|
7530
|
+
},
|
|
7531
|
+
external_type_display_name: { type: 'string' },
|
|
7532
|
+
full_name: { type: 'string' },
|
|
7533
|
+
hid_acs_system_id: { format: 'uuid', type: 'string' },
|
|
7534
|
+
is_latest_desired_state_synced_with_provider: {
|
|
7535
|
+
type: 'boolean',
|
|
7536
|
+
},
|
|
7537
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
7538
|
+
is_suspended: { type: 'boolean' },
|
|
7539
|
+
latest_desired_state_synced_with_provider_at: {
|
|
7540
|
+
format: 'date-time',
|
|
7541
|
+
type: 'string',
|
|
7542
|
+
},
|
|
7543
|
+
phone_number: { type: 'string' },
|
|
7544
|
+
user_identity_email_address: {
|
|
7545
|
+
nullable: true,
|
|
7546
|
+
type: 'string',
|
|
7547
|
+
},
|
|
7548
|
+
user_identity_full_name: {
|
|
7549
|
+
nullable: true,
|
|
7550
|
+
type: 'string',
|
|
7551
|
+
},
|
|
7552
|
+
user_identity_id: { type: 'string' },
|
|
7553
|
+
user_identity_phone_number: {
|
|
7554
|
+
nullable: true,
|
|
7555
|
+
type: 'string',
|
|
7556
|
+
},
|
|
7557
|
+
warnings: {
|
|
7558
|
+
items: {
|
|
7559
|
+
properties: {
|
|
7560
|
+
created_at: {
|
|
7561
|
+
format: 'date-time',
|
|
7562
|
+
type: 'string',
|
|
7563
|
+
},
|
|
7564
|
+
message: { type: 'string' },
|
|
7565
|
+
warning_code: {
|
|
7566
|
+
enum: ['being_deleted'],
|
|
7567
|
+
type: 'string',
|
|
7568
|
+
},
|
|
7569
|
+
},
|
|
7570
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
7571
|
+
type: 'object',
|
|
7572
|
+
},
|
|
7573
|
+
type: 'array',
|
|
7574
|
+
},
|
|
7575
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
7576
|
+
},
|
|
7577
|
+
required: [
|
|
7578
|
+
'acs_user_id',
|
|
7579
|
+
'acs_system_id',
|
|
7580
|
+
'workspace_id',
|
|
7581
|
+
'created_at',
|
|
7582
|
+
'display_name',
|
|
7583
|
+
'is_suspended',
|
|
7584
|
+
'warnings',
|
|
7585
|
+
'is_managed',
|
|
7586
|
+
],
|
|
7587
|
+
type: 'object',
|
|
7588
|
+
},
|
|
7501
7589
|
ok: { type: 'boolean' },
|
|
7502
7590
|
},
|
|
7503
7591
|
required: ['acs_user', 'ok'],
|