@seamapi/types 1.252.0 → 1.252.2
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 +65 -65
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +363 -363
- package/lib/seam/connect/openapi.d.ts +85 -85
- package/lib/seam/connect/openapi.js +63 -63
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +220 -220
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +63 -63
- package/src/lib/seam/connect/route-types.ts +338 -338
package/dist/connect.d.cts
CHANGED
|
@@ -16540,90 +16540,6 @@ declare const _default: {
|
|
|
16540
16540
|
'x-fern-sdk-return-value': string;
|
|
16541
16541
|
};
|
|
16542
16542
|
};
|
|
16543
|
-
'/acs/credentials/read_card': {
|
|
16544
|
-
post: {
|
|
16545
|
-
operationId: string;
|
|
16546
|
-
requestBody: {
|
|
16547
|
-
content: {
|
|
16548
|
-
'application/json': {
|
|
16549
|
-
schema: {
|
|
16550
|
-
oneOf: ({
|
|
16551
|
-
properties: {
|
|
16552
|
-
acs_system_id: {
|
|
16553
|
-
format: string;
|
|
16554
|
-
type: string;
|
|
16555
|
-
};
|
|
16556
|
-
device_name: {
|
|
16557
|
-
type: string;
|
|
16558
|
-
};
|
|
16559
|
-
device_id?: never;
|
|
16560
|
-
};
|
|
16561
|
-
required: string[];
|
|
16562
|
-
type: string;
|
|
16563
|
-
} | {
|
|
16564
|
-
properties: {
|
|
16565
|
-
device_id: {
|
|
16566
|
-
format: string;
|
|
16567
|
-
type: string;
|
|
16568
|
-
};
|
|
16569
|
-
acs_system_id?: never;
|
|
16570
|
-
device_name?: never;
|
|
16571
|
-
};
|
|
16572
|
-
required: string[];
|
|
16573
|
-
type: string;
|
|
16574
|
-
})[];
|
|
16575
|
-
};
|
|
16576
|
-
};
|
|
16577
|
-
};
|
|
16578
|
-
};
|
|
16579
|
-
responses: {
|
|
16580
|
-
200: {
|
|
16581
|
-
content: {
|
|
16582
|
-
'application/json': {
|
|
16583
|
-
schema: {
|
|
16584
|
-
properties: {
|
|
16585
|
-
action_attempt: {
|
|
16586
|
-
$ref: string;
|
|
16587
|
-
};
|
|
16588
|
-
ok: {
|
|
16589
|
-
type: string;
|
|
16590
|
-
};
|
|
16591
|
-
};
|
|
16592
|
-
required: string[];
|
|
16593
|
-
type: string;
|
|
16594
|
-
};
|
|
16595
|
-
};
|
|
16596
|
-
};
|
|
16597
|
-
description: string;
|
|
16598
|
-
};
|
|
16599
|
-
400: {
|
|
16600
|
-
description: string;
|
|
16601
|
-
};
|
|
16602
|
-
401: {
|
|
16603
|
-
description: string;
|
|
16604
|
-
};
|
|
16605
|
-
};
|
|
16606
|
-
security: ({
|
|
16607
|
-
pat_with_workspace: never[];
|
|
16608
|
-
console_session?: never;
|
|
16609
|
-
api_key?: never;
|
|
16610
|
-
} | {
|
|
16611
|
-
console_session: never[];
|
|
16612
|
-
pat_with_workspace?: never;
|
|
16613
|
-
api_key?: never;
|
|
16614
|
-
} | {
|
|
16615
|
-
api_key: never[];
|
|
16616
|
-
pat_with_workspace?: never;
|
|
16617
|
-
console_session?: never;
|
|
16618
|
-
})[];
|
|
16619
|
-
summary: string;
|
|
16620
|
-
tags: string[];
|
|
16621
|
-
'x-fern-sdk-group-name': string[];
|
|
16622
|
-
'x-fern-sdk-method-name': string;
|
|
16623
|
-
'x-fern-sdk-return-value': string;
|
|
16624
|
-
'x-undocumented': string;
|
|
16625
|
-
};
|
|
16626
|
-
};
|
|
16627
16543
|
'/acs/credentials/unassign': {
|
|
16628
16544
|
patch: {
|
|
16629
16545
|
operationId: string;
|
|
@@ -17379,6 +17295,90 @@ declare const _default: {
|
|
|
17379
17295
|
'x-fern-sdk-method-name': string;
|
|
17380
17296
|
};
|
|
17381
17297
|
};
|
|
17298
|
+
'/acs/encoders/read_card': {
|
|
17299
|
+
post: {
|
|
17300
|
+
operationId: string;
|
|
17301
|
+
requestBody: {
|
|
17302
|
+
content: {
|
|
17303
|
+
'application/json': {
|
|
17304
|
+
schema: {
|
|
17305
|
+
oneOf: ({
|
|
17306
|
+
properties: {
|
|
17307
|
+
acs_system_id: {
|
|
17308
|
+
format: string;
|
|
17309
|
+
type: string;
|
|
17310
|
+
};
|
|
17311
|
+
device_name: {
|
|
17312
|
+
type: string;
|
|
17313
|
+
};
|
|
17314
|
+
device_id?: never;
|
|
17315
|
+
};
|
|
17316
|
+
required: string[];
|
|
17317
|
+
type: string;
|
|
17318
|
+
} | {
|
|
17319
|
+
properties: {
|
|
17320
|
+
device_id: {
|
|
17321
|
+
format: string;
|
|
17322
|
+
type: string;
|
|
17323
|
+
};
|
|
17324
|
+
acs_system_id?: never;
|
|
17325
|
+
device_name?: never;
|
|
17326
|
+
};
|
|
17327
|
+
required: string[];
|
|
17328
|
+
type: string;
|
|
17329
|
+
})[];
|
|
17330
|
+
};
|
|
17331
|
+
};
|
|
17332
|
+
};
|
|
17333
|
+
};
|
|
17334
|
+
responses: {
|
|
17335
|
+
200: {
|
|
17336
|
+
content: {
|
|
17337
|
+
'application/json': {
|
|
17338
|
+
schema: {
|
|
17339
|
+
properties: {
|
|
17340
|
+
action_attempt: {
|
|
17341
|
+
$ref: string;
|
|
17342
|
+
};
|
|
17343
|
+
ok: {
|
|
17344
|
+
type: string;
|
|
17345
|
+
};
|
|
17346
|
+
};
|
|
17347
|
+
required: string[];
|
|
17348
|
+
type: string;
|
|
17349
|
+
};
|
|
17350
|
+
};
|
|
17351
|
+
};
|
|
17352
|
+
description: string;
|
|
17353
|
+
};
|
|
17354
|
+
400: {
|
|
17355
|
+
description: string;
|
|
17356
|
+
};
|
|
17357
|
+
401: {
|
|
17358
|
+
description: string;
|
|
17359
|
+
};
|
|
17360
|
+
};
|
|
17361
|
+
security: ({
|
|
17362
|
+
pat_with_workspace: never[];
|
|
17363
|
+
console_session?: never;
|
|
17364
|
+
api_key?: never;
|
|
17365
|
+
} | {
|
|
17366
|
+
console_session: never[];
|
|
17367
|
+
pat_with_workspace?: never;
|
|
17368
|
+
api_key?: never;
|
|
17369
|
+
} | {
|
|
17370
|
+
api_key: never[];
|
|
17371
|
+
pat_with_workspace?: never;
|
|
17372
|
+
console_session?: never;
|
|
17373
|
+
})[];
|
|
17374
|
+
summary: string;
|
|
17375
|
+
tags: string[];
|
|
17376
|
+
'x-fern-sdk-group-name': string[];
|
|
17377
|
+
'x-fern-sdk-method-name': string;
|
|
17378
|
+
'x-fern-sdk-return-value': string;
|
|
17379
|
+
'x-undocumented': string;
|
|
17380
|
+
};
|
|
17381
|
+
};
|
|
17382
17382
|
'/acs/entrances/get': {
|
|
17383
17383
|
post: {
|
|
17384
17384
|
operationId: string;
|
|
@@ -24067,6 +24067,7 @@ declare const _default: {
|
|
|
24067
24067
|
tags: string[];
|
|
24068
24068
|
'x-fern-sdk-group-name': string[];
|
|
24069
24069
|
'x-fern-sdk-method-name': string;
|
|
24070
|
+
'x-fern-sdk-return-value': string;
|
|
24070
24071
|
};
|
|
24071
24072
|
};
|
|
24072
24073
|
'/thermostats/delete_climate_preset': {
|
|
@@ -25442,7 +25443,6 @@ declare const _default: {
|
|
|
25442
25443
|
tags: string[];
|
|
25443
25444
|
'x-fern-sdk-group-name': string[];
|
|
25444
25445
|
'x-fern-sdk-method-name': string;
|
|
25445
|
-
'x-fern-sdk-return-value': string;
|
|
25446
25446
|
};
|
|
25447
25447
|
};
|
|
25448
25448
|
'/user_identities/add_acs_user': {
|
|
@@ -30599,72 +30599,290 @@ interface Routes {
|
|
|
30599
30599
|
}>;
|
|
30600
30600
|
};
|
|
30601
30601
|
};
|
|
30602
|
-
'/acs/credentials/
|
|
30603
|
-
route: '/acs/credentials/
|
|
30604
|
-
method: 'POST';
|
|
30602
|
+
'/acs/credentials/unassign': {
|
|
30603
|
+
route: '/acs/credentials/unassign';
|
|
30604
|
+
method: 'PATCH' | 'POST';
|
|
30605
30605
|
queryParams: {};
|
|
30606
|
-
jsonBody: {
|
|
30607
|
-
|
|
30608
|
-
|
|
30609
|
-
device_name: string;
|
|
30610
|
-
} | {
|
|
30611
|
-
device_id: string;
|
|
30606
|
+
jsonBody: {
|
|
30607
|
+
acs_user_id: string;
|
|
30608
|
+
acs_credential_id: string;
|
|
30612
30609
|
};
|
|
30610
|
+
commonParams: {};
|
|
30613
30611
|
formData: {};
|
|
30614
30612
|
jsonResponse: {
|
|
30615
|
-
|
|
30616
|
-
|
|
30617
|
-
|
|
30618
|
-
|
|
30619
|
-
|
|
30620
|
-
|
|
30621
|
-
|
|
30622
|
-
|
|
30623
|
-
|
|
30624
|
-
|
|
30625
|
-
|
|
30626
|
-
|
|
30627
|
-
|
|
30628
|
-
|
|
30629
|
-
|
|
30630
|
-
|
|
30631
|
-
|
|
30632
|
-
|
|
30633
|
-
|
|
30634
|
-
|
|
30635
|
-
error: {
|
|
30636
|
-
type: string;
|
|
30613
|
+
acs_credential: {
|
|
30614
|
+
acs_credential_id: string;
|
|
30615
|
+
acs_user_id?: string | undefined;
|
|
30616
|
+
acs_credential_pool_id?: string | undefined;
|
|
30617
|
+
acs_system_id: string;
|
|
30618
|
+
parent_acs_credential_id?: string | undefined;
|
|
30619
|
+
display_name: string;
|
|
30620
|
+
code?: (string | undefined) | null;
|
|
30621
|
+
card_number?: (string | undefined) | null;
|
|
30622
|
+
is_encoded?: boolean | undefined;
|
|
30623
|
+
encoded_at?: (string | undefined) | null;
|
|
30624
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
30625
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
30626
|
+
external_type_display_name?: string | undefined;
|
|
30627
|
+
created_at: string;
|
|
30628
|
+
workspace_id: string;
|
|
30629
|
+
starts_at?: string | undefined;
|
|
30630
|
+
ends_at?: string | undefined;
|
|
30631
|
+
errors: Array<{
|
|
30632
|
+
error_code: string;
|
|
30637
30633
|
message: string;
|
|
30638
|
-
}
|
|
30639
|
-
|
|
30640
|
-
|
|
30641
|
-
action_attempt_id: string;
|
|
30642
|
-
status: 'pending';
|
|
30643
|
-
result: null;
|
|
30644
|
-
error: null;
|
|
30645
|
-
action_type: 'UNLOCK_DOOR';
|
|
30646
|
-
} | {
|
|
30647
|
-
/** The ID of the action attempt. */
|
|
30648
|
-
action_attempt_id: string;
|
|
30649
|
-
status: 'success';
|
|
30650
|
-
error: null;
|
|
30651
|
-
action_type: 'UNLOCK_DOOR';
|
|
30652
|
-
result: {};
|
|
30653
|
-
} | {
|
|
30654
|
-
/** The ID of the action attempt. */
|
|
30655
|
-
action_attempt_id: string;
|
|
30656
|
-
status: 'error';
|
|
30657
|
-
result: null;
|
|
30658
|
-
action_type: 'UNLOCK_DOOR';
|
|
30659
|
-
error: {
|
|
30660
|
-
type: string;
|
|
30634
|
+
}>;
|
|
30635
|
+
warnings: Array<{
|
|
30636
|
+
warning_code: string;
|
|
30661
30637
|
message: string;
|
|
30662
|
-
}
|
|
30663
|
-
|
|
30664
|
-
|
|
30665
|
-
|
|
30666
|
-
|
|
30667
|
-
|
|
30638
|
+
}>;
|
|
30639
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
30640
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
30641
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
30642
|
+
visionline_metadata?: {
|
|
30643
|
+
card_function_type: 'guest' | 'staff';
|
|
30644
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
30645
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
30646
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
30647
|
+
is_valid?: boolean | undefined;
|
|
30648
|
+
card_id?: string | undefined;
|
|
30649
|
+
credential_id?: string | undefined;
|
|
30650
|
+
} | undefined;
|
|
30651
|
+
is_managed: true;
|
|
30652
|
+
};
|
|
30653
|
+
};
|
|
30654
|
+
};
|
|
30655
|
+
'/acs/credentials/unmanaged/get': {
|
|
30656
|
+
route: '/acs/credentials/unmanaged/get';
|
|
30657
|
+
method: 'GET' | 'POST';
|
|
30658
|
+
queryParams: {};
|
|
30659
|
+
jsonBody: {};
|
|
30660
|
+
commonParams: {
|
|
30661
|
+
acs_credential_id: string;
|
|
30662
|
+
};
|
|
30663
|
+
formData: {};
|
|
30664
|
+
jsonResponse: {
|
|
30665
|
+
acs_credential: {
|
|
30666
|
+
acs_credential_id: string;
|
|
30667
|
+
acs_user_id?: string | undefined;
|
|
30668
|
+
acs_credential_pool_id?: string | undefined;
|
|
30669
|
+
acs_system_id: string;
|
|
30670
|
+
parent_acs_credential_id?: string | undefined;
|
|
30671
|
+
display_name: string;
|
|
30672
|
+
code?: (string | undefined) | null;
|
|
30673
|
+
card_number?: (string | undefined) | null;
|
|
30674
|
+
is_encoded?: boolean | undefined;
|
|
30675
|
+
encoded_at?: (string | undefined) | null;
|
|
30676
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
30677
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
30678
|
+
external_type_display_name?: string | undefined;
|
|
30679
|
+
created_at: string;
|
|
30680
|
+
workspace_id: string;
|
|
30681
|
+
starts_at?: string | undefined;
|
|
30682
|
+
ends_at?: string | undefined;
|
|
30683
|
+
errors: Array<{
|
|
30684
|
+
error_code: string;
|
|
30685
|
+
message: string;
|
|
30686
|
+
}>;
|
|
30687
|
+
warnings: Array<{
|
|
30688
|
+
warning_code: string;
|
|
30689
|
+
message: string;
|
|
30690
|
+
}>;
|
|
30691
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
30692
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
30693
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
30694
|
+
visionline_metadata?: {
|
|
30695
|
+
card_function_type: 'guest' | 'staff';
|
|
30696
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
30697
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
30698
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
30699
|
+
is_valid?: boolean | undefined;
|
|
30700
|
+
card_id?: string | undefined;
|
|
30701
|
+
credential_id?: string | undefined;
|
|
30702
|
+
} | undefined;
|
|
30703
|
+
is_managed: false;
|
|
30704
|
+
};
|
|
30705
|
+
};
|
|
30706
|
+
};
|
|
30707
|
+
'/acs/credentials/unmanaged/list': {
|
|
30708
|
+
route: '/acs/credentials/unmanaged/list';
|
|
30709
|
+
method: 'GET' | 'POST';
|
|
30710
|
+
queryParams: {};
|
|
30711
|
+
jsonBody: {};
|
|
30712
|
+
commonParams: {
|
|
30713
|
+
acs_user_id: string;
|
|
30714
|
+
} | {
|
|
30715
|
+
acs_system_id: string;
|
|
30716
|
+
} | {
|
|
30717
|
+
acs_user_id: string;
|
|
30718
|
+
acs_system_id: string;
|
|
30719
|
+
} | {
|
|
30720
|
+
user_identity_id: string;
|
|
30721
|
+
};
|
|
30722
|
+
formData: {};
|
|
30723
|
+
jsonResponse: {
|
|
30724
|
+
acs_credentials: Array<{
|
|
30725
|
+
acs_credential_id: string;
|
|
30726
|
+
acs_user_id?: string | undefined;
|
|
30727
|
+
acs_credential_pool_id?: string | undefined;
|
|
30728
|
+
acs_system_id: string;
|
|
30729
|
+
parent_acs_credential_id?: string | undefined;
|
|
30730
|
+
display_name: string;
|
|
30731
|
+
code?: (string | undefined) | null;
|
|
30732
|
+
card_number?: (string | undefined) | null;
|
|
30733
|
+
is_encoded?: boolean | undefined;
|
|
30734
|
+
encoded_at?: (string | undefined) | null;
|
|
30735
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
30736
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
30737
|
+
external_type_display_name?: string | undefined;
|
|
30738
|
+
created_at: string;
|
|
30739
|
+
workspace_id: string;
|
|
30740
|
+
starts_at?: string | undefined;
|
|
30741
|
+
ends_at?: string | undefined;
|
|
30742
|
+
errors: Array<{
|
|
30743
|
+
error_code: string;
|
|
30744
|
+
message: string;
|
|
30745
|
+
}>;
|
|
30746
|
+
warnings: Array<{
|
|
30747
|
+
warning_code: string;
|
|
30748
|
+
message: string;
|
|
30749
|
+
}>;
|
|
30750
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
30751
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
30752
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
30753
|
+
visionline_metadata?: {
|
|
30754
|
+
card_function_type: 'guest' | 'staff';
|
|
30755
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
30756
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
30757
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
30758
|
+
is_valid?: boolean | undefined;
|
|
30759
|
+
card_id?: string | undefined;
|
|
30760
|
+
credential_id?: string | undefined;
|
|
30761
|
+
} | undefined;
|
|
30762
|
+
is_managed: false;
|
|
30763
|
+
}>;
|
|
30764
|
+
};
|
|
30765
|
+
};
|
|
30766
|
+
'/acs/credentials/update': {
|
|
30767
|
+
route: '/acs/credentials/update';
|
|
30768
|
+
method: 'PATCH' | 'POST';
|
|
30769
|
+
queryParams: {};
|
|
30770
|
+
jsonBody: {
|
|
30771
|
+
acs_credential_id: string;
|
|
30772
|
+
code?: string | undefined;
|
|
30773
|
+
ends_at?: string | undefined;
|
|
30774
|
+
};
|
|
30775
|
+
commonParams: {};
|
|
30776
|
+
formData: {};
|
|
30777
|
+
jsonResponse: {
|
|
30778
|
+
acs_credential: {
|
|
30779
|
+
acs_credential_id: string;
|
|
30780
|
+
acs_user_id?: string | undefined;
|
|
30781
|
+
acs_credential_pool_id?: string | undefined;
|
|
30782
|
+
acs_system_id: string;
|
|
30783
|
+
parent_acs_credential_id?: string | undefined;
|
|
30784
|
+
display_name: string;
|
|
30785
|
+
code?: (string | undefined) | null;
|
|
30786
|
+
card_number?: (string | undefined) | null;
|
|
30787
|
+
is_encoded?: boolean | undefined;
|
|
30788
|
+
encoded_at?: (string | undefined) | null;
|
|
30789
|
+
access_method: 'code' | 'card' | 'mobile_key';
|
|
30790
|
+
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
30791
|
+
external_type_display_name?: string | undefined;
|
|
30792
|
+
created_at: string;
|
|
30793
|
+
workspace_id: string;
|
|
30794
|
+
starts_at?: string | undefined;
|
|
30795
|
+
ends_at?: string | undefined;
|
|
30796
|
+
errors: Array<{
|
|
30797
|
+
error_code: string;
|
|
30798
|
+
message: string;
|
|
30799
|
+
}>;
|
|
30800
|
+
warnings: Array<{
|
|
30801
|
+
warning_code: string;
|
|
30802
|
+
message: string;
|
|
30803
|
+
}>;
|
|
30804
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
30805
|
+
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
30806
|
+
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
30807
|
+
visionline_metadata?: {
|
|
30808
|
+
card_function_type: 'guest' | 'staff';
|
|
30809
|
+
joiner_acs_credential_ids?: string[] | undefined;
|
|
30810
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
30811
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
30812
|
+
is_valid?: boolean | undefined;
|
|
30813
|
+
card_id?: string | undefined;
|
|
30814
|
+
credential_id?: string | undefined;
|
|
30815
|
+
} | undefined;
|
|
30816
|
+
is_managed: true;
|
|
30817
|
+
};
|
|
30818
|
+
};
|
|
30819
|
+
};
|
|
30820
|
+
'/acs/encoders/read_card': {
|
|
30821
|
+
route: '/acs/encoders/read_card';
|
|
30822
|
+
method: 'POST';
|
|
30823
|
+
queryParams: {};
|
|
30824
|
+
jsonBody: {};
|
|
30825
|
+
commonParams: {
|
|
30826
|
+
acs_system_id: string;
|
|
30827
|
+
device_name: string;
|
|
30828
|
+
} | {
|
|
30829
|
+
device_id: string;
|
|
30830
|
+
};
|
|
30831
|
+
formData: {};
|
|
30832
|
+
jsonResponse: {
|
|
30833
|
+
action_attempt: {
|
|
30834
|
+
/** The ID of the action attempt. */
|
|
30835
|
+
action_attempt_id: string;
|
|
30836
|
+
status: 'pending';
|
|
30837
|
+
result: null;
|
|
30838
|
+
error: null;
|
|
30839
|
+
action_type: 'LOCK_DOOR';
|
|
30840
|
+
} | {
|
|
30841
|
+
/** The ID of the action attempt. */
|
|
30842
|
+
action_attempt_id: string;
|
|
30843
|
+
status: 'success';
|
|
30844
|
+
error: null;
|
|
30845
|
+
action_type: 'LOCK_DOOR';
|
|
30846
|
+
result: {};
|
|
30847
|
+
} | {
|
|
30848
|
+
/** The ID of the action attempt. */
|
|
30849
|
+
action_attempt_id: string;
|
|
30850
|
+
status: 'error';
|
|
30851
|
+
result: null;
|
|
30852
|
+
action_type: 'LOCK_DOOR';
|
|
30853
|
+
error: {
|
|
30854
|
+
type: string;
|
|
30855
|
+
message: string;
|
|
30856
|
+
};
|
|
30857
|
+
} | {
|
|
30858
|
+
/** The ID of the action attempt. */
|
|
30859
|
+
action_attempt_id: string;
|
|
30860
|
+
status: 'pending';
|
|
30861
|
+
result: null;
|
|
30862
|
+
error: null;
|
|
30863
|
+
action_type: 'UNLOCK_DOOR';
|
|
30864
|
+
} | {
|
|
30865
|
+
/** The ID of the action attempt. */
|
|
30866
|
+
action_attempt_id: string;
|
|
30867
|
+
status: 'success';
|
|
30868
|
+
error: null;
|
|
30869
|
+
action_type: 'UNLOCK_DOOR';
|
|
30870
|
+
result: {};
|
|
30871
|
+
} | {
|
|
30872
|
+
/** The ID of the action attempt. */
|
|
30873
|
+
action_attempt_id: string;
|
|
30874
|
+
status: 'error';
|
|
30875
|
+
result: null;
|
|
30876
|
+
action_type: 'UNLOCK_DOOR';
|
|
30877
|
+
error: {
|
|
30878
|
+
type: string;
|
|
30879
|
+
message: string;
|
|
30880
|
+
};
|
|
30881
|
+
} | {
|
|
30882
|
+
/** The ID of the action attempt. */
|
|
30883
|
+
action_attempt_id: string;
|
|
30884
|
+
status: 'pending';
|
|
30885
|
+
result: null;
|
|
30668
30886
|
error: null;
|
|
30669
30887
|
action_type: 'READ_CARD';
|
|
30670
30888
|
} | {
|
|
@@ -31028,224 +31246,6 @@ interface Routes {
|
|
|
31028
31246
|
};
|
|
31029
31247
|
};
|
|
31030
31248
|
};
|
|
31031
|
-
'/acs/credentials/unassign': {
|
|
31032
|
-
route: '/acs/credentials/unassign';
|
|
31033
|
-
method: 'PATCH' | 'POST';
|
|
31034
|
-
queryParams: {};
|
|
31035
|
-
jsonBody: {
|
|
31036
|
-
acs_user_id: string;
|
|
31037
|
-
acs_credential_id: string;
|
|
31038
|
-
};
|
|
31039
|
-
commonParams: {};
|
|
31040
|
-
formData: {};
|
|
31041
|
-
jsonResponse: {
|
|
31042
|
-
acs_credential: {
|
|
31043
|
-
acs_credential_id: string;
|
|
31044
|
-
acs_user_id?: string | undefined;
|
|
31045
|
-
acs_credential_pool_id?: string | undefined;
|
|
31046
|
-
acs_system_id: string;
|
|
31047
|
-
parent_acs_credential_id?: string | undefined;
|
|
31048
|
-
display_name: string;
|
|
31049
|
-
code?: (string | undefined) | null;
|
|
31050
|
-
card_number?: (string | undefined) | null;
|
|
31051
|
-
is_encoded?: boolean | undefined;
|
|
31052
|
-
encoded_at?: (string | undefined) | null;
|
|
31053
|
-
access_method: 'code' | 'card' | 'mobile_key';
|
|
31054
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
31055
|
-
external_type_display_name?: string | undefined;
|
|
31056
|
-
created_at: string;
|
|
31057
|
-
workspace_id: string;
|
|
31058
|
-
starts_at?: string | undefined;
|
|
31059
|
-
ends_at?: string | undefined;
|
|
31060
|
-
errors: Array<{
|
|
31061
|
-
error_code: string;
|
|
31062
|
-
message: string;
|
|
31063
|
-
}>;
|
|
31064
|
-
warnings: Array<{
|
|
31065
|
-
warning_code: string;
|
|
31066
|
-
message: string;
|
|
31067
|
-
}>;
|
|
31068
|
-
is_multi_phone_sync_credential?: boolean | undefined;
|
|
31069
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
31070
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
31071
|
-
visionline_metadata?: {
|
|
31072
|
-
card_function_type: 'guest' | 'staff';
|
|
31073
|
-
joiner_acs_credential_ids?: string[] | undefined;
|
|
31074
|
-
guest_acs_entrance_ids?: string[] | undefined;
|
|
31075
|
-
common_acs_entrance_ids?: string[] | undefined;
|
|
31076
|
-
is_valid?: boolean | undefined;
|
|
31077
|
-
card_id?: string | undefined;
|
|
31078
|
-
credential_id?: string | undefined;
|
|
31079
|
-
} | undefined;
|
|
31080
|
-
is_managed: true;
|
|
31081
|
-
};
|
|
31082
|
-
};
|
|
31083
|
-
};
|
|
31084
|
-
'/acs/credentials/unmanaged/get': {
|
|
31085
|
-
route: '/acs/credentials/unmanaged/get';
|
|
31086
|
-
method: 'GET' | 'POST';
|
|
31087
|
-
queryParams: {};
|
|
31088
|
-
jsonBody: {};
|
|
31089
|
-
commonParams: {
|
|
31090
|
-
acs_credential_id: string;
|
|
31091
|
-
};
|
|
31092
|
-
formData: {};
|
|
31093
|
-
jsonResponse: {
|
|
31094
|
-
acs_credential: {
|
|
31095
|
-
acs_credential_id: string;
|
|
31096
|
-
acs_user_id?: string | undefined;
|
|
31097
|
-
acs_credential_pool_id?: string | undefined;
|
|
31098
|
-
acs_system_id: string;
|
|
31099
|
-
parent_acs_credential_id?: string | undefined;
|
|
31100
|
-
display_name: string;
|
|
31101
|
-
code?: (string | undefined) | null;
|
|
31102
|
-
card_number?: (string | undefined) | null;
|
|
31103
|
-
is_encoded?: boolean | undefined;
|
|
31104
|
-
encoded_at?: (string | undefined) | null;
|
|
31105
|
-
access_method: 'code' | 'card' | 'mobile_key';
|
|
31106
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
31107
|
-
external_type_display_name?: string | undefined;
|
|
31108
|
-
created_at: string;
|
|
31109
|
-
workspace_id: string;
|
|
31110
|
-
starts_at?: string | undefined;
|
|
31111
|
-
ends_at?: string | undefined;
|
|
31112
|
-
errors: Array<{
|
|
31113
|
-
error_code: string;
|
|
31114
|
-
message: string;
|
|
31115
|
-
}>;
|
|
31116
|
-
warnings: Array<{
|
|
31117
|
-
warning_code: string;
|
|
31118
|
-
message: string;
|
|
31119
|
-
}>;
|
|
31120
|
-
is_multi_phone_sync_credential?: boolean | undefined;
|
|
31121
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
31122
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
31123
|
-
visionline_metadata?: {
|
|
31124
|
-
card_function_type: 'guest' | 'staff';
|
|
31125
|
-
joiner_acs_credential_ids?: string[] | undefined;
|
|
31126
|
-
guest_acs_entrance_ids?: string[] | undefined;
|
|
31127
|
-
common_acs_entrance_ids?: string[] | undefined;
|
|
31128
|
-
is_valid?: boolean | undefined;
|
|
31129
|
-
card_id?: string | undefined;
|
|
31130
|
-
credential_id?: string | undefined;
|
|
31131
|
-
} | undefined;
|
|
31132
|
-
is_managed: false;
|
|
31133
|
-
};
|
|
31134
|
-
};
|
|
31135
|
-
};
|
|
31136
|
-
'/acs/credentials/unmanaged/list': {
|
|
31137
|
-
route: '/acs/credentials/unmanaged/list';
|
|
31138
|
-
method: 'GET' | 'POST';
|
|
31139
|
-
queryParams: {};
|
|
31140
|
-
jsonBody: {};
|
|
31141
|
-
commonParams: {
|
|
31142
|
-
acs_user_id: string;
|
|
31143
|
-
} | {
|
|
31144
|
-
acs_system_id: string;
|
|
31145
|
-
} | {
|
|
31146
|
-
acs_user_id: string;
|
|
31147
|
-
acs_system_id: string;
|
|
31148
|
-
} | {
|
|
31149
|
-
user_identity_id: string;
|
|
31150
|
-
};
|
|
31151
|
-
formData: {};
|
|
31152
|
-
jsonResponse: {
|
|
31153
|
-
acs_credentials: Array<{
|
|
31154
|
-
acs_credential_id: string;
|
|
31155
|
-
acs_user_id?: string | undefined;
|
|
31156
|
-
acs_credential_pool_id?: string | undefined;
|
|
31157
|
-
acs_system_id: string;
|
|
31158
|
-
parent_acs_credential_id?: string | undefined;
|
|
31159
|
-
display_name: string;
|
|
31160
|
-
code?: (string | undefined) | null;
|
|
31161
|
-
card_number?: (string | undefined) | null;
|
|
31162
|
-
is_encoded?: boolean | undefined;
|
|
31163
|
-
encoded_at?: (string | undefined) | null;
|
|
31164
|
-
access_method: 'code' | 'card' | 'mobile_key';
|
|
31165
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
31166
|
-
external_type_display_name?: string | undefined;
|
|
31167
|
-
created_at: string;
|
|
31168
|
-
workspace_id: string;
|
|
31169
|
-
starts_at?: string | undefined;
|
|
31170
|
-
ends_at?: string | undefined;
|
|
31171
|
-
errors: Array<{
|
|
31172
|
-
error_code: string;
|
|
31173
|
-
message: string;
|
|
31174
|
-
}>;
|
|
31175
|
-
warnings: Array<{
|
|
31176
|
-
warning_code: string;
|
|
31177
|
-
message: string;
|
|
31178
|
-
}>;
|
|
31179
|
-
is_multi_phone_sync_credential?: boolean | undefined;
|
|
31180
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
31181
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
31182
|
-
visionline_metadata?: {
|
|
31183
|
-
card_function_type: 'guest' | 'staff';
|
|
31184
|
-
joiner_acs_credential_ids?: string[] | undefined;
|
|
31185
|
-
guest_acs_entrance_ids?: string[] | undefined;
|
|
31186
|
-
common_acs_entrance_ids?: string[] | undefined;
|
|
31187
|
-
is_valid?: boolean | undefined;
|
|
31188
|
-
card_id?: string | undefined;
|
|
31189
|
-
credential_id?: string | undefined;
|
|
31190
|
-
} | undefined;
|
|
31191
|
-
is_managed: false;
|
|
31192
|
-
}>;
|
|
31193
|
-
};
|
|
31194
|
-
};
|
|
31195
|
-
'/acs/credentials/update': {
|
|
31196
|
-
route: '/acs/credentials/update';
|
|
31197
|
-
method: 'PATCH' | 'POST';
|
|
31198
|
-
queryParams: {};
|
|
31199
|
-
jsonBody: {
|
|
31200
|
-
acs_credential_id: string;
|
|
31201
|
-
code?: string | undefined;
|
|
31202
|
-
ends_at?: string | undefined;
|
|
31203
|
-
};
|
|
31204
|
-
commonParams: {};
|
|
31205
|
-
formData: {};
|
|
31206
|
-
jsonResponse: {
|
|
31207
|
-
acs_credential: {
|
|
31208
|
-
acs_credential_id: string;
|
|
31209
|
-
acs_user_id?: string | undefined;
|
|
31210
|
-
acs_credential_pool_id?: string | undefined;
|
|
31211
|
-
acs_system_id: string;
|
|
31212
|
-
parent_acs_credential_id?: string | undefined;
|
|
31213
|
-
display_name: string;
|
|
31214
|
-
code?: (string | undefined) | null;
|
|
31215
|
-
card_number?: (string | undefined) | null;
|
|
31216
|
-
is_encoded?: boolean | undefined;
|
|
31217
|
-
encoded_at?: (string | undefined) | null;
|
|
31218
|
-
access_method: 'code' | 'card' | 'mobile_key';
|
|
31219
|
-
external_type?: ('pti_card' | 'brivo_credential' | 'hid_credential' | 'visionline_card' | 'salto_ks_credential') | undefined;
|
|
31220
|
-
external_type_display_name?: string | undefined;
|
|
31221
|
-
created_at: string;
|
|
31222
|
-
workspace_id: string;
|
|
31223
|
-
starts_at?: string | undefined;
|
|
31224
|
-
ends_at?: string | undefined;
|
|
31225
|
-
errors: Array<{
|
|
31226
|
-
error_code: string;
|
|
31227
|
-
message: string;
|
|
31228
|
-
}>;
|
|
31229
|
-
warnings: Array<{
|
|
31230
|
-
warning_code: string;
|
|
31231
|
-
message: string;
|
|
31232
|
-
}>;
|
|
31233
|
-
is_multi_phone_sync_credential?: boolean | undefined;
|
|
31234
|
-
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
31235
|
-
latest_desired_state_synced_with_provider_at?: string | undefined;
|
|
31236
|
-
visionline_metadata?: {
|
|
31237
|
-
card_function_type: 'guest' | 'staff';
|
|
31238
|
-
joiner_acs_credential_ids?: string[] | undefined;
|
|
31239
|
-
guest_acs_entrance_ids?: string[] | undefined;
|
|
31240
|
-
common_acs_entrance_ids?: string[] | undefined;
|
|
31241
|
-
is_valid?: boolean | undefined;
|
|
31242
|
-
card_id?: string | undefined;
|
|
31243
|
-
credential_id?: string | undefined;
|
|
31244
|
-
} | undefined;
|
|
31245
|
-
is_managed: true;
|
|
31246
|
-
};
|
|
31247
|
-
};
|
|
31248
|
-
};
|
|
31249
31249
|
'/acs/entrances/get': {
|
|
31250
31250
|
route: '/acs/entrances/get';
|
|
31251
31251
|
method: 'GET' | 'POST';
|