@seamapi/types 1.254.0 → 1.256.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 +273 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1314 -0
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +48 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +2 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +23 -2
- package/lib/seam/connect/models/acs/metadata/salto.js +8 -1
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +93 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.d.ts +96 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js +36 -0
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +114 -0
- package/lib/seam/connect/openapi.js +177 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1086 -27
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +10 -3
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +46 -0
- package/src/lib/seam/connect/openapi.ts +179 -0
- package/src/lib/seam/connect/route-types.ts +1195 -13
package/dist/connect.d.cts
CHANGED
|
@@ -741,6 +741,34 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
741
741
|
visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
|
|
742
742
|
}[] | undefined;
|
|
743
743
|
}>>;
|
|
744
|
+
salto_ks_metadata: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
door_name: z.ZodString;
|
|
746
|
+
locked_state: z.ZodString;
|
|
747
|
+
lock_type: z.ZodString;
|
|
748
|
+
online: z.ZodBoolean;
|
|
749
|
+
battery_level: z.ZodString;
|
|
750
|
+
left_open_alarm: z.ZodBoolean;
|
|
751
|
+
intrusion_alarm: z.ZodBoolean;
|
|
752
|
+
privacy_mode: z.ZodBoolean;
|
|
753
|
+
}, "strip", z.ZodTypeAny, {
|
|
754
|
+
lock_type: string;
|
|
755
|
+
battery_level: string;
|
|
756
|
+
locked_state: string;
|
|
757
|
+
door_name: string;
|
|
758
|
+
online: boolean;
|
|
759
|
+
left_open_alarm: boolean;
|
|
760
|
+
intrusion_alarm: boolean;
|
|
761
|
+
privacy_mode: boolean;
|
|
762
|
+
}, {
|
|
763
|
+
lock_type: string;
|
|
764
|
+
battery_level: string;
|
|
765
|
+
locked_state: string;
|
|
766
|
+
door_name: string;
|
|
767
|
+
online: boolean;
|
|
768
|
+
left_open_alarm: boolean;
|
|
769
|
+
intrusion_alarm: boolean;
|
|
770
|
+
privacy_mode: boolean;
|
|
771
|
+
}>>;
|
|
744
772
|
}, "strip", z.ZodTypeAny, {
|
|
745
773
|
created_at: string;
|
|
746
774
|
errors: {
|
|
@@ -764,6 +792,16 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
764
792
|
accessibility_type: string;
|
|
765
793
|
door_type: string;
|
|
766
794
|
} | undefined;
|
|
795
|
+
salto_ks_metadata?: {
|
|
796
|
+
lock_type: string;
|
|
797
|
+
battery_level: string;
|
|
798
|
+
locked_state: string;
|
|
799
|
+
door_name: string;
|
|
800
|
+
online: boolean;
|
|
801
|
+
left_open_alarm: boolean;
|
|
802
|
+
intrusion_alarm: boolean;
|
|
803
|
+
privacy_mode: boolean;
|
|
804
|
+
} | undefined;
|
|
767
805
|
}, {
|
|
768
806
|
created_at: string;
|
|
769
807
|
errors: {
|
|
@@ -787,6 +825,16 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
787
825
|
accessibility_type: string;
|
|
788
826
|
door_type: string;
|
|
789
827
|
} | undefined;
|
|
828
|
+
salto_ks_metadata?: {
|
|
829
|
+
lock_type: string;
|
|
830
|
+
battery_level: string;
|
|
831
|
+
locked_state: string;
|
|
832
|
+
door_name: string;
|
|
833
|
+
online: boolean;
|
|
834
|
+
left_open_alarm: boolean;
|
|
835
|
+
intrusion_alarm: boolean;
|
|
836
|
+
privacy_mode: boolean;
|
|
837
|
+
} | undefined;
|
|
790
838
|
}>;
|
|
791
839
|
type AcsEntrance = z.infer<typeof acs_entrance>;
|
|
792
840
|
|
|
@@ -1729,6 +1777,99 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
1729
1777
|
status: z.ZodLiteral<"pending">;
|
|
1730
1778
|
result: z.ZodNull;
|
|
1731
1779
|
error: z.ZodNull;
|
|
1780
|
+
}>, {
|
|
1781
|
+
action_type: z.ZodLiteral<"ENCODE_CARD">;
|
|
1782
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1783
|
+
status: "pending";
|
|
1784
|
+
action_attempt_id: string;
|
|
1785
|
+
error: null;
|
|
1786
|
+
result: null;
|
|
1787
|
+
action_type: "ENCODE_CARD";
|
|
1788
|
+
}, {
|
|
1789
|
+
status: "pending";
|
|
1790
|
+
action_attempt_id: string;
|
|
1791
|
+
error: null;
|
|
1792
|
+
result: null;
|
|
1793
|
+
action_type: "ENCODE_CARD";
|
|
1794
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1795
|
+
action_attempt_id: z.ZodString;
|
|
1796
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1797
|
+
}, {
|
|
1798
|
+
status: z.ZodLiteral<"success">;
|
|
1799
|
+
error: z.ZodNull;
|
|
1800
|
+
}>, {
|
|
1801
|
+
action_type: z.ZodLiteral<"ENCODE_CARD">;
|
|
1802
|
+
result: z.ZodObject<{
|
|
1803
|
+
acs_credential_id: z.ZodNullable<z.ZodString>;
|
|
1804
|
+
card_number: z.ZodNullable<z.ZodString>;
|
|
1805
|
+
}, "strip", z.ZodTypeAny, {
|
|
1806
|
+
acs_credential_id: string | null;
|
|
1807
|
+
card_number: string | null;
|
|
1808
|
+
}, {
|
|
1809
|
+
acs_credential_id: string | null;
|
|
1810
|
+
card_number: string | null;
|
|
1811
|
+
}>;
|
|
1812
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1813
|
+
status: "success";
|
|
1814
|
+
action_attempt_id: string;
|
|
1815
|
+
error: null;
|
|
1816
|
+
result: {
|
|
1817
|
+
acs_credential_id: string | null;
|
|
1818
|
+
card_number: string | null;
|
|
1819
|
+
};
|
|
1820
|
+
action_type: "ENCODE_CARD";
|
|
1821
|
+
}, {
|
|
1822
|
+
status: "success";
|
|
1823
|
+
action_attempt_id: string;
|
|
1824
|
+
error: null;
|
|
1825
|
+
result: {
|
|
1826
|
+
acs_credential_id: string | null;
|
|
1827
|
+
card_number: string | null;
|
|
1828
|
+
};
|
|
1829
|
+
action_type: "ENCODE_CARD";
|
|
1830
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1831
|
+
action_attempt_id: z.ZodString;
|
|
1832
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1833
|
+
}, {
|
|
1834
|
+
status: z.ZodLiteral<"error">;
|
|
1835
|
+
result: z.ZodNull;
|
|
1836
|
+
}>, {
|
|
1837
|
+
action_type: z.ZodLiteral<"ENCODE_CARD">;
|
|
1838
|
+
error: z.ZodObject<{
|
|
1839
|
+
type: z.ZodString;
|
|
1840
|
+
message: z.ZodString;
|
|
1841
|
+
}, "strip", z.ZodTypeAny, {
|
|
1842
|
+
message: string;
|
|
1843
|
+
type: string;
|
|
1844
|
+
}, {
|
|
1845
|
+
message: string;
|
|
1846
|
+
type: string;
|
|
1847
|
+
}>;
|
|
1848
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1849
|
+
status: "error";
|
|
1850
|
+
action_attempt_id: string;
|
|
1851
|
+
error: {
|
|
1852
|
+
message: string;
|
|
1853
|
+
type: string;
|
|
1854
|
+
};
|
|
1855
|
+
result: null;
|
|
1856
|
+
action_type: "ENCODE_CARD";
|
|
1857
|
+
}, {
|
|
1858
|
+
status: "error";
|
|
1859
|
+
action_attempt_id: string;
|
|
1860
|
+
error: {
|
|
1861
|
+
message: string;
|
|
1862
|
+
type: string;
|
|
1863
|
+
};
|
|
1864
|
+
result: null;
|
|
1865
|
+
action_type: "ENCODE_CARD";
|
|
1866
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1867
|
+
action_attempt_id: z.ZodString;
|
|
1868
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1869
|
+
}, {
|
|
1870
|
+
status: z.ZodLiteral<"pending">;
|
|
1871
|
+
result: z.ZodNull;
|
|
1872
|
+
error: z.ZodNull;
|
|
1732
1873
|
}>, {
|
|
1733
1874
|
action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
|
|
1734
1875
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -10041,6 +10182,36 @@ declare const _default: {
|
|
|
10041
10182
|
required: string[];
|
|
10042
10183
|
type: string;
|
|
10043
10184
|
};
|
|
10185
|
+
salto_ks_metadata: {
|
|
10186
|
+
properties: {
|
|
10187
|
+
battery_level: {
|
|
10188
|
+
type: string;
|
|
10189
|
+
};
|
|
10190
|
+
door_name: {
|
|
10191
|
+
type: string;
|
|
10192
|
+
};
|
|
10193
|
+
intrusion_alarm: {
|
|
10194
|
+
type: string;
|
|
10195
|
+
};
|
|
10196
|
+
left_open_alarm: {
|
|
10197
|
+
type: string;
|
|
10198
|
+
};
|
|
10199
|
+
lock_type: {
|
|
10200
|
+
type: string;
|
|
10201
|
+
};
|
|
10202
|
+
locked_state: {
|
|
10203
|
+
type: string;
|
|
10204
|
+
};
|
|
10205
|
+
online: {
|
|
10206
|
+
type: string;
|
|
10207
|
+
};
|
|
10208
|
+
privacy_mode: {
|
|
10209
|
+
type: string;
|
|
10210
|
+
};
|
|
10211
|
+
};
|
|
10212
|
+
required: string[];
|
|
10213
|
+
type: string;
|
|
10214
|
+
};
|
|
10044
10215
|
visionline_metadata: {
|
|
10045
10216
|
properties: {
|
|
10046
10217
|
door_category: {
|
|
@@ -17454,6 +17625,90 @@ declare const _default: {
|
|
|
17454
17625
|
'x-fern-sdk-method-name': string;
|
|
17455
17626
|
};
|
|
17456
17627
|
};
|
|
17628
|
+
'/acs/encoders/encode_card': {
|
|
17629
|
+
post: {
|
|
17630
|
+
operationId: string;
|
|
17631
|
+
requestBody: {
|
|
17632
|
+
content: {
|
|
17633
|
+
'application/json': {
|
|
17634
|
+
schema: {
|
|
17635
|
+
oneOf: ({
|
|
17636
|
+
properties: {
|
|
17637
|
+
acs_system_id: {
|
|
17638
|
+
format: string;
|
|
17639
|
+
type: string;
|
|
17640
|
+
};
|
|
17641
|
+
device_name: {
|
|
17642
|
+
type: string;
|
|
17643
|
+
};
|
|
17644
|
+
device_id?: never;
|
|
17645
|
+
};
|
|
17646
|
+
required: string[];
|
|
17647
|
+
type: string;
|
|
17648
|
+
} | {
|
|
17649
|
+
properties: {
|
|
17650
|
+
device_id: {
|
|
17651
|
+
format: string;
|
|
17652
|
+
type: string;
|
|
17653
|
+
};
|
|
17654
|
+
acs_system_id?: never;
|
|
17655
|
+
device_name?: never;
|
|
17656
|
+
};
|
|
17657
|
+
required: string[];
|
|
17658
|
+
type: string;
|
|
17659
|
+
})[];
|
|
17660
|
+
};
|
|
17661
|
+
};
|
|
17662
|
+
};
|
|
17663
|
+
};
|
|
17664
|
+
responses: {
|
|
17665
|
+
200: {
|
|
17666
|
+
content: {
|
|
17667
|
+
'application/json': {
|
|
17668
|
+
schema: {
|
|
17669
|
+
properties: {
|
|
17670
|
+
action_attempt: {
|
|
17671
|
+
$ref: string;
|
|
17672
|
+
};
|
|
17673
|
+
ok: {
|
|
17674
|
+
type: string;
|
|
17675
|
+
};
|
|
17676
|
+
};
|
|
17677
|
+
required: string[];
|
|
17678
|
+
type: string;
|
|
17679
|
+
};
|
|
17680
|
+
};
|
|
17681
|
+
};
|
|
17682
|
+
description: string;
|
|
17683
|
+
};
|
|
17684
|
+
400: {
|
|
17685
|
+
description: string;
|
|
17686
|
+
};
|
|
17687
|
+
401: {
|
|
17688
|
+
description: string;
|
|
17689
|
+
};
|
|
17690
|
+
};
|
|
17691
|
+
security: ({
|
|
17692
|
+
pat_with_workspace: never[];
|
|
17693
|
+
console_session?: never;
|
|
17694
|
+
api_key?: never;
|
|
17695
|
+
} | {
|
|
17696
|
+
console_session: never[];
|
|
17697
|
+
pat_with_workspace?: never;
|
|
17698
|
+
api_key?: never;
|
|
17699
|
+
} | {
|
|
17700
|
+
api_key: never[];
|
|
17701
|
+
pat_with_workspace?: never;
|
|
17702
|
+
console_session?: never;
|
|
17703
|
+
})[];
|
|
17704
|
+
summary: string;
|
|
17705
|
+
tags: string[];
|
|
17706
|
+
'x-fern-sdk-group-name': string[];
|
|
17707
|
+
'x-fern-sdk-method-name': string;
|
|
17708
|
+
'x-fern-sdk-return-value': string;
|
|
17709
|
+
'x-undocumented': string;
|
|
17710
|
+
};
|
|
17711
|
+
};
|
|
17457
17712
|
'/acs/encoders/read_card': {
|
|
17458
17713
|
post: {
|
|
17459
17714
|
operationId: string;
|
|
@@ -27938,6 +28193,35 @@ interface Routes {
|
|
|
27938
28193
|
type: string;
|
|
27939
28194
|
message: string;
|
|
27940
28195
|
};
|
|
28196
|
+
} | {
|
|
28197
|
+
/** The ID of the action attempt. */
|
|
28198
|
+
action_attempt_id: string;
|
|
28199
|
+
status: 'pending';
|
|
28200
|
+
result: null;
|
|
28201
|
+
error: null;
|
|
28202
|
+
action_type: 'ENCODE_CARD';
|
|
28203
|
+
} | {
|
|
28204
|
+
/** The ID of the action attempt. */
|
|
28205
|
+
action_attempt_id: string;
|
|
28206
|
+
status: 'success';
|
|
28207
|
+
error: null;
|
|
28208
|
+
action_type: 'ENCODE_CARD';
|
|
28209
|
+
result: {
|
|
28210
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
28211
|
+
acs_credential_id: string | null;
|
|
28212
|
+
/** A number or sting that physically identifies this card. */
|
|
28213
|
+
card_number: string | null;
|
|
28214
|
+
};
|
|
28215
|
+
} | {
|
|
28216
|
+
/** The ID of the action attempt. */
|
|
28217
|
+
action_attempt_id: string;
|
|
28218
|
+
status: 'error';
|
|
28219
|
+
result: null;
|
|
28220
|
+
action_type: 'ENCODE_CARD';
|
|
28221
|
+
error: {
|
|
28222
|
+
type: string;
|
|
28223
|
+
message: string;
|
|
28224
|
+
};
|
|
27941
28225
|
} | {
|
|
27942
28226
|
/** The ID of the action attempt. */
|
|
27943
28227
|
action_attempt_id: string;
|
|
@@ -28515,6 +28799,35 @@ interface Routes {
|
|
|
28515
28799
|
type: string;
|
|
28516
28800
|
message: string;
|
|
28517
28801
|
};
|
|
28802
|
+
} | {
|
|
28803
|
+
/** The ID of the action attempt. */
|
|
28804
|
+
action_attempt_id: string;
|
|
28805
|
+
status: 'pending';
|
|
28806
|
+
result: null;
|
|
28807
|
+
error: null;
|
|
28808
|
+
action_type: 'ENCODE_CARD';
|
|
28809
|
+
} | {
|
|
28810
|
+
/** The ID of the action attempt. */
|
|
28811
|
+
action_attempt_id: string;
|
|
28812
|
+
status: 'success';
|
|
28813
|
+
error: null;
|
|
28814
|
+
action_type: 'ENCODE_CARD';
|
|
28815
|
+
result: {
|
|
28816
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
28817
|
+
acs_credential_id: string | null;
|
|
28818
|
+
/** A number or sting that physically identifies this card. */
|
|
28819
|
+
card_number: string | null;
|
|
28820
|
+
};
|
|
28821
|
+
} | {
|
|
28822
|
+
/** The ID of the action attempt. */
|
|
28823
|
+
action_attempt_id: string;
|
|
28824
|
+
status: 'error';
|
|
28825
|
+
result: null;
|
|
28826
|
+
action_type: 'ENCODE_CARD';
|
|
28827
|
+
error: {
|
|
28828
|
+
type: string;
|
|
28829
|
+
message: string;
|
|
28830
|
+
};
|
|
28518
28831
|
} | {
|
|
28519
28832
|
/** The ID of the action attempt. */
|
|
28520
28833
|
action_attempt_id: string;
|
|
@@ -29249,6 +29562,35 @@ interface Routes {
|
|
|
29249
29562
|
type: string;
|
|
29250
29563
|
message: string;
|
|
29251
29564
|
};
|
|
29565
|
+
} | {
|
|
29566
|
+
/** The ID of the action attempt. */
|
|
29567
|
+
action_attempt_id: string;
|
|
29568
|
+
status: 'pending';
|
|
29569
|
+
result: null;
|
|
29570
|
+
error: null;
|
|
29571
|
+
action_type: 'ENCODE_CARD';
|
|
29572
|
+
} | {
|
|
29573
|
+
/** The ID of the action attempt. */
|
|
29574
|
+
action_attempt_id: string;
|
|
29575
|
+
status: 'success';
|
|
29576
|
+
error: null;
|
|
29577
|
+
action_type: 'ENCODE_CARD';
|
|
29578
|
+
result: {
|
|
29579
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
29580
|
+
acs_credential_id: string | null;
|
|
29581
|
+
/** A number or sting that physically identifies this card. */
|
|
29582
|
+
card_number: string | null;
|
|
29583
|
+
};
|
|
29584
|
+
} | {
|
|
29585
|
+
/** The ID of the action attempt. */
|
|
29586
|
+
action_attempt_id: string;
|
|
29587
|
+
status: 'error';
|
|
29588
|
+
result: null;
|
|
29589
|
+
action_type: 'ENCODE_CARD';
|
|
29590
|
+
error: {
|
|
29591
|
+
type: string;
|
|
29592
|
+
message: string;
|
|
29593
|
+
};
|
|
29252
29594
|
} | {
|
|
29253
29595
|
/** The ID of the action attempt. */
|
|
29254
29596
|
action_attempt_id: string;
|
|
@@ -29813,6 +30155,35 @@ interface Routes {
|
|
|
29813
30155
|
type: string;
|
|
29814
30156
|
message: string;
|
|
29815
30157
|
};
|
|
30158
|
+
} | {
|
|
30159
|
+
/** The ID of the action attempt. */
|
|
30160
|
+
action_attempt_id: string;
|
|
30161
|
+
status: 'pending';
|
|
30162
|
+
result: null;
|
|
30163
|
+
error: null;
|
|
30164
|
+
action_type: 'ENCODE_CARD';
|
|
30165
|
+
} | {
|
|
30166
|
+
/** The ID of the action attempt. */
|
|
30167
|
+
action_attempt_id: string;
|
|
30168
|
+
status: 'success';
|
|
30169
|
+
error: null;
|
|
30170
|
+
action_type: 'ENCODE_CARD';
|
|
30171
|
+
result: {
|
|
30172
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
30173
|
+
acs_credential_id: string | null;
|
|
30174
|
+
/** A number or sting that physically identifies this card. */
|
|
30175
|
+
card_number: string | null;
|
|
30176
|
+
};
|
|
30177
|
+
} | {
|
|
30178
|
+
/** The ID of the action attempt. */
|
|
30179
|
+
action_attempt_id: string;
|
|
30180
|
+
status: 'error';
|
|
30181
|
+
result: null;
|
|
30182
|
+
action_type: 'ENCODE_CARD';
|
|
30183
|
+
error: {
|
|
30184
|
+
type: string;
|
|
30185
|
+
message: string;
|
|
30186
|
+
};
|
|
29816
30187
|
} | {
|
|
29817
30188
|
/** The ID of the action attempt. */
|
|
29818
30189
|
action_attempt_id: string;
|
|
@@ -30256,6 +30627,16 @@ interface Routes {
|
|
|
30256
30627
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
30257
30628
|
}> | undefined;
|
|
30258
30629
|
} | undefined;
|
|
30630
|
+
salto_ks_metadata?: {
|
|
30631
|
+
door_name: string;
|
|
30632
|
+
locked_state: string;
|
|
30633
|
+
lock_type: string;
|
|
30634
|
+
online: boolean;
|
|
30635
|
+
battery_level: string;
|
|
30636
|
+
left_open_alarm: boolean;
|
|
30637
|
+
intrusion_alarm: boolean;
|
|
30638
|
+
privacy_mode: boolean;
|
|
30639
|
+
} | undefined;
|
|
30259
30640
|
}>;
|
|
30260
30641
|
};
|
|
30261
30642
|
};
|
|
@@ -30755,6 +31136,16 @@ interface Routes {
|
|
|
30755
31136
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
30756
31137
|
}> | undefined;
|
|
30757
31138
|
} | undefined;
|
|
31139
|
+
salto_ks_metadata?: {
|
|
31140
|
+
door_name: string;
|
|
31141
|
+
locked_state: string;
|
|
31142
|
+
lock_type: string;
|
|
31143
|
+
online: boolean;
|
|
31144
|
+
battery_level: string;
|
|
31145
|
+
left_open_alarm: boolean;
|
|
31146
|
+
intrusion_alarm: boolean;
|
|
31147
|
+
privacy_mode: boolean;
|
|
31148
|
+
} | undefined;
|
|
30758
31149
|
}>;
|
|
30759
31150
|
};
|
|
30760
31151
|
};
|
|
@@ -30976,6 +31367,464 @@ interface Routes {
|
|
|
30976
31367
|
};
|
|
30977
31368
|
};
|
|
30978
31369
|
};
|
|
31370
|
+
'/acs/encoders/encode_card': {
|
|
31371
|
+
route: '/acs/encoders/encode_card';
|
|
31372
|
+
method: 'POST';
|
|
31373
|
+
queryParams: {};
|
|
31374
|
+
jsonBody: {};
|
|
31375
|
+
commonParams: {
|
|
31376
|
+
acs_system_id: string;
|
|
31377
|
+
device_name: string;
|
|
31378
|
+
} | {
|
|
31379
|
+
device_id: string;
|
|
31380
|
+
};
|
|
31381
|
+
formData: {};
|
|
31382
|
+
jsonResponse: {
|
|
31383
|
+
action_attempt: {
|
|
31384
|
+
/** The ID of the action attempt. */
|
|
31385
|
+
action_attempt_id: string;
|
|
31386
|
+
status: 'pending';
|
|
31387
|
+
result: null;
|
|
31388
|
+
error: null;
|
|
31389
|
+
action_type: 'LOCK_DOOR';
|
|
31390
|
+
} | {
|
|
31391
|
+
/** The ID of the action attempt. */
|
|
31392
|
+
action_attempt_id: string;
|
|
31393
|
+
status: 'success';
|
|
31394
|
+
error: null;
|
|
31395
|
+
action_type: 'LOCK_DOOR';
|
|
31396
|
+
result: {};
|
|
31397
|
+
} | {
|
|
31398
|
+
/** The ID of the action attempt. */
|
|
31399
|
+
action_attempt_id: string;
|
|
31400
|
+
status: 'error';
|
|
31401
|
+
result: null;
|
|
31402
|
+
action_type: 'LOCK_DOOR';
|
|
31403
|
+
error: {
|
|
31404
|
+
type: string;
|
|
31405
|
+
message: string;
|
|
31406
|
+
};
|
|
31407
|
+
} | {
|
|
31408
|
+
/** The ID of the action attempt. */
|
|
31409
|
+
action_attempt_id: string;
|
|
31410
|
+
status: 'pending';
|
|
31411
|
+
result: null;
|
|
31412
|
+
error: null;
|
|
31413
|
+
action_type: 'UNLOCK_DOOR';
|
|
31414
|
+
} | {
|
|
31415
|
+
/** The ID of the action attempt. */
|
|
31416
|
+
action_attempt_id: string;
|
|
31417
|
+
status: 'success';
|
|
31418
|
+
error: null;
|
|
31419
|
+
action_type: 'UNLOCK_DOOR';
|
|
31420
|
+
result: {};
|
|
31421
|
+
} | {
|
|
31422
|
+
/** The ID of the action attempt. */
|
|
31423
|
+
action_attempt_id: string;
|
|
31424
|
+
status: 'error';
|
|
31425
|
+
result: null;
|
|
31426
|
+
action_type: 'UNLOCK_DOOR';
|
|
31427
|
+
error: {
|
|
31428
|
+
type: string;
|
|
31429
|
+
message: string;
|
|
31430
|
+
};
|
|
31431
|
+
} | {
|
|
31432
|
+
/** The ID of the action attempt. */
|
|
31433
|
+
action_attempt_id: string;
|
|
31434
|
+
status: 'pending';
|
|
31435
|
+
result: null;
|
|
31436
|
+
error: null;
|
|
31437
|
+
action_type: 'READ_CARD';
|
|
31438
|
+
} | {
|
|
31439
|
+
/** The ID of the action attempt. */
|
|
31440
|
+
action_attempt_id: string;
|
|
31441
|
+
status: 'success';
|
|
31442
|
+
error: null;
|
|
31443
|
+
action_type: 'READ_CARD';
|
|
31444
|
+
result: {
|
|
31445
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
31446
|
+
acs_credential_id: string | null;
|
|
31447
|
+
/** A number or sting that physically identifies this card. */
|
|
31448
|
+
card_number: string | null;
|
|
31449
|
+
};
|
|
31450
|
+
} | {
|
|
31451
|
+
/** The ID of the action attempt. */
|
|
31452
|
+
action_attempt_id: string;
|
|
31453
|
+
status: 'error';
|
|
31454
|
+
result: null;
|
|
31455
|
+
action_type: 'READ_CARD';
|
|
31456
|
+
error: {
|
|
31457
|
+
type: string;
|
|
31458
|
+
message: string;
|
|
31459
|
+
};
|
|
31460
|
+
} | {
|
|
31461
|
+
/** The ID of the action attempt. */
|
|
31462
|
+
action_attempt_id: string;
|
|
31463
|
+
status: 'pending';
|
|
31464
|
+
result: null;
|
|
31465
|
+
error: null;
|
|
31466
|
+
action_type: 'ENCODE_CARD';
|
|
31467
|
+
} | {
|
|
31468
|
+
/** The ID of the action attempt. */
|
|
31469
|
+
action_attempt_id: string;
|
|
31470
|
+
status: 'success';
|
|
31471
|
+
error: null;
|
|
31472
|
+
action_type: 'ENCODE_CARD';
|
|
31473
|
+
result: {
|
|
31474
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
31475
|
+
acs_credential_id: string | null;
|
|
31476
|
+
/** A number or sting that physically identifies this card. */
|
|
31477
|
+
card_number: string | null;
|
|
31478
|
+
};
|
|
31479
|
+
} | {
|
|
31480
|
+
/** The ID of the action attempt. */
|
|
31481
|
+
action_attempt_id: string;
|
|
31482
|
+
status: 'error';
|
|
31483
|
+
result: null;
|
|
31484
|
+
action_type: 'ENCODE_CARD';
|
|
31485
|
+
error: {
|
|
31486
|
+
type: string;
|
|
31487
|
+
message: string;
|
|
31488
|
+
};
|
|
31489
|
+
} | {
|
|
31490
|
+
/** The ID of the action attempt. */
|
|
31491
|
+
action_attempt_id: string;
|
|
31492
|
+
status: 'pending';
|
|
31493
|
+
result: null;
|
|
31494
|
+
error: null;
|
|
31495
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
31496
|
+
} | {
|
|
31497
|
+
/** The ID of the action attempt. */
|
|
31498
|
+
action_attempt_id: string;
|
|
31499
|
+
status: 'success';
|
|
31500
|
+
error: null;
|
|
31501
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
31502
|
+
result: {};
|
|
31503
|
+
} | {
|
|
31504
|
+
/** The ID of the action attempt. */
|
|
31505
|
+
action_attempt_id: string;
|
|
31506
|
+
status: 'error';
|
|
31507
|
+
result: null;
|
|
31508
|
+
action_type: 'RESET_SANDBOX_WORKSPACE';
|
|
31509
|
+
error: {
|
|
31510
|
+
type: string;
|
|
31511
|
+
message: string;
|
|
31512
|
+
};
|
|
31513
|
+
} | {
|
|
31514
|
+
/** The ID of the action attempt. */
|
|
31515
|
+
action_attempt_id: string;
|
|
31516
|
+
status: 'pending';
|
|
31517
|
+
result: null;
|
|
31518
|
+
error: null;
|
|
31519
|
+
action_type: 'SET_COOL';
|
|
31520
|
+
} | {
|
|
31521
|
+
/** The ID of the action attempt. */
|
|
31522
|
+
action_attempt_id: string;
|
|
31523
|
+
status: 'success';
|
|
31524
|
+
error: null;
|
|
31525
|
+
action_type: 'SET_COOL';
|
|
31526
|
+
result: {};
|
|
31527
|
+
} | {
|
|
31528
|
+
/** The ID of the action attempt. */
|
|
31529
|
+
action_attempt_id: string;
|
|
31530
|
+
status: 'error';
|
|
31531
|
+
result: null;
|
|
31532
|
+
action_type: 'SET_COOL';
|
|
31533
|
+
error: {
|
|
31534
|
+
type: string;
|
|
31535
|
+
message: string;
|
|
31536
|
+
};
|
|
31537
|
+
} | {
|
|
31538
|
+
/** The ID of the action attempt. */
|
|
31539
|
+
action_attempt_id: string;
|
|
31540
|
+
status: 'pending';
|
|
31541
|
+
result: null;
|
|
31542
|
+
error: null;
|
|
31543
|
+
action_type: 'SET_HEAT';
|
|
31544
|
+
} | {
|
|
31545
|
+
/** The ID of the action attempt. */
|
|
31546
|
+
action_attempt_id: string;
|
|
31547
|
+
status: 'success';
|
|
31548
|
+
error: null;
|
|
31549
|
+
action_type: 'SET_HEAT';
|
|
31550
|
+
result: {};
|
|
31551
|
+
} | {
|
|
31552
|
+
/** The ID of the action attempt. */
|
|
31553
|
+
action_attempt_id: string;
|
|
31554
|
+
status: 'error';
|
|
31555
|
+
result: null;
|
|
31556
|
+
action_type: 'SET_HEAT';
|
|
31557
|
+
error: {
|
|
31558
|
+
type: string;
|
|
31559
|
+
message: string;
|
|
31560
|
+
};
|
|
31561
|
+
} | {
|
|
31562
|
+
/** The ID of the action attempt. */
|
|
31563
|
+
action_attempt_id: string;
|
|
31564
|
+
status: 'pending';
|
|
31565
|
+
result: null;
|
|
31566
|
+
error: null;
|
|
31567
|
+
action_type: 'SET_HEAT_COOL';
|
|
31568
|
+
} | {
|
|
31569
|
+
/** The ID of the action attempt. */
|
|
31570
|
+
action_attempt_id: string;
|
|
31571
|
+
status: 'success';
|
|
31572
|
+
error: null;
|
|
31573
|
+
action_type: 'SET_HEAT_COOL';
|
|
31574
|
+
result: {};
|
|
31575
|
+
} | {
|
|
31576
|
+
/** The ID of the action attempt. */
|
|
31577
|
+
action_attempt_id: string;
|
|
31578
|
+
status: 'error';
|
|
31579
|
+
result: null;
|
|
31580
|
+
action_type: 'SET_HEAT_COOL';
|
|
31581
|
+
error: {
|
|
31582
|
+
type: string;
|
|
31583
|
+
message: string;
|
|
31584
|
+
};
|
|
31585
|
+
} | {
|
|
31586
|
+
/** The ID of the action attempt. */
|
|
31587
|
+
action_attempt_id: string;
|
|
31588
|
+
status: 'pending';
|
|
31589
|
+
result: null;
|
|
31590
|
+
error: null;
|
|
31591
|
+
action_type: 'SET_FAN_MODE';
|
|
31592
|
+
} | {
|
|
31593
|
+
/** The ID of the action attempt. */
|
|
31594
|
+
action_attempt_id: string;
|
|
31595
|
+
status: 'success';
|
|
31596
|
+
error: null;
|
|
31597
|
+
action_type: 'SET_FAN_MODE';
|
|
31598
|
+
result: {};
|
|
31599
|
+
} | {
|
|
31600
|
+
/** The ID of the action attempt. */
|
|
31601
|
+
action_attempt_id: string;
|
|
31602
|
+
status: 'error';
|
|
31603
|
+
result: null;
|
|
31604
|
+
action_type: 'SET_FAN_MODE';
|
|
31605
|
+
error: {
|
|
31606
|
+
type: string;
|
|
31607
|
+
message: string;
|
|
31608
|
+
};
|
|
31609
|
+
} | {
|
|
31610
|
+
/** The ID of the action attempt. */
|
|
31611
|
+
action_attempt_id: string;
|
|
31612
|
+
status: 'pending';
|
|
31613
|
+
result: null;
|
|
31614
|
+
error: null;
|
|
31615
|
+
action_type: 'SET_THERMOSTAT_OFF';
|
|
31616
|
+
} | {
|
|
31617
|
+
/** The ID of the action attempt. */
|
|
31618
|
+
action_attempt_id: string;
|
|
31619
|
+
status: 'success';
|
|
31620
|
+
error: null;
|
|
31621
|
+
action_type: 'SET_THERMOSTAT_OFF';
|
|
31622
|
+
result: {};
|
|
31623
|
+
} | {
|
|
31624
|
+
/** The ID of the action attempt. */
|
|
31625
|
+
action_attempt_id: string;
|
|
31626
|
+
status: 'error';
|
|
31627
|
+
result: null;
|
|
31628
|
+
action_type: 'SET_THERMOSTAT_OFF';
|
|
31629
|
+
error: {
|
|
31630
|
+
type: string;
|
|
31631
|
+
message: string;
|
|
31632
|
+
};
|
|
31633
|
+
} | {
|
|
31634
|
+
/** The ID of the action attempt. */
|
|
31635
|
+
action_attempt_id: string;
|
|
31636
|
+
status: 'pending';
|
|
31637
|
+
result: null;
|
|
31638
|
+
error: null;
|
|
31639
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
31640
|
+
} | {
|
|
31641
|
+
/** The ID of the action attempt. */
|
|
31642
|
+
action_attempt_id: string;
|
|
31643
|
+
status: 'success';
|
|
31644
|
+
error: null;
|
|
31645
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
31646
|
+
result: {};
|
|
31647
|
+
} | {
|
|
31648
|
+
/** The ID of the action attempt. */
|
|
31649
|
+
action_attempt_id: string;
|
|
31650
|
+
status: 'error';
|
|
31651
|
+
result: null;
|
|
31652
|
+
action_type: 'ACTIVATE_CLIMATE_PRESET';
|
|
31653
|
+
error: {
|
|
31654
|
+
type: string;
|
|
31655
|
+
message: string;
|
|
31656
|
+
};
|
|
31657
|
+
} | {
|
|
31658
|
+
/** The ID of the action attempt. */
|
|
31659
|
+
action_attempt_id: string;
|
|
31660
|
+
status: 'pending';
|
|
31661
|
+
result: null;
|
|
31662
|
+
error: null;
|
|
31663
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
31664
|
+
} | {
|
|
31665
|
+
/** The ID of the action attempt. */
|
|
31666
|
+
action_attempt_id: string;
|
|
31667
|
+
status: 'success';
|
|
31668
|
+
error: null;
|
|
31669
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
31670
|
+
result?: any;
|
|
31671
|
+
} | {
|
|
31672
|
+
/** The ID of the action attempt. */
|
|
31673
|
+
action_attempt_id: string;
|
|
31674
|
+
status: 'error';
|
|
31675
|
+
result: null;
|
|
31676
|
+
action_type: 'SYNC_ACCESS_CODES';
|
|
31677
|
+
error: {
|
|
31678
|
+
type: string;
|
|
31679
|
+
message: string;
|
|
31680
|
+
};
|
|
31681
|
+
} | {
|
|
31682
|
+
/** The ID of the action attempt. */
|
|
31683
|
+
action_attempt_id: string;
|
|
31684
|
+
status: 'pending';
|
|
31685
|
+
result: null;
|
|
31686
|
+
error: null;
|
|
31687
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
31688
|
+
} | {
|
|
31689
|
+
/** The ID of the action attempt. */
|
|
31690
|
+
action_attempt_id: string;
|
|
31691
|
+
status: 'success';
|
|
31692
|
+
error: null;
|
|
31693
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
31694
|
+
result?: any;
|
|
31695
|
+
} | {
|
|
31696
|
+
/** The ID of the action attempt. */
|
|
31697
|
+
action_attempt_id: string;
|
|
31698
|
+
status: 'error';
|
|
31699
|
+
result: null;
|
|
31700
|
+
action_type: 'CREATE_ACCESS_CODE';
|
|
31701
|
+
error: {
|
|
31702
|
+
type: string;
|
|
31703
|
+
message: string;
|
|
31704
|
+
};
|
|
31705
|
+
} | {
|
|
31706
|
+
/** The ID of the action attempt. */
|
|
31707
|
+
action_attempt_id: string;
|
|
31708
|
+
status: 'pending';
|
|
31709
|
+
result: null;
|
|
31710
|
+
error: null;
|
|
31711
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
31712
|
+
} | {
|
|
31713
|
+
/** The ID of the action attempt. */
|
|
31714
|
+
action_attempt_id: string;
|
|
31715
|
+
status: 'success';
|
|
31716
|
+
error: null;
|
|
31717
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
31718
|
+
result?: any;
|
|
31719
|
+
} | {
|
|
31720
|
+
/** The ID of the action attempt. */
|
|
31721
|
+
action_attempt_id: string;
|
|
31722
|
+
status: 'error';
|
|
31723
|
+
result: null;
|
|
31724
|
+
action_type: 'DELETE_ACCESS_CODE';
|
|
31725
|
+
error: {
|
|
31726
|
+
type: string;
|
|
31727
|
+
message: string;
|
|
31728
|
+
};
|
|
31729
|
+
} | {
|
|
31730
|
+
/** The ID of the action attempt. */
|
|
31731
|
+
action_attempt_id: string;
|
|
31732
|
+
status: 'pending';
|
|
31733
|
+
result: null;
|
|
31734
|
+
error: null;
|
|
31735
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
31736
|
+
} | {
|
|
31737
|
+
/** The ID of the action attempt. */
|
|
31738
|
+
action_attempt_id: string;
|
|
31739
|
+
status: 'success';
|
|
31740
|
+
error: null;
|
|
31741
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
31742
|
+
result?: any;
|
|
31743
|
+
} | {
|
|
31744
|
+
/** The ID of the action attempt. */
|
|
31745
|
+
action_attempt_id: string;
|
|
31746
|
+
status: 'error';
|
|
31747
|
+
result: null;
|
|
31748
|
+
action_type: 'UPDATE_ACCESS_CODE';
|
|
31749
|
+
error: {
|
|
31750
|
+
type: string;
|
|
31751
|
+
message: string;
|
|
31752
|
+
};
|
|
31753
|
+
} | {
|
|
31754
|
+
/** The ID of the action attempt. */
|
|
31755
|
+
action_attempt_id: string;
|
|
31756
|
+
status: 'pending';
|
|
31757
|
+
result: null;
|
|
31758
|
+
error: null;
|
|
31759
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
31760
|
+
} | {
|
|
31761
|
+
/** The ID of the action attempt. */
|
|
31762
|
+
action_attempt_id: string;
|
|
31763
|
+
status: 'success';
|
|
31764
|
+
error: null;
|
|
31765
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
31766
|
+
result?: any;
|
|
31767
|
+
} | {
|
|
31768
|
+
/** The ID of the action attempt. */
|
|
31769
|
+
action_attempt_id: string;
|
|
31770
|
+
status: 'error';
|
|
31771
|
+
result: null;
|
|
31772
|
+
action_type: 'CREATE_NOISE_THRESHOLD';
|
|
31773
|
+
error: {
|
|
31774
|
+
type: string;
|
|
31775
|
+
message: string;
|
|
31776
|
+
};
|
|
31777
|
+
} | {
|
|
31778
|
+
/** The ID of the action attempt. */
|
|
31779
|
+
action_attempt_id: string;
|
|
31780
|
+
status: 'pending';
|
|
31781
|
+
result: null;
|
|
31782
|
+
error: null;
|
|
31783
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
31784
|
+
} | {
|
|
31785
|
+
/** The ID of the action attempt. */
|
|
31786
|
+
action_attempt_id: string;
|
|
31787
|
+
status: 'success';
|
|
31788
|
+
error: null;
|
|
31789
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
31790
|
+
result?: any;
|
|
31791
|
+
} | {
|
|
31792
|
+
/** The ID of the action attempt. */
|
|
31793
|
+
action_attempt_id: string;
|
|
31794
|
+
status: 'error';
|
|
31795
|
+
result: null;
|
|
31796
|
+
action_type: 'DELETE_NOISE_THRESHOLD';
|
|
31797
|
+
error: {
|
|
31798
|
+
type: string;
|
|
31799
|
+
message: string;
|
|
31800
|
+
};
|
|
31801
|
+
} | {
|
|
31802
|
+
/** The ID of the action attempt. */
|
|
31803
|
+
action_attempt_id: string;
|
|
31804
|
+
status: 'pending';
|
|
31805
|
+
result: null;
|
|
31806
|
+
error: null;
|
|
31807
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
31808
|
+
} | {
|
|
31809
|
+
/** The ID of the action attempt. */
|
|
31810
|
+
action_attempt_id: string;
|
|
31811
|
+
status: 'success';
|
|
31812
|
+
error: null;
|
|
31813
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
31814
|
+
result?: any;
|
|
31815
|
+
} | {
|
|
31816
|
+
/** The ID of the action attempt. */
|
|
31817
|
+
action_attempt_id: string;
|
|
31818
|
+
status: 'error';
|
|
31819
|
+
result: null;
|
|
31820
|
+
action_type: 'UPDATE_NOISE_THRESHOLD';
|
|
31821
|
+
error: {
|
|
31822
|
+
type: string;
|
|
31823
|
+
message: string;
|
|
31824
|
+
};
|
|
31825
|
+
};
|
|
31826
|
+
};
|
|
31827
|
+
};
|
|
30979
31828
|
'/acs/encoders/read_card': {
|
|
30980
31829
|
route: '/acs/encoders/read_card';
|
|
30981
31830
|
method: 'POST';
|
|
@@ -31066,6 +31915,35 @@ interface Routes {
|
|
|
31066
31915
|
type: string;
|
|
31067
31916
|
message: string;
|
|
31068
31917
|
};
|
|
31918
|
+
} | {
|
|
31919
|
+
/** The ID of the action attempt. */
|
|
31920
|
+
action_attempt_id: string;
|
|
31921
|
+
status: 'pending';
|
|
31922
|
+
result: null;
|
|
31923
|
+
error: null;
|
|
31924
|
+
action_type: 'ENCODE_CARD';
|
|
31925
|
+
} | {
|
|
31926
|
+
/** The ID of the action attempt. */
|
|
31927
|
+
action_attempt_id: string;
|
|
31928
|
+
status: 'success';
|
|
31929
|
+
error: null;
|
|
31930
|
+
action_type: 'ENCODE_CARD';
|
|
31931
|
+
result: {
|
|
31932
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
31933
|
+
acs_credential_id: string | null;
|
|
31934
|
+
/** A number or sting that physically identifies this card. */
|
|
31935
|
+
card_number: string | null;
|
|
31936
|
+
};
|
|
31937
|
+
} | {
|
|
31938
|
+
/** The ID of the action attempt. */
|
|
31939
|
+
action_attempt_id: string;
|
|
31940
|
+
status: 'error';
|
|
31941
|
+
result: null;
|
|
31942
|
+
action_type: 'ENCODE_CARD';
|
|
31943
|
+
error: {
|
|
31944
|
+
type: string;
|
|
31945
|
+
message: string;
|
|
31946
|
+
};
|
|
31069
31947
|
} | {
|
|
31070
31948
|
/** The ID of the action attempt. */
|
|
31071
31949
|
action_attempt_id: string;
|
|
@@ -31438,6 +32316,16 @@ interface Routes {
|
|
|
31438
32316
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
31439
32317
|
}> | undefined;
|
|
31440
32318
|
} | undefined;
|
|
32319
|
+
salto_ks_metadata?: {
|
|
32320
|
+
door_name: string;
|
|
32321
|
+
locked_state: string;
|
|
32322
|
+
lock_type: string;
|
|
32323
|
+
online: boolean;
|
|
32324
|
+
battery_level: string;
|
|
32325
|
+
left_open_alarm: boolean;
|
|
32326
|
+
intrusion_alarm: boolean;
|
|
32327
|
+
privacy_mode: boolean;
|
|
32328
|
+
} | undefined;
|
|
31441
32329
|
};
|
|
31442
32330
|
};
|
|
31443
32331
|
};
|
|
@@ -31487,6 +32375,16 @@ interface Routes {
|
|
|
31487
32375
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
31488
32376
|
}> | undefined;
|
|
31489
32377
|
} | undefined;
|
|
32378
|
+
salto_ks_metadata?: {
|
|
32379
|
+
door_name: string;
|
|
32380
|
+
locked_state: string;
|
|
32381
|
+
lock_type: string;
|
|
32382
|
+
online: boolean;
|
|
32383
|
+
battery_level: string;
|
|
32384
|
+
left_open_alarm: boolean;
|
|
32385
|
+
intrusion_alarm: boolean;
|
|
32386
|
+
privacy_mode: boolean;
|
|
32387
|
+
} | undefined;
|
|
31490
32388
|
}>;
|
|
31491
32389
|
};
|
|
31492
32390
|
};
|
|
@@ -32236,6 +33134,16 @@ interface Routes {
|
|
|
32236
33134
|
visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
|
|
32237
33135
|
}> | undefined;
|
|
32238
33136
|
} | undefined;
|
|
33137
|
+
salto_ks_metadata?: {
|
|
33138
|
+
door_name: string;
|
|
33139
|
+
locked_state: string;
|
|
33140
|
+
lock_type: string;
|
|
33141
|
+
online: boolean;
|
|
33142
|
+
battery_level: string;
|
|
33143
|
+
left_open_alarm: boolean;
|
|
33144
|
+
intrusion_alarm: boolean;
|
|
33145
|
+
privacy_mode: boolean;
|
|
33146
|
+
} | undefined;
|
|
32239
33147
|
}>;
|
|
32240
33148
|
};
|
|
32241
33149
|
};
|
|
@@ -32607,6 +33515,35 @@ interface Routes {
|
|
|
32607
33515
|
type: string;
|
|
32608
33516
|
message: string;
|
|
32609
33517
|
};
|
|
33518
|
+
} | {
|
|
33519
|
+
/** The ID of the action attempt. */
|
|
33520
|
+
action_attempt_id: string;
|
|
33521
|
+
status: 'pending';
|
|
33522
|
+
result: null;
|
|
33523
|
+
error: null;
|
|
33524
|
+
action_type: 'ENCODE_CARD';
|
|
33525
|
+
} | {
|
|
33526
|
+
/** The ID of the action attempt. */
|
|
33527
|
+
action_attempt_id: string;
|
|
33528
|
+
status: 'success';
|
|
33529
|
+
error: null;
|
|
33530
|
+
action_type: 'ENCODE_CARD';
|
|
33531
|
+
result: {
|
|
33532
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
33533
|
+
acs_credential_id: string | null;
|
|
33534
|
+
/** A number or sting that physically identifies this card. */
|
|
33535
|
+
card_number: string | null;
|
|
33536
|
+
};
|
|
33537
|
+
} | {
|
|
33538
|
+
/** The ID of the action attempt. */
|
|
33539
|
+
action_attempt_id: string;
|
|
33540
|
+
status: 'error';
|
|
33541
|
+
result: null;
|
|
33542
|
+
action_type: 'ENCODE_CARD';
|
|
33543
|
+
error: {
|
|
33544
|
+
type: string;
|
|
33545
|
+
message: string;
|
|
33546
|
+
};
|
|
32610
33547
|
} | {
|
|
32611
33548
|
/** The ID of the action attempt. */
|
|
32612
33549
|
action_attempt_id: string;
|
|
@@ -33033,6 +33970,35 @@ interface Routes {
|
|
|
33033
33970
|
type: string;
|
|
33034
33971
|
message: string;
|
|
33035
33972
|
};
|
|
33973
|
+
} | {
|
|
33974
|
+
/** The ID of the action attempt. */
|
|
33975
|
+
action_attempt_id: string;
|
|
33976
|
+
status: 'pending';
|
|
33977
|
+
result: null;
|
|
33978
|
+
error: null;
|
|
33979
|
+
action_type: 'ENCODE_CARD';
|
|
33980
|
+
} | {
|
|
33981
|
+
/** The ID of the action attempt. */
|
|
33982
|
+
action_attempt_id: string;
|
|
33983
|
+
status: 'success';
|
|
33984
|
+
error: null;
|
|
33985
|
+
action_type: 'ENCODE_CARD';
|
|
33986
|
+
result: {
|
|
33987
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
33988
|
+
acs_credential_id: string | null;
|
|
33989
|
+
/** A number or sting that physically identifies this card. */
|
|
33990
|
+
card_number: string | null;
|
|
33991
|
+
};
|
|
33992
|
+
} | {
|
|
33993
|
+
/** The ID of the action attempt. */
|
|
33994
|
+
action_attempt_id: string;
|
|
33995
|
+
status: 'error';
|
|
33996
|
+
result: null;
|
|
33997
|
+
action_type: 'ENCODE_CARD';
|
|
33998
|
+
error: {
|
|
33999
|
+
type: string;
|
|
34000
|
+
message: string;
|
|
34001
|
+
};
|
|
33036
34002
|
} | {
|
|
33037
34003
|
/** The ID of the action attempt. */
|
|
33038
34004
|
action_attempt_id: string;
|
|
@@ -36981,6 +37947,35 @@ interface Routes {
|
|
|
36981
37947
|
type: string;
|
|
36982
37948
|
message: string;
|
|
36983
37949
|
};
|
|
37950
|
+
} | {
|
|
37951
|
+
/** The ID of the action attempt. */
|
|
37952
|
+
action_attempt_id: string;
|
|
37953
|
+
status: 'pending';
|
|
37954
|
+
result: null;
|
|
37955
|
+
error: null;
|
|
37956
|
+
action_type: 'ENCODE_CARD';
|
|
37957
|
+
} | {
|
|
37958
|
+
/** The ID of the action attempt. */
|
|
37959
|
+
action_attempt_id: string;
|
|
37960
|
+
status: 'success';
|
|
37961
|
+
error: null;
|
|
37962
|
+
action_type: 'ENCODE_CARD';
|
|
37963
|
+
result: {
|
|
37964
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
37965
|
+
acs_credential_id: string | null;
|
|
37966
|
+
/** A number or sting that physically identifies this card. */
|
|
37967
|
+
card_number: string | null;
|
|
37968
|
+
};
|
|
37969
|
+
} | {
|
|
37970
|
+
/** The ID of the action attempt. */
|
|
37971
|
+
action_attempt_id: string;
|
|
37972
|
+
status: 'error';
|
|
37973
|
+
result: null;
|
|
37974
|
+
action_type: 'ENCODE_CARD';
|
|
37975
|
+
error: {
|
|
37976
|
+
type: string;
|
|
37977
|
+
message: string;
|
|
37978
|
+
};
|
|
36984
37979
|
} | {
|
|
36985
37980
|
/** The ID of the action attempt. */
|
|
36986
37981
|
action_attempt_id: string;
|
|
@@ -37408,6 +38403,35 @@ interface Routes {
|
|
|
37408
38403
|
type: string;
|
|
37409
38404
|
message: string;
|
|
37410
38405
|
};
|
|
38406
|
+
} | {
|
|
38407
|
+
/** The ID of the action attempt. */
|
|
38408
|
+
action_attempt_id: string;
|
|
38409
|
+
status: 'pending';
|
|
38410
|
+
result: null;
|
|
38411
|
+
error: null;
|
|
38412
|
+
action_type: 'ENCODE_CARD';
|
|
38413
|
+
} | {
|
|
38414
|
+
/** The ID of the action attempt. */
|
|
38415
|
+
action_attempt_id: string;
|
|
38416
|
+
status: 'success';
|
|
38417
|
+
error: null;
|
|
38418
|
+
action_type: 'ENCODE_CARD';
|
|
38419
|
+
result: {
|
|
38420
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
38421
|
+
acs_credential_id: string | null;
|
|
38422
|
+
/** A number or sting that physically identifies this card. */
|
|
38423
|
+
card_number: string | null;
|
|
38424
|
+
};
|
|
38425
|
+
} | {
|
|
38426
|
+
/** The ID of the action attempt. */
|
|
38427
|
+
action_attempt_id: string;
|
|
38428
|
+
status: 'error';
|
|
38429
|
+
result: null;
|
|
38430
|
+
action_type: 'ENCODE_CARD';
|
|
38431
|
+
error: {
|
|
38432
|
+
type: string;
|
|
38433
|
+
message: string;
|
|
38434
|
+
};
|
|
37411
38435
|
} | {
|
|
37412
38436
|
/** The ID of the action attempt. */
|
|
37413
38437
|
action_attempt_id: string;
|
|
@@ -38769,6 +39793,35 @@ interface Routes {
|
|
|
38769
39793
|
type: string;
|
|
38770
39794
|
message: string;
|
|
38771
39795
|
};
|
|
39796
|
+
} | {
|
|
39797
|
+
/** The ID of the action attempt. */
|
|
39798
|
+
action_attempt_id: string;
|
|
39799
|
+
status: 'pending';
|
|
39800
|
+
result: null;
|
|
39801
|
+
error: null;
|
|
39802
|
+
action_type: 'ENCODE_CARD';
|
|
39803
|
+
} | {
|
|
39804
|
+
/** The ID of the action attempt. */
|
|
39805
|
+
action_attempt_id: string;
|
|
39806
|
+
status: 'success';
|
|
39807
|
+
error: null;
|
|
39808
|
+
action_type: 'ENCODE_CARD';
|
|
39809
|
+
result: {
|
|
39810
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
39811
|
+
acs_credential_id: string | null;
|
|
39812
|
+
/** A number or sting that physically identifies this card. */
|
|
39813
|
+
card_number: string | null;
|
|
39814
|
+
};
|
|
39815
|
+
} | {
|
|
39816
|
+
/** The ID of the action attempt. */
|
|
39817
|
+
action_attempt_id: string;
|
|
39818
|
+
status: 'error';
|
|
39819
|
+
result: null;
|
|
39820
|
+
action_type: 'ENCODE_CARD';
|
|
39821
|
+
error: {
|
|
39822
|
+
type: string;
|
|
39823
|
+
message: string;
|
|
39824
|
+
};
|
|
38772
39825
|
} | {
|
|
38773
39826
|
/** The ID of the action attempt. */
|
|
38774
39827
|
action_attempt_id: string;
|
|
@@ -39206,6 +40259,35 @@ interface Routes {
|
|
|
39206
40259
|
type: string;
|
|
39207
40260
|
message: string;
|
|
39208
40261
|
};
|
|
40262
|
+
} | {
|
|
40263
|
+
/** The ID of the action attempt. */
|
|
40264
|
+
action_attempt_id: string;
|
|
40265
|
+
status: 'pending';
|
|
40266
|
+
result: null;
|
|
40267
|
+
error: null;
|
|
40268
|
+
action_type: 'ENCODE_CARD';
|
|
40269
|
+
} | {
|
|
40270
|
+
/** The ID of the action attempt. */
|
|
40271
|
+
action_attempt_id: string;
|
|
40272
|
+
status: 'success';
|
|
40273
|
+
error: null;
|
|
40274
|
+
action_type: 'ENCODE_CARD';
|
|
40275
|
+
result: {
|
|
40276
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
40277
|
+
acs_credential_id: string | null;
|
|
40278
|
+
/** A number or sting that physically identifies this card. */
|
|
40279
|
+
card_number: string | null;
|
|
40280
|
+
};
|
|
40281
|
+
} | {
|
|
40282
|
+
/** The ID of the action attempt. */
|
|
40283
|
+
action_attempt_id: string;
|
|
40284
|
+
status: 'error';
|
|
40285
|
+
result: null;
|
|
40286
|
+
action_type: 'ENCODE_CARD';
|
|
40287
|
+
error: {
|
|
40288
|
+
type: string;
|
|
40289
|
+
message: string;
|
|
40290
|
+
};
|
|
39209
40291
|
} | {
|
|
39210
40292
|
/** The ID of the action attempt. */
|
|
39211
40293
|
action_attempt_id: string;
|
|
@@ -39682,6 +40764,35 @@ interface Routes {
|
|
|
39682
40764
|
type: string;
|
|
39683
40765
|
message: string;
|
|
39684
40766
|
};
|
|
40767
|
+
} | {
|
|
40768
|
+
/** The ID of the action attempt. */
|
|
40769
|
+
action_attempt_id: string;
|
|
40770
|
+
status: 'pending';
|
|
40771
|
+
result: null;
|
|
40772
|
+
error: null;
|
|
40773
|
+
action_type: 'ENCODE_CARD';
|
|
40774
|
+
} | {
|
|
40775
|
+
/** The ID of the action attempt. */
|
|
40776
|
+
action_attempt_id: string;
|
|
40777
|
+
status: 'success';
|
|
40778
|
+
error: null;
|
|
40779
|
+
action_type: 'ENCODE_CARD';
|
|
40780
|
+
result: {
|
|
40781
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
40782
|
+
acs_credential_id: string | null;
|
|
40783
|
+
/** A number or sting that physically identifies this card. */
|
|
40784
|
+
card_number: string | null;
|
|
40785
|
+
};
|
|
40786
|
+
} | {
|
|
40787
|
+
/** The ID of the action attempt. */
|
|
40788
|
+
action_attempt_id: string;
|
|
40789
|
+
status: 'error';
|
|
40790
|
+
result: null;
|
|
40791
|
+
action_type: 'ENCODE_CARD';
|
|
40792
|
+
error: {
|
|
40793
|
+
type: string;
|
|
40794
|
+
message: string;
|
|
40795
|
+
};
|
|
39685
40796
|
} | {
|
|
39686
40797
|
/** The ID of the action attempt. */
|
|
39687
40798
|
action_attempt_id: string;
|
|
@@ -40291,6 +41402,35 @@ interface Routes {
|
|
|
40291
41402
|
type: string;
|
|
40292
41403
|
message: string;
|
|
40293
41404
|
};
|
|
41405
|
+
} | {
|
|
41406
|
+
/** The ID of the action attempt. */
|
|
41407
|
+
action_attempt_id: string;
|
|
41408
|
+
status: 'pending';
|
|
41409
|
+
result: null;
|
|
41410
|
+
error: null;
|
|
41411
|
+
action_type: 'ENCODE_CARD';
|
|
41412
|
+
} | {
|
|
41413
|
+
/** The ID of the action attempt. */
|
|
41414
|
+
action_attempt_id: string;
|
|
41415
|
+
status: 'success';
|
|
41416
|
+
error: null;
|
|
41417
|
+
action_type: 'ENCODE_CARD';
|
|
41418
|
+
result: {
|
|
41419
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
41420
|
+
acs_credential_id: string | null;
|
|
41421
|
+
/** A number or sting that physically identifies this card. */
|
|
41422
|
+
card_number: string | null;
|
|
41423
|
+
};
|
|
41424
|
+
} | {
|
|
41425
|
+
/** The ID of the action attempt. */
|
|
41426
|
+
action_attempt_id: string;
|
|
41427
|
+
status: 'error';
|
|
41428
|
+
result: null;
|
|
41429
|
+
action_type: 'ENCODE_CARD';
|
|
41430
|
+
error: {
|
|
41431
|
+
type: string;
|
|
41432
|
+
message: string;
|
|
41433
|
+
};
|
|
40294
41434
|
} | {
|
|
40295
41435
|
/** The ID of the action attempt. */
|
|
40296
41436
|
action_attempt_id: string;
|
|
@@ -40720,6 +41860,35 @@ interface Routes {
|
|
|
40720
41860
|
type: string;
|
|
40721
41861
|
message: string;
|
|
40722
41862
|
};
|
|
41863
|
+
} | {
|
|
41864
|
+
/** The ID of the action attempt. */
|
|
41865
|
+
action_attempt_id: string;
|
|
41866
|
+
status: 'pending';
|
|
41867
|
+
result: null;
|
|
41868
|
+
error: null;
|
|
41869
|
+
action_type: 'ENCODE_CARD';
|
|
41870
|
+
} | {
|
|
41871
|
+
/** The ID of the action attempt. */
|
|
41872
|
+
action_attempt_id: string;
|
|
41873
|
+
status: 'success';
|
|
41874
|
+
error: null;
|
|
41875
|
+
action_type: 'ENCODE_CARD';
|
|
41876
|
+
result: {
|
|
41877
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
41878
|
+
acs_credential_id: string | null;
|
|
41879
|
+
/** A number or sting that physically identifies this card. */
|
|
41880
|
+
card_number: string | null;
|
|
41881
|
+
};
|
|
41882
|
+
} | {
|
|
41883
|
+
/** The ID of the action attempt. */
|
|
41884
|
+
action_attempt_id: string;
|
|
41885
|
+
status: 'error';
|
|
41886
|
+
result: null;
|
|
41887
|
+
action_type: 'ENCODE_CARD';
|
|
41888
|
+
error: {
|
|
41889
|
+
type: string;
|
|
41890
|
+
message: string;
|
|
41891
|
+
};
|
|
40723
41892
|
} | {
|
|
40724
41893
|
/** The ID of the action attempt. */
|
|
40725
41894
|
action_attempt_id: string;
|
|
@@ -41644,6 +42813,35 @@ interface Routes {
|
|
|
41644
42813
|
type: string;
|
|
41645
42814
|
message: string;
|
|
41646
42815
|
};
|
|
42816
|
+
} | {
|
|
42817
|
+
/** The ID of the action attempt. */
|
|
42818
|
+
action_attempt_id: string;
|
|
42819
|
+
status: 'pending';
|
|
42820
|
+
result: null;
|
|
42821
|
+
error: null;
|
|
42822
|
+
action_type: 'ENCODE_CARD';
|
|
42823
|
+
} | {
|
|
42824
|
+
/** The ID of the action attempt. */
|
|
42825
|
+
action_attempt_id: string;
|
|
42826
|
+
status: 'success';
|
|
42827
|
+
error: null;
|
|
42828
|
+
action_type: 'ENCODE_CARD';
|
|
42829
|
+
result: {
|
|
42830
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
42831
|
+
acs_credential_id: string | null;
|
|
42832
|
+
/** A number or sting that physically identifies this card. */
|
|
42833
|
+
card_number: string | null;
|
|
42834
|
+
};
|
|
42835
|
+
} | {
|
|
42836
|
+
/** The ID of the action attempt. */
|
|
42837
|
+
action_attempt_id: string;
|
|
42838
|
+
status: 'error';
|
|
42839
|
+
result: null;
|
|
42840
|
+
action_type: 'ENCODE_CARD';
|
|
42841
|
+
error: {
|
|
42842
|
+
type: string;
|
|
42843
|
+
message: string;
|
|
42844
|
+
};
|
|
41647
42845
|
} | {
|
|
41648
42846
|
/** The ID of the action attempt. */
|
|
41649
42847
|
action_attempt_id: string;
|
|
@@ -42075,6 +43273,35 @@ interface Routes {
|
|
|
42075
43273
|
type: string;
|
|
42076
43274
|
message: string;
|
|
42077
43275
|
};
|
|
43276
|
+
} | {
|
|
43277
|
+
/** The ID of the action attempt. */
|
|
43278
|
+
action_attempt_id: string;
|
|
43279
|
+
status: 'pending';
|
|
43280
|
+
result: null;
|
|
43281
|
+
error: null;
|
|
43282
|
+
action_type: 'ENCODE_CARD';
|
|
43283
|
+
} | {
|
|
43284
|
+
/** The ID of the action attempt. */
|
|
43285
|
+
action_attempt_id: string;
|
|
43286
|
+
status: 'success';
|
|
43287
|
+
error: null;
|
|
43288
|
+
action_type: 'ENCODE_CARD';
|
|
43289
|
+
result: {
|
|
43290
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
43291
|
+
acs_credential_id: string | null;
|
|
43292
|
+
/** A number or sting that physically identifies this card. */
|
|
43293
|
+
card_number: string | null;
|
|
43294
|
+
};
|
|
43295
|
+
} | {
|
|
43296
|
+
/** The ID of the action attempt. */
|
|
43297
|
+
action_attempt_id: string;
|
|
43298
|
+
status: 'error';
|
|
43299
|
+
result: null;
|
|
43300
|
+
action_type: 'ENCODE_CARD';
|
|
43301
|
+
error: {
|
|
43302
|
+
type: string;
|
|
43303
|
+
message: string;
|
|
43304
|
+
};
|
|
42078
43305
|
} | {
|
|
42079
43306
|
/** The ID of the action attempt. */
|
|
42080
43307
|
action_attempt_id: string;
|
|
@@ -42962,6 +44189,35 @@ interface Routes {
|
|
|
42962
44189
|
type: string;
|
|
42963
44190
|
message: string;
|
|
42964
44191
|
};
|
|
44192
|
+
} | {
|
|
44193
|
+
/** The ID of the action attempt. */
|
|
44194
|
+
action_attempt_id: string;
|
|
44195
|
+
status: 'pending';
|
|
44196
|
+
result: null;
|
|
44197
|
+
error: null;
|
|
44198
|
+
action_type: 'ENCODE_CARD';
|
|
44199
|
+
} | {
|
|
44200
|
+
/** The ID of the action attempt. */
|
|
44201
|
+
action_attempt_id: string;
|
|
44202
|
+
status: 'success';
|
|
44203
|
+
error: null;
|
|
44204
|
+
action_type: 'ENCODE_CARD';
|
|
44205
|
+
result: {
|
|
44206
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
44207
|
+
acs_credential_id: string | null;
|
|
44208
|
+
/** A number or sting that physically identifies this card. */
|
|
44209
|
+
card_number: string | null;
|
|
44210
|
+
};
|
|
44211
|
+
} | {
|
|
44212
|
+
/** The ID of the action attempt. */
|
|
44213
|
+
action_attempt_id: string;
|
|
44214
|
+
status: 'error';
|
|
44215
|
+
result: null;
|
|
44216
|
+
action_type: 'ENCODE_CARD';
|
|
44217
|
+
error: {
|
|
44218
|
+
type: string;
|
|
44219
|
+
message: string;
|
|
44220
|
+
};
|
|
42965
44221
|
} | {
|
|
42966
44222
|
/** The ID of the action attempt. */
|
|
42967
44223
|
action_attempt_id: string;
|
|
@@ -43510,6 +44766,35 @@ interface Routes {
|
|
|
43510
44766
|
type: string;
|
|
43511
44767
|
message: string;
|
|
43512
44768
|
};
|
|
44769
|
+
} | {
|
|
44770
|
+
/** The ID of the action attempt. */
|
|
44771
|
+
action_attempt_id: string;
|
|
44772
|
+
status: 'pending';
|
|
44773
|
+
result: null;
|
|
44774
|
+
error: null;
|
|
44775
|
+
action_type: 'ENCODE_CARD';
|
|
44776
|
+
} | {
|
|
44777
|
+
/** The ID of the action attempt. */
|
|
44778
|
+
action_attempt_id: string;
|
|
44779
|
+
status: 'success';
|
|
44780
|
+
error: null;
|
|
44781
|
+
action_type: 'ENCODE_CARD';
|
|
44782
|
+
result: {
|
|
44783
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
44784
|
+
acs_credential_id: string | null;
|
|
44785
|
+
/** A number or sting that physically identifies this card. */
|
|
44786
|
+
card_number: string | null;
|
|
44787
|
+
};
|
|
44788
|
+
} | {
|
|
44789
|
+
/** The ID of the action attempt. */
|
|
44790
|
+
action_attempt_id: string;
|
|
44791
|
+
status: 'error';
|
|
44792
|
+
result: null;
|
|
44793
|
+
action_type: 'ENCODE_CARD';
|
|
44794
|
+
error: {
|
|
44795
|
+
type: string;
|
|
44796
|
+
message: string;
|
|
44797
|
+
};
|
|
43513
44798
|
} | {
|
|
43514
44799
|
/** The ID of the action attempt. */
|
|
43515
44800
|
action_attempt_id: string;
|
|
@@ -45398,6 +46683,35 @@ interface Routes {
|
|
|
45398
46683
|
type: string;
|
|
45399
46684
|
message: string;
|
|
45400
46685
|
};
|
|
46686
|
+
} | {
|
|
46687
|
+
/** The ID of the action attempt. */
|
|
46688
|
+
action_attempt_id: string;
|
|
46689
|
+
status: 'pending';
|
|
46690
|
+
result: null;
|
|
46691
|
+
error: null;
|
|
46692
|
+
action_type: 'ENCODE_CARD';
|
|
46693
|
+
} | {
|
|
46694
|
+
/** The ID of the action attempt. */
|
|
46695
|
+
action_attempt_id: string;
|
|
46696
|
+
status: 'success';
|
|
46697
|
+
error: null;
|
|
46698
|
+
action_type: 'ENCODE_CARD';
|
|
46699
|
+
result: {
|
|
46700
|
+
/** Matching acs_credential currently encoded on this card. */
|
|
46701
|
+
acs_credential_id: string | null;
|
|
46702
|
+
/** A number or sting that physically identifies this card. */
|
|
46703
|
+
card_number: string | null;
|
|
46704
|
+
};
|
|
46705
|
+
} | {
|
|
46706
|
+
/** The ID of the action attempt. */
|
|
46707
|
+
action_attempt_id: string;
|
|
46708
|
+
status: 'error';
|
|
46709
|
+
result: null;
|
|
46710
|
+
action_type: 'ENCODE_CARD';
|
|
46711
|
+
error: {
|
|
46712
|
+
type: string;
|
|
46713
|
+
message: string;
|
|
46714
|
+
};
|
|
45401
46715
|
} | {
|
|
45402
46716
|
/** The ID of the action attempt. */
|
|
45403
46717
|
action_attempt_id: string;
|