@seamapi/types 1.944.0 → 1.946.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 +109 -76
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -167
- package/dist/index.cjs +109 -76
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -17
- 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 +0 -26
- package/lib/seam/connect/openapi.js +106 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +16 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -20
- package/src/lib/seam/connect/openapi.ts +106 -68
- package/src/lib/seam/connect/route-types.ts +16 -110
package/dist/connect.d.cts
CHANGED
|
@@ -164,22 +164,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
164
164
|
message: z.ZodString;
|
|
165
165
|
is_access_code_error: z.ZodLiteral<true>;
|
|
166
166
|
created_at: z.ZodOptional<z.ZodString>;
|
|
167
|
-
} & {
|
|
168
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
169
|
-
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
message: string;
|
|
171
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
172
|
-
is_access_code_error: true;
|
|
173
|
-
created_at?: string | undefined;
|
|
174
|
-
}, {
|
|
175
|
-
message: string;
|
|
176
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
177
|
-
is_access_code_error: true;
|
|
178
|
-
created_at?: string | undefined;
|
|
179
|
-
}>, z.ZodObject<{
|
|
180
|
-
message: z.ZodString;
|
|
181
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
182
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
183
167
|
} & {
|
|
184
168
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
185
169
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -527,22 +511,6 @@ declare const access_code: z.ZodObject<{
|
|
|
527
511
|
message: z.ZodString;
|
|
528
512
|
is_access_code_error: z.ZodLiteral<true>;
|
|
529
513
|
created_at: z.ZodOptional<z.ZodString>;
|
|
530
|
-
} & {
|
|
531
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
532
|
-
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
message: string;
|
|
534
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
535
|
-
is_access_code_error: true;
|
|
536
|
-
created_at?: string | undefined;
|
|
537
|
-
}, {
|
|
538
|
-
message: string;
|
|
539
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
540
|
-
is_access_code_error: true;
|
|
541
|
-
created_at?: string | undefined;
|
|
542
|
-
}>, z.ZodObject<{
|
|
543
|
-
message: z.ZodString;
|
|
544
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
545
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
546
514
|
} & {
|
|
547
515
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
548
516
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1465,11 +1433,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1465
1433
|
error_code: "access_code_inactive";
|
|
1466
1434
|
is_access_code_error: true;
|
|
1467
1435
|
created_at?: string | undefined;
|
|
1468
|
-
} | {
|
|
1469
|
-
message: string;
|
|
1470
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1471
|
-
is_access_code_error: true;
|
|
1472
|
-
created_at?: string | undefined;
|
|
1473
1436
|
})[];
|
|
1474
1437
|
warnings: ({
|
|
1475
1438
|
message: string;
|
|
@@ -1758,11 +1721,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1758
1721
|
error_code: "access_code_inactive";
|
|
1759
1722
|
is_access_code_error: true;
|
|
1760
1723
|
created_at?: string | undefined;
|
|
1761
|
-
} | {
|
|
1762
|
-
message: string;
|
|
1763
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1764
|
-
is_access_code_error: true;
|
|
1765
|
-
created_at?: string | undefined;
|
|
1766
1724
|
})[];
|
|
1767
1725
|
warnings: ({
|
|
1768
1726
|
message: string;
|
|
@@ -2056,22 +2014,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2056
2014
|
message: z.ZodString;
|
|
2057
2015
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2058
2016
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2059
|
-
} & {
|
|
2060
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
2061
|
-
}, "strip", z.ZodTypeAny, {
|
|
2062
|
-
message: string;
|
|
2063
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2064
|
-
is_access_code_error: true;
|
|
2065
|
-
created_at?: string | undefined;
|
|
2066
|
-
}, {
|
|
2067
|
-
message: string;
|
|
2068
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2069
|
-
is_access_code_error: true;
|
|
2070
|
-
created_at?: string | undefined;
|
|
2071
|
-
}>, z.ZodObject<{
|
|
2072
|
-
message: z.ZodString;
|
|
2073
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2074
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2075
2017
|
} & {
|
|
2076
2018
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
2077
2019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2820,11 +2762,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2820
2762
|
error_code: "access_code_inactive";
|
|
2821
2763
|
is_access_code_error: true;
|
|
2822
2764
|
created_at?: string | undefined;
|
|
2823
|
-
} | {
|
|
2824
|
-
message: string;
|
|
2825
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2826
|
-
is_access_code_error: true;
|
|
2827
|
-
created_at?: string | undefined;
|
|
2828
2765
|
})[];
|
|
2829
2766
|
warnings: ({
|
|
2830
2767
|
message: string;
|
|
@@ -3060,11 +2997,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3060
2997
|
error_code: "access_code_inactive";
|
|
3061
2998
|
is_access_code_error: true;
|
|
3062
2999
|
created_at?: string | undefined;
|
|
3063
|
-
} | {
|
|
3064
|
-
message: string;
|
|
3065
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
3066
|
-
is_access_code_error: true;
|
|
3067
|
-
created_at?: string | undefined;
|
|
3068
3000
|
})[];
|
|
3069
3001
|
warnings: ({
|
|
3070
3002
|
message: string;
|
|
@@ -31784,15 +31716,6 @@ type Routes = {
|
|
|
31784
31716
|
created_at?: string | undefined;
|
|
31785
31717
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31786
31718
|
error_code: 'access_code_inactive';
|
|
31787
|
-
} | {
|
|
31788
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31789
|
-
message: string;
|
|
31790
|
-
/** Indicates that this is an access code error. */
|
|
31791
|
-
is_access_code_error: true;
|
|
31792
|
-
/** Date and time at which Seam created the error. */
|
|
31793
|
-
created_at?: string | undefined;
|
|
31794
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31795
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
31796
31719
|
} | {
|
|
31797
31720
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31798
31721
|
message: string;
|
|
@@ -32308,15 +32231,6 @@ type Routes = {
|
|
|
32308
32231
|
created_at?: string | undefined;
|
|
32309
32232
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32310
32233
|
error_code: 'access_code_inactive';
|
|
32311
|
-
} | {
|
|
32312
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
32313
|
-
message: string;
|
|
32314
|
-
/** Indicates that this is an access code error. */
|
|
32315
|
-
is_access_code_error: true;
|
|
32316
|
-
/** Date and time at which Seam created the error. */
|
|
32317
|
-
created_at?: string | undefined;
|
|
32318
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32319
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
32320
32234
|
} | {
|
|
32321
32235
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
32322
32236
|
message: string;
|
|
@@ -34520,15 +34434,6 @@ type Routes = {
|
|
|
34520
34434
|
created_at?: string | undefined;
|
|
34521
34435
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34522
34436
|
error_code: 'access_code_inactive';
|
|
34523
|
-
} | {
|
|
34524
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34525
|
-
message: string;
|
|
34526
|
-
/** Indicates that this is an access code error. */
|
|
34527
|
-
is_access_code_error: true;
|
|
34528
|
-
/** Date and time at which Seam created the error. */
|
|
34529
|
-
created_at?: string | undefined;
|
|
34530
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34531
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
34532
34437
|
} | {
|
|
34533
34438
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34534
34439
|
message: string;
|
|
@@ -35090,15 +34995,6 @@ type Routes = {
|
|
|
35090
34995
|
created_at?: string | undefined;
|
|
35091
34996
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35092
34997
|
error_code: 'access_code_inactive';
|
|
35093
|
-
} | {
|
|
35094
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35095
|
-
message: string;
|
|
35096
|
-
/** Indicates that this is an access code error. */
|
|
35097
|
-
is_access_code_error: true;
|
|
35098
|
-
/** Date and time at which Seam created the error. */
|
|
35099
|
-
created_at?: string | undefined;
|
|
35100
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35101
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
35102
34998
|
} | {
|
|
35103
34999
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35104
35000
|
message: string;
|
|
@@ -35605,15 +35501,6 @@ type Routes = {
|
|
|
35605
35501
|
created_at?: string | undefined;
|
|
35606
35502
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35607
35503
|
error_code: 'access_code_inactive';
|
|
35608
|
-
} | {
|
|
35609
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35610
|
-
message: string;
|
|
35611
|
-
/** Indicates that this is an access code error. */
|
|
35612
|
-
is_access_code_error: true;
|
|
35613
|
-
/** Date and time at which Seam created the error. */
|
|
35614
|
-
created_at?: string | undefined;
|
|
35615
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35616
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
35617
35504
|
} | {
|
|
35618
35505
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35619
35506
|
message: string;
|
|
@@ -36097,15 +35984,6 @@ type Routes = {
|
|
|
36097
35984
|
created_at?: string | undefined;
|
|
36098
35985
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36099
35986
|
error_code: 'access_code_inactive';
|
|
36100
|
-
} | {
|
|
36101
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36102
|
-
message: string;
|
|
36103
|
-
/** Indicates that this is an access code error. */
|
|
36104
|
-
is_access_code_error: true;
|
|
36105
|
-
/** Date and time at which Seam created the error. */
|
|
36106
|
-
created_at?: string | undefined;
|
|
36107
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36108
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
36109
35987
|
} | {
|
|
36110
35988
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36111
35989
|
message: string;
|
|
@@ -36622,15 +36500,6 @@ type Routes = {
|
|
|
36622
36500
|
created_at?: string | undefined;
|
|
36623
36501
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36624
36502
|
error_code: 'access_code_inactive';
|
|
36625
|
-
} | {
|
|
36626
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36627
|
-
message: string;
|
|
36628
|
-
/** Indicates that this is an access code error. */
|
|
36629
|
-
is_access_code_error: true;
|
|
36630
|
-
/** Date and time at which Seam created the error. */
|
|
36631
|
-
created_at?: string | undefined;
|
|
36632
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36633
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
36634
36503
|
} | {
|
|
36635
36504
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36636
36505
|
message: string;
|
|
@@ -38743,15 +38612,6 @@ type Routes = {
|
|
|
38743
38612
|
created_at?: string | undefined;
|
|
38744
38613
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38745
38614
|
error_code: 'access_code_inactive';
|
|
38746
|
-
} | {
|
|
38747
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38748
|
-
message: string;
|
|
38749
|
-
/** Indicates that this is an access code error. */
|
|
38750
|
-
is_access_code_error: true;
|
|
38751
|
-
/** Date and time at which Seam created the error. */
|
|
38752
|
-
created_at?: string | undefined;
|
|
38753
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38754
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
38755
38615
|
} | {
|
|
38756
38616
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38757
38617
|
message: string;
|
|
@@ -39154,15 +39014,6 @@ type Routes = {
|
|
|
39154
39014
|
created_at?: string | undefined;
|
|
39155
39015
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39156
39016
|
error_code: 'access_code_inactive';
|
|
39157
|
-
} | {
|
|
39158
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39159
|
-
message: string;
|
|
39160
|
-
/** Indicates that this is an access code error. */
|
|
39161
|
-
is_access_code_error: true;
|
|
39162
|
-
/** Date and time at which Seam created the error. */
|
|
39163
|
-
created_at?: string | undefined;
|
|
39164
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39165
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
39166
39017
|
} | {
|
|
39167
39018
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39168
39019
|
message: string;
|
|
@@ -104702,6 +104553,22 @@ type Routes = {
|
|
|
104702
104553
|
status: string;
|
|
104703
104554
|
created_at: string;
|
|
104704
104555
|
updated_at: string;
|
|
104556
|
+
deleted_codes: {
|
|
104557
|
+
access_code_id: string;
|
|
104558
|
+
code: string | null;
|
|
104559
|
+
name: string | null;
|
|
104560
|
+
is_managed: boolean;
|
|
104561
|
+
device_id: string | null;
|
|
104562
|
+
type: string | null;
|
|
104563
|
+
starts_at: string | null;
|
|
104564
|
+
ends_at: string | null;
|
|
104565
|
+
origin: string;
|
|
104566
|
+
}[];
|
|
104567
|
+
account_sync_requests: {
|
|
104568
|
+
at: string;
|
|
104569
|
+
phase: string;
|
|
104570
|
+
connected_account_ids: string[];
|
|
104571
|
+
}[];
|
|
104705
104572
|
} | null;
|
|
104706
104573
|
};
|
|
104707
104574
|
maxDuration: undefined;
|
|
@@ -149002,15 +148869,6 @@ type Routes = {
|
|
|
149002
148869
|
created_at?: string | undefined;
|
|
149003
148870
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149004
148871
|
error_code: 'access_code_inactive';
|
|
149005
|
-
} | {
|
|
149006
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149007
|
-
message: string;
|
|
149008
|
-
/** Indicates that this is an access code error. */
|
|
149009
|
-
is_access_code_error: true;
|
|
149010
|
-
/** Date and time at which Seam created the error. */
|
|
149011
|
-
created_at?: string | undefined;
|
|
149012
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149013
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
149014
148872
|
} | {
|
|
149015
148873
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149016
148874
|
message: string;
|
|
@@ -149397,15 +149255,6 @@ type Routes = {
|
|
|
149397
149255
|
created_at?: string | undefined;
|
|
149398
149256
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149399
149257
|
error_code: 'access_code_inactive';
|
|
149400
|
-
} | {
|
|
149401
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149402
|
-
message: string;
|
|
149403
|
-
/** Indicates that this is an access code error. */
|
|
149404
|
-
is_access_code_error: true;
|
|
149405
|
-
/** Date and time at which Seam created the error. */
|
|
149406
|
-
created_at?: string | undefined;
|
|
149407
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149408
|
-
error_code: 'salto_ks_user_not_subscribed';
|
|
149409
149258
|
} | {
|
|
149410
149259
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149411
149260
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2646,17 +2646,6 @@ var access_code_inactive_error = common_access_code_error.extend({
|
|
|
2646
2646
|
---
|
|
2647
2647
|
Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
|
|
2648
2648
|
`);
|
|
2649
|
-
var salto_ks_user_not_subscribed = common_access_code_error.extend({
|
|
2650
|
-
error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
|
|
2651
|
-
}).describe(
|
|
2652
|
-
`
|
|
2653
|
-
---
|
|
2654
|
-
resource_type: access_code
|
|
2655
|
-
deprecated: Use \`access_code_inactive\` instead.
|
|
2656
|
-
---
|
|
2657
|
-
Salto site user is not subscribed.
|
|
2658
|
-
`
|
|
2659
|
-
);
|
|
2660
2649
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2661
2650
|
provider_issue2,
|
|
2662
2651
|
failed_to_set_on_device,
|
|
@@ -2666,7 +2655,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2666
2655
|
no_space_for_access_code_on_device,
|
|
2667
2656
|
code_modified_external_to_seam_error,
|
|
2668
2657
|
access_code_inactive_error,
|
|
2669
|
-
salto_ks_user_not_subscribed,
|
|
2670
2658
|
insufficient_permissions2
|
|
2671
2659
|
]).describe(
|
|
2672
2660
|
"Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
|
|
@@ -2680,8 +2668,7 @@ zod.z.object({
|
|
|
2680
2668
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
|
|
2681
2669
|
insufficient_permissions: insufficient_permissions2.optional().nullable(),
|
|
2682
2670
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2683
|
-
access_code_inactive: access_code_inactive_error.optional().nullable()
|
|
2684
|
-
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
|
|
2671
|
+
access_code_inactive: access_code_inactive_error.optional().nullable()
|
|
2685
2672
|
});
|
|
2686
2673
|
var common_access_code_warning = zod.z.object({
|
|
2687
2674
|
message: zod.z.string().describe(
|
|
@@ -7908,35 +7895,6 @@ var openapi = {
|
|
|
7908
7895
|
type: "object",
|
|
7909
7896
|
"x-resource-type": "access_code"
|
|
7910
7897
|
},
|
|
7911
|
-
{
|
|
7912
|
-
deprecated: true,
|
|
7913
|
-
description: "Salto site user is not subscribed.",
|
|
7914
|
-
properties: {
|
|
7915
|
-
created_at: {
|
|
7916
|
-
description: "Date and time at which Seam created the error.",
|
|
7917
|
-
format: "date-time",
|
|
7918
|
-
type: "string"
|
|
7919
|
-
},
|
|
7920
|
-
error_code: {
|
|
7921
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7922
|
-
enum: ["salto_ks_user_not_subscribed"],
|
|
7923
|
-
type: "string"
|
|
7924
|
-
},
|
|
7925
|
-
is_access_code_error: {
|
|
7926
|
-
description: "Indicates that this is an access code error.",
|
|
7927
|
-
enum: [true],
|
|
7928
|
-
type: "boolean"
|
|
7929
|
-
},
|
|
7930
|
-
message: {
|
|
7931
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7932
|
-
type: "string"
|
|
7933
|
-
}
|
|
7934
|
-
},
|
|
7935
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7936
|
-
type: "object",
|
|
7937
|
-
"x-deprecated": "Use `access_code_inactive` instead.",
|
|
7938
|
-
"x-resource-type": "access_code"
|
|
7939
|
-
},
|
|
7940
7898
|
{
|
|
7941
7899
|
description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
|
|
7942
7900
|
properties: {
|
|
@@ -33914,35 +33872,6 @@ var openapi = {
|
|
|
33914
33872
|
type: "object",
|
|
33915
33873
|
"x-resource-type": "access_code"
|
|
33916
33874
|
},
|
|
33917
|
-
{
|
|
33918
|
-
deprecated: true,
|
|
33919
|
-
description: "Salto site user is not subscribed.",
|
|
33920
|
-
properties: {
|
|
33921
|
-
created_at: {
|
|
33922
|
-
description: "Date and time at which Seam created the error.",
|
|
33923
|
-
format: "date-time",
|
|
33924
|
-
type: "string"
|
|
33925
|
-
},
|
|
33926
|
-
error_code: {
|
|
33927
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33928
|
-
enum: ["salto_ks_user_not_subscribed"],
|
|
33929
|
-
type: "string"
|
|
33930
|
-
},
|
|
33931
|
-
is_access_code_error: {
|
|
33932
|
-
description: "Indicates that this is an access code error.",
|
|
33933
|
-
enum: [true],
|
|
33934
|
-
type: "boolean"
|
|
33935
|
-
},
|
|
33936
|
-
message: {
|
|
33937
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
33938
|
-
type: "string"
|
|
33939
|
-
}
|
|
33940
|
-
},
|
|
33941
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
33942
|
-
type: "object",
|
|
33943
|
-
"x-deprecated": "Use `access_code_inactive` instead.",
|
|
33944
|
-
"x-resource-type": "access_code"
|
|
33945
|
-
},
|
|
33946
33875
|
{
|
|
33947
33876
|
description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
|
|
33948
33877
|
properties: {
|
|
@@ -67967,7 +67896,7 @@ var openapi = {
|
|
|
67967
67896
|
},
|
|
67968
67897
|
"/seam/console/v1/lynx_migration/get_reservation_migration_status": {
|
|
67969
67898
|
get: {
|
|
67970
|
-
description: "Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id \u2014 a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.",
|
|
67899
|
+
description: "Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id \u2014 a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.\n\nIncludes the codes the cutover deleted (snapshotted before deletion, so the\nhistory survives the hard-delete) and each connected-account sync it requested.",
|
|
67971
67900
|
operationId: "seamConsoleV1LynxMigrationGetReservationMigrationStatusGet",
|
|
67972
67901
|
parameters: [
|
|
67973
67902
|
{
|
|
@@ -67991,7 +67920,57 @@ var openapi = {
|
|
|
67991
67920
|
nullable: true,
|
|
67992
67921
|
properties: {
|
|
67993
67922
|
access_grant_id: { format: "uuid", type: "string" },
|
|
67923
|
+
account_sync_requests: {
|
|
67924
|
+
items: {
|
|
67925
|
+
properties: {
|
|
67926
|
+
at: { type: "string" },
|
|
67927
|
+
connected_account_ids: {
|
|
67928
|
+
items: { format: "uuid", type: "string" },
|
|
67929
|
+
type: "array"
|
|
67930
|
+
},
|
|
67931
|
+
phase: { type: "string" }
|
|
67932
|
+
},
|
|
67933
|
+
required: ["at", "phase", "connected_account_ids"],
|
|
67934
|
+
type: "object"
|
|
67935
|
+
},
|
|
67936
|
+
type: "array"
|
|
67937
|
+
},
|
|
67994
67938
|
created_at: { type: "string" },
|
|
67939
|
+
deleted_codes: {
|
|
67940
|
+
items: {
|
|
67941
|
+
properties: {
|
|
67942
|
+
access_code_id: {
|
|
67943
|
+
format: "uuid",
|
|
67944
|
+
type: "string"
|
|
67945
|
+
},
|
|
67946
|
+
code: { nullable: true, type: "string" },
|
|
67947
|
+
device_id: {
|
|
67948
|
+
format: "uuid",
|
|
67949
|
+
nullable: true,
|
|
67950
|
+
type: "string"
|
|
67951
|
+
},
|
|
67952
|
+
ends_at: { nullable: true, type: "string" },
|
|
67953
|
+
is_managed: { type: "boolean" },
|
|
67954
|
+
name: { nullable: true, type: "string" },
|
|
67955
|
+
origin: { type: "string" },
|
|
67956
|
+
starts_at: { nullable: true, type: "string" },
|
|
67957
|
+
type: { nullable: true, type: "string" }
|
|
67958
|
+
},
|
|
67959
|
+
required: [
|
|
67960
|
+
"access_code_id",
|
|
67961
|
+
"code",
|
|
67962
|
+
"name",
|
|
67963
|
+
"is_managed",
|
|
67964
|
+
"device_id",
|
|
67965
|
+
"type",
|
|
67966
|
+
"starts_at",
|
|
67967
|
+
"ends_at",
|
|
67968
|
+
"origin"
|
|
67969
|
+
],
|
|
67970
|
+
type: "object"
|
|
67971
|
+
},
|
|
67972
|
+
type: "array"
|
|
67973
|
+
},
|
|
67995
67974
|
lynx_migration_run_id: {
|
|
67996
67975
|
format: "uuid",
|
|
67997
67976
|
type: "string"
|
|
@@ -68004,7 +67983,9 @@ var openapi = {
|
|
|
68004
67983
|
"access_grant_id",
|
|
68005
67984
|
"status",
|
|
68006
67985
|
"created_at",
|
|
68007
|
-
"updated_at"
|
|
67986
|
+
"updated_at",
|
|
67987
|
+
"deleted_codes",
|
|
67988
|
+
"account_sync_requests"
|
|
68008
67989
|
],
|
|
68009
67990
|
type: "object"
|
|
68010
67991
|
},
|
|
@@ -68035,7 +68016,7 @@ var openapi = {
|
|
|
68035
68016
|
"x-undocumented": "Internal endpoint for Console"
|
|
68036
68017
|
},
|
|
68037
68018
|
post: {
|
|
68038
|
-
description: "Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id \u2014 a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.",
|
|
68019
|
+
description: "Returns the most recent per-reservation Lynx cutover run for an access grant.\nReturns a null run when the reservation has never been migrated. Keyed by\naccess_grant_id \u2014 a successful cutover deletes the access grant, but the run\nrecord outlives it, so status remains available after the migration completes.\n\nIncludes the codes the cutover deleted (snapshotted before deletion, so the\nhistory survives the hard-delete) and each connected-account sync it requested.",
|
|
68039
68020
|
operationId: "seamConsoleV1LynxMigrationGetReservationMigrationStatusPost",
|
|
68040
68021
|
requestBody: {
|
|
68041
68022
|
content: {
|
|
@@ -68064,7 +68045,57 @@ var openapi = {
|
|
|
68064
68045
|
nullable: true,
|
|
68065
68046
|
properties: {
|
|
68066
68047
|
access_grant_id: { format: "uuid", type: "string" },
|
|
68048
|
+
account_sync_requests: {
|
|
68049
|
+
items: {
|
|
68050
|
+
properties: {
|
|
68051
|
+
at: { type: "string" },
|
|
68052
|
+
connected_account_ids: {
|
|
68053
|
+
items: { format: "uuid", type: "string" },
|
|
68054
|
+
type: "array"
|
|
68055
|
+
},
|
|
68056
|
+
phase: { type: "string" }
|
|
68057
|
+
},
|
|
68058
|
+
required: ["at", "phase", "connected_account_ids"],
|
|
68059
|
+
type: "object"
|
|
68060
|
+
},
|
|
68061
|
+
type: "array"
|
|
68062
|
+
},
|
|
68067
68063
|
created_at: { type: "string" },
|
|
68064
|
+
deleted_codes: {
|
|
68065
|
+
items: {
|
|
68066
|
+
properties: {
|
|
68067
|
+
access_code_id: {
|
|
68068
|
+
format: "uuid",
|
|
68069
|
+
type: "string"
|
|
68070
|
+
},
|
|
68071
|
+
code: { nullable: true, type: "string" },
|
|
68072
|
+
device_id: {
|
|
68073
|
+
format: "uuid",
|
|
68074
|
+
nullable: true,
|
|
68075
|
+
type: "string"
|
|
68076
|
+
},
|
|
68077
|
+
ends_at: { nullable: true, type: "string" },
|
|
68078
|
+
is_managed: { type: "boolean" },
|
|
68079
|
+
name: { nullable: true, type: "string" },
|
|
68080
|
+
origin: { type: "string" },
|
|
68081
|
+
starts_at: { nullable: true, type: "string" },
|
|
68082
|
+
type: { nullable: true, type: "string" }
|
|
68083
|
+
},
|
|
68084
|
+
required: [
|
|
68085
|
+
"access_code_id",
|
|
68086
|
+
"code",
|
|
68087
|
+
"name",
|
|
68088
|
+
"is_managed",
|
|
68089
|
+
"device_id",
|
|
68090
|
+
"type",
|
|
68091
|
+
"starts_at",
|
|
68092
|
+
"ends_at",
|
|
68093
|
+
"origin"
|
|
68094
|
+
],
|
|
68095
|
+
type: "object"
|
|
68096
|
+
},
|
|
68097
|
+
type: "array"
|
|
68098
|
+
},
|
|
68068
68099
|
lynx_migration_run_id: {
|
|
68069
68100
|
format: "uuid",
|
|
68070
68101
|
type: "string"
|
|
@@ -68077,7 +68108,9 @@ var openapi = {
|
|
|
68077
68108
|
"access_grant_id",
|
|
68078
68109
|
"status",
|
|
68079
68110
|
"created_at",
|
|
68080
|
-
"updated_at"
|
|
68111
|
+
"updated_at",
|
|
68112
|
+
"deleted_codes",
|
|
68113
|
+
"account_sync_requests"
|
|
68081
68114
|
],
|
|
68082
68115
|
type: "object"
|
|
68083
68116
|
},
|