@seamapi/types 1.1215.0 → 1.1216.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +5 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.d.ts +8 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js +3 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js.map +1 -1
- package/lib/seam/connect/openapi.js +10 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/pending-mutations.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +11 -1
- package/src/lib/seam/connect/route-types.ts +14 -0
|
@@ -2722,6 +2722,8 @@ export type Routes = {
|
|
|
2722
2722
|
message: string;
|
|
2723
2723
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
2724
2724
|
mutation_code: 'deleting';
|
|
2725
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
2726
|
+
is_code_usable: boolean;
|
|
2725
2727
|
} | {
|
|
2726
2728
|
/** Date and time at which the mutation was created. */
|
|
2727
2729
|
created_at: string;
|
|
@@ -3265,6 +3267,8 @@ export type Routes = {
|
|
|
3265
3267
|
message: string;
|
|
3266
3268
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
3267
3269
|
mutation_code: 'deleting';
|
|
3270
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
3271
|
+
is_code_usable: boolean;
|
|
3268
3272
|
} | {
|
|
3269
3273
|
/** Date and time at which the mutation was created. */
|
|
3270
3274
|
created_at: string;
|
|
@@ -6050,6 +6054,8 @@ export type Routes = {
|
|
|
6050
6054
|
message: string;
|
|
6051
6055
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
6052
6056
|
mutation_code: 'deleting';
|
|
6057
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
6058
|
+
is_code_usable: boolean;
|
|
6053
6059
|
} | {
|
|
6054
6060
|
/** Date and time at which the mutation was created. */
|
|
6055
6061
|
created_at: string;
|
|
@@ -6641,6 +6647,8 @@ export type Routes = {
|
|
|
6641
6647
|
message: string;
|
|
6642
6648
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
6643
6649
|
mutation_code: 'deleting';
|
|
6650
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
6651
|
+
is_code_usable: boolean;
|
|
6644
6652
|
} | {
|
|
6645
6653
|
/** Date and time at which the mutation was created. */
|
|
6646
6654
|
created_at: string;
|
|
@@ -7175,6 +7183,8 @@ export type Routes = {
|
|
|
7175
7183
|
message: string;
|
|
7176
7184
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
7177
7185
|
mutation_code: 'deleting';
|
|
7186
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
7187
|
+
is_code_usable: boolean;
|
|
7178
7188
|
} | {
|
|
7179
7189
|
/** Date and time at which the mutation was created. */
|
|
7180
7190
|
created_at: string;
|
|
@@ -7686,6 +7696,8 @@ export type Routes = {
|
|
|
7686
7696
|
message: string;
|
|
7687
7697
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
7688
7698
|
mutation_code: 'deleting';
|
|
7699
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
7700
|
+
is_code_usable: boolean;
|
|
7689
7701
|
} | {
|
|
7690
7702
|
/** Date and time at which the mutation was created. */
|
|
7691
7703
|
created_at: string;
|
|
@@ -183944,6 +183956,8 @@ export type Routes = {
|
|
|
183944
183956
|
message: string;
|
|
183945
183957
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
183946
183958
|
mutation_code: 'deleting';
|
|
183959
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
183960
|
+
is_code_usable: boolean;
|
|
183947
183961
|
} | {
|
|
183948
183962
|
/** Date and time at which the mutation was created. */
|
|
183949
183963
|
created_at: string;
|
package/package.json
CHANGED
|
@@ -41,6 +41,11 @@ const deleting = common_pending_mutation
|
|
|
41
41
|
.describe(
|
|
42
42
|
'Mutation code to indicate that Seam is in the process of removing an access code from the device.',
|
|
43
43
|
),
|
|
44
|
+
is_code_usable: z
|
|
45
|
+
.boolean()
|
|
46
|
+
.describe(
|
|
47
|
+
'Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains.',
|
|
48
|
+
),
|
|
44
49
|
})
|
|
45
50
|
.describe(
|
|
46
51
|
'Seam is in the process of removing an access code from the device.',
|
|
@@ -1176,6 +1176,11 @@ const openapi: OpenAPISpec = {
|
|
|
1176
1176
|
format: 'date-time',
|
|
1177
1177
|
type: 'string',
|
|
1178
1178
|
},
|
|
1179
|
+
is_code_usable: {
|
|
1180
|
+
description:
|
|
1181
|
+
'Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains.',
|
|
1182
|
+
type: 'boolean',
|
|
1183
|
+
},
|
|
1179
1184
|
message: {
|
|
1180
1185
|
description: 'Detailed description of the mutation.',
|
|
1181
1186
|
type: 'string',
|
|
@@ -1187,7 +1192,12 @@ const openapi: OpenAPISpec = {
|
|
|
1187
1192
|
type: 'string',
|
|
1188
1193
|
},
|
|
1189
1194
|
},
|
|
1190
|
-
required: [
|
|
1195
|
+
required: [
|
|
1196
|
+
'created_at',
|
|
1197
|
+
'message',
|
|
1198
|
+
'mutation_code',
|
|
1199
|
+
'is_code_usable',
|
|
1200
|
+
],
|
|
1191
1201
|
type: 'object',
|
|
1192
1202
|
},
|
|
1193
1203
|
{
|
|
@@ -3118,6 +3118,8 @@ export type Routes = {
|
|
|
3118
3118
|
message: string
|
|
3119
3119
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
3120
3120
|
mutation_code: 'deleting'
|
|
3121
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
3122
|
+
is_code_usable: boolean
|
|
3121
3123
|
}
|
|
3122
3124
|
| {
|
|
3123
3125
|
/** Date and time at which the mutation was created. */
|
|
@@ -3714,6 +3716,8 @@ export type Routes = {
|
|
|
3714
3716
|
message: string
|
|
3715
3717
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
3716
3718
|
mutation_code: 'deleting'
|
|
3719
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
3720
|
+
is_code_usable: boolean
|
|
3717
3721
|
}
|
|
3718
3722
|
| {
|
|
3719
3723
|
/** Date and time at which the mutation was created. */
|
|
@@ -6899,6 +6903,8 @@ export type Routes = {
|
|
|
6899
6903
|
message: string
|
|
6900
6904
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
6901
6905
|
mutation_code: 'deleting'
|
|
6906
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
6907
|
+
is_code_usable: boolean
|
|
6902
6908
|
}
|
|
6903
6909
|
| {
|
|
6904
6910
|
/** Date and time at which the mutation was created. */
|
|
@@ -7606,6 +7612,8 @@ export type Routes = {
|
|
|
7606
7612
|
message: string
|
|
7607
7613
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
7608
7614
|
mutation_code: 'deleting'
|
|
7615
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
7616
|
+
is_code_usable: boolean
|
|
7609
7617
|
}
|
|
7610
7618
|
| {
|
|
7611
7619
|
/** Date and time at which the mutation was created. */
|
|
@@ -8193,6 +8201,8 @@ export type Routes = {
|
|
|
8193
8201
|
message: string
|
|
8194
8202
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
8195
8203
|
mutation_code: 'deleting'
|
|
8204
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
8205
|
+
is_code_usable: boolean
|
|
8196
8206
|
}
|
|
8197
8207
|
| {
|
|
8198
8208
|
/** Date and time at which the mutation was created. */
|
|
@@ -8757,6 +8767,8 @@ export type Routes = {
|
|
|
8757
8767
|
message: string
|
|
8758
8768
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
8759
8769
|
mutation_code: 'deleting'
|
|
8770
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
8771
|
+
is_code_usable: boolean
|
|
8760
8772
|
}
|
|
8761
8773
|
| {
|
|
8762
8774
|
/** Date and time at which the mutation was created. */
|
|
@@ -218463,6 +218475,8 @@ export type Routes = {
|
|
|
218463
218475
|
message: string
|
|
218464
218476
|
/** Mutation code to indicate that Seam is in the process of removing an access code from the device. */
|
|
218465
218477
|
mutation_code: 'deleting'
|
|
218478
|
+
/** Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains. */
|
|
218479
|
+
is_code_usable: boolean
|
|
218466
218480
|
}
|
|
218467
218481
|
| {
|
|
218468
218482
|
/** Date and time at which the mutation was created. */
|