@seamapi/http 1.4.0 → 1.6.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 +64 -28
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +189 -34
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +180 -0
- package/lib/seam/connect/routes/acs-credentials.d.ts +4 -0
- package/lib/seam/connect/routes/acs-credentials.js +9 -0
- package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
- package/lib/seam/connect/routes/index.d.ts +1 -1
- package/lib/seam/connect/routes/index.js +1 -1
- package/lib/seam/connect/routes/index.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-schedules.d.ts +37 -0
- package/lib/seam/connect/routes/{thermostats-climate-setting-schedules.js → thermostats-schedules.js} +16 -16
- package/lib/seam/connect/routes/thermostats-schedules.js.map +1 -0
- package/lib/seam/connect/routes/thermostats.d.ts +22 -6
- package/lib/seam/connect/routes/thermostats.js +38 -5
- package/lib/seam/connect/routes/thermostats.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/src/lib/seam/connect/routes/acs-credentials.ts +25 -0
- package/src/lib/seam/connect/routes/index.ts +1 -1
- package/src/lib/seam/connect/routes/{thermostats-climate-setting-schedules.ts → thermostats-schedules.ts} +55 -64
- package/src/lib/seam/connect/routes/thermostats.ts +100 -12
- package/src/lib/version.ts +1 -1
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.d.ts +0 -37
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.js.map +0 -1
package/dist/connect.d.cts
CHANGED
|
@@ -269,6 +269,7 @@ declare class SeamHttpAcsCredentials {
|
|
|
269
269
|
get(body?: AcsCredentialsGetParams): SeamHttpRequest<AcsCredentialsGetResponse, 'acs_credential'>;
|
|
270
270
|
list(body?: AcsCredentialsListParams): SeamHttpRequest<AcsCredentialsListResponse, 'acs_credentials'>;
|
|
271
271
|
listAccessibleEntrances(body?: AcsCredentialsListAccessibleEntrancesParams): SeamHttpRequest<AcsCredentialsListAccessibleEntrancesResponse, 'acs_entrances'>;
|
|
272
|
+
readCard(body?: AcsCredentialsReadCardBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<AcsCredentialsReadCardResponse, 'action_attempt'>;
|
|
272
273
|
unassign(body?: AcsCredentialsUnassignBody): SeamHttpRequest<void, undefined>;
|
|
273
274
|
update(body?: AcsCredentialsUpdateBody): SeamHttpRequest<void, undefined>;
|
|
274
275
|
}
|
|
@@ -290,6 +291,9 @@ type AcsCredentialsListOptions = never;
|
|
|
290
291
|
type AcsCredentialsListAccessibleEntrancesParams = RouteRequestBody<'/acs/credentials/list_accessible_entrances'>;
|
|
291
292
|
type AcsCredentialsListAccessibleEntrancesResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/list_accessible_entrances'>>>;
|
|
292
293
|
type AcsCredentialsListAccessibleEntrancesOptions = never;
|
|
294
|
+
type AcsCredentialsReadCardBody = RouteRequestBody<'/acs/credentials/read_card'>;
|
|
295
|
+
type AcsCredentialsReadCardResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/read_card'>>>;
|
|
296
|
+
type AcsCredentialsReadCardOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
|
|
293
297
|
type AcsCredentialsUnassignBody = RouteRequestBody<'/acs/credentials/unassign'>;
|
|
294
298
|
type AcsCredentialsUnassignResponse = SetNonNullable<Required<RouteResponse<'/acs/credentials/unassign'>>>;
|
|
295
299
|
type AcsCredentialsUnassignOptions = never;
|
|
@@ -834,38 +838,38 @@ type PhonesListParams = RouteRequestBody<'/phones/list'>;
|
|
|
834
838
|
type PhonesListResponse = SetNonNullable<Required<RouteResponse<'/phones/list'>>>;
|
|
835
839
|
type PhonesListOptions = never;
|
|
836
840
|
|
|
837
|
-
declare class
|
|
841
|
+
declare class SeamHttpThermostatsSchedules {
|
|
838
842
|
client: Client;
|
|
839
843
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
840
844
|
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
841
|
-
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>):
|
|
842
|
-
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>):
|
|
843
|
-
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>):
|
|
844
|
-
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<
|
|
845
|
-
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>):
|
|
846
|
-
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>):
|
|
845
|
+
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpThermostatsSchedules;
|
|
846
|
+
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpThermostatsSchedules;
|
|
847
|
+
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpThermostatsSchedules;
|
|
848
|
+
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpThermostatsSchedules>;
|
|
849
|
+
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpThermostatsSchedules;
|
|
850
|
+
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpThermostatsSchedules;
|
|
847
851
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
848
|
-
create(body?:
|
|
849
|
-
delete(body?:
|
|
850
|
-
get(body?:
|
|
851
|
-
list(body?:
|
|
852
|
-
update(body?:
|
|
853
|
-
}
|
|
854
|
-
type
|
|
855
|
-
type
|
|
856
|
-
type
|
|
857
|
-
type
|
|
858
|
-
type
|
|
859
|
-
type
|
|
860
|
-
type
|
|
861
|
-
type
|
|
862
|
-
type
|
|
863
|
-
type
|
|
864
|
-
type
|
|
865
|
-
type
|
|
866
|
-
type
|
|
867
|
-
type
|
|
868
|
-
type
|
|
852
|
+
create(body?: ThermostatsSchedulesCreateBody): SeamHttpRequest<ThermostatsSchedulesCreateResponse, 'thermostat_schedule'>;
|
|
853
|
+
delete(body?: ThermostatsSchedulesDeleteParams): SeamHttpRequest<void, undefined>;
|
|
854
|
+
get(body?: ThermostatsSchedulesGetParams): SeamHttpRequest<ThermostatsSchedulesGetResponse, 'thermostat_schedule'>;
|
|
855
|
+
list(body?: ThermostatsSchedulesListParams): SeamHttpRequest<ThermostatsSchedulesListResponse, 'thermostat_schedules'>;
|
|
856
|
+
update(body?: ThermostatsSchedulesUpdateBody): SeamHttpRequest<void, undefined>;
|
|
857
|
+
}
|
|
858
|
+
type ThermostatsSchedulesCreateBody = RouteRequestBody<'/thermostats/schedules/create'>;
|
|
859
|
+
type ThermostatsSchedulesCreateResponse = SetNonNullable<Required<RouteResponse<'/thermostats/schedules/create'>>>;
|
|
860
|
+
type ThermostatsSchedulesCreateOptions = never;
|
|
861
|
+
type ThermostatsSchedulesDeleteParams = RouteRequestBody<'/thermostats/schedules/delete'>;
|
|
862
|
+
type ThermostatsSchedulesDeleteResponse = SetNonNullable<Required<RouteResponse<'/thermostats/schedules/delete'>>>;
|
|
863
|
+
type ThermostatsSchedulesDeleteOptions = never;
|
|
864
|
+
type ThermostatsSchedulesGetParams = RouteRequestBody<'/thermostats/schedules/get'>;
|
|
865
|
+
type ThermostatsSchedulesGetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/schedules/get'>>>;
|
|
866
|
+
type ThermostatsSchedulesGetOptions = never;
|
|
867
|
+
type ThermostatsSchedulesListParams = RouteRequestBody<'/thermostats/schedules/list'>;
|
|
868
|
+
type ThermostatsSchedulesListResponse = SetNonNullable<Required<RouteResponse<'/thermostats/schedules/list'>>>;
|
|
869
|
+
type ThermostatsSchedulesListOptions = never;
|
|
870
|
+
type ThermostatsSchedulesUpdateBody = RouteRequestBody<'/thermostats/schedules/update'>;
|
|
871
|
+
type ThermostatsSchedulesUpdateResponse = SetNonNullable<Required<RouteResponse<'/thermostats/schedules/update'>>>;
|
|
872
|
+
type ThermostatsSchedulesUpdateOptions = never;
|
|
869
873
|
|
|
870
874
|
declare class SeamHttpThermostats {
|
|
871
875
|
client: Client;
|
|
@@ -878,19 +882,32 @@ declare class SeamHttpThermostats {
|
|
|
878
882
|
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpThermostats;
|
|
879
883
|
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpThermostats;
|
|
880
884
|
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
881
|
-
get
|
|
885
|
+
get schedules(): SeamHttpThermostatsSchedules;
|
|
886
|
+
activateClimatePreset(body?: ThermostatsActivateClimatePresetBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsActivateClimatePresetResponse, 'action_attempt'>;
|
|
882
887
|
cool(body?: ThermostatsCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsCoolResponse, 'action_attempt'>;
|
|
888
|
+
createClimatePreset(body?: ThermostatsCreateClimatePresetBody): SeamHttpRequest<ThermostatsCreateClimatePresetResponse, 'climate_preset'>;
|
|
889
|
+
deleteClimatePreset(body?: ThermostatsDeleteClimatePresetBody): SeamHttpRequest<void, undefined>;
|
|
883
890
|
get(body?: ThermostatsGetParams): SeamHttpRequest<ThermostatsGetResponse, 'thermostat'>;
|
|
884
891
|
heat(body?: ThermostatsHeatBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsHeatResponse, 'action_attempt'>;
|
|
885
892
|
heatCool(body?: ThermostatsHeatCoolBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsHeatCoolResponse, 'action_attempt'>;
|
|
886
893
|
list(body?: ThermostatsListParams): SeamHttpRequest<ThermostatsListResponse, 'thermostats'>;
|
|
887
894
|
off(body?: ThermostatsOffBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsOffResponse, 'action_attempt'>;
|
|
895
|
+
setFallbackClimatePreset(body?: ThermostatsSetFallbackClimatePresetBody): SeamHttpRequest<void, undefined>;
|
|
888
896
|
setFanMode(body?: ThermostatsSetFanModeBody, options?: Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>): SeamHttpRequest<ThermostatsSetFanModeResponse, 'action_attempt'>;
|
|
889
|
-
|
|
897
|
+
updateClimatePreset(body?: ThermostatsUpdateClimatePresetBody): SeamHttpRequest<void, undefined>;
|
|
890
898
|
}
|
|
899
|
+
type ThermostatsActivateClimatePresetBody = RouteRequestBody<'/thermostats/activate_climate_preset'>;
|
|
900
|
+
type ThermostatsActivateClimatePresetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/activate_climate_preset'>>>;
|
|
901
|
+
type ThermostatsActivateClimatePresetOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
|
|
891
902
|
type ThermostatsCoolBody = RouteRequestBody<'/thermostats/cool'>;
|
|
892
903
|
type ThermostatsCoolResponse = SetNonNullable<Required<RouteResponse<'/thermostats/cool'>>>;
|
|
893
904
|
type ThermostatsCoolOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
|
|
905
|
+
type ThermostatsCreateClimatePresetBody = RouteRequestBody<'/thermostats/create_climate_preset'>;
|
|
906
|
+
type ThermostatsCreateClimatePresetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/create_climate_preset'>>>;
|
|
907
|
+
type ThermostatsCreateClimatePresetOptions = never;
|
|
908
|
+
type ThermostatsDeleteClimatePresetBody = RouteRequestBody<'/thermostats/delete_climate_preset'>;
|
|
909
|
+
type ThermostatsDeleteClimatePresetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/delete_climate_preset'>>>;
|
|
910
|
+
type ThermostatsDeleteClimatePresetOptions = never;
|
|
894
911
|
type ThermostatsGetParams = RouteRequestBody<'/thermostats/get'>;
|
|
895
912
|
type ThermostatsGetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/get'>>>;
|
|
896
913
|
type ThermostatsGetOptions = never;
|
|
@@ -906,12 +923,15 @@ type ThermostatsListOptions = never;
|
|
|
906
923
|
type ThermostatsOffBody = RouteRequestBody<'/thermostats/off'>;
|
|
907
924
|
type ThermostatsOffResponse = SetNonNullable<Required<RouteResponse<'/thermostats/off'>>>;
|
|
908
925
|
type ThermostatsOffOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
|
|
926
|
+
type ThermostatsSetFallbackClimatePresetBody = RouteRequestBody<'/thermostats/set_fallback_climate_preset'>;
|
|
927
|
+
type ThermostatsSetFallbackClimatePresetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/set_fallback_climate_preset'>>>;
|
|
928
|
+
type ThermostatsSetFallbackClimatePresetOptions = never;
|
|
909
929
|
type ThermostatsSetFanModeBody = RouteRequestBody<'/thermostats/set_fan_mode'>;
|
|
910
930
|
type ThermostatsSetFanModeResponse = SetNonNullable<Required<RouteResponse<'/thermostats/set_fan_mode'>>>;
|
|
911
931
|
type ThermostatsSetFanModeOptions = Pick<SeamHttpRequestOptions, 'waitForActionAttempt'>;
|
|
912
|
-
type
|
|
913
|
-
type
|
|
914
|
-
type
|
|
932
|
+
type ThermostatsUpdateClimatePresetBody = RouteRequestBody<'/thermostats/update_climate_preset'>;
|
|
933
|
+
type ThermostatsUpdateClimatePresetResponse = SetNonNullable<Required<RouteResponse<'/thermostats/update_climate_preset'>>>;
|
|
934
|
+
type ThermostatsUpdateClimatePresetOptions = never;
|
|
915
935
|
|
|
916
936
|
declare class SeamHttpUserIdentitiesEnrollmentAutomations {
|
|
917
937
|
client: Client;
|
|
@@ -1112,6 +1132,30 @@ declare const isSeamActionAttemptError: <T extends {
|
|
|
1112
1132
|
action_attempt_id: string;
|
|
1113
1133
|
result: null;
|
|
1114
1134
|
action_type: "UNLOCK_DOOR";
|
|
1135
|
+
} | {
|
|
1136
|
+
error: null;
|
|
1137
|
+
status: "pending";
|
|
1138
|
+
action_attempt_id: string;
|
|
1139
|
+
result: null;
|
|
1140
|
+
action_type: "READ_CARD";
|
|
1141
|
+
} | {
|
|
1142
|
+
error: null;
|
|
1143
|
+
status: "success";
|
|
1144
|
+
action_attempt_id: string;
|
|
1145
|
+
result: {
|
|
1146
|
+
acs_credential_id: string | null;
|
|
1147
|
+
card_number: string | null;
|
|
1148
|
+
};
|
|
1149
|
+
action_type: "READ_CARD";
|
|
1150
|
+
} | {
|
|
1151
|
+
error: {
|
|
1152
|
+
type: string;
|
|
1153
|
+
message: string;
|
|
1154
|
+
};
|
|
1155
|
+
status: "error";
|
|
1156
|
+
action_attempt_id: string;
|
|
1157
|
+
result: null;
|
|
1158
|
+
action_type: "READ_CARD";
|
|
1115
1159
|
} | {
|
|
1116
1160
|
error: null;
|
|
1117
1161
|
status: "pending";
|
|
@@ -1238,6 +1282,27 @@ declare const isSeamActionAttemptError: <T extends {
|
|
|
1238
1282
|
action_attempt_id: string;
|
|
1239
1283
|
result: null;
|
|
1240
1284
|
action_type: "SET_THERMOSTAT_OFF";
|
|
1285
|
+
} | {
|
|
1286
|
+
error: null;
|
|
1287
|
+
status: "pending";
|
|
1288
|
+
action_attempt_id: string;
|
|
1289
|
+
result: null;
|
|
1290
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1291
|
+
} | {
|
|
1292
|
+
error: null;
|
|
1293
|
+
status: "success";
|
|
1294
|
+
action_attempt_id: string;
|
|
1295
|
+
result: {};
|
|
1296
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1297
|
+
} | {
|
|
1298
|
+
error: {
|
|
1299
|
+
type: string;
|
|
1300
|
+
message: string;
|
|
1301
|
+
};
|
|
1302
|
+
status: "error";
|
|
1303
|
+
action_attempt_id: string;
|
|
1304
|
+
result: null;
|
|
1305
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1241
1306
|
} | {
|
|
1242
1307
|
error: null;
|
|
1243
1308
|
status: "pending";
|
|
@@ -1432,6 +1497,30 @@ declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1432
1497
|
action_attempt_id: string;
|
|
1433
1498
|
result: null;
|
|
1434
1499
|
action_type: "UNLOCK_DOOR";
|
|
1500
|
+
} | {
|
|
1501
|
+
error: null;
|
|
1502
|
+
status: "pending";
|
|
1503
|
+
action_attempt_id: string;
|
|
1504
|
+
result: null;
|
|
1505
|
+
action_type: "READ_CARD";
|
|
1506
|
+
} | {
|
|
1507
|
+
error: null;
|
|
1508
|
+
status: "success";
|
|
1509
|
+
action_attempt_id: string;
|
|
1510
|
+
result: {
|
|
1511
|
+
acs_credential_id: string | null;
|
|
1512
|
+
card_number: string | null;
|
|
1513
|
+
};
|
|
1514
|
+
action_type: "READ_CARD";
|
|
1515
|
+
} | {
|
|
1516
|
+
error: {
|
|
1517
|
+
type: string;
|
|
1518
|
+
message: string;
|
|
1519
|
+
};
|
|
1520
|
+
status: "error";
|
|
1521
|
+
action_attempt_id: string;
|
|
1522
|
+
result: null;
|
|
1523
|
+
action_type: "READ_CARD";
|
|
1435
1524
|
} | {
|
|
1436
1525
|
error: null;
|
|
1437
1526
|
status: "pending";
|
|
@@ -1558,6 +1647,27 @@ declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
1558
1647
|
action_attempt_id: string;
|
|
1559
1648
|
result: null;
|
|
1560
1649
|
action_type: "SET_THERMOSTAT_OFF";
|
|
1650
|
+
} | {
|
|
1651
|
+
error: null;
|
|
1652
|
+
status: "pending";
|
|
1653
|
+
action_attempt_id: string;
|
|
1654
|
+
result: null;
|
|
1655
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1656
|
+
} | {
|
|
1657
|
+
error: null;
|
|
1658
|
+
status: "success";
|
|
1659
|
+
action_attempt_id: string;
|
|
1660
|
+
result: {};
|
|
1661
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1662
|
+
} | {
|
|
1663
|
+
error: {
|
|
1664
|
+
type: string;
|
|
1665
|
+
message: string;
|
|
1666
|
+
};
|
|
1667
|
+
status: "error";
|
|
1668
|
+
action_attempt_id: string;
|
|
1669
|
+
result: null;
|
|
1670
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1561
1671
|
} | {
|
|
1562
1672
|
error: null;
|
|
1563
1673
|
status: "pending";
|
|
@@ -1752,6 +1862,30 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1752
1862
|
action_attempt_id: string;
|
|
1753
1863
|
result: null;
|
|
1754
1864
|
action_type: "UNLOCK_DOOR";
|
|
1865
|
+
} | {
|
|
1866
|
+
error: null;
|
|
1867
|
+
status: "pending";
|
|
1868
|
+
action_attempt_id: string;
|
|
1869
|
+
result: null;
|
|
1870
|
+
action_type: "READ_CARD";
|
|
1871
|
+
} | {
|
|
1872
|
+
error: null;
|
|
1873
|
+
status: "success";
|
|
1874
|
+
action_attempt_id: string;
|
|
1875
|
+
result: {
|
|
1876
|
+
acs_credential_id: string | null;
|
|
1877
|
+
card_number: string | null;
|
|
1878
|
+
};
|
|
1879
|
+
action_type: "READ_CARD";
|
|
1880
|
+
} | {
|
|
1881
|
+
error: {
|
|
1882
|
+
type: string;
|
|
1883
|
+
message: string;
|
|
1884
|
+
};
|
|
1885
|
+
status: "error";
|
|
1886
|
+
action_attempt_id: string;
|
|
1887
|
+
result: null;
|
|
1888
|
+
action_type: "READ_CARD";
|
|
1755
1889
|
} | {
|
|
1756
1890
|
error: null;
|
|
1757
1891
|
status: "pending";
|
|
@@ -1878,6 +2012,27 @@ declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1878
2012
|
action_attempt_id: string;
|
|
1879
2013
|
result: null;
|
|
1880
2014
|
action_type: "SET_THERMOSTAT_OFF";
|
|
2015
|
+
} | {
|
|
2016
|
+
error: null;
|
|
2017
|
+
status: "pending";
|
|
2018
|
+
action_attempt_id: string;
|
|
2019
|
+
result: null;
|
|
2020
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
2021
|
+
} | {
|
|
2022
|
+
error: null;
|
|
2023
|
+
status: "success";
|
|
2024
|
+
action_attempt_id: string;
|
|
2025
|
+
result: {};
|
|
2026
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
2027
|
+
} | {
|
|
2028
|
+
error: {
|
|
2029
|
+
type: string;
|
|
2030
|
+
message: string;
|
|
2031
|
+
};
|
|
2032
|
+
status: "error";
|
|
2033
|
+
action_attempt_id: string;
|
|
2034
|
+
result: null;
|
|
2035
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1881
2036
|
} | {
|
|
1882
2037
|
error: null;
|
|
1883
2038
|
status: "pending";
|
|
@@ -2172,4 +2327,4 @@ declare const isPublishableKey: (token: string) => boolean;
|
|
|
2172
2327
|
declare const isConsoleSessionToken: (token: string) => boolean;
|
|
2173
2328
|
declare const isPersonalAccessToken: (token: string) => boolean;
|
|
2174
2329
|
|
|
2175
|
-
export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParams, type AcsAccessGroupsListAccessibleEntrancesResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParams, type AcsAccessGroupsUnmanagedGetResponse, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParams, type AcsAccessGroupsUnmanagedListResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUnmanagedGetOptions, type AcsCredentialsUnmanagedGetParams, type AcsCredentialsUnmanagedGetResponse, type AcsCredentialsUnmanagedListOptions, type AcsCredentialsUnmanagedListParams, type AcsCredentialsUnmanagedListResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnmanagedGetOptions, type AcsUsersUnmanagedGetParams, type AcsUsersUnmanagedGetResponse, type AcsUsersUnmanagedListOptions, type AcsUsersUnmanagedListParams, type AcsUsersUnmanagedListResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateConnectBody, type DevicesSimulateConnectOptions, type DevicesSimulateConnectResponse, type DevicesSimulateDisconnectBody, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectResponse, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveParams, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsListOptions, type NoiseSensorsListParams, type NoiseSensorsListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsAccessGroupsUnmanaged, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsCredentialsUnmanaged, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpAcsUsersUnmanaged, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsClimateSettingSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsClimateSettingSchedulesCreateBody, type ThermostatsClimateSettingSchedulesCreateOptions, type ThermostatsClimateSettingSchedulesCreateResponse, type ThermostatsClimateSettingSchedulesDeleteOptions, type ThermostatsClimateSettingSchedulesDeleteParams, type ThermostatsClimateSettingSchedulesDeleteResponse, type ThermostatsClimateSettingSchedulesGetOptions, type ThermostatsClimateSettingSchedulesGetParams, type ThermostatsClimateSettingSchedulesGetResponse, type ThermostatsClimateSettingSchedulesListOptions, type ThermostatsClimateSettingSchedulesListParams, type ThermostatsClimateSettingSchedulesListResponse, type ThermostatsClimateSettingSchedulesUpdateBody, type ThermostatsClimateSettingSchedulesUpdateOptions, type ThermostatsClimateSettingSchedulesUpdateResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateBody, type ThermostatsUpdateOptions, type ThermostatsUpdateResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
|
|
2330
|
+
export { type AccessCodesCreateBody, type AccessCodesCreateMultipleBody, type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultipleResponse, type AccessCodesCreateOptions, type AccessCodesCreateResponse, type AccessCodesDeleteOptions, type AccessCodesDeleteParams, type AccessCodesDeleteResponse, type AccessCodesGenerateCodeBody, type AccessCodesGenerateCodeOptions, type AccessCodesGenerateCodeResponse, type AccessCodesGetOptions, type AccessCodesGetParams, type AccessCodesGetResponse, type AccessCodesListOptions, type AccessCodesListParams, type AccessCodesListResponse, type AccessCodesPullBackupAccessCodeBody, type AccessCodesPullBackupAccessCodeOptions, type AccessCodesPullBackupAccessCodeResponse, type AccessCodesSimulateCreateUnmanagedAccessCodeBody, type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeResponse, type AccessCodesUnmanagedConvertToManagedBody, type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedResponse, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParams, type AccessCodesUnmanagedDeleteResponse, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParams, type AccessCodesUnmanagedGetResponse, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParams, type AccessCodesUnmanagedListResponse, type AccessCodesUnmanagedUpdateBody, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateResponse, type AccessCodesUpdateBody, type AccessCodesUpdateOptions, type AccessCodesUpdateResponse, type AcsAccessGroupsAddUserBody, type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserResponse, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParams, type AcsAccessGroupsGetResponse, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParams, type AcsAccessGroupsListAccessibleEntrancesResponse, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParams, type AcsAccessGroupsListResponse, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParams, type AcsAccessGroupsListUsersResponse, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParams, type AcsAccessGroupsRemoveUserResponse, type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParams, type AcsAccessGroupsUnmanagedGetResponse, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParams, type AcsAccessGroupsUnmanagedListResponse, type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParams, type AcsCredentialPoolsListResponse, type AcsCredentialProvisioningAutomationsLaunchBody, type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchResponse, type AcsCredentialsAssignBody, type AcsCredentialsAssignOptions, type AcsCredentialsAssignResponse, type AcsCredentialsCreateBody, type AcsCredentialsCreateOptions, type AcsCredentialsCreateResponse, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParams, type AcsCredentialsDeleteResponse, type AcsCredentialsGetOptions, type AcsCredentialsGetParams, type AcsCredentialsGetResponse, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParams, type AcsCredentialsListAccessibleEntrancesResponse, type AcsCredentialsListOptions, type AcsCredentialsListParams, type AcsCredentialsListResponse, type AcsCredentialsReadCardBody, type AcsCredentialsReadCardOptions, type AcsCredentialsReadCardResponse, type AcsCredentialsUnassignBody, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignResponse, type AcsCredentialsUnmanagedGetOptions, type AcsCredentialsUnmanagedGetParams, type AcsCredentialsUnmanagedGetResponse, type AcsCredentialsUnmanagedListOptions, type AcsCredentialsUnmanagedListParams, type AcsCredentialsUnmanagedListResponse, type AcsCredentialsUpdateBody, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateResponse, type AcsEntrancesGetOptions, type AcsEntrancesGetParams, type AcsEntrancesGetResponse, type AcsEntrancesGrantAccessBody, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessResponse, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParams, type AcsEntrancesListCredentialsWithAccessResponse, type AcsEntrancesListOptions, type AcsEntrancesListParams, type AcsEntrancesListResponse, type AcsSystemsGetOptions, type AcsSystemsGetParams, type AcsSystemsGetResponse, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParams, type AcsSystemsListCompatibleCredentialManagerAcsSystemsResponse, type AcsSystemsListOptions, type AcsSystemsListParams, type AcsSystemsListResponse, type AcsUsersAddToAccessGroupBody, type AcsUsersAddToAccessGroupOptions, type AcsUsersAddToAccessGroupResponse, type AcsUsersCreateBody, type AcsUsersCreateOptions, type AcsUsersCreateResponse, type AcsUsersDeleteOptions, type AcsUsersDeleteParams, type AcsUsersDeleteResponse, type AcsUsersGetOptions, type AcsUsersGetParams, type AcsUsersGetResponse, type AcsUsersListAccessibleEntrancesOptions, type AcsUsersListAccessibleEntrancesParams, type AcsUsersListAccessibleEntrancesResponse, type AcsUsersListOptions, type AcsUsersListParams, type AcsUsersListResponse, type AcsUsersRemoveFromAccessGroupOptions, type AcsUsersRemoveFromAccessGroupParams, type AcsUsersRemoveFromAccessGroupResponse, type AcsUsersRevokeAccessToAllEntrancesOptions, type AcsUsersRevokeAccessToAllEntrancesParams, type AcsUsersRevokeAccessToAllEntrancesResponse, type AcsUsersSuspendBody, type AcsUsersSuspendOptions, type AcsUsersSuspendResponse, type AcsUsersUnmanagedGetOptions, type AcsUsersUnmanagedGetParams, type AcsUsersUnmanagedGetResponse, type AcsUsersUnmanagedListOptions, type AcsUsersUnmanagedListParams, type AcsUsersUnmanagedListResponse, type AcsUsersUnsuspendBody, type AcsUsersUnsuspendOptions, type AcsUsersUnsuspendResponse, type AcsUsersUpdateBody, type AcsUsersUpdateOptions, type AcsUsersUpdateResponse, type ActionAttemptsGetOptions, type ActionAttemptsGetParams, type ActionAttemptsGetResponse, type ActionAttemptsListOptions, type ActionAttemptsListParams, type ActionAttemptsListResponse, type ClientSessionsCreateBody, type ClientSessionsCreateOptions, type ClientSessionsCreateResponse, type ClientSessionsDeleteOptions, type ClientSessionsDeleteParams, type ClientSessionsDeleteResponse, type ClientSessionsGetOptions, type ClientSessionsGetOrCreateBody, type ClientSessionsGetOrCreateOptions, type ClientSessionsGetOrCreateResponse, type ClientSessionsGetParams, type ClientSessionsGetResponse, type ClientSessionsGrantAccessBody, type ClientSessionsGrantAccessOptions, type ClientSessionsGrantAccessResponse, type ClientSessionsListOptions, type ClientSessionsListParams, type ClientSessionsListResponse, type ClientSessionsRevokeOptions, type ClientSessionsRevokeParams, type ClientSessionsRevokeResponse, type ConnectWebviewsCreateBody, type ConnectWebviewsCreateOptions, type ConnectWebviewsCreateResponse, type ConnectWebviewsDeleteOptions, type ConnectWebviewsDeleteParams, type ConnectWebviewsDeleteResponse, type ConnectWebviewsGetOptions, type ConnectWebviewsGetParams, type ConnectWebviewsGetResponse, type ConnectWebviewsListOptions, type ConnectWebviewsListParams, type ConnectWebviewsListResponse, type ConnectedAccountsDeleteOptions, type ConnectedAccountsDeleteParams, type ConnectedAccountsDeleteResponse, type ConnectedAccountsGetOptions, type ConnectedAccountsGetParams, type ConnectedAccountsGetResponse, type ConnectedAccountsListOptions, type ConnectedAccountsListParams, type ConnectedAccountsListResponse, type ConnectedAccountsUpdateBody, type ConnectedAccountsUpdateOptions, type ConnectedAccountsUpdateResponse, type DevicesDeleteOptions, type DevicesDeleteParams, type DevicesDeleteResponse, type DevicesGetOptions, type DevicesGetParams, type DevicesGetResponse, type DevicesListDeviceProvidersOptions, type DevicesListDeviceProvidersParams, type DevicesListDeviceProvidersResponse, type DevicesListOptions, type DevicesListParams, type DevicesListResponse, type DevicesSimulateConnectBody, type DevicesSimulateConnectOptions, type DevicesSimulateConnectResponse, type DevicesSimulateDisconnectBody, type DevicesSimulateDisconnectOptions, type DevicesSimulateDisconnectResponse, type DevicesSimulateRemoveOptions, type DevicesSimulateRemoveParams, type DevicesSimulateRemoveResponse, type DevicesUnmanagedGetOptions, type DevicesUnmanagedGetParams, type DevicesUnmanagedGetResponse, type DevicesUnmanagedListOptions, type DevicesUnmanagedListParams, type DevicesUnmanagedListResponse, type DevicesUnmanagedUpdateBody, type DevicesUnmanagedUpdateOptions, type DevicesUnmanagedUpdateResponse, type DevicesUpdateBody, type DevicesUpdateOptions, type DevicesUpdateResponse, type EventsGetOptions, type EventsGetParams, type EventsGetResponse, type EventsListOptions, type EventsListParams, type EventsListResponse, type LocksGetOptions, type LocksGetParams, type LocksGetResponse, type LocksListOptions, type LocksListParams, type LocksListResponse, type LocksLockDoorBody, type LocksLockDoorOptions, type LocksLockDoorResponse, type LocksUnlockDoorBody, type LocksUnlockDoorOptions, type LocksUnlockDoorResponse, type NetworksGetOptions, type NetworksGetParams, type NetworksGetResponse, type NetworksListOptions, type NetworksListParams, type NetworksListResponse, type NoiseSensorsListOptions, type NoiseSensorsListParams, type NoiseSensorsListResponse, type NoiseSensorsNoiseThresholdsCreateBody, type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseThresholdsCreateResponse, type NoiseSensorsNoiseThresholdsDeleteOptions, type NoiseSensorsNoiseThresholdsDeleteParams, type NoiseSensorsNoiseThresholdsDeleteResponse, type NoiseSensorsNoiseThresholdsGetOptions, type NoiseSensorsNoiseThresholdsGetParams, type NoiseSensorsNoiseThresholdsGetResponse, type NoiseSensorsNoiseThresholdsListOptions, type NoiseSensorsNoiseThresholdsListParams, type NoiseSensorsNoiseThresholdsListResponse, type NoiseSensorsNoiseThresholdsUpdateBody, type NoiseSensorsNoiseThresholdsUpdateOptions, type NoiseSensorsNoiseThresholdsUpdateResponse, type NoiseSensorsSimulateTriggerNoiseThresholdBody, type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdResponse, type PhonesDeactivateOptions, type PhonesDeactivateParams, type PhonesDeactivateResponse, type PhonesListOptions, type PhonesListParams, type PhonesListResponse, type PhonesSimulateCreateSandboxPhoneBody, type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneResponse, SeamActionAttemptError, SeamActionAttemptFailedError, SeamActionAttemptTimeoutError, SeamHttp, SeamHttpAccessCodes, SeamHttpAccessCodesSimulate, SeamHttpAccessCodesUnmanaged, SeamHttpAcs, SeamHttpAcsAccessGroups, SeamHttpAcsAccessGroupsUnmanaged, SeamHttpAcsCredentialPools, SeamHttpAcsCredentialProvisioningAutomations, SeamHttpAcsCredentials, SeamHttpAcsCredentialsUnmanaged, SeamHttpAcsEntrances, SeamHttpAcsSystems, SeamHttpAcsUsers, SeamHttpAcsUsersUnmanaged, SeamHttpActionAttempts, SeamHttpApiError, SeamHttpClientSessions, SeamHttpConnectWebviews, SeamHttpConnectedAccounts, SeamHttpDevices, SeamHttpDevicesSimulate, SeamHttpDevicesUnmanaged, SeamHttpEvents, type SeamHttpFromPublishableKeyOptions, SeamHttpInvalidInputError, SeamHttpInvalidOptionsError, SeamHttpInvalidTokenError, SeamHttpLocks, SeamHttpMultiWorkspace, SeamHttpMultiWorkspaceInvalidOptionsError, type SeamHttpMultiWorkspaceOptions, type SeamHttpMultiWorkspaceOptionsWithClient, type SeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, type SeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, SeamHttpNetworks, SeamHttpNoiseSensors, SeamHttpNoiseSensorsNoiseThresholds, SeamHttpNoiseSensorsSimulate, type SeamHttpOptions, type SeamHttpOptionsFromEnv, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, SeamHttpPhones, SeamHttpPhonesSimulate, SeamHttpRequest, type SeamHttpRequestOptions, SeamHttpThermostats, SeamHttpThermostatsSchedules, SeamHttpUnauthorizedError, SeamHttpUserIdentities, SeamHttpUserIdentitiesEnrollmentAutomations, SeamHttpWebhooks, SeamHttpWorkspaces, type ThermostatsActivateClimatePresetBody, type ThermostatsActivateClimatePresetOptions, type ThermostatsActivateClimatePresetResponse, type ThermostatsCoolBody, type ThermostatsCoolOptions, type ThermostatsCoolResponse, type ThermostatsCreateClimatePresetBody, type ThermostatsCreateClimatePresetOptions, type ThermostatsCreateClimatePresetResponse, type ThermostatsDeleteClimatePresetBody, type ThermostatsDeleteClimatePresetOptions, type ThermostatsDeleteClimatePresetResponse, type ThermostatsGetOptions, type ThermostatsGetParams, type ThermostatsGetResponse, type ThermostatsHeatBody, type ThermostatsHeatCoolBody, type ThermostatsHeatCoolOptions, type ThermostatsHeatCoolResponse, type ThermostatsHeatOptions, type ThermostatsHeatResponse, type ThermostatsListOptions, type ThermostatsListParams, type ThermostatsListResponse, type ThermostatsOffBody, type ThermostatsOffOptions, type ThermostatsOffResponse, type ThermostatsSchedulesCreateBody, type ThermostatsSchedulesCreateOptions, type ThermostatsSchedulesCreateResponse, type ThermostatsSchedulesDeleteOptions, type ThermostatsSchedulesDeleteParams, type ThermostatsSchedulesDeleteResponse, type ThermostatsSchedulesGetOptions, type ThermostatsSchedulesGetParams, type ThermostatsSchedulesGetResponse, type ThermostatsSchedulesListOptions, type ThermostatsSchedulesListParams, type ThermostatsSchedulesListResponse, type ThermostatsSchedulesUpdateBody, type ThermostatsSchedulesUpdateOptions, type ThermostatsSchedulesUpdateResponse, type ThermostatsSetFallbackClimatePresetBody, type ThermostatsSetFallbackClimatePresetOptions, type ThermostatsSetFallbackClimatePresetResponse, type ThermostatsSetFanModeBody, type ThermostatsSetFanModeOptions, type ThermostatsSetFanModeResponse, type ThermostatsUpdateClimatePresetBody, type ThermostatsUpdateClimatePresetOptions, type ThermostatsUpdateClimatePresetResponse, type UserIdentitiesAddAcsUserBody, type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserResponse, type UserIdentitiesCreateBody, type UserIdentitiesCreateOptions, type UserIdentitiesCreateResponse, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParams, type UserIdentitiesDeleteResponse, type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParams, type UserIdentitiesEnrollmentAutomationsDeleteResponse, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParams, type UserIdentitiesEnrollmentAutomationsGetResponse, type UserIdentitiesEnrollmentAutomationsLaunchBody, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchResponse, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParams, type UserIdentitiesEnrollmentAutomationsListResponse, type UserIdentitiesGetOptions, type UserIdentitiesGetParams, type UserIdentitiesGetResponse, type UserIdentitiesGrantAccessToDeviceBody, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceResponse, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParams, type UserIdentitiesListAccessibleDevicesResponse, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParams, type UserIdentitiesListAcsSystemsResponse, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParams, type UserIdentitiesListAcsUsersResponse, type UserIdentitiesListOptions, type UserIdentitiesListParams, type UserIdentitiesListResponse, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParams, type UserIdentitiesRemoveAcsUserResponse, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParams, type UserIdentitiesRevokeAccessToDeviceResponse, type UserIdentitiesUpdateBody, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateResponse, type WebhooksCreateBody, type WebhooksCreateOptions, type WebhooksCreateResponse, type WebhooksDeleteOptions, type WebhooksDeleteParams, type WebhooksDeleteResponse, type WebhooksGetOptions, type WebhooksGetParams, type WebhooksGetResponse, type WebhooksListOptions, type WebhooksListParams, type WebhooksListResponse, type WebhooksUpdateBody, type WebhooksUpdateOptions, type WebhooksUpdateResponse, type WorkspacesCreateBody, type WorkspacesCreateOptions, type WorkspacesCreateResponse, type WorkspacesGetOptions, type WorkspacesGetParams, type WorkspacesGetResponse, type WorkspacesListOptions, type WorkspacesListParams, type WorkspacesListResponse, type WorkspacesResetSandboxBody, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxResponse, errorInterceptor, getOpenapiSchema, isApiKey, isClientSessionToken, isConsoleSessionToken, isPersonalAccessToken, isPublishableKey, isSeamActionAttemptError, isSeamActionAttemptFailedError, isSeamActionAttemptTimeoutError, isSeamHttpApiError, isSeamHttpInvalidInputError, isSeamHttpMultiWorkspaceOptionsWithClient, isSeamHttpMultiWorkspaceOptionsWithConsoleSessionToken, isSeamHttpMultiWorkspaceOptionsWithPersonalAccessToken, isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, isSeamHttpUnauthorizedError };
|
package/dist/index.cjs
CHANGED
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,IAAO,WAAQ,GAAA","file":"index.cjs","sourcesContent":["export default null\n"]}
|
|
@@ -46,6 +46,30 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
46
46
|
action_attempt_id: string;
|
|
47
47
|
result: null;
|
|
48
48
|
action_type: "UNLOCK_DOOR";
|
|
49
|
+
} | {
|
|
50
|
+
error: null;
|
|
51
|
+
status: "pending";
|
|
52
|
+
action_attempt_id: string;
|
|
53
|
+
result: null;
|
|
54
|
+
action_type: "READ_CARD";
|
|
55
|
+
} | {
|
|
56
|
+
error: null;
|
|
57
|
+
status: "success";
|
|
58
|
+
action_attempt_id: string;
|
|
59
|
+
result: {
|
|
60
|
+
acs_credential_id: string | null;
|
|
61
|
+
card_number: string | null;
|
|
62
|
+
};
|
|
63
|
+
action_type: "READ_CARD";
|
|
64
|
+
} | {
|
|
65
|
+
error: {
|
|
66
|
+
type: string;
|
|
67
|
+
message: string;
|
|
68
|
+
};
|
|
69
|
+
status: "error";
|
|
70
|
+
action_attempt_id: string;
|
|
71
|
+
result: null;
|
|
72
|
+
action_type: "READ_CARD";
|
|
49
73
|
} | {
|
|
50
74
|
error: null;
|
|
51
75
|
status: "pending";
|
|
@@ -172,6 +196,27 @@ export declare const resolveActionAttempt: <T extends {
|
|
|
172
196
|
action_attempt_id: string;
|
|
173
197
|
result: null;
|
|
174
198
|
action_type: "SET_THERMOSTAT_OFF";
|
|
199
|
+
} | {
|
|
200
|
+
error: null;
|
|
201
|
+
status: "pending";
|
|
202
|
+
action_attempt_id: string;
|
|
203
|
+
result: null;
|
|
204
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
205
|
+
} | {
|
|
206
|
+
error: null;
|
|
207
|
+
status: "success";
|
|
208
|
+
action_attempt_id: string;
|
|
209
|
+
result: {};
|
|
210
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
211
|
+
} | {
|
|
212
|
+
error: {
|
|
213
|
+
type: string;
|
|
214
|
+
message: string;
|
|
215
|
+
};
|
|
216
|
+
status: "error";
|
|
217
|
+
action_attempt_id: string;
|
|
218
|
+
result: null;
|
|
219
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
175
220
|
} | {
|
|
176
221
|
error: null;
|
|
177
222
|
status: "pending";
|
|
@@ -364,6 +409,30 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
364
409
|
action_attempt_id: string;
|
|
365
410
|
result: null;
|
|
366
411
|
action_type: "UNLOCK_DOOR";
|
|
412
|
+
} | {
|
|
413
|
+
error: null;
|
|
414
|
+
status: "pending";
|
|
415
|
+
action_attempt_id: string;
|
|
416
|
+
result: null;
|
|
417
|
+
action_type: "READ_CARD";
|
|
418
|
+
} | {
|
|
419
|
+
error: null;
|
|
420
|
+
status: "success";
|
|
421
|
+
action_attempt_id: string;
|
|
422
|
+
result: {
|
|
423
|
+
acs_credential_id: string | null;
|
|
424
|
+
card_number: string | null;
|
|
425
|
+
};
|
|
426
|
+
action_type: "READ_CARD";
|
|
427
|
+
} | {
|
|
428
|
+
error: {
|
|
429
|
+
type: string;
|
|
430
|
+
message: string;
|
|
431
|
+
};
|
|
432
|
+
status: "error";
|
|
433
|
+
action_attempt_id: string;
|
|
434
|
+
result: null;
|
|
435
|
+
action_type: "READ_CARD";
|
|
367
436
|
} | {
|
|
368
437
|
error: null;
|
|
369
438
|
status: "pending";
|
|
@@ -490,6 +559,27 @@ export declare const isSeamActionAttemptError: <T extends {
|
|
|
490
559
|
action_attempt_id: string;
|
|
491
560
|
result: null;
|
|
492
561
|
action_type: "SET_THERMOSTAT_OFF";
|
|
562
|
+
} | {
|
|
563
|
+
error: null;
|
|
564
|
+
status: "pending";
|
|
565
|
+
action_attempt_id: string;
|
|
566
|
+
result: null;
|
|
567
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
568
|
+
} | {
|
|
569
|
+
error: null;
|
|
570
|
+
status: "success";
|
|
571
|
+
action_attempt_id: string;
|
|
572
|
+
result: {};
|
|
573
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
574
|
+
} | {
|
|
575
|
+
error: {
|
|
576
|
+
type: string;
|
|
577
|
+
message: string;
|
|
578
|
+
};
|
|
579
|
+
status: "error";
|
|
580
|
+
action_attempt_id: string;
|
|
581
|
+
result: null;
|
|
582
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
493
583
|
} | {
|
|
494
584
|
error: null;
|
|
495
585
|
status: "pending";
|
|
@@ -684,6 +774,30 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
684
774
|
action_attempt_id: string;
|
|
685
775
|
result: null;
|
|
686
776
|
action_type: "UNLOCK_DOOR";
|
|
777
|
+
} | {
|
|
778
|
+
error: null;
|
|
779
|
+
status: "pending";
|
|
780
|
+
action_attempt_id: string;
|
|
781
|
+
result: null;
|
|
782
|
+
action_type: "READ_CARD";
|
|
783
|
+
} | {
|
|
784
|
+
error: null;
|
|
785
|
+
status: "success";
|
|
786
|
+
action_attempt_id: string;
|
|
787
|
+
result: {
|
|
788
|
+
acs_credential_id: string | null;
|
|
789
|
+
card_number: string | null;
|
|
790
|
+
};
|
|
791
|
+
action_type: "READ_CARD";
|
|
792
|
+
} | {
|
|
793
|
+
error: {
|
|
794
|
+
type: string;
|
|
795
|
+
message: string;
|
|
796
|
+
};
|
|
797
|
+
status: "error";
|
|
798
|
+
action_attempt_id: string;
|
|
799
|
+
result: null;
|
|
800
|
+
action_type: "READ_CARD";
|
|
687
801
|
} | {
|
|
688
802
|
error: null;
|
|
689
803
|
status: "pending";
|
|
@@ -810,6 +924,27 @@ export declare const isSeamActionAttemptFailedError: <T extends {
|
|
|
810
924
|
action_attempt_id: string;
|
|
811
925
|
result: null;
|
|
812
926
|
action_type: "SET_THERMOSTAT_OFF";
|
|
927
|
+
} | {
|
|
928
|
+
error: null;
|
|
929
|
+
status: "pending";
|
|
930
|
+
action_attempt_id: string;
|
|
931
|
+
result: null;
|
|
932
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
933
|
+
} | {
|
|
934
|
+
error: null;
|
|
935
|
+
status: "success";
|
|
936
|
+
action_attempt_id: string;
|
|
937
|
+
result: {};
|
|
938
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
939
|
+
} | {
|
|
940
|
+
error: {
|
|
941
|
+
type: string;
|
|
942
|
+
message: string;
|
|
943
|
+
};
|
|
944
|
+
status: "error";
|
|
945
|
+
action_attempt_id: string;
|
|
946
|
+
result: null;
|
|
947
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
813
948
|
} | {
|
|
814
949
|
error: null;
|
|
815
950
|
status: "pending";
|
|
@@ -1004,6 +1139,30 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1004
1139
|
action_attempt_id: string;
|
|
1005
1140
|
result: null;
|
|
1006
1141
|
action_type: "UNLOCK_DOOR";
|
|
1142
|
+
} | {
|
|
1143
|
+
error: null;
|
|
1144
|
+
status: "pending";
|
|
1145
|
+
action_attempt_id: string;
|
|
1146
|
+
result: null;
|
|
1147
|
+
action_type: "READ_CARD";
|
|
1148
|
+
} | {
|
|
1149
|
+
error: null;
|
|
1150
|
+
status: "success";
|
|
1151
|
+
action_attempt_id: string;
|
|
1152
|
+
result: {
|
|
1153
|
+
acs_credential_id: string | null;
|
|
1154
|
+
card_number: string | null;
|
|
1155
|
+
};
|
|
1156
|
+
action_type: "READ_CARD";
|
|
1157
|
+
} | {
|
|
1158
|
+
error: {
|
|
1159
|
+
type: string;
|
|
1160
|
+
message: string;
|
|
1161
|
+
};
|
|
1162
|
+
status: "error";
|
|
1163
|
+
action_attempt_id: string;
|
|
1164
|
+
result: null;
|
|
1165
|
+
action_type: "READ_CARD";
|
|
1007
1166
|
} | {
|
|
1008
1167
|
error: null;
|
|
1009
1168
|
status: "pending";
|
|
@@ -1130,6 +1289,27 @@ export declare const isSeamActionAttemptTimeoutError: <T extends {
|
|
|
1130
1289
|
action_attempt_id: string;
|
|
1131
1290
|
result: null;
|
|
1132
1291
|
action_type: "SET_THERMOSTAT_OFF";
|
|
1292
|
+
} | {
|
|
1293
|
+
error: null;
|
|
1294
|
+
status: "pending";
|
|
1295
|
+
action_attempt_id: string;
|
|
1296
|
+
result: null;
|
|
1297
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1298
|
+
} | {
|
|
1299
|
+
error: null;
|
|
1300
|
+
status: "success";
|
|
1301
|
+
action_attempt_id: string;
|
|
1302
|
+
result: {};
|
|
1303
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1304
|
+
} | {
|
|
1305
|
+
error: {
|
|
1306
|
+
type: string;
|
|
1307
|
+
message: string;
|
|
1308
|
+
};
|
|
1309
|
+
status: "error";
|
|
1310
|
+
action_attempt_id: string;
|
|
1311
|
+
result: null;
|
|
1312
|
+
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
1133
1313
|
} | {
|
|
1134
1314
|
error: null;
|
|
1135
1315
|
status: "pending";
|