@seamapi/types 1.940.0 → 1.942.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 +90 -64
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +20 -167
- package/dist/index.cjs +90 -64
- 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 -14
- 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 +90 -54
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -15
- package/src/lib/seam/connect/openapi.ts +93 -64
- package/src/lib/seam/connect/route-types.ts +34 -110
package/dist/connect.d.cts
CHANGED
|
@@ -106,22 +106,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
106
106
|
message: z.ZodString;
|
|
107
107
|
is_access_code_error: z.ZodLiteral<true>;
|
|
108
108
|
created_at: z.ZodOptional<z.ZodString>;
|
|
109
|
-
} & {
|
|
110
|
-
error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
|
|
111
|
-
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
message: string;
|
|
113
|
-
error_code: "access_code_state_unconfirmed";
|
|
114
|
-
is_access_code_error: true;
|
|
115
|
-
created_at?: string | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
message: string;
|
|
118
|
-
error_code: "access_code_state_unconfirmed";
|
|
119
|
-
is_access_code_error: true;
|
|
120
|
-
created_at?: string | undefined;
|
|
121
|
-
}>, z.ZodObject<{
|
|
122
|
-
message: z.ZodString;
|
|
123
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
124
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
125
109
|
} & {
|
|
126
110
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
127
111
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
@@ -485,22 +469,6 @@ declare const access_code: z.ZodObject<{
|
|
|
485
469
|
message: z.ZodString;
|
|
486
470
|
is_access_code_error: z.ZodLiteral<true>;
|
|
487
471
|
created_at: z.ZodOptional<z.ZodString>;
|
|
488
|
-
} & {
|
|
489
|
-
error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
|
|
490
|
-
}, "strip", z.ZodTypeAny, {
|
|
491
|
-
message: string;
|
|
492
|
-
error_code: "access_code_state_unconfirmed";
|
|
493
|
-
is_access_code_error: true;
|
|
494
|
-
created_at?: string | undefined;
|
|
495
|
-
}, {
|
|
496
|
-
message: string;
|
|
497
|
-
error_code: "access_code_state_unconfirmed";
|
|
498
|
-
is_access_code_error: true;
|
|
499
|
-
created_at?: string | undefined;
|
|
500
|
-
}>, z.ZodObject<{
|
|
501
|
-
message: z.ZodString;
|
|
502
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
503
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
504
472
|
} & {
|
|
505
473
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
506
474
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
@@ -1487,11 +1455,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1487
1455
|
error_code: "no_space_for_access_code_on_device";
|
|
1488
1456
|
is_access_code_error: true;
|
|
1489
1457
|
created_at?: string | undefined;
|
|
1490
|
-
} | {
|
|
1491
|
-
message: string;
|
|
1492
|
-
error_code: "access_code_state_unconfirmed";
|
|
1493
|
-
is_access_code_error: true;
|
|
1494
|
-
created_at?: string | undefined;
|
|
1495
1458
|
} | {
|
|
1496
1459
|
message: string;
|
|
1497
1460
|
error_code: "insufficient_permissions";
|
|
@@ -1785,11 +1748,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1785
1748
|
error_code: "no_space_for_access_code_on_device";
|
|
1786
1749
|
is_access_code_error: true;
|
|
1787
1750
|
created_at?: string | undefined;
|
|
1788
|
-
} | {
|
|
1789
|
-
message: string;
|
|
1790
|
-
error_code: "access_code_state_unconfirmed";
|
|
1791
|
-
is_access_code_error: true;
|
|
1792
|
-
created_at?: string | undefined;
|
|
1793
1751
|
} | {
|
|
1794
1752
|
message: string;
|
|
1795
1753
|
error_code: "insufficient_permissions";
|
|
@@ -2040,22 +1998,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2040
1998
|
message: z.ZodString;
|
|
2041
1999
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2042
2000
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2043
|
-
} & {
|
|
2044
|
-
error_code: z.ZodLiteral<"access_code_state_unconfirmed">;
|
|
2045
|
-
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
message: string;
|
|
2047
|
-
error_code: "access_code_state_unconfirmed";
|
|
2048
|
-
is_access_code_error: true;
|
|
2049
|
-
created_at?: string | undefined;
|
|
2050
|
-
}, {
|
|
2051
|
-
message: string;
|
|
2052
|
-
error_code: "access_code_state_unconfirmed";
|
|
2053
|
-
is_access_code_error: true;
|
|
2054
|
-
created_at?: string | undefined;
|
|
2055
|
-
}>, z.ZodObject<{
|
|
2056
|
-
message: z.ZodString;
|
|
2057
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2058
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2059
2001
|
} & {
|
|
2060
2002
|
error_code: z.ZodLiteral<"code_modified_external_to_seam">;
|
|
2061
2003
|
change_type: z.ZodOptional<z.ZodEnum<["modified", "removed"]>>;
|
|
@@ -2868,11 +2810,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2868
2810
|
error_code: "no_space_for_access_code_on_device";
|
|
2869
2811
|
is_access_code_error: true;
|
|
2870
2812
|
created_at?: string | undefined;
|
|
2871
|
-
} | {
|
|
2872
|
-
message: string;
|
|
2873
|
-
error_code: "access_code_state_unconfirmed";
|
|
2874
|
-
is_access_code_error: true;
|
|
2875
|
-
created_at?: string | undefined;
|
|
2876
2813
|
} | {
|
|
2877
2814
|
message: string;
|
|
2878
2815
|
error_code: "insufficient_permissions";
|
|
@@ -3113,11 +3050,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3113
3050
|
error_code: "no_space_for_access_code_on_device";
|
|
3114
3051
|
is_access_code_error: true;
|
|
3115
3052
|
created_at?: string | undefined;
|
|
3116
|
-
} | {
|
|
3117
|
-
message: string;
|
|
3118
|
-
error_code: "access_code_state_unconfirmed";
|
|
3119
|
-
is_access_code_error: true;
|
|
3120
|
-
created_at?: string | undefined;
|
|
3121
3053
|
} | {
|
|
3122
3054
|
message: string;
|
|
3123
3055
|
error_code: "insufficient_permissions";
|
|
@@ -31701,15 +31633,6 @@ type Routes = {
|
|
|
31701
31633
|
created_at?: string | undefined;
|
|
31702
31634
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31703
31635
|
error_code: 'no_space_for_access_code_on_device';
|
|
31704
|
-
} | {
|
|
31705
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31706
|
-
message: string;
|
|
31707
|
-
/** Indicates that this is an access code error. */
|
|
31708
|
-
is_access_code_error: true;
|
|
31709
|
-
/** Date and time at which Seam created the error. */
|
|
31710
|
-
created_at?: string | undefined;
|
|
31711
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31712
|
-
error_code: 'access_code_state_unconfirmed';
|
|
31713
31636
|
} | {
|
|
31714
31637
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31715
31638
|
message: string;
|
|
@@ -32234,15 +32157,6 @@ type Routes = {
|
|
|
32234
32157
|
created_at?: string | undefined;
|
|
32235
32158
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32236
32159
|
error_code: 'no_space_for_access_code_on_device';
|
|
32237
|
-
} | {
|
|
32238
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
32239
|
-
message: string;
|
|
32240
|
-
/** Indicates that this is an access code error. */
|
|
32241
|
-
is_access_code_error: true;
|
|
32242
|
-
/** Date and time at which Seam created the error. */
|
|
32243
|
-
created_at?: string | undefined;
|
|
32244
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
32245
|
-
error_code: 'access_code_state_unconfirmed';
|
|
32246
32160
|
} | {
|
|
32247
32161
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
32248
32162
|
message: string;
|
|
@@ -34455,15 +34369,6 @@ type Routes = {
|
|
|
34455
34369
|
created_at?: string | undefined;
|
|
34456
34370
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34457
34371
|
error_code: 'no_space_for_access_code_on_device';
|
|
34458
|
-
} | {
|
|
34459
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34460
|
-
message: string;
|
|
34461
|
-
/** Indicates that this is an access code error. */
|
|
34462
|
-
is_access_code_error: true;
|
|
34463
|
-
/** Date and time at which Seam created the error. */
|
|
34464
|
-
created_at?: string | undefined;
|
|
34465
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34466
|
-
error_code: 'access_code_state_unconfirmed';
|
|
34467
34372
|
} | {
|
|
34468
34373
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34469
34374
|
message: string;
|
|
@@ -35034,15 +34939,6 @@ type Routes = {
|
|
|
35034
34939
|
created_at?: string | undefined;
|
|
35035
34940
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35036
34941
|
error_code: 'no_space_for_access_code_on_device';
|
|
35037
|
-
} | {
|
|
35038
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35039
|
-
message: string;
|
|
35040
|
-
/** Indicates that this is an access code error. */
|
|
35041
|
-
is_access_code_error: true;
|
|
35042
|
-
/** Date and time at which Seam created the error. */
|
|
35043
|
-
created_at?: string | undefined;
|
|
35044
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35045
|
-
error_code: 'access_code_state_unconfirmed';
|
|
35046
34942
|
} | {
|
|
35047
34943
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35048
34944
|
message: string;
|
|
@@ -35558,15 +35454,6 @@ type Routes = {
|
|
|
35558
35454
|
created_at?: string | undefined;
|
|
35559
35455
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35560
35456
|
error_code: 'no_space_for_access_code_on_device';
|
|
35561
|
-
} | {
|
|
35562
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35563
|
-
message: string;
|
|
35564
|
-
/** Indicates that this is an access code error. */
|
|
35565
|
-
is_access_code_error: true;
|
|
35566
|
-
/** Date and time at which Seam created the error. */
|
|
35567
|
-
created_at?: string | undefined;
|
|
35568
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35569
|
-
error_code: 'access_code_state_unconfirmed';
|
|
35570
35457
|
} | {
|
|
35571
35458
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35572
35459
|
message: string;
|
|
@@ -36059,15 +35946,6 @@ type Routes = {
|
|
|
36059
35946
|
created_at?: string | undefined;
|
|
36060
35947
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36061
35948
|
error_code: 'no_space_for_access_code_on_device';
|
|
36062
|
-
} | {
|
|
36063
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36064
|
-
message: string;
|
|
36065
|
-
/** Indicates that this is an access code error. */
|
|
36066
|
-
is_access_code_error: true;
|
|
36067
|
-
/** Date and time at which Seam created the error. */
|
|
36068
|
-
created_at?: string | undefined;
|
|
36069
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36070
|
-
error_code: 'access_code_state_unconfirmed';
|
|
36071
35949
|
} | {
|
|
36072
35950
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36073
35951
|
message: string;
|
|
@@ -36593,15 +36471,6 @@ type Routes = {
|
|
|
36593
36471
|
created_at?: string | undefined;
|
|
36594
36472
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36595
36473
|
error_code: 'no_space_for_access_code_on_device';
|
|
36596
|
-
} | {
|
|
36597
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36598
|
-
message: string;
|
|
36599
|
-
/** Indicates that this is an access code error. */
|
|
36600
|
-
is_access_code_error: true;
|
|
36601
|
-
/** Date and time at which Seam created the error. */
|
|
36602
|
-
created_at?: string | undefined;
|
|
36603
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36604
|
-
error_code: 'access_code_state_unconfirmed';
|
|
36605
36474
|
} | {
|
|
36606
36475
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36607
36476
|
message: string;
|
|
@@ -38723,15 +38592,6 @@ type Routes = {
|
|
|
38723
38592
|
created_at?: string | undefined;
|
|
38724
38593
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38725
38594
|
error_code: 'no_space_for_access_code_on_device';
|
|
38726
|
-
} | {
|
|
38727
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38728
|
-
message: string;
|
|
38729
|
-
/** Indicates that this is an access code error. */
|
|
38730
|
-
is_access_code_error: true;
|
|
38731
|
-
/** Date and time at which Seam created the error. */
|
|
38732
|
-
created_at?: string | undefined;
|
|
38733
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38734
|
-
error_code: 'access_code_state_unconfirmed';
|
|
38735
38595
|
} | {
|
|
38736
38596
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38737
38597
|
message: string;
|
|
@@ -39143,15 +39003,6 @@ type Routes = {
|
|
|
39143
39003
|
created_at?: string | undefined;
|
|
39144
39004
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39145
39005
|
error_code: 'no_space_for_access_code_on_device';
|
|
39146
|
-
} | {
|
|
39147
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39148
|
-
message: string;
|
|
39149
|
-
/** Indicates that this is an access code error. */
|
|
39150
|
-
is_access_code_error: true;
|
|
39151
|
-
/** Date and time at which Seam created the error. */
|
|
39152
|
-
created_at?: string | undefined;
|
|
39153
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39154
|
-
error_code: 'access_code_state_unconfirmed';
|
|
39155
39006
|
} | {
|
|
39156
39007
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39157
39008
|
message: string;
|
|
@@ -104912,6 +104763,26 @@ type Routes = {
|
|
|
104912
104763
|
};
|
|
104913
104764
|
maxDuration: undefined;
|
|
104914
104765
|
};
|
|
104766
|
+
'/seam/console/v1/workspace/feature_flags/update': {
|
|
104767
|
+
route: '/seam/console/v1/workspace/feature_flags/update';
|
|
104768
|
+
method: 'POST';
|
|
104769
|
+
queryParams: {};
|
|
104770
|
+
jsonBody: {};
|
|
104771
|
+
commonParams: {
|
|
104772
|
+
/** Name of the workspace feature flag to update. */
|
|
104773
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'LYNX_MIGRATION_ENABLED';
|
|
104774
|
+
/** Whether the feature flag should be enabled for the workspace. */
|
|
104775
|
+
enabled: boolean;
|
|
104776
|
+
};
|
|
104777
|
+
formData: {};
|
|
104778
|
+
jsonResponse: {
|
|
104779
|
+
feature_flag: {
|
|
104780
|
+
feature_flag_name: 'RESERVATION_LEGACY' | 'EXPERIMENTAL_DASHBOARD_API_ENABLED' | 'ICAL_CONNECTOR' | 'VISIONLINE_SERIALIZE_BRIDGE_REQUESTS' | 'SALTO_KS_ENTRANCES_ONLY_FOR_SPACES' | 'MANAGE_DEVICES_CONFIRMATION_MODAL' | 'LYNX_MIGRATION_ENABLED';
|
|
104781
|
+
enabled: boolean;
|
|
104782
|
+
};
|
|
104783
|
+
};
|
|
104784
|
+
maxDuration: undefined;
|
|
104785
|
+
};
|
|
104915
104786
|
'/seam/customer/v1/access_grants/list': {
|
|
104916
104787
|
route: '/seam/customer/v1/access_grants/list';
|
|
104917
104788
|
method: 'GET' | 'POST';
|
|
@@ -148666,15 +148537,6 @@ type Routes = {
|
|
|
148666
148537
|
created_at?: string | undefined;
|
|
148667
148538
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
148668
148539
|
error_code: 'no_space_for_access_code_on_device';
|
|
148669
|
-
} | {
|
|
148670
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
148671
|
-
message: string;
|
|
148672
|
-
/** Indicates that this is an access code error. */
|
|
148673
|
-
is_access_code_error: true;
|
|
148674
|
-
/** Date and time at which Seam created the error. */
|
|
148675
|
-
created_at?: string | undefined;
|
|
148676
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
148677
|
-
error_code: 'access_code_state_unconfirmed';
|
|
148678
148540
|
} | {
|
|
148679
148541
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
148680
148542
|
message: string;
|
|
@@ -149070,15 +148932,6 @@ type Routes = {
|
|
|
149070
148932
|
created_at?: string | undefined;
|
|
149071
148933
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149072
148934
|
error_code: 'no_space_for_access_code_on_device';
|
|
149073
|
-
} | {
|
|
149074
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149075
|
-
message: string;
|
|
149076
|
-
/** Indicates that this is an access code error. */
|
|
149077
|
-
is_access_code_error: true;
|
|
149078
|
-
/** Date and time at which Seam created the error. */
|
|
149079
|
-
created_at?: string | undefined;
|
|
149080
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149081
|
-
error_code: 'access_code_state_unconfirmed';
|
|
149082
148935
|
} | {
|
|
149083
148936
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149084
148937
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2607,14 +2607,6 @@ var no_space_for_access_code_on_device = common_access_code_error.extend({
|
|
|
2607
2607
|
---
|
|
2608
2608
|
No space for access code on device.
|
|
2609
2609
|
`);
|
|
2610
|
-
var access_code_state_unconfirmed = common_access_code_error.extend({
|
|
2611
|
-
error_code: zod.z.literal("access_code_state_unconfirmed").describe(error_code_description3)
|
|
2612
|
-
}).describe(`
|
|
2613
|
-
---
|
|
2614
|
-
resource_type: access_code
|
|
2615
|
-
---
|
|
2616
|
-
Indicates that the provider cannot confirm whether the access code was set or removed on the device.
|
|
2617
|
-
`);
|
|
2618
2610
|
var insufficient_permissions2 = common_access_code_error.extend({
|
|
2619
2611
|
error_code: zod.z.literal("insufficient_permissions").describe(error_code_description3)
|
|
2620
2612
|
}).describe(`
|
|
@@ -2649,7 +2641,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2649
2641
|
duplicate_code_on_device,
|
|
2650
2642
|
duplicate_code_attempt_prevented,
|
|
2651
2643
|
no_space_for_access_code_on_device,
|
|
2652
|
-
access_code_state_unconfirmed,
|
|
2653
2644
|
code_modified_external_to_seam_error,
|
|
2654
2645
|
access_code_inactive_error,
|
|
2655
2646
|
salto_ks_user_not_subscribed,
|
|
@@ -2664,7 +2655,6 @@ zod.z.object({
|
|
|
2664
2655
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
2665
2656
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
2666
2657
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
|
|
2667
|
-
access_code_state_unconfirmed: access_code_state_unconfirmed.optional().nullable(),
|
|
2668
2658
|
insufficient_permissions: insufficient_permissions2.optional().nullable(),
|
|
2669
2659
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2670
2660
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
@@ -7812,33 +7802,6 @@ var openapi = {
|
|
|
7812
7802
|
type: "object",
|
|
7813
7803
|
"x-resource-type": "access_code"
|
|
7814
7804
|
},
|
|
7815
|
-
{
|
|
7816
|
-
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
7817
|
-
properties: {
|
|
7818
|
-
created_at: {
|
|
7819
|
-
description: "Date and time at which Seam created the error.",
|
|
7820
|
-
format: "date-time",
|
|
7821
|
-
type: "string"
|
|
7822
|
-
},
|
|
7823
|
-
error_code: {
|
|
7824
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7825
|
-
enum: ["access_code_state_unconfirmed"],
|
|
7826
|
-
type: "string"
|
|
7827
|
-
},
|
|
7828
|
-
is_access_code_error: {
|
|
7829
|
-
description: "Indicates that this is an access code error.",
|
|
7830
|
-
enum: [true],
|
|
7831
|
-
type: "boolean"
|
|
7832
|
-
},
|
|
7833
|
-
message: {
|
|
7834
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7835
|
-
type: "string"
|
|
7836
|
-
}
|
|
7837
|
-
},
|
|
7838
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7839
|
-
type: "object",
|
|
7840
|
-
"x-resource-type": "access_code"
|
|
7841
|
-
},
|
|
7842
7805
|
{
|
|
7843
7806
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
7844
7807
|
properties: {
|
|
@@ -33796,33 +33759,6 @@ var openapi = {
|
|
|
33796
33759
|
type: "object",
|
|
33797
33760
|
"x-resource-type": "access_code"
|
|
33798
33761
|
},
|
|
33799
|
-
{
|
|
33800
|
-
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
33801
|
-
properties: {
|
|
33802
|
-
created_at: {
|
|
33803
|
-
description: "Date and time at which Seam created the error.",
|
|
33804
|
-
format: "date-time",
|
|
33805
|
-
type: "string"
|
|
33806
|
-
},
|
|
33807
|
-
error_code: {
|
|
33808
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33809
|
-
enum: ["access_code_state_unconfirmed"],
|
|
33810
|
-
type: "string"
|
|
33811
|
-
},
|
|
33812
|
-
is_access_code_error: {
|
|
33813
|
-
description: "Indicates that this is an access code error.",
|
|
33814
|
-
enum: [true],
|
|
33815
|
-
type: "boolean"
|
|
33816
|
-
},
|
|
33817
|
-
message: {
|
|
33818
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
33819
|
-
type: "string"
|
|
33820
|
-
}
|
|
33821
|
-
},
|
|
33822
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
33823
|
-
type: "object",
|
|
33824
|
-
"x-resource-type": "access_code"
|
|
33825
|
-
},
|
|
33826
33762
|
{
|
|
33827
33763
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
33828
33764
|
properties: {
|
|
@@ -69610,6 +69546,96 @@ var openapi = {
|
|
|
69610
69546
|
"x-undocumented": "Internal endpoint for Console"
|
|
69611
69547
|
}
|
|
69612
69548
|
},
|
|
69549
|
+
"/seam/console/v1/workspace/feature_flags/update": {
|
|
69550
|
+
post: {
|
|
69551
|
+
description: "Enables or disables a per-workspace feature flag (e.g. whether the Lynx\nmigration is enabled for the workspace). Only flags in the workspace-toggleable\nset can be updated.",
|
|
69552
|
+
operationId: "seamConsoleV1WorkspaceFeatureFlagsUpdatePost",
|
|
69553
|
+
requestBody: {
|
|
69554
|
+
content: {
|
|
69555
|
+
"application/json": {
|
|
69556
|
+
schema: {
|
|
69557
|
+
properties: {
|
|
69558
|
+
enabled: {
|
|
69559
|
+
description: "Whether the feature flag should be enabled for the workspace.",
|
|
69560
|
+
type: "boolean"
|
|
69561
|
+
},
|
|
69562
|
+
feature_flag_name: {
|
|
69563
|
+
description: "Name of the workspace feature flag to update.",
|
|
69564
|
+
enum: [
|
|
69565
|
+
"RESERVATION_LEGACY",
|
|
69566
|
+
"EXPERIMENTAL_DASHBOARD_API_ENABLED",
|
|
69567
|
+
"ICAL_CONNECTOR",
|
|
69568
|
+
"VISIONLINE_SERIALIZE_BRIDGE_REQUESTS",
|
|
69569
|
+
"SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
|
|
69570
|
+
"MANAGE_DEVICES_CONFIRMATION_MODAL",
|
|
69571
|
+
"LYNX_MIGRATION_ENABLED"
|
|
69572
|
+
],
|
|
69573
|
+
type: "string"
|
|
69574
|
+
}
|
|
69575
|
+
},
|
|
69576
|
+
required: ["feature_flag_name", "enabled"],
|
|
69577
|
+
type: "object"
|
|
69578
|
+
}
|
|
69579
|
+
}
|
|
69580
|
+
}
|
|
69581
|
+
},
|
|
69582
|
+
responses: {
|
|
69583
|
+
200: {
|
|
69584
|
+
content: {
|
|
69585
|
+
"application/json": {
|
|
69586
|
+
schema: {
|
|
69587
|
+
properties: {
|
|
69588
|
+
feature_flag: {
|
|
69589
|
+
properties: {
|
|
69590
|
+
enabled: { type: "boolean" },
|
|
69591
|
+
feature_flag_name: {
|
|
69592
|
+
enum: [
|
|
69593
|
+
"RESERVATION_LEGACY",
|
|
69594
|
+
"EXPERIMENTAL_DASHBOARD_API_ENABLED",
|
|
69595
|
+
"ICAL_CONNECTOR",
|
|
69596
|
+
"VISIONLINE_SERIALIZE_BRIDGE_REQUESTS",
|
|
69597
|
+
"SALTO_KS_ENTRANCES_ONLY_FOR_SPACES",
|
|
69598
|
+
"MANAGE_DEVICES_CONFIRMATION_MODAL",
|
|
69599
|
+
"LYNX_MIGRATION_ENABLED"
|
|
69600
|
+
],
|
|
69601
|
+
type: "string"
|
|
69602
|
+
}
|
|
69603
|
+
},
|
|
69604
|
+
required: ["feature_flag_name", "enabled"],
|
|
69605
|
+
type: "object"
|
|
69606
|
+
},
|
|
69607
|
+
ok: { type: "boolean" }
|
|
69608
|
+
},
|
|
69609
|
+
required: ["feature_flag", "ok"],
|
|
69610
|
+
type: "object"
|
|
69611
|
+
}
|
|
69612
|
+
}
|
|
69613
|
+
},
|
|
69614
|
+
description: "OK"
|
|
69615
|
+
},
|
|
69616
|
+
400: { description: "Bad Request" },
|
|
69617
|
+
401: { description: "Unauthorized" }
|
|
69618
|
+
},
|
|
69619
|
+
security: [
|
|
69620
|
+
{ pat_with_workspace: [] },
|
|
69621
|
+
{ console_session_with_workspace: [] },
|
|
69622
|
+
{ api_key: [] }
|
|
69623
|
+
],
|
|
69624
|
+
summary: "/seam/console/v1/workspace/feature_flags/update",
|
|
69625
|
+
tags: [],
|
|
69626
|
+
"x-fern-sdk-group-name": [
|
|
69627
|
+
"seam",
|
|
69628
|
+
"console",
|
|
69629
|
+
"v1",
|
|
69630
|
+
"workspace",
|
|
69631
|
+
"feature_flags"
|
|
69632
|
+
],
|
|
69633
|
+
"x-fern-sdk-method-name": "update",
|
|
69634
|
+
"x-fern-sdk-return-value": "feature_flag",
|
|
69635
|
+
"x-response-key": "feature_flag",
|
|
69636
|
+
"x-undocumented": "Internal endpoint for Console"
|
|
69637
|
+
}
|
|
69638
|
+
},
|
|
69613
69639
|
"/seam/customer/v1/access_grants/list": {
|
|
69614
69640
|
get: {
|
|
69615
69641
|
description: "Gets an Access Grant.",
|