@seamapi/types 1.502.0 → 1.504.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 +331 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +333 -0
- package/dist/index.cjs +331 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +3 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +4 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +3 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +1 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +20 -0
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +57 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js +75 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js.map +1 -0
- package/lib/seam/connect/models/customer/index.d.ts +1 -0
- package/lib/seam/connect/models/customer/index.js +1 -0
- package/lib/seam/connect/models/customer/index.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +247 -0
- package/lib/seam/connect/openapi.js +327 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +70 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +6 -0
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +1 -0
- package/src/lib/seam/connect/models/customer/customer-delete-data.ts +79 -0
- package/src/lib/seam/connect/models/customer/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +331 -0
- package/src/lib/seam/connect/route-types.ts +70 -0
package/dist/connect.d.cts
CHANGED
|
@@ -561,6 +561,7 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
561
561
|
}>]>;
|
|
562
562
|
type AccessCodeWarning = z.infer<typeof access_code_warning>;
|
|
563
563
|
declare const access_code: z.ZodObject<{
|
|
564
|
+
workspace_id: z.ZodString;
|
|
564
565
|
common_code_key: z.ZodNullable<z.ZodString>;
|
|
565
566
|
is_scheduled_on_device: z.ZodOptional<z.ZodBoolean>;
|
|
566
567
|
type: z.ZodEnum<["time_bound", "ongoing"]>;
|
|
@@ -1498,6 +1499,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1498
1499
|
status: "unknown" | "set" | "setting" | "unset" | "removing";
|
|
1499
1500
|
name: string | null;
|
|
1500
1501
|
device_id: string;
|
|
1502
|
+
workspace_id: string;
|
|
1501
1503
|
created_at: string;
|
|
1502
1504
|
errors: ({
|
|
1503
1505
|
message: string;
|
|
@@ -1797,6 +1799,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1797
1799
|
status: "unknown" | "set" | "setting" | "unset" | "removing";
|
|
1798
1800
|
name: string | null;
|
|
1799
1801
|
device_id: string;
|
|
1802
|
+
workspace_id: string;
|
|
1800
1803
|
created_at: string;
|
|
1801
1804
|
errors: ({
|
|
1802
1805
|
message: string;
|
|
@@ -2098,6 +2101,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2098
2101
|
type: z.ZodEnum<["time_bound", "ongoing"]>;
|
|
2099
2102
|
name: z.ZodNullable<z.ZodString>;
|
|
2100
2103
|
device_id: z.ZodString;
|
|
2104
|
+
workspace_id: z.ZodString;
|
|
2101
2105
|
created_at: z.ZodString;
|
|
2102
2106
|
starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2103
2107
|
ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3023,6 +3027,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3023
3027
|
status: "set";
|
|
3024
3028
|
name: string | null;
|
|
3025
3029
|
device_id: string;
|
|
3030
|
+
workspace_id: string;
|
|
3026
3031
|
created_at: string;
|
|
3027
3032
|
errors: ({
|
|
3028
3033
|
message: string;
|
|
@@ -3313,6 +3318,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3313
3318
|
status: "set";
|
|
3314
3319
|
name: string | null;
|
|
3315
3320
|
device_id: string;
|
|
3321
|
+
workspace_id: string;
|
|
3316
3322
|
created_at: string;
|
|
3317
3323
|
errors: ({
|
|
3318
3324
|
message: string;
|
|
@@ -27304,6 +27310,7 @@ declare const batch: z.ZodObject<{
|
|
|
27304
27310
|
} | undefined;
|
|
27305
27311
|
}>, "many">>;
|
|
27306
27312
|
access_codes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27313
|
+
workspace_id: z.ZodString;
|
|
27307
27314
|
common_code_key: z.ZodNullable<z.ZodString>;
|
|
27308
27315
|
is_scheduled_on_device: z.ZodOptional<z.ZodBoolean>;
|
|
27309
27316
|
type: z.ZodEnum<["time_bound", "ongoing"]>;
|
|
@@ -28241,6 +28248,7 @@ declare const batch: z.ZodObject<{
|
|
|
28241
28248
|
status: "unknown" | "set" | "setting" | "unset" | "removing";
|
|
28242
28249
|
name: string | null;
|
|
28243
28250
|
device_id: string;
|
|
28251
|
+
workspace_id: string;
|
|
28244
28252
|
created_at: string;
|
|
28245
28253
|
errors: ({
|
|
28246
28254
|
message: string;
|
|
@@ -28540,6 +28548,7 @@ declare const batch: z.ZodObject<{
|
|
|
28540
28548
|
status: "unknown" | "set" | "setting" | "unset" | "removing";
|
|
28541
28549
|
name: string | null;
|
|
28542
28550
|
device_id: string;
|
|
28551
|
+
workspace_id: string;
|
|
28543
28552
|
created_at: string;
|
|
28544
28553
|
errors: ({
|
|
28545
28554
|
message: string;
|
|
@@ -28839,6 +28848,7 @@ declare const batch: z.ZodObject<{
|
|
|
28839
28848
|
type: z.ZodEnum<["time_bound", "ongoing"]>;
|
|
28840
28849
|
name: z.ZodNullable<z.ZodString>;
|
|
28841
28850
|
device_id: z.ZodString;
|
|
28851
|
+
workspace_id: z.ZodString;
|
|
28842
28852
|
created_at: z.ZodString;
|
|
28843
28853
|
starts_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28844
28854
|
ends_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29764,6 +29774,7 @@ declare const batch: z.ZodObject<{
|
|
|
29764
29774
|
status: "set";
|
|
29765
29775
|
name: string | null;
|
|
29766
29776
|
device_id: string;
|
|
29777
|
+
workspace_id: string;
|
|
29767
29778
|
created_at: string;
|
|
29768
29779
|
errors: ({
|
|
29769
29780
|
message: string;
|
|
@@ -30054,6 +30065,7 @@ declare const batch: z.ZodObject<{
|
|
|
30054
30065
|
status: "set";
|
|
30055
30066
|
name: string | null;
|
|
30056
30067
|
device_id: string;
|
|
30068
|
+
workspace_id: string;
|
|
30057
30069
|
created_at: string;
|
|
30058
30070
|
errors: ({
|
|
30059
30071
|
message: string;
|
|
@@ -33692,6 +33704,7 @@ declare const batch: z.ZodObject<{
|
|
|
33692
33704
|
status: "unknown" | "set" | "setting" | "unset" | "removing";
|
|
33693
33705
|
name: string | null;
|
|
33694
33706
|
device_id: string;
|
|
33707
|
+
workspace_id: string;
|
|
33695
33708
|
created_at: string;
|
|
33696
33709
|
errors: ({
|
|
33697
33710
|
message: string;
|
|
@@ -33992,6 +34005,7 @@ declare const batch: z.ZodObject<{
|
|
|
33992
34005
|
status: "set";
|
|
33993
34006
|
name: string | null;
|
|
33994
34007
|
device_id: string;
|
|
34008
|
+
workspace_id: string;
|
|
33995
34009
|
created_at: string;
|
|
33996
34010
|
errors: ({
|
|
33997
34011
|
message: string;
|
|
@@ -37525,6 +37539,7 @@ declare const batch: z.ZodObject<{
|
|
|
37525
37539
|
status: "unknown" | "set" | "setting" | "unset" | "removing";
|
|
37526
37540
|
name: string | null;
|
|
37527
37541
|
device_id: string;
|
|
37542
|
+
workspace_id: string;
|
|
37528
37543
|
created_at: string;
|
|
37529
37544
|
errors: ({
|
|
37530
37545
|
message: string;
|
|
@@ -37825,6 +37840,7 @@ declare const batch: z.ZodObject<{
|
|
|
37825
37840
|
status: "set";
|
|
37826
37841
|
name: string | null;
|
|
37827
37842
|
device_id: string;
|
|
37843
|
+
workspace_id: string;
|
|
37828
37844
|
created_at: string;
|
|
37829
37845
|
errors: ({
|
|
37830
37846
|
message: string;
|
|
@@ -50825,6 +50841,11 @@ declare const _default: {
|
|
|
50825
50841
|
};
|
|
50826
50842
|
};
|
|
50827
50843
|
};
|
|
50844
|
+
workspace_id: {
|
|
50845
|
+
description: string;
|
|
50846
|
+
format: string;
|
|
50847
|
+
type: string;
|
|
50848
|
+
};
|
|
50828
50849
|
};
|
|
50829
50850
|
required: string[];
|
|
50830
50851
|
type: string;
|
|
@@ -62257,6 +62278,11 @@ declare const _default: {
|
|
|
62257
62278
|
};
|
|
62258
62279
|
};
|
|
62259
62280
|
};
|
|
62281
|
+
workspace_id: {
|
|
62282
|
+
description: string;
|
|
62283
|
+
format: string;
|
|
62284
|
+
type: string;
|
|
62285
|
+
};
|
|
62260
62286
|
};
|
|
62261
62287
|
required: string[];
|
|
62262
62288
|
type: string;
|
|
@@ -79896,6 +79922,243 @@ declare const _default: {
|
|
|
79896
79922
|
'x-title': string;
|
|
79897
79923
|
};
|
|
79898
79924
|
};
|
|
79925
|
+
'/customers/delete_data': {
|
|
79926
|
+
delete: {
|
|
79927
|
+
description: string;
|
|
79928
|
+
operationId: string;
|
|
79929
|
+
parameters: {
|
|
79930
|
+
in: string;
|
|
79931
|
+
name: string;
|
|
79932
|
+
schema: {
|
|
79933
|
+
description: string;
|
|
79934
|
+
items: {
|
|
79935
|
+
type: string;
|
|
79936
|
+
};
|
|
79937
|
+
type: string;
|
|
79938
|
+
};
|
|
79939
|
+
}[];
|
|
79940
|
+
responses: {
|
|
79941
|
+
200: {
|
|
79942
|
+
content: {
|
|
79943
|
+
'application/json': {
|
|
79944
|
+
schema: {
|
|
79945
|
+
properties: {
|
|
79946
|
+
ok: {
|
|
79947
|
+
type: string;
|
|
79948
|
+
};
|
|
79949
|
+
};
|
|
79950
|
+
required: string[];
|
|
79951
|
+
type: string;
|
|
79952
|
+
};
|
|
79953
|
+
};
|
|
79954
|
+
};
|
|
79955
|
+
description: string;
|
|
79956
|
+
};
|
|
79957
|
+
400: {
|
|
79958
|
+
description: string;
|
|
79959
|
+
};
|
|
79960
|
+
401: {
|
|
79961
|
+
description: string;
|
|
79962
|
+
};
|
|
79963
|
+
};
|
|
79964
|
+
security: ({
|
|
79965
|
+
pat_with_workspace: never[];
|
|
79966
|
+
console_session_with_workspace?: never;
|
|
79967
|
+
api_key?: never;
|
|
79968
|
+
} | {
|
|
79969
|
+
console_session_with_workspace: never[];
|
|
79970
|
+
pat_with_workspace?: never;
|
|
79971
|
+
api_key?: never;
|
|
79972
|
+
} | {
|
|
79973
|
+
api_key: never[];
|
|
79974
|
+
pat_with_workspace?: never;
|
|
79975
|
+
console_session_with_workspace?: never;
|
|
79976
|
+
})[];
|
|
79977
|
+
summary: string;
|
|
79978
|
+
tags: never[];
|
|
79979
|
+
'x-fern-sdk-group-name': string[];
|
|
79980
|
+
'x-fern-sdk-method-name': string;
|
|
79981
|
+
'x-response-key': null;
|
|
79982
|
+
'x-title': string;
|
|
79983
|
+
};
|
|
79984
|
+
post: {
|
|
79985
|
+
description: string;
|
|
79986
|
+
operationId: string;
|
|
79987
|
+
requestBody: {
|
|
79988
|
+
content: {
|
|
79989
|
+
'application/json': {
|
|
79990
|
+
schema: {
|
|
79991
|
+
properties: {
|
|
79992
|
+
access_grant_keys: {
|
|
79993
|
+
description: string;
|
|
79994
|
+
items: {
|
|
79995
|
+
type: string;
|
|
79996
|
+
};
|
|
79997
|
+
type: string;
|
|
79998
|
+
};
|
|
79999
|
+
booking_keys: {
|
|
80000
|
+
description: string;
|
|
80001
|
+
items: {
|
|
80002
|
+
type: string;
|
|
80003
|
+
};
|
|
80004
|
+
type: string;
|
|
80005
|
+
};
|
|
80006
|
+
building_keys: {
|
|
80007
|
+
description: string;
|
|
80008
|
+
items: {
|
|
80009
|
+
type: string;
|
|
80010
|
+
};
|
|
80011
|
+
type: string;
|
|
80012
|
+
};
|
|
80013
|
+
common_area_keys: {
|
|
80014
|
+
description: string;
|
|
80015
|
+
items: {
|
|
80016
|
+
type: string;
|
|
80017
|
+
};
|
|
80018
|
+
type: string;
|
|
80019
|
+
};
|
|
80020
|
+
facility_keys: {
|
|
80021
|
+
description: string;
|
|
80022
|
+
items: {
|
|
80023
|
+
type: string;
|
|
80024
|
+
};
|
|
80025
|
+
type: string;
|
|
80026
|
+
};
|
|
80027
|
+
guest_keys: {
|
|
80028
|
+
description: string;
|
|
80029
|
+
items: {
|
|
80030
|
+
type: string;
|
|
80031
|
+
};
|
|
80032
|
+
type: string;
|
|
80033
|
+
};
|
|
80034
|
+
listing_keys: {
|
|
80035
|
+
description: string;
|
|
80036
|
+
items: {
|
|
80037
|
+
type: string;
|
|
80038
|
+
};
|
|
80039
|
+
type: string;
|
|
80040
|
+
};
|
|
80041
|
+
property_keys: {
|
|
80042
|
+
description: string;
|
|
80043
|
+
items: {
|
|
80044
|
+
type: string;
|
|
80045
|
+
};
|
|
80046
|
+
type: string;
|
|
80047
|
+
};
|
|
80048
|
+
property_listing_keys: {
|
|
80049
|
+
description: string;
|
|
80050
|
+
items: {
|
|
80051
|
+
type: string;
|
|
80052
|
+
};
|
|
80053
|
+
type: string;
|
|
80054
|
+
};
|
|
80055
|
+
reservation_keys: {
|
|
80056
|
+
description: string;
|
|
80057
|
+
items: {
|
|
80058
|
+
type: string;
|
|
80059
|
+
};
|
|
80060
|
+
type: string;
|
|
80061
|
+
};
|
|
80062
|
+
resident_keys: {
|
|
80063
|
+
description: string;
|
|
80064
|
+
items: {
|
|
80065
|
+
type: string;
|
|
80066
|
+
};
|
|
80067
|
+
type: string;
|
|
80068
|
+
};
|
|
80069
|
+
room_keys: {
|
|
80070
|
+
description: string;
|
|
80071
|
+
items: {
|
|
80072
|
+
type: string;
|
|
80073
|
+
};
|
|
80074
|
+
type: string;
|
|
80075
|
+
};
|
|
80076
|
+
space_keys: {
|
|
80077
|
+
description: string;
|
|
80078
|
+
items: {
|
|
80079
|
+
type: string;
|
|
80080
|
+
};
|
|
80081
|
+
type: string;
|
|
80082
|
+
};
|
|
80083
|
+
tenant_keys: {
|
|
80084
|
+
description: string;
|
|
80085
|
+
items: {
|
|
80086
|
+
type: string;
|
|
80087
|
+
};
|
|
80088
|
+
type: string;
|
|
80089
|
+
};
|
|
80090
|
+
unit_keys: {
|
|
80091
|
+
description: string;
|
|
80092
|
+
items: {
|
|
80093
|
+
type: string;
|
|
80094
|
+
};
|
|
80095
|
+
type: string;
|
|
80096
|
+
};
|
|
80097
|
+
user_identity_keys: {
|
|
80098
|
+
description: string;
|
|
80099
|
+
items: {
|
|
80100
|
+
type: string;
|
|
80101
|
+
};
|
|
80102
|
+
type: string;
|
|
80103
|
+
};
|
|
80104
|
+
user_keys: {
|
|
80105
|
+
description: string;
|
|
80106
|
+
items: {
|
|
80107
|
+
type: string;
|
|
80108
|
+
};
|
|
80109
|
+
type: string;
|
|
80110
|
+
};
|
|
80111
|
+
};
|
|
80112
|
+
type: string;
|
|
80113
|
+
};
|
|
80114
|
+
};
|
|
80115
|
+
};
|
|
80116
|
+
};
|
|
80117
|
+
responses: {
|
|
80118
|
+
200: {
|
|
80119
|
+
content: {
|
|
80120
|
+
'application/json': {
|
|
80121
|
+
schema: {
|
|
80122
|
+
properties: {
|
|
80123
|
+
ok: {
|
|
80124
|
+
type: string;
|
|
80125
|
+
};
|
|
80126
|
+
};
|
|
80127
|
+
required: string[];
|
|
80128
|
+
type: string;
|
|
80129
|
+
};
|
|
80130
|
+
};
|
|
80131
|
+
};
|
|
80132
|
+
description: string;
|
|
80133
|
+
};
|
|
80134
|
+
400: {
|
|
80135
|
+
description: string;
|
|
80136
|
+
};
|
|
80137
|
+
401: {
|
|
80138
|
+
description: string;
|
|
80139
|
+
};
|
|
80140
|
+
};
|
|
80141
|
+
security: ({
|
|
80142
|
+
pat_with_workspace: never[];
|
|
80143
|
+
console_session_with_workspace?: never;
|
|
80144
|
+
api_key?: never;
|
|
80145
|
+
} | {
|
|
80146
|
+
console_session_with_workspace: never[];
|
|
80147
|
+
pat_with_workspace?: never;
|
|
80148
|
+
api_key?: never;
|
|
80149
|
+
} | {
|
|
80150
|
+
api_key: never[];
|
|
80151
|
+
pat_with_workspace?: never;
|
|
80152
|
+
console_session_with_workspace?: never;
|
|
80153
|
+
})[];
|
|
80154
|
+
summary: string;
|
|
80155
|
+
tags: never[];
|
|
80156
|
+
'x-fern-sdk-group-name': string[];
|
|
80157
|
+
'x-fern-sdk-method-name': string;
|
|
80158
|
+
'x-response-key': null;
|
|
80159
|
+
'x-title': string;
|
|
80160
|
+
};
|
|
80161
|
+
};
|
|
79899
80162
|
'/customers/push_data': {
|
|
79900
80163
|
post: {
|
|
79901
80164
|
description: string;
|
|
@@ -101312,6 +101575,8 @@ type Routes = {
|
|
|
101312
101575
|
|
|
101313
101576
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
101314
101577
|
access_code: {
|
|
101578
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
101579
|
+
workspace_id: string;
|
|
101315
101580
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
101316
101581
|
common_code_key: string | null;
|
|
101317
101582
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -101866,6 +102131,8 @@ type Routes = {
|
|
|
101866
102131
|
formData: {};
|
|
101867
102132
|
jsonResponse: {
|
|
101868
102133
|
access_codes: {
|
|
102134
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
102135
|
+
workspace_id: string;
|
|
101869
102136
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
101870
102137
|
common_code_key: string | null;
|
|
101871
102138
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -103674,6 +103941,8 @@ type Routes = {
|
|
|
103674
103941
|
|
|
103675
103942
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
103676
103943
|
access_code: {
|
|
103944
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
103945
|
+
workspace_id: string;
|
|
103677
103946
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
103678
103947
|
common_code_key: string | null;
|
|
103679
103948
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -104201,6 +104470,8 @@ type Routes = {
|
|
|
104201
104470
|
formData: {};
|
|
104202
104471
|
jsonResponse: {
|
|
104203
104472
|
access_codes: {
|
|
104473
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
104474
|
+
workspace_id: string;
|
|
104204
104475
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
104205
104476
|
common_code_key: string | null;
|
|
104206
104477
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -104735,6 +105006,8 @@ type Routes = {
|
|
|
104735
105006
|
|
|
104736
105007
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
104737
105008
|
backup_access_code: {
|
|
105009
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
105010
|
+
workspace_id: string;
|
|
104738
105011
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
104739
105012
|
common_code_key: string | null;
|
|
104740
105013
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -105247,6 +105520,8 @@ type Routes = {
|
|
|
105247
105520
|
|
|
105248
105521
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code. */
|
|
105249
105522
|
access_code: {
|
|
105523
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
105524
|
+
workspace_id: string;
|
|
105250
105525
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
105251
105526
|
common_code_key: string | null;
|
|
105252
105527
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -105798,6 +106073,8 @@ type Routes = {
|
|
|
105798
106073
|
|
|
105799
106074
|
- [Kwikset](https://docs.seam.co/latest/device-and-system-integration-guides/kwikset-locks) */
|
|
105800
106075
|
access_code: {
|
|
106076
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
106077
|
+
workspace_id: string;
|
|
105801
106078
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
105802
106079
|
type: 'time_bound' | 'ongoing';
|
|
105803
106080
|
/** Unique identifier for the access code. */
|
|
@@ -107593,6 +107870,8 @@ type Routes = {
|
|
|
107593
107870
|
|
|
107594
107871
|
- [Kwikset](https://docs.seam.co/latest/device-and-system-integration-guides/kwikset-locks) */
|
|
107595
107872
|
access_code: {
|
|
107873
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
107874
|
+
workspace_id: string;
|
|
107596
107875
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
107597
107876
|
type: 'time_bound' | 'ongoing';
|
|
107598
107877
|
/** Unique identifier for the access code. */
|
|
@@ -108099,6 +108378,8 @@ type Routes = {
|
|
|
108099
108378
|
formData: {};
|
|
108100
108379
|
jsonResponse: {
|
|
108101
108380
|
access_codes: {
|
|
108381
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
108382
|
+
workspace_id: string;
|
|
108102
108383
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
108103
108384
|
type: 'time_bound' | 'ongoing';
|
|
108104
108385
|
/** Unique identifier for the access code. */
|
|
@@ -119041,6 +119322,8 @@ type Routes = {
|
|
|
119041
119322
|
} | undefined;
|
|
119042
119323
|
}[] | undefined;
|
|
119043
119324
|
access_codes?: {
|
|
119325
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
119326
|
+
workspace_id: string;
|
|
119044
119327
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
119045
119328
|
common_code_key: string | null;
|
|
119046
119329
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -119546,6 +119829,8 @@ type Routes = {
|
|
|
119546
119829
|
is_offline_access_code: boolean;
|
|
119547
119830
|
}[] | undefined;
|
|
119548
119831
|
unmanaged_access_codes?: {
|
|
119832
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
119833
|
+
workspace_id: string;
|
|
119549
119834
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
119550
119835
|
type: 'time_bound' | 'ongoing';
|
|
119551
119836
|
/** Unique identifier for the access code. */
|
|
@@ -131190,6 +131475,50 @@ type Routes = {
|
|
|
131190
131475
|
};
|
|
131191
131476
|
};
|
|
131192
131477
|
};
|
|
131478
|
+
'/customers/delete_data': {
|
|
131479
|
+
route: '/customers/delete_data';
|
|
131480
|
+
method: 'DELETE' | 'POST';
|
|
131481
|
+
queryParams: {};
|
|
131482
|
+
jsonBody: {};
|
|
131483
|
+
commonParams: {
|
|
131484
|
+
/** List of space keys to delete. */
|
|
131485
|
+
space_keys?: string[] | undefined;
|
|
131486
|
+
/** List of property keys to delete. */
|
|
131487
|
+
property_keys?: string[] | undefined;
|
|
131488
|
+
/** List of room keys to delete. */
|
|
131489
|
+
room_keys?: string[] | undefined;
|
|
131490
|
+
/** List of common area keys to delete. */
|
|
131491
|
+
common_area_keys?: string[] | undefined;
|
|
131492
|
+
/** List of unit keys to delete. */
|
|
131493
|
+
unit_keys?: string[] | undefined;
|
|
131494
|
+
/** List of facility keys to delete. */
|
|
131495
|
+
facility_keys?: string[] | undefined;
|
|
131496
|
+
/** List of building keys to delete. */
|
|
131497
|
+
building_keys?: string[] | undefined;
|
|
131498
|
+
/** List of listing keys to delete. */
|
|
131499
|
+
listing_keys?: string[] | undefined;
|
|
131500
|
+
/** List of property listing keys to delete. */
|
|
131501
|
+
property_listing_keys?: string[] | undefined;
|
|
131502
|
+
/** List of guest keys to delete. */
|
|
131503
|
+
guest_keys?: string[] | undefined;
|
|
131504
|
+
/** List of tenant keys to delete. */
|
|
131505
|
+
tenant_keys?: string[] | undefined;
|
|
131506
|
+
/** List of resident keys to delete. */
|
|
131507
|
+
resident_keys?: string[] | undefined;
|
|
131508
|
+
/** List of user keys to delete. */
|
|
131509
|
+
user_keys?: string[] | undefined;
|
|
131510
|
+
/** List of user identity keys to delete. */
|
|
131511
|
+
user_identity_keys?: string[] | undefined;
|
|
131512
|
+
/** List of reservation keys to delete. */
|
|
131513
|
+
reservation_keys?: string[] | undefined;
|
|
131514
|
+
/** List of booking keys to delete. */
|
|
131515
|
+
booking_keys?: string[] | undefined;
|
|
131516
|
+
/** List of access grant keys to delete. */
|
|
131517
|
+
access_grant_keys?: string[] | undefined;
|
|
131518
|
+
};
|
|
131519
|
+
formData: {};
|
|
131520
|
+
jsonResponse: {};
|
|
131521
|
+
};
|
|
131193
131522
|
'/customers/push_data': {
|
|
131194
131523
|
route: '/customers/push_data';
|
|
131195
131524
|
method: 'POST';
|
|
@@ -184446,6 +184775,8 @@ type Routes = {
|
|
|
184446
184775
|
} | undefined;
|
|
184447
184776
|
}[] | undefined;
|
|
184448
184777
|
access_codes?: {
|
|
184778
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
184779
|
+
workspace_id: string;
|
|
184449
184780
|
/** Unique identifier for a group of access codes that share the same code. */
|
|
184450
184781
|
common_code_key: string | null;
|
|
184451
184782
|
/** Indicates whether the code is set on the device according to a preconfigured schedule. */
|
|
@@ -184951,6 +185282,8 @@ type Routes = {
|
|
|
184951
185282
|
is_offline_access_code: boolean;
|
|
184952
185283
|
}[] | undefined;
|
|
184953
185284
|
unmanaged_access_codes?: {
|
|
185285
|
+
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
185286
|
+
workspace_id: string;
|
|
184954
185287
|
/** Type of the access code. `ongoing` access codes are active continuously until deactivated manually. `time_bound` access codes have a specific duration. */
|
|
184955
185288
|
type: 'time_bound' | 'ongoing';
|
|
184956
185289
|
/** Unique identifier for the access code. */
|