@seamapi/types 1.967.0 → 1.969.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 +77 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +167 -0
- package/dist/index.cjs +77 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +119 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +11 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +8 -0
- package/lib/seam/connect/models/acs/metadata/salto.js +9 -0
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/openapi.js +60 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +99 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +16 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +70 -0
- package/src/lib/seam/connect/route-types.ts +126 -0
package/dist/connect.d.cts
CHANGED
|
@@ -6244,6 +6244,19 @@ declare const acs_user: z.ZodObject<{
|
|
|
6244
6244
|
}>, z.ZodObject<{
|
|
6245
6245
|
created_at: z.ZodString;
|
|
6246
6246
|
message: z.ZodString;
|
|
6247
|
+
} & {
|
|
6248
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
6249
|
+
}, "strip", z.ZodTypeAny, {
|
|
6250
|
+
message: string;
|
|
6251
|
+
created_at: string;
|
|
6252
|
+
warning_code: "acs_user_inactive";
|
|
6253
|
+
}, {
|
|
6254
|
+
message: string;
|
|
6255
|
+
created_at: string;
|
|
6256
|
+
warning_code: "acs_user_inactive";
|
|
6257
|
+
}>, z.ZodObject<{
|
|
6258
|
+
created_at: z.ZodString;
|
|
6259
|
+
message: z.ZodString;
|
|
6247
6260
|
} & {
|
|
6248
6261
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_user">;
|
|
6249
6262
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6646,6 +6659,13 @@ declare const acs_user: z.ZodObject<{
|
|
|
6646
6659
|
user_id?: string | undefined;
|
|
6647
6660
|
audit_openings?: boolean | undefined;
|
|
6648
6661
|
}>>;
|
|
6662
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
6663
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
6664
|
+
}, "strip", z.ZodTypeAny, {
|
|
6665
|
+
is_subscribed?: boolean | undefined;
|
|
6666
|
+
}, {
|
|
6667
|
+
is_subscribed?: boolean | undefined;
|
|
6668
|
+
}>>;
|
|
6649
6669
|
} & {
|
|
6650
6670
|
full_name: z.ZodOptional<z.ZodString>;
|
|
6651
6671
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -6691,6 +6711,10 @@ declare const acs_user: z.ZodObject<{
|
|
|
6691
6711
|
message: string;
|
|
6692
6712
|
created_at: string;
|
|
6693
6713
|
warning_code: "salto_ks_user_not_subscribed";
|
|
6714
|
+
} | {
|
|
6715
|
+
message: string;
|
|
6716
|
+
created_at: string;
|
|
6717
|
+
warning_code: "acs_user_inactive";
|
|
6694
6718
|
} | {
|
|
6695
6719
|
message: string;
|
|
6696
6720
|
created_at: string;
|
|
@@ -6704,6 +6728,9 @@ declare const acs_user: z.ZodObject<{
|
|
|
6704
6728
|
acs_user_id: string;
|
|
6705
6729
|
acs_system_id: string;
|
|
6706
6730
|
last_successful_sync_at: string | null;
|
|
6731
|
+
salto_ks_metadata?: {
|
|
6732
|
+
is_subscribed?: boolean | undefined;
|
|
6733
|
+
} | undefined;
|
|
6707
6734
|
email?: string | undefined;
|
|
6708
6735
|
pending_mutations?: ({
|
|
6709
6736
|
message: string;
|
|
@@ -6838,6 +6865,10 @@ declare const acs_user: z.ZodObject<{
|
|
|
6838
6865
|
message: string;
|
|
6839
6866
|
created_at: string;
|
|
6840
6867
|
warning_code: "salto_ks_user_not_subscribed";
|
|
6868
|
+
} | {
|
|
6869
|
+
message: string;
|
|
6870
|
+
created_at: string;
|
|
6871
|
+
warning_code: "acs_user_inactive";
|
|
6841
6872
|
} | {
|
|
6842
6873
|
message: string;
|
|
6843
6874
|
created_at: string;
|
|
@@ -6851,6 +6882,9 @@ declare const acs_user: z.ZodObject<{
|
|
|
6851
6882
|
acs_user_id: string;
|
|
6852
6883
|
acs_system_id: string;
|
|
6853
6884
|
last_successful_sync_at: string | null;
|
|
6885
|
+
salto_ks_metadata?: {
|
|
6886
|
+
is_subscribed?: boolean | undefined;
|
|
6887
|
+
} | undefined;
|
|
6854
6888
|
email?: string | undefined;
|
|
6855
6889
|
pending_mutations?: ({
|
|
6856
6890
|
message: string;
|
|
@@ -7001,6 +7035,19 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7001
7035
|
}>, z.ZodObject<{
|
|
7002
7036
|
created_at: z.ZodString;
|
|
7003
7037
|
message: z.ZodString;
|
|
7038
|
+
} & {
|
|
7039
|
+
warning_code: z.ZodLiteral<"acs_user_inactive">;
|
|
7040
|
+
}, "strip", z.ZodTypeAny, {
|
|
7041
|
+
message: string;
|
|
7042
|
+
created_at: string;
|
|
7043
|
+
warning_code: "acs_user_inactive";
|
|
7044
|
+
}, {
|
|
7045
|
+
message: string;
|
|
7046
|
+
created_at: string;
|
|
7047
|
+
warning_code: "acs_user_inactive";
|
|
7048
|
+
}>, z.ZodObject<{
|
|
7049
|
+
created_at: z.ZodString;
|
|
7050
|
+
message: z.ZodString;
|
|
7004
7051
|
} & {
|
|
7005
7052
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_user">;
|
|
7006
7053
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7403,6 +7450,13 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7403
7450
|
user_id?: string | undefined;
|
|
7404
7451
|
audit_openings?: boolean | undefined;
|
|
7405
7452
|
}>>;
|
|
7453
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
7454
|
+
is_subscribed: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
7455
|
+
}, "strip", z.ZodTypeAny, {
|
|
7456
|
+
is_subscribed?: boolean | undefined;
|
|
7457
|
+
}, {
|
|
7458
|
+
is_subscribed?: boolean | undefined;
|
|
7459
|
+
}>>;
|
|
7406
7460
|
} & {
|
|
7407
7461
|
full_name: z.ZodOptional<z.ZodString>;
|
|
7408
7462
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -7448,6 +7502,10 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7448
7502
|
message: string;
|
|
7449
7503
|
created_at: string;
|
|
7450
7504
|
warning_code: "salto_ks_user_not_subscribed";
|
|
7505
|
+
} | {
|
|
7506
|
+
message: string;
|
|
7507
|
+
created_at: string;
|
|
7508
|
+
warning_code: "acs_user_inactive";
|
|
7451
7509
|
} | {
|
|
7452
7510
|
message: string;
|
|
7453
7511
|
created_at: string;
|
|
@@ -7461,6 +7519,9 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7461
7519
|
acs_user_id: string;
|
|
7462
7520
|
acs_system_id: string;
|
|
7463
7521
|
last_successful_sync_at: string | null;
|
|
7522
|
+
salto_ks_metadata?: {
|
|
7523
|
+
is_subscribed?: boolean | undefined;
|
|
7524
|
+
} | undefined;
|
|
7464
7525
|
email?: string | undefined;
|
|
7465
7526
|
pending_mutations?: ({
|
|
7466
7527
|
message: string;
|
|
@@ -7595,6 +7656,10 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7595
7656
|
message: string;
|
|
7596
7657
|
created_at: string;
|
|
7597
7658
|
warning_code: "salto_ks_user_not_subscribed";
|
|
7659
|
+
} | {
|
|
7660
|
+
message: string;
|
|
7661
|
+
created_at: string;
|
|
7662
|
+
warning_code: "acs_user_inactive";
|
|
7598
7663
|
} | {
|
|
7599
7664
|
message: string;
|
|
7600
7665
|
created_at: string;
|
|
@@ -7608,6 +7673,9 @@ declare const unmanaged_acs_user: z.ZodObject<{
|
|
|
7608
7673
|
acs_user_id: string;
|
|
7609
7674
|
acs_system_id: string;
|
|
7610
7675
|
last_successful_sync_at: string | null;
|
|
7676
|
+
salto_ks_metadata?: {
|
|
7677
|
+
is_subscribed?: boolean | undefined;
|
|
7678
|
+
} | undefined;
|
|
7611
7679
|
email?: string | undefined;
|
|
7612
7680
|
pending_mutations?: ({
|
|
7613
7681
|
message: string;
|
|
@@ -53415,6 +53483,12 @@ type Routes = {
|
|
|
53415
53483
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
53416
53484
|
message: string;
|
|
53417
53485
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
53486
|
+
} | {
|
|
53487
|
+
/** Date and time at which Seam created the warning. */
|
|
53488
|
+
created_at: string;
|
|
53489
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
53490
|
+
message: string;
|
|
53491
|
+
warning_code: 'acs_user_inactive';
|
|
53418
53492
|
} | {
|
|
53419
53493
|
/** Date and time at which Seam created the warning. */
|
|
53420
53494
|
created_at: string;
|
|
@@ -53610,6 +53684,11 @@ type Routes = {
|
|
|
53610
53684
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
53611
53685
|
audit_openings?: (boolean | undefined) | undefined;
|
|
53612
53686
|
} | undefined;
|
|
53687
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
53688
|
+
salto_ks_metadata?: {
|
|
53689
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
53690
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
53691
|
+
} | undefined;
|
|
53613
53692
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
53614
53693
|
full_name?: string | undefined;
|
|
53615
53694
|
/**
|
|
@@ -64009,6 +64088,12 @@ type Routes = {
|
|
|
64009
64088
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64010
64089
|
message: string;
|
|
64011
64090
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
64091
|
+
} | {
|
|
64092
|
+
/** Date and time at which Seam created the warning. */
|
|
64093
|
+
created_at: string;
|
|
64094
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64095
|
+
message: string;
|
|
64096
|
+
warning_code: 'acs_user_inactive';
|
|
64012
64097
|
} | {
|
|
64013
64098
|
/** Date and time at which Seam created the warning. */
|
|
64014
64099
|
created_at: string;
|
|
@@ -64204,6 +64289,11 @@ type Routes = {
|
|
|
64204
64289
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
64205
64290
|
audit_openings?: (boolean | undefined) | undefined;
|
|
64206
64291
|
} | undefined;
|
|
64292
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64293
|
+
salto_ks_metadata?: {
|
|
64294
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
64295
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
64296
|
+
} | undefined;
|
|
64207
64297
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64208
64298
|
full_name?: string | undefined;
|
|
64209
64299
|
/**
|
|
@@ -64303,6 +64393,12 @@ type Routes = {
|
|
|
64303
64393
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64304
64394
|
message: string;
|
|
64305
64395
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
64396
|
+
} | {
|
|
64397
|
+
/** Date and time at which Seam created the warning. */
|
|
64398
|
+
created_at: string;
|
|
64399
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64400
|
+
message: string;
|
|
64401
|
+
warning_code: 'acs_user_inactive';
|
|
64306
64402
|
} | {
|
|
64307
64403
|
/** Date and time at which Seam created the warning. */
|
|
64308
64404
|
created_at: string;
|
|
@@ -64498,6 +64594,11 @@ type Routes = {
|
|
|
64498
64594
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
64499
64595
|
audit_openings?: (boolean | undefined) | undefined;
|
|
64500
64596
|
} | undefined;
|
|
64597
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64598
|
+
salto_ks_metadata?: {
|
|
64599
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
64600
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
64601
|
+
} | undefined;
|
|
64501
64602
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64502
64603
|
full_name?: string | undefined;
|
|
64503
64604
|
/**
|
|
@@ -64585,6 +64686,12 @@ type Routes = {
|
|
|
64585
64686
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64586
64687
|
message: string;
|
|
64587
64688
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
64689
|
+
} | {
|
|
64690
|
+
/** Date and time at which Seam created the warning. */
|
|
64691
|
+
created_at: string;
|
|
64692
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64693
|
+
message: string;
|
|
64694
|
+
warning_code: 'acs_user_inactive';
|
|
64588
64695
|
} | {
|
|
64589
64696
|
/** Date and time at which Seam created the warning. */
|
|
64590
64697
|
created_at: string;
|
|
@@ -64780,6 +64887,11 @@ type Routes = {
|
|
|
64780
64887
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
64781
64888
|
audit_openings?: (boolean | undefined) | undefined;
|
|
64782
64889
|
} | undefined;
|
|
64890
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64891
|
+
salto_ks_metadata?: {
|
|
64892
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
64893
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
64894
|
+
} | undefined;
|
|
64783
64895
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
64784
64896
|
full_name?: string | undefined;
|
|
64785
64897
|
/**
|
|
@@ -65121,6 +65233,12 @@ type Routes = {
|
|
|
65121
65233
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
65122
65234
|
message: string;
|
|
65123
65235
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
65236
|
+
} | {
|
|
65237
|
+
/** Date and time at which Seam created the warning. */
|
|
65238
|
+
created_at: string;
|
|
65239
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
65240
|
+
message: string;
|
|
65241
|
+
warning_code: 'acs_user_inactive';
|
|
65124
65242
|
} | {
|
|
65125
65243
|
/** Date and time at which Seam created the warning. */
|
|
65126
65244
|
created_at: string;
|
|
@@ -65316,6 +65434,11 @@ type Routes = {
|
|
|
65316
65434
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
65317
65435
|
audit_openings?: (boolean | undefined) | undefined;
|
|
65318
65436
|
} | undefined;
|
|
65437
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65438
|
+
salto_ks_metadata?: {
|
|
65439
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
65440
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
65441
|
+
} | undefined;
|
|
65319
65442
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65320
65443
|
full_name?: string | undefined;
|
|
65321
65444
|
/**
|
|
@@ -65398,6 +65521,12 @@ type Routes = {
|
|
|
65398
65521
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
65399
65522
|
message: string;
|
|
65400
65523
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
65524
|
+
} | {
|
|
65525
|
+
/** Date and time at which Seam created the warning. */
|
|
65526
|
+
created_at: string;
|
|
65527
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
65528
|
+
message: string;
|
|
65529
|
+
warning_code: 'acs_user_inactive';
|
|
65401
65530
|
} | {
|
|
65402
65531
|
/** Date and time at which Seam created the warning. */
|
|
65403
65532
|
created_at: string;
|
|
@@ -65593,6 +65722,11 @@ type Routes = {
|
|
|
65593
65722
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
65594
65723
|
audit_openings?: (boolean | undefined) | undefined;
|
|
65595
65724
|
} | undefined;
|
|
65725
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65726
|
+
salto_ks_metadata?: {
|
|
65727
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
65728
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
65729
|
+
} | undefined;
|
|
65596
65730
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
65597
65731
|
full_name?: string | undefined;
|
|
65598
65732
|
/**
|
|
@@ -141103,6 +141237,12 @@ type Routes = {
|
|
|
141103
141237
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
141104
141238
|
message: string;
|
|
141105
141239
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
141240
|
+
} | {
|
|
141241
|
+
/** Date and time at which Seam created the warning. */
|
|
141242
|
+
created_at: string;
|
|
141243
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
141244
|
+
message: string;
|
|
141245
|
+
warning_code: 'acs_user_inactive';
|
|
141106
141246
|
} | {
|
|
141107
141247
|
/** Date and time at which Seam created the warning. */
|
|
141108
141248
|
created_at: string;
|
|
@@ -141298,6 +141438,11 @@ type Routes = {
|
|
|
141298
141438
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
141299
141439
|
audit_openings?: (boolean | undefined) | undefined;
|
|
141300
141440
|
} | undefined;
|
|
141441
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
141442
|
+
salto_ks_metadata?: {
|
|
141443
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
141444
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
141445
|
+
} | undefined;
|
|
141301
141446
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
141302
141447
|
full_name?: string | undefined;
|
|
141303
141448
|
/**
|
|
@@ -143776,6 +143921,12 @@ type Routes = {
|
|
|
143776
143921
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143777
143922
|
message: string;
|
|
143778
143923
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
143924
|
+
} | {
|
|
143925
|
+
/** Date and time at which Seam created the warning. */
|
|
143926
|
+
created_at: string;
|
|
143927
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
143928
|
+
message: string;
|
|
143929
|
+
warning_code: 'acs_user_inactive';
|
|
143779
143930
|
} | {
|
|
143780
143931
|
/** Date and time at which Seam created the warning. */
|
|
143781
143932
|
created_at: string;
|
|
@@ -143971,6 +144122,11 @@ type Routes = {
|
|
|
143971
144122
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
143972
144123
|
audit_openings?: (boolean | undefined) | undefined;
|
|
143973
144124
|
} | undefined;
|
|
144125
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
144126
|
+
salto_ks_metadata?: {
|
|
144127
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
144128
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
144129
|
+
} | undefined;
|
|
143974
144130
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
143975
144131
|
full_name?: string | undefined;
|
|
143976
144132
|
/**
|
|
@@ -145933,6 +146089,12 @@ type Routes = {
|
|
|
145933
146089
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
145934
146090
|
message: string;
|
|
145935
146091
|
warning_code: 'salto_ks_user_not_subscribed';
|
|
146092
|
+
} | {
|
|
146093
|
+
/** Date and time at which Seam created the warning. */
|
|
146094
|
+
created_at: string;
|
|
146095
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
146096
|
+
message: string;
|
|
146097
|
+
warning_code: 'acs_user_inactive';
|
|
145936
146098
|
} | {
|
|
145937
146099
|
/** Date and time at which Seam created the warning. */
|
|
145938
146100
|
created_at: string;
|
|
@@ -146128,6 +146290,11 @@ type Routes = {
|
|
|
146128
146290
|
/** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
|
|
146129
146291
|
audit_openings?: (boolean | undefined) | undefined;
|
|
146130
146292
|
} | undefined;
|
|
146293
|
+
/** Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
146294
|
+
salto_ks_metadata?: {
|
|
146295
|
+
/** Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked. */
|
|
146296
|
+
is_subscribed?: (boolean | undefined) | undefined;
|
|
146297
|
+
} | undefined;
|
|
146131
146298
|
/** Full name of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management). */
|
|
146132
146299
|
full_name?: string | undefined;
|
|
146133
146300
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -3619,6 +3619,13 @@ var acs_entrance_salto_ks_metadata = zod.z.object({
|
|
|
3619
3619
|
intrusion_alarm: zod.z.boolean().optional().describe("Indicates whether an intrusion alarm is active on the door."),
|
|
3620
3620
|
privacy_mode: zod.z.boolean().optional().describe("Indicates whether privacy mode is enabled for the lock.")
|
|
3621
3621
|
}).partial().describe("Salto KS-specific metadata associated with the entrance.");
|
|
3622
|
+
var acs_user_salto_ks_metadata = zod.z.object({
|
|
3623
|
+
is_subscribed: zod.z.boolean().optional().describe(
|
|
3624
|
+
"Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked."
|
|
3625
|
+
)
|
|
3626
|
+
}).partial().describe(
|
|
3627
|
+
"Salto KS-specific metadata associated with the access system user."
|
|
3628
|
+
);
|
|
3622
3629
|
var acs_entrance_salto_space_metadata = zod.z.object({
|
|
3623
3630
|
door_id: zod.z.string().optional().describe("Door ID in the Salto Space access system."),
|
|
3624
3631
|
door_name: zod.z.string().optional().describe("Name of the door in the Salto Space access system."),
|
|
@@ -4638,6 +4645,11 @@ var acs_users_salto_ks_user_not_subscribed = common_acs_user_warning.extend({
|
|
|
4638
4645
|
}).describe(
|
|
4639
4646
|
"Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) is not subscribed on Salto KS, so they cannot unlock doors or perform any actions. This occurs when the their access schedule hasn\u2019t started yet, if their access schedule has ended, if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed."
|
|
4640
4647
|
);
|
|
4648
|
+
var acs_user_inactive = common_acs_user_warning.extend({
|
|
4649
|
+
warning_code: zod.z.literal("acs_user_inactive")
|
|
4650
|
+
}).describe(
|
|
4651
|
+
"Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access\u2014for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked."
|
|
4652
|
+
);
|
|
4641
4653
|
var unknown_issue_with_acs_user = common_acs_user_warning.extend({
|
|
4642
4654
|
warning_code: zod.z.literal("unknown_issue_with_acs_user")
|
|
4643
4655
|
}).describe(
|
|
@@ -4651,12 +4663,14 @@ var latch_resident_user = common_acs_user_warning.extend({
|
|
|
4651
4663
|
zod.z.object({
|
|
4652
4664
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
4653
4665
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
|
|
4666
|
+
acs_user_inactive: acs_user_inactive.optional().nullable(),
|
|
4654
4667
|
unknown_issue_with_acs_user: unknown_issue_with_acs_user.optional().nullable(),
|
|
4655
4668
|
latch_resident_user: latch_resident_user.optional().nullable()
|
|
4656
4669
|
});
|
|
4657
4670
|
var acs_users_warnings = zod.z.discriminatedUnion("warning_code", [
|
|
4658
4671
|
acs_users_being_deleted,
|
|
4659
4672
|
acs_users_salto_ks_user_not_subscribed,
|
|
4673
|
+
acs_user_inactive,
|
|
4660
4674
|
unknown_issue_with_acs_user,
|
|
4661
4675
|
latch_resident_user
|
|
4662
4676
|
]).describe(
|
|
@@ -4741,6 +4755,9 @@ var common_acs_user = zod.z.object({
|
|
|
4741
4755
|
`),
|
|
4742
4756
|
salto_space_metadata: acs_user_salto_space_metadata.optional().describe(
|
|
4743
4757
|
"Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management)."
|
|
4758
|
+
),
|
|
4759
|
+
salto_ks_metadata: acs_user_salto_ks_metadata.optional().describe(
|
|
4760
|
+
"Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management)."
|
|
4744
4761
|
)
|
|
4745
4762
|
}).merge(user_fields);
|
|
4746
4763
|
var acs_user = common_acs_user.merge(
|
|
@@ -12515,6 +12532,16 @@ var openapi = {
|
|
|
12515
12532
|
description: "Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
12516
12533
|
type: "string"
|
|
12517
12534
|
},
|
|
12535
|
+
salto_ks_metadata: {
|
|
12536
|
+
description: "Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
12537
|
+
properties: {
|
|
12538
|
+
is_subscribed: {
|
|
12539
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
12540
|
+
type: "boolean"
|
|
12541
|
+
}
|
|
12542
|
+
},
|
|
12543
|
+
type: "object"
|
|
12544
|
+
},
|
|
12518
12545
|
salto_space_metadata: {
|
|
12519
12546
|
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
12520
12547
|
properties: {
|
|
@@ -12591,6 +12618,26 @@ var openapi = {
|
|
|
12591
12618
|
required: ["created_at", "message", "warning_code"],
|
|
12592
12619
|
type: "object"
|
|
12593
12620
|
},
|
|
12621
|
+
{
|
|
12622
|
+
description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access\u2014for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.",
|
|
12623
|
+
properties: {
|
|
12624
|
+
created_at: {
|
|
12625
|
+
description: "Date and time at which Seam created the warning.",
|
|
12626
|
+
format: "date-time",
|
|
12627
|
+
type: "string"
|
|
12628
|
+
},
|
|
12629
|
+
message: {
|
|
12630
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
12631
|
+
type: "string"
|
|
12632
|
+
},
|
|
12633
|
+
warning_code: {
|
|
12634
|
+
enum: ["acs_user_inactive"],
|
|
12635
|
+
type: "string"
|
|
12636
|
+
}
|
|
12637
|
+
},
|
|
12638
|
+
required: ["created_at", "message", "warning_code"],
|
|
12639
|
+
type: "object"
|
|
12640
|
+
},
|
|
12594
12641
|
{
|
|
12595
12642
|
description: "An unknown issue occurred while syncing the state of this [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.",
|
|
12596
12643
|
properties: {
|
|
@@ -36535,6 +36582,16 @@ var openapi = {
|
|
|
36535
36582
|
description: "Phone number of the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
|
|
36536
36583
|
type: "string"
|
|
36537
36584
|
},
|
|
36585
|
+
salto_ks_metadata: {
|
|
36586
|
+
description: "Salto KS-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
36587
|
+
properties: {
|
|
36588
|
+
is_subscribed: {
|
|
36589
|
+
description: "Indicates whether the user holds an active subscription slot on the Salto KS site. Only subscribed users can unlock doors and count against the site's user-subscription limit. A user may not be subscribed because their access schedule has not started or has ended, the site has reached its subscription limit, or they were manually unsubscribed. This is distinct from `is_suspended`, which reflects whether the user has been explicitly blocked.",
|
|
36590
|
+
type: "boolean"
|
|
36591
|
+
}
|
|
36592
|
+
},
|
|
36593
|
+
type: "object"
|
|
36594
|
+
},
|
|
36538
36595
|
salto_space_metadata: {
|
|
36539
36596
|
description: "Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).",
|
|
36540
36597
|
properties: {
|
|
@@ -36611,6 +36668,26 @@ var openapi = {
|
|
|
36611
36668
|
required: ["created_at", "message", "warning_code"],
|
|
36612
36669
|
type: "object"
|
|
36613
36670
|
},
|
|
36671
|
+
{
|
|
36672
|
+
description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) exists but is not currently able to gain access\u2014for example, because their access schedule has not started yet or has ended, the access system has reached its limit for active users, or they have been unsubscribed or deactivated. Refer to the warning message for the provider-specific reason. This is distinct from `is_suspended`, which indicates the user has been explicitly blocked.",
|
|
36673
|
+
properties: {
|
|
36674
|
+
created_at: {
|
|
36675
|
+
description: "Date and time at which Seam created the warning.",
|
|
36676
|
+
format: "date-time",
|
|
36677
|
+
type: "string"
|
|
36678
|
+
},
|
|
36679
|
+
message: {
|
|
36680
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
36681
|
+
type: "string"
|
|
36682
|
+
},
|
|
36683
|
+
warning_code: {
|
|
36684
|
+
enum: ["acs_user_inactive"],
|
|
36685
|
+
type: "string"
|
|
36686
|
+
}
|
|
36687
|
+
},
|
|
36688
|
+
required: ["created_at", "message", "warning_code"],
|
|
36689
|
+
type: "object"
|
|
36690
|
+
},
|
|
36614
36691
|
{
|
|
36615
36692
|
description: "An unknown issue occurred while syncing the state of this [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) with the provider. This issue may affect the proper functioning of this user.",
|
|
36616
36693
|
properties: {
|